@font-face { font-family: "Geist"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/geist-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/geist-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/geist-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/geist-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/geist-mono-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 300; font-style: italic; font-display: swap; src: url(/fonts/newsreader-latin-300-italic.woff2) format("woff2"); }
/* Weekglass v4. Layout: hero = the real product, wide (≤1360) and straightening on scroll;
   a pinned 4-feature showcase with one product frame; one continuous sky into night; the
   works-with reel; a quiet two-step waitlist. Palette = the dashboard's own. */
:root {
  --mist: #e9eef4; --ink: #0f1b2d; --slate: #5a6a7e; --hair: rgba(15,27,45,.08);
  --night: #05080f; --night-ink: #e9eef6; --night-slate: #8b98aa;
  --plume: #5b8def; --lox: #42bfd3; --ember: #ee8f45; --good: #2f9e7a;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace; --serif: "Newsreader", Georgia, serif;
  --wide: 1360px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--plume); outline-offset: 3px; border-radius: 8px; }
em { font: italic 300 1.04em/1 var(--serif); letter-spacing: -.02em; }
.gutter, .hero, .features, .night { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ── sky ── */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #eef2f8; }
.sky i { position: absolute; border-radius: 50%; filter: blur(100px); }
.sky .a { width: 60vw; height: 60vw; left: -16vw; top: -26vw; background: rgba(91,141,239,.3); }
.sky .b { width: 46vw; height: 46vw; right: -12vw; top: 16vh; background: rgba(66,191,211,.22); }
.sky .c { width: 40vw; height: 40vw; left: 32vw; bottom: -22vw; background: rgba(238,143,69,.13); }
.sky .n { width: 56vw; height: 56vw; left: -18vw; top: 30vh; background: rgba(91,141,239,.2); opacity: 0; }

/* ── floating bar ── */
.bar { position: fixed; z-index: 20; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 22px;
  padding: 7px 7px 7px 16px; border-radius: 999px; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 10px 30px -14px rgba(15,27,45,.3); transition: background .4s, color .4s, border-color .4s; white-space: nowrap; }
.bar.dark { background: rgba(14,19,29,.82); border-color: rgba(255,255,255,.1); color: var(--night-ink); }
.bar nav { display: flex; gap: 18px; font-size: 14px; opacity: .75; } .bar nav a { text-decoration: none; }
.mark { display: inline-flex; align-items: center; gap: 9px; font: 600 15.5px/1 var(--sans); letter-spacing: -.02em; text-decoration: none; }
.logo { width: 20px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--plume), var(--lox)); position: relative; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.logo::before { content: ""; position: absolute; inset: 4px 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 1.4px, transparent 1.4px 3.2px); border-radius: 1px; }
.logo::after { content: ""; position: absolute; right: 3px; top: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--ember); }
.logo.sm { width: 15px; height: 12px; border-radius: 4px; } .logo.sm::before { inset: 3px; } .logo.sm::after { width: 3px; height: 3px; right: 2px; top: 2px; }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 999px; font: 600 14px/1 var(--sans); text-decoration: none; background: var(--ink); color: #fff; border: 0; cursor: pointer; transition: transform .2s; }
.pill:hover { transform: translateY(-1px); }
.bar.dark .pill, .pill.light { background: var(--night-ink); color: var(--night); }

/* ── hero ── */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + 136px); display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero h1 { font-size: clamp(46px, 7.6vw, 112px); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--slate); letter-spacing: -.01em; }
.hero-cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.works { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; color: var(--slate); }
.works .ti { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.75); border: 1px solid #fff; }
.works .ti svg { width: 14px; height: 14px; fill: var(--ink); } .works .ti b { font: 600 8px/1 var(--sans); }

.stage { --p: 0; position: relative; width: min(var(--wide), 100%); margin-top: 48px; perspective: 2200px; }
.shot { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 22deg)) scale(calc(.9 + var(--p) * .1)) translateY(calc((1 - var(--p)) * -10px));
  border-radius: 26px; padding: 10px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 1px 0 #fff inset, 0 80px 120px -60px rgba(25,45,80,.55), 0 30px 60px -40px rgba(25,45,80,.35); will-change: transform; }
.prompt { position: absolute; z-index: 3; right: 3%; top: -30px; display: grid; gap: 8px; justify-items: end; text-align: left; pointer-events: none; transform: translateY(calc((1 - var(--p)) * 30px)); }
.prompt span { font-size: 15px; padding: 11px 15px; border-radius: 16px; backdrop-filter: blur(16px); box-shadow: 0 20px 40px -20px rgba(15,27,45,.45); }
.p-q { background: rgba(15,27,45,.9); color: #fff; border-radius: 16px 16px 4px 16px !important; }
.p-a { display: inline-flex; gap: 9px; align-items: center; background: rgba(255,255,255,.85); border: 1px solid #fff; font-size: 13.5px !important; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.prompt.done .p-a { opacity: 1; transform: none; }

/* ── the app (shared by hero and frames) ── */
.app { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 640px; border-radius: 18px; overflow: hidden; text-align: left; font-size: 13px; color: var(--ink);
  background: linear-gradient(120deg, #e7eef8 0%, #eef3f8 45%, #e3f1f4 100%); position: relative; }
.app::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 15% 0%, rgba(91,141,239,.22), transparent 70%), radial-gradient(35% 45% at 90% 30%, rgba(66,191,211,.18), transparent 70%), radial-gradient(30% 40% at 50% 100%, rgba(238,143,69,.1), transparent 70%); pointer-events: none; }
.sb { position: relative; padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,.42); border-right: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(10px); }
.sb-brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; padding: 2px 6px 14px; }
.sb-brand .dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.sb-i { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 10px; color: #33445a; }
.sb-i svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.sb-i i { margin-left: auto; font: 500 10.5px/1 var(--mono); font-style: normal; color: var(--slate); }
.sb-i i.need { background: var(--ember); color: #fff; border-radius: 999px; padding: 3px 7px; font-family: var(--sans); font-weight: 600; }
.sb-i i.soft { font-family: var(--mono); }
.sb-i.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(15,27,45,.08); }
.sb-sub { display: flex; align-items: center; gap: 9px; padding: 5px 8px 5px 32px; color: #4a5b70; font-size: 12.5px; }
.sb-sub b { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.sb-sub i { margin-left: auto; font: 500 10.5px/1 var(--mono); font-style: normal; color: var(--slate); }
.sb-user { margin-top: auto; display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; padding: 10px 6px 2px; font-weight: 600; font-size: 12.5px; border-top: 1px solid var(--hair); }
.sb-user .av { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f3c9a8, var(--ember)); color: #fff; font-size: 12px; }
.sb-user small { font: 400 10.5px/1.2 var(--mono); color: var(--slate); }
.pg { position: relative; padding: 22px 22px 18px; min-width: 0; }

/* week page */
.wk-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 0 2px 16px; }
.wk-top h4 { font-size: 30px; letter-spacing: -.04em; font-weight: 600; line-height: 1; }
.wk-top span { font-size: 12.5px; color: var(--slate); }
.nav-pill { font: 400 12.5px/1 var(--sans); padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid #fff; color: var(--slate); }
.nav-pill b { color: var(--ink); font-weight: 600; margin: 0 6px; }
.wk-body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 14px; }
.cal { border-radius: 16px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 1px 2px rgba(15,27,45,.04); overflow: hidden; min-width: 0; }
.cal-head { display: grid; grid-template-columns: 46px repeat(var(--days, 7), minmax(0, 1fr)); border-bottom: 1px solid var(--hair); }
.cal-head { grid-template-columns: 46px repeat(7, minmax(0, 1fr)); }
.embed .cal-head { grid-template-columns: 40px repeat(5, minmax(0, 1fr)); }
.dh { padding: 10px 8px 9px; font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--slate); display: flex; align-items: baseline; gap: 6px; border-left: 1px solid var(--hair); }
.dh b { font: 600 19px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); text-transform: none; }
.dh.today b { background: var(--ember); color: #fff; border-radius: 999px; padding: 3px 7px; font-size: 15px; }
.cal-grid { display: grid; grid-template-columns: 46px repeat(var(--days), minmax(0, 1fr)); height: 470px; position: relative;
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent calc(100% / 11 - 1px), var(--hair) calc(100% / 11 - 1px), var(--hair) calc(100% / 11)); }
.embed .cal-grid { grid-template-columns: 40px repeat(var(--days), minmax(0, 1fr)); height: 300px; }
.cal-grid .gut { display: flex; flex-direction: column; justify-content: space-between; padding: 0 6px 0 0; }
.cal-grid .gut span { font: 400 9.5px/1 var(--mono); color: var(--slate); text-align: right; translate: 0 -4px; }
.cal-grid .gut span:first-child { visibility: hidden; }
.dcol { position: relative; border-left: 1px solid var(--hair); }
.dcol.today { background: rgba(238,143,69,.035); }
.now { position: absolute; left: -4px; right: 0; height: 2px; background: var(--ember); z-index: 2; }
.now::before { content: ""; position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 8px; padding: 5px 7px; overflow: hidden; display: flex; flex-direction: column; gap: 2px;
  background: rgba(91,141,239,.14); border: 1px solid rgba(91,141,239,.32); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1), background .5s, border-color .5s; }
.ev b { font-size: 11.5px; font-weight: 500; line-height: 1.2; }
.ev small { font: 400 9.5px/1 var(--mono); color: var(--slate); }
.ev.h { background: rgba(66,191,211,.15); border-color: rgba(66,191,211,.36); }
.ev.c { background: rgba(255,255,255,.7); border: 1px dashed rgba(15,27,45,.22); }
.ev.e { background: rgba(238,143,69,.15); border-color: rgba(238,143,69,.45); }
.ev.pending { opacity: 0; transform: translateY(6px) scale(.97); }
.ev.ghost { background: rgba(255,255,255,.35); border: 1.5px dashed rgba(91,141,239,.75); }
.ev.ghost b { color: #3d6fd6; } .ev.h.ghost { border-color: rgba(42,160,180,.75); } .ev.h.ghost b { color: #1f8a99; }
.rail { border-radius: 16px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.95); padding: 14px; display: grid; gap: 12px; align-content: start; }
.rail > b { font-size: 13px; }
.hb { display: grid; gap: 6px; }
.hb span { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; } .hb small { font: 400 10px/1 var(--mono); color: var(--slate); }
.hb-dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; } .hb-dots i { height: 9px; border-radius: 3px; background: rgba(15,27,45,.07); } .hb-dots i.on { background: var(--good); opacity: .85; }
.rail-note { border-top: 1px solid var(--hair); padding-top: 10px; display: grid; gap: 4px; font-size: 12px; } .rail-note span { font: 400 10.5px/1.3 var(--mono); color: var(--slate); }

/* proposal bar */
.proposal { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px;
  background: rgba(15,27,45,.92); color: #fff; box-shadow: 0 24px 50px -20px rgba(15,27,45,.7); white-space: nowrap; }
.proposal div { display: grid; gap: 2px; margin-right: 10px; } .proposal b { font-size: 13.5px; } .proposal small { font: 400 11px/1 var(--mono); color: #aab6c8; }
.btn { font: 600 12.5px/1 var(--sans); padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid rgba(15,27,45,.12); }
.btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.ghost-btn { background: transparent; color: #cbd5e3; border-color: rgba(255,255,255,.2); }
.acc { background: #fff; color: var(--ink); animation: accpulse 3s ease-in-out infinite; }
@keyframes accpulse { 50% { box-shadow: 0 0 0 6px rgba(91,141,239,.35); } }

/* rituals + decisions */
.rit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { border-radius: 16px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.95); padding: 16px; display: grid; gap: 10px; align-content: start; }
.card > b { font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.card > b i { font: 600 11px/1 var(--sans); font-style: normal; background: var(--ember); color: #fff; border-radius: 999px; padding: 3px 7px; }
.todo { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.todo i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(15,27,45,.25); flex: none; }
.todo.done { color: var(--slate); text-decoration: line-through; text-decoration-color: rgba(15,27,45,.3); } .todo.done i { background: var(--good); border-color: var(--good); box-shadow: inset 0 0 0 3px #fff; }
.needs { background: rgba(255,247,240,.8); border-color: #fff; }
.ask { display: grid; gap: 2px; padding: 9px 11px; border-radius: 11px; background: #fff; border: 1px solid rgba(238,143,69,.3); font-size: 12.5px; } .ask small, .fine-s { font: 400 10.5px/1.3 var(--mono); color: var(--slate); }
.lane { display: flex; justify-content: space-between; font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--hair); } .lane i { font: 500 11px/1 var(--mono); font-style: normal; }
.ring { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--plume) calc(var(--p) * 360deg), rgba(15,27,45,.08) 0); }
.ring span { width: 66px; height: 66px; border-radius: 50%; background: #f4f7fb; display: grid; place-items: center; font: 600 16px/1 var(--sans); }
.dec-list { display: grid; gap: 12px; max-width: 760px; }
.dec { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.7); border: 1px solid #fff; box-shadow: 0 1px 2px rgba(15,27,45,.05); }
.dec > div { display: grid; gap: 3px; margin-right: auto; } .dec b { font-size: 14.5px; font-weight: 600; } .dec small { font: 400 11px/1 var(--mono); color: var(--slate); }
.dec:not(.answered) { border-left: 3px solid var(--ember); }
.dec.answered { opacity: .6; } .done-chip { font: 500 11px/1 var(--mono); color: var(--good); padding: 7px 10px; border-radius: 999px; background: rgba(47,158,122,.12); }

/* chat frame (neutral assistant UI, not any vendor's) */
.chat { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 640px; border-radius: 18px; overflow: hidden; background: #15171c; color: #e8eaee; text-align: left; font-size: 13.5px; }
.chat-side { background: #101216; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid rgba(255,255,255,.05); font-size: 12.5px; color: #9aa1ad; }
.chat-side b { color: #e8eaee; padding: 0 8px 10px; font-size: 13px; } .chat-side span { padding: 7px 8px; border-radius: 9px; } .chat-side .on { background: #22252c; color: #fff; }
.chat-main { padding: 24px clamp(16px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.msg.me { align-self: flex-end; background: #2a2e36; padding: 10px 14px; border-radius: 18px 18px 4px 18px; max-width: 70%; }
.msg.ai { color: #d5d9e0; max-width: 80%; line-height: 1.5; }
.msg.later { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.pane.moved .msg.later { opacity: 1; transform: none; }
.embed { border-radius: 16px; overflow: hidden; background: linear-gradient(120deg, #e7eef8, #e3f1f4); color: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.embed-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.8); }
.embed-bar i { margin-left: auto; font: 500 10.5px/1 var(--mono); font-style: normal; color: var(--good); }
.embed-week { padding: 10px; }
.embed .wk-top { display: none; } .embed .wk-body { grid-template-columns: 1fr; }
.embed .ev[data-k="7"] { transition: transform .9s cubic-bezier(.5,0,.2,1), box-shadow .3s; z-index: 2; }
.pane.moved .embed .ev[data-k="7"] { transform: translateX(calc(100% + 9px)); box-shadow: 0 8px 18px -8px rgba(15,27,45,.45); }
.composer { margin-top: auto; padding: 13px 16px; border-radius: 16px; background: #22252c; color: #7d8592; font-size: 13px; }

/* ── features (pinned) ── */
.features { height: 500vh; position: relative; margin-top: 140px; }
.ft-pin { position: sticky; top: 0; height: 100vh; max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: 70px; }
.ft-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ft { display: grid; gap: 6px; padding: 16px 18px; border-radius: 18px; cursor: pointer; transition: background .3s, box-shadow .3s; border: 1px solid transparent; }
.ft b { font-size: 21px; letter-spacing: -.03em; font-weight: 600; color: rgba(15,27,45,.38); transition: color .3s; line-height: 1.15; }
.ft span { font-size: 14.5px; color: var(--slate); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s; }
.ft.on { background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.9); box-shadow: 0 20px 40px -30px rgba(15,27,45,.35); }
.ft.on b { color: var(--ink); } .ft.on span { max-height: 80px; opacity: 1; }
.ft-frame { position: relative; height: min(700px, calc(100vh - 140px)); }
.pane { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .55s ease, transform .7s cubic-bezier(.2,.8,.2,1); pointer-events: none;
  border-radius: 26px; padding: 10px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 60px 100px -60px rgba(25,45,80,.6); overflow: hidden; }
.pane.on { opacity: 1; transform: none; }
.pane > .app, .pane > .chat { height: 100%; min-height: 0; }

/* ── the turn to night ── */
.gap { height: 80vh; }
.night { color: var(--night-ink); }
.reel { position: relative; height: 300vh; }
.pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.reel .stage { width: 100%; height: 100%; margin: 0; perspective: none; display: grid; place-items: center; }
.listwrap { position: relative; z-index: 3; display: grid; grid-template-columns: auto auto; align-items: center; gap: 18px; }
.lead, .list li { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.035em; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.list { position: relative; height: calc(clamp(28px, 4vw, 48px) * 1.25 * 7); overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.list ol { list-style: none; margin: 0; padding: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.list li { padding: 0 18px; opacity: .3; transition: opacity .3s; } .list li.on { opacity: 1; }
.list li.on span { background: var(--night-ink); color: var(--night); border-radius: 999px; padding: 0 18px; margin: 0 -18px; }
.setup { position: absolute; z-index: 3; left: 50%; bottom: 7%; translate: -50% 0; font-size: 16px; color: var(--night-slate); white-space: nowrap; }
.setup b { color: var(--night-ink); font-weight: 500; }
.tile { position: absolute; z-index: 2; width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; will-change: transform;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 30px 60px -20px rgba(0,0,0,.9); transition: opacity .4s, box-shadow .4s, scale .4s; opacity: .3; }
.tile svg { width: 42px; height: 42px; fill: var(--night-ink); }
.tile .mono-mark { font: 600 17px/1 var(--sans); letter-spacing: -.03em; } .tile .mono-mark.sm { font-size: 14px; }
.tile.on { opacity: 1; scale: 1.12; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 1px rgba(91,141,239,.5), 0 0 60px -6px rgba(91,141,239,.6), 0 30px 60px -20px rgba(0,0,0,.9); }

.vows { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 36px; padding-block: 30px 120px; font-size: 15px; }
.vows span { display: inline-flex; align-items: center; gap: 10px; }
.vows svg { width: 18px; height: 18px; stroke: var(--lox); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shut { display: grid; justify-items: center; text-align: center; gap: 20px; padding-bottom: 120px; }
.shut h2 { font-size: clamp(40px, 6.4vw, 88px); line-height: .96; letter-spacing: -.05em; font-weight: 600; }
.shut > p { color: var(--night-slate); font-size: 18px; }
.form { width: min(540px, 100%); display: grid; gap: 16px; padding: 22px; border-radius: 24px; text-align: left; margin-top: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 90px -40px rgba(91,141,239,.45); }
.step1, .step2 { display: grid; gap: 14px; } .step2 { display: none; }
.form.s2 .step1 { display: none; } .form.s2 .step2 { display: grid; } .form.s3 > :not(.status) { display: none; }
.form.s3 .status { font: italic 300 28px/1.25 var(--serif); text-align: center; color: var(--night-ink); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; } .row2 { display: flex; gap: 14px; align-items: center; }
.form input[type=email], .form textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--night-ink); background: rgba(5,8,15,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 13px 14px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #66748a; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--plume); box-shadow: 0 0 0 3px rgba(91,141,239,.25); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); transition: background .15s, color .15s; }
.chips input:checked + span { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--plume); outline-offset: 2px; }
.lbl { font-size: 13.5px; font-weight: 500; } .ok-line { font-size: 14px; color: #7fd1b0; }
.skipbtn { background: none; border: 0; color: var(--night-slate); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.honest { font-size: 12.5px; color: var(--night-slate); text-align: center; }
.status { min-height: 1.2em; } .status.err { color: var(--ember); }
.foot { max-width: var(--wide); margin: 0 auto; display: flex; justify-content: space-between; gap: 12px; padding-block: 26px 40px; border-top: 1px solid rgba(233,238,246,.1); font-size: 13.5px; color: var(--night-slate); }
.foot nav { display: flex; gap: 18px; } .foot a { text-decoration: none; }

/* ── responsive ── */
@media (max-width: 1100px) { .wk-body { grid-template-columns: 1fr; } .rail { display: none; } }
@media (max-width: 900px) {
  .bar nav { display: none; }
  .features { height: auto; margin-top: 80px; }
  .ft-pin { position: static; height: auto; grid-template-columns: 1fr; padding-top: 0; gap: 0; }
  .ft-list { display: none; }
  .ft-frame { height: auto; display: grid; gap: 56px; }
  .pane { position: relative; opacity: 1; transform: none; height: 560px; }
  .pane::before { content: attr(data-title); display: block; font: 600 22px/1.2 var(--sans); letter-spacing: -.03em; color: var(--ink); padding: 8px 8px 14px; }
  .pane > .app, .pane > .chat { height: calc(100% - 50px); }
  .app { grid-template-columns: 1fr; } .sb { display: none; }
  .chat { grid-template-columns: 1fr; } .chat-side { display: none; }
  .cal-head .dh:nth-child(n+5), .dcol:nth-child(n+5) { display: none; }
  .cal-head, .cal-grid { grid-template-columns: 40px repeat(3, minmax(0, 1fr)) !important; }
  .rit-grid { grid-template-columns: 1fr; }
  .proposal { flex-wrap: wrap; white-space: normal; width: calc(100% - 32px); }
  .prompt { position: static; justify-items: center; margin-bottom: 14px; }
  .tile { width: 64px; height: 64px; border-radius: 18px; } .tile svg { width: 28px; height: 28px; }
  .listwrap { grid-template-columns: 1fr; justify-items: center; gap: 2px; }
  .setup { white-space: normal; text-align: center; width: 90%; }
  .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .shot { transform: none; } .acc { animation: none; } .ev, .pane, .tile, .list ol { transition: none !important; } }

/* ═════ v4.1: agents feeding the board, life state, body ═════ */
.agents { display: flex; justify-content: center; gap: clamp(28px, 6vw, 92px); position: relative; z-index: 2; }
.ag { display: grid; justify-items: center; gap: 7px; font-size: 12px; color: var(--slate); transition: color .3s; }
.ag-t { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.75); border: 1px solid #fff;
  box-shadow: 0 10px 24px -14px rgba(15,27,45,.45); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.ag-t svg { width: 24px; height: 24px; fill: var(--ink); } .ag-t b { font: 600 12px/1 var(--sans); letter-spacing: -.02em; }
.ag.on { color: var(--ink); } .ag.on .ag-t { transform: translateY(-3px); box-shadow: 0 0 0 4px rgba(91,141,239,.18), 0 14px 30px -14px rgba(91,141,239,.7); }
.links { position: absolute; left: 0; top: 0; width: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.links path { fill: none; stroke: rgba(15,27,45,.24); stroke-width: 1.4; stroke-dasharray: 2 5; stroke-linecap: round; transition: stroke .3s; }
.links path.on { stroke: rgba(91,141,239,.8); stroke-dasharray: none; stroke-width: 1.8; }
.links .hub { fill: #fff; stroke: var(--plume); stroke-width: 2; }
.links .pulse { fill: var(--plume); filter: drop-shadow(0 0 6px rgba(91,141,239,.9)); }
.try { margin: 18px 0 0; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.arrive { position: absolute; z-index: 5; left: 50%; translate: -50% 0; top: calc(100% - 36px); display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; white-space: nowrap;
  padding: 10px 14px; border-radius: 999px; background: rgba(15,27,45,.9); color: #fff; box-shadow: 0 20px 40px -18px rgba(15,27,45,.7); opacity: 0; pointer-events: none; }
.arrive b { font-weight: 600; }
.arrive.show { animation: arrive 2.6s ease forwards; }
@keyframes arrive { 0% { opacity: 0; transform: translateY(8px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
#heroShot .sb-i[data-page="state"], #heroShot .sb-i[data-page="week"], #heroShot .sb-i[data-page="rit"], #heroShot .sb-i[data-page="body"] { cursor: pointer; }
#heroShot .sb-i[data-page]:hover:not(.on) { background: rgba(255,255,255,.55); }
#heroShot .app { min-height: 660px; }

.ls-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.span2 { grid-column: span 2; }
.card > b small { margin-left: auto; font-weight: 400; }
.tline { position: relative; height: 46px; border-radius: 10px; background: rgba(15,27,45,.035); margin-top: 4px; }
.ts { position: absolute; top: 6px; bottom: 6px; border-radius: 7px; padding: 5px 7px; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: rgba(91,141,239,.16); border: 1px solid rgba(91,141,239,.32); }
.ts.h { background: rgba(66,191,211,.16); border-color: rgba(66,191,211,.36); }
.tnow { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ember); border-radius: 2px; }
.tticks { position: relative; height: 14px; } .tticks span { position: absolute; translate: -50% 0; font: 400 9.5px/1 var(--mono); color: var(--slate); }
.hab { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--slate); }
.hab i { width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid rgba(15,27,45,.2); }
.hab.on { color: var(--ink); } .hab.on i { background: var(--good); border-color: var(--good); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; } .bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--plume), rgba(91,141,239,.35)); }
.proj { display: grid; grid-template-columns: 120px minmax(0, 1fr) 70px; align-items: center; gap: 10px; font-size: 12.5px; }
.proj small { font: 400 10.5px/1 var(--mono); color: var(--slate); text-align: right; }
.pbar { height: 7px; border-radius: 7px; background: rgba(15,27,45,.07); overflow: hidden; } .pbar i { display: block; height: 100%; border-radius: 7px; }
.fi { display: flex; align-items: baseline; gap: 7px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid var(--hair); transition: background .6s; }
.fi small { margin-left: auto; font: 400 10px/1 var(--mono); color: var(--slate); white-space: nowrap; }
.fi .who { font-weight: 600; white-space: nowrap; }
.fi.new { background: linear-gradient(90deg, rgba(91,141,239,.16), transparent); animation: rowin .5s ease; }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } }
.act .feed { display: grid; }

.sleep { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.sn { flex: 1; display: grid; justify-items: center; gap: 5px; height: 100%; grid-template-rows: 1fr auto; }
.sn small { font: 400 10px/1 var(--mono); color: var(--slate); }
.sb3 { width: 100%; align-self: end; border-radius: 7px; background: rgba(91,141,239,.22); display: flex; flex-direction: column-reverse; overflow: hidden; }
.sb3 i { display: block; } .deep { background: #3d5fb8; } .rem { background: var(--lox); }
.legend { display: flex; gap: 14px; align-items: center; font-size: 11.5px; color: var(--slate); flex-wrap: wrap; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: rgba(91,141,239,.3); margin-right: 5px; }
.legend i.deep { background: #3d5fb8; } .legend i.rem { background: var(--lox); }
.tr { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; font-size: 12.5px; color: var(--slate); }
.tr i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(15,27,45,.2); } .tr.on { color: var(--ink); } .tr.on i { background: var(--lox); border-color: var(--lox); }
.tr small { font: 400 10.5px/1 var(--mono); }
.pack { display: grid; gap: 2px; font-size: 12.5px; } .pack span { font-weight: 600; } .pack em { font: 400 12px/1.35 var(--sans); color: var(--slate); }
.ask.low { border-color: rgba(238,143,69,.45); background: #fff8f2; }

@media (max-width: 900px) {
  .agents { gap: 14px; } .ag small { display: none; } .ag-t { width: 42px; height: 42px; border-radius: 13px; } .ag-t svg { width: 19px; height: 19px; }
  .ls-grid { grid-template-columns: 1fr; } .span2 { grid-column: auto; }
  .arrive { top: auto; bottom: -46px; font-size: 12px; }
}
.stage .shot { margin-top: 84px; }

/* ═════ v4.2: a calmer, more precise close ═════ */
.promises { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-block: 72px 140px;
  border-top: 1px solid rgba(233,238,246,.08); }
.pr { display: grid; gap: 10px; align-content: start; padding: 28px 26px; border-left: 1px solid rgba(233,238,246,.08); }
.pr:first-child { border-left: 0; }
.pr-i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 8px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.pr-i svg { width: 19px; height: 19px; stroke: var(--lox); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pr b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--night-ink); }
.pr small { font-size: 14.5px; line-height: 1.5; color: var(--night-slate); }

.shut { position: relative; gap: 18px; padding-bottom: 150px; }
.shut::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 10%; translate: -50% 0; width: min(900px, 90vw); height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(91,141,239,.22), rgba(66,191,211,.08) 55%, transparent); filter: blur(30px); pointer-events: none; }
.shut > p { margin-bottom: 18px; }
.form { width: min(600px, 100%); padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; gap: 18px; margin-top: 0; text-align: center; }
.capsule { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 22px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -30px rgba(91,141,239,.55); transition: border-color .2s, box-shadow .2s; }
.capsule:focus-within { border-color: rgba(91,141,239,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 4px rgba(91,141,239,.18), 0 30px 60px -30px rgba(91,141,239,.6); }
.capsule input[type=email] { flex: 1; min-width: 0; background: none !important; border: 0 !important; box-shadow: none !important; padding: 14px 0 !important; font-size: 17px !important; color: var(--night-ink); outline: 0; }
.capsule .pill { padding: 15px 22px; font-size: 15px; flex: none; }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); justify-self: center; }
.seg-l { font-size: 13px; color: var(--night-slate); padding: 0 8px 0 10px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg label span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #c6cfdc; transition: background .2s, color .2s; }
.seg label:hover span { color: var(--night-ink); }
.seg input:checked + span { background: var(--night-ink); color: var(--night); }
.seg input:focus-visible + span { outline: 2px solid var(--plume); outline-offset: 2px; }
.step1, .step2 { gap: 16px; justify-items: stretch; }
.step2 { justify-items: center; text-align: center; padding: 22px; border-radius: 26px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); animation: rowin .5s ease; }
.step2 textarea { text-align: left; }
.form.s3 .status { margin-top: 10px; }
.status:empty { display: none; }
.honest { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: var(--night-slate); }
.honest li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.honest svg { width: 14px; height: 14px; stroke: #7fd1b0; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .promises { grid-template-columns: 1fr 1fr; padding-block: 48px 100px; }
  .pr { border-left: 0; border-top: 1px solid rgba(233,238,246,.08); padding: 22px 8px; }
  .capsule { flex-direction: column; align-items: stretch; border-radius: 26px; padding: 8px; }
  .capsule input[type=email] { padding: 12px 14px !important; text-align: center; }
  .seg-l { width: 100%; text-align: center; padding: 4px 0; }
  .seg { border-radius: 22px; }
}
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }


/* ── legal pages (privacy, imprint): daylight, same sky ── */
.legal-page { background: #eef2f8; }
.legal-page .bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 14px); translate: none; left: auto; margin: 14px auto 0; width: max-content; max-width: calc(100% - 32px); }
.legal { max-width: 720px; margin: 0 auto; padding: 48px max(20px, env(safe-area-inset-left, 0px)) 100px; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -.045em; font-weight: 600; line-height: 1; margin: 20px 0 28px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; font-weight: 600; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--slate); }
.legal p + p { margin-top: 10px; }
.legal .lform { display: grid; gap: 12px; margin-top: 16px; padding: 20px; border-radius: 20px; background: rgba(255,255,255,.65); border: 1px solid #fff; box-shadow: 0 30px 70px -40px rgba(25,45,80,.4); }
.legal .lform input { width: 100%; font: 400 16px/1.4 var(--sans); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(15,27,45,.14); background: #fff; color: var(--ink); }
.legal .lform .pill { justify-self: start; }
.legal .status.ok { color: var(--good); } .legal .status.err { color: #c9772f; }
.legal-page .foot { color: var(--slate); border-top-color: var(--hair); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }

/* terms: the draft notice, and fields the operator still has to supply */
.legal .draft { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(238,143,69,.14); color: #a85a1c; font-size: 14px; }
.legal mark.ph { background: rgba(238,143,69,.2); color: #8a4510; border-radius: 4px; padding: 0 4px; font-style: normal; }
