/* Berlish — design system
   Dark, warm, quiet. One aurora gradient, hairline borders, big type. */

:root {
  --bg: #07080c;
  --bg-2: #0c0e14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f2ee;
  --muted: #a1a3b1;
  --dim: #6c6f7e;
  --amber: #ffb547;
  --coral: #ff7a4d;
  --violet: #9b7bff;
  --mint: #5ee6c3;
  --aurora: linear-gradient(100deg, #ffd59a 0%, #ff8a5c 45%, #b896ff 100%);
  --paper: #f5f2ec;
  --ink: #12131a;
  --radius: 20px;
  --radius-sm: 12px;
  --sans: 'Geist', 'Heebo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Frank Ruhl Libre', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
[dir="rtl"] body { font-size: 17.5px; }
/* film grain */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(255, 138, 92, .35); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
[dir="rtl"] .serif { font-style: normal; font-weight: 500; }
.grad { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 8, 12, .86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--border); }
.nav .container { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav-links a { color: var(--muted); font-size: 14.5px; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { font-size: 13.5px; color: var(--muted); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; transition: color .2s, border-color .2s; }
.lang:hover { color: var(--text); border-color: var(--border-strong); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn-primary { background: var(--text); color: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 8px 30px rgba(255, 160, 100, .18); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 12px 40px rgba(255, 160, 100, .3); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 150px 0 40px; text-align: center; isolation: isolate; overflow-x: clip; }
main { overflow-x: clip; }
.aurora { position: absolute; inset: -10% -20% auto; height: 900px; z-index: -1; pointer-events: none; filter: blur(80px); opacity: .55; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 560px; height: 560px; left: 18%; top: 60px; background: radial-gradient(circle, #ff8a5c 0%, transparent 65%); }
.aurora span:nth-child(2) { width: 620px; height: 620px; right: 14%; top: 0; background: radial-gradient(circle, #8a6bff 0%, transparent 65%); animation-delay: -6s; }
.aurora span:nth-child(3) { width: 460px; height: 460px; left: 42%; top: 260px; background: radial-gradient(circle, #ffc36b 0%, transparent 65%); animation-delay: -12s; opacity: .7; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.12); } }
.hero::after { /* grid fade */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 20%, transparent 75%);
  opacity: .5;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px;
  border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong);
  font-size: 13.5px; color: var(--muted); backdrop-filter: blur(8px);
}
[dir="rtl"] .pill { padding: 6px 8px 6px 14px; }
.pill b { font-weight: 500; color: var(--ink); background: var(--aurora); padding: 2px 9px; border-radius: 999px; font-size: 12px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: -.01em; line-height: 1.15; }
.hero h1 { font-size: clamp(44px, 8.2vw, 104px); margin: 26px auto 22px; max-width: 12ch; }
[dir="rtl"] .hero h1 { max-width: 13ch; }
.hero h1 .serif { font-size: 1.06em; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 40ch; margin: 0 auto 34px; line-height: 1.55; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--dim); }

/* waitlist form */
.waitlist {
  display: flex; gap: 6px; max-width: 460px; margin-inline: auto; padding: 6px;
  border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--border-strong), 0 20px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.waitlist input[type="email"] { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; padding: 0 16px; font-size: 15.5px; color: var(--text); }
.waitlist input::placeholder { color: var(--dim); }
.waitlist.done { justify-content: center; align-items: center; height: 56px; color: var(--mint); font-weight: 500; }
.hp { display: none !important; }

/* ---------------- product stage ---------------- */
.stage { position: relative; margin: 70px auto 0; max-width: 1120px; perspective: 1800px; }
.window {
  position: relative; border-radius: 18px; overflow: hidden; text-align: start;
  background: linear-gradient(180deg, rgba(22, 24, 33, .92), rgba(12, 13, 19, .96));
  box-shadow: 0 0 0 1px var(--border-strong), 0 40px 120px rgba(0, 0, 0, .6), 0 0 120px rgba(255, 138, 92, .08);
  transform: rotateX(8deg) scale(.98); transform-origin: 50% 0;
  transition: transform 1.2s var(--ease);
}
.stage.in .window { transform: rotateX(0) scale(1); }
.window::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 30%); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2c36; }
.win-bar .url { margin-inline: auto; font-family: var(--mono); font-size: 12px; color: var(--dim); background: rgba(255,255,255,.03); padding: 4px 14px; border-radius: 8px; }
.app { display: grid; grid-template-columns: 210px 1fr; min-height: 520px; }
.side { border-inline-end: 1px solid var(--border); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.side .me { display: flex; align-items: center; gap: 10px; padding: 6px 10px 16px; font-size: 14px; font-weight: 500; }
.side .me span { width: 26px; height: 26px; border-radius: 8px; background: var(--aurora); }
.side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; color: var(--muted); }
.side a.on { background: var(--surface-2); color: var(--text); }
.side a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.side .count { margin-inline-start: auto; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.main { padding: 24px 26px; display: grid; gap: 16px; grid-template-columns: 1.25fr 1fr; grid-auto-rows: min-content; }
.main .hello { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.main .hello h4 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.main .hello small { color: var(--dim); font-size: 13px; }
.panel { border-radius: 14px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--border); padding: 16px; font-size: 13.5px; }
.panel h5 { margin: 0 0 12px; font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); display: flex; justify-content: space-between; }
[dir="rtl"] .panel h5 { letter-spacing: 0; font-size: 12.5px; }
.brief p { margin: 0 0 10px; color: #d9d8d4; line-height: 1.55; }
.brief b { color: var(--text); font-weight: 500; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); }
.tl li:first-child { border-top: 0; }
.tl time { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.tl .tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 138, 92, .14); color: #ffb08f; }
.tl .tag.ok { background: rgba(94, 230, 195, .12); color: var(--mint); }
.env { display: grid; gap: 12px; }
.env .r { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.env .r span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.meter { height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--aurora); width: 0; transition: width 1.6s var(--ease) .3s; }
.stage.in .meter i { width: var(--w); }
.bill { display: flex; align-items: baseline; gap: 10px; }
.bill strong { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.bill small { color: var(--dim); }
.inbox-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); }
.inbox-row:first-of-type { border-top: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.inbox-row span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-row em { font-style: normal; font-size: 11px; color: var(--dim); }

/* floating phone */
.phone {
  position: absolute; inset-inline-start: -44px; bottom: -72px; width: 262px; z-index: 2;
  border-radius: 36px; padding: 10px; text-align: start;
  background: #0b0c11; box-shadow: 0 0 0 1px var(--border-strong), 0 40px 80px rgba(0,0,0,.6);
}
.phone-in { border-radius: 28px; background: linear-gradient(180deg, #12141c, #0c0d12); overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px; border-bottom: 1px solid var(--border); }
.phone-top .av { width: 30px; height: 30px; border-radius: 50%; background: var(--aurora); display: grid; place-items: center; }
.phone-top .av svg { width: 16px; height: 16px; }
.phone-top b { font-size: 13.5px; font-weight: 600; display: block; line-height: 1.2; }
.phone-top small { font-size: 11px; color: var(--mint); }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 16px; min-height: 290px; font-size: 13px; line-height: 1.45; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.typing-msg:not(.show) { display: none; }
.msg.bot { align-self: flex-start; background: rgba(255,255,255,.06); border-end-start-radius: 5px; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, #ff9a66, #c78bff); color: #16121c; border-end-end-radius: 5px; font-weight: 500; }
.msg .undo { display: inline-block; margin-top: 6px; font-size: 11.5px; color: var(--amber); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.demo-label { position: absolute; bottom: -38px; inset-inline-end: 0; font-size: 12px; color: var(--dim); }

/* ---------------- logos marquee ---------------- */
.works { padding: 130px 0 40px; text-align: center; }
.works p { font-size: 13.5px; color: var(--dim); margin: 0 0 22px; letter-spacing: .02em; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 38s linear infinite; }
[dir="rtl"] .track { animation-name: scroll-rtl; }
.marquee:hover .track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font-size: 15px; color: #d6d5d1; white-space: nowrap; }
.chip svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes scroll-rtl { to { transform: translateX(50%); } }

/* ---------------- statement ---------------- */
.statement { padding: 150px 0; }
.statement p { font-size: clamp(28px, 4.4vw, 56px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; margin: 0; max-width: 22ch; }
[dir="rtl"] .statement p { letter-spacing: -.01em; line-height: 1.3; }
.statement .w { color: rgba(244, 242, 238, .16); transition: color .6s var(--ease); }
.statement .w.lit { color: var(--text); }
.statement .w.hl.lit { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------- section heads ---------------- */
section { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
[dir="rtl"] .eyebrow { font-family: var(--sans); letter-spacing: 0; font-size: 14px; font-weight: 500; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.head { max-width: 720px; margin-bottom: 56px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(34px, 5vw, 62px); }
.head p { font-size: 18.5px; color: var(--muted); margin: 18px 0 0; max-width: 52ch; }
.head.center p { margin-inline: auto; }

/* ---------------- bento ---------------- */
.features { padding: 60px 0 140px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow .3s;
  min-height: 330px; display: flex; flex-direction: column;
}
.tile::before { /* cursor spotlight */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 170, 120, .1), transparent 45%);
}
.tile:hover { box-shadow: inset 0 0 0 1px var(--border-strong); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 23px; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 40ch; }
.tile .vis { margin-top: auto; padding-top: 26px; }
.t-money { grid-column: span 4; }
.t-tasks { grid-column: span 2; }
.t-routine { grid-column: span 2; }
.t-hub { grid-column: span 4; }
.t-auto { grid-column: span 3; }
.t-memory { grid-column: span 3; }
.kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
[dir="rtl"] .kicker { font-family: var(--sans); letter-spacing: 0; font-size: 13px; }

/* money vis */
.money-vis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ring-card, .stat-card { border-radius: 14px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--border); padding: 18px; }
.ring-card { display: flex; align-items: center; gap: 16px; }
.ring { width: 86px; height: 86px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: rgba(255,255,255,.07); }
.ring .fg { stroke: url(#rg); stroke-linecap: round; stroke-dasharray: 226; stroke-dashoffset: 226; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.in .ring .fg { stroke-dashoffset: 81; }
.ring-card b { display: block; font-size: 24px; letter-spacing: -.03em; font-weight: 600; }
.ring-card small, .stat-card small { color: var(--dim); font-size: 12.5px; }
.stat-card b { display: block; font-size: 24px; letter-spacing: -.03em; font-weight: 600; margin: 4px 0; }
.stat-card .spark { margin-top: 10px; height: 34px; width: 100%; }
.alert-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 12px 14px; background: rgba(255, 138, 92, .08); box-shadow: inset 0 0 0 1px rgba(255, 138, 92, .22); font-size: 14px; }
.alert-row .dot { background: var(--coral); box-shadow: 0 0 12px var(--coral); }

/* tasks vis */
.checks { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; }
.check i { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--dim); flex: none; position: relative; }
.check.done i { background: var(--mint); box-shadow: none; }
.check.done i::after { content: ''; position: absolute; left: 6px; top: 2.5px; width: 4px; height: 9px; border: solid #07080c; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check.done span { color: var(--dim); text-decoration: line-through; }
.check em { margin-inline-start: auto; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.say { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13.5px; color: var(--muted); }
.say .mic { width: 26px; height: 26px; border-radius: 50%; background: var(--aurora); display: grid; place-items: center; flex: none; }
.say .mic svg { width: 13px; height: 13px; stroke: #16121c; fill: none; stroke-width: 2.2; stroke-linecap: round; }

/* routine vis */
.day { position: relative; display: grid; gap: 10px; padding-inline-start: 18px; }
.day::before { content: ''; position: absolute; inset-inline-start: 4px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--amber), var(--violet)); }
.day div { position: relative; font-size: 14px; }
.day div::before { content: ''; position: absolute; inset-inline-start: -18px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--amber); }
.day div:nth-child(2)::before { box-shadow: inset 0 0 0 2px #ff9a7a; }
.day div:nth-child(3)::before { box-shadow: inset 0 0 0 2px #d58cff; }
.day div:nth-child(4)::before { box-shadow: inset 0 0 0 2px var(--violet); }
.day time { font-family: var(--mono); font-size: 11.5px; color: var(--dim); display: block; }

/* hub vis */
.hub-vis { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.hub-col { display: grid; gap: 8px; }
.hub-col .chip { justify-content: flex-start; font-size: 13.5px; padding: 8px 14px; }
.core { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; position: relative; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px var(--border-strong), 0 0 60px rgba(255, 138, 92, .25); }
.core::before { content: ''; position: absolute; inset: -14px; border-radius: 36px; border: 1px dashed rgba(255,255,255,.12); animation: spin 30s linear infinite; }
.core svg { width: 40px; height: 40px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hub-col.out .chip { color: var(--muted); }

/* automations vis */
.rule-box { border-radius: 14px; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px var(--border); padding: 16px; font-size: 14.5px; min-height: 120px; }
.rule-box .ln { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; }
.rule-box .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 2px 8px; border-radius: 6px; flex: none; }
.rule-box .k.if { background: rgba(155, 123, 255, .15); color: #c4b2ff; }
.rule-box .k.then { background: rgba(94, 230, 195, .12); color: var(--mint); }
.rule-box .caret { display: inline-block; width: 2px; height: 1em; background: var(--amber); vertical-align: -2px; margin-inline-start: 2px; animation: blink 1s steps(1) infinite; }

/* memory vis */
.qa { display: grid; gap: 8px; font-size: 14px; }
.qa .q { align-self: end; justify-self: end; background: var(--surface-2); padding: 9px 13px; border-radius: 14px; border-end-end-radius: 4px; }
.qa .a { background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px var(--border); padding: 12px 14px; border-radius: 14px; border-end-start-radius: 4px; color: #dddbd6; }
.src { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--amber); background: rgba(255, 181, 71, .08); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .2); }

/* ---------------- how ---------------- */
.how { padding: 40px 0 150px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 30px 28px 32px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.step .n { font-family: var(--mono); font-size: 12.5px; color: var(--dim); display: block; margin-bottom: 44px; }
.step .n b { color: var(--amber); font-weight: 500; }
.step h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 10px; line-height: 1.2; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step .glyph { position: absolute; top: 26px; inset-inline-end: 26px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--border); }
.step .glyph svg { width: 20px; height: 20px; stroke: var(--text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- ADHD (light) ---------------- */
.adhd { background: var(--paper); color: var(--ink); padding: 150px 0; border-radius: 40px 40px 0 0; overflow: hidden; }
.adhd + .trust { margin-top: -40px; border-radius: 40px 40px 0 0; background: var(--bg); }
.adhd .eyebrow { color: #c4541f; }
.adhd .head h2 { color: var(--ink); }
.adhd .head p { color: #555866; }
.adhd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(18,19,26,.1); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(18,19,26,.1); }
.adhd-grid div { background: var(--paper); padding: 30px 26px 34px; }
.adhd-grid .num { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: #c4541f; display: block; margin-bottom: 26px; }
[dir="rtl"] .adhd-grid .num { font-style: normal; }
.adhd-grid h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 10px; line-height: 1.2; }
.adhd-grid p { margin: 0; font-size: 15.5px; color: #555866; }
.adhd-quote { margin: 90px auto 0; max-width: 900px; text-align: center; }
.adhd-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 54px); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
[dir="rtl"] .adhd-quote blockquote { line-height: 1.3; }
.adhd-quote figcaption { margin-top: 22px; font-size: 14px; color: #6a6d7a; }
.disclaimer { margin: 60px auto 0; max-width: 680px; text-align: center; font-size: 13.5px; color: #7a7d89; }

/* ---------------- trust ---------------- */
.trust { padding: 150px 0 120px; position: relative; z-index: 1; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { padding: 26px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.trust-item svg { width: 26px; height: 26px; stroke: var(--amber); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 30px; }
.trust-item h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.25; }
.trust-item p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------------- FAQ ---------------- */
.faq { padding: 40px 0 150px; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary .pm { position: relative; width: 14px; height: 14px; flex: none; }
summary .pm::before, summary .pm::after { content: ''; position: absolute; inset: 6px 0 auto; height: 1.5px; background: var(--muted); transition: transform .3s var(--ease); }
summary .pm::after { transform: rotate(90deg); }
details[open] summary .pm::after { transform: rotate(0); }
details p { margin: 0 0 24px; color: var(--muted); font-size: 16px; max-width: 60ch; }

/* ---------------- final CTA ---------------- */
.final { padding: 60px 0 140px; }
.final-card { position: relative; overflow: hidden; isolation: isolate; text-align: center; border-radius: 32px; padding: 110px 24px; background: #0d0e14; box-shadow: inset 0 0 0 1px var(--border-strong); }
.final-card .aurora { inset: auto -10% -60% -10%; height: 700px; opacity: .6; }
.final-card h2 { font-size: clamp(38px, 6vw, 78px); max-width: 14ch; margin: 0 auto 18px; }
.final-card p { color: var(--muted); font-size: 18.5px; margin: 0 auto 34px; max-width: 44ch; }

/* ---------------- footer ---------------- */
footer { border-top: 1px solid var(--border); padding: 56px 0 40px; font-size: 14.5px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .logo { color: var(--text); margin-bottom: 12px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--text); }
.foot-cols a { display: block; padding: 4px 0; transition: color .2s; }
.foot-cols a:hover { color: var(--text); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* ---------------- simple pages ---------------- */
.simple { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 24px; position: relative; isolation: isolate; overflow: hidden; }
.simple h1 { font-size: clamp(40px, 7vw, 80px); margin-bottom: 18px; }
.simple p { color: var(--muted); font-size: 18px; max-width: 40ch; margin: 0 auto 30px; }

/* ---------------- reveal ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .msg { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .phone { inset-inline-start: -16px; bottom: -80px; width: 236px; }
  .trust-grid, .adhd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .side { display: none; }
  .main { grid-template-columns: 1fr; padding: 18px; }
  .main .hide-m { display: none; }
  .bento { grid-template-columns: 1fr; }
  .t-money, .t-tasks, .t-routine, .t-hub, .t-auto, .t-memory { grid-column: auto; }
  .tile { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 20px; }
  .stage { margin-top: 56px; }
  .phone { position: relative; inset: auto; margin: -14px auto 0; width: 280px; }
  .demo-label { position: static; text-align: center; margin-top: 16px; }
  .works { padding-top: 70px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .nav .container { gap: 12px; }
  .nav-end .btn { display: none; }
  .hero { padding-top: 116px; }
  .waitlist { flex-direction: column; border-radius: 22px; padding: 8px; }
  .waitlist input[type="email"] { height: 46px; text-align: center; }
  .waitlist .btn { width: 100%; }
  .statement { padding: 100px 0; }
  .features, .how, .faq, .final { padding-bottom: 90px; }
  .adhd, .trust { padding: 100px 0; }
  .adhd { border-radius: 28px 28px 0 0; }
  .adhd + .trust { border-radius: 28px 28px 0 0; margin-top: -28px; }
  .trust-grid, .adhd-grid { grid-template-columns: 1fr; }
  .money-vis { grid-template-columns: 1fr; }
  .hub-vis { grid-template-columns: 1fr; justify-items: center; }
  .hub-col { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; }
  .final-card { padding: 80px 20px; border-radius: 24px; }
  .tile { padding: 22px; }
  .win-bar .url { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .msg { opacity: 1; transform: none; }
  .window { transform: none; }
  .meter i { width: var(--w); }
  .ring .fg { stroke-dashoffset: 81; }
  html { scroll-behavior: auto; }
}
