:root {
  --navy: #0d1b2e;
  --navy-2: #15294a;
  --amber: #f6b73c;
  --amber-2: #e9a21c;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --card: #ffffff;
  --ink: #0d1b2e;
  --ink-2: #33445c;
  --muted: #5b6a7f;
  --line: #e1e7ef;
  --link: #1859b0;
  --ok: #1f8a4c;
  --bad: #b42318;
  --focus: #2f7ae5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 27, 46, .06), 0 8px 24px rgba(13, 27, 46, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1320;
    --bg-alt: #0f1b2c;
    --card: #122033;
    --ink: #e8eef6;
    --ink-2: #c3cedc;
    --muted: #93a2b6;
    --line: #22324a;
    --link: #7fb2ff;
    --ok: #4cc47f;
    --bad: #ff8a80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; padding: 8px 14px; background: var(--amber); color: var(--navy); font-weight: 700; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--muted); }
.todo { background: #fff3c4; color: #6b4e00; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; font-family: inherit; line-height: 1.2; }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-2); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(13, 27, 46, .96); backdrop-filter: saturate(140%) blur(8px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo svg { color: #1e3a66; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #dbe4f0; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .btn-primary { color: var(--navy); margin-left: 8px; }
.nav .btn-primary:hover, .nav .btn-primary[aria-current="page"] { background: var(--amber-2); color: var(--navy); }
.nav-phone { white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; border-radius: 8px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn-primary { margin: 8px 0 0; }
  .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: 0 0 10px; }
}

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #20406f 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-2); margin-bottom: 12px; }
.hero .eyebrow, .eyebrow-light { color: var(--amber); }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.hero .lead { color: #c9d5e6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.cta-center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #c9d5e6; font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(246, 183, 60, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23f6b73c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }

.hero-art { display: flex; justify-content: center; }
.device { width: min(380px, 100%); background: #f8fafc; color: #0d1b2e; border-radius: 26px; padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 10px rgba(255, 255, 255, .06); transform: rotate(-2deg); }
.device-top { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 4px 4px 14px; }
.device-time { margin-left: auto; color: #5b6a7f; font-weight: 600; }
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: #1f8a4c; box-shadow: 0 0 0 4px rgba(31, 138, 76, .18); }
.clocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.clocks > div { background: #fff; border: 1px solid #e1e7ef; border-radius: 14px; padding: 10px 8px; text-align: center; }
.clock-num { display: block; font-size: 1.45rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.clocks > div:first-child .clock-num { color: #1f8a4c; }
.clock-lbl { font-size: .74rem; color: #5b6a7f; font-weight: 600; }
.grid { width: 100%; height: auto; margin: 14px 0 8px; background: #fff; border: 1px solid #e1e7ef; border-radius: 14px; padding: 6px 4px; }
.grid-lines line { stroke: #e1e7ef; stroke-width: 1; }
.grid-labels text { font: 700 11px var(--font); fill: #5b6a7f; }
.grid-trace { fill: none; stroke: #1859b0; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.device-rows { display: grid; gap: 6px; }
.row { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #e1e7ef; border-radius: 12px; padding: 9px 12px; font-size: .84rem; color: #5b6a7f; }
.pill { font-weight: 700; color: #33445c; }
.pill-ok { color: #1f8a4c; }
.pill-go { color: #1859b0; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .device { transform: none; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 48px 0 88px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.sub { font-size: 1.1rem; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p:last-child, .card .list:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); }
.ico { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: rgba(246, 183, 60, .16); stroke: #b77809; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
@media (prefers-color-scheme: dark) { .ico { stroke: var(--amber); } }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards-2 { grid-template-columns: 1fr; } }

.band { background: linear-gradient(120deg, var(--navy) 0%, #1b3763 100%); color: #fff; padding: 64px 0; }
.band-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.band p { color: #c9d5e6; max-width: 44em; margin: 0; }
@media (max-width: 760px) { .band-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.steps p { color: var(--ink-2); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 800; margin-bottom: 16px; }
@media (prefers-color-scheme: dark) { .step-n { background: #1e3a66; } }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding: 18px 20px 18px 56px; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks strong { color: var(--ink); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 18px 32px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

.section-cta { background: var(--bg); }
.section:not(.section-alt) + .section-cta { padding-top: 0; }
.cta-box { background: linear-gradient(120deg, var(--navy) 0%, #1b3763 100%); color: #fff; border-radius: 22px; padding: 56px 32px; text-align: center; }
.cta-box p { color: #c9d5e6; font-size: 1.1rem; }

/* ---------- Inner pages ---------- */
.page-head { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 64px 0 56px; }
.page-head .lead, .page-head .muted { color: #c9d5e6; }
.page-head a { color: #ffd27a; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-404 { padding: 96px 0; }

.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }

.list { padding-left: 1.2em; color: var(--ink-2); margin: 0; }
.list li { margin-bottom: .5em; }
.help-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-grid li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.help-grid strong { display: block; margin-bottom: 4px; }
.help-grid span { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .help-grid { grid-template-columns: 1fr; } }

/* ---------- Quote form ---------- */
.quote-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form { padding: 22px 18px; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; }
.field em { color: var(--bad); font-style: normal; }
.field small { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(47, 122, 229, .2); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.hint { margin: -8px 0 18px; color: var(--muted); font-size: .88rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.fine { font-size: .85rem; color: var(--muted); margin: 14px 0 22px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.status { margin: 0; font-weight: 600; }
.status-ok { color: var(--ok); }
.status-bad { color: var(--bad); }
.done { text-align: center; padding: 28px 8px; }
.done h2 { margin-bottom: .3em; }
.done-mark { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/30px no-repeat; }

.aside { display: grid; gap: 20px; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.aside-soft { background: var(--bg-alt); }
.aside-card h2 { font-size: 1.2rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.contact-list .ico { width: 36px; height: 36px; padding: 8px; margin: 0; flex: none; }
.mini-steps { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
.mini-steps li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: #c9d5e6; padding: 56px 0 24px; font-size: .95rem; }
.foot a { color: #e6edf6; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.logo-foot { margin-bottom: 12px; }
.foot-note { color: #9fb0c6; max-width: 26em; }
.foot-h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #8fa1b8; margin-bottom: 12px; font-weight: 800; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; color: #8fa1b8; font-size: .88rem; }
