:root {
  --ink: #0f1626; --ink-2: #3c4658; --ink-3: #6b7486; --line: #e3e7ee; --paper: #fbfcfd; --tint: #f2f5fa;
  --brand: #2f62f5; --brand-dark: #1f47c4; --brand-soft: #e9efff; --navy: #121a2e; --ok: #16a36a;
  --radius: 14px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
}
/* Dark mode: follows the visitor's system setting; the header button overrides it (data-theme on <html>). */
:root { color-scheme: light; --link: #2f62f5; --card: #fff; --header: rgba(251, 252, 253, 0.86); --mock-ui: #d5dbe5; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #e8edf6; --ink-2: #b4bdcc; --ink-3: #8590a3; --line: #243049; --paper: #0b1120; --tint: #0f172a;
    --brand: #3d6cf0; --brand-dark: #5a85ff; --brand-soft: #18264a; --navy: #070c18; --link: #8fadff;
    --card: #111a2e; --header: rgba(11, 17, 32, 0.86); --mock-ui: #33405c;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8edf6; --ink-2: #b4bdcc; --ink-3: #8590a3; --line: #243049; --paper: #0b1120; --tint: #0f172a;
  --brand: #3d6cf0; --brand-dark: #5a85ff; --brand-soft: #18264a; --navy: #070c18; --link: #8fadff;
  --card: #111a2e; --header: rgba(11, 17, 32, 0.86); --mock-ui: #33405c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-size: 17px; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 28px; }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
section { padding: 88px 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--header); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.logo svg rect { fill: var(--navy); }
.logo svg path { fill: none; stroke: #4f7bff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.logo em { font-style: normal; font-weight: 500; color: var(--ink-3); }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--ink); }
nav a.nav-cta { background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 10px; }
nav a.nav-cta:hover { opacity: .88; }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600;
  padding: 13px 22px; border-radius: 11px; border: 1px solid var(--brand); transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-3); background: var(--card); }
.btn.big { font-size: 1.05rem; padding: 16px 26px; }

/* Hero */
.hero { padding: 76px 0 92px; background:
  radial-gradient(900px 420px at 85% 10%, var(--brand-soft), transparent 60%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--link); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); letter-spacing: -0.035em; margin-bottom: 20px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 30px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-3); font-size: 15px; }
.facts b { color: var(--ink); }

/* The browser drawing in the hero */
.mock { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(15, 22, 38, 0.25), 0 2px 6px rgba(15, 22, 38, 0.06); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--tint); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--mock-ui); }
.mock-bar span { margin-left: 12px; font-size: 13px; color: var(--ink-3); background: var(--card); border: 1px solid var(--line);
  border-radius: 7px; padding: 3px 12px; flex: 1; max-width: 220px; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-hero { background: linear-gradient(135deg, var(--navy), #2a3d6b); border-radius: 10px; height: 130px; padding: 22px; display: grid; gap: 9px; align-content: center; }
.mock-hero b, .mock-hero s, .mock-hero u { display: block; border-radius: 5px; text-decoration: none; }
.mock-hero b { width: 58%; height: 16px; background: rgba(255,255,255,.9); }
.mock-hero s { width: 40%; height: 9px; background: rgba(255,255,255,.45); }
.mock-hero u { width: 82px; height: 22px; background: #4f7bff; margin-top: 4px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards p { height: 64px; border-radius: 9px; background: var(--tint); border-top: 3px solid var(--brand-soft); }
.mock-band { height: 38px; border-radius: 9px; background: var(--brand-soft); }
.mock-badge { position: absolute; right: 16px; bottom: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; color: var(--ink-2); box-shadow: 0 6px 16px rgba(15,22,38,.1); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: middle; }

/* Included + steps */
.included { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-4 h3 { margin-bottom: 8px; }
.grid-4 p, .steps p { color: var(--ink-2); font-size: 15.5px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand-soft); color: var(--link); font-weight: 700; margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }

/* Plans */
.plans { background: var(--tint); }
.section-lead { color: var(--ink-2); font-size: 1.1rem; max-width: 40em; margin: -12px 0 36px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 24px 48px -24px rgba(47, 98, 245, 0.45); }
.tag { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px; }
.price { margin: 10px 0 6px; color: var(--ink-3); }
.price b { font-size: 2.6rem; color: var(--ink); letter-spacing: -0.03em; }
.plan-for { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f62f5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan li b { color: var(--ink); }
.plan .btn { text-align: center; }
.addons { margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.addons h3 { margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th { text-align: left; font-size: 13px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 10px 0; border-bottom: 1px solid var(--line); }
td { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; padding-left: 20px; color: var(--ink); font-weight: 600; }
tr:last-child td { border-bottom: none; }
.fine { margin-top: 16px; font-size: 14px; color: var(--ink-3); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 1.6rem; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; color: var(--ink-2); }

/* Contact + footer */
.contact { padding-top: 24px; }
.contact-box { background: var(--navy); color: #fff; border-radius: 22px; padding: 52px 48px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background-image: radial-gradient(600px 300px at 90% 0%, rgba(79,123,255,.35), transparent 60%); }
.contact-box h2 { margin-bottom: 10px; color: #fff; }
.contact-box p { color: #c3cbdb; }
.foot { padding: 36px 0 44px; color: var(--ink-3); font-size: 14.5px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--ink-3); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  nav a:not(.nav-cta) { display: none; }
  .logo em { display: none; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .contact-box { padding: 36px 26px; }
  .btn.big { font-size: .95rem; width: 100%; text-align: center; overflow-wrap: anywhere; }
  td:last-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, summary::after { transition: none; } }

/* Theme button in the header */
.theme-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-2); cursor: pointer; padding: 0; }
.theme-btn:hover { color: var(--ink); border-color: var(--ink-3); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}

/* The contact band and the logo square keep an edge on the dark page. */
:root[data-theme="dark"] .contact-box, :root[data-theme="dark"] .logo svg rect { stroke: var(--line); }
:root[data-theme="dark"] .contact-box { border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact-box { border: 1px solid var(--line); }
}
