/* ZuDrive website. Static build, no framework. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2"),
       url("../fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B1E3F;
  --ink-2: #132A52;
  --ink-3: #1D3766;
  --text: #33445F;
  --muted: #5D6D86;
  --line: #D8E1EE;
  --line-dark: rgba(255, 255, 255, 0.14);
  --frost: #EEF4FB;
  --paper: #FFFFFF;
  --blue: #1A64DC;
  --blue-700: #1457C4;
  --blue-50: #E7F0FD;
  --cyan: #22CFE0;
  --amber: #F2A93B;
  --amber-50: #FDF3E2;
  --amber-ink: #7A4D00;
  --red: #E0464E;
  --red-50: #FCE9EA;
  --ok: #0F7A57;
  --ok-50: #E3F4EE;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --band: clamp(72px, 9vw, 120px);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;

  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.4vw, 1.3125rem);
  --fs-h3: 1.3125rem;
  --fs-h2: clamp(2rem, 3.6vw, 3rem);
  --fs-h1: clamp(2.6rem, 6.2vw, 4.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "calt" 1;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 800; }
h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.032em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; font-weight: 750; }
h4 { font-size: 1.0625rem; line-height: 1.35; font-weight: 750; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--cyan); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 10px;
  font-weight: 750; font-size: 1rem; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--frost); color: var(--ink); }
.btn--ghost-dark { border-color: rgba(255,255,255,.32); color: #fff; }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.textlink { font-weight: 750; text-decoration: none; color: var(--blue); border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.textlink:hover { color: var(--blue-700); }
.on-dark .textlink { color: #8EC2FF; }
.on-dark .textlink:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: .96875rem; }
.nav a:hover { background: var(--frost); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-actions .login { padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .96875rem; border-radius: 8px; }
.header-actions .login:hover { background: var(--frost); color: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .nav, .header-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header__in { height: 66px; }
  .brand img { height: 32px; }
  .mobile-nav { border-top: 1px solid var(--line); padding: 12px var(--gutter) 24px; background: #fff; }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.0625rem; }
  .mobile-nav a[aria-current="page"] { color: var(--blue); }
  .mobile-nav .btn { width: 100%; margin-top: 16px; }
}

/* ---------- Bands (sections) ---------- */
.band { padding-block: var(--band); }
.band--frost { background: var(--frost); }
.band--ink { background: var(--ink); color: #C9D5EA; }
.band--ink h1, .band--ink h2, .band--ink h3, .band--ink h4 { color: #fff; }
.band--tight { padding-block: calc(var(--band) * .66); }
.band + .band--flush { padding-top: 0; }

.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head p { font-size: var(--fs-lead); color: var(--muted); margin: 18px 0 0; max-width: 62ch; }
.band--ink .head p { color: #A9B8D2; }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; }
.head--split p { margin: 0; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; gap: 16px; } }

.lead { font-size: var(--fs-lead); line-height: 1.55; }
.small { font-size: var(--fs-small); color: var(--muted); }
.band--ink .small, .calc__out .small, .on-dark .small, .split__side--ink .small { color: #8FA0BE; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #BFCDE4; position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px) 0; }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% 30%; height: 90%; background: radial-gradient(closest-side, rgba(34,207,224,.18), rgba(28,107,232,.10) 55%, transparent 75%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; max-width: 13.5ch; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; margin: 26px 0 0; max-width: 46ch; color: #C9D5EA; }
.hero__who { margin: 14px 0 0; color: #fff; font-weight: 650; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__platforms { margin: 22px 0 0; font-size: var(--fs-small); color: #8FA0BE; }
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } .hero h1 { max-width: 14ch; } }

/* Trust facts directly under the hero */
.facts { position: relative; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 28px 24px 34px 0; display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-content: start; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.fact svg { width: 24px; height: 24px; color: var(--cyan); margin-top: 2px; }
.fact strong { color: #fff; font-weight: 750; display: block; line-height: 1.35; }
.fact span { grid-column: 2; font-size: var(--fs-small); color: #93A4C2; line-height: 1.5; margin-top: 4px; }
.fact--lock svg { color: var(--amber); }
@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line-dark); }
}

/* ---------- Restore demo (hero visual) ---------- */
.demo { background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(3, 10, 30, .65), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; font-size: .9375rem; }
.demo__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.demo__device { display: flex; align-items: center; gap: 12px; min-width: 0; }
.demo__device svg { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--frost); color: var(--ink); flex: none; }
.demo__device strong { display: block; color: var(--ink); line-height: 1.2; }
.demo__device span { font-size: .8125rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 99px; font-size: .8125rem; font-weight: 750; white-space: nowrap; background: var(--ok-50); color: var(--ok); transition: background-color .3s, color .3s; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status[data-tone="bad"] { background: var(--red-50); color: #B4232B; }
.status[data-tone="work"] { background: var(--blue-50); color: var(--blue-700); }

.demo__files { list-style: none; padding: 6px 20px; }
.demo__files li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.demo__files li:last-child { border-bottom: 0; }
.f-name { color: var(--ink); font-weight: 650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .3s; }
.f-name s { text-decoration: none; color: #B4232B; font-weight: 750; }
.f-state { font-size: .8125rem; color: var(--muted); white-space: nowrap; transition: color .3s; }
.demo__files li[data-state="bad"] .f-name { color: #8C2A30; }
.demo__files li[data-state="bad"] .f-state { color: #B4232B; font-weight: 700; }
.demo__files li[data-state="ok"] .f-state { color: var(--ok); font-weight: 700; }

.tl { padding: 16px 20px 18px; background: var(--frost); border-top: 1px solid var(--line); }
.tl__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.tl__head strong { color: var(--ink); font-size: .875rem; }
.tl__head span { font-size: .8125rem; color: var(--muted); }
.tl__track { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); align-items: center; padding: 32px 0 0; }
.tl__lock { position: absolute; top: 0; bottom: 20px; left: 30%; right: 0; border-radius: 10px; background: var(--amber-50); border: 1.5px solid #F4C987; }
.tl__lock em { position: absolute; top: 6px; left: 10px; font-style: normal; font-size: .75rem; font-weight: 750; color: var(--amber-ink); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.tl__lock em svg { width: 12px; height: 12px; }
.tl__lock.is-hit { animation: lockhit .7s ease 2; }
@keyframes lockhit { 50% { border-color: var(--amber); background: #FBE3B8; } }
.tl__pt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; padding-bottom: 2px; }
.tl__pt i { width: 12px; height: 12px; border-radius: 50%; background: #9FB0C8; border: 2px solid var(--frost); box-shadow: 0 0 0 1.5px #9FB0C8; transition: transform .25s, background-color .25s, box-shadow .25s; }
.tl__pt.is-locked i { background: var(--amber); box-shadow: 0 0 0 1.5px #D88E1C; border-color: var(--amber-50); }
.tl__pt b { font-size: .6875rem; font-weight: 650; color: var(--muted); }
.tl__pt.is-picked i { transform: scale(1.5); background: var(--blue); box-shadow: 0 0 0 4px rgba(28,107,232,.22); }
.tl__pt.is-picked b { color: var(--blue-700); font-weight: 800; }
.tl__legend { display: flex; gap: 16px; margin-top: 10px; font-size: .75rem; color: var(--muted); }
.tl__legend span { display: inline-flex; align-items: center; gap: 6px; }
.tl__legend span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9FB0C8; }
.tl__legend span.l-lock::before { background: var(--amber); }

.demo__log { list-style: none; padding: 14px 20px 4px; min-height: 154px; }
.demo__log li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 5px 0; font-size: .875rem; line-height: 1.45; color: var(--text); opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; }
.demo__log li.is-on { opacity: 1; transform: none; }
.demo__log li::before { content: ""; width: 9px; height: 9px; margin: 6px 0 0 4px; border-radius: 50%; background: var(--blue); }
.demo__log li[data-tone="bad"]::before { background: var(--red); }
.demo__log li[data-tone="lock"]::before { background: var(--amber); }
.demo__log li[data-tone="ok"]::before { background: var(--ok); }
.demo__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding: 12px 20px 18px; }
.demo__meta { display: inline-flex; gap: 10px; align-items: center; }
.demo__restore { pointer-events: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 9px; background: var(--frost); color: var(--muted); font-weight: 750; font-size: .875rem; transition: background-color .25s, color .25s, transform .12s; }
.demo__restore svg { width: 16px; height: 16px; }
.demo__restore.is-ready { background: var(--blue); color: #fff; }
.demo__restore.is-pressed { transform: scale(.96); background: var(--blue-700); color: #fff; }
.demo__restore.is-done { background: var(--ok-50); color: var(--ok); }
.demo__note { font-size: .75rem; color: var(--muted); }
.demo__replay { background: none; border: 0; padding: 4px 0; font-weight: 750; font-size: .8125rem; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.demo__replay[hidden] { display: none; }
@media (max-width: 520px) {
  .tl__pt b { font-size: .625rem; }
  .tl__lock em span { display: none; }
}

/* ---------- Scenario list (problem -> answer) ---------- */
.cases { border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.case h3 { display: flex; gap: 14px; align-items: flex-start; }
.case h3 svg { flex: none; width: 26px; height: 26px; color: var(--red); margin-top: 1px; }
.case p { margin: 0; font-size: 1.0625rem; }
.case p strong { color: var(--ink); }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; } }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps > li { position: relative; padding: 0 28px 0 0; counter-increment: step; }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 22px; position: relative; z-index: 1; }
.steps > li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1.5px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
.band--ink .steps > li::before { background: var(--blue); }
.band--ink .steps > li::after { background: var(--line-dark); }
.band--ink .steps p { color: #A9B8D2; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .steps, .steps--3 { grid-template-columns: 1fr; gap: 28px; }
  .steps > li { padding: 0 0 0 64px; }
  .steps > li::before { position: absolute; left: 0; top: -6px; margin: 0; }
  .steps > li::after { top: 40px; bottom: -28px; left: 19px; right: auto; width: 1.5px; height: auto; }
}

/* ---------- Audience split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.split__side { padding: clamp(28px, 4vw, 52px); }
.split__side--ink { background: var(--ink); color: #C9D5EA; }
.split__side--ink h3 { color: #fff; }
.split__side h3 { font-size: 1.75rem; letter-spacing: -0.025em; }
.split__side > p { margin: 12px 0 26px; font-size: 1.0625rem; }
.split__side .textlink { display: inline-block; margin-top: 28px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; line-height: 1.5; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C6BE8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.on-dark .ticks li::before, .split__side--ink .ticks li::before, .band--ink .ticks li::before { background-color: rgba(34,207,224,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322CFE0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- Data path (device -> storage) ---------- */
.path { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.path li { padding: 28px 24px 30px; position: relative; }
.path li + li { border-left: 1px solid var(--line-dark); }
.path .where { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.125rem; margin-bottom: 10px; }
.path .where svg { width: 22px; height: 22px; color: var(--cyan); }
.path li.is-lock .where svg { color: var(--amber); }
.path p { margin: 0; color: #A9B8D2; font-size: .96875rem; }
.path--light { border-color: var(--line); }
.path--light li + li { border-left-color: var(--line); }
.path--light .where { color: var(--ink); }
.path--light .where svg { color: var(--blue); }
.path--light li.is-lock .where svg { color: #D88E1C; }
.path--light p { color: var(--text); }
@media (max-width: 960px) {
  .path { grid-template-columns: 1fr 1fr; }
  .path li:nth-child(3) { border-left: 0; }
  .path li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .path--light li:nth-child(n+3) { border-top-color: var(--line); }
}
@media (max-width: 560px) {
  .path { grid-template-columns: 1fr; }
  .path li + li { border-left: 0; border-top: 1px solid var(--line-dark); }
  .path--light li + li { border-top-color: var(--line); }
}

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.two-col--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.two-col--wide-right { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.two-col--center { align-items: center; }
.sticky-col { position: sticky; top: 110px; }
@media (max-width: 900px) { .sticky-col { position: static; } }
@media (max-width: 900px) { .two-col, .two-col--wide-left, .two-col--wide-right { grid-template-columns: 1fr; } }

.mt-l { margin-top: clamp(36px, 5vw, 56px); }
.mt-m { margin-top: 28px; }
.mt-s { margin-top: 16px; }
.center { text-align: center; }
.row-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Key choice (tabs) ---------- */
.keys { border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.keys__tabs { display: grid; grid-template-columns: 1fr 1fr; }
.keys__tab { appearance: none; background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); padding: 18px 22px; text-align: left; color: #A9B8D2; font-weight: 750; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.keys__tab + .keys__tab { border-left: 1px solid var(--line-dark); }
.keys__tab svg { width: 20px; height: 20px; }
.keys__tab[aria-selected="true"] { background: var(--ink-2); color: #fff; box-shadow: inset 0 -3px 0 var(--cyan); }
.keys__panel { padding: 26px 24px 28px; background: var(--ink-2); }
.keys__panel[hidden] { display: none; }
.keys__panel > p { color: #fff; font-size: 1.125rem; font-weight: 650; margin-bottom: 20px; }
.keys dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line-dark); border-radius: var(--r-md); overflow: hidden; margin: 0; }
.keys dl > div { background: var(--ink-3); padding: 16px 18px; }
.keys dt { font-size: .8125rem; color: #93A4C2; margin-bottom: 4px; }
.keys dd { margin: 0; color: #fff; font-weight: 700; line-height: 1.4; }
.keys .warn { color: #FFD08A; }
@media (max-width: 560px) { .keys__tabs, .keys dl { grid-template-columns: 1fr; } .keys__tab + .keys__tab { border-left: 0; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.plan { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan--pick { background: var(--ink); color: #C9D5EA; position: relative; }
.plan--pick h3 { color: #fff; }
.plan__tag { align-self: flex-start; font-size: .8125rem; font-weight: 750; padding: 5px 11px; border-radius: 99px; background: rgba(34,207,224,.14); color: var(--cyan); margin-bottom: 14px; }
.plan h3 { font-size: 1.5rem; }
.plan__for { margin: 6px 0 22px; color: var(--muted); min-height: 3.2em; }
.plan--pick .plan__for { color: #A9B8D2; }
.price { display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.plan--pick .price { color: #fff; }
.price b { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: .9375rem; color: var(--muted); }
.plan--pick .price span { color: #A9B8D2; }
.price--talk b { font-size: 2.25rem; }
.plan__unit { font-size: .875rem; color: var(--muted); margin: 8px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan--pick .plan__unit { color: #93A4C2; border-bottom-color: var(--line-dark); }
.plan .ticks { margin-bottom: 30px; font-size: .96875rem; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } .plan__for { min-height: 0; } }

.included { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; margin-top: 28px; font-size: .9375rem; color: var(--text); }
.included span { display: inline-flex; align-items: center; gap: 8px; }
.included svg { width: 18px; height: 18px; color: var(--blue); }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.calc__in { padding: clamp(26px, 3.5vw, 44px); display: grid; gap: 26px; align-content: start; }
.calc__out { padding: clamp(26px, 3.5vw, 44px); background: var(--ink); color: #C9D5EA; display: flex; flex-direction: column; }
.calc__out h3 { color: #A9B8D2; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.calc__total { font-size: clamp(2.75rem, 5vw, 3.75rem); font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1.05; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.calc__total small { font-size: 1.0625rem; font-weight: 650; color: #A9B8D2; letter-spacing: 0; }
.calc__math { color: #A9B8D2; margin: 0 0 24px; font-variant-numeric: tabular-nums; }
.calc__out .btn { margin-top: auto; }
.calc__out .small { margin-top: 14px; margin-bottom: 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

.field-label { display: block; font-weight: 750; color: var(--ink); margin-bottom: 10px; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--frost); border-radius: 11px; padding: 4px; gap: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 18px; border-radius: 8px; font-weight: 700; color: var(--muted); text-align: center; white-space: nowrap; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11,30,63,.12), 0 0 0 1px var(--line); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.devices-row { display: grid; grid-template-columns: 1fr 120px; gap: 18px; align-items: center; }
.devices-row input[type="number"] { height: 50px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 14px; font-weight: 750; font-size: 1.125rem; color: var(--ink); font-variant-numeric: tabular-nums; width: 100%; }
input[type="range"] { width: 100%; accent-color: var(--blue); height: 28px; }
.range-ends { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); margin-top: 2px; }

/* ---------- Platform table ---------- */
.platforms { border-top: 1px solid var(--line); }
.platforms > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.platforms svg { width: 26px; height: 26px; color: var(--ink); }
.platforms strong { color: var(--ink); font-weight: 750; }
.chip { font-size: .8125rem; font-weight: 750; padding: 5px 11px; border-radius: 99px; background: var(--ok-50); color: var(--ok); white-space: nowrap; }
.chip--plan { background: var(--frost); color: var(--muted); }
.chip--no { background: var(--red-50); color: #A3242B; }

/* Scope table on product page */
.scope { width: 100%; border-collapse: collapse; font-size: 1rem; }
.scope th, .scope td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.scope thead th { font-size: .875rem; color: var(--muted); font-weight: 700; padding-top: 0; }
.scope tbody th { color: var(--ink); font-weight: 750; white-space: nowrap; }
.scope td:last-child { white-space: nowrap; }
@media (max-width: 680px) {
  .scope thead { display: none; }
  .scope tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .scope th, .scope td { display: block; border: 0; padding: 2px 0; white-space: normal; }
  .scope td:last-child { margin-top: 8px; }
}

/* ---------- Console mock (product page) ---------- */
.console { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(11,30,63,.45); font-size: .9rem; }
.console__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.console__top strong { color: var(--ink); }
.console__alert { display: flex; gap: 10px; align-items: flex-start; margin: 14px 18px 4px; padding: 12px 14px; background: var(--amber-50); border-radius: 10px; color: var(--amber-ink); font-size: .84375rem; font-weight: 650; line-height: 1.45; }
.console__alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.console table { width: 100%; border-collapse: collapse; }
.console th, .console td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.console th:first-child, .console td:first-child { padding-left: 18px; }
.console th:last-child, .console td:last-child { padding-right: 18px; text-align: right; }
.console th { font-size: .75rem; color: var(--muted); font-weight: 700; }
.console td:first-child { color: var(--ink); font-weight: 700; }
.console tr:last-child td { border-bottom: 0; }
.console .chip { font-size: .75rem; padding: 3px 9px; }
.console__note { padding: 10px 18px; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--frost); }
@media (max-width: 1180px) and (min-width: 901px), (max-width: 560px) { .console .hide-s { display: none; } }

/* ---------- Definition rows (who can see what) ---------- */
.access { border-top: 1px solid var(--line); }
.access > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.access h3 { display: flex; align-items: center; gap: 12px; }
.access h3 svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
.access p { margin: 0; }
.access p + p { margin-top: 8px; }
@media (max-width: 760px) { .access > div { grid-template-columns: 1fr; gap: 8px; } }

/* Locations */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.places > div { background: #fff; padding: 28px; }
.places .country { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.places p { margin: 8px 0 0; }
@media (max-width: 560px) { .places { grid-template-columns: 1fr; } }

/* ---------- MSP org diagram ---------- */
.orgs { background: var(--ink-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); color: #C9D5EA; }
.orgs__you { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 750; }
.orgs__you svg { width: 22px; height: 22px; }
.orgs__list { list-style: none; display: grid; gap: 10px; margin: 18px 0 0 22px; padding-left: 22px; border-left: 1.5px solid var(--line-dark); }
.orgs__list li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: 12px; background: var(--ink-3); }
.orgs__list li::before { content: ""; position: absolute; left: -23px; top: 50%; width: 22px; height: 1.5px; background: var(--line-dark); }
.orgs__list strong { color: #fff; font-weight: 700; }
.orgs__list span { color: #93A4C2; font-size: .875rem; white-space: nowrap; }
.pool { margin-top: 24px; }
.pool__bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--ink-3); margin: 10px 0 8px; }
.pool__bar i { display: block; }
.pool__bar i:nth-child(1) { width: 38%; background: var(--cyan); }
.pool__bar i:nth-child(2) { width: 22%; background: #5AA0FF; }
.pool__bar i:nth-child(3) { width: 14%; background: #8CB8FF; }
.pool__head { display: flex; justify-content: space-between; font-size: .875rem; }
.pool__head strong { color: #fff; }
.orgs__note { margin: 14px 0 0; font-size: .75rem; color: #8FA0BE; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-weight: 750; color: var(--ink); font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1E3F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 48px 24px 0; max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: end; color: #C9D5EA; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; background: url("../img/zudrive-mark.webp") center / contain no-repeat; opacity: .10; pointer-events: none; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { margin: 16px 0 0; max-width: 52ch; font-size: 1.0625rem; }
.cta .row-ctas { position: relative; z-index: 1; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); background: var(--frost); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 16ch; font-size: clamp(2.4rem, 5.4vw, 4rem); }
.page-head .lead { margin: 22px 0 0; max-width: 58ch; color: var(--text); }
.page-head .row-ctas { margin-top: 30px; }
.page-head--ink { background: var(--ink); border-bottom: 0; color: #C9D5EA; }
.page-head--ink h1 { color: #fff; }
.page-head--ink .lead { color: #C9D5EA; }
.crumbs { margin: 0 0 18px; font-size: var(--fs-small); color: var(--muted); }
.crumbs a { color: inherit; }

.subnav { position: sticky; top: 76px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: .9375rem; }
.subnav a:hover { background: var(--frost); }
@media (max-width: 960px) { .subnav { top: 66px; } }

.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--amber-50); color: var(--amber-ink); border: 1px solid #F4C987; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.notice p { margin: 0; }
.notice strong { color: #5C3A00; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); }
.form-card h2 { font-size: 1.75rem; letter-spacing: -0.025em; }
.form-card > p { color: var(--muted); margin: 8px 0 26px; }
.estimate { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; margin: 0 0 24px; border-radius: 12px; background: var(--blue-50); color: var(--ink); }
.estimate[hidden] { display: none; }
.estimate b { font-weight: 800; }
.estimate a { font-size: .875rem; font-weight: 700; white-space: nowrap; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; color: var(--ink); font-size: .9375rem; padding: 0; }
.field .req { color: var(--red); }
.field .opt { color: var(--muted); font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; font-size: 1rem; line-height: 1.4; transition: border-color .15s; }
.field input:hover, .field textarea:hover { border-color: #B7C5DA; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(28,107,232,.2); outline-offset: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--red); background: #FFF8F8; }
.field .err { color: #B4232B; font-size: .875rem; font-weight: 650; }
.field .err:empty { display: none; }
.field .hint { color: var(--muted); font-size: .8125rem; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label { position: relative; display: flex; gap: 10px; align-items: center; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 700; color: var(--ink); }
.choice input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.choice label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.choice small { display: block; font-weight: 600; color: var(--muted); font-size: .8125rem; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 24px; display: grid; gap: 14px; }
.form-foot .btn { justify-self: start; min-width: 200px; }
.form-msg { padding: 14px 16px; border-radius: 10px; font-weight: 650; }
.form-msg:empty { display: none; }
.form-msg[data-tone="error"] { background: var(--red-50); color: #8C1F26; }
.form-msg[data-tone="ok"] { background: var(--ok-50); color: #0C5E43; }
.spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .fields, .choice { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

.aside-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.aside-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.aside-list h3 { font-size: 1.0625rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.aside-list h3 svg { width: 20px; height: 20px; color: var(--blue); }
.aside-list p { margin: 0; color: var(--text); }
.aside-list .steps { grid-template-columns: 1fr; gap: 22px; margin-top: 14px; }
.aside-list .steps > li { padding: 0 0 0 52px; }
.aside-list .steps > li::before { position: absolute; left: 0; top: -2px; width: 32px; height: 32px; font-size: .875rem; margin: 0; }
.aside-list .steps > li::after { top: 32px; bottom: -22px; left: 15.5px; right: auto; width: 1.5px; height: auto; }
.aside-list .steps h4 { margin-bottom: 2px; }
.aside-list .steps p { font-size: .9375rem; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 100px; font-size: .875rem; }
.toc strong { display: block; color: var(--ink); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1.5px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.prose { max-width: 72ch; }
.prose > aside { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--amber-50); color: var(--amber-ink); border: 1px solid #F4C987; margin-bottom: 40px; }
.prose > aside svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.prose > aside strong { display: block; color: #5C3A00; margin-bottom: 4px; }
.prose > aside p { margin: 0 0 6px; }
.prose section { padding-top: 8px; margin-bottom: 36px; }
.prose h2 { font-size: 1.625rem; letter-spacing: -0.02em; margin: 0 0 14px; }
.prose h3 { font-size: 1.1875rem; margin: 22px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .9375rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose button { appearance: none; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 16px; font-weight: 750; color: var(--ink); cursor: pointer; }
.prose button:hover { border-color: var(--ink); }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--frost); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 80px) 0 32px; font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand img { height: 36px; width: auto; }
.foot-brand p { margin: 16px 0 0; color: var(--muted); max-width: 34ch; }
.foot-brand a { font-weight: 700; }
.site-footer h2 { font-size: .9375rem; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a, .linkbtn { color: var(--text); text-decoration: none; }
.site-footer ul a:hover, .linkbtn:hover { color: var(--blue); text-decoration: underline; }
.linkbtn { appearance: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .875rem; }
.foot-bottom p { margin: 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Privacy dialog / banner ---------- */
.pbanner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 60px -20px rgba(11,30,63,.4); padding: 22px; }
.pbanner[hidden] { display: none; }
.pbanner h2 { font-size: 1.125rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.pbanner p { font-size: .9375rem; margin: 0 0 16px; }
.pbanner .row-ctas .btn { min-height: 44px; }
dialog.pdialog { border: 0; border-radius: var(--r-lg); padding: 0; width: min(560px, calc(100% - 32px)); box-shadow: 0 40px 80px -20px rgba(11,30,63,.5); color: var(--text); }
dialog.pdialog::backdrop { background: rgba(11,30,63,.5); }
.pdialog__in { padding: 28px; }
.pdialog h2 { font-size: 1.5rem; margin-bottom: 8px; }
.pdialog .opt-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.pdialog .opt-row h3 { font-size: 1rem; margin-bottom: 4px; }
.pdialog .opt-row p { margin: 0; font-size: .9rem; color: var(--muted); }
.pdialog .always { font-size: .8125rem; font-weight: 750; color: var(--ok); white-space: nowrap; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #C3CFE0; transition: background-color .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .5; }
.pdialog .links { display: flex; gap: 16px; font-size: .875rem; margin: 6px 0 20px; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; }
.nf h1 { max-width: 14ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  .site-header, .site-footer, .pbanner, .subnav, .toc, .cta { display: none !important; }
  body { color: #000; }
}

/* ---------- Pricing v2 ---------- */
.page-head--price { padding-bottom: clamp(28px, 4vw, 44px); }
.band--plans { padding-top: clamp(36px, 5vw, 56px); }
.plans-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.plans-bar .small { margin: 0; }
.seg--period { border: 0; margin: 0; padding: 4px; min-width: 0; }
.price-block { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); min-height: 112px; }
.plan--pick .price-block { border-bottom-color: var(--line-dark); }
.price span[data-unit] { font-size: .8125rem; line-height: 1.25; color: var(--muted); font-weight: 650; }
.plan--pick .price span[data-unit] { color: #A9B8D2; }
.plan__alt { margin: 10px 0 0; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan--pick .plan__alt { color: #93A4C2; }
.plan > .btn { margin: 0 0 24px; width: 100%; }
.plan .ticks { margin-bottom: 0; }
.plan__plus { margin: 0 0 12px; font-size: .875rem; font-weight: 750; color: var(--ink); }
.plan--pick .plan__plus { color: #fff; }
.plan__unit { display: none; }

.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.incl > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); }
.incl > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.incl svg { width: 24px; height: 24px; color: var(--blue); grid-row: span 2; margin-top: 1px; }
.incl > div:nth-child(2) svg { color: #D88E1C; }
.incl h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.incl p { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) {
  .incl { grid-template-columns: 1fr 1fr; }
  .incl > div, .incl > div:not(:nth-child(3n+1)) { padding: 22px 20px 22px 0; border-left: 0; }
  .incl > div:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .incl { grid-template-columns: 1fr; }
  .incl > div:nth-child(2n) { padding-left: 0; border-left: 0; }
}

.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.preset { appearance: none; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; }
.preset b { color: var(--ink); font-weight: 750; font-size: .9375rem; }
.preset span { color: var(--muted); font-size: .8125rem; }
.preset:hover { border-color: #B7C5DA; }
.preset[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-50); }
@media (max-width: 560px) { .presets { grid-template-columns: 1fr; } }

.calc__more { margin: 0 0 26px; display: grid; gap: 1px; background: var(--line-dark); border-radius: 12px; overflow: hidden; }
.calc__more > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--ink-2); }
.calc__more dt { color: #A9B8D2; font-size: .9375rem; }
.calc__more dd { margin: 0; color: #fff; font-weight: 750; font-variant-numeric: tabular-nums; }
.calc__out .small a { color: #8EC2FF; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .96875rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare thead th, .compare thead td { vertical-align: bottom; padding-top: 24px; padding-bottom: 20px; border-bottom: 1.5px solid var(--ink); background: #fff; }
.compare thead th { text-align: center; width: 19%; }
.compare .corner { text-align: left; }
.th-name { display: block; font-size: 1.1875rem; font-weight: 800; color: var(--ink); }
.th-price { display: block; margin: 4px 0 14px; color: var(--muted); font-weight: 650; font-size: .875rem; font-variant-numeric: tabular-nums; }
.th-price b { color: var(--ink); font-size: 1.125rem; font-weight: 800; }
.compare thead .btn { width: 100%; max-width: 160px; }
.compare tbody th[scope="row"] { text-align: left; font-weight: 600; color: var(--text); position: sticky; left: 0; background: #fff; z-index: 1; }
.compare td { text-align: center; }
.compare .is-pick { background: #F3F7FE; }
.compare thead th.is-pick { background: #F3F7FE; box-shadow: inset 0 3px 0 var(--blue); }
.compare .grp th { text-align: left; background: var(--frost); color: var(--ink); font-weight: 800; font-size: .875rem; padding-top: 12px; padding-bottom: 12px; position: static; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C6BE8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.compare .no { color: #A8B5C8; font-weight: 700; }
.compare .txt { font-size: .875rem; color: var(--text); font-weight: 650; }

.billing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.billing > div { padding: 24px 24px 8px 0; }
.billing > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.billing h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.billing p { margin: 0; color: var(--text); font-size: .9375rem; }
@media (max-width: 900px) {
  .billing { grid-template-columns: 1fr 1fr; }
  .billing > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .billing { grid-template-columns: 1fr; }
  .billing > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
.plan--pick .plan__tag { position: absolute; top: clamp(26px, 3vw, 36px); right: clamp(26px, 3vw, 36px); margin: 0; }
@media (max-width: 900px) { .price-block { min-height: 0; } }
.btn { text-align: center; }
.compare-switch { display: none; border: 0; margin: 0 0 14px; }
@media (max-width: 720px) {
  .compare-switch { display: grid; width: 100%; }
  .compare-wrap { overflow: visible; }
  .compare, .compare thead, .compare tbody { display: block; min-width: 0; }
  .compare tr { display: flex; align-items: center; }
  .compare tr > * { display: block; }
  .compare tbody th[scope="row"], .compare .corner { flex: 1 1 auto; position: static; min-width: 0; }
  .compare td, .compare thead th { flex: 0 0 116px; width: auto; }
  .compare thead tr { align-items: stretch; }
  .compare .grp th { flex: 1 1 100%; }
  .compare-wrap[data-show="personal"] .c-business, .compare-wrap[data-show="personal"] .c-msp,
  .compare-wrap[data-show="business"] .c-personal, .compare-wrap[data-show="business"] .c-msp,
  .compare-wrap[data-show="msp"] .c-personal, .compare-wrap[data-show="msp"] .c-business { display: none; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare tbody tr { border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare tbody td { border-bottom: 0; align-self: stretch; display: flex; align-items: center; }
  .compare tbody td { justify-content: center; }
  .compare .grp th { padding: 10px 14px; }
  .compare thead .btn { max-width: none; }
}

/* ---------- Pricing v3: storage, trial ---------- */
.plan__storage { margin: -8px 0 22px; padding: 12px 14px; border-radius: 10px; background: var(--frost); color: var(--text); font-size: .9375rem; line-height: 1.4; }
.plan__storage b { color: var(--ink); font-weight: 800; font-size: 1.0625rem; margin-right: 2px; }
.plan--pick .plan__storage { background: var(--ink-2); color: #C9D5EA; }
.plan--pick .plan__storage b { color: #fff; }
.price-block { min-height: 0; margin-bottom: 18px; padding-bottom: 0; border-bottom: 0; }
.seg em.save { font-style: normal; font-size: .75rem; font-weight: 800; color: var(--ok); background: var(--ok-50); border-radius: 99px; padding: 3px 8px; margin-left: 6px; }
.seg--period span { display: inline-flex; align-items: center; }
.extra-note { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: .9375rem; }
.trial { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 22px; border-radius: var(--r-md); background: var(--blue-50); border: 1px solid #C9DCFA; color: var(--ink); }
.trial strong { font-weight: 800; }
.trial span { color: var(--text); }
.hero__trial { margin: 16px 0 0; color: #fff; font-weight: 650; font-size: .9375rem; }
.hero__trial + .hero__platforms { margin-top: 6px; }
.seg--3 { grid-auto-columns: 1fr; width: 100%; }
.seg--3 span { padding-left: 10px; padding-right: 10px; }
.presets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .presets { grid-template-columns: 1fr; } }
.field-label .opt { color: var(--muted); font-weight: 600; }
.calc__note { margin: -12px 0 20px; padding: 10px 14px; border-radius: 10px; background: rgba(242,169,59,.14); color: #FFD08A; font-size: .875rem; }
.calc__note[hidden] { display: none; }
.th-gb { display: block; margin: -10px 0 14px; font-size: .8125rem; color: var(--muted); }
.billing--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.billing--6 > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.billing--6 > div + div { padding-left: 0; border-left: 0; }
.billing--6 > div:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 900px) {
  .billing--6 { grid-template-columns: 1fr 1fr; }
  .billing--6 > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .billing--6 > div:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .billing--6 { grid-template-columns: 1fr; }
  .billing--6 > div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .billing--6 > div + div { border-top: 0; }
}
.field select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; font-size: 1rem; }
.field select:focus { border-color: var(--blue); outline: 3px solid rgba(28,107,232,.2); outline-offset: 0; }
.field[hidden] { display: none; }
@media (min-width: 1001px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero h1 { max-width: none; font-size: clamp(2.6rem, 5vw, 4.4rem); text-wrap: balance; }
}

/* Legal pages: details still to be filled in by the operator, last-updated line, tables on phones. */
.prose mark.fill { background: #FFF1B8; color: var(--ink); padding: 0 .25em; border-radius: 4px; }
.prose .updated { font-size: var(--fs-small); color: var(--muted); margin-bottom: 20px; }
.prose code { font-size: .875em; overflow-wrap: anywhere; }
.legal > * { min-width: 0; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }
