:root {
  --bg: #f9faf4;
  --surface: #ffffff;
  --ink: #12150d;
  --muted: #586050;
  --line: #e3e7d6;
  --lime: #a8e033;
  --lime-deep: #6fae14;
  --lime-ink: #10160a;
  --lime-soft: #eef8d0;
  --band: #0f1409;
  --band-ink: #eef3e2;
  --band-muted: #a7b095;
  --radius: 20px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e08; --surface: #141910; --ink: #eef2e4; --muted: #a2ab92; --line: #252c1b;
    --lime-soft: #1b2610; --band: #131a0b;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code { font: 0.92em ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--lime-soft); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* header */
header.site { position: relative; z-index: 2; padding: 18px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; letter-spacing: -0.01em; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.site { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--muted); }
nav.site a { text-decoration: none; }
nav.site a:hover { color: var(--ink); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 13px; color: var(--ink); background: var(--surface); }
@media (max-width: 760px) { nav.site .hide-sm { display: none; } }

/* hero */
.hero-bg {
  margin-top: -66px; padding-top: 66px;
  background:
    radial-gradient(900px 420px at 78% 10%, rgba(168,224,51,.34), transparent 70%),
    radial-gradient(700px 380px at 5% 0%, rgba(168,224,51,.16), transparent 70%);
}
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px 22px 60px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; text-align: center; padding-top: 36px; } .cta { justify-content: center; } }
.badge {
  display: inline-block; font-size: 13px; font-weight: 650; background: var(--lime-soft); border: 1px solid var(--line);
  padding: 5px 14px; border-radius: 999px;
}
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.035em; margin: 20px 0 18px; font-weight: 800; }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 34em; margin: 0 0 28px; }
@media (max-width: 900px) { .lead { margin-inline: auto; } }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 650; font-size: 16px; padding: 13px 22px;
  border-radius: 13px; border: 1px solid var(--line); background: var(--surface);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20,30,5,.10); }
.btn.primary { background: var(--lime); color: var(--lime-ink); border-color: transparent; box-shadow: 0 6px 20px rgba(168,224,51,.45); }
.btn.soon { color: var(--muted); }
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: var(--lime-soft); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 1px;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; }
.meta { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* app window mock */
.hero-visual { position: relative; display: grid; gap: 14px; justify-items: center; }
.window {
  width: min(100%, 420px); text-align: left; border-radius: 18px; padding: 0 16px 16px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(18px);
  border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(40,70,0,.35), 0 2px 0 rgba(255,255,255,.4) inset;
}
.win-bar { display: flex; gap: 7px; padding: 13px 2px 10px; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.win-head img { border-radius: 11px; }
.win-head b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.win-head span { font-size: 12.5px; color: var(--muted); }
.win-card { background: color-mix(in srgb, var(--bg) 70%, var(--surface)); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 10px; }
.win-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.win-row + .win-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.win-row b { font-size: 14px; display: block; }
.win-row small { font-size: 12px; color: var(--muted); display: block; }
.win-row.slim b { display: inline; }
.pill { font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); padding: 4px 12px; border-radius: 9px; }
.sw { flex: none; width: 40px; height: 24px; border-radius: 99px; background: var(--lime-deep); position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }

/* typing demo */
.typing { display: grid; place-items: center; font-size: clamp(22px, 3.4vw, 30px); min-height: 52px; }
.t { grid-area: 1 / 1; }
kbd {
  font: 600 1em ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--surface);
  border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 11px; padding: 4px 16px;
}
.result { background: var(--lime); color: var(--lime-ink); border-radius: 11px; padding: 5px 18px; font-weight: 750; box-shadow: 0 6px 18px rgba(168,224,51,.4); }
.t-wrong { animation: wrong 6s infinite; }
.t-right { animation: right 6s infinite; }
@keyframes wrong { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: none; } }
@keyframes right { 0%, 42% { opacity: 0; transform: translateY(8px); } 52%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .t-wrong { display: none; } .t-right { animation: none; opacity: 1; } }
.mock-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; max-width: 30em; }

/* sections */
section { padding: 72px 0 0; }
h2 { font-size: clamp(27px, 4vw, 40px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 42em; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--lime-soft); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; border: 1px solid var(--line); }
.foot { margin: 22px 0 0; font-size: 14px; color: var(--muted); max-width: 52em; }

/* lightweight band */
section.band { margin-top: 72px; padding: 72px 0; background: var(--band); color: var(--band-ink); }
.band .sub, .band .foot { color: var(--band-muted); }
.band code { background: rgba(168,224,51,.14); color: var(--band-ink); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.metric { border: 1px solid rgba(168,224,51,.22); border-radius: var(--radius); padding: 24px; background: rgba(168,224,51,.05); }
.metric .num { font-size: clamp(38px, 5vw, 54px); font-weight: 800; letter-spacing: -0.03em; color: var(--lime); line-height: 1.05; }
.metric .what { font-weight: 650; margin-top: 4px; }
.metric p { margin: 8px 0 0; font-size: 14.5px; color: var(--band-muted); }

/* privacy */
ol.steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; counter-reset: s; }
ol.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 24px 24px; position: relative; }
ol.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-weight: 800; margin-bottom: 12px; }
ol.steps h3 { margin: 0 0 6px; font-size: 18px; }
ol.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 650; padding: 14px 0; }
details p { margin: 0 0 16px; color: var(--muted); }

.final { text-align: center; padding: 76px 0 8px; }
footer.site { margin-top: 64px; border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: color-mix(in srgb, var(--bg) 60%, var(--surface)); }
tbody th { font-weight: 700; white-space: nowrap; }
td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tr.ours th, tr.ours td { background: var(--lime-soft); color: var(--ink); }
tr.ours td { font-weight: 550; }
.foot a { color: inherit; }

.sub.center { margin-inline: auto; }
