:root {
  color-scheme: dark;
  --bg: #0c0c0e;
  --bg-2: #121215;
  --panel: #18181c;
  --panel-2: #202026;
  --line: #2a2a31;
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f6f3ee;
  --muted: #a3a09a;
  --dim: #6f6c67;
  --orange: #ff8a1c;
  --orange-2: #ffb04d;
  --orange-soft: rgba(255, 138, 28, 0.13);
  --green: #79c99b;
  --green-soft: rgba(121, 201, 155, 0.15);
  --amber: #ffb04d;
  --radius: 22px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.accent { color: var(--orange); }
.mono { font-family: var(--font-mono); }

/* Subtle film grain for depth */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  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");
}

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.topbar.scrolled { background: rgba(12, 12, 14, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
.topbar-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.5px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--orange); background: var(--orange-soft); border: 1px solid rgba(255, 138, 28, .35); border-radius: 10px; }
.brand-mark svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 15px 24px; border-radius: 14px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: #1a0f04; font: 700 16px/1 var(--font-display); letter-spacing: -.2px;
  box-shadow: 0 10px 30px -10px rgba(255, 138, 28, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(255, 138, 28, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 11px 16px; font-size: 14px; border-radius: 12px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: #3d3d46; box-shadow: none; background: rgba(255, 255, 255, .03); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--orange); font: 700 13px/1 var(--font-display); letter-spacing: 1.4px; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 138, 28, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 138, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 28, 0); } }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(42px, 5.6vw, 74px); line-height: .98; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--orange-2), var(--orange) 60%, #ff6a1c); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; font-weight: 800; }
h3 { font-size: 20px; letter-spacing: -.02em; }

/* Hero */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero-glow { position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; background: radial-gradient(circle, rgba(255, 138, 28, .22), transparent 62%); filter: blur(10px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.lede { margin: 26px 0 32px; max-width: 540px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14.5px; }
.hero-points span { color: var(--orange); font-size: 9px; margin-right: 6px; vertical-align: 2px; }

/* Demo */
.demo { position: relative; }
.demo-device {
  position: relative; padding: 22px; border-radius: 30px;
  background: linear-gradient(180deg, #1b1b20, #131316);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 -30px 80px -40px rgba(255, 138, 28, .25) inset;
}
.demo-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.demo-title { flex: 1; color: var(--text); font-weight: 600; }
.demo-timer { font-family: var(--font-mono); font-size: 12.5px; padding: 6px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-2); }
.demo-speech { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line-soft); min-height: 76px; }
.mic { display: flex; align-items: center; gap: 3px; height: 30px; flex: none; width: 38px; justify-content: center; }
.mic i { width: 4px; height: 8px; border-radius: 4px; background: var(--orange); opacity: .45; transition: height .2s; }
.demo.listening .mic i { opacity: 1; animation: wave 0.9s ease-in-out infinite; }
.mic i:nth-child(2) { animation-delay: .12s !important; } .mic i:nth-child(3) { animation-delay: .24s !important; } .mic i:nth-child(4) { animation-delay: .36s !important; } .mic i:nth-child(5) { animation-delay: .48s !important; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 26px; } }
.speech-text { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.35; }
.speech-label { display: block; color: var(--dim); font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
#demoSpeech .caret { display: inline-block; width: 2px; height: 1em; background: var(--orange); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.demo-card { margin-top: 14px; padding: 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.card-name { font: 700 16px var(--font-display); letter-spacing: -.02em; }
.card-chip { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; color: var(--orange-2); background: var(--orange-soft); }
.card-rows { display: grid; gap: 4px; min-height: 124px; align-content: start; }
.row { display: grid; grid-template-columns: 64px 120px 1fr; align-items: center; padding: 8px 10px; border-radius: 10px; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15px; transition: background .5s, color .5s; animation: rowIn .45s ease both; }
.row span:first-child { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.row.is-new { background: var(--green-soft); color: var(--green); }
.row.is-new span:first-child { color: var(--green); }
.row.is-flag { background: rgba(255, 176, 77, .12); color: var(--amber); }
.row .old { text-decoration: line-through; color: var(--dim); margin-right: 8px; font-weight: 500; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card-flag { margin: 10px 2px 0; color: var(--amber); font-size: 13.5px; font-weight: 600; }
.demo-reply { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; color: var(--muted); font-size: 14.5px; border: 1px dashed var(--line); transition: opacity .3s; }
.reply-orb { width: 22px; height: 22px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--orange-2), var(--orange) 55%, #7a3b07); box-shadow: 0 0 18px rgba(255, 138, 28, .5); }
.demo-reply.speaking .reply-orb { animation: breathe 1.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.18); box-shadow: 0 0 28px rgba(255, 138, 28, .8); } }
.demo-steps { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.demo-steps li { font-size: 12.5px; color: var(--dim); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-soft); transition: all .3s; cursor: pointer; }
.demo-steps li.active { color: var(--text); border-color: rgba(255, 138, 28, .5); background: var(--orange-soft); }

/* Strip */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.strip-inner { padding: 54px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; letter-spacing: -.01em; }
.strip p { margin: 0; color: var(--muted); }
.strip-strong { color: var(--text) !important; font-weight: 600; }

/* Sections */
.section { padding: 120px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lede { color: var(--muted); font-size: 19px; margin: 20px 0 0; max-width: 620px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.say-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.say { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.say:hover { transform: translateY(-3px); border-color: rgba(255, 138, 28, .35); }
.say-quote { margin: 0 0 18px; font: 600 19px/1.35 var(--font-display); letter-spacing: -.02em; }
.say-result { margin: 0; color: var(--muted); font-size: 14.5px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.say-result b { color: var(--green); font-weight: 700; }

.flow { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.flow-step { padding: 30px; border-right: 1px solid var(--line); }
.flow-step:last-child { border-right: 0; }
.flow-num { display: block; font: 600 13px var(--font-mono); color: var(--orange); margin-bottom: 14px; }
.flow-step p { color: var(--muted); margin: 8px 0 0; font-size: 15.5px; }

/* Trust */
.trust-grid, .memory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2379c99b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks b { color: var(--text); font-weight: 600; }

.timeline { position: relative; display: grid; gap: 26px; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--orange), transparent); opacity: .5; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--orange); }
.tl-time { font: 600 12.5px var(--font-mono); color: var(--dim); }
.tl-said { margin: 6px 0 12px; font: 600 17px/1.4 var(--font-display); letter-spacing: -.01em; }
.tl-card { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.tl-name { display: block; font: 700 14px var(--font-display); margin-bottom: 6px; }
.tl-row { display: grid; grid-template-columns: 56px 100px 1fr; padding: 6px 8px; border-radius: 8px; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tl-row span:first-child { color: var(--muted); font-size: 13px; }
.tl-new { background: var(--green-soft); color: var(--green); }
.tl-new span:first-child { color: var(--green); }
.tl-flag { background: rgba(255, 176, 77, .12); color: var(--amber); }
.tl-note { margin: 8px 4px 2px; color: var(--amber); font-size: 13.5px; font-weight: 600; }
.tl-edit { display: inline-block; margin: 6px 4px 0; color: var(--orange); font-size: 13px; font-weight: 700; }

/* Memory */
.memory-visual { position: relative; min-height: 440px; }
.mem-card { position: absolute; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.mem-label { margin: 0; color: var(--orange); font: 700 12px var(--font-display); letter-spacing: 1.2px; text-transform: uppercase; }
.mem-big { margin: 8px 0 4px; font: 800 38px/1 var(--font-display); letter-spacing: -.03em; }
.mem-sub { margin: 0; color: var(--muted); font-size: 14px; }
.mem-advice { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--orange-soft); font-size: 14px; color: var(--text); }
.mem-last { left: 0; top: 0; width: 78%; z-index: 2; }
.mem-plan { right: 0; top: 210px; width: 70%; z-index: 3; }
.mem-timer { left: 8%; top: 330px; width: 160px; z-index: 1; }
.mem-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 10px; background: var(--panel-2); color: var(--muted); }
.chip-next { background: var(--orange-soft); color: var(--orange-2); outline: 1px solid rgba(255, 138, 28, .4); }

/* Compare */
.compare { max-width: 900px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > span { padding: 18px 22px; font-size: 15.5px; color: var(--muted); }
.compare-row > span:first-child { color: var(--text); font-weight: 600; }
.compare-head > span { font: 700 13px var(--font-display); letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.compare-us { background: rgba(255, 138, 28, .06); color: var(--text) !important; font-weight: 600; }
.compare-head .compare-us { color: var(--orange) !important; }
.fineprint { color: var(--dim); font-size: 14px; margin: 22px 0 0; }

/* Early access */
.early { overflow: hidden; text-align: center; }
.early-glow { position: absolute; left: 50%; top: 50%; width: 1000px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(255, 138, 28, .2), transparent 65%); pointer-events: none; }
.early-inner { position: relative; max-width: 760px; }
.early .section-lede { margin-left: auto; margin-right: auto; }
.signup { margin: 36px auto 0; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; padding: 8px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); max-width: 720px; }
.signup input, .signup select { min-width: 0; padding: 14px 16px; border-radius: 13px; border: 1px solid transparent; background: var(--bg-2); color: var(--text); font: 500 15.5px var(--font-body); }
.signup select { color: var(--muted); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3a09a' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }
.signup input::placeholder { color: var(--dim); }
.signup-msg { min-height: 24px; margin: 14px 0 0; color: var(--green); font-weight: 600; }
.signup-msg.error { color: #ff8e83; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(255, 138, 28, .35); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 17.5px var(--font-display); letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Closing */
.closing { padding: 40px 0 110px; }
.closing-inner { position: relative; border-radius: 32px; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; border: 1px solid var(--line); }
.closing-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.closing-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 14, .95) 0%, rgba(12, 12, 14, .7) 45%, rgba(12, 12, 14, .1)); }
.closing-copy { position: relative; padding: 56px; }
.closing-copy h2 { margin-bottom: 30px; }
.closing-copy h2 span { color: var(--orange); }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); }
.footer-inner { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--dim); font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .trust-grid, .memory-grid { grid-template-columns: 1fr; gap: 48px; }
  .say-grid { grid-template-columns: 1fr 1fr; }
  .strip-inner { grid-template-columns: 1fr; gap: 16px; }
  .memory-visual { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 28px 0 70px; }
  .lede, .section-lede { font-size: 17px; }
  .section { padding: 84px 0; }
  .say-grid, .flow { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }
  .signup { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .compare-head > span:first-child { display: none; }
  .compare-row > span { padding: 12px 16px; font-size: 14.5px; }
  .memory-visual { min-height: 0; display: grid; gap: 14px; }
  .mem-card { position: relative; inset: auto; width: auto !important; }
  .closing-copy { padding: 30px; }
  .closing-shade { background: linear-gradient(0deg, rgba(12, 12, 14, .95) 10%, rgba(12, 12, 14, .55) 70%, rgba(12, 12, 14, .2)); }
  .footer-inner { flex-direction: column; justify-content: center; height: auto; padding: 30px 0; text-align: center; }
  .btn-small { padding: 10px 13px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
