/* A restrained product-first layer. Keep the worlds, scene and chapter geometry. */
:root{--muted:#aeb4bd;--muted-dim:#9098a3}
.pill{min-height:42px;letter-spacing:.1em}
.pill.solid{background:var(--solid-bg)}
.pill.solid:hover{background:var(--solid-bg-hover)}
.eyebrow{letter-spacing:.22em}
.gate{overflow-y:auto;overscroll-behavior:contain}
.gate-in{margin-block:auto;gap:clamp(20px,3.5svh,36px)}
.gate-title{
  font-size:clamp(32px,5.2vw,68px);
  font-weight:400;
  letter-spacing:-.045em;
  line-height:1.06;
  text-wrap:balance;
}
.gate-choices{width:100%;gap:clamp(24px,7vw,100px)}
.planet{flex:0 1 250px;gap:16px;border-radius:20px}
.planet-name{font-weight:400;letter-spacing:.17em;text-indent:.17em}
.planet-line{max-width:25ch;font-size:14px;line-height:1.55;text-wrap:balance}
.planet-go{
  min-height:42px;
  padding-inline:20px;
  background:var(--solid-bg);
  border-color:transparent;
  color:var(--solid-fg);
  font-size:11px;
  letter-spacing:.08em;
}
.planet:hover .planet-go,.planet:focus-visible .planet-go{background:var(--solid-bg-hover);border-color:transparent}
.planet:focus-visible{outline:2px solid var(--steel);outline-offset:6px}
.planet:focus-visible .planet-stage{outline:none}
.gate-note{max-width:40ch;color:var(--muted);font-size:13px;letter-spacing:0;text-transform:none}
.hero .lead{max-width:40ch;line-height:1.65}
.hero-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px 26px;margin-top:28px}
.hero-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--fg);font-size:13px;text-decoration:none;text-underline-offset:5px}
.hero-link:hover{text-decoration:underline}
.hero-link span{transition:transform .3s var(--ease)}
.hero-link:hover span{transform:translateX(3px)}
@media(max-width:820px){
  .gate{padding:100px var(--gutter) 32px;place-items:safe center}
  .gate-choices{flex-wrap:nowrap;gap:12px}
  .planet{min-width:0;flex:1 1 0;padding:10px 4px;gap:12px}
  .planet-line{display:block;font-size:12px;max-width:20ch;min-height:3.1em}
  .planet-go{padding-inline:14px;font-size:10px}
  .gate-title{font-size:clamp(30px,6vw,48px)}
  .hero-actions{gap:10px 20px}
}
@media(max-height:650px){
  .gate{place-items:start center;padding-top:90px}
  .gate-in{gap:18px}
  .gate-title{font-size:clamp(28px,4vw,42px)}
  .planet-stage{width:96px}
}
@media(prefers-reduced-motion:reduce){.hero-link span{transition:none}}

/* ── Centred chapters: What it does, Features, Connected, Reserve ──
   These are read rather than watched, so the copy takes the middle of the
   page and the scene thins out behind it. */
.wrap.centre{align-items:center;text-align:center}
.wrap.centre .eyebrow{justify-content:center}
.wrap.centre h2{max-width:22ch}
.wrap.centre .body{max-width:56ch}
.wrap.centre::before,#c6 .wrap.centre::before{
  background:radial-gradient(64% 58% at 50% 50%,rgba(var(--bg-rgb),.86),rgba(var(--bg-rgb),.56) 58%,transparent 100%);
}
@media(min-width:821px){.wrap.centre{padding-left:calc(var(--gutter) + 72px)}}

.gate-lead{margin:0;max-width:46ch;color:var(--muted);font-size:clamp(14px,1.5vw,16.5px);line-height:1.6;text-wrap:balance}
.hero-actions .play{width:0;height:0;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent currentColor}

/* What it does: four things you would say, and what comes back. */
.moments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%;margin-top:44px;text-align:left}
.moment{
  display:flex;flex-direction:column;gap:10px;margin:0;padding:22px 20px 20px;
  border:1px solid var(--line);border-radius:18px;background:rgba(var(--panel-rgb),.62);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  transition:opacity .9s var(--ease),transform .9s var(--ease),border-color .3s var(--ease);
}
.moment:hover{border-color:var(--line-strong)}
.moment figcaption{font-size:10px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--steel)}
.moment p{margin:0;font-size:15.5px;line-height:1.45}
.moment .ask{color:var(--muted)}
.moment .reply{display:flex;gap:10px;color:var(--fg);font-weight:400}
.moment .reply i{flex:0 0 auto;width:7px;height:7px;margin-top:.5em;border-radius:50%;background:var(--led);box-shadow:0 0 10px 2px var(--led-glow)}
.moment small{margin-top:auto;padding-top:12px;border-top:1px solid var(--line);color:var(--muted-dim);font-size:12.5px;line-height:1.5}

/* Features */
.features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:30px;width:100%;margin-top:44px;text-align:left}
.feature{padding:22px 0 26px;border-top:1px solid var(--line-strong)}
.feature svg{display:block;width:26px;height:26px;margin-bottom:16px;fill:none;stroke:var(--steel);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.feature h3{margin:0 0 8px;font-size:16.5px;font-weight:400;letter-spacing:-.01em}
.feature p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.6}
.everyday{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:18px 0 0;padding:0;list-style:none}
.everyday li{padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--field);color:var(--muted);font-size:12px}

/* Connected */
.hub{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:clamp(48px,9vw,130px);width:100%;max-width:960px;margin-top:44px}
.hub-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hub-wires path{fill:none;stroke-linecap:round}
.hub-wires .wire{stroke:var(--line-strong);stroke-width:1;opacity:.6}
.hub-wires .bead{stroke:var(--steel);stroke-width:2.4;stroke-dasharray:5 95;animation:bead 3.4s linear infinite;filter:drop-shadow(0 0 4px var(--steel))}
@keyframes bead{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
.hub-side{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none}
.tile{
  position:relative;display:flex;align-items:center;gap:13px;padding:12px 16px;text-align:left;
  border:1px solid var(--line);border-radius:14px;background:rgba(var(--panel-rgb),.7);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
}
.tile svg{flex:0 0 auto;width:30px;height:30px}
.tile svg.glyph{fill:none;stroke:var(--fg);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;padding:2px}
.tile b{display:block;font-size:14.5px;font-weight:500}
.tile small{display:block;margin-top:2px;color:var(--muted-dim);font-size:12px}
.hub-core{
  position:relative;display:grid;place-content:center;gap:4px;width:clamp(128px,15vw,164px);aspect-ratio:1;border-radius:50%;
  border:1px solid var(--line-strong);
  background:radial-gradient(circle at 50% 38%,rgba(var(--ink-rgb),.14),rgba(var(--panel-rgb),.9) 68%);
  box-shadow:0 0 60px -8px var(--steel),inset 0 0 26px rgba(var(--ink-rgb),.05);
}
.hub-core b{font-size:19px;font-weight:300;letter-spacing:.24em;text-indent:.24em}
.hub-core small{color:var(--muted-dim);font-size:9.5px;letter-spacing:.2em;text-transform:uppercase}
.hub-ring{position:absolute;inset:-1px;border-radius:50%;border:1px solid var(--steel);opacity:0;animation:ring 3.4s var(--ease) infinite}
@keyframes ring{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.5);opacity:0}}
.sdk{margin:34px 0 0;max-width:62ch;padding:14px 20px;border:1px solid var(--line);border-radius:14px;background:var(--field);color:var(--muted);font-size:13px;line-height:1.6;text-wrap:pretty}
.sdk b{color:var(--fg);font-weight:500}

/* Reserve */
.box{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px;width:100%;max-width:470px;margin:28px 0 0;padding:0;list-style:none;text-align:left;color:var(--fg);font-size:13.5px;line-height:1.4}
.box li{display:flex;gap:10px}
.box li::before{content:"";flex:0 0 auto;width:10px;height:6px;margin-top:.3em;border-left:1.5px solid var(--led);border-bottom:1.5px solid var(--led);transform:rotate(-45deg)}
.wrap.centre .signup{max-width:470px;margin-top:28px}
input[type="email"],input[type="email"]::placeholder{font-size:15px;letter-spacing:0;text-transform:none}
.go{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:44px;gap:8px;padding:0 18px;font-family:inherit;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.done{justify-content:center}
.terms{margin:4px 0 0;max-width:48ch;color:var(--muted-dim);font-size:12px;line-height:1.6;text-wrap:balance}

@media(max-width:1020px){
  .moments,.features{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .hub{grid-template-columns:1fr 1fr;gap:12px}
  .hub-core{grid-column:1 / -1;grid-row:1;justify-self:center;margin-bottom:14px}
  .hub-wires{display:none}
  .tile{padding:11px 12px;gap:10px}
  .tile svg{width:24px;height:24px}
  .tile b{font-size:13.5px}
  .tile small{font-size:11px}
}
@media(max-width:520px){
  .moments{grid-template-columns:1fr}
  .features{column-gap:18px}
  .box{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .hub-wires .bead,.hub-ring{animation:none}
  .hub-wires .bead{stroke-dasharray:none;opacity:.35;stroke-width:1}
}

/* ── Reserve as a product panel: the device beside the form ── */
.buy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:clamp(32px,5vw,72px);width:100%;max-width:1040px;text-align:left}
.buy-shot{position:relative;margin:0;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#06080a;aspect-ratio:4 / 3;transition:opacity .9s var(--ease),transform .9s var(--ease)}
.buy-shot img{display:block;width:100%;height:100%;object-fit:cover}
.buy-shot figcaption{
  position:absolute;left:14px;bottom:14px;display:flex;align-items:center;gap:9px;padding:8px 13px;border-radius:999px;
  background:rgba(var(--panel-rgb),.72);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--line);
  font-size:10px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;
}
.buy-shot .led{width:7px;height:7px;border-radius:50%;background:var(--led);box-shadow:0 0 10px 2px var(--led-glow);animation:pulse 2.1s ease-in-out infinite}
.wrap.centre .buy-main .eyebrow{justify-content:flex-start}
.wrap.centre .buy-main h2{max-width:14ch}
.buy-main .terms{text-wrap:pretty}
.buy-main .done{justify-content:flex-start}

/* A reply being typed carries a caret until it finishes. */
.moment .reply.is-typing::after{content:"";width:1px;height:1.1em;margin-left:1px;background:currentColor;animation:pulse .9s steps(2) infinite}

/* ── Footer, in columns ── */
footer{display:block;padding-top:56px}
.foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:40px 56px}
.foot-brand{display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.foot-line{margin:0;color:var(--fg);font-size:clamp(24px,3vw,36px);font-weight:200;letter-spacing:-.02em;text-transform:none}
footer nav{display:grid;grid-template-columns:repeat(4,auto);gap:28px clamp(28px,5vw,72px)}
footer nav div{display:flex;flex-direction:column;gap:13px}
footer nav h4{margin:0 0 4px;color:var(--faint);font-size:10px;font-weight:500;letter-spacing:.2em}
footer nav a{font-size:11px;letter-spacing:.14em}
.foot-base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:48px;padding-top:22px;border-top:1px solid var(--line)}

@media(max-width:820px){
  .buy{grid-template-columns:1fr;gap:26px;text-align:center}
  .buy-shot{max-width:440px;margin-inline:auto;width:100%}
  .wrap.centre .buy-main .eyebrow{justify-content:center}
  .wrap.centre .buy-main h2{max-width:none}
  .buy-main{display:flex;flex-direction:column;align-items:center}
  .buy-main .done{justify-content:center}
  footer nav{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  /* A 14px line of type is not a tap target. Same rhythm, 44px to hit. */
  footer nav div{gap:0}
  footer nav h4{margin-bottom:6px}
  footer nav a{display:flex;align-items:center;min-height:44px}
}

/* ── Gate: two big planets, each carrying its device ──
   The page opens on the globes and little else: a line saying what they
   are, and under each one its name and the way in. */
.gate{padding-top:max(84px,10svh)}
.gate-in{gap:clamp(10px,2svh,24px)}
.gate-title{font-size:clamp(22px,2.6vw,34px);font-weight:300;letter-spacing:-.02em}
.gate-choices{flex-wrap:nowrap;align-items:flex-start;gap:clamp(24px,7vw,120px)}
.planet{flex:0 1 auto;gap:10px;padding:0 4px 8px}
.planet-stage{width:clamp(210px,min(33vw,50svh),470px)}
.planet-name{margin-top:8px}
.planet .planet-name,.planet .planet-line,.planet .planet-go{transition:opacity .45s var(--ease),transform .45s var(--ease)}
.gate[data-hover="reji"] .planet[data-device="jini"] > :not(.planet-stage),
.gate[data-hover="jini"] .planet[data-device="reji"] > :not(.planet-stage){opacity:.38}
.planet:hover{transform:none}
@media(max-width:820px){
  .gate{padding:84px var(--gutter) 20px}
  .gate-choices{flex-direction:column;align-items:center;gap:6px}
  .planet{flex:0 0 auto;padding:0;gap:8px}
  .planet-stage{width:clamp(150px,27svh,250px)}
  .planet-line{display:none}
  .planet-name{margin-top:0;font-size:22px}
  .gate-title{font-size:19px}
}

/* ── Product tag: what is for sale, on every screen ── */
.tag{
  position:fixed;left:calc(var(--gutter) * .58);bottom:calc(18px + env(safe-area-inset-bottom));z-index:28;
  display:flex;align-items:center;gap:12px;padding:6px 14px 6px 6px;
  border:1px solid var(--line);border-radius:16px;background:rgba(var(--panel-rgb),.74);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  color:var(--fg);text-decoration:none;
  transition:opacity .4s var(--ease),transform .4s var(--ease),border-color .3s var(--ease);
}
.tag:hover{border-color:var(--line-strong)}
.tag-shot{flex:0 0 auto;width:60px;height:45px;border-radius:11px;overflow:hidden;background:#06080a}
.tag-shot img{display:block;width:100%;height:100%;object-fit:cover}
.tag-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.tag-text b{font-size:12px;font-weight:500;letter-spacing:.2em}
.tag-text small{color:var(--muted);font-size:11.5px;white-space:nowrap}
.tag-go{margin-left:6px;padding:8px 13px;border-radius:999px;background:var(--solid-bg);color:var(--solid-fg);font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.tag-go i{font-style:normal}
.tag.is-away,body.is-gate .tag,body.is-launching .tag,body:has(#inspection-dock.is-visible) .tag{opacity:0;pointer-events:none;transform:translateY(10px)}
@media(max-width:820px){
  .tag{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));justify-content:flex-start}
  .tag-go{margin-left:auto}
  .cue{display:none}
}
@media(prefers-reduced-motion:reduce){.tag{transition:none}}

/* Film chapter names keep clear of each other however short the chapter is. */
.film-chapters span{padding-right:14px}

.everyday-lead{margin:26px 0 0;color:var(--fg);font-size:15px}
.everyday-lead + .everyday{margin-top:12px}
