/* =====================================================================
   Supa Sample — Landing Page
   Built section-by-section from Figma (file Wn4usZJn5134N0MbMhvsJN).
   Breakpoints: XL 1920 · L 1440 · M 1024 · Mobile
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* surfaces */
  --bg: #0b0b0b;
  --bg-card: #101011;

  /* text */
  --white: #ffffff;
  --text: #c4dbef;         /* body copy */
  --text-muted: #99bcdb;   /* faq answers */
  --text-soft: #badcf9;    /* contact email */

  /* accents */
  --blue: #4e96d5;         /* eyebrow / labels */
  --blue-light: #75b5ec;
  --blue-bright: #1692ff;
  --green: #2ed799;
  --orange: #eea949;

  /* buttons + links */
  --btn-bg: #eefaff;
  --btn-text: #0b0b0b;
  --link: #0087ff;
  --disclaimer: #52799b;

  /* lines */
  --border-video: #7e7e9a;
  --border-faq: #777777;

  /* step icon gradient */
  --step-from: #081e3f;
  --step-to: #040e1d;

  /* layout */
  --frame-max: 1920px;     /* XL frame width */
  --pad: 64px;             /* frame padding (XL/L/M all use 64) */
  --gap-section: 132px;    /* vertical rhythm between sections */
}

/* ---------- 2. Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sofia Sans Condensed';
  src: url('../assets/fonts/SofiaSansCondensed.woff2') format('woff2');
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}

/* ---------- 3. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- 4. Layout / rhythm ---------- */
.page {
  max-width: var(--frame-max);
  margin-inline: auto;
  padding: var(--pad);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
}

/* ---------- 5. Buttons ---------- */
.btn-chrome {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: 34px;
  padding: 4px 16px 4px 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-chrome img { width: 32px; height: 32px; }
.btn-chrome:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(238, 250, 255, .18); }
.btn-chrome:active { transform: translateY(0); }
/* Pre-launch: the Chrome Web Store listing does not exist yet, so the CTAs keep
   their styling but are not clickable. Remove .is-pending once the URL is wired. */
.btn-chrome.is-pending { cursor: default; }
.btn-chrome.is-pending:hover { transform: none; box-shadow: none; }

.btn-chrome--sm {
  gap: 8px;
  padding: 5px 14px;
  font-size: 18px;
  font-weight: 600;
}
.btn-chrome--sm img { width: 24px; height: 24px; }

/* Breakpoint-swapped bits: the hero CTA label, the hero desktop-only note,
   the "FAQ - " title prefix and the footer disclaimer break are mobile-only. */
.btn-chrome .lbl-m,
.hero__note,
.br-m { display: none; }

/* ---------- 6. Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 58px; width: auto; }

/* ---------- 7. Hero ---------- */
/* Three named grid children — text / media / actions — repositioned per breakpoint. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 517px;
  grid-template-areas:
    "text  media"
    "acts  media";
  column-gap: 132px;
  row-gap: 40px;              /* text -> actions (XL Intro-Stack gap) */
  align-items: start;
}
.hero__text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.eyebrow {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0.84px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 400;
}
.hero__title {
  font-size: 70px;
  line-height: 1.143;
  font-weight: 700;
  color: var(--white);
}
.hero__title .c-green  { color: var(--green); }
.hero__title .c-orange { color: var(--orange); }
.hero__sub {
  font-size: 22px;
  line-height: 1.727;
  letter-spacing: 0.44px;
  color: var(--text);
}

.hero__media {
  grid-area: media;
  align-self: center;        /* XL: video centered against text column */
  width: 517px;
  max-width: 100%;
}
.demo-video {
  width: 100%;
  aspect-ratio: 517 / 378;
  object-fit: cover;
  border: 1px solid var(--border-video);
  border-radius: 8px;
  background: var(--bg-card);
}

.hero__actions {
  grid-area: acts;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: nowrap;
}
/* Never shrink: button keeps its full label; benefits keep natural width and
   run wide past the text column (below the video) — matching the L design. */
.hero__actions > * { flex: 0 0 auto; }
.benefits {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
}
.benefits li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.4px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.benefits img { width: 24px; height: 24px; flex: 0 0 auto; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* ---- L (~1440): smaller type, video top-aligned, actions run wide ---- */
@media (max-width: 1600px) {
  .hero { row-gap: 60px; }
  .hero__media { align-self: start; }
  .hero__title { font-size: 54px; line-height: 1.296; }
  .eyebrow    { font-size: 26px; letter-spacing: 0.78px; }
  .hero__sub  { font-size: 18px; line-height: 1.944; letter-spacing: 0.36px; }
  .benefits li { font-size: 18px; letter-spacing: 0.36px; }
}

/* ---- M (~1024): text full-width on top, then video | (benefits + button) ---- */
@media (max-width: 1200px) {
  :root { --gap-section: 48px; }
  .hero {
    grid-template-columns: 380px minmax(0, 1fr);
    grid-template-areas:
      "text  text"
      "media acts";
    column-gap: 40px;
    row-gap: 40px;
    align-items: center;
  }
  .hero__text { gap: 16px; }
  .hero__title { font-size: 44px; line-height: 1.227; }
  .eyebrow    { font-size: 20px; letter-spacing: 0.6px; }
  .hero__sub  { font-size: 16px; line-height: 1.5; letter-spacing: 0.32px; }
  .hero__media { align-self: center; width: 380px; }
  .hero__actions { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .hero__actions .btn-chrome { font-size: 16px; }
  .benefits { flex-direction: column; align-items: flex-start; gap: 10px; }
  .benefits li { font-size: 16px; letter-spacing: 0.32px; }
}

/* ---- Mobile (Figma frame 1204:457, 393w): single column, header CTA dropped,
   store CTA moves below the benefits and goes full-width + dark ---- */
@media (max-width: 767px) {
  :root { --pad: 16px; --gap-section: 32px; }

  .site-header .logo img { height: 44px; }
  .site-header__nav { display: none; }          /* no header CTA on the mobile frame */

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "media"
      "acts";
    row-gap: 24px;
  }
  .hero__text { gap: 12px; }
  .eyebrow     { font-size: 16px; line-height: 24px; letter-spacing: 0.48px; }
  .hero__title { font-size: 28px; line-height: 40px; }
  .hero__sub   { font-size: 16px; line-height: 25px; letter-spacing: 0.32px; }
  /* the note reads as one more paragraph of .hero__sub: 12px stack gap + 13px
     here = the 25px blank line (one line-height) of the frame */
  .hero__note {
    display: block;
    margin-top: 13px;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.32px;
    color: var(--text);
  }
  .hero__note strong { font-weight: 700; }

  .hero__media { width: 100%; align-self: stretch; }

  /* column-reverse (from M) already puts the benefits above the button */
  .hero__actions { gap: 32px; }
  .hero__actions .btn-chrome {
    align-self: stretch;
    justify-content: center;
    gap: 14px;
    min-height: 42px;
    padding: 4px 10px;
    border-radius: 4px;
    background: #171819;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
  }
  .hero__actions .btn-chrome img { width: 22px; height: 22px; }
  .hero__actions .btn-chrome:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
  .hero__actions .btn-chrome .lbl-d { display: none; }
  .hero__actions .btn-chrome .lbl-m { display: inline; }
  .benefits li { line-height: 24px; }
}

/* ---------- 8. Section title (shared across sections) ---------- */
.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
/* Mobile: 22px type sitting in the frame's 56px title block */
@media (max-width: 767px) {
  .section-title {
    display: flex;
    align-items: center;
    min-height: 56px;
    font-size: 22px;
    line-height: 36px;
  }
}

/* ---------- 9. How it works ---------- */
.how { display: flex; flex-direction: column; gap: 40px; }
.steps {
  display: grid;
  grid-template-columns: 514px 795px;   /* XL: fixed asymmetric cols, left-packed */
  column-gap: 104px;
  row-gap: 28px;
  justify-content: start;
  margin: 0;
  padding: 0;                            /* kill the <ol> default 40px indent so steps align with the title */
  list-style: none;
}
.step {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 80px;
  /* faint blue horizontal glow behind each row */
  background: linear-gradient(90deg, rgba(0,0,0,0.10) 0%, rgba(60,97,154,0.10) 47.6%, rgba(0,0,0,0.10) 100%);
}
.step__icon { flex: 0 0 auto; }
.step__icon img { width: 64px; height: 64px; }
.step__text { display: flex; flex-direction: column; }
.step__kicker {
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: 0.88px;
}
.step__num { color: var(--blue-light); }
.step__word {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step__desc {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.4px;
  color: var(--text);
}

/* How it works — L */
@media (max-width: 1600px) {
  .section-title { font-size: 36px; }
  .how { gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }   /* equal columns, fill width */
  .step__kicker { font-size: 20px; letter-spacing: 0.8px; line-height: 26px; }
  .step__desc   { font-size: 18px; letter-spacing: 0.36px; line-height: 26px; }
}
/* How it works — M */
@media (max-width: 1200px) {
  .section-title { font-size: 24px; }
  .how { gap: 16px; }
  .steps { column-gap: 24px; }
  .step { min-height: 74px; gap: 20px; }
  .step__icon img { width: 56px; height: 56px; }
  .step__kicker { font-size: 18px; letter-spacing: 0.72px; }
  .step__desc   { font-size: 16px; letter-spacing: 0.32px; }
}
/* How it works — mobile: one column, icon top-aligned, no row glow */
@media (max-width: 767px) {
  .how { gap: 16px; }
  .steps { grid-template-columns: 1fr; column-gap: 0; row-gap: 12px; }
  .step {
    align-items: flex-start;
    gap: 26px;
    min-height: 81px;
    background: none;
  }
  .step__icon img { width: 56px; height: 56px; }
  .step__kicker { font-size: 18px; line-height: 26px; letter-spacing: 0.72px; }
  .step__desc   { font-size: 16px; line-height: 26px; letter-spacing: 0.32px; }
}

/* ---------- 10. Explore features ---------- */
.explore {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.explore__component {
  display: flex;
  align-items: flex-start;
  gap: 140px;
}
/* Stop rapid clicks (esp. the tour "Next" button) from grabbing a stray text
   selection on the tour copy, video container, or buttons. Interaction-only: the
   text stays in the DOM (no SEO impact) and renders/reads exactly the same — it
   just can't be highlighted with the cursor. Scoped to the interactive widget +
   CTAs; body copy elsewhere stays selectable. */
.explore__component,
.hero__media,
.btn-chrome {
  -webkit-user-select: none;
  user-select: none;
}
.explore__media {
  flex: 0 0 auto;
  width: 618px;
  max-width: 100%;
  position: relative;
  aspect-ratio: 618 / 452;
  border: 1px solid var(--border-video);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}
.explore__vid,
.explore__blur,
.explore__settings { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.explore__media { isolation: isolate; }                       /* stacking context for the layers */
.explore__vid--sharp { z-index: 1; filter: opacity(0.99); }   /* filter keeps the video in in-page compositing */
/* Per-step "off" overlay: the blur-SVG surround pre-rendered to a flat PNG with the
   feature window cut out transparent. The live sharp video below shows through the
   window — exact colors, and the record button counts on its own. No runtime CSS
   mask or blur filter (those drop on real-GPU video paths): the blur is baked into
   the PNG and the window is a real transparent hole. */
.explore__blur {
  z-index: 2;
  pointer-events: none;
}
/* Moving "video feel" on steps 1–6: a small pre-blurred+dimmed waveform clip
   placed over the waveform strip, on top of the still overlay. Blur is baked in
   (no runtime filter). Positioned to the strip's box in the media. */
.explore__wave {
  position: absolute;
  left: 4.45%; top: 73.56%; width: 76.46%; height: 18.81%;
  object-fit: fill;
  z-index: 2;
  pointer-events: none;
  filter: opacity(0.99);
}
.explore__vid[hidden],
.explore__blur[hidden],
.explore__wave[hidden] { display: none; }
.explore__settings { z-index: 3; }
.explore__settings[hidden] { display: none; }
.explore__panel {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.explore__desc { display: flex; flex-direction: column; gap: 16px; }
.explore__kicker {
  color: var(--blue);
  font-weight: 500;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}
.explore__text {
  color: var(--text);
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.4px;
  max-width: 564px;
  height: 90px;            /* reserve 3 lines (XL & L) so the Next/Start button doesn't jump between steps */
  white-space: pre-line;   /* honour the designed line breaks (\n) in the step copy */
}
.btn-start {
  align-self: flex-start;
  background: var(--green);
  color: #111112;
  font-family: inherit;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 0;
  border-radius: 34px;
  cursor: pointer;
  filter: drop-shadow(0 1px 15.5px rgba(46, 215, 153, 0.2));
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-start:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(46, 215, 153, .28); }
.btn-start:active { transform: translateY(0); }

/* Explore — L */
@media (max-width: 1600px) {
  .explore__component { gap: 88px; }
  .explore__text { font-size: 18px; letter-spacing: 0.36px; }
}
/* Explore — M: centered vertical stack */
@media (max-width: 1200px) {
  .explore { padding: 28px 56px; gap: 22px; align-items: center; }
  .explore .section-title { font-size: 28px; text-align: center; width: 100%; }
  .explore__component { flex-direction: column; align-items: center; gap: 22px; }
  .explore__media { width: 380px; }
  .explore__panel { align-items: center; gap: 14px; }
  .explore__desc { align-items: center; gap: 10px; }
  .explore__kicker { font-size: 20px; letter-spacing: 0.8px; }
  .explore__text { font-size: 16px; letter-spacing: 0.32px; text-align: center; height: auto; white-space: normal; }
  .btn-start { align-self: center; font-size: 18px; letter-spacing: 0.36px; }
}
/* Explore — mobile: the frame has no tour section, so it is dropped entirely
   (initExploreTour() bails out too, so its overlays/video are never fetched) */
@media (max-width: 767px) {
  .explore { display: none; }
}

/* Explore tour: step controls */
.explore__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Step 7 — restart (green, redo icon) */
.btn-redo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  height: 40px;
  padding: 8px 16px;
  background: var(--green);
  border: 0;
  border-radius: 34px;
  cursor: pointer;
  filter: drop-shadow(0 1px 15.5px rgba(46, 215, 153, 0.2));
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-redo:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(46, 215, 153, .28); }
.btn-redo:active { transform: translateY(0); }
.btn-redo img { width: 26px; height: 24px; display: block; }

/* Step 7 — Add to Chrome (subtle pill) */
.btn-addchrome {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 42.5px;
  color: #bababa;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  transition: background .15s ease;
}
.btn-addchrome:hover { background: rgba(255, 255, 255, 0.09); }
.btn-addchrome img { width: 30px; height: 30px; }

@media (max-width: 1200px) {
  .explore__actions { justify-content: center; }
}

/* ---------- 11. Security & Privacy ---------- */
.security { display: flex; flex-direction: column; gap: 40px; }
.benefits-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit { flex: 0 0 auto; display: flex; align-items: center; gap: 24px; }
.benefit:last-child { flex: 1 1 0; min-width: 0; }   /* No-Logs takes the remaining width */
.benefit__icon { flex: 0 0 auto; width: 48px; height: 48px; display: block; }
.benefit__text { display: flex; flex-direction: column; }
.benefit__title {
  font-weight: 600;                                  /* Inter SemiBold */
  font-size: 20px;
  line-height: 24px;
  color: var(--blue);                                /* #4e96d5 */
}
.benefit__desc {
  font-weight: 500;                                  /* Inter Medium */
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.4px;
  color: var(--text);                                /* #c4dbef */
}

/* Security — M: 2-col grid (Runs Local | No Data Collection · No-Logs spans row 2) */
@media (max-width: 1200px) {
  .security { gap: 24px; }
  .benefits-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    row-gap: 28px;
    align-items: center;
  }
  .benefit,
  .benefit:last-child { flex: none; min-width: 0; }
  .benefit:nth-child(1) { order: 2; }                        /* No Data Collection → top-right */
  .benefit:nth-child(2) { order: 1; }                        /* Runs Local → top-left */
  .benefit:nth-child(3) { order: 3; grid-column: 1 / -1; }   /* No-Logs → row 2, full width */
  .benefit__title,
  .benefit__desc { font-size: 16px; }
}
/* Security — mobile: single column and moved BELOW the FAQ/contact block
   (order on .stack), keeping the M order Runs Local → No Data → No-Logs */
@media (max-width: 767px) {
  .security { gap: 16px; order: 1; }
  .benefits-row { grid-template-columns: 1fr; row-gap: 32px; }
  .benefit:nth-child(3) { grid-column: auto; }
  .benefit__title { font-size: 18px; }
  .benefit__desc  { font-size: 16px; }
}

/* ---------- 12. FAQ ---------- */
.faq-section { display: flex; flex-direction: column; gap: 24px; }
.faq { margin: 0; padding: 0; list-style: none; width: 100%; }
.faq__item { border-bottom: 1px solid #777; }             /* divider per item (Figma #777) */
.faq__toggle {
  width: 100%;
  max-width: 1420px;
  display: flex;
  align-items: center;
  gap: 8px;                                               /* chevron hugs the question */
  padding: 24px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--blue);
  font-family: inherit;
  transition: padding-bottom .28s ease;
}
.faq__item.is-open .faq__toggle { padding-bottom: 14px; } /* tighten gap to the open answer */
.faq__q {
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: 0.88px;
  color: var(--blue);
}
.faq__chev { flex: 0 0 auto; width: 26px; height: 26px; color: #ffffff; transition: transform .28s ease; }
.faq__item.is-open .faq__chev { transform: rotate(180deg); }  /* down (closed) → up (open) */
/* smooth height without a fixed max-height; answer stays in the DOM (SEO) */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
  max-width: 1420px;
}
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; min-height: 0; }
.faq__a {
  margin: 0;
  padding-bottom: 24px;
  color: #99bcdb;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.4px;
}
/* FAQ — M/mobile: smaller type */
@media (max-width: 1200px) {
  .faq__toggle { padding: 20px 0; }
  .faq__item.is-open .faq__toggle { padding-bottom: 12px; }
  .faq__q { font-size: 18px; letter-spacing: 0.72px; line-height: 26px; }
  .faq__chev { width: 22px; height: 22px; }
  .faq__a { font-size: 16px; letter-spacing: 0.32px; line-height: 26px; padding-bottom: 20px; }
}
/* FAQ — mobile */
@media (max-width: 767px) {
  .faq-section { gap: 4px; }
  .faq__title-prefix { display: none; }          /* just "Frequently asked questions" */
  .faq__toggle { padding: 12px 0; }
  .faq__item.is-open .faq__toggle { padding-top: 4px; padding-bottom: 14px; }
  /* question fills the row so the chevron is flush right (Figma 1204:788) */
  .faq__q { flex: 1 1 auto; min-width: 0; font-size: 16px; line-height: 24px; letter-spacing: 0.64px; }
  .faq__chev { width: 26px; height: 26px; }
  .faq__a { font-size: 16px; line-height: 25px; letter-spacing: 0.32px; padding-bottom: 24px; }
}

/* ---------- 13. Contact (grouped 40px under the FAQ) ---------- */
.faq-contact { display: flex; flex-direction: column; gap: 40px; }
.contact { display: flex; flex-direction: column; gap: 14px; }
.contact__lead {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}
.contact__row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  width: 846px;
  max-width: 100%;
  /* faint horizontal glow behind the address (Figma ~5% gradient) */
  background: linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(60,97,154,0.05) 47.6%, rgba(19,24,30,0.05) 70%, rgba(0,0,0,0.05) 100%);
}
.contact__icon { flex: 0 0 auto; width: 64px; height: 64px; display: block; }
.contact__email {
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: 0.88px;
  color: #badcf9;
  text-decoration: none;
  white-space: nowrap;
}
.contact__email:hover { text-decoration: underline; }
/* Contact — M/mobile */
@media (max-width: 1200px) {
  .faq-contact { gap: 32px; }
  .contact__lead { font-size: 20px; }
  .contact__email { font-size: 18px; letter-spacing: 0.72px; }
  .contact__icon { width: 56px; height: 56px; }
  .contact__row { min-height: 72px; gap: 16px; }
}
/* Contact — mobile */
@media (max-width: 767px) {
  .faq-contact { gap: 40px; }
  .contact { gap: 4px; }
  .contact__lead { font-size: 18px; line-height: 28px; }
  .contact__row { width: 100%; min-height: 0; padding: 12px 0; gap: 16px; }
  .contact__icon { width: 44px; height: 44px; }
  .contact__email { font-size: 16px; line-height: 30px; letter-spacing: 0.64px; }
}

/* ---------- 14. Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;                 /* never overflow — wrap between the L one-row and M two-row layouts */
  align-items: center;
  column-gap: 48px;
  row-gap: 20px;
}
.footer__links { display: flex; align-items: center; gap: 48px; }
.footer__link {
  color: #0087ff;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.36px;
  text-decoration: underline;
  white-space: nowrap;
}
.footer__link:hover { color: #339fff; }
.footer__disclaimer {
  margin: 0;
  color: #52799b;
  font-style: italic;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.36px;
  white-space: nowrap;
}
.footer__copyright {
  margin: 0 0 0 auto;              /* push to the far right on the XL/L one-row layout */
  color: #99bcdb;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.36px;
  white-space: nowrap;
}
/* Footer — M: links on row 1; copyright (left) ←→ disclaimer (right) on row 2 */
@media (max-width: 1200px) {
  .footer { row-gap: 24px; }
  .footer__links { order: 1; flex: 1 0 100%; }
  .footer__copyright { order: 2; margin-left: 0; }
  .footer__disclaimer { order: 3; margin-left: auto; }
}
/* Footer — mobile: one column, disclaimer → links → copyright, 50px extra lead-in */
@media (max-width: 767px) {
  .footer {
    order: 2;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    row-gap: 32px;
    padding-top: 50px;
  }
  .footer__disclaimer {
    order: 1;
    margin-left: 0;
    white-space: normal;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.28px;
  }
  .footer__links { order: 2; flex: none; gap: 32px; }
  .footer__copyright { order: 3; margin-left: 0; }
  .footer__link,
  .footer__copyright { font-size: 14px; line-height: 30px; letter-spacing: 0.28px; }
  .br-m { display: inline; }
}

/* ---------- 15. Legal pages (Privacy Policy · Imprint) ---------- */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
}
.legal-page .footer { margin-top: auto; }        /* push footer to the viewport bottom on short pages (Imprint) */
.legal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.legal__close { flex: 0 0 auto; display: inline-flex; color: #fff; }
.legal__close svg { display: block; width: 36px; height: 36px; }
.legal { display: flex; flex-direction: column; gap: 40px; }   /* title → body */
.legal__body {
  max-width: 1473px;
  color: #99bcdb;
  font-weight: 600;                              /* Inter SemiBold, matching the frame */
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.4px;
}
.legal__body > * { margin: 0; }
.legal__body > * + * { margin-top: 30px; }       /* uniform blank-line rhythm between blocks */
.legal__body ul { padding-left: 30px; list-style: disc; }
.legal__body li { margin: 0; }
.legal__body a { color: var(--link); text-decoration: underline; }
.legal__body h2 {                                /* policy section headings: SemiBold, same colour as the body */
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.4px;
  color: #99bcdb;
}
.legal__prose { font-weight: 400; }              /* the privacy-policy body runs Regular… */
.legal__meta,
.legal__contact { font-weight: 600; }            /* …with "last updated" + contact lines SemiBold, per the frame */
/* Legal — M */
@media (max-width: 1200px) {
  .legal { gap: 24px; }
  .legal__body { font-size: 16px; line-height: 26px; }
  .legal__body h2 { font-size: 16px; }
  .legal__body > * + * { margin-top: 24px; }
  .legal__close svg { width: 30px; height: 30px; }
}
