/* Closing horizon: the app's dotted globe rising from the bottom edge; photo tiles ride a tilted orbit, passing behind
   the globe on the far side. Tiles, ring and globe share one stacking context so the tiles' z-index can switch sides. */
.closing{position:relative;overflow:hidden;padding:100px 0 0}
.closing .wrap{position:relative;z-index:4}
.horizon{position:relative;width:1280px;height:560px;left:50%;margin-left:-640px;margin-top:-60px;pointer-events:none}
.horizon .orb{position:absolute;left:260px;top:100px;width:760px;height:760px;z-index:2}
.horizon .orb::before{content:"";position:absolute;inset:7.5%;border-radius:50%;background:radial-gradient(circle at 50% 40%,var(--surface-page) 60%,color-mix(in srgb,var(--surface-page) 88%,var(--rust)))}
.horizon .orb canvas{position:relative;width:100%;height:100%}
/* the drawing at its own 1280x640 size, so the ring sits exactly on the tiles' offset-path (same pixels) */
.horizon svg{position:absolute;left:0;top:0;width:1280px;height:640px;overflow:visible}
.horizon .ring{fill:none;stroke:color-mix(in srgb,var(--text) 22%,transparent);stroke-width:1.2}
.horizon .ring.far{stroke:color-mix(in srgb,var(--text) 12%,transparent);stroke-dasharray:2 6}
.horizon .back{z-index:1}
.horizon .tile{position:absolute;left:0;top:0;width:58px;height:58px;border-radius:5px;border:2px solid #f1ebdf;background:center/cover;
  box-shadow:0 1px 2px rgba(40,30,20,.18),0 10px 20px -10px rgba(40,30,20,.45);offset-path:var(--orbit);offset-rotate:0deg;
  animation:orbit 80s linear infinite,side 80s steps(1) infinite;animation-delay:var(--d),var(--d)}
@keyframes orbit{from{offset-distance:0%}to{offset-distance:100%}}
/* first half of the path is the far side (behind the globe), second half the near side */
@keyframes side{0%{z-index:1}50%{z-index:3}}

/* Privacy band: Codex artwork, a planet holding photo tiles in its orbits at the left, echo arcs at the right */
.dark{position:relative;overflow:hidden}
.dark .wrap{position:relative;z-index:1}
/* the two halves are transparent cut-outs pinned to the edges; on narrower screens they slide out so the text stays clear */
#privacy{background:url(art/privacy-left.webp) left max(-120px,min(0px,50vw - var(--wrap)/2 - 300px)) center/auto 560px no-repeat,
  url(art/privacy-right.webp) right max(-80px,min(0px,50vw - var(--wrap)/2 - 200px)) center/auto 560px no-repeat,#14171b}

@media (max-width:1280px){.horizon{transform:scale(.8);transform-origin:50% 100%;margin-top:-170px}}
@media (max-width:760px){.horizon{transform:scale(.5);margin-top:-360px}}
@media (prefers-reduced-motion:reduce){.horizon .tile{animation:none}}

/* How it works: one illustration per step, between the step number and its title */
.step::before{margin-bottom:18px}
.step-art{display:block;width:100%;height:140px;object-fit:contain;margin:0 0 20px}

/* Dark bands with background artwork: How it works and the closing call */
.band{background:#16181b url(art/how-bg.webp) center/cover no-repeat;color:#ece4d4}
.band .eyebrow,.band .head p{color:#a19e99}
.band .step{color:var(--text);background:var(--media-neutral-bottom);border-color:transparent;box-shadow:0 20px 50px -30px rgba(0,0,0,.8)}
.closing{background:#121316 url(art/close-bg.webp) center bottom/cover no-repeat;color:#ece4d4;
  --art-a:#e07a52;--art-b:#ece4d4;--art-size:1.5;--art-dots:1.5}
.closing .fine{color:#a19e99}
.closing .btn-alt{background:transparent;color:#ece4d4;border-color:rgba(236,228,212,.6)}
.closing .btn-alt:hover{background:rgba(236,228,212,.08)}
.closing .horizon .orb::before{background:radial-gradient(circle at 50% 40%,#16181b 58%,#1f1a19)}
.closing .horizon .ring{stroke:rgba(236,228,212,.26)}
.closing .horizon .ring.far{stroke:rgba(236,228,212,.12)}
.closing .horizon .tile{box-shadow:0 10px 24px -10px rgba(0,0,0,.8)}

/* FAQ with a contact column beside it */
.faq-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:70px;align-items:start}
.faq-wrap .faq{max-width:none}
.ask{position:sticky;top:96px;background:var(--theme-white);border:1px solid var(--hairline);border-radius:10px;padding:26px}
.ask h3{font-size:30px;margin-bottom:10px}
.ask p{color:var(--muted);font-size:15px}
.ask .mail{display:inline-block;margin:16px 0 20px;font:600 13px/1 var(--mono);color:var(--glacier);text-decoration:none}
.ask .links{display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--hairline);padding-top:18px}
.ask .links a{font:600 11.5px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);text-decoration:none}
.ask .links a:hover{color:var(--text)}
@media (max-width:980px){.faq-wrap{grid-template-columns:1fr;gap:40px}.ask{position:static}}

/* Hero: a real app screen in the window until the hero loop video exists */
.stage .shot-app{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.window{background:#0e0f11}
/* The hero loop is portrait (4:5 under the title bar), about as tall as the text beside it */
.hero .window{aspect-ratio:4/5.24;width:100%;max-width:470px;justify-self:center}
