/* Infinite Vault site: tokens, base, layout and every shared component (see COMPONENTS.md).
   Page-specific rules go in css/pages/<page>.css, never here. Sources: mockup-a #hero, mockup-c below it. */

@font-face { font-family: "Geist"; font-weight: 400; font-display: swap; src: url(../fonts/geist-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url(../fonts/geist-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 300; font-display: swap; src: url(../fonts/inter-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --canvas: #000; --surface: #151517; --line: #26262a; --line-strong: #3a3a40;
  --ink: #eef1ef; --ink-soft: #a9b0ad; --ink-dim: #8a918e;
  --mint: #7ef0c8; --cyan: #5bcdeb; --amber: #ffb829; --lime: #beff50;
  --opal: linear-gradient(90deg,#e4fca6,#b9fbd6 22%,#a6f3ef 45%,#a8e1fc 62%,#aff9fa 80%,#e4fca6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Geist", -apple-system, "Segoe UI", sans-serif;   /* the hero only */
  --gutter: 56px; --maxw: 1400px; --nav-h: 64px; --r: 12px;
  --pw: min(300px, calc((100svh - 150px) * .44));   /* stage phone width */
  --section: 180px;                                  /* space above a Home section */
}
@media (max-width: 859px) { :root { --gutter: 16px; --nav-h: 52px; --pw: min(240px, 60vw); --section: 112px; } }

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { background: var(--canvas); color-scheme: dark; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: transparent; color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 500; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ambient { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .35;
  -webkit-mask-image: linear-gradient(#000 20vh, transparent 40vh); mask-image: linear-gradient(#000 20vh, transparent 40vh); }   /* a band at the top, never behind body text */   /* js/ambient.js; body has no background so it shows */
.skip { position: fixed; left: 16px; top: -64px; z-index: 50; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: var(--canvas); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 859px) { body { font-size: 17px; } }

/* ---------- buttons: Opal is the primary fill and nothing else ---------- */
.btn-opal { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: var(--r); background: var(--opal);
  color: #062019; font: 500 16px/1 var(--font); text-decoration: none; white-space: nowrap; }
.btn-store { gap: 10px; }
.btn-store .icon { flex: none; width: 18px; height: 18px; margin-top: -3px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.18);
  color: var(--ink); font: 500 16px/1 var(--font); text-decoration: none; white-space: nowrap; transition: border-color .15s; }
.btn:hover { border-color: rgba(255,255,255,.4); }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 16px; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: border-color .15s; }
.textlink:hover { border-color: var(--mint); }
.textlink .icon { width: 16px; height: 16px; }
.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--ink); background: rgba(10,10,12,.55);
  border: 1px solid rgba(255,255,255,.18); border-radius: 12px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.icon-btn:hover { border-color: var(--mint); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav-h); display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  background: rgba(0,0,0,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .2s; }
.nav.clear { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 22.5%; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-link { font-size: 15px; font-weight: 400; color: var(--ink-soft); text-decoration: none; transition: color .15s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-menu .btn { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.nav-menu .btn .icon { width: 16px; height: 16px; }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 959px) {
  .nav-toggle { display: grid; }
  .nav-menu { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 24px;
    padding: 8px var(--gutter) 28px; background: #000; border-bottom: 1px solid var(--line); max-height: calc(100svh - var(--nav-h)); overflow-y: auto; }
  .nav.open { background: #000; }
  .nav.open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-link { display: block; padding: 14px 0; font-size: 20px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-menu .btn { height: 52px; justify-content: center; font-size: 16px; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 120px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 48px; padding-top: 56px; padding-bottom: 64px; }
.footer-brand .btn { margin-top: 20px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.footer-h { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a { display: inline-block; padding: 6px 0; font-size: 15px; color: var(--ink-soft); text-decoration: none; }
.footer-cols a:hover { color: var(--ink); }
@media (max-width: 859px) {
  .footer { margin-top: 96px; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 40px; }
  body:has(.contact) .footer-brand { display: none; }   /* the contact close just above already shows the icon */
  .footer-cols { grid-template-columns: 1fr 1fr; grid-template-areas: "product company" "learn learn"; gap: 28px 24px; }   /* guide titles get a full line */
  .footer-cols > :nth-child(1) { grid-area: product; } .footer-cols > :nth-child(2) { grid-area: learn; } .footer-cols > :nth-child(3) { grid-area: company; }
  .footer-cols a { padding: 11px 0; min-width: 44px; }
  .brand { min-height: 44px; }
}

/* ---------- hero (mockup A) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--gutter) 13vh;
  overflow: hidden; background: #000; font-family: var(--display); }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0, rgba(0,0,0,.8) 30%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.16) 50%, transparent 56%);
  -webkit-mask-image: linear-gradient(180deg, transparent 16%, #000 40%); mask-image: linear-gradient(180deg, transparent 16%, #000 40%); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: 1; pointer-events: none;   /* the clear nav reads over the film */
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.45) 45%, transparent); }
.hero-copy { position: relative; max-width: 35rem; }
.hero h1 { font-size: clamp(3.1rem, 6.1vw, 5.6rem); line-height: 1; letter-spacing: -.046em; }
.hero p { margin-top: 28px; font-size: 19px; line-height: 1.62; color: #b1babc; max-width: 30rem; letter-spacing: .005em; font-weight: 400; }
.hero .btn-opal, .hero .btn { font-family: var(--display); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ctl { position: absolute; right: var(--gutter); bottom: 32px; display: flex; gap: 10px; }
.icon-btn .i-play, .icon-btn.paused .i-pause { display: none; }
.icon-btn.paused .i-play { display: block; }
@media (max-width: 767px) {
  /* The vertical film's picture fills 17 to 83 percent of its frame; the frame is placed so the picture sits between the nav and
     the text. --txt is the text block's height; on short screens the film shrinks rather than slide under the words. */
  .hero { --txt: 318px; --fw: min(100vw, calc((100svh - var(--nav-h) - var(--txt)) / 1.2)); padding: 0 16px max(26px, env(safe-area-inset-bottom)); }
  .hero-film { inset: auto; left: 50%; top: calc(var(--nav-h) - var(--fw) * .26 + min(56px, 7svh)); width: var(--fw); height: calc(var(--fw) * 16 / 9); transform: translateX(-50%); object-fit: contain;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 91%); mask-image: linear-gradient(180deg, #000 78%, transparent 91%); }
  .hero .scrim { -webkit-mask-image: none; mask-image: none;
    background: linear-gradient(180deg, transparent calc(100% - var(--txt) - 70px), rgba(0,0,0,.82) calc(100% - var(--txt) - 8px), #000 calc(100% - var(--txt) + 40px)); }
  .ctl { right: 12px; bottom: auto; top: calc(var(--nav-h) + 8px); z-index: 2; }
  .icon-btn { width: 44px; height: 44px; }
  .hero h1 { font-size: clamp(2.3rem, 11.2vw, 2.9rem); line-height: 1.02; }
  .hero p { font-size: 16.5px; line-height: 1.55; margin-top: 16px; }
  .actions { margin-top: 24px; gap: 10px; }
  .hero .btn-opal, .hero .btn { height: 48px; padding: 0 18px; font-size: 15px; }
}
@media (max-width: 379px) { .hero { --txt: 372px; } }   /* the two buttons wrap to two rows */

/* ---------- stage (mockup C, unchanged apart from the .stage scope) ---------- */
.stage { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.stage .steps { grid-column: 1; grid-row: 1; }
.stage .pin { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.stage .step { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 96px 0 40px; max-width: 520px; }
.stage .step h2 { font-size: clamp(2.2rem,3.6vw,3.4rem); line-height: 1.04; letter-spacing: -.04em; }
.stage .step p { color: var(--ink-soft); max-width: 44ch; }
.stage .step .plan { font-size: 15px; font-weight: 400; color: var(--mint); }
.stage .mfig { display: none; }
.stage .core { position: absolute; left: 50%; top: 50%; width: min(820px,58vw); aspect-ratio: 1; transform: translate(-50%,-50%); pointer-events: none; }
.stage .rig { position: relative; width: var(--pw); z-index: 1; }
.stage .pwrap, .stage .dwrap { perspective: calc(var(--pw) * 6); will-change: transform; }
.stage .dwrap { position: absolute; inset: 0; z-index: -1; opacity: 0; }
.stage .rig .iphone { --w: var(--pw); will-change: transform; }
#phone, #decoyPhone { transform: rotateX(-6deg) rotateY(-14deg); --tilt-x: -6deg; --tilt-y: -14deg; }
#sCol, #sPat, #sReal, #sWifi { opacity: 0; }
.stage .cap { position: absolute; left: 0; right: 0; bottom: -36px; text-align: center; font-size: 14px; font-weight: 400; color: var(--ink-soft); opacity: 0; white-space: nowrap; }
.stage .photos { position: absolute; right: calc(100% - 40px); top: 3%; z-index: 2; width: calc(var(--pw) * .6); padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid #2b2b30; opacity: 0; }
.stage .photos span { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin: 0 0 10px 2px; }
.stage .photos .grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.stage .tile { aspect-ratio: 1; border-radius: 3px; background-color: #222; background-repeat: no-repeat; will-change: transform,opacity; }
.stage .laptop { position: absolute; left: 50%; top: 50%; width: min(520px,33vw); transform: translate(-40%,-50%); opacity: 0; z-index: 0; will-change: transform,opacity; }
.stage .laptop .lid, .fig-lap, .stage .mfig .lap { border: 1px solid #2b2b30; background: #050505; border-radius: 14px 14px 4px 4px; padding: 10px; }
.stage .laptop .lid div { aspect-ratio: 16/10; border-radius: 4px; overflow: hidden; background: #0b0b0c; }
.stage .laptop .lid img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.stage .laptop .base { height: 12px; margin: 0 -7%; background: #1b1b1e; border-radius: 0 0 12px 12px; border-top: 1px solid #2b2b30; }
@media (max-width: 859px), (prefers-reduced-motion: reduce) {
  .stage { display: block; }
  .stage .pin { position: relative; height: auto; padding: 120px 0 8px; }
  .stage .photos, .stage .laptop, .stage .dwrap, .stage .cap { display: none; }
  #sReal { opacity: 1; }
  .stage .step { min-height: 0; padding: 40px 0 64px; }
  .stage .step:first-child { padding-top: 24px; }
  .stage .mfig { display: block; margin: 24px 0 8px; }
  .stage .mfig .duo { display: flex; gap: 14px; justify-content: center; }
  .stage .mfig .pose { perspective: 1400px; display: flex; justify-content: center; }
  .stage .mfig .iphone { --w: min(230px,56vw); transform: rotateX(-6deg) rotateY(-14deg); --tilt-x: -6deg; --tilt-y: -14deg; }
  .stage .mfig .duo .iphone { --w: min(150px,40vw); }
  .stage .mfig .duo figure:last-child .iphone { transform: rotateX(-6deg) rotateY(14deg); --tilt-y: 14deg; }
  .stage .mfig figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 14px; text-align: center; }
  .stage .mfig .lap { border-radius: 12px; padding: 6px; margin: 0 12px 12px; }
  .stage .mfig .lap img { border-radius: 4px; aspect-ratio: 16/10; object-fit: contain; width: 100%; height: auto; }
}
@media (max-width: 859px) {
  .stage .core { width: 150vw; }
  .stage .step { max-width: none; }
  .stage .step h2 { font-size: clamp(2rem,9vw,2.6rem); }
}
/* Phone stage: one device pinned in the top of the screen, always in full view; glass text panels rise from the bottom and slip
   under it (the pin is black; a mask fade on it cost long frames, so its lower edge is a hairline). js/site.js turns the device and swaps its screen from the panels'
   positions (normal scrolling, no snap). Landscape phones and reduced motion keep the stack. */
@media (max-width: 859px) and (min-height: 540px) and (prefers-reduced-motion: no-preference) {
  .stage { --pw: min(200px, calc((54svh - 92px) / 2.12)); }
  .stage .pin { position: sticky; top: var(--nav-h); z-index: 2; height: 54svh; padding: 0; background: #000; }
  .stage .pin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
  .stage .core { width: 118vw; -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent); mask-image: radial-gradient(closest-side, #000 58%, transparent); }
  .stage .photos, .stage .laptop, .stage .dwrap, .stage .cap { display: block; }
  #sReal { opacity: 0; }
  .stage .cap { font-size: 16px; bottom: -34px; }
  .stage .photos { padding: 8px; border-radius: 12px; }
  .stage .photos span { font-size: 12px; margin-bottom: 6px; }
  .stage .laptop { left: 50%; top: 10px; width: calc((100vw - 32px) / 1.14); }
  .stage .steps { position: relative; z-index: 1; padding-bottom: 8svh; }
  .stage .rig { margin-top: -14px; }
  .stage .step { min-height: 0; margin-bottom: 34svh; padding: 20px 18px 22px; gap: 12px; border-radius: 16px;
    background: linear-gradient(180deg, rgba(126,240,200,.06), rgba(20,22,22,.72) 42%); border: 1px solid rgba(255,255,255,.09); border-top-color: rgba(126,240,200,.3); }
    /* no backdrop blur: under the black pin there is nothing to blur, and it cost 100ms frames at 4x CPU */
  .stage .step:first-child { padding-top: 20px; }
  .stage .step:last-child { margin-bottom: 14svh; }
  .stage .step .mfig { display: none; }
  .stage .step h2 { font-size: clamp(1.75rem, 7.6vw, 2.2rem); }
  .stage .step p { font-size: 16px; line-height: 1.55; }
}
@media (min-width: 860px) and (prefers-reduced-motion: reduce) {
  .stage { display: grid; }
  .stage .pin { height: 100svh; padding: 0; align-self: start; }
  .stage .steps { grid-column: 1 / -1; }
  .stage .step { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); column-gap: var(--gutter); align-content: center; max-width: none; padding: 48px 0; }
  .stage .step > * { grid-column: 1; max-width: 520px; }
  .stage .step .mfig { grid-column: 2; grid-row: 1 / span 6; justify-self: center; align-self: center; margin: 0; max-width: none; }
  .stage .mfig .lap { width: min(560px,36vw); }
  .stage .mfig .duo { width: 420px; }
}

/* ---------- section scaffold (Home sections, content page blocks) ---------- */
.section { padding-top: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px 56px; align-items: end; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2.2rem,4vw,3.6rem); line-height: 1.02; letter-spacing: -.04em; max-width: 16ch; }
.section-head p { color: var(--ink-soft); max-width: 48ch; }
.section-foot { margin-top: 40px; }
@media (max-width: 859px) { .section-head { grid-template-columns: 1fr; margin-bottom: 40px; } .section-head h2 { font-size: clamp(2rem,9vw,2.6rem); } }

/* ---------- plan tags + legend ---------- */
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; border: 1px solid;
  font: 400 13px/1 var(--font); letter-spacing: .01em; text-decoration: none; white-space: nowrap; vertical-align: middle; }
.tag[data-plan="free"] { color: var(--ink-soft); border-color: var(--line-strong); }
.tag[data-plan="ultima"] { color: var(--cyan); border-color: rgba(91,205,235,.42); }
a.tag:hover { border-color: currentColor; }
.legend { display: grid; gap: 10px; margin: 24px 0 0; }
.legend div { display: grid; grid-template-columns: 5.5rem minmax(0,1fr); gap: 12px; align-items: baseline; }
.legend dt, .legend dd { margin: 0; }
.legend dd { font-size: 15px; color: var(--ink-soft); }

/* ---------- index: grouped typographic list (function index, Guides hub, any hub; never a card grid) ---------- */
.index-group { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0,1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.index-name { position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; padding: 22px 0; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.index-name a { text-decoration: none; color: var(--ink); }
.index-name a:hover { color: var(--mint); }
.index-rows { list-style: none; margin: 0; padding: 0; }
.index-row { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 24px; padding: 20px 0 22px; }
.index-row + .index-row { border-top: 1px solid var(--line); }
.index-title { font-size: 19px; font-weight: 400; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.index-title:hover { text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 5px; }
.index-row > .tag { grid-column: 2; grid-row: 1; justify-self: end; }
.index-text { grid-column: 1; font-size: 16px; color: var(--ink-soft); max-width: 60ch; }
.index-more { grid-column: 1; justify-self: start; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.index-more:hover { color: var(--ink); border-color: var(--mint); }
.index-row::before { content: ""; position: absolute; left: -20px; top: 24px; width: 2px; height: 20px; border-radius: 2px; background: var(--mint); opacity: 0; transition: opacity .2s; }
.index-row.is-active::before { opacity: 1; }
.index-row.is-active .index-title { color: #fff; }
@media (max-width: 859px) {
  .index-group { grid-template-columns: 1fr; }
  .index-name { position: static; padding: 28px 0 4px; font-size: 14px; color: var(--ink-soft); }
  .index-row::before { display: none; }
}

/* function index: the index with a resting 3D phone that shows the hovered or focused row's screen */
.findex { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px, 320px); gap: 72px; }
.findex-pin { position: sticky; top: max(calc(var(--nav-h) + 24px), calc(50svh - var(--fw) * 1.04)); align-self: start; --fw: min(300px, calc((100svh - 160px) * .46)); }
.findex-pin .iphone { --w: var(--fw); }
.findex-pin .ip-img { transition: opacity .18s ease; }
.findex-tabs { display: none; }
@media (max-width: 859px) {
  .findex { display: block; }
  .findex-pin { display: none; }
  .findex.tabbed { display: flex; flex-direction: column; }
  .findex.tabbed .findex-pin { display: grid; place-items: center; align-self: stretch; order: -2; position: sticky; top: var(--nav-h); z-index: 3; height: 232px; --fw: 100px;
    margin: 0 calc(var(--gutter) * -1); background: rgba(0,0,0,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .findex.tabbed .findex-pin .fig-pose { padding: 0; }
  .findex.tabbed .findex-tabs { display: flex; order: -1; position: sticky; top: calc(var(--nav-h) + 232px); z-index: 3; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); background: rgba(0,0,0,.9); border-bottom: 1px solid var(--line); scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .findex-tabs::-webkit-scrollbar { display: none; }
  .findex-tabs button { flex: none; height: 48px; padding: 0 14px; margin-bottom: -1px; scroll-snap-align: start; background: none; border: 0; border-bottom: 2px solid transparent;
    color: var(--ink-soft); font: 400 15px/1 var(--font); white-space: nowrap; cursor: pointer; }
  .findex-tabs button:first-child { padding-left: 0; }
  .findex-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--mint); }
  .findex.tabbed .index-group:not(.is-on) { display: none; }
  .findex.tabbed .index-group { border-top: 0; }
  .findex.tabbed .index-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .findex.tabbed .index-row { padding: 16px 0 18px; }
  .findex.tabbed .index-row::before { display: block; left: -12px; top: 21px; }
}

/* ---------- step list: plain "1." numbers, optional figure slot ---------- */
.steplist { list-style: none; margin: 0; padding: 0; }
.steplist-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.steplist-text { max-width: 60ch; }
.steplist-text h2, .steplist-text h3 { font-size: clamp(1.5rem,2.2vw,2rem); line-height: 1.12; letter-spacing: -.03em; }
.steplist-n { color: var(--mint); margin-right: .15em; }
.steplist-text p { margin-top: 14px; color: var(--ink-soft); }
.steplist-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 48px; }
.steplist-row .steplist-item { display: block; padding: 28px 0 0; }
.steplist-row .steplist-text h3 { font-size: 22px; letter-spacing: -.02em; }
.step-shot { display: none; }
@media (max-width: 859px) {
  .steplist-row .steplist-item:has(.step-shot) { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 20px; align-items: start; }
  .step-shot { display: block; --fig-w: 84px; }
}
@media (max-width: 859px) {
  .steplist-item { grid-template-columns: 1fr; padding: 36px 0; }
  .steplist-row { gap: 40px; }
  .steplist-item:has(> .fig) { gap: 22px; }
  .steplist-item:has(> .fig) > .steplist-text { display: contents; }
  .steplist-item:has(> .fig) > .fig { order: 1; }
  .steplist-item:has(> .fig) > .steplist-text > :not(h2, h3) { order: 2; margin-top: 0; }
}

/* ---------- pairs: heading left, text right, hairline rows ---------- */
.pairs { border-bottom: 1px solid var(--line); }
.pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 16px 56px; padding: 36px 0; border-top: 1px solid var(--line); }
.pair h3 { font-size: clamp(1.3rem,1.8vw,1.6rem); line-height: 1.2; letter-spacing: -.025em; max-width: 22ch; }
.pair p { color: var(--ink-soft); max-width: 56ch; }
.pair .textlink { margin-top: 18px; }
@media (max-width: 859px) { .pair { grid-template-columns: 1fr; padding: 28px 0; } }

/* ---------- callout: tip / limit / plan ---------- */
.callout { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 16px; margin: 40px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.callout > .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--mint); }
.callout[data-kind="limit"] > .icon { color: var(--amber); }
.callout[data-kind="plan"] > .icon { color: var(--cyan); }
.callout-title { color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.callout p, .callout li { color: var(--ink-soft); font-size: 16px; }
.callout p + p { margin-top: 12px; }
.callout ul { margin: 8px 0 0; padding-left: 1.2em; }

/* ---------- figure: resting 3D phone, flat screenshot, laptop ---------- */
.fig { display: grid; justify-items: center; gap: 16px; --fig-w: 230px; }
.fig-pose { perspective: calc(var(--fig-w) * 6); display: flex; justify-content: center; padding: 8px 0; }
.fig .iphone { --w: var(--fig-w); transform: rotateX(-6deg) rotateY(-14deg); --tilt-x: -6deg; --tilt-y: -14deg; }
.fig-mirror .iphone { transform: rotateX(-6deg) rotateY(14deg); --tilt-y: 14deg; }
/* Flat phone: the front of the 3D iPhone (assets/iphone/iphone.css) in plain CSS, same proportions. */
.fig-phone { --W: var(--fig-w); --b: calc(var(--W) * .025); --rim: calc(var(--W) * .009); --r: calc(var(--W) * .15);
  position: relative; width: var(--W); padding: calc(var(--b) - var(--rim)); border: var(--rim) solid transparent; border-radius: var(--r);
  background: linear-gradient(#020203, #020203) padding-box, linear-gradient(135deg, #c9c9d0, #5a5a60 14%, #2a2a2e 40%, #232326 62%, #56565c 86%, #b4b4bb) border-box; }
.fig-shot { display: block; width: 100%; height: auto; aspect-ratio: 804 / 1748; border-radius: calc(var(--r) - var(--b)); background: #000; }
.fig-island { position: absolute; left: 50%; top: calc(var(--b) - var(--rim) + var(--W) * .026); width: calc(var(--W) * .298); height: calc(var(--W) * .0875); transform: translateX(-50%);
  border-radius: calc(var(--W) * .044); background: radial-gradient(circle at 80% 50%, #1a2233 0 9%, #07090d 13%, transparent 17%), #000; }
.fig-phone::after { content: ""; position: absolute; inset: calc(var(--rim) * -1); border-radius: var(--r); pointer-events: none;
  background: linear-gradient(112deg, transparent 36%, rgba(255,255,255,.10) 46%, rgba(255,255,255,.035) 53%, transparent 63%); }
.fig-lap { width: min(560px, 38vw); }   /* a definite width: in the step list's auto column a percentage let the 1600px image blow the column up */
/* Laptop frame: thin bezel, camera dot, base line. Also the Home stage's phone-width laptop. */
.fig-lap, .stage .mfig .lap { position: relative; margin-bottom: 12px; }
.fig-lap::before { content: ""; position: absolute; top: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #16161a; }
.fig-lap::after, .stage .mfig .lap::after { content: ""; position: absolute; left: -12px; right: -12px; top: 100%; height: 12px; background: #1b1b1e; border-radius: 0 0 12px 12px; border-top: 1px solid #2b2b30; }
.fig-lap img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top left; border-radius: 4px; }
.fig figcaption { font-size: 14px; color: var(--ink-soft); text-align: center; max-width: 32ch; }
@media (max-width: 859px) {
  .fig { --fig-w: min(250px, 64vw); position: relative; }
  .fig:has(.fig-pose, .fig-phone)::before { content: ""; position: absolute; left: 50%; top: 46%; width: min(100%, calc(var(--fig-w) * 1.6)); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1;
    pointer-events: none; background: radial-gradient(closest-side, rgba(126,240,200,.11), rgba(91,205,235,.04) 55%, transparent); }
  .fig-lap { width: min(560px, calc(100% - 24px)); }   /* the base line reaches 12px past the lid on each side */
}

/* ---------- feature row: text + figure, sides alternate, no cards ---------- */
.feature { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) > .fig { order: -1; }
.feature-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: clamp(1.5rem,2.2vw,2rem); line-height: 1.12; letter-spacing: -.03em; }
.feature-text > p { margin-top: 16px; color: var(--ink-soft); max-width: 56ch; }
.feature-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 24px; }
@media (max-width: 859px) { .feature { grid-template-columns: 1fr; padding: 40px 0; } .feature:nth-of-type(even) > .fig { order: 0; } }

/* ---------- link list (related, guides teaser, 404) ---------- */
.links { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.links a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.links-label { font-size: 19px; font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.links-reason { grid-column: 1; font-size: 15px; color: var(--ink-soft); }
.links .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-dim); transition: transform .2s, color .2s; }
.links a:hover .icon { color: var(--mint); transform: translateX(4px); }
.links a:hover .links-label { color: #fff; }

/* ---------- breadcrumb + page header ---------- */
.page-head { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 56px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 0 0 32px; padding: 0; font-size: 14px; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--ink-dim); }
.crumbs a { text-decoration: none; color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.page-head h1 { font-size: clamp(2.6rem,5vw,4.6rem); line-height: 1; letter-spacing: -.046em; max-width: 18ch; }
.page-head .lead { margin-top: 28px; font-size: 20px; color: var(--ink-soft); max-width: 56ch; }
.page-meta { margin-top: 20px; font-size: 14px; color: var(--ink-dim); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
@media (max-width: 859px) { .page-head { padding-top: calc(var(--nav-h) + 40px); } .page-head h1 { font-size: clamp(2.2rem,10vw,3rem); } .page-head .lead { font-size: 18px; } }

/* ---------- doc: sticky table of contents + main column ---------- */
.doc { display: grid; grid-template-columns: 15rem minmax(0,1fr); gap: 80px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); max-height: calc(100svh - var(--nav-h) - 64px); overflow-y: auto; }
.toc-summary { display: none; }
.toc-cur { display: none; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list a { display: block; padding: 7px 0 7px 16px; border-left: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--ink-soft); text-decoration: none; }
.toc-list a:hover { color: var(--ink); }
.toc-list a[aria-current="true"] { color: var(--ink); border-left-color: var(--mint); }
@media (max-width: 1023px) {
  .doc { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--r); }
  .toc-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; font-size: 16px; font-weight: 400; cursor: pointer; list-style: none; }
  .toc-summary::-webkit-details-marker { display: none; }
  .toc[open] .toc-summary .icon { transform: rotate(180deg); }
  .toc nav { padding: 0 18px 14px; }
}
@media (max-width: 859px) {
  html:has(.toc) { scroll-padding-top: calc(var(--nav-h) + 72px); }
  .doc { gap: 24px; }
  .toc { position: sticky; top: var(--nav-h); z-index: 6; margin: 0 calc(var(--gutter) * -1); border: 0; border-radius: 0; border-bottom: 1px solid var(--line);
    background: rgba(0,0,0,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .toc-summary { height: 48px; padding: 0 var(--gutter); }
  .toc-cur { display: block; flex: 1; min-width: 0; text-align: right; font-size: 13px; line-height: 1.25; color: var(--mint); }   /* a long name takes two lines, never an ellipsis */
  .toc nav { position: absolute; left: 0; right: 0; top: 100%; max-height: 62svh; overflow-y: auto; padding: 4px var(--gutter) 16px; background: #000; border-bottom: 1px solid var(--line-strong); }
  .toc-list a { padding: 12px 0 12px 16px; }
  .doc-main > section + section { margin-top: 72px; padding-top: 40px;
    background: linear-gradient(var(--mint), var(--mint)) 0 0 / 32px 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat; }
}

.doc-main > section + section { margin-top: 120px; }
.doc-main > section > h2 { font-size: clamp(2rem,3.2vw,2.8rem); line-height: 1.06; letter-spacing: -.04em; margin-bottom: 20px; }
.doc-intro { color: var(--ink-soft); max-width: 60ch; margin-bottom: 24px; }

/* ---------- anchor headings with a copy-link button ---------- */
.anchor { position: relative; }
.anchor-copy, .qa .anchor-copy { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-left: 8px; padding: 0; vertical-align: middle;
  background: none; border: 0; border-radius: 8px; color: var(--ink-dim); cursor: pointer; opacity: 0; transition: opacity .15s, color .15s; }
.anchor:hover .anchor-copy, .anchor-copy:focus-visible, .qa[open] .anchor-copy { opacity: 1; }
.anchor-copy:hover { color: var(--mint); }
.anchor-copy .icon { width: 18px; height: 18px; }
.anchor-copy .i-done, .anchor-copy.done .i-idle { display: none; }
.anchor-copy.done .i-done { display: block; color: var(--mint); }
@media (hover: none) { .anchor-copy { opacity: 1; } }
@media (max-width: 859px) {
  .anchor-copy, .qa .anchor-copy { width: 44px; height: 44px; margin: -6px 0 -6px 2px; }
  .qa-a { padding-right: 48px; }
  .qa-a .anchor-copy { top: -10px; }
  .mail .copy-btn { height: 44px; }
  .mail a { position: relative; }
  .mail a::after { content: ""; position: absolute; inset: -12px -4px; }
  /* hit areas for small standalone links, without moving them */
  .textlink, .index-more, .index-title, .crumbs a, a.tag, .index-name a, .links-label { position: relative; }
  .textlink::after, .index-more::after, .index-title::after, .crumbs a::after, a.tag::after, .index-name a::after { content: ""; position: absolute; inset: -14px -4px; }
  .crumbs li { padding: 0; }
  /* Home sections: a hairline with a short mint lead-in above each block */
  #stage ~ :is(.section, .plans, .contact) { background: linear-gradient(var(--mint), var(--mint)) var(--gutter) 40px / 32px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) var(--gutter) 40px / calc(100% - var(--gutter) * 2) 1px no-repeat; }
}

/* ---------- prose (legal pages, guide text) ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.8rem,2.6vw,2.4rem); line-height: 1.1; letter-spacing: -.035em; margin: 72px 0 20px; }
.prose h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; margin: 40px 0 12px; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p, .prose ul + p, .prose ol + p { margin-top: 16px; }
.prose ul, .prose ol { margin: 16px 0; padding-left: 1.25em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--ink-dim); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--mint); }
.prose strong { color: var(--ink); font-weight: 500; }

/* ---------- FAQ item ---------- */
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 19px; font-weight: 400; line-height: 1.35; letter-spacing: -.01em; }
.qa summary .icon { color: var(--ink-dim); transition: transform .2s; }
.qa[open] summary .icon { transform: rotate(180deg); }
.qa summary:hover h3 { color: #fff; }
.qa-a { position: relative; padding: 0 48px 28px 0; max-width: 72ch; }
.qa-a p { color: var(--ink-soft); }
.qa-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 18px; }
.qa-a .anchor-copy { position: absolute; right: 0; top: -4px; margin: 0; }

/* ---------- plans (mockup C) ---------- */
.plans { padding-top: var(--section); }
.plans-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 72px; }
.plans-head h2 { font-size: clamp(2.6rem,5vw,4.6rem); line-height: 1; letter-spacing: -.046em; }
.plans-head p { color: var(--ink-soft); max-width: 48ch; }
/* the table, its terms and its button sit in one 1080px column, so "100" stays near "Photos" */
.plans-scroll, .plans-notes, .plans-foot { max-width: 1080px; margin-inline: auto; }
.plans-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.plans-table th, .plans-table td { padding: 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-weight: 400; }
.plans-table thead th { border-top: 0; vertical-align: bottom; padding-top: 28px; }
.plans-table col.c-label { width: 44%; }
.plans-table col:nth-child(2) { width: 20%; }
.plans-table .ultima { background: var(--surface); }
.plans-table thead .ultima { border-radius: 16px 16px 0 0; }   /* the Ultima panel starts at its header */
.plans-table thead .price { font-size: 28px; }
.plans .prow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.plans .prow .price + .price { margin-top: 0; }
.plans-table tbody tr:last-child .ultima { border-radius: 0 0 16px 16px; }
.plans .pname { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 14px; }
.plans .price { display: block; font-size: clamp(2rem,3.2vw,3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.plans .price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); margin-left: 6px; }
.plans .price + .price { margin-top: 18px; }
.plans .note { display: block; font-size: 14px; color: var(--mint); margin-top: 12px; font-weight: 400; }
.plans-table tbody th { font-weight: 400; color: var(--ink); }
.plans-table tbody th span { display: block; font-weight: 400; font-size: 14px; color: var(--ink-soft); margin-top: 4px; max-width: 36ch; }
.plans-table td { color: var(--ink); }
.plans-table td .icon { width: 22px; height: 22px; }
.plans-table .yes { color: var(--mint); }
.plans-table .no { color: #6a6a72; }
.plans-notes { display: grid; gap: 8px; margin-top: 32px; font-size: 15px; color: var(--ink-soft); }
.plans-notes p { max-width: 64ch; }
.plans-terms { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.plans-terms b { margin-right: 6px; font-weight: 500; color: var(--ink); }
.plans-foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.plans-foot p { color: var(--ink-soft); font-size: 15px; max-width: 52ch; }
.plans-cards { display: none; }
@media (max-width: 859px) {
  .plans-head { display: block; margin-bottom: 36px; }
  .plans-head h2 { font-size: clamp(2.2rem,10vw,3rem); }
  .plans-head p { margin-top: 20px; }
  .plans-scroll { display: none; }
  .plans-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); gap: 14px; align-items: start; }
  .plan-card { padding: 22px 20px 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,10,10,.5); scroll-margin-top: calc(var(--nav-h) + 16px); }
  .plan-card[data-card="ultima"] { background: var(--surface); border-color: rgba(91,205,235,.42); box-shadow: inset 0 2px 0 var(--cyan); }
  .plan-card .pname { font-size: 20px; margin-bottom: 10px; }
  .plan-card .price { font-size: 2.4rem; }
  .plan-card .price small { font-size: 15px; }
  .plan-card .note { font-size: 15px; margin-top: 10px; }
  .plan-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
  .plan-list li { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 12px; align-items: baseline; padding: 11px 0; font-size: 16px; line-height: 1.4; color: var(--ink); }
  .plan-list li + li { border-top: 1px solid var(--line); }
  .plan-list .icon { width: 20px; height: 20px; align-self: start; margin-top: 1px; }
  .plan-list .yes { color: var(--mint); }
  .plan-list .no { color: #6a6a72; }
  .plan-list li.off { color: var(--ink-dim); }
  .plan-list .detail { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 3px; }
  .plan-list b { font-weight: 500; color: var(--ink); }
  .plans-foot { margin-top: 36px; gap: 20px; }
}

/* ---------- contact (mockup C) ---------- */
.contact { padding-top: var(--section); display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 56px; align-items: center; }
.contact h2 { font-size: clamp(2.2rem,3.6vw,3.4rem); letter-spacing: -.04em; line-height: 1.04; margin-bottom: 28px; }
.mail { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mail a { font-size: clamp(1.2rem,3.4vw,3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; text-decoration: none; color: var(--mint); overflow-wrap: anywhere; }
.mail a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: none; border: 1px solid var(--line-strong); border-radius: 10px;
  font: 400 14px/1 var(--font); color: var(--ink-soft); cursor: pointer; }
.copy-btn:hover { color: var(--ink); border-color: var(--ink-dim); }
.copy-btn .icon { width: 18px; height: 18px; }
.contact .body { color: var(--ink-soft); max-width: 52ch; margin-top: 36px; }
.contact .body + .body { margin-top: 16px; }
.core-still { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; justify-self: end; }
.core-still canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.core-still img { position: absolute; left: 50%; top: 50%; width: 22%; height: auto; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 22.5%; }
.core-still p { position: absolute; left: 0; right: 0; bottom: -8px; text-align: center; font-size: 14px; font-weight: 400; color: var(--ink-soft); }
@media (max-width: 859px) {
  .contact { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 48px; }
  .core-still { width: 64%; align-self: center; }
}

/* ---------- 404 ---------- */
.lost { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + 48px); }
.lost h1 { font-size: clamp(2.6rem,5vw,4.6rem); line-height: 1; letter-spacing: -.046em; max-width: 14ch; }
.lost > p { margin-top: 24px; font-size: 20px; color: var(--ink-soft); max-width: 44ch; }
.lost .links { margin-top: 48px; max-width: 720px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
