/* ==========================================================================
   Vroomio Owner Landing — styles.css
   Design tokens → base → layout → components → responsive → motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   @font-face — self-hosted variable fonts
   -------------------------------------------------------------------------- */

/* DM Sans — body (variable weight 100–900) — latin-ext */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* DM Sans — body (variable weight 100–900) — latin */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Mona Sans Expanded — display weight 400 — latin-ext */
@font-face {
  font-family: "Mona Sans Expanded";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/mona-sans-expanded-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* Mona Sans Expanded — display weight 400 — latin */
@font-face {
  font-family: "Mona Sans Expanded";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/mona-sans-expanded-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Mona Sans Expanded — display headings weight 600 — latin-ext */
@font-face {
  font-family: "Mona Sans Expanded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/mona-sans-expanded-600-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* Mona Sans Expanded — display headings weight 600 — latin */
@font-face {
  font-family: "Mona Sans Expanded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/mona-sans-expanded-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Mona Sans Expanded — display headings weight 700 — latin-ext */
@font-face {
  font-family: "Mona Sans Expanded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/mona-sans-expanded-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* Mona Sans Expanded — display headings weight 700 — latin */
@font-face {
  font-family: "Mona Sans Expanded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/mona-sans-expanded-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --c-primary: #075056;
  --c-primary-dark: #043034;
  --c-primary-50: #f9fbfb;
  --c-primary-100: #e6edee;
  --c-primary-200: #cddcdd;

  --c-accent: #f05401;
  --c-accent-400: #ff7c36;
  --c-accent-600: #cc4903;
  --c-accent-50: #ffefe6;
  --c-accent-100: #ffdecd;

  --c-text: #090a0a;
  --c-text-primary: #064045;
  --c-text-secondary: #5b5f60;
  --c-text-inverse: #f9fbfb;

  --c-surface: #ffffff;
  --c-border: #cddcdd;

  --c-green: #0c8e5a;
  --c-green-50: #d5f5e9;
  --c-yellow: #cc8c02;
  --c-yellow-50: #fff7e6;
  --c-blue: #0e63a1;
  --c-blue-50: #ebf7ff;
  --c-purple: #6a35cc;
  --c-purple-50: #f0e4ff;

  /* Shadows */
  --shadow-1: 0 0 30px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 0 20px rgba(0, 0, 0, 0.12);

  /* Shape */
  --radius: 24px;
  --radius-sm: 16px;

  /* Typography */
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Mona Sans Expanded", "DM Sans", system-ui, sans-serif;

  /* Layout */
  --wrap: 1440px;
}

/* --------------------------------------------------------------------------
   CSS Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

/* Legal pages: no smooth scroll, so the browser's scroll restoration can't
   animate the page down on load — they always open at the top. overflow-anchor
   off stops late font/layout shifts from nudging the scroll position. */
html.legal-html {
  scroll-behavior: auto;
  overflow-anchor: none;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background-color: var(--c-primary-50);
  /* Body is the containing block for absolutely-positioned decorations,
     so its clip actually contains them and nothing can force h-scroll. */
  position: relative;
  overflow-x: clip;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  overflow-wrap: break-word;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1,
.h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-text-primary);
}

h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.15;
  color: var(--c-text-primary);
}

h3,
.h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.33;
  color: var(--c-text-primary);
}

h4,
.h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: var(--c-text-primary);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9e3a04;
  margin: 0 0 16px;
}

.section-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-text-secondary);
  max-width: 62ch;
  margin: 12px 0 0;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

main {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Shared card
   -------------------------------------------------------------------------- */
.card {
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-1);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
/* Canonical button (Figma "Button-l") — used everywhere */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  padding: 16px 24px;
  border-radius: 32px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
}

/* Disabled state — applied by shared/form.js while required fields are
   incomplete. Dimmed, non-interactive, and no hover lift. */
.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn:disabled:hover,
.btn[disabled]:hover {
  transform: none;
  box-shadow: none;
}

/* Global keyboard-focus indicator for every interactive element
   (nav links, language toggle, chips, FAQ summaries, social/footer links). */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Medium size variant */
.btn-md {
  font-size: 14px;
  line-height: 20px;
  padding: 10px 20px;
  border-radius: 24px;
}

@media (max-width: 1024px) {
  .btn:not(.btn-md) {
    font-size: 14px;
    line-height: 20px;
    padding: 10px 20px;
    border-radius: 24px;
  }
}

/* Primary */
.btn-primary {
  background-color: var(--c-primary);
  color: var(--c-text-inverse);
  border-color: var(--c-primary);
}

.btn-primary:hover {
  background-color: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Loading state: hide the label, show a centered spinner. Applied by
   shared/form.js on submit. Spinner colour assumes light text (primary btn). */
.btn.is-loading {
  color: transparent;
  position: relative;
  pointer-events: none;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(249, 251, 251, 0.4);
  border-top-color: var(--c-text-inverse);
  animation: btnSpin 0.6s linear infinite;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after {
    animation-duration: 1.2s;
  }
}

/* Secondary (outlined) — Text-Primary #064045 border + text */
.btn-secondary {
  background-color: transparent;
  color: var(--c-text-primary);
  border-color: var(--c-text-primary);
}

.btn-secondary:hover {
  background-color: var(--c-primary-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Accent (filled orange) — used on the waitlist CTA card */
.btn-accent {
  background-color: var(--c-accent-600);
  color: var(--c-text-inverse);
  border-color: var(--c-accent-600);
}

.btn-accent:hover {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.btn-accent:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   SVG icons
   -------------------------------------------------------------------------- */
.icon,
svg use {
  fill: currentColor;
}

/* Feature & insurance tile icons: 32px */
.feature-icon svg,
.insurance-type-icon svg {
  width: 32px;
  height: 32px;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
/* Mobile: transparent full-width bar (sits over the hero photo); desktop turns into a white card */
.site-header {
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
}

/* Right side group: nav + actions (Figma: 48px between them) */
.header-right {
  display: none;
  align-items: center;
  gap: 48px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.site-logo__img {
  width: 120px;
  height: 15.884px;
  aspect-ratio: 120 / 15.88;
  flex-shrink: 0;
  display: block;
}

.site-logo__wordmark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--c-primary);
}

.site-logo--inverse .site-logo__wordmark {
  color: var(--c-text-inverse);
}

/* Desktop nav — inside .header-right (Figma: gap 16) */
.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: var(--c-text-primary);
  padding: 4px 6px;
  border-radius: 8px;
  transition: color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--c-accent);
}

/* Header actions — buttons group (Figma: 8px between buttons) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}


/* Language toggle */
/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  padding: 10px;
  width: 24px;
  height: 24px;
  box-sizing: content-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 24px;
  background: #E6EDEE;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.lang-btn::-webkit-details-marker { display: none; }
.lang-btn::marker { display: none; }

.lang-btn:hover {
  background: #d4e3e5;
}

.lang-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  min-width: 140px;
  padding: 6px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-option {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--c-text);
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.12s ease;
  white-space: nowrap;
}

.lang-option:hover {
  background: #E6EDEE;
}

.lang-option--active {
  color: var(--c-primary);
  font-weight: 600;
}

/* Mobile: dropdown expands inline */
.lang-dropdown--inline {
  position: static;
}

.lang-dropdown__panel--inline {
  position: static;
  box-shadow: none;
  background: transparent;
  padding: 4px 0 0;
}

/* --------------------------------------------------------------------------
   Mobile hamburger (pure CSS, <details>)
   -------------------------------------------------------------------------- */
.nav-mobile {
  margin-left: auto;
  position: relative;
}

/* Remove default disclosure triangle */
.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
}

.nav-mobile > summary::-webkit-details-marker {
  display: none;
}

.nav-mobile__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: transparent;
  transition: background-color 0.15s ease;
}

.nav-mobile__toggle:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Hamburger lines (white — sits over the hero photo) */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  pointer-events: none;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Animate to X when open */
.nav-mobile[open] .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-mobile[open] .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-mobile[open] .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel */
.nav-mobile__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, 90vw);
  background: var(--c-surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

.nav-mobile__panel nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile__panel .nav-link {
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 10px;
}

.nav-mobile__panel .lang-dropdown {
  align-self: flex-start;
}

.nav-mobile__panel .btn {
  text-align: center;
  width: 100%;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
/* Decorative map background behind the top of the page (from the app's auth pages) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  height: 2158px;
  max-width: none;
  z-index: -2;
  pointer-events: none;
  background-color: var(--c-primary-50);
}

/* The map image — very faint (3% opacity) */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/assets/img/hero-bg.webp) -114px -0.03px / 111.875% 100.003% no-repeat;
  opacity: 0.03;
}

/* Fade the map out to the page background colour (avoids a visible seam
   where the 2158px decoration ends — page bg is --c-primary-50, not #fff) */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(249, 251, 251, 0) 40%, var(--c-primary-50) 72%);
}

.section-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(24px, 6vw, 48px) clamp(32px, 6vw, 64px);
  background: transparent;
}

/* Decorative glow layer pinned to the first screen (adapts to viewport height) */
.screen-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.hero-ellipse {
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1;
  filter: blur(90px);
}

/* Green — top-right of the first screen */
.hero-ellipse--1 {
  width: clamp(320px, 42vw, 720px);
  top: -14%;
  right: -6%;
  background: var(--c-green-50);
  opacity: 0.55;
}

/* Orange — bottom-left of the first screen */
.hero-ellipse--2 {
  width: clamp(300px, 40vw, 640px);
  bottom: -14%;
  left: -6%;
  background: var(--c-accent-100);
  opacity: 0.4;
  filter: blur(110px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-h1 {
  font-family: var(--font-display); /* Mona Sans Expanded */
  font-weight: 600; /* second line */
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.28; /* 82 / 64 */
  letter-spacing: -0.01em;
  color: var(--c-text); /* #090A0A */
}

/* First line of the hero headline — accent orange, bold, on its own line */
.hero-h1__accent {
  display: block;
  font-weight: 700;
  color: var(--c-accent); /* #F05401 */
}

.hero-sub {
  font-family: var(--font-body); /* DM Sans */
  font-size: 18px;
  font-weight: 400;
  line-height: 1.333;
  color: var(--c-text); /* #090A0A */
  max-width: 52ch;
  margin: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Hero badge pills — stacked under the image on mobile, floated over it on desktop */
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-top: 20px;
}

/* Colored icon tile inside each hero badge */
.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  flex-shrink: 0;
}

.badge-icon .icon {
  width: 24px;
  height: 24px;
}

.badge-icon--orange {
  background: var(--c-accent-50);
  color: var(--c-accent);
}

.badge-icon--yellow {
  background: var(--c-yellow-50);
  color: var(--c-yellow);
}

.badge-icon--green {
  background: var(--c-green-50);
  color: var(--c-green);
}

/* Hero badge cards — one common style; width is content-driven (wraps via max-width) */
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  padding: 8px;
  border-radius: 16px;
  background: var(--c-surface);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.12);
  color: var(--c-text); /* #090A0A */
  font-family: var(--font-body); /* DM Sans */
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
}

/* Top card gets the orange gradient */
.hero-badges .badge:first-child {
  background: linear-gradient(270deg, #ffbd9b 0%, var(--c-accent-100) 100%);
}

/* Hero image */
.hero-image-wrap {
  position: relative;
}

/* Hero image — rounded, clipped frame with the photo cropped inside (matches Figma) */
.hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 103 / 82;
  border-radius: 40px;
  overflow: clip;
  box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.12);
}

.hero-image img,
.hero-image picture {
  display: block;
}

.hero-image img {
  position: absolute;
  top: 0;
  left: -14.51%;
  width: 119.38%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Floating badge chips positioned over hero image (desktop only — see responsive) */
.badge-float {
  /* Floating animation handled in motion section below */
}

/* Mobile-only single badge (shown inside hero content on phones) */
.hero-badge-mobile {
  display: none;
}

/* --------------------------------------------------------------------------
   HERO — Mobile layout (≤1024): full-bleed photo, green gradient, content at bottom
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Desktop-only page decorations (fixed 1920px map + glows) — off on mobile to avoid overflow */
  .hero-bg,
  .screen-glow {
    display: none;
  }

  /* Sticky mobile header — transparent until user scrolls, then dark green */
  .site-header {
    position: sticky;
    top: 0;
    transition: background-color 0.25s ease;
  }

  .site-header.is-scrolled {
    background: #043034;
  }

  /* Pull the hero up behind the transparent sticky header so the photo fills the gap */
  .section-hero {
    margin-top: -52px;
  }

  .section-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    /* Taller than the screen so the rounded bottom sits below the fold */
    min-height: calc(100svh + 40px);
    padding: 0;
    background: #043034;
    border-radius: 0 0 32px 32px;
    overflow: hidden;
  }

  /* Photo — full-bleed section background */
  .section-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: image-set(
      url(/assets/img/hero-owner.webp) type("image/webp"),
      url(/assets/img/hero-owner.jpg) type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Green gradient: photo visible at top, solid dark green at the bottom */
  .section-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(0deg, #043034 24.04%, rgba(4, 48, 52, 0) 100%);
  }

  /* Desktop photo card hidden on mobile (photo is the ::before background) */
  .hero-image-wrap {
    display: none;
  }

  /* Content fills the section and sits at the bottom, over the gradient */
  .hero-inner {
    position: relative;
    z-index: 2;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
  }

  .hero-content {
    gap: 16px;
    /* Buttons sit 40px above the visible bottom; extra green + rounding stays below */
    padding-bottom: 64px;
  }

  /* Mobile badge */
  .hero-badge-mobile {
    display: block;
  }

  .hero-badge-mobile .badge {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 8px 12px;
    border-radius: 24px;
    background: linear-gradient(270deg, #ffbd9b 0%, var(--c-accent-100) 100%);
    font-size: 16px;
    line-height: 20px;
    max-width: none;
  }

  .hero-badge-mobile .badge-icon {
    padding: 0;
    border-radius: 12px;
    background: transparent;
  }

  .hero-badge-mobile .badge-icon .icon {
    width: 24px;
    height: 24px;
  }

  /* Text — inverse over the green */
  .hero-h1 {
    font-size: 38px;
    line-height: normal;
    color: var(--c-text-inverse);
  }

  .hero-h1__accent {
    color: var(--c-accent);
  }

  .hero-sub {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--c-text-inverse);
    max-width: none;
  }

  /* Buttons — full width, inverted for the dark hero */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-ctas .btn-primary {
    background: var(--c-primary-100);
    color: var(--c-text-primary);
    border-color: var(--c-primary-100);
  }

  .hero-ctas .btn-secondary {
    background: transparent;
    color: var(--c-text-inverse);
    border-color: var(--c-text-inverse);
  }
}

/* --------------------------------------------------------------------------
   PRO KOHO — Audience section
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(56px, 8vw, 90px);
}

.section-audience {
  background: transparent;
}

.audience-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.audience-col {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
  min-width: 0;
}

.audience-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audience-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.286;
  color: var(--c-text);
}

.audience-h2__accent {
  color: var(--c-accent);
}

.audience-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.45;
  color: var(--c-text);
  margin: 0;
}

.audience-image-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: clamp(24px, 3vw, 48px);
  overflow: hidden;
  box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.12);
}

.audience-image-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.audience-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Personas gradient card */
.personas-card {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
  padding: clamp(24px, 4vw, 56px);
  border-radius: 40px;
  background: linear-gradient(90deg, var(--c-accent-100) 0%, var(--c-accent-50) 100%);
  list-style: none;
  margin: 0;
}

.persona {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.persona-number {
  flex-shrink: 0;
  width: 62px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.4vw, 40px);
  line-height: 1.2;
  color: var(--c-accent);
}

.persona-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.persona-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.33;
  color: var(--c-text);
  margin: 0;
}

.persona-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  color: var(--c-text);
  margin: 0;
}

/* Info note banner */
.audience-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(16px, 1.6vw, 20px) clamp(18px, 1.8vw, 24px);
  border-radius: var(--radius-sm);
  background: var(--c-blue-50);
  margin: 0;
}

.audience-note__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--c-blue);
  margin-top: 2px;
}

.audience-note span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  color: var(--c-text);
}

/* --------------------------------------------------------------------------
   CO ZISKATE — Features section
   -------------------------------------------------------------------------- */
.section-features {
  background: transparent;
}

.features-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(32px, 4vw, 48px);
}

/* Heading block (eyebrow + h2 + sub) */
.features-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.features-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 16px;
}

.features-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.286;
  color: var(--c-text);
  margin: 0;
}

.features-h2__accent {
  color: var(--c-accent);
}

.features-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.33;
  color: #000;
  margin: 24px 0 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  border-radius: 16px;
  background: var(--c-surface);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.06);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
}

.feature-icon--purple { background: var(--c-purple-50); color: var(--c-purple); }
.feature-icon--teal   { background: var(--c-primary-100); color: var(--c-primary); }
.feature-icon--yellow { background: var(--c-yellow-50); color: var(--c-yellow); }
.feature-icon--green  { background: var(--c-green-50); color: var(--c-green); }
.feature-icon--orange { background: var(--c-accent-50); color: var(--c-accent); }
.feature-icon--blue   { background: var(--c-blue-50); color: var(--c-blue); }

.feature-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.33;
  color: var(--c-text);
  margin: 0;
}

.feature-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  color: var(--c-text);
  margin: 0;
}

.features-cta {
  display: flex;
  align-self: stretch;
}

.features-cta .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   APLIKACE — App section
   -------------------------------------------------------------------------- */
.section-app {
  background: transparent;
}

/* Big rounded gradient card */
.app-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 4vw, 32px);
  /* No bottom padding on mobile — the phone reaches the card's bottom edge */
  padding: clamp(40px, 7vw, 64px) clamp(24px, 5vw, 56px) 0;
  border-radius: 40px;
  background: linear-gradient(90deg, var(--c-primary-100) 0%, var(--c-primary-50) 100%);
}

/* Faint Vroomio mark behind the content */
.app-card__mark {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(80%, 420px);
  height: auto;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.app-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.app-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.286;
  color: var(--c-text);
  margin: 0;
}

.app-h2__accent {
  color: var(--c-accent);
}

.app-sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.4;
  color: var(--c-text);
  margin: 0;
}

.app-phone {
  position: relative;
  z-index: 1;
  width: min(72%, 280px);
  margin-top: clamp(8px, 3vw, 20px);
  /* Pull the card's bottom edge up over the phone so its lower part is
     clipped (overflow:hidden) — the phone "peeks" out of the card */
  margin-bottom: clamp(-170px, -30vw, -110px);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, opacity 0.5s ease 0.15s;
}

.app-phone img {
  display: block;
  width: 100%;
  height: auto;
}

/* Phone starts below the card and slides up into place when the section
   scrolls into view (the card's overflow:hidden clips it while hidden) */
.app-card:not(.is-in) .app-phone {
  transform: translateY(110%);
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Shared section head (orange eyebrow + two-colour H2 + sub)
   -------------------------------------------------------------------------- */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sec-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 16px;
}

.sec-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.286;
  color: var(--c-text);
  margin: 0;
}

.sec-h2__accent {
  color: var(--c-accent);
}

.sec-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.333;
  color: #000;
  margin: 24px 0 0;
  max-width: 70ch;
}

/* --------------------------------------------------------------------------
   KALKULACKA — Calculator section
   -------------------------------------------------------------------------- */
.section-calculator {
  display: none;
}

.section-calculator .wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
}

/* Left: inputs card */
.calc-inputs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 48px);
  border-radius: 24px;
  background: var(--c-surface);
  box-shadow: var(--shadow-2);
}

.calc-preset-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--c-text-primary);
  margin: 0 0 10px;
}

/* Chip group */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--c-border);
  background: var(--c-primary-50);
  color: var(--c-text-primary);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  min-height: 44px;
  line-height: 1;
}

.chip:hover {
  background-color: var(--c-primary-100);
  border-color: var(--c-primary-200);
}

.chip[aria-pressed="true"] {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.chip[aria-pressed="true"]:hover {
  background-color: var(--c-accent-600);
  border-color: var(--c-accent-600);
}

/* Slider group */
.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.slider-header label {
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.3;
  color: var(--c-text);
  margin: 0;
}

.slider-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--c-primary);
  white-space: nowrap;
}

/* Range slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--c-primary-200);
  cursor: pointer;
  outline: none;
  accent-color: var(--c-primary);
  border: none;
}

input[type="range"]:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
}

/* WebKit thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(7, 80, 86, 0.35);
}

/* Firefox thumb */
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.15);
}

/* Firefox track */
input[type="range"]::-moz-range-track {
  background: var(--c-primary-200);
  height: 6px;
  border-radius: 999px;
}

.slider-minmax {
  display: flex;
  justify-content: space-between;
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--c-text-secondary);
}

/* Right: result card */
.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 48px);
  padding: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 48px);
  border-radius: 24px;
  background: linear-gradient(159deg, #0a4a4e 0%, #053135 100%);
  color: var(--c-text-inverse);
}

.calc-result-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.calc-result-label {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--c-text-inverse);
  margin: 0;
}

.calc-annual-value {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.05;
  color: var(--c-accent-400);
  margin: clamp(12px, 1.6vw, 20px) 0 0;
}

.calc-after-commission {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 24px;
  color: var(--c-text-inverse);
  margin: 8px 0 0;
}

.calc-breakdown {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
  margin-top: clamp(32px, 4vw, 56px);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 24px;
  color: var(--c-text-inverse);
}

.breakdown-value {
  font-weight: 500;
  color: var(--c-text-inverse);
  white-space: nowrap;
}

.breakdown-row--total {
  margin-top: clamp(10px, 1.2vw, 14px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid rgba(249, 251, 251, 0.18);
}

.calc-disclaimer {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.5;
  color: rgba(249, 251, 251, 0.72);
  margin: 0;
}

/* Calculator tip box (hidden for now) */
.calc-tip {
  background: var(--c-accent-50);
  color: var(--c-primary);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.55;
  margin: 4px 0 0;
}

/* --------------------------------------------------------------------------
   WAITLIST — Sign-up section
   -------------------------------------------------------------------------- */
.section-waitlist {
  background: transparent;
}

.waitlist-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 32px);
}

/* Gradient CTA card */
.waitlist-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(24px, 6vw, 100px) clamp(24px, 5vw, 120px);
  border-radius: 40px;
  background: linear-gradient(270deg, var(--c-accent-50) 0%, var(--c-accent-100) 100%);
}

.waitlist-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 24px);
  max-width: 45ch;
}

.waitlist-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  width: 100%;
  line-height: 1.333;
  color: var(--c-text);
  margin: 0;
  max-width: 46ch;
}

.waitlist-desc strong {
  font-weight: 700;
}

/* Couple image — rounded all round, ends at the container edge */
.waitlist-image {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 125 / 92;
  border-radius: clamp(28px, 3vw, 48px);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.waitlist-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.waitlist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Form fields */
.required-mark {
  color: var(--c-accent);
}

.form-required-note {
  font-size: 12px;
  color: var(--c-text-secondary);
  margin: 0 0 16px;
}

.form-gdpr {
  font-size: 12px;
  color: var(--c-text-secondary);
  margin: 8px 0 0;
  text-align: center;
}

.form-gdpr__link {
  color: var(--c-text-secondary);
  text-decoration: underline;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  cursor: pointer;
}

.form-consent__box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--c-accent);
  cursor: pointer;
}

.form-consent__text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-text-secondary);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-field label {
  font-weight: 500;
  font-size: 14px;
  color: var(--c-text-primary);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--c-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(7, 80, 86, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--c-text-secondary);
}

/* Fieldset (fleet size radio-chips) */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 18px;
}

.form-fieldset legend {
  font-weight: 500;
  font-size: 14px;
  color: var(--c-text-primary);
  margin-bottom: 10px;
  display: block;
  width: 100%;
}

/* Radio chips */
.radio-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-chip {
  position: relative;
  cursor: pointer;
}

/* Visually hide radio input */
.radio-chip input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.radio-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text-primary);
  cursor: pointer;
  min-height: 44px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.radio-chip input[type="radio"]:checked + span {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-text-inverse);
  font-weight: 700;
}

.radio-chip:hover span {
  background: var(--c-primary-100);
  border-color: var(--c-primary-200);
}

.radio-chip input[type="radio"]:focus-visible + span {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
}

/* Honeypot — absolutely off-screen (markup also has display:none as inline fallback) */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-size: 0;
}

/* Status messages */
.status {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 12px;
  min-height: 1.5em;
}

.status--ok {
  color: var(--c-green);
}

.status--err {
  color: #b91c1c;
}

/* Success toast (waitlist submit) — page-level, created by shared/form.js */
.wl-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  z-index: 1000;
  max-width: min(92vw, 440px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--c-surface);
  color: var(--c-text);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--c-green);
  box-shadow: var(--shadow-2);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wl-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wl-toast__icon {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--c-green);
}

.wl-toast__msg {
  flex: 1 1 auto;
}

@media (prefers-reduced-motion: reduce) {
  .wl-toast {
    transition: opacity 0.15s ease;
    transform: translateX(-50%);
  }
  .wl-toast.is-visible {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   WAITLIST modal (dialog)
   -------------------------------------------------------------------------- */
.wl-modal {
  border: none;
  padding: 0;
  margin: auto;
  width: 100%;
  max-width: min(560px, 92vw);
  max-height: 92dvh;
  background: transparent;
  color: var(--c-text);
  overflow: visible;
}

.wl-modal::backdrop {
  background: rgba(4, 48, 52, 0.55);
  backdrop-filter: blur(3px);
}

.wl-modal__panel {
  position: relative;
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--c-surface);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.wl-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--c-primary-100);
  color: var(--c-text-primary);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.wl-modal__close:hover {
  background: var(--c-primary-200);
}

.wl-modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.15;
  color: var(--c-text);
  margin: 0 44px 8px 0;
}

.wl-modal__sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.45;
  color: var(--c-text-secondary);
  margin: 0 0 24px;
}

.wl-modal__sub strong {
  color: var(--c-text);
  font-weight: 700;
}

.wl-modal[open] {
  animation: wlModalIn 0.25s ease both;
}

@keyframes wlModalIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   POJISTENI — Insurance section
   -------------------------------------------------------------------------- */
.section-insurance {
  background: transparent;
}

.insurance-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

/* Left column: heading + Vroomio panel + CTA */
.insurance-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 40px);
}

/* Gradient "Pojištění přes Vroomio" panel */
.insurance-vroomio {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(90deg, var(--c-accent-100) 0%, var(--c-accent-50) 100%);
}

.insurance-vroomio__header {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.insurance-vroomio__header h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.3;
  color: var(--c-text);
  margin: 0;
}

.insurance-vroomio p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--c-text);
  margin: 0;
}

/* "Připravujeme" badge with flame */
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--c-accent);
  background: var(--c-accent-100);
  color: var(--c-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-soon .icon {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
}

.insurance-cta {
  align-self: flex-start;
}

/* Right white card */
.insurance-need {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 32px);
  padding: clamp(24px, 3vw, 32px);
  border-radius: 24px;
  background: var(--c-surface);
  box-shadow: var(--shadow-1);
}

.insurance-need > h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
  color: var(--c-text);
  margin: 0;
}

.insurance-types {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 28px);
  width: 100%;
}

.insurance-type {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.insurance-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-green);
  margin-top: 1px;
}

.insurance-type-icon .icon {
  width: 24px;
  height: 24px;
}

.insurance-type-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.insurance-type-text h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.35;
  color: var(--c-text);
  margin: 0;
}

.insurance-type-text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text-secondary);
  margin: 0;
}

/* Info note (blue) */
.insurance-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--c-blue-50);
  margin: 0;
}

.insurance-note__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--c-blue);
  margin-top: 1px;
}

.insurance-note span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--c-text);
}

.insurance-note strong {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   FAQ — Accordion section
   -------------------------------------------------------------------------- */
.section-faq {
  background: transparent;
}

.faq-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.faq-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

/* Accordion card */
.faq-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 4px 24px;
  border-radius: 24px;
  background: var(--c-surface);
  box-shadow: var(--shadow-1);
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item:last-child {
  border-bottom: none;
}

/* FAQ summary row */
.faq-question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  color: var(--c-text);
  user-select: none;
  transition: color 0.15s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--c-primary);
}

/* Chevron via ::after pseudo-element */
.faq-question::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23075056' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 0 20px;
  font-size: clamp(15px, 1.3vw, 16px);
  line-height: 1.6;
  color: var(--c-text-secondary);
}

/* FAQ image — rounded, ends at the container edge */
.faq-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: clamp(24px, 3vw, 32px);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.faq-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.faq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-primary-dark);
  color: var(--c-text-inverse);
  padding-block: clamp(28px, 4vw, 40px);
  border-radius: clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) 0 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #d0d3d5;
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-top: 16px;
}

.footer-link {
  font-size: 16px;
  font-weight: 500;
  color: #d0d3d5;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--c-accent-400);
}

.footer-email {
  color: #d0d3d5;
}

.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-inverse);
  transition: color 0.15s ease;
}

.social-link:hover {
  color: var(--c-accent-400);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Scroll-reveal motion (Task 15 CSS half)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Badge float animation */
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.badge-float {
  animation: badgeFloat 4s ease-in-out infinite;
}

/* On mobile, stop floating so badges don't overlap text */
@media (max-width: 1024px) {
  .badge-float {
    animation: none;
  }

  /* Fixed 16px side gutter on mobile */
  .wrap {
    padding-inline: 16px;
  }

  /* Persona items stack: number on top, text below */
  .persona {
    flex-direction: column;
    gap: 4px;
  }

  .persona-number {
    width: auto;
  }

  /* Audience note: icon top-left, text left-aligned */
  .audience-note {
    align-items: flex-start;
    text-align: left;
  }

  .insurance-cta,
  .waitlist-card .btn {
    width: 100%;
    text-align: center;
  }

  .waitlist-desc {
    font-size: 16px;
  }

  .insurance-type,
  .insurance-note {
    flex-direction: column;
  }

  .personas-card,
  .waitlist-card {
    border-radius: 24px;
  }

  /* All section eyebrows: smaller + tighter spacing on mobile */
  .sec-eyebrow,
  .features-eyebrow {
    font-size: 14px;
    margin-bottom: 0;
    padding-bottom: 8px;
  }
}

/* Reduced-motion overrides */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .badge-float {
    animation: none !important;
  }

  /* No phone slide-up for reduced-motion users */
  .app-phone {
    transition: none !important;
  }

  .wl-modal[open] {
    animation: none !important;
  }

  .app-card:not(.is-in) .app-phone {
    opacity: 1 !important;
  }

  * {
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Tablet ≥641px
   -------------------------------------------------------------------------- */
@media (min-width: 641px) {
  body {
    font-size: 17px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Desktop ≥1024px
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  /* Desktop header becomes a white floating card */
  .site-header {
    position: sticky;
    top: 0;
    padding-top: 16px;
  }

  .header-inner {
    padding: 24px clamp(20px, 4vw, 56px);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.12);
  }

  .site-logo__img {
    width: 160px;
    height: 21.18px;
    aspect-ratio: 160 / 21.18;
  }

  /* Show desktop right-side group; hide hamburger */
  .header-right {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  /* Hero fills (most of) the first screen, content vertically centered —
     keeps proportions balanced on any desktop height */
  .section-hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 132px);
  }

  /* Hero — two column */
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
  }

  .hero-content {
    flex: 1;
    max-width: 56ch;
  }

  .hero-image-wrap {
    flex: 1;
    position: relative;
  }

  /* Cards float over the photo. The overlay matches the image box (inset:0),
     so each card's %-based position scales proportionally with the image. */
  .hero-badges {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 2;
    pointer-events: none;
  }

  .hero-badges .badge {
    position: absolute;
    pointer-events: auto;
    max-width: 280px;
  }

  /* Spouštíme brzy — upper area, inside the photo */
  .hero-badges .badge:nth-child(1) {
    top: 22%;
    left: 9%;
  }

  /* Online kalendář — mid, hanging off the left edge */
  .hero-badges .badge:nth-child(2) {
    top: 38%;
    left: -10%;
    width: 210px;
  }

  /* Smlouva a foto — lower, hanging off the left edge */
  .hero-badges .badge:nth-child(3) {
    top: 54%;
    left: -3%;
  }

  /* Audience section — two column */
  .audience-inner {
    flex-direction: row;
    align-items: stretch;
    gap: clamp(32px, 3vw, 56px);
  }

  .audience-col {
    flex: 1;
    gap: clamp(32px, 3vw, 56px);
  }

  .audience-image-wrap {
    flex: 1;
    aspect-ratio: auto;
  }

  /* Features — 3 columns on desktop */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* CTA sits bottom-right on desktop */
  .features-cta {
    align-self: flex-end;
  }

  .features-cta .btn {
    width: auto;
  }

  .waitlist-card {
    padding: 64px;
  }

  /* Waitlist — gradient card left, taller image right; the image overlaps
     the card's empty right side and ends at the container edge */
  .waitlist-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 0;
  }

  .waitlist-image {
    align-self: center;
    aspect-ratio: 125 / 92;
    width: calc(100% + clamp(40px, 5vw, 100px));
    margin-left: calc(-1 * clamp(40px, 5vw, 100px));
  }

  /* Keep the text clear of the overlapping image */
  .waitlist-card .btn-accent {
    max-width: 440px;
  }

  /* App section — text left, phone on the right, mark behind */
  .app-card {
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    min-height: clamp(380px, 34vw, 480px);
    padding: clamp(48px, 5vw, 72px) clamp(40px, 6vw, 120px);
  }

  .app-text {
    align-items: flex-start;
    gap: 16px;
    max-width: 60%;
  }

  .app-card__mark {
    left: auto;
    right: clamp(18%, 24vw, 30%);
    transform: none;
    width: clamp(240px, 22vw, 420px);
    opacity: 0.7;
  }

  .app-phone {
    position: absolute;
    z-index: 1;
    right: clamp(48px, 7vw, 130px);
    top: auto;
    bottom: 0;
    margin: 0;
    /* Pull the phone up: top reaches near the card top, lower part
       drops below and is clipped by the card's overflow:hidden */
    transform: translateY(35%);
    width: clamp(260px, 26vw, 380px);
  }

  /* Bigger start offset so the larger desktop phone is fully below the card */
  .app-card:not(.is-in) .app-phone {
    transform: translateY(120%);
  }

  /* Calculator — two column, equal height */
  .calc-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 24px;
  }

  /* Insurance — two column (left: heading + panel + CTA, right: white card) */
  .insurance-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(32px, 4vw, 64px);
  }

  .insurance-left {
    flex: 1;
    max-width: 46%;
  }

  .insurance-need {
    flex: 1;
  }

  /* Title left, badge right on desktop */
  .insurance-vroomio__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* FAQ — accordion left, image right (image ends at the container edge) */
  .faq-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(24px, 3vw, 48px);
  }

  .faq-list {
    flex: 1.2;
  }

  /* Fixed aspect so the image keeps its size when an item expands */
  .faq-image {
    flex: 1;
    align-self: flex-start;
    aspect-ratio: 4 / 3;
  }

  /* Footer — brand left, legal + email centred, social right */
  .footer-inner {
    flex-direction: row;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
  }

  .footer-brand {
    order: 1;
    flex: 0 0 auto;
    max-width: 280px;
  }

  .footer-legal {
    order: 2;
    margin-top: 0;
    margin-left: auto;
  }

  .footer-email {
    order: 3;
    margin-right: auto;
  }

  .footer-social {
    order: 4;
    flex: 0 0 auto;
  }

}

/* --------------------------------------------------------------------------
   Print safeguard
   -------------------------------------------------------------------------- */
@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Cookie consent bar (injected by /shared/consent.js)
   -------------------------------------------------------------------------- */
.cookie-bar {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: 88px;
  max-width: 360px;
  width: calc(100% - 32px);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 425px) {
  .cookie-bar {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
  }
}

.cookie-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: inline-flex;
  padding: 10px;
  justify-content: center;
  align-items: center;
  padding: 12px;
  border-radius: 999px;
  color: #fff;
  mix-blend-mode: difference;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-bar__title {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 16px;
  color: var(--c-text-primary);
}

.cookie-bar__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text-secondary);
}

.cookie-bar__link {
  color: var(--c-text-primary);
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.cookie-bar__actions .btn {
  flex: 1 1 0;
}

@media (max-width: 300px) {
  .cookie-bar__actions {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Legal pages (privacy / cookies)
   -------------------------------------------------------------------------- */
.legal-topbar {
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}

.legal-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.legal-topbar .site-logo__img {
  width: 160px;
  height: auto;
}

.legal-topbar__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.legal-back {
  color: var(--c-text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-lang a {
  color: var(--c-text-secondary);
  text-decoration: none;
}

.legal-lang a:hover {
  color: var(--c-text-primary);
}

.legal-main {
  max-width: 820px;
  padding-block: clamp(32px, 6vw, 64px);
}

.legal-content h1 {
  font-family: var(--font-display); /* Mona Sans Expanded — match landing hero H1 */
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--c-text-primary);
  margin: 0 0 8px;
}

.legal-updated {
  color: var(--c-text-secondary);
  font-size: 15px;
  margin: 0 0 28px;
}

.legal-content h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--c-text-primary);
  margin: 36px 0 12px;
}

.legal-content h3 {
  font-size: 17px;
  color: var(--c-text-primary);
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  line-height: 1.65;
  color: var(--c-text);
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--c-primary);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0 8px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--c-border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--c-primary-100);
  color: var(--c-text-primary);
}

/* Unfinished values the operator must fill in before publishing */
.legal-placeholder {
  background: var(--c-yellow-50);
  color: var(--c-yellow);
  font-weight: 600;
  padding: 0 4px;
  border-radius: 4px;
}

.legal-page .site-footer {
  margin-top: 48px;
}

@media (max-width: 425px) {
  .hero-h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  h2,
  .h2,
  .features-h2,
  .audience-h2,
  .app-h2,
  .sec-h2 {
    font-size: 24px;
  }
  .hero-content {
    gap: 12px;
  }
  .features-eyebrow,
  .features-head .features-eyebrow {
    font-size: 14px;
  }
  .hero-ctas {
    gap: 8px;
  }
  .badge,
  .hero-badge-mobile .badge {
    font-size: 14px;
    padding: 6px 8px;
    gap: 4px;
  }
  .badge .badge-icon .icon,
  .hero-badge-mobile .badge .badge-icon .icon {
    width: 20px;
    height: 20px;
  }
  .footer-legal {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-tagline,
  .footer-link {
    font-size: 14px;
  }
}
