/*
  KMklopt site. System fonts, no external requests (the CSP in _headers allows none).
  Design: soft slate ink on a warm, faintly textured paper; one indigo→periwinkle gradient for emphasis; translucent
  cards with gentle shadows. One deliberate light look, also when the device prefers dark (2026-10-18).
*/
:root {
  --ink: #1c2433;
  --ink-soft: #5c6677;
  --ink-faint: #8a93a4;
  --paper: #f4f5f9;
  --paper-2: #eceff6;
  --card: rgb(255 255 255 / 72%);
  --card-solid: #ffffff;
  --line: rgb(28 36 51 / 9%);
  --line-strong: rgb(28 36 51 / 16%);
  --accent: #5d6fe3;
  --accent-ink: #3f4fb8;
  --accent-soft: rgb(93 111 227 / 10%);
  --grad: linear-gradient(135deg, #5d6fe3 0%, #7a8cf0 55%, #96a6f5 100%);
  --glow-a: rgb(122 140 240 / 28%);
  --glow-b: rgb(89 190 178 / 22%);
  --ok: #3e9f7c;
  --ok-soft: rgb(62 159 124 / 12%);
  --business: #5d6fe3;
  --commute: #3f9fa6;
  --private: #b56bb5;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(28 36 51 / 4%), 0 14px 40px rgb(28 36 51 / 7%);
  --shadow-soft: 0 1px 1px rgb(28 36 51 / 3%), 0 8px 24px rgb(28 36 51 / 5%);
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.14 0 0 0 0 0.2 0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color-scheme: light;
}


* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; position: relative;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%) fixed;
}
/* Texture and two soft glows behind everything. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 420px at 12% -5%, var(--glow-a), transparent 70%),
    radial-gradient(640px 380px at 95% 8%, var(--glow-b), transparent 70%),
    var(--noise);
}
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
img, svg { max-width: 100%; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card-solid); padding: 8px 12px; border-radius: 8px; z-index: 10; }
::selection { background: var(--accent-soft); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 5;
  backdrop-filter: saturate(140%) blur(16px);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 16px; min-height: 62px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; border-radius: 8px; box-shadow: var(--shadow-soft); }
header.site nav { margin-left: auto; display: flex; gap: 22px; align-items: center; flex-wrap: nowrap; white-space: nowrap; }
header.site nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--ink); }
.lang { border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; font-size: 13px !important; }

/* Type */
h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 650; margin: 14px 0 18px; text-wrap: balance; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.025em; line-height: 1.12; font-weight: 650; margin: 0 0 12px; text-wrap: balance; }
h3 { font-weight: 650; letter-spacing: -0.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 36em; margin: 0 0 28px; }
.intro { color: var(--ink-soft); max-width: 42em; margin: 0 0 30px; font-size: 17.5px; }
.note { font-size: 14px; color: var(--ink-faint); }
.muted { color: var(--ink-soft); }

/* Spacing utilities (the CSP allows no inline styles) */
.mt-12 { margin-top: 12px; } .mt-14 { margin-top: 14px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mb-0 { margin-bottom: 0; }

/* Buttons */
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  background: var(--grad); color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px;
  box-shadow: 0 8px 22px rgb(93 111 227 / 28%); transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgb(93 111 227 / 34%); }
.button.secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft); backdrop-filter: blur(8px); }
.button[aria-disabled="true"] { opacity: .75; cursor: default; }

/* Hero */
.hero { padding: 84px 0 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero.single { grid-template-columns: 1fr; max-width: 800px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14.5px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* Sections and cards */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-soft); backdrop-filter: blur(10px);
}
.card h3 { margin: 14px 0 8px; font-size: 18.5px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.icon svg { width: 21px; height: 21px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.top { align-items: start; }
.split.top h3 { margin: 0 0 12px; font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; color: var(--ink); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft);
}
.honest { border-left: 3px solid var(--accent); padding: 12px 18px; background: var(--card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-soft); backdrop-filter: blur(8px); }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 20px 24px 20px 70px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); }
.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 650; font-size: 14px; color: #fff; background: var(--grad);
}
.steps h3 { margin: 0 0 4px; font-size: 17.5px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 0 0 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); }
.compare { border-collapse: collapse; width: 100%; font-size: 15px; }
.compare th, .compare td { border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare thead th { color: var(--ink-faint); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.compare tbody th { font-weight: 500; }
.compare td.yes { color: var(--ok); font-weight: 650; }
.compare td.no { color: var(--ink-faint); }
.compare td.never { color: var(--accent-ink); font-weight: 650; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { position: relative; }
.price.featured { border-color: transparent; background: linear-gradient(var(--card-solid), var(--card-solid)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.price h3 { margin-top: 0; }
.amount { font-size: 38px; font-weight: 650; letter-spacing: -0.03em; margin: 6px 0 14px; }
.amount small { font-size: 14px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.price ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; display: grid; gap: 6px; }
.seat { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: center; }
.seat .amount { font-size: 56px; margin: 0; }
.seat .amount small { display: block; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; backdrop-filter: blur(8px); }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-faint); font-weight: 400; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); margin: 10px 0 0; }

/* Phone mock-up (drivers page), drawn in CSS */
.phone {
  justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2a3243, #0d121c); box-shadow: var(--shadow), inset 0 0 0 2px #3a4458;
}
.screen { height: 100%; border-radius: 34px; background: var(--paper); overflow: hidden; padding: 38px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.screen .title { font-weight: 650; font-size: 24px; letter-spacing: -0.02em; }
.mini { background: var(--card-solid); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 13px; }
.mini .big { font-size: 34px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.mini .muted { color: var(--ink-soft); }
.gauge { height: 8px; border-radius: 99px; background: var(--line-strong); margin: 10px 0 6px; overflow: hidden; }
.gauge span { display: block; height: 100%; width: 38%; background: var(--ok); border-radius: 99px; }
.trip { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.trip + .trip { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; color: #fff; white-space: nowrap; }
.tag.business { background: var(--business); }
.tag.commute { background: var(--commute); }
.tag.private { background: var(--private); }
.recording { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #d6456b; }
.recording::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgb(214 69 107 / 18%); }

/* Documents */
.doc { max-width: 760px; padding: 56px 0; }
.doc h1 { font-size: clamp(32px, 4.6vw, 44px); }
.doc h2 { font-size: 23px; margin-top: 36px; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--ink-soft); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 32px 0 56px; color: var(--ink-soft); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero, .split, .grid.two { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; gap: 36px; }
  h1 { font-size: clamp(32px, 9vw, 44px); }
  .lede { font-size: 17.5px; }
  .grid, .grid.four, .prices { grid-template-columns: 1fr; }
  .seat { grid-template-columns: 1fr; }
  .seat .amount { font-size: 44px; }
  section { padding: 48px 0; }
  .card { padding: 22px; }
  .steps li { padding: 18px 18px 18px 60px; }
  .steps li::before { left: 16px; }
  header.site .wrap { min-height: 56px; gap: 12px; }
  header.site nav { gap: 14px; }
  header.site nav a { font-size: 14px; }
  header.site nav a:not(.lang):not(.keep) { display: none; }
  .brand { font-size: 17px; }
}
@media (max-width: 400px) {
  header.site nav { gap: 10px; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .recording::before { animation: pulse 1.6s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(214 69 107 / 0%); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button:hover { transition: none; transform: none; }
}
