:root {
  --bg: #0b0d12;
  --bg-soft: #11141b;
  --panel: #161a23;
  --line: #232838;
  --ink: #eef0f5;
  --ink-soft: #a8adbe;
  --accent: #9ae66e;
  --accent-soft: #5ec5a8;
  --accent-ink: #06120c;
  --warn: #f0b86e;
  --radius: 14px;
  --radius-lg: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }

p { margin: 0 0 14px; color: var(--ink-soft); }
p.lead { font-size: 18px; color: var(--ink); max-width: 540px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11,13,18, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.logo-mark { color: var(--accent); font-size: 22px; line-height: 1; }
.logo-text { font-size: 17px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--ink-soft); font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 600px) { .nav-links { display: none; } }

/* hero */
.hero { padding: 70px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -100px 0 auto 0; height: 480px;
  background: radial-gradient(60% 70% at 30% 30%, rgba(154,230,110,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  position: relative;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 50px; } }

.eyebrow {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--ink-soft); font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em;
  margin: 0 0 22px;
}
.accent { color: var(--accent); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 12px; }
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: var(--radius); font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent; text-decoration: none; transition: transform .12s ease, background .12s ease;
  min-width: 200px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #a9ec7e; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); }
.btn-sub { font-size: 11.5px; opacity: 0.75; font-weight: 500; margin-top: 3px; }

.cta-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

/* hero visual — phone mockup with a fake keyboard */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 320px; max-width: 100%; aspect-ratio: 9 / 18.5;
  background: #1c1f29; border: 1px solid var(--line);
  border-radius: 36px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 8px 24px -10px rgba(154,230,110,0.12);
  position: relative;
}
.phone::after {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #0b0d12; border-radius: 14px;
}
.phone-screen {
  background: #0d1117; border-radius: 26px; height: 100%;
  display: flex; flex-direction: column; padding: 38px 12px 12px;
  overflow: hidden;
}

.chat-line {
  font-size: 13px; padding: 8px 12px; border-radius: 14px; margin-bottom: 8px;
  max-width: 78%; word-wrap: break-word;
}
.chat-line.them { background: #1f2532; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-line.me { background: #1d3a2c; color: #d8f5c5; align-self: flex-end; border-bottom-right-radius: 4px; margin-left: auto; }

.kb {
  margin-top: auto; background: #161a23; border: 1px solid var(--line);
  border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px;
}
.kb-bar { display: flex; gap: 6px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; padding: 4px 10px;
  background: #1f2532; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11.5px; color: var(--ink-soft); font-weight: 500;
}
.chip-on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.chip-tone { background: #2a3144; color: var(--ink); margin-left: auto; }
.kb-bar-spacer { flex: 1; }

.kb-draft {
  background: #0d1117; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; font-size: 12.5px; color: var(--ink-soft);
  min-height: 36px; display: flex; align-items: center; gap: 4px;
}
.kb-draft-rough { font-style: italic; }
.kb-cursor {
  display: inline-block; width: 1.5px; height: 13px; background: var(--accent);
  animation: blink 1.05s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.kb-actions { display: flex; gap: 6px; align-items: center; }
.kb-mic, .kb-polish, .kb-insert {
  border: none; border-radius: 8px; cursor: default; font-size: 12.5px; font-weight: 600;
  padding: 8px 10px; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.kb-mic { background: #2a3144; color: var(--ink); width: 38px; height: 38px; padding: 0; }
.kb-polish { background: var(--accent); color: var(--accent-ink); flex: 1; }
.kb-polish .sparkle { font-size: 13px; }
.kb-insert { background: #1f2532; color: var(--ink); width: 38px; height: 38px; padding: 0; font-size: 16px; }

.kb-keys { display: flex; flex-direction: column; gap: 4px; }
.kb-row { display: flex; gap: 3px; justify-content: center; }
.kb-row span {
  flex: 1; padding: 7px 0; text-align: center;
  background: #1f2532; border-radius: 5px; font-size: 11px; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.kb-row span.wide { flex: 1.4; }

/* how */
.how, .why, .install, .privacy { padding: 80px 0; border-top: 1px solid var(--line); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 800px) { .step-grid { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.step-num {
  display: inline-block; padding: 4px 10px; background: var(--panel); border-radius: 999px;
  color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 16px;
}

/* why */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-card em { color: var(--accent); font-style: normal; }

/* install */
.install-steps {
  margin: 28px 0 12px; padding: 0; list-style: none; counter-reset: steps;
  display: grid; gap: 14px;
}
.install-steps li {
  counter-increment: steps;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px 18px 60px; position: relative; color: var(--ink);
}
.install-steps li::before {
  content: counter(steps);
  position: absolute; left: 18px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.install-steps em { color: var(--ink-soft); font-style: normal; }
.install-note { color: var(--ink-soft); font-size: 14px; }

/* privacy */
.privacy p { max-width: 760px; color: var(--ink); }

/* footer */
footer { padding: 28px 0 60px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13.5px; }
footer .wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
