/* iPhone Duo landing. Shares the site's palette (ink + brand green) and card
   style; adds the studio vocabulary of the iOS app: tally red only for REC,
   a reading line where the green word sits. */
html { scroll-behavior: smooth; }
body { background: #070809; overflow-x: hidden; }
::selection { background: #34d058; color: #04150a; }

.aurora::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(50% 40% at 50% -5%, rgba(52,208,88,0.16), transparent 70%);
}
.card-border {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.07);
}

.h2 { color: #fff; font-weight: 800; letter-spacing: -0.02em; font-size: 1.9rem; line-height: 1.15; }
@media (min-width: 768px) { .h2 { font-size: 2.4rem; } }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: #34d058; background: rgba(52,208,88,0.08); border: 1px solid rgba(52,208,88,0.25);
  padding: .35rem .75rem; border-radius: 999px; }
.step { font-size: .78rem; font-weight: 700; color: #34d058; letter-spacing: .02em; }
.feat { color: #fff; font-weight: 700; }

.soon { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.25rem;
  border-radius: .9rem; color: #fff; font-weight: 600;
  background: #111419; border: 1px solid rgba(255,255,255,0.12); }
.soon i { width: .55rem; height: .55rem; border-radius: 50%; background: #34d058;
  box-shadow: 0 0 0 4px rgba(52,208,88,0.15); }

/* Entrance: transform only, so content is visible even if JS/animation never runs. */
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

/* ---- Illustration: iPhone Duo open + outer screen ---- */
.duo-stage { position: relative; padding: 0 0 14% 0; }
.duo-open { display: grid; grid-template-columns: 1fr 10px 1fr; aspect-ratio: 951 / 669;
  border-radius: 26px; padding: 9px; background: #1b1d21;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.07), 0 40px 90px -30px rgba(0,0,0,.9); }
.fold { background: linear-gradient(90deg, #121417, #26292e 50%, #121417); }
.half { position: relative; overflow: hidden; background: #0e1012; }
.half.cam { border-radius: 18px 4px 4px 18px;
  background: radial-gradient(70% 80% at 50% 35%, #2b333b, #161b20 65%, #0e1114); }
.half.script { isolation: isolate; border-radius: 4px 18px 18px 4px; padding: 14% 9% 0;
  font-weight: 600; color: #f2efe6; font-size: clamp(.78rem, 1.55vw, 1.05rem); line-height: 1.55; }
.half.script p { margin: 0 0 .35em; }
.half.script .read { color: rgba(242,239,230,0.32); }
.half.script .now, .outer-script .now { color: #3ee06a; }
.half.script .line { position: relative; }
.half.script .line::before { content: ""; position: absolute; left: -12%; right: -12%; top: -.12em; bottom: -.12em;
  background: rgba(242,239,230,0.06); border-left: 3px solid #3ee06a; z-index: -1; }
.guide { position: absolute; width: 14px; height: 14px; border-color: rgba(242,239,230,0.55); border-style: solid; }
.guide.tl { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; }
.guide.tr { top: 10px; right: 10px; border-width: 1.5px 1.5px 0 0; }
.guide.bl { bottom: 10px; left: 10px; border-width: 0 0 1.5px 1.5px; }
.guide.br { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; }
.rec { position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  font: 600 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; color: #f2efe6;
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #e5342b; }
.lens-tag, .outer-tag { position: absolute; font: 600 .6rem ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(242,239,230,0.75); background: rgba(14,16,18,0.7); padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.lens-tag { right: 12px; bottom: 12px; }

.duo-outer { position: absolute; left: -3%; bottom: 0; width: 30%; aspect-ratio: 466 / 678;
  border-radius: 20px; padding: 5px; background: #1b1d21; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.09), 0 30px 60px -20px rgba(0,0,0,.95); }
.outer-self { position: absolute; inset: 5px; border-radius: 16px; z-index: 0;
  background: radial-gradient(45% 35% at 50% 62%, #3b4651, transparent 70%),
              radial-gradient(70% 70% at 50% 30%, #2a323a, #12161a 70%); }
.outer-script { position: relative; z-index: 1; margin: 0; padding: 18% 9% 10%;
  background: linear-gradient(180deg, rgba(14,16,18,.92), rgba(14,16,18,.55));
  border-radius: 16px 16px 0 0; color: #f2efe6; font-weight: 600; font-size: clamp(.6rem, 1.05vw, .8rem); line-height: 1.4; }
.outer-script .read { color: rgba(242,239,230,0.32); }
.outer-tag { left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; }

@media (max-width: 640px) {
  .duo-outer { left: 0; width: 36%; }
  .lens-tag { display: none; }
  .rec { font-size: .58rem; }
}

/* ---- Guide & FAQ ---- */
.guide-list { counter-reset: q; }
.guide-list li { counter-increment: q; position: relative; padding-left: 3rem; }
.guide-list li::before { content: counter(q, decimal-leading-zero); position: absolute; left: 0; top: .1rem;
  color: #34d058; font-weight: 800; font-size: .9rem; }
.guide-list h3 { color: #fff; font-weight: 700; font-size: 1.1rem; }
.guide-list p { margin-top: .35rem; color: #94a3b8; }

.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; color: #fff; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: #34d058; font-weight: 700; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 1.4rem 1.2rem; color: #94a3b8; }
a:focus-visible, summary:focus-visible { outline: 2px solid #34d058; outline-offset: 3px; border-radius: 6px; }
