:root {
  --bg: #0b0f14;
  --bg-2: #0f151c;
  --card: #141b24;
  --line: #232c37;
  --text: #e8eef5;
  --muted: #9aa7b6;
  --accent: #22d3a6;
  --amber: #f5b942;
  --red: #ff5a5f;
  --radius: 18px;
  --wrap: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw + 0.6rem, 2.4rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.center { text-align: center; }
.fine { font-size: 0.9rem; color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--accent); color: #04130e; padding: 10px 14px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand img { border-radius: 9px; }
.bar nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.bar nav a {
  text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 0.95rem;
}
.bar nav a:hover { color: var(--text); background: var(--card); }

/* hero */
.hero {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 0.95fr; } }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.9rem; }
h1 { font-size: clamp(2.3rem, 5.5vw + 0.5rem, 3.8rem); font-weight: 800; margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.05rem, 1vw + 0.9rem, 1.25rem); color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0.9rem; align-items: stretch; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: 10px 22px; border-radius: 14px; text-decoration: none; min-height: 52px; font-weight: 600;
}
.btn-store { background: var(--card); border: 1px solid var(--line); cursor: default; }
.btn-small { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.2; }
.btn-big { font-size: 1.05rem; line-height: 1.2; }
.btn-ghost { border: 1px solid var(--line); align-items: center; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-gauge { display: flex; flex-direction: column; align-items: center; }
.gauge-card {
  width: min(100%, 440px);
  background: radial-gradient(120% 100% at 50% 30%, #17212d 0%, var(--bg-2) 60%, #090c10 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px 18px 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
#gauge { display: block; width: 100%; overflow: visible; }
#gauge .num { font-weight: 800; fill: #fff; font-variant-numeric: tabular-nums; }
#gauge .unit { fill: var(--muted); }
#gauge .lbl { fill: #8593a3; font-weight: 500; }
.chips { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.chip {
  font: inherit; font-size: 0.9rem; font-weight: 500; color: var(--text);
  background: transparent; border: 1px solid #3a4452; border-radius: 9px;
  padding: 0 16px; min-height: 40px; cursor: pointer;
}
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #04130e; }
.caption { font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }

/* screenshots */
.shots {
  display: grid; gap: clamp(14px, 3vw, 28px); align-items: center; justify-items: center;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 1rem;
}
.phone {
  margin: 0; width: 100%;
  background: linear-gradient(160deg, #2a3441, #10151c);
  padding: 9px; border-radius: 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.phone img { display: block; width: 100%; border-radius: 26px; }
.phone.wide { grid-column: 1 / -1; max-width: 760px; }
@media (min-width: 980px) {
  .shots { grid-template-columns: 0.75fr 0.75fr 1.9fr; }
  .phone.wide { grid-column: auto; max-width: none; }
}

/* features */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.card strong { color: var(--text); }

/* mini window */
.mini { background: var(--bg-2); border-block: 1px solid var(--line); }
.mini-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .mini-grid { grid-template-columns: 1.1fr 0.9fr; } }
.mini p { color: var(--muted); }
.steps { padding-left: 1.3rem; margin: 1.2rem 0; }
.steps li { margin-bottom: 0.7rem; color: var(--muted); padding-left: 0.3rem; }
.steps li::marker { color: var(--accent); font-weight: 700; }
.steps strong { color: var(--text); }
.mini-shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.mini-shot img { display: block; width: 100%; }

/* privacy band */
.band {
  background: linear-gradient(135deg, #10251f, #0f1a24);
  border: 1px solid #1d3a31; border-radius: 26px; padding: clamp(1.6rem, 4vw, 3rem);
}
.band p { color: var(--muted); max-width: 44em; }
.link { color: var(--accent); font-weight: 600; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; min-height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; flex: none; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); padding: 0 20px 18px; margin: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: 0.95rem; }
.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 8px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.foot nav a:hover { color: var(--text); background: var(--card); }

/* long-form pages (privacy) */
.doc { max-width: 760px; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.doc h1 { font-size: clamp(2rem, 4vw + 0.5rem, 2.8rem); margin-bottom: 0.4rem; }
.doc h2 { font-size: 1.35rem; margin: 2rem 0 0.5rem; }
.doc p, .doc li { color: #c3ceda; }
.doc ul { padding-left: 1.2rem; }
.doc a { color: var(--accent); }
.doc .date { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar nav a { padding: 8px; font-size: 0.9rem; }
  /* one tidy header row on phones: keep only the first and last links */
  .bar nav a:nth-child(2), .bar nav a:nth-child(3) { display: none; }
  .foot nav { margin-left: -10px; }
  .brand span { font-size: 1rem; }
  .cta .btn { flex: 1 1 100%; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
