:root {
  --bg: #f6f8fa; --surface: #ffffff; --surface-2: #f1f4f7; --text: #121d26; --muted: #5a6b7b;
  --line: #e1e7ed; --accent: #0b7a99; --accent-2: #0e93b8; --accent-ink: #ffffff; --accent-soft: #e3f2f7;
  --danger: #c0392b; --ok: #1e8449; --hero-1: #e8f4f8; --hero-2: #f6f8fa;
  --shadow: 0 1px 2px rgba(16, 32, 48, .06), 0 12px 32px rgba(16, 32, 48, .10);
  --radius: 14px; --max: 1160px;
}
:root[data-theme="dark"] {
  --bg: #0b1218; --surface: #121c24; --surface-2: #16222c; --text: #e5edf2; --muted: #93a6b5;
  --line: #22313d; --accent: #3db4d6; --accent-2: #63c6e2; --accent-ink: #052029; --accent-soft: #10303c;
  --danger: #ef6b5d; --ok: #5bc27f; --hero-1: #0f2632; --hero-2: #0b1218;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1218; --surface: #121c24; --surface-2: #16222c; --text: #e5edf2; --muted: #93a6b5;
    --line: #22313d; --accent: #3db4d6; --accent-2: #63c6e2; --accent-ink: #052029; --accent-soft: #10303c;
    --danger: #ef6b5d; --ok: #5bc27f; --hero-1: #0f2632; --hero-2: #0b1218;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .45);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.theme-btn { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; width: 36px; height: 36px;
  display: grid; place-items: center; cursor: pointer; }
.theme-btn:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; font-size: 15px; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn.small { padding: 8px 14px; font-size: 14px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 70% -10%, var(--hero-1), var(--hero-2) 70%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent); font-size: 13px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 18px 0 18px; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { width: 18px; height: 18px; color: var(--ok); }

.window { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.window .bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.window img { width: 100%; }
.shot-light { display: block; } .shot-dark { display: none; }
:root[data-theme="dark"] .shot-light { display: none; } :root[data-theme="dark"] .shot-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-light { display: none; }
  :root:not([data-theme="light"]) .shot-dark { display: block; }
}

/* sections */
section { padding: 84px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* before/after slider */
.compare { position: relative; max-width: 980px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); user-select: none; touch-action: pan-y; }
.compare img { width: 100%; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px;
  border-radius: 50%; background: #fff; color: #0b7a99; display: grid; place-items: center; font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tag { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #fff; }
.compare .tag.b { left: 12px; background: rgba(192, 57, 43, .9); } .compare .tag.a { right: 12px; background: rgba(30, 132, 73, .92); }
.caption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

/* features */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .feature { background: var(--bg); }
.feature .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 24px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 17px; } .step p { margin: 0; color: var(--muted); font-size: 15px; }

/* tour */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); padding: 8px 16px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tour { max-width: 1060px; margin: 0 auto; }
.tour figure { margin: 0; display: none; } .tour figure.active { display: block; }
.tour figcaption { text-align: center; color: var(--muted); margin-top: 14px; font-size: 15px; }

/* compare table */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table.vs { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
table.vs th, table.vs td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
table.vs th:first-child, table.vs td:first-child { text-align: left; }
table.vs thead th { background: var(--surface-2); font-size: 14px; }
table.vs thead th.us { background: var(--accent); color: var(--accent-ink); }
table.vs td.us { background: var(--accent-soft); font-weight: 600; }
table.vs tr:last-child td { border-bottom: none; }
.y { color: var(--ok); font-weight: 700; } .n { color: var(--muted); }
.note { color: var(--muted); font-size: 14px; }

/* security */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; }
.checks .icon { color: var(--ok); margin-top: 2px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .for { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.price { font-size: 34px; font-weight: 750; margin: 14px 0 0; letter-spacing: -0.02em; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 8px; } .plan li .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.plan .btn { justify-content: center; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* final cta */
.final { text-align: center; background: linear-gradient(135deg, #0b6f8b, #0f2733); color: #fff; border-radius: 20px; padding: 56px 24px; }
.final h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; }
.final p { color: #cfe3ea; margin: 0 0 26px; }
.final .btn.primary { background: #fff; color: #0b6f8b; }
.final .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }

footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* legal pages */
.doc { max-width: 760px; padding: 48px 16px 72px; margin: 0 auto; }
.doc h1 { font-size: 34px; margin-bottom: 4px; letter-spacing: -0.02em; }
.doc h2 { font-size: 20px; margin-top: 34px; }

@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .theme-btn { margin-left: auto; }
  .pricing, .grid3, .steps { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero .wrap { padding-top: 40px; padding-bottom: 48px; }
}
