/* Right Hand, presentation page. Geist for the page, Inter inside the phone
   (the real product face). One teal. Warm means "due" and nothing else. */

:root {
  --bg: #171b22;
  --bg-2: #1c2129;
  --bg-3: #232931;
  --bg-4: #2b323c;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f3;
  --text-2: #a7aeb8;
  --text-3: #7f8793;
  --teal: #5b9a96;
  --teal-2: #7bb8b4;
  --teal-dim: rgba(91, 154, 150, 0.16);
  --warm: #d9a45e;
  --held: #7a8290;
  --r-s: 6px; --r-m: 10px; --r-l: 16px; --r-xl: 22px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --inter: "Inter", ui-sans-serif, system-ui, sans-serif;
  --col: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: -0.01em; }
.tnum { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: var(--r-s); }
::selection { background: rgba(91, 154, 150, 0.35); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); vertical-align: middle; }
.wdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); flex: none; }
.cdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--teal)); flex: none; }

/* ---------- background: a faint grid that fades out, and one teal wash ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 700px at 78% 6%, rgba(91, 154, 150, 0.20), transparent 65%),
    radial-gradient(800px 600px at 8% 55%, rgba(120, 140, 170, 0.08), transparent 70%),
    radial-gradient(700px 500px at 60% 100%, rgba(91, 154, 150, 0.08), transparent 70%),
    var(--bg);
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .35) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .35) 100%);
}

/* ---------- top ---------- */
.top {
  max-width: var(--col); margin: 0 auto; padding: 22px 24px 0;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; margin-right: auto; }
.topnav { display: flex; gap: 22px; font-size: 14px; color: var(--text-2); }
.topnav a { padding: 6px 0; transition: color 150ms var(--ease); }
.topnav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--r-m); border: 1px solid transparent;
  font-size: 14px; font-weight: 500; white-space: nowrap; user-select: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-p { background: var(--text); color: #0f1114; }
.btn-p:hover { background: #fff; }
.btn-g { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-g:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); }
.btn-s { height: 34px; padding: 0 12px; font-size: 13px; border-color: var(--line-2); color: var(--text-2); }
.btn-s:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--col); margin: 0 auto; padding: 72px 24px 96px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.hero-copy { max-width: 560px; }
h1 { font-size: clamp(38px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 500;
  background: linear-gradient(180deg, #fff 0%, #cfd4db 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .rise { display: block; }
.lede { margin-top: 26px; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 50ch; }
.cta { margin-top: 30px; }
.cta > span { display: flex; gap: 10px; flex-wrap: wrap; }
.facts { list-style: none; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.facts > span { display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 68px 1fr; gap: 12px; font-size: 14px; color: var(--text-2); align-items: baseline; }
.facts .mono { color: var(--teal-2); font-size: 13px; }

/* load choreography: lines rise out of a clip, once */
.rise { display: block; overflow: hidden; }
.rise > span { display: block; transform: translateY(110%); opacity: 0; animation: rise 800ms var(--ease) forwards; }
h1 .rise:nth-child(2) > span { animation-delay: 80ms; }
.lede > span { animation-delay: 200ms; }
.cta > span { animation-delay: 300ms; }
.facts > span { animation-delay: 400ms; }
@keyframes rise { to { transform: none; opacity: 1; } }

.hero-demo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.glow {
  position: absolute; width: 780px; height: 780px; left: 50%; top: 46%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(123, 184, 180, 0.46) 0%, rgba(110, 175, 170, 0.40) 28%, rgba(91, 154, 150, 0.20) 46%, rgba(91, 154, 150, 0.06) 60%, transparent 72%);
  z-index: 0; pointer-events: none;
  animation: bloom 1600ms 200ms var(--ease) both;
}
@keyframes bloom { from { opacity: 0; transform: translate(-50%, -50%) scale(.7); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.phone {
  position: relative; z-index: 1; width: 300px; height: 640px; flex: none; border-radius: 42px; padding: 10px;
  background: linear-gradient(180deg, #23272f, #0c0e12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 90px rgba(123, 184, 180, 0.22);
  opacity: 0; transform: translateY(18px); animation: phonein 900ms 150ms var(--ease) forwards;
}
@keyframes phonein { to { opacity: 1; transform: none; } }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #000; border: 1px solid #1a1d22; z-index: 5; }
.screen {
  width: 100%; height: 100%; border-radius: 33px; overflow: hidden; position: relative;
  background: #0f1114; color: #e6e8eb; font-family: var(--inter); font-size: 13px; line-height: 18px;
  font-feature-settings: "cv11", "ss01";
}
.statusbar { position: absolute; top: 0; left: 0; right: 0; height: 34px; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-size: 12px; font-weight: 500; color: #9aa1ab; }
.sb-right { display: inline-flex; gap: 5px; align-items: center; }
.sb-signal { width: 12px; height: 9px; background:
  linear-gradient(#9aa1ab, #9aa1ab) 0 100%/2px 3px no-repeat, linear-gradient(#9aa1ab, #9aa1ab) 3px 100%/2px 5px no-repeat,
  linear-gradient(#9aa1ab, #9aa1ab) 6px 100%/2px 7px no-repeat, linear-gradient(#9aa1ab, #9aa1ab) 9px 100%/2px 9px no-repeat; }
.sb-batt { width: 18px; height: 9px; border: 1px solid #9aa1ab; border-radius: 2px; position: relative; }
.sb-batt::after { content: ""; position: absolute; inset: 1px; right: 5px; background: #9aa1ab; border-radius: 1px; }

.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 260ms var(--ease); pointer-events: none; }
.scene.is-on { opacity: 1; pointer-events: auto; }

/* --- the app --- */
.scene-app { display: flex; flex-direction: column; padding-top: 34px; }
.appbar { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #22262d; }
.appbar-title { font-size: 15px; font-weight: 500; }
.appbar-dots { display: inline-flex; gap: 8px; }
.appbar-dots .dot { width: 7px; height: 7px; }
.dot.usage { background: #252a32; border: 1px solid #2e343d; }

.view { flex: 1; min-height: 0; display: none; flex-direction: column; }
.view.is-on { display: flex; }

.stream { flex: 1; overflow: hidden; padding: 12px 12px 6px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.msg { opacity: 0; transform: translateY(4px); transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.msg.in { opacity: 1; transform: none; }
.msg.sys { font-size: 11px; line-height: 14px; color: #7a8290; display: flex; gap: 8px; align-items: center; padding: 0 2px; }
.msg.sys i { width: 6px; height: 6px; border-radius: 50%; background: #5b9a96; flex: none; }
.msg.ai { padding: 0 2px; white-space: pre-wrap; }
.msg.ai .tool { display: block; font-size: 11px; line-height: 14px; color: #7a8290; margin-top: 6px; font-variant-numeric: tabular-nums; min-height: 14px; }
.msg.me { align-self: flex-end; max-width: 86%; background: #1b1f25; border-radius: 10px; padding: 8px 11px; }
.caret { display: inline-block; width: 1px; height: 14px; background: #7bb8b4; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.card-rh { border: 1px solid #2e343d; border-radius: 10px; padding: 9px 11px; font-size: 12px; line-height: 16px; margin-top: 8px; background: #15181c; }
.card-h { display: flex; justify-content: space-between; color: #9aa1ab; margin-bottom: 6px; font-weight: 500; }
.card-h span:last-child { color: #7a8290; font-weight: 400; }
.card-row { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.card-row .ttl { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-row .mv { color: #9aa1ab; white-space: nowrap; }
.card-row .mv em { font-style: normal; color: #7bb8b4; }
.card-f { margin-top: 6px; color: #7a8290; display: flex; justify-content: space-between; }
.card-f span:last-child { color: #9aa1ab; }

.composer { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px 8px; }
.field { flex: 1; min-height: 40px; max-height: 108px; border: 1px solid #2e343d; border-radius: 6px; background: #15181c; padding: 9px 10px; position: relative; overflow: hidden; }
.field .ph { color: #7a8290; position: absolute; left: 10px; top: 10px; transition: opacity 120ms; }
.field.has .ph { opacity: 0; }
.field .caret { display: none; }
.field.has .caret { display: inline-block; }
.live { white-space: pre-wrap; }
.live .partial { color: #7a8290; }
.mic, .sendbtn { position: relative; flex: none; width: 40px; height: 40px; border-radius: 6px; border: 0; background: none; color: #9aa1ab; display: grid; place-items: center; transition: color 150ms, background-color 150ms; }
.sendbtn { background: #1b1f25; color: #7a8290; }
.sendbtn.ready { background: #5b9a96; color: #fff; }
.mic.listening { color: #7bb8b4; }
.mic .ring { position: absolute; inset: 4px; border-radius: 50%; border: 1px solid #7bb8b4; opacity: 0; pointer-events: none; }
.mic.listening .ring { animation: ring 1.6s ease-out infinite; }
.mic.listening .r2 { animation-delay: .5s; }
.mic.listening .r3 { animation-delay: 1s; }
@keyframes ring { 0% { transform: scale(.7); opacity: .55; } 100% { transform: scale(calc(1.5 + var(--lvl, 0) * .9)); opacity: 0; } }

.bottomnav { flex: none; height: 56px; border-top: 1px solid #22262d; display: flex; justify-content: space-around; align-items: center; padding: 0 8px 6px; background: #0f1114; position: relative; z-index: 3; }
.nav-item { position: relative; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: #7a8290; padding: 4px 10px; border-radius: 6px; font-family: inherit; }
.nav-item.on { color: #e6e8eb; }
.nav-dot { position: absolute; top: 4px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: #5b9a96; opacity: 0; transition: opacity 200ms; }
.nav-dot.show { opacity: 1; }

/* tasks view */
.vh { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px 6px; }
.vh-title { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
.vh-count { font-size: 12px; color: #7a8290; }
.lens, .seg { display: flex; gap: 4px; margin: 4px 12px 8px; padding: 3px; background: #15181c; border: 1px solid #22262d; border-radius: 8px; }
.lens span, .seg span { flex: 1; text-align: center; font-size: 11px; line-height: 24px; color: #7a8290; border-radius: 6px; white-space: nowrap; }
.lens span.on, .seg span.on { background: #252a32; color: #e6e8eb; }
.rows { margin: 0 12px; border: 1px solid #22262d; border-radius: 10px; overflow: hidden; }
.rows-h { font-size: 11px; line-height: 14px; color: #7a8290; padding: 14px 16px 6px; }
.row { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px; border-top: 1px solid #22262d; font-size: 13px; }
.row:first-child { border-top: 0; }
.row.task { cursor: pointer; }
.chk { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #2e343d; flex: none; }
.rt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm { font-size: 11px; color: #7a8290; }
.due { font-size: 11px; color: #9aa1ab; border: 1px solid #2e343d; border-radius: 4px; padding: 0 5px; line-height: 16px; }
.tag { font-size: 10px; line-height: 16px; padding: 0 6px; border-radius: 4px; background: rgba(91, 154, 150, 0.16); color: #7bb8b4; opacity: 0; transition: opacity 250ms; }
.row.moved .tag { opacity: 1; }
.row.moved { animation: rowflash 1400ms var(--ease); }
@keyframes rowflash { 0% { background: rgba(91, 154, 150, 0.22); } 100% { background: transparent; } }

/* sheet */
.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transition: opacity 180ms var(--ease); z-index: 4; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #15181c; border-top: 1px solid #2e343d; border-radius: 16px 16px 0 0; padding: 12px 14px 16px; transform: translateY(102%); transition: transform 180ms var(--ease); z-index: 5; }
.sheet.on { transform: none; }
.sh-head { display: flex; align-items: center; justify-content: space-between; }
.sh-title { font-size: 16px; line-height: 22px; font-weight: 500; }
.x { width: 32px; height: 32px; border-radius: 6px; border: 0; background: none; color: #9aa1ab; display: grid; place-items: center; font-size: 13px; font-family: inherit; }
.sh-meta { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #9aa1ab; margin-top: 2px; }
.sep { width: 3px; height: 3px; border-radius: 50%; background: #2e343d; }
.strict { font-size: 10px; line-height: 16px; padding: 0 6px; border-radius: 4px; border: 1px solid #2e343d; color: #e6e8eb; }
.sh-note { margin: 10px 0 12px; font-size: 13px; color: #e6e8eb; }
.seg { margin: 0 0 8px; }
.sh-row { display: flex; justify-content: space-between; align-items: center; height: 36px; font-size: 13px; color: #9aa1ab; }
.tog { width: 30px; height: 18px; border-radius: 9px; background: #252a32; position: relative; display: inline-block; flex: none; transition: background-color 160ms; }
.tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #9aa1ab; transition: transform 160ms var(--ease), background-color 160ms; }
.tog.on { background: #5b9a96; }
.tog.on::after { transform: translateX(12px); background: #fff; }
.sh-hist { margin-top: 8px; border-top: 1px solid #22262d; padding-top: 8px; }
.h-l { font-size: 11px; color: #7a8290; margin-bottom: 4px; }
.h-r { display: grid; grid-template-columns: 58px 1fr; gap: 8px; font-size: 12px; line-height: 16px; color: #9aa1ab; padding: 3px 0; }
.h-r .tnum { color: #7a8290; }
.sh-actions { display: flex; gap: 8px; margin-top: 12px; }
.sh-actions span { flex: 1; text-align: center; height: 36px; line-height: 34px; border-radius: 6px; font-size: 13px; border: 1px solid #2e343d; color: #9aa1ab; }
.sh-actions .b-done { background: #5b9a96; border-color: #5b9a96; color: #fff; }

/* drawer */
.drawer { position: absolute; top: 34px; right: 0; bottom: 56px; width: 86%; background: #15181c; border-left: 1px solid #2e343d; transform: translateX(102%); transition: transform 180ms var(--ease); z-index: 4; overflow: hidden; }
.drawer.on { transform: none; }
.dr-list, .dr-memory { position: absolute; inset: 0; padding: 12px; transition: transform 180ms var(--ease), opacity 180ms var(--ease); }
.dr-memory { transform: translateX(30px); opacity: 0; pointer-events: none; }
.drawer.mem .dr-list { transform: translateX(-30px); opacity: 0; pointer-events: none; }
.drawer.mem .dr-memory { transform: none; opacity: 1; pointer-events: auto; }
.dr-row { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 10px; border-bottom: 1px solid #22262d; font-size: 14px; cursor: pointer; }
.dr-row .tnum { font-size: 12px; color: #7a8290; display: inline-flex; align-items: center; gap: 6px; }
.badge { font-size: 11px; line-height: 18px; padding: 0 7px; border-radius: 9px; background: rgba(91, 154, 150, 0.18); color: #7bb8b4; }
.dr-head { display: flex; align-items: center; gap: 4px; height: 36px; font-size: 15px; font-weight: 500; margin: -4px 0 6px -6px; }
.m-l { font-size: 11px; color: #7a8290; margin: 10px 0 6px; }
.m-rule { font-size: 12px; line-height: 16px; color: #9aa1ab; padding: 7px 0; border-top: 1px solid #22262d; }

/* the pattern card, shared by the phone and the site */
.pattern { border: 1px solid #2e343d; border-radius: 10px; padding: 10px 11px; background: #1b1f25; position: relative; overflow: hidden; }
.p-text { font-size: 13px; line-height: 18px; }
.p-ev { font-size: 11px; color: #7a8290; margin-top: 4px; }
.p-actions { display: flex; gap: 6px; margin-top: 10px; }
.p-actions button { flex: 1; height: 32px; border-radius: 6px; border: 1px solid #2e343d; background: none; color: #9aa1ab; font-size: 12px; font-family: inherit; transition: background-color 150ms, color 150ms; }
.p-actions button:hover { background: #252a32; color: #e6e8eb; }
.p-actions button[data-v="confirm"] { background: #5b9a96; border-color: #5b9a96; color: #fff; }
.p-result { display: none; margin-top: 10px; font-size: 12px; line-height: 16px; color: #9aa1ab; padding-top: 8px; border-top: 1px solid #2e343d; }
.pattern.done .p-actions { display: none; }
.pattern.done .p-result { display: block; animation: fadein 240ms var(--ease); }
.pattern.done.ok .p-text { color: #9aa1ab; }
.pattern.done.no .p-text { color: #7a8290; text-decoration: line-through; text-decoration-color: #2e343d; }
@keyframes fadein { from { opacity: 0; transform: translateY(3px); } }

/* --- the bubble --- */
.scene-other { background: #131519; }
.other-app { position: absolute; inset: 34px 0 0 0; padding: 12px 16px; }
.oa-bar { display: flex; gap: 10px; align-items: center; height: 40px; margin-bottom: 8px; }
.oa-bar i { display: block; height: 10px; width: 96px; border-radius: 5px; background: #23262c; }
.oa-bar i.short { width: 28px; margin-left: auto; }
.oa-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #1c1f24; }
.oa-av { width: 30px; height: 30px; border-radius: 50%; background: #1e2127; flex: none; }
.oa-row div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.oa-l { display: block; height: 8px; border-radius: 4px; background: #1e2127; }
.w40 { width: 40%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; }

.bubble { position: absolute; right: 14px; top: 132px; width: 56px; height: 56px; }
.disc { position: absolute; inset: 0; border-radius: 50%; background: #15181c; border: 1.5px solid #2e343d; display: grid; place-items: center; color: #9aa1ab; padding: 0; transition: border-color 200ms, color 200ms; }
.bubble.listen .disc { border-color: #7bb8b4; color: #7bb8b4; }
.bubble.think .disc, .bubble.answer .disc, .bubble.standby .disc { border-color: #5b9a96; }
.bubble.held .disc { border-color: var(--held); }
.halo { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(123, 184, 180, .30) 0%, rgba(123, 184, 180, .10) 45%, rgba(123, 184, 180, 0) 70%);
  transition: opacity 240ms; }
.bubble.listen .halo { opacity: var(--dim, 1); transform: scale(calc(1.45 + var(--lvl, 0) * 1.6)); transition: transform 90ms ease-out, opacity 240ms; }
.orbit { position: absolute; inset: -8px; opacity: 0; transition: opacity 200ms; pointer-events: none; }
.bubble.think .orbit { opacity: 1; }
.orbit i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #7bb8b4; transform: rotate(var(--a)) translateX(34px); }
.bubble.think .orbit i { animation: gather 2.2s ease-in-out infinite; }
.orbit i:nth-child(1) { --a: 0deg; } .orbit i:nth-child(2) { --a: 72deg; } .orbit i:nth-child(3) { --a: 144deg; } .orbit i:nth-child(4) { --a: 216deg; } .orbit i:nth-child(5) { --a: 288deg; }
@keyframes gather { 0% { transform: rotate(var(--a)) translateX(34px); } 50% { transform: rotate(calc(var(--a) + 180deg)) translateX(22px); } 100% { transform: rotate(calc(var(--a) + 360deg)) translateX(34px); } }

.panel { position: absolute; left: 14px; right: 14px; top: 200px; background: #15181c; border: 1px solid #2e343d; border-radius: 16px; padding: 12px 14px; opacity: 0; transform: translateY(6px); transition: opacity 180ms var(--ease), transform 180ms var(--ease); pointer-events: none; }
.panel.in { opacity: 1; transform: none; pointer-events: auto; }
.you { color: #7a8290; font-size: 13px; line-height: 18px; min-height: 18px; white-space: pre-wrap; }
.reply { margin-top: 10px; font-size: 13px; line-height: 18px; white-space: pre-wrap; display: none; }
.reply.in { display: block; }
.reply .w { border-radius: 3px; cursor: pointer; transition: background-color 120ms, color 120ms; }
.reply .w.now { background: rgba(91, 154, 150, .18); color: #7bb8b4; }
.panel-actions { display: none; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid #22262d; font-size: 12px; color: #9aa1ab; }
.panel-actions.in { display: flex; }
.panel-actions .x { width: 28px; height: 28px; color: #7a8290; }

/* --- tour layer --- */
.hot { position: absolute; z-index: 20; border-radius: 12px; pointer-events: none; opacity: 0; transition: opacity 200ms var(--ease), top 220ms var(--ease), left 220ms var(--ease), width 220ms var(--ease), height 220ms var(--ease); }
.hot.on { opacity: 1; }
.hot::before, .hot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid #7bb8b4; }
.hot::after { animation: hotpulse 1.8s ease-out infinite; }
@keyframes hotpulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.hot.round, .hot.round::before, .hot.round::after { border-radius: 50%; }

.coach { position: absolute; z-index: 21; width: 212px; background: #e6e8eb; color: #0f1114; border-radius: 12px; padding: 10px 12px 10px; font-family: var(--font); font-size: 12.5px; line-height: 17px; opacity: 0; transform: translateY(6px) scale(.98); transition: opacity 200ms var(--ease), transform 220ms var(--ease); pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.coach.on { opacity: 1; transform: none; pointer-events: auto; }
.coach::after { content: ""; position: absolute; width: 10px; height: 10px; background: #e6e8eb; transform: rotate(45deg); left: var(--ax, 50%); margin-left: -5px; }
.coach.below::after { top: -5px; }
.coach.above::after { bottom: -5px; }
.coach.center::after { display: none; }
.coach.center { width: auto; left: 16px !important; right: 16px !important; }
.coach-text { font-weight: 500; letter-spacing: -0.005em; }
.coach-hint { margin-top: 6px; font-size: 11.5px; color: #4e5661; display: flex; align-items: center; gap: 6px; }
.coach-hint:empty { display: none; }
.coach-hint::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5b9a96; flex: none; }
.coach-btns { display: none; gap: 6px; margin-top: 10px; }
.coach-btns.on { display: flex; }
.coach-btns button { flex: 1; height: 30px; border-radius: 7px; border: 1px solid rgba(15, 17, 20, .18); background: none; font-size: 12px; font-weight: 500; font-family: inherit; }
.coach-btns button.p { background: #0f1114; color: #fff; border-color: #0f1114; }

.chooser { position: absolute; inset: 0; z-index: 30; background: rgba(15, 17, 20, .72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 22px; opacity: 0; pointer-events: none; transition: opacity 240ms var(--ease); }
.chooser.is-on { opacity: 1; pointer-events: auto; }
.ch-card { width: 100%; background: #15181c; border: 1px solid #2e343d; border-radius: 16px; padding: 18px 16px 14px; }
.ch-mark { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #9aa1ab; }
.ch-card p { margin: 10px 0 14px; font-size: 15px; line-height: 21px; color: #e6e8eb; }
.ch-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; padding: 10px 12px; margin-top: 8px; border-radius: 10px; border: 1px solid #2e343d; background: #1b1f25; font-family: inherit; transition: border-color 150ms, background-color 150ms; }
.ch-btn:hover { border-color: #5b9a96; background: #20252d; }
.ch-btn b { font-size: 14px; font-weight: 500; color: #e6e8eb; }
.ch-btn span { font-size: 12px; color: #7a8290; }

.tourbar { position: relative; z-index: 1; width: 300px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-3); min-height: 30px; }
.steps { display: flex; gap: 5px; }
.steps i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: background-color 200ms, transform 200ms; }
.steps i.done { background: var(--teal); }
.steps i.cur { background: var(--teal-2); transform: scale(1.35); }
.tour-name { flex: 1; }
.link { border: 0; background: none; color: var(--text-3); padding: 4px 0; font-size: 13px; transition: color 150ms; }
.link:hover { color: var(--text); }

/* ---------- sections ---------- */
.sec { padding: 64px 0 40px; }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 24px; }
.sec-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 500; }
.sec-head p { font-size: 16px; color: var(--text-3); }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 200ms var(--ease), transform 300ms var(--ease); }
.card.wide { grid-column: span 2; }
.card::before { /* the cursor spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms var(--ease);
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(123, 184, 180, .10), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(123, 184, 180, .28); }
.card-body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.card-body h3 { font-size: 17px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.card-body p { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.num { color: var(--teal-2); font-size: 12px; }
.mini { position: relative; flex: none; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 18px; font-size: 13px; line-height: 18px; color: var(--text-2); min-height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden; }
.mini .mono { color: var(--text-3); }

/* reveal on scroll, once */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* set up: history → patterns */
.mini-history { gap: 10px; }
.mh-files { display: grid; gap: 6px; }
.mh-f { padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); opacity: 0; transform: translateX(-8px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.in .mh-f:nth-child(1) { transition-delay: 200ms; } .in .mh-f:nth-child(2) { transition-delay: 320ms; } .in .mh-f:nth-child(3) { transition-delay: 440ms; }
.in .mh-f { opacity: 1; transform: none; }
.mh-arrow { height: 14px; position: relative; }
.mh-arrow::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-2); transform: scaleY(0); transform-origin: top; transition: transform 300ms 600ms var(--ease); }
.in .mh-arrow::before { transform: none; }
.mh-pats { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; line-height: 24px; padding: 0 9px; border-radius: 12px; background: var(--teal-dim); color: var(--teal-2); opacity: 0; transform: scale(.9); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.in .chip:nth-child(1) { transition-delay: 900ms; } .in .chip:nth-child(2) { transition-delay: 1000ms; } .in .chip:nth-child(3) { transition-delay: 1100ms; }
.in .chip { opacity: 1; transform: none; }

.mb-label { font-size: 12px; color: var(--text-3); }
.segment { display: flex; gap: 3px; padding: 3px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; }
.segment button { flex: 1; height: 30px; border: 0; border-radius: 6px; background: none; color: var(--text-3); font-size: 12px; transition: background-color 160ms, color 160ms; }
.segment button.on { background: var(--bg-4); color: var(--text); }
.mb-out { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.mb-ok { font-size: 11px; color: var(--teal-2); display: inline-flex; align-items: center; gap: 6px; }
.mb-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.mini-habits { gap: 0; }
.hb { display: flex; justify-content: space-between; align-items: center; height: 34px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text); cursor: pointer; }
.hb:first-child { border-top: 0; }
.mini .tog { background: var(--bg-4); }
.mini .tog::after { background: var(--text-3); }
.mini .tog.on { background: var(--teal); }
.mini .tog.on::after { background: #fff; }

/* every day minis */
.mbf-h { display: flex; justify-content: space-between; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.mbf-r { display: grid; grid-template-columns: 7px 1fr auto auto; gap: 10px; align-items: center; color: var(--text); padding: 5px 0; border-top: 1px solid var(--line); }
.mbf-note { font-size: 12px; color: var(--text-3); min-width: 78px; text-align: right; }
.mbf-f { margin-top: 6px; font-size: 12.5px; color: var(--text-2); }
.mc-me { align-self: flex-end; max-width: 90%; background: var(--bg-3); border-radius: 10px; padding: 8px 11px; color: var(--text); }
.mc-ai { color: var(--text); max-width: 95%; }
.nt { border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 12px; background: var(--bg-2); }
.nt-h { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); }
.nt-h .mono { margin-left: auto; }
.nt-t { color: var(--text); font-weight: 500; margin-top: 4px; }
.nt-s { font-size: 12px; color: var(--text-3); }
.horizons { display: flex; gap: 3px; padding: 3px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; }
.horizons span { flex: 1; text-align: center; font-size: 11.5px; line-height: 26px; color: var(--text-3); border-radius: 6px; }
.horizons span.on { background: var(--bg-4); color: var(--text); }
.pr-row { display: flex; justify-content: space-between; align-items: center; color: var(--text); padding: 4px 0; }
.pr-row .strict, .pr-row .soft { font-size: 11px; line-height: 18px; padding: 0 7px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--text); }
.pr-row .soft { color: var(--text-3); border-style: dashed; }
.pr-say { font-size: 12.5px; color: var(--text-2); }
.site-pattern { background: var(--bg-2); border-color: var(--line-2); }
.site-pattern .p-text { color: var(--text); }
.site-pattern .p-actions button { border-color: var(--line-2); color: var(--text-2); }
.site-pattern .p-actions button:hover { background: var(--bg-4); color: var(--text); }
.site-pattern .p-actions button[data-v="confirm"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.site-pattern .p-result { border-top-color: var(--line); }
.rp { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: baseline; color: var(--text); padding: 6px 0; border-top: 1px solid var(--line); }
.rp:first-child { border-top: 0; }
.rp .rp-t { text-align: right; }
.rp-perm { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--text-3); }
.rp-perm .tog { margin-right: 8px; width: 26px; height: 16px; }
.rp-perm .tog::after { width: 12px; height: 12px; }
.rp-perm .tog.on::after { transform: translateX(10px); }
.cl-r { display: grid; grid-template-columns: 44px 1fr 7px; gap: 10px; align-items: center; color: var(--text); padding: 5px 0; border-top: 1px solid var(--line); }
.cl-r:first-child { border-top: 0; }
.cl-f { margin-top: 6px; font-size: 12.5px; color: var(--text-2); }

/* inside minis */
.mini-turn { padding: 18px 18px 16px; }
.turn { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1fr; gap: 14px; position: relative; padding-top: 14px; }
.turn::before { content: ""; position: absolute; left: 6px; right: 6px; top: 5px; height: 1px; background: var(--line-2); }
.tn { position: relative; display: grid; gap: 4px; align-content: start; }
.tn::before { content: ""; position: absolute; left: 0; top: -14px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--text-3); transition: border-color 300ms var(--ease), background-color 300ms var(--ease); }
.tn.model::before { border-style: dashed; }
.in .tn::before { border-color: var(--teal-2); background: var(--teal); }
.in .tn:nth-child(1)::before { transition-delay: 200ms; } .in .tn:nth-child(2)::before { transition-delay: 600ms; } .in .tn:nth-child(3)::before { transition-delay: 1000ms; } .in .tn:nth-child(4)::before { transition-delay: 1500ms; }
.tn-when { font-size: 11.5px; color: var(--text-3); }
.tn b { font-size: 20px; line-height: 1.1; font-weight: 500; color: var(--text); letter-spacing: -0.02em; opacity: 0; transform: translateY(4px); transition: opacity 350ms var(--ease), transform 350ms var(--ease); }
.tn.model b { color: var(--teal-2); font-size: 16px; line-height: 22px; }
.in .tn b { opacity: 1; transform: none; }
.in .tn:nth-child(1) b { transition-delay: 250ms; } .in .tn:nth-child(2) b { transition-delay: 650ms; } .in .tn:nth-child(3) b { transition-delay: 1050ms; } .in .tn:nth-child(4) b { transition-delay: 1550ms; }
.tn-what { font-size: 12px; line-height: 16px; color: var(--text-2); }
.tn.model { padding: 0 12px 0 12px; margin: -6px 0 -6px; border-left: 1px dashed var(--line-2); border-right: 1px dashed var(--line-2); }
.tn.model::before { left: 12px; }
@media (max-width: 640px) {
  .turn { grid-template-columns: 1fr; gap: 16px; padding-top: 0; padding-left: 20px; }
  .turn::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .tn::before { left: -20px; top: 4px; }
  .tn.model { padding: 8px 0 8px 12px; margin: 0; border-right: 0; border-left: 1px dashed var(--line-2); }
  .tn.model::before { left: -20px; }
}
.stt-wave { display: flex; align-items: center; gap: 4px; height: 36px; }
.stt-wave i { flex: 1; height: 30%; border-radius: 2px; background: var(--teal); opacity: .75; transform-origin: center; }
.in .stt-wave i { animation: wave 1.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 70ms); }
.stt-wave i:nth-child(1) { --i: 0; height: 20%; } .stt-wave i:nth-child(2) { --i: 1; height: 45%; } .stt-wave i:nth-child(3) { --i: 2; height: 70%; } .stt-wave i:nth-child(4) { --i: 3; height: 40%; }
.stt-wave i:nth-child(5) { --i: 4; height: 85%; } .stt-wave i:nth-child(6) { --i: 5; height: 55%; } .stt-wave i:nth-child(7) { --i: 6; height: 30%; } .stt-wave i:nth-child(8) { --i: 7; height: 65%; }
.stt-wave i:nth-child(9) { --i: 8; height: 90%; } .stt-wave i:nth-child(10) { --i: 9; height: 50%; } .stt-wave i:nth-child(11) { --i: 10; height: 25%; } .stt-wave i:nth-child(12) { --i: 11; height: 60%; }
.stt-wave i:nth-child(13) { --i: 12; height: 75%; } .stt-wave i:nth-child(14) { --i: 13; height: 35%; } .stt-wave i:nth-child(15) { --i: 14; height: 50%; } .stt-wave i:nth-child(16) { --i: 15; height: 20%; }
@keyframes wave { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1.4); } }
.stt-out { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--text); margin-top: 6px; }
.mini-topo { flex-direction: row; align-items: center; gap: 0; }
.tp-node { flex: 1; text-align: center; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 8px; background: var(--bg-2); }
.tp-node b { display: block; font-weight: 500; color: var(--text); font-size: 13px; }
.tp-node span { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.tp-link { flex: 1.2; position: relative; text-align: center; }
.tp-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 12px); background-size: 24px 1px; animation: flowdash 1.2s linear infinite; }
@keyframes flowdash { to { background-position: 24px 0; } }
.tp-link .mono { position: relative; background: var(--bg); padding: 0 6px; font-size: 10.5px; color: var(--teal-2); }
.mini-lock { gap: 0; }
.lk-row { display: flex; justify-content: space-between; align-items: center; height: 32px; border-top: 1px solid var(--line); color: var(--text-2); }
.lk-row:first-child { border-top: 0; }
.lk-row .mono { color: var(--text); }
.lk-no { color: var(--teal-2) !important; }
.mini-bub { gap: 10px; }
.mbb { display: flex; align-items: center; gap: 12px; }
.mbb-disc { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--teal-2); background: var(--bg-2); flex: none; position: relative; }
.mbb-disc::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--teal-2); opacity: .5; }
.mbb-disc.held { border-color: var(--held); } .mbb-disc.held::after { display: none; }
.mbb-disc.quiet { border-color: var(--teal); } .mbb-disc.quiet::after { opacity: .2; inset: -3px; }
.mbb b { display: block; font-weight: 500; color: var(--text); }
.mbb span { display: block; font-size: 12px; color: var(--text-3); }
.mini-apps { gap: 0; }
.ap { display: grid; grid-template-columns: 22px 70px 1fr; gap: 12px; align-items: center; height: 36px; border-top: 1px solid var(--line); color: var(--text); }
.ap:first-child { border-top: 0; }
.ap i { display: block; border: 1.5px solid var(--text-3); border-radius: 3px; }
.ap-ph { width: 11px; height: 18px; margin: 0 auto; border-radius: 3px; }
.ap-lp { width: 20px; height: 13px; }
.ap-bb { width: 16px; height: 16px; border-radius: 50% !important; border-color: var(--teal-2) !important; margin: 0 auto; }
.mini-model { flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.md { flex: 1 1 120px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg-2); display: grid; gap: 2px; }
.md-n { color: var(--text); font-weight: 500; }
.ui-card { background: var(--teal-dim); border-color: rgba(123, 184, 180, .25); justify-content: center; }
.ui-card .card-body p { color: var(--text); }

/* trust */
.grid3.trust { gap: 14px; }
.tr { border-top: 1px solid var(--line-2); padding: 18px 0 0; }
.tr-k { color: var(--teal-2); font-size: 12px; }
.tr h3 { margin-top: 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.tr p { margin-top: 8px; font-size: 14px; color: var(--text-2); }

/* footer */
.foot { margin-top: 48px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 48px; font-size: 13px; color: var(--text-3); }
.foot .dot { margin-right: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .bento, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.wide { grid-column: span 2; }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 44px 24px 72px; }
  .hero-copy { max-width: none; }
  .topnav { display: none; }
}
@media (max-width: 640px) {
  .bento, .grid3 { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .sec { padding: 48px 0 24px; }
  .facts li { grid-template-columns: 48px 1fr; }
  .rp { grid-template-columns: 1fr; gap: 2px; }
  .rp .rp-t { text-align: left; }
}
@media (max-width: 340px) { .phone, .tourbar { transform: scale(.92); transform-origin: top center; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise > span, .phone, .glow { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hot::after, .mic.listening .ring, .bubble.think .orbit i, .in .stt-wave i, .tp-link::before, .caret { animation: none; }
  .mic.listening .ring { opacity: .5; transform: scale(1.1); }
  .mic.listening .r2, .mic.listening .r3 { display: none; }
  .msg, .panel, .scene, .sheet, .drawer, .coach, .hot, .scrim { transition: none; }
}

/* evening check-in mini */
.ev-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
.ev-l { font-size: 11.5px; color: var(--text-3); margin-bottom: 6px; }
.ev-i { display: flex; align-items: center; gap: 8px; color: var(--text); padding: 3px 0; font-size: 13px; }
.mini-model .md { flex: 1 1 42%; padding: 8px 10px; }
.mini-model .md .mono { font-size: 11px; }
@media (max-width: 640px) { .ev-cols { grid-template-columns: 1fr; } }
