/* SHIELD landing — on the SHIELD design system (tokens, Onest, sh- rules).
   Light by default, dark when the system asks for it.  Colour meaning:
   --shield = protection and the main action, --impulse = the risky step. */

/* Onest, self-hosted: no request ever leaves for a third-party font CDN. */
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f6fa;
  --surface: #ffffff;
  --surface-raised: #e9eef5;
  --line: #cfd8e4;
  --line-strong: #6f7e96;
  --ink: #0b1626;
  --ink-muted: #4c5a70;
  --shield: #086d86;
  --on-shield: #ffffff;
  --shield-soft: #dff3f9;
  --impulse: #a2460a;
  --impulse-soft: #fdeee2;
  --glow-shield: 0 0 0 3px rgba(8, 109, 134, .18);
  --font-sans: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08111f;
    --surface: #0f1a2c;
    --surface-raised: #16243a;
    --line: #2c3d5a;
    --line-strong: #62748f;
    --ink: #eef3fa;
    --ink-muted: #8e9bb3;
    --shield: #39c6e8;
    --on-shield: #06141f;
    --shield-soft: #0e2a3c;
    --impulse: #ff9646;
    --impulse-soft: #2a1810;
    --glow-shield: 0 0 24px rgba(57, 198, 232, .28);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--shield); }
:focus-visible { outline: 2px solid var(--shield); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--shield); color: var(--on-shield); padding: 8px 12px; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; z-index: 10; }

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .12em; color: var(--ink); text-decoration: none; }
.nav { display: none; gap: 20px; margin-left: 8px; }
.nav a { color: var(--ink-muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.lang { margin-left: auto; display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); overflow: hidden; }
.lang button { border: 0; background: transparent; color: var(--ink-muted); padding: 6px 12px; cursor: pointer; font: inherit; font-weight: 600; }
.lang button.on { background: var(--shield); color: var(--on-shield); }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hero { padding: 56px 0 32px; }
.eyebrow { color: var(--shield); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; line-height: 16px; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5.5vw, 48px); line-height: 1.08; font-weight: 800; margin: 0 0 16px; letter-spacing: -.02em; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-muted); max-width: 680px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons: pill.  primary = the protecting action; everything else outlined. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: var(--radius-pill); border: 2px solid var(--line-strong); font-weight: 600; text-decoration: none;
  color: var(--ink); background: transparent; transition: transform .1s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--shield); border-color: var(--shield); color: var(--on-shield); box-shadow: var(--glow-shield); }
.btn.ghost { background: transparent; }
.btn.big { font-size: 18px; min-height: 56px; padding: 0 32px; }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.top-cta { display: none; }

/* ---------- first screen ---------- */
.hero-main { position: relative; display: grid; gap: 48px; align-items: center; }
.hero-main::before {  /* the videos' glow: cool light behind the phone */
  content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: 60%; height: 100%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--shield) 22%, transparent), transparent);
  pointer-events: none;
}
.badge-dev { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-muted); font-size: 13px; font-weight: 600; }
.badge-dev .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--impulse); }
h1 .accent { color: var(--shield); }
.cta-note { margin: 16px 0 0; font-size: 14px; color: var(--ink-muted); }
.hero-phone { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-phone figcaption { font-size: 13px; color: var(--ink-muted); }

/* the phone: PhoneFrame + CategoryRow + ModeCard from the design system */
.phone { width: min(300px, 80vw); aspect-ratio: 648 / 1060; padding: 8px; border-radius: 44px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--glow-shield); }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg);
  padding: 44px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 72px; height: 20px; margin-left: -36px; border-radius: 12px; background: #000000; }
.app-head { display: flex; align-items: center; gap: 8px; font-size: 15px; letter-spacing: .12em; }
.mode { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 16px 12px;
  border-radius: 20px; background: var(--shield-soft); border: 1px solid var(--shield); box-shadow: var(--glow-shield); }
.mode-mark { width: 40px; height: 40px; margin-bottom: 6px; }
.mode-title { font-weight: 700; font-size: 16px; }
.mode-state { font-weight: 700; font-size: 16px; color: var(--shield); }
.mode-note { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 14px;
  background: var(--surface-raised); border: 1px solid var(--line); }
.row.on { border-color: var(--shield); }
.row-name { font-weight: 600; font-size: 14px; }
.row-lock { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--shield); }
.row-hint { font-size: 12px; color: var(--ink-muted); }
.tgl { position: relative; flex: none; width: 40px; height: 24px; border-radius: var(--radius-pill); background: var(--line-strong); }
.tgl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #ffffff; }
.tgl.on { background: var(--shield); }
.tgl.on::after { left: 19px; }

/* ---------- sections ---------- */
.block { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.18; font-weight: 700; margin: 0 0 24px; letter-spacing: -.015em; text-wrap: balance; max-width: 22ch; }
.section-lead { font-size: 17px; color: var(--ink-muted); max-width: 640px; margin: -8px 0 32px; }
.split-title { max-width: none; }
.impulse { color: var(--impulse); }
.label { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--shield); }
.label.impulse { color: var(--impulse); }
.grid { display: grid; gap: 16px; }
/* Cards: no shadow; set apart by surface and a hairline. */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 20px; line-height: 26px; font-weight: 700; }
.card p { margin: 0; color: var(--ink-muted); }
.card-shield { background: var(--shield-soft); border-color: var(--shield); box-shadow: var(--glow-shield); }

/* the way out of the abstinence mode, step by step (StepIndicator) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.steps h3 { margin: 12px 0 4px; font-size: 17px; line-height: 22px; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-muted); }
.step-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--shield);
  color: var(--shield); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }

/* features: what works today vs what is still being built */
.status { display: inline-flex; align-items: center; height: 26px; margin-bottom: 14px; padding: 0 10px; border-radius: var(--radius-pill);
  border: 1px solid currentColor; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.status.live { color: var(--shield); background: var(--shield-soft); }
.status.dev { color: var(--ink-muted); background: var(--surface-raised); border-color: var(--line-strong); }
.card-dev { border-style: dashed; border-color: var(--line-strong); background: transparent; }

/* where we are */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.roadmap li { display: flex; gap: 16px; align-items: flex-start; }
.roadmap h3 { margin: 0 0 4px; font-size: 18px; line-height: 24px; }
.roadmap p { margin: 0; color: var(--ink-muted); max-width: 46ch; }
.rm-dot { flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg); }
.roadmap .done .rm-dot { background: var(--shield); border-color: var(--shield); }
.roadmap .now .rm-dot { border-color: var(--shield); box-shadow: var(--glow-shield); }

.plan { display: flex; flex-direction: column; align-items: flex-start; }
.plan ul { padding-left: 18px; margin: 0; color: var(--ink-muted); }
.plan li { margin: 6px 0; }
.plan.highlight { background: var(--shield-soft); border-color: var(--shield); box-shadow: var(--glow-shield); }
.price { font-size: 32px; line-height: 36px; font-weight: 700; margin: 4px 0 16px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price .per { font-size: 15px; color: var(--ink-muted); font-weight: 600; margin-left: 4px; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--ink-muted); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 10px; max-width: 780px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--ink-muted); }
.final { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final h2 { max-width: 20ch; }
.final .section-lead { margin: -8px 0 28px; }
.socials { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.socials a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.socials a:hover { border-color: var(--shield); color: var(--shield); }
.foot { max-width: 1080px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-muted); font-size: 14px; border-top: 1px solid var(--line); }

@media (min-width: 560px) { .steps { grid-template-columns: 1fr 1fr; } }
.nav a { white-space: nowrap; }
@media (min-width: 720px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
  .grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .hero { padding: 96px 0 56px; }
  .roadmap { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .hero-main { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding: 88px 0 72px; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .top-cta { display: inline-flex; }
}
@media (min-width: 1040px) { .nav { display: flex; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
