/* ============================================================
   theconnector.group — the page around the phone.
   Colours are the app's own tokens (design system §1.10).
   The page commits to the app's sky: the phase follows the clock
   (or the visitor's pick), never the OS theme.
   ============================================================ */

:root {
  color-scheme: dark;
  --ink: #f5efe4; --ink-hi: #fff3dc; --ink-muted: #c9ccdc; --ink-faint: #9aa2c2; --ink-accent: #ffd9a3;
  --good: #8ff0b4; --hair: rgba(255,205,140,.18); --hair-2: rgba(255,255,255,.08);
  --chip: rgba(24,30,58,.6); --chip-strong: rgba(40,48,84,.72);
  --gold-solid: #e6a63c; --accent-fill: rgba(232,181,74,.14); --accent-fill-strong: rgba(232,181,74,.24); --accent-line: rgba(255,205,140,.45);
  --good-solid: #8ff0b4; --good-ink: #04210f; --good-fill: rgba(143,240,180,.13); --good-line: rgba(143,240,180,.35);
  --danger: #f6bfbf; --dashed: rgba(255,205,140,.34); --toast: rgba(16,20,32,.95); --punch: #12172f; --track-off: rgba(255,255,255,.14);
  --headline-shadow: 0 6px 30px rgba(0,0,0,.7);
  --imessage-solid: #34C759; --imessage-text: #8bdfa4; --imessage-fill: rgba(52,199,89,.13); --imessage-line: rgba(52,199,89,.35);
  --dock-bg: rgba(16,20,32,.82); --dock-border: rgba(255,255,255,.09); --dock-shadow: 0 14px 36px 0 rgba(0,0,0,.45);
  --dock-inactive: #9aa3b8; --dock-active: #F2C260; --dock-active-bg: rgba(232,181,74,.14);
  --mark-l: #f5efe4; --focus: #ffd9a3;
  --ground: #0a0f26;
  --pane-a: rgba(24,30,58,.82); --pane-b: rgba(10,14,30,.9); --pane-edge: rgba(255,255,255,.06); --rim: 255,205,140; --pane-shadow: rgba(0,0,0,.9);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Albert Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --nav-h: 76px;
}
html[data-phase="dawn"] { --ground: #3a2a58; }
html[data-phase="dusk"] { --ground: #2a1638; }
html[data-phase="night"] { --ground: #0a0f26; }
html[data-ink="light"] {
  color-scheme: light;
  --ink: #141a2e; --ink-hi: #0b1226; --ink-muted: #3f4a66; --ink-faint: #5c647c; --ink-accent: #8b5a0e;
  --good: #1a733f; --hair: rgba(20,26,46,.14); --hair-2: rgba(20,26,46,.08);
  --chip: rgba(255,255,255,.6); --chip-strong: rgba(255,255,255,.82);
  --accent-fill: rgba(200,140,40,.16); --accent-fill-strong: rgba(200,140,40,.26); --accent-line: rgba(230,166,60,.55);
  --good-solid: #1a7a43; --good-ink: #ffffff; --good-fill: rgba(31,138,76,.12); --good-line: rgba(31,138,76,.35);
  --danger: #b3261e; --dashed: rgba(154,100,16,.38); --toast: rgba(255,255,255,.96); --punch: #f7f6f2; --track-off: rgba(20,26,46,.16);
  --headline-shadow: 0 1px 0 rgba(255,255,255,.55);
  --imessage-solid: #248a3d; --imessage-text: #1d7935; --imessage-fill: rgba(36,138,61,.11); --imessage-line: rgba(36,138,61,.34);
  --dock-bg: rgba(255,255,255,.78); --dock-border: rgba(255,255,255,.9); --dock-shadow: 0 14px 36px 0 rgba(40,60,100,.22);
  --dock-inactive: #4b5568; --dock-active: #8a5a0e; --dock-active-bg: rgba(200,140,40,.16);
  --mark-l: #141a2e; --focus: #8a5a0e;
  --ground: #f4f6f9;
  --pane-a: rgba(255,255,255,.84); --pane-b: rgba(244,242,236,.66); --pane-edge: rgba(255,255,255,.7); --rim: 230,166,60; --pane-shadow: rgba(20,30,60,.4);
}

html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-weight: 500; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the sky (Sky v2: four phases, three orbs, the horizon band, grain) ---------- */
.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--ground); transition: background-color 1.2s ease; }
.sky > i { position: absolute; display: block; }
.sky > .k { inset: 0; opacity: 0; transition: opacity 1.2s ease; }
html[data-phase="day"] .sky > .k-day, html[data-phase="dawn"] .sky > .k-dawn, html[data-phase="dusk"] .sky > .k-dusk, html[data-phase="night"] .sky > .k-night { opacity: 1; }
.sky > .k-day { background: linear-gradient(180deg, rgba(90,140,220,.14) 0%, transparent 40%, transparent 60%, rgba(255,255,255,.7) 100%), linear-gradient(180deg, #e9f0f8 0%, #f4f6f9 55%, #fbfbfc 100%); }
.sky > .k-dawn { background: linear-gradient(180deg, rgba(10,10,40,.5) 0%, transparent 40%, transparent 60%, rgba(12,8,30,.85) 100%), linear-gradient(180deg, #1b1d40 0%, #3a2a58 45%, #6a3f66 100%); }
.sky > .k-dusk { background: linear-gradient(180deg, rgba(6,4,24,.55) 0%, transparent 40%, transparent 60%, rgba(8,4,20,.9) 100%), linear-gradient(180deg, #120e2c 0%, #2a1638 45%, #4a1e3c 100%); }
.sky > .k-night { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 40%, transparent 60%, rgba(2,3,10,.92) 100%), linear-gradient(180deg, #04060f 0%, #0a0f26 50%, #0c1230 100%); }
.sky > .o { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, currentColor 0, transparent 62%); transition: color 1.2s ease; will-change: transform; }
.sky > .oa { left: -30%; top: -14%; width: 120%; filter: blur(40px); animation: orbA 26s ease-in-out infinite; }
.sky > .ob { right: -40%; top: 18%; width: 130%; filter: blur(46px); animation: orbB 32s ease-in-out infinite; }
.sky > .oc { left: -20%; bottom: -30%; width: 120%; filter: blur(46px); animation: orbC 38s ease-in-out infinite; }
@media (min-width: 900px) { .sky > .oa { width: 80%; left: -12%; top: -30%; } .sky > .ob { width: 80%; right: -22%; top: 6%; } .sky > .oc { width: 80%; left: 4%; bottom: -46%; } }
html[data-phase="day"] .sky .oa { color: rgba(116,164,232,.55); } html[data-phase="day"] .sky .ob { color: rgba(255,208,150,.55); } html[data-phase="day"] .sky .oc { color: rgba(170,222,205,.5); }
html[data-phase="dawn"] .sky .oa { color: rgba(120,110,220,.5); } html[data-phase="dawn"] .sky .ob { color: rgba(255,170,130,.55); } html[data-phase="dawn"] .sky .oc { color: rgba(255,205,150,.45); }
html[data-phase="dusk"] .sky .oa { color: rgba(150,80,170,.5); } html[data-phase="dusk"] .sky .ob { color: rgba(255,150,80,.6); } html[data-phase="dusk"] .sky .oc { color: rgba(255,110,120,.4); }
html[data-phase="night"] .sky .oa { color: rgba(60,80,200,.45); } html[data-phase="night"] .sky .ob { color: rgba(255,190,110,.28); } html[data-phase="night"] .sky .oc { color: rgba(40,120,160,.35); }
.sky > .band { left: 50%; top: var(--hz, 44%); width: 200%; height: 300px; transform: translate(-50%, -50%); background: radial-gradient(50% 50% at 50% 50%, currentColor 0, transparent 70%); filter: blur(24px); transition: top .52s cubic-bezier(.42,0,.58,1), color 1.2s ease; animation: band 9s ease-in-out infinite; }
html[data-phase="day"] .sky .band { color: rgba(255,255,255,.9); } html[data-phase="dawn"] .sky .band { color: rgba(255,190,140,.6); }
html[data-phase="dusk"] .sky .band { color: rgba(255,170,100,.6); } html[data-phase="night"] .sky .band { color: rgba(255,205,140,.5); }
.sky > .hline { display: none; left: 0; right: 0; top: var(--hz, 44%); height: 1px; background: linear-gradient(90deg, transparent, currentColor 30%, currentColor 70%, transparent); opacity: .5; transition: top .52s cubic-bezier(.42,0,.58,1), color 1.2s ease; }
html[data-phase="day"] .sky .hline { color: rgba(255,255,255,.9); } html[data-phase="dawn"] .sky .hline { color: rgba(255,225,190,.9); }
html[data-phase="dusk"] .sky .hline { color: rgba(255,225,190,.95); } html[data-phase="night"] .sky .hline { color: rgba(255,232,196,.95); }
.sky > .grain { inset: 0; background-image: url(../img/grain.png); background-size: 160px 160px; mix-blend-mode: overlay; opacity: .09; }
html[data-phase="day"] .sky > .grain { mix-blend-mode: multiply; opacity: .06; }
html[data-phase="dawn"] .sky > .grain, html[data-phase="dusk"] .sky > .grain { opacity: .08; }
@keyframes orbA { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(40px,30px) scale(1.12) } }
@keyframes orbB { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(-50px,20px) scale(.94) } }
@keyframes orbC { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(20px,-40px) scale(1.08) } }
@keyframes band { 0%,100% { opacity: .75; transform: translate(-50%,-50%) scaleX(1) } 50% { opacity: 1; transform: translate(-50%,-50%) scaleX(1.06) } }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; left: 0; right: 0; top: 0; padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 0; pointer-events: none; }
.nav-in { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nav-in > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 11px; border-radius: 999px; background: var(--chip); border: 1px solid var(--hair); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: border-color .25s ease, background-color 1.2s ease; }
.brand:hover { border-color: var(--accent-line); }
.nav-r { display: flex; align-items: center; gap: 10px; }
.phase { display: none; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--chip); border: 1px solid var(--hair-2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.phase button { height: 34px; min-width: 50px; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-faint); font-size: 12.5px; font-weight: 600; letter-spacing: .2px; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.phase button:hover { color: var(--ink); }
.phase button[aria-pressed="true"] { background: var(--dock-active-bg); color: var(--dock-active); }
.phase-cyc { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--chip); border: 1px solid var(--hair-2); color: var(--ink-muted); font-size: 13px; font-weight: 600; cursor: pointer; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.getapp { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: #2a1a00; background: linear-gradient(180deg,#ffdca0,#e6a63c); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 24px rgba(255,190,90,.35); transition: transform .25s var(--ease-out), opacity .4s ease; }
.getapp:hover { transform: translateY(-1px); }
@media (min-width: 760px) { .phase { display: flex; } .phase-cyc { display: none; } .getapp { display: inline-flex; } }

/* ---------- the experience: hero → assembly → tour, on one sticky stage ---------- */
.xp { position: relative; z-index: 1; }
.xp-pin { position: sticky; top: env(safe-area-inset-top, 0px); height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); height: calc(100svh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.xp-gl { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; pointer-events: none; }
.xp-3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.xp-ui { position: absolute; inset: 0; z-index: 3; display: grid; pointer-events: none;
  padding: var(--nav-h) 16px 14px;
  grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto auto; grid-template-areas: "slot" "copy" "dock"; row-gap: 12px; }
.slot { grid-area: slot; justify-self: center; align-self: stretch; height: 100%; aspect-ratio: 964 / 2044; max-width: 100%; min-height: 0; }
.copy { grid-area: copy; min-width: 0; text-align: center; }
.points { grid-area: points; display: none; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
html.touring .points { opacity: 1; pointer-events: auto; }
.dockwrap { grid-area: dock; justify-self: center; width: min(560px, 100%); pointer-events: auto; }
@media (min-width: 900px) {
  .xp-ui { padding: calc(var(--nav-h) + 6px) 40px 22px; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; grid-template-areas: "copy slot points" "dock dock dock"; column-gap: 56px; row-gap: 16px; }
  .copy { align-self: center; text-align: left; max-width: 430px; justify-self: end; }
  .points { display: block; align-self: center; justify-self: start; width: min(340px, 100%); }
}
@media (min-width: 1400px) { .xp-ui { column-gap: 84px; } }

/* hero: sits over the stage until the phone starts to build */
.xhero { position: absolute; z-index: 4; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--nav-h) 18px 150px; pointer-events: none; perspective: 900px; }
.xhero > * { pointer-events: auto; }
.xeye { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ink-faint); }
.display { margin: 16px 0 0; font-weight: 200; font-size: clamp(54px, 12.6vw, 136px); line-height: .96; letter-spacing: -.026em; color: var(--ink); text-shadow: var(--headline-shadow); transform-style: preserve-3d; }
.display .ln { display: block; white-space: nowrap; transform-style: preserve-3d; }
.display .ch { display: inline-block; transform-style: preserve-3d; will-change: transform, opacity; }
.display .nm { font-weight: 300; color: var(--ink-accent); }
.lede { max-width: 560px; margin: 22px auto 0; font-size: 17px; line-height: 1.5; color: var(--ink-muted); }
.ctarow { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.xgold { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px; background: linear-gradient(180deg, #ffdca0, #e6a63c); color: #2a1a00; font-weight: 600; font-size: 17px; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 14px 36px rgba(255,190,90,.45); transition: transform .25s var(--ease-out), box-shadow .25s ease; }
.xgold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 20px 44px rgba(255,190,90,.55); }
.xgold:active { transform: scale(.98); }
.xgold .apple { width: 20px; height: 20px; margin-top: -3px; }
.qr { display: none; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 18px; background: var(--chip); border: 1px solid var(--hair-2); text-align: left; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.qr img { width: 64px; height: 64px; border-radius: 10px; display: block; }
.qr span { font-size: 12.5px; line-height: 1.35; color: var(--ink-faint); max-width: 124px; }
@media (min-width: 900px) and (hover: hover) { .qr { display: inline-flex; } }
.fine { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }
.cue { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; color: var(--ink-faint); }
.cue i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--ink-faint); position: relative; opacity: .8; }
.cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink-accent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(10px); opacity: 0 } 100% { transform: translateY(0); opacity: 0 } }
@media (max-height: 760px) { .cue { display: none; } .lede { margin-top: 16px; font-size: 15.5px; } .ctarow { margin-top: 20px; } }
@media (max-width: 899px) { .xhero { padding-bottom: 120px; } .display { font-size: clamp(50px, 15vw, 96px); } .lede { font-size: 16px; } }

/* chapter copy: one stack, items cross-fade in 3D */
.stack { display: grid; perspective: 900px; }
.stack > .it { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; }
.stack > .it.on { visibility: visible; pointer-events: auto; }
.it .kick { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; color: var(--ink-faint); }
.it .kick svg { color: var(--ink-accent); }
.it h2 { margin: 12px 0 0; font-weight: 200; font-size: clamp(30px, 4.1vw, 56px); line-height: 1.02; letter-spacing: -.022em; text-shadow: var(--headline-shadow); text-wrap: balance; }
.it h2 .w { display: inline-block; transform-origin: 50% 100% -30px; }
.it p { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-muted); text-wrap: pretty; }
.it p.note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--ink-faint); }
@media (max-width: 899px) {
  .copy { min-height: 118px; }
  .it .kick { display: none; }
  .it h2 { margin-top: 0; font-size: clamp(27px, 7.6vw, 34px); }
  .it p { margin-top: 8px; font-size: 14.5px; line-height: 1.42; }
  .it p.note { display: none; }
}
@media (max-width: 899px) and (max-height: 720px) { .it p { display: none; } .copy { min-height: 70px; } }

/* points (desktop right column): the app's Pane */
.pane-s { position: relative; border-radius: 22px; background: linear-gradient(180deg, var(--pane-a), var(--pane-b)); border: 1px solid var(--pane-edge); box-shadow: 0 26px 52px -19px var(--pane-shadow); }
html[data-ink="light"] .pane-s { box-shadow: 0 22px 46px -21px var(--pane-shadow), inset 0 1px 0 rgba(255,255,255,.95); }
.pane-s::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border-top: 1px solid rgba(var(--rim), var(--edge, .75)); pointer-events: none; }
.plist { list-style: none; margin: 0; padding: 6px 20px; }
.plist li { display: flex; align-items: center; gap: 12px; min-height: 58px; font-size: 15px; line-height: 1.35; color: var(--ink); }
.plist li + li { border-top: 1px solid var(--hair-2); }
.plist .tk { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent-fill); color: var(--ink-accent); }
.sample { margin: 14px 0 0 4px; font-size: 12.5px; line-height: 1.45; color: var(--ink-faint); }

/* the breakout dock: the app's own five tabs, the page's main control */
.bdock { position: relative; height: 74px; border-radius: 37px; padding: 0 7px; display: flex; align-items: center; background: var(--dock-bg); border: 1px solid var(--dock-border); box-shadow: var(--dock-shadow); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); transition: background-color 1.2s ease; }
.btabs { position: relative; display: flex; width: 100%; height: 60px; }
.bind { position: absolute; left: 0; top: 0; width: 20%; height: 100%; border-radius: 30px; background: var(--dock-active-bg); transform: translateX(calc(var(--at, 0) * 100%)); opacity: var(--ind-o, 0); transition: transform .55s cubic-bezier(.3,1.3,.4,1), opacity .4s ease; }
.btab { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; padding: 0; border-radius: 30px; background: transparent; color: var(--dock-inactive); font-size: 11.5px; font-weight: 600; letter-spacing: .1px; cursor: pointer; transition: color .3s ease; }
.btab svg { width: 24px; height: 24px; transition: transform .35s var(--ease-out); }
.btab:hover { color: var(--ink); }
.btab:hover svg { transform: translateY(-2px); }
.btab[aria-current="true"] { color: var(--dock-active); }
.dockhint { margin-top: 9px; text-align: center; font-size: 12px; color: var(--ink-faint); transition: opacity .4s ease; }
@media (min-width: 900px) { .btab { font-size: 12.5px; } .bdock { height: 78px; border-radius: 39px; } .btabs { height: 62px; } .bind { border-radius: 31px; } }
@media (max-width: 899px) { .dockhint { display: none; } .bdock { height: 68px; border-radius: 34px; padding: 0 5px; } .btabs { height: 56px; } .btab { gap: 4px; font-size: 10.5px; } .btab svg { width: 22px; height: 22px; } }

/* the CSS-only phone, for reduced motion or when WebGL is unavailable */
.phone2d { position: absolute; z-index: 2; left: 0; top: 0; transform-origin: 0 0; border-radius: 66px; padding: 12px; background: linear-gradient(160deg, #3a3f52, #0b0e1a 40%, #151a2c); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18), inset 0 0 0 4px #05060a, 0 60px 120px -40px rgba(0,0,0,.85), 0 0 90px -20px rgba(255,190,110,.25); }
html[data-ink="light"] .phone2d { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4), inset 0 0 0 4px #05060a, 0 50px 100px -40px rgba(20,30,60,.55); }
.phone2d .app { position: relative; }

/* explore: the phone, full size, to tap around freely */
.explore-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; margin-top: 14px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-fill); color: var(--ink-accent); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.explore-btn:hover { background: var(--accent-fill-strong); }
@media (max-width: 899px) { .explore-btn { display: none; } }
.xbar { position: fixed; z-index: 60; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); transform: translate(-50%, 140%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--toast); border: 1px solid var(--accent-line); box-shadow: var(--dock-shadow); font-size: 13.5px; color: var(--ink-muted); transition: transform .5s var(--ease-out); }
.xbar.on { transform: translate(-50%, 0); }
.xbar button { height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: linear-gradient(180deg,#ffdca0,#e6a63c); color: #2a1a00; font-size: 14px; font-weight: 600; cursor: pointer; }
html.exploring .xp-ui .copy, html.exploring .xp-ui .points, html.exploring .dockwrap, html.exploring .nav { opacity: 0; pointer-events: none; }
.xp-ui .copy, .xp-ui .points, .nav { transition: opacity .4s ease; }

/* ---------- sections after the tour ---------- */
.after { position: relative; z-index: 1; padding: 40px 0 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 22px; }
.sec { padding-block: 72px; }
.sec h2 { margin: 0; font-weight: 200; font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.024em; text-shadow: var(--headline-shadow); text-wrap: balance; }
.sec .sub { margin: 14px 0 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: var(--ink-muted); }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; } }
.steps li { padding: 24px 22px 22px; counter-increment: s; }
.steps li::after { content: counter(s); position: absolute; right: 20px; top: 16px; font-size: 44px; line-height: 1; font-weight: 200; color: var(--ink-accent); opacity: .5; }
.steps h3, .vals h3 { margin: 0; font-size: 19px; font-weight: 300; letter-spacing: -.2px; padding-right: 40px; }
.steps p, .vals p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-muted); }
.vals { margin: 34px 0 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .vals { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; } }
.vals > div { padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.vals .vi { flex: none; width: 46px; height: 46px; border-radius: 16px; background: var(--accent-fill); border: 1px solid var(--accent-line); display: flex; align-items: center; justify-content: center; color: var(--ink-accent); }
.final { text-align: center; padding-block: 96px 80px; }
.final h2 { margin: 0; font-weight: 200; font-size: clamp(46px, 8vw, 104px); line-height: .98; letter-spacing: -.026em; text-shadow: var(--headline-shadow); text-wrap: balance; }
.final .ctarow { margin-top: 32px; }
.sitefoot { position: relative; z-index: 1; padding: 34px 22px calc(env(safe-area-inset-bottom, 0px) + 40px); text-align: center; font-size: 13px; line-height: 1.6; color: var(--ink-faint); border-top: 1px solid var(--hair-2); }
.sitefoot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0; }
.sitefoot a { color: var(--ink-muted); text-decoration: none; }
.sitefoot a:hover { color: var(--ink); text-decoration: underline; }
.sitefoot .disc { max-width: 620px; margin: 10px auto 0; font-size: 12px; }

/* reveal for the static sections (one quiet move, once) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .sky > .o, .sky > .band, .cue i::after { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}
@media (min-width: 900px) { .it p.note.keep { display: none; } }
@media (max-width: 899px) { .it p.note.keep { display: block; margin-top: 6px; font-size: 11.5px; } }
