/* ============================================================
   appflight light pages (landing, waitlist).
   The site's blue announcement bar and floating rounded nav, adapted
   to light: a frosted pill with a hairline and a soft shadow. Then a
   sparse prompt-first hero, static app screens in drawn phone frames,
   Apple-style bento cards, quiet type, one blue accent. Self contained
   (these pages do not load styles.css). Every animation is off for
   prefers-reduced-motion.
   ============================================================ */

:root{
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #fafafa;
  --card: #ffffff;
  --ink: #0a0a0b;
  --ink-2: #3a3a3f;
  --muted: #6b6b70;            /* 5.3:1 on white, 5.0:1 on #fafafa */
  --line: #e6e6e9;             /* hairline */
  --line-2: #d4d4d8;
  --blue: #0071e3;             /* the one accent; white on it is 4.6:1 */
  --blue-link: #0066cc;        /* text links, 5.5:1 on white */
  --blue-soft: rgba(0,113,227,.08);
  --shadow-s: 0 1px 2px rgba(10,10,11,.04), 0 6px 18px -8px rgba(10,10,11,.10);
  --shadow-m: 0 1px 2px rgba(10,10,11,.04), 0 24px 60px -28px rgba(10,10,11,.22);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --maxw: 1080px;
  --wide: 1180px;
  --r: 22px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body{ background: var(--bg-2); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button, input, textarea{ font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible{ outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection{ background: var(--blue); color: #fff; }
[hidden]{ display: none !important; }
.sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip{ position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .9rem; }
.skip:focus{ top: 12px; }

/* ── buttons ─────────────────────────────────────────────── */
.pill{ display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 11px 20px; border-radius: 999px; font-size: .98rem; font-weight: 550; letter-spacing: -.01em; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.pill--ink{ background: var(--ink); color: #fff; }
.pill--ink:hover{ background: #26262a; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(10,10,11,.5); }
.pill--line{ background: #fff; border-color: var(--line-2); color: var(--ink); }
.pill--line:hover{ border-color: #a8a8ae; transform: translateY(-1px); box-shadow: var(--shadow-s); }
.pill--ghost{ background: transparent; color: var(--blue-link); }
.pill--ghost:hover{ text-decoration: underline; text-underline-offset: 3px; }
.pill--sm{ padding: 7px 15px; font-size: .86rem; }
.pill--lg{ padding: 14px 26px; font-size: 1.05rem; }
.more{ display: inline-block; margin-top: 1.1rem; color: var(--blue-link); font-size: 1rem; }
.more:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* ── announcement bar (the same blue strip as the rest of the site) ── */
.bar{ position: relative; z-index: 60; display: block; text-align: center; padding: 9px 16px; color: #eaf1ff;
  background: linear-gradient(90deg, #0a2a6b, #1846b8, #2f6bff, #1846b8, #0a2a6b); background-size: 220% 100%; animation: barshine 9s linear infinite; }
@keyframes barshine{ from{ background-position: 0% 0; } to{ background-position: 220% 0; } }
.bar__in{ display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; font-size: .86rem; line-height: 1.3; }
.bar__tag{ font-size: .64rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; background: #fff; color: #0a2a6b; padding: 3px 9px; border-radius: 999px; animation: barpulse 2.4s var(--ease) infinite; }
@keyframes barpulse{ 0%, 100%{ box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 60%{ box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
.bar__txt{ color: #dbe7ff; }
.bar__txt b{ color: #fff; font-weight: 700; }
.bar__cta{ font-weight: 650; color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.bar__arrow{ display: inline-block; transition: transform .2s var(--ease); }
.bar:hover .bar__arrow{ transform: translateX(4px); }
.bar:hover .bar__cta{ text-decoration: underline; text-underline-offset: 3px; }
.bar:focus-visible{ outline-offset: -4px; border-radius: 0; outline-color: #fff; }

/* ── floating nav: a frosted pill inset from the edges, sticky under the bar ── */
.hn{ position: sticky; top: 0; z-index: 50; padding: 12px 20px 0; pointer-events: none; }
.hn__in{ pointer-events: auto; position: relative; max-width: var(--wide); margin: 0 auto; height: 58px; padding: 0 9px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.74); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(10,10,11,.08); border-radius: 999px; box-shadow: 0 1px 2px rgba(10,10,11,.04), 0 10px 30px -14px rgba(10,10,11,.16);
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.hn.is-scrolled .hn__in{ background: rgba(255,255,255,.86); border-color: rgba(10,10,11,.1); box-shadow: 0 1px 2px rgba(10,10,11,.05), 0 16px 40px -16px rgba(10,10,11,.26); }
.hb{ display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 1.1rem; letter-spacing: -.035em; }
/* The light logo (brand/logo-light.png, cropped to the plane for small sizes) as a rounded app-icon mark.
   Its mid-gray backdrop already reads on the frosted white nav; the hairline only crisps the edge. */
.hb__mark{ width: 28px; height: 28px; border-radius: 7.5px; overflow: hidden; flex: none; display: block; box-shadow: 0 0 0 .5px rgba(10,10,11,.14), 0 1px 2px rgba(10,10,11,.12); }
.hb__mark img{ width: 100%; height: 100%; display: block; }
.hn__links{ display: flex; gap: 2px; font-size: .9rem; color: var(--ink-2); position: absolute; left: 50%; transform: translateX(-50%); }
.hn__links a{ padding: 7px 13px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.hn__links a:hover{ background: rgba(10,10,11,.05); color: var(--ink); }
.hn__links a[aria-current="page"]{ color: var(--ink); background: rgba(10,10,11,.05); }
.hn__cta{ display: flex; align-items: center; gap: 6px; }
.hn__menu{ display: none; position: relative; }
.hn__menu summary{ list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.hn__menu summary::-webkit-details-marker{ display: none; }
.hn__menu summary:hover{ background: rgba(10,10,11,.06); }
.hn__burger{ width: 18px; height: 12px; position: relative; display: block; }
.hn__burger i{ position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.hn__burger i:first-child{ top: 2px; } .hn__burger i:last-child{ top: 8px; }
.hn__menu[open] .hn__burger i:first-child{ top: 5px; transform: rotate(45deg); }
.hn__menu[open] .hn__burger i:last-child{ top: 5px; transform: rotate(-45deg); }
.hn__panel{ position: absolute; right: -9px; top: calc(100% + 16px); width: min(280px, calc(100vw - 24px)); display: grid; padding: 8px; background: #fff; border: 1px solid rgba(10,10,11,.08); border-radius: 22px; box-shadow: 0 24px 60px -20px rgba(10,10,11,.3); }
.hn__panel a{ padding: 12px 14px; border-radius: 14px; font-size: 1rem; font-weight: 550; }
.hn__panel a:hover{ background: rgba(10,10,11,.05); }
.hn__panel a:last-child{ margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; color: var(--blue-link); }

/* ── type and layout ─────────────────────────────────────── */
h1, h2, h3{ text-wrap: balance; }
h1{ font-size: clamp(2.7rem, 7.4vw, 5.6rem); line-height: 1.04; font-weight: 700; letter-spacing: -.038em; }
h2{ font-size: clamp(2rem, 4.8vw, 3.3rem); line-height: 1.08; font-weight: 700; letter-spacing: -.032em; }
h3{ font-size: 1.25rem; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; }
.eyebrow{ font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: .6rem; }
.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap--wide{ max-width: var(--wide); }
.sec{ padding-top: clamp(80px, 11vw, 150px); }
.sec__head{ text-align: center; margin-bottom: clamp(30px, 4.5vw, 52px); }
.sec__head p:not(.eyebrow){ margin: .9rem auto 0; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.2rem); max-width: 36em; }
.center{ text-align: center; margin-top: 26px; }
.fine{ margin-top: 18px; text-align: center; font-size: .86rem; color: var(--muted); }
.fine a{ color: var(--blue-link); text-decoration: underline; text-underline-offset: 2px; }
.note{ margin-top: 14px; text-align: center; font-size: .84rem; color: var(--muted); }
.note a{ color: var(--blue-link); text-decoration: underline; }

/* ── hero ────────────────────────────────────────────────── */
.hero{ position: relative; text-align: center; padding: clamp(48px, 7vw, 92px) 0 0; background: radial-gradient(60% 46% at 50% 0%, rgba(0,113,227,.075), transparent 70%), radial-gradient(30% 24% at 12% 22%, rgba(0,113,227,.04), transparent 70%); }
.hero__in{ position: relative; z-index: 2; }
.badge-pill{ display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.8); font-size: .85rem; color: var(--ink-2); box-shadow: var(--shadow-s); margin-bottom: clamp(22px, 3vw, 34px); transition: border-color .2s; }
.badge-pill:hover{ border-color: var(--line-2); }
.badge-pill .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.hero h1{ max-width: 11.5em; margin: 0 auto; }
.sub{ margin: 1.3rem auto 0; max-width: 31em; font-size: clamp(1.08rem, 1.9vw, 1.35rem); line-height: 1.4; color: var(--muted); letter-spacing: -.02em; }

.prompt{ position: relative; margin: clamp(30px, 4.5vw, 52px) auto 0; max-width: 760px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-m); transition: border-color .2s, box-shadow .2s; }
.prompt:focus-within{ border-color: rgba(0,113,227,.55); box-shadow: 0 0 0 4px var(--blue-soft), var(--shadow-m); }
.prompt textarea{ display: block; width: 100%; border: 0; outline: none; background: transparent; resize: none; padding: 24px 26px 6px; min-height: 104px; font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.4; }
.prompt textarea::placeholder{ color: var(--muted); opacity: 1; transition: opacity .35s; }
.prompt.is-swap textarea::placeholder{ opacity: 0; }
.prompt__bar{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 14px 20px; }
.prompt__chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.tag{ display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--ink-2); background: var(--bg-2); }
.tag--soft{ color: var(--muted); }
.send{ width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.send:hover{ transform: translateY(-1px) scale(1.04); box-shadow: 0 10px 22px -8px rgba(0,113,227,.6); background: #0a7bf0; }
.send--sm{ width: 34px; height: 34px; }
.send--sm svg{ width: 17px; height: 17px; }
.prompt__note{ margin-top: 12px; font-size: .82rem; color: var(--muted); }
.ideas{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 16px auto 0; }
.ideas[hidden]{ display: none; }
.idea{ font: inherit; font-size: .88rem; line-height: 1.2; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; min-height: 40px; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.idea:hover{ border-color: var(--line-2); background: var(--bg-2); color: var(--ink); transform: translateY(-1px); }
.idea:active{ transform: none; }
.idea:focus-visible{ outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 999px; }


/* ── drawn phone frames around the static app screens ── */
.phone{ --pw: var(--w, 240px); width: var(--pw); flex: none; margin: 0; container-type: inline-size; }
.phone__body{ padding: 2.6cqw; border-radius: 15.6cqw; background: #0b0b0d; border: .9cqw solid #3a3b40; box-shadow: 0 1px 0 .3cqw rgba(255,255,255,.06) inset, 0 34px 60px -28px rgba(10,10,11,.42), 0 10px 22px -12px rgba(10,10,11,.22); }
.phone img{ width: 100%; height: auto; aspect-ratio: 540 / 1175; border-radius: 12.6cqw; background: #f2f2f4; }
.phone figcaption{ margin-top: 12px; text-align: center; font-size: .86rem; color: var(--muted); }

/* hero stage: three apps, the middle one forward, cropped soft at the bottom */
.stage{ --w: 280px; --ws: 236px; position: relative; display: flex; justify-content: center; align-items: flex-start; margin: clamp(48px, 7vw, 84px) auto 0; height: clamp(360px, 44vw, 540px); overflow: hidden; padding-top: 6px;
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.stage .phone--main{ position: relative; z-index: 2; }
.stage .phone--side{ --w: var(--ws); margin: 46px -40px 0; }

/* ── bento: the three steps, then what is included ── */
.bc{ position: relative; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: clamp(26px, 3.2vw, 40px); box-shadow: var(--shadow-s); min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.bc h3{ font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; max-width: 16em; }
.bc > p:not(.kick){ color: var(--muted); font-size: 1.04rem; margin-top: .7rem; max-width: 30em; }
.kick{ display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 650; color: var(--blue-link); margin-bottom: 14px; letter-spacing: -.01em; }
.num{ display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .82rem; font-weight: 700; }
.ico{ width: 44px; height: 44px; border-radius: 13px; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue); margin-bottom: 18px; flex: none; }

.steps{ list-style: none; display: grid; grid-template-columns: 1fr 1.08fr; grid-template-areas: "prompt see" "ship see"; gap: 16px; }
.bc--prompt{ grid-area: prompt; }
.bc--see{ grid-area: see; padding-bottom: 0; }
.bc--ship{ grid-area: ship; }
.said{ display: flex; margin-top: auto; padding-top: 26px; }
.said span{ flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 10px 14px 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); font-size: 1.02rem; color: var(--ink); box-shadow: inset 0 1px 0 #fff; }
.said span::after{ content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17V7M7.5 11.5L12 7l4.5 4.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
.duo{ --w: min(234px, calc((100% - 20px) / 2)); flex: 1 0 auto; display: flex; justify-content: center; align-items: flex-start; gap: 20px; margin: 34px 0 0; height: 0; min-height: 400px; overflow: hidden; padding-top: 4px; }
.duo .phone:last-child{ margin-top: 48px; }
.bc--ship .ship-list{ margin-top: 1.4rem; }

.inc{ display: grid; grid-template-columns: repeat(3, 1fr); grid-template-areas: "swift looks looks" "cloud looks looks" "store own apple"; gap: 16px; }
.bc--swift{ grid-area: swift; }
.bc--looks{ grid-area: looks; }
.bc--cloud{ grid-area: cloud; }
.bc--store{ grid-area: store; }
.bc--own{ grid-area: own; }
.bc--apple{ grid-area: apple; }
.bc--store h3, .bc--own h3, .bc--apple h3, .bc--cloud h3, .bc--swift h3{ font-size: clamp(1.3rem, 2vw, 1.55rem); }
.trio-phones{ --w: min(204px, calc((100% - 40px) / 3)); display: flex; justify-content: center; gap: 20px; margin-top: auto; padding-top: 32px; }

/* ── platforms: device tiles and the capability registry ──
   Everything inside the registry markers is written by scripts/build-platforms.mjs from
   Cloud/shared/capabilities.json. Status pills: a dot plus a word, never color alone. */
.st{ display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; font-size: .74rem; font-weight: 600; line-height: 1; letter-spacing: 0; padding: 5px 10px 5px 8px; border-radius: 999px; background: #f0f0f3; color: var(--ink-2); }
.st::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.st--available{ background: #e7f5ec; color: #11602c; }
.st--beta{ background: #e8f1fc; color: #0055aa; }
.st--in-development{ background: #fdf1de; color: #7a4600; }
.st--planned{ background: #f0f0f3; color: #4a4a50; }
.st--planned::before{ background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.st--restricted{ background: #f2eefb; color: #553a8f; }
.st--restricted::before{ border-radius: 1.5px; }

.devs{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
.dev{ position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px 22px 20px; box-shadow: var(--shadow-s); min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.dev__glyph{ width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); flex: none; }
.dev--available .dev__glyph{ background: var(--blue-soft); border-color: transparent; color: var(--blue); }
.dev__name{ font-size: 1.08rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; margin-top: 4px; }
.dev__note{ font-size: .9rem; color: var(--muted); line-height: 1.4; }
.dev .st{ align-self: flex-start; }
.dev--hero{ grid-column: span 2; grid-row: span 2; padding: clamp(24px, 3vw, 34px); overflow: hidden; }
.dev--hero .dev__glyph{ width: 52px; height: 52px; border-radius: 15px; }
.dev--hero .dev__name{ font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.dev--hero .dev__note{ font-size: 1.02rem; max-width: 24em; }
.dev--hero > :not(.phone){ position: relative; z-index: 1; max-width: calc(100% - 228px); }
.dev--hero .phone{ --w: 188px; position: absolute; right: clamp(20px, 3vw, 40px); bottom: -118px; }
.devs--compact .dev{ padding: 18px 18px 16px; }
.devs--compact .dev:not(.dev--hero) .dev__note{ display: none; }
.dev-more{ display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 22px; text-align: center; }
.dev-more .more{ margin-top: 0; }

.pf-hero{ text-align: center; padding: clamp(48px, 7vw, 92px) 0 0; background: radial-gradient(60% 46% at 50% 0%, rgba(0,113,227,.075), transparent 70%); }
.pf-hero h1{ font-size: clamp(2.5rem, 6.4vw, 4.6rem); max-width: 12em; margin: 0 auto; }
.legend{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; margin: clamp(30px, 4vw, 44px) auto 0; max-width: var(--wide); padding: 0; text-align: left; }
.legend li{ background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 18px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.legend__n{ font-size: 2rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.legend__m{ font-size: .86rem; color: var(--muted); line-height: 1.38; }
.caps{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cap{ background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-s); min-width: 0; }
.cap__head{ display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.cap__head .ico{ margin-bottom: 0; }
.cap h3{ font-size: clamp(1.3rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -.03em; }
.cap__blurb{ color: var(--muted); font-size: .96rem; margin-top: 2px; }
.cap__list{ list-style: none; }
.cap__list li{ display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.cap__txt{ min-width: 0; }
.cap__name{ font-weight: 600; font-size: 1rem; letter-spacing: -.015em; }
.cap__name a:hover{ color: var(--blue-link); text-decoration: underline; text-underline-offset: 3px; }
.cap__note{ display: block; font-size: .86rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.cap__list .st{ margin-top: 1px; }
.cap__more{ border-top: 1px solid var(--line); }
.cap__more > summary{ list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; font-weight: 600; color: var(--ink); transition: background .2s, border-color .2s; }
.cap__more > summary::-webkit-details-marker{ display: none; }
.cap__more > summary:hover{ background: var(--bg-2); border-color: #a8a8ae; }
.cap__more > summary::after{ content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.cap__more[open] > summary::after{ transform: translateY(1px) rotate(-135deg); }
.cap__more .less, .cap__more[open] .all{ display: none; }
.cap__more[open] .less{ display: inline; }
.cap__more .cap__list{ margin-top: 14px; }
.cap__more .cap__list li:first-child{ border-top: 0; }
.pf-why{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pf-why .card h3{ font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.pf-checked{ margin: 20px auto 0; max-width: 46em; text-align: center; font-size: .86rem; color: var(--muted); }

/* ── cards ───────────────────────────────────────────────── */
.grid2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card{ background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-s); min-width: 0; display: flex; flex-direction: column; }
.card > p{ color: var(--muted); font-size: 1.02rem; margin-top: .6rem; max-width: 32em; }
.card h3{ font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.badge{ align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 4px 11px; border-radius: 999px; background: var(--blue-soft); color: #0058b0; margin-bottom: .9rem; }
.badge--soon{ background: #f0f0f3; color: var(--ink-2); }
.files{ display: grid; gap: 8px; margin-top: auto; padding-top: 24px; }
.files div{ display: flex; align-items: center; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-family: var(--mono); font-size: .84rem; }
.files div::before{ content: ""; width: 16px; height: 20px; border-radius: 4px; background: linear-gradient(160deg,#ff8a3d,#f0502a); flex: none; }
.pills{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.pills span{ background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .88rem; }
.facts, .ship-list{ list-style: none; display: grid; gap: 10px; margin-top: 1.2rem; }
.facts li{ display: flex; gap: 12px; align-items: baseline; font-size: .98rem; color: var(--ink-2); }
.facts li::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; translate: 0 -2px; }
.ship-list li{ display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.ship-list li::before{ content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* proof */
.proofgrid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proofnum{ grid-column: 1 / -1; flex-direction: row; align-items: center; gap: clamp(24px, 5vw, 64px); }
.proofnum__n{ font-size: clamp(3rem, 9vw, 6rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; flex: none; }
.proofnum__label{ font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; max-width: 18em; margin: 0 !important; }
.proofnum .proofnum__sub{ margin-top: .3rem; }
.rev{ margin: 0; justify-content: space-between; gap: 22px; }
.rev__stars{ color: var(--blue); letter-spacing: .14em; font-size: 1rem; }
.rev blockquote{ font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.4; font-weight: 550; letter-spacing: -.02em; flex: 1; }
.rev figcaption{ display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); }
.rev figcaption b{ color: var(--ink); font-weight: 600; }

/* pricing */
.plans{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan{ background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px 30px; box-shadow: var(--shadow-s); }
.plan--on{ border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft), var(--shadow-s); }
.plan__name{ font-size: 1rem; font-weight: 600; margin: 0; }
.plan__price{ font-size: clamp(2.2rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.05; margin: 10px 0 6px; }
.plan__price small{ font-size: .92rem; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.plan p:not(.plan__name){ color: var(--muted); font-size: .98rem; }

/* faq */
.faq{ max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-s); padding: 8px 28px 16px; }
.faq h3{ font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin: 22px 0 2px; }
.qa{ border-bottom: 1px solid var(--line); }
.qa:last-child{ border-bottom: 0; }
.qa summary{ list-style: none; cursor: pointer; padding: 18px 0; font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa summary::-webkit-details-marker{ display: none; }
.qa__plus{ width: 20px; height: 20px; flex: none; position: relative; }
.qa__plus::before, .qa__plus::after{ content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: var(--muted); border-radius: 2px; transition: transform .3s var(--ease); }
.qa__plus::after{ transform: rotate(90deg); }
.qa[open] .qa__plus::after{ transform: rotate(0); }
.qa p{ color: var(--muted); font-size: 1rem; padding: 0 36px 20px 0; }
.qa a{ color: var(--blue-link); text-decoration: underline; text-underline-offset: 2px; }

.final{ text-align: center; padding-top: clamp(90px, 12vw, 160px); padding-bottom: clamp(90px, 12vw, 160px); }
.final h2{ max-width: 12em; margin: 0 auto 0; }
.final .sub{ margin-bottom: 0; }
.final{ background: radial-gradient(46% 52% at 50% 62%, rgba(0,113,227,.08), transparent 72%); max-width: none; }
.prompt--end{ margin-top: clamp(26px, 3.5vw, 40px); }

/* footer (same links and structure as every page) */
.footer{ border-top: 1px solid var(--line); background: #fff; }
.footer__in{ max-width: var(--wide); margin: 0 auto; padding: 36px 22px 44px; }
.footer__top{ display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; justify-content: space-between; }
.footer__links{ display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; color: var(--muted); }
.footer__links a:hover{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal{ margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }

/* ── reveal on scroll (only when script runs and motion is allowed) ── */
/* Content is visible by default, so a full-page capture, a crawler or a reader without script sees every section.
   home.js adds .rv-wait only once the reader scrolls, and only to blocks still below the screen, then fades each
   one in as it comes into view. */
.rv{ transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.rv-wait{ opacity: 0; transform: translateY(16px); transition: none; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 1000px){
  .plans{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: 1fr 1fr; grid-template-areas: "prompt ship" "see see"; }
  .bc--see{ min-height: 0; }
  .inc{ grid-template-columns: 1fr 1fr; grid-template-areas: "looks looks" "swift cloud" "store own" "apple apple"; }
  .devs{ grid-template-columns: repeat(3, 1fr); }
  .legend{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px){
  .hn__links a{ padding: 7px 10px; }
}
/* six links need the room: below this the menu takes over (nav.js closes it again above 960px) */
@media (max-width: 960px){
  .hn__links{ display: none; }
  .hn__menu{ display: block; }
}
@media (max-width: 860px){
  .grid2, .proofgrid{ grid-template-columns: 1fr; }
  .proofnum{ flex-direction: column; align-items: flex-start; gap: 14px; }
  .caps, .pf-why{ grid-template-columns: 1fr; }
}
@media (max-width: 680px){
  .steps, .inc{ grid-template-columns: 1fr; grid-template-areas: none; }
  .steps > *, .inc > *{ grid-area: auto; }
  .duo{ --w: calc((100% - 14px) / 2); gap: 14px; min-height: 0; height: auto; max-height: 340px; }
  .duo .phone:last-child{ margin-top: 32px; }
  .trio-phones{ --w: calc((100% - 20px) / 3); gap: 10px; }
  .devs{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .legend{ grid-template-columns: 1fr; gap: 8px; }
  .legend li{ display: grid; grid-template-columns: auto 1fr; grid-template-areas: "pill n" "m m"; align-items: center; gap: 8px 12px; padding: 14px 16px; border-radius: 16px; }
  .legend li .st{ grid-area: pill; }
  .legend__n{ grid-area: n; font-size: 1.3rem; justify-self: end; }
  .legend__m{ grid-area: m; }
  .dev--hero{ grid-row: auto; }
  .dev--hero > :not(.phone){ max-width: none; }
  .dev--hero .phone{ --w: 168px; position: static; margin: 14px auto -170px; }
  .dev{ padding: 18px 16px 16px; border-radius: 22px; }
}
@media (max-width: 560px){
  .plans{ grid-template-columns: 1fr; }
  .prompt textarea{ padding: 20px 20px 4px; }
  .prompt__bar{ padding: 8px 10px 12px 16px; }
  .faq{ padding: 4px 18px 12px; }
  body{ font-size: 16px; }
  .bar__long{ display: none; }
  .hn{ padding: 10px 12px 0; }
  .hn__in{ padding-left: 14px; }
  .stage{ --w: 188px; --ws: 156px; margin-top: 40px; height: 360px; }
  .cap{ padding: 22px 20px; border-radius: 24px; }
  .cap__list li{ flex-direction: column; gap: 8px; }
  .phone--side{ margin: 0 -64px; }
}
@media (max-width: 380px){
  .hn .pill--sm{ padding: 7px 12px; }
  .bar__in{ gap: 8px; }
}

/* ── reduced motion: nothing moves, everything is still there ── */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation: none !important; transition: none !important; }
  .rv.rv-wait{ opacity: 1; transform: none; }
}
