/* ============================================================
   SafeRoad — Ultra-premium hero
   ============================================================ */

:root {
  --black: #0a0a0b;
  --ink: #111113;
  --gray-700: #3a3a3e;
  --gray-500: #6b6b72;
  --gray-400: #8c8c93;
  --gray-200: #e6e6e8;
  --white: #ffffff;

  --bg: #f4f4f3;

  /* Single brand accent — drawn from the SafeRoad blue, used sparingly */
  --accent: #1f63e8;
  --accent-ink: #1a52c0;
  --accent-bright: #6e9bff; /* legible SafeRoad blue on dark surfaces */
  --accent-soft: rgba(31, 99, 232, 0.08);
  --accent-line: rgba(31, 99, 232, 0.16);

  /* Neutral system (Apple-grade) */
  --text: #1d1d1f;
  --text-2: #5f5f64;
  --text-3: #6f6f74;
  --hairline: rgba(0, 0, 0, 0.07);
  --hairline-2: rgba(0, 0, 0, 0.045);
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --ink-deep: #08080a;

  /* Soft, consistent elevation scale */
  --shadow-1: 0 1px 2px rgba(17,17,19,0.04), 0 6px 16px -10px rgba(17,17,19,0.10);
  --shadow-2: 0 2px 6px rgba(17,17,19,0.03), 0 20px 44px -22px rgba(17,17,19,0.16);
  --shadow-3: 0 10px 30px -12px rgba(17,17,19,0.12), 0 44px 90px -40px rgba(17,17,19,0.22);

  /* Radii */
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  /* Large luxurious rounded cap = also the exact overlap each sheet rises by.
     MUST stay smaller than --section-pad so a cap never covers real content. */
  --r-sheet-top: clamp(40px, 4.2vw, 68px);

  /* Rhythm — generous, symmetric section padding (always > --r-sheet-top). */
  --section-pad: clamp(78px, 8.4vh, 124px);
  --gap: clamp(16px, 1.5vw, 24px);
  --nav-h: 99px; /* fixed-header height — anchors clear it via scroll-margin */

  /* Apple-style "expensive" easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --reveal-dur: 1.15s;

  --pad-x: clamp(20px, 5.5vw, 84px);
  --maxw: 1680px;
  --content: 1240px;
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* `clip` guards against horizontal overflow (animations / nowrap headline)
     without turning <body> into a scroll container — so the document scrolls
     on window (window.scrollY works) and position:sticky descendants still work. */
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }

/* ============================================================
   Cinematic stage (full-screen video)
   ============================================================ */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #fbfbfa;
  overflow: hidden;
  --hero-drift-x: 0px;
  --hero-drift-y: 0px;
  --hero-glow-x: 50%;
  --hero-glow-y: 28%;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
  background:
    radial-gradient(86% 74% at 68% 58%, rgba(0,0,0,0) 48%, rgba(0,0,0,0.14) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(255,255,255,0) 24%, rgba(0,0,0,0.08) 100%);
}
.stage.is-revealed::after { opacity: 1; }

.stage__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease-out), transform 6s var(--ease-out);
  will-change: opacity, transform;
}

.stage.is-playing .stage__video {
  opacity: 1;
  transform: scale(1.02);
}

/* gentle settle when the car has stopped */
.stage.is-revealed .stage__video {
  transform: scale(1);
  transition: transform 2.4s var(--ease-out);
}

/* High-quality still — sits above the footage, hidden until hand-off */
.stage__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
  will-change: opacity;
  pointer-events: none;
}
.stage.is-photo .stage__photo { opacity: 1; }
.stage__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  display: block;
  filter: contrast(1.02) saturate(0.96);
  transition: transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  will-change: transform;
}

/* Left-side legibility scrim — only after reveal */
.stage__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
  background:
    linear-gradient(100deg,
      rgba(255,255,255,0.94) 0%,
      rgba(255,255,255,0.84) 24%,
      rgba(255,255,255,0.42) 47%,
      rgba(255,255,255,0.06) 66%,
      rgba(255,255,255,0) 100%);
}

.stage.is-revealed .stage__scrim { opacity: 1; }

/* Cinematic vignette + faint top wash for nav legibility */
.stage__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 42%, rgba(0,0,0,0) 58%, rgba(20,20,22,0.13) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0) 18%);
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}
.stage.is-revealed .stage__vignette { opacity: 1; }

/* ============================================================
   Boot / preloader
   ============================================================ */
.boot {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: #fbfbfa;
  transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}
body.is-ready .boot { opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0.5s; }

.boot__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.boot__word {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: 0.42em;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--ink);
  padding-left: 0.42em;
  animation: bootPulse 1.1s var(--ease-in-out) infinite;
}
.boot__line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink), transparent);
  animation: bootLine 1.1s var(--ease-in-out) infinite;
}
@keyframes bootPulse { 0%,100%{opacity:.45} 50%{opacity:1} }
@keyframes bootLine { 0%{width:0;opacity:0} 50%{width:180px;opacity:1} 100%{width:0;opacity:0} }

/* ============================================================
   Reveal system — Apple-style fade + slide
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity var(--reveal-dur) var(--ease-out),
    transform var(--reveal-dur) var(--ease-out),
    filter var(--reveal-dur) var(--ease-out);
  will-change: opacity, transform, filter;
}
body.is-revealed .reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* staggered delays */
body.is-revealed .reveal[data-delay="1"] { transition-delay: 0.10s; }
body.is-revealed .reveal[data-delay="2"] { transition-delay: 0.24s; }
body.is-revealed .reveal[data-delay="3"] { transition-delay: 0.42s; }
body.is-revealed .reveal[data-delay="4"] { transition-delay: 0.60s; }
body.is-revealed .reveal[data-delay="5"] { transition-delay: 0.82s; }

/* nav slides from the top */
#nav.reveal { transform: translateY(-22px); }
body.is-revealed #nav.reveal { transform: translateY(0); transition-delay: 0.05s; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  /* Respect notches / rounded corners (viewport-fit=cover). */
  padding: clamp(18px, 2.4vw, 30px)
    max(var(--pad-x), env(safe-area-inset-right))
    clamp(18px, 2.4vw, 30px)
    max(var(--pad-x), env(safe-area-inset-left));
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.nav__logo-frame {
  display: block;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: #06276d;
}
.nav__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.nav__name {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 15px;
  padding-left: 0.22em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  margin-left: auto;
}
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gray-700);
  padding: 6px 0;
  transition: color 0.4s var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Scroll-spy: the active section reads with a crisp brand-blue underline */
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
  height: 2px;
  background: var(--accent);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background 0.45s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.45);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.45s var(--ease-out), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  z-index: 20;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding: 0 var(--pad-x);
  padding-top: clamp(100px, 16vh, 160px);
  padding-bottom: clamp(60px, 8vh, 100px);
}

.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  text-wrap: balance;
}

.hero__eyebrow {
  margin: 0 0 clamp(18px, 2.4vh, 28px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.hero__title-nowrap { white-space: nowrap; }

.hero__title {
  margin: 0;
  max-width: none;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  color: var(--black);
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}
.hero__title-accent {
  color: var(--black);
  background: linear-gradient(180deg, #1b1b1f 0%, #4a4a52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lede {
  margin: clamp(26px, 3.4vh, 40px) 0 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  font-weight: 400;
  color: var(--gray-700);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(34px, 4.4vh, 52px);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.4s, color 0.4s;
}

.btn--primary {
  padding: 17px 30px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -16px rgba(0,0,0,0.55);
}
.btn--primary .btn__icon {
  display: inline-flex;
  transition: transform 0.5s var(--ease-out);
}
.btn--primary:hover .btn__icon { transform: translateX(4px); }

.btn--ghost {
  padding: 17px 26px;
  background: rgba(255,255,255,0.0);
  color: var(--ink);
  border: 1px solid var(--gray-200);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.7);
  box-shadow: 0 18px 36px -18px rgba(0,0,0,0.35);
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  left: var(--pad-x);
  bottom: clamp(26px, 4vh, 44px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__scroll-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.hero__scroll-line {
  position: relative;
  width: 56px;
  height: 1px;
  background: var(--gray-200);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--ink);
  animation: scrollSlide 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollSlide {
  0% { transform: translateX(-100%); }
  60%,100% { transform: translateX(260%); }
}

/* ============================================================
   Mobile menu
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(251,251,250,0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 max(var(--pad-x), env(safe-area-inset-right))
             0 max(var(--pad-x), env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 10px 0;
  /* Staggered entrance once the menu opens. */
  opacity: 0;
  transform: translateY(12px);
  transition: color 0.3s var(--ease-out), opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.11s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.21s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.26s; }
.mobile-menu__link.is-active { color: var(--accent-ink); }
.mobile-menu__link.is-active::before {
  content: "";
  position: absolute;
  left: -18px; top: 50%;
  width: 7px; height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
}
.mobile-menu__cta {
  margin-top: 26px;
  align-self: flex-start;
  padding: 16px 30px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero { align-items: flex-end; }
  .hero__inner { margin-bottom: 4vh; }
  .hero__title { font-size: clamp(34px, 11vw, 60px); max-width: 14ch; }
  /* allow the headline to wrap naturally on small screens (prevents clipping) */
  .hero__title-nowrap { white-space: normal; }
  .hero__lede { font-size: 16px; }
  .hero__scroll { display: none; }

  .stage__scrim {
    background:
      radial-gradient(96% 50% at 50% 100%, rgba(255,255,255,0.66) 0%, rgba(255,255,255,0.18) 58%, rgba(255,255,255,0) 84%),
      linear-gradient(180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.42) 38%,
        rgba(255,255,255,0.90) 68%,
        rgba(255,255,255,0.98) 100%);
  }
  .stage__video { object-position: center 40%; }
  /* Dedicated portrait phone shot — show it whole, top-anchored. */
  .stage__photo,
  .stage__photo img { object-position: center top; }
}

/* Phones: hero copy pinned to the TOP so nothing ever covers the car,
   which sits in the lower part of the portrait shot. */
@media (max-width: 700px) {
  .hero {
    align-items: flex-start;
    padding-top: max(94px, calc(env(safe-area-inset-top) + 84px));
    padding-bottom: 0;
  }
  .hero__inner {
    max-width: 360px;
    margin: 0;
    padding: 0 2px;
  }
  .hero__eyebrow {
    margin: 0 0 18px;
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.14em;
    color: rgba(58,58,62,0.72);
  }
  .hero__title {
    font-size: clamp(42px, 9vw, 54px);
    line-height: 1.02;
    max-width: 10.5ch;
    text-shadow: 0 2px 26px rgba(255,255,255,0.68);
  }
  .hero__lede {
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 1.68;
    max-width: 32ch;
    color: rgba(58,58,62,0.88);
  }
  .hero__actions { margin-top: 26px; gap: 12px; }
  .hero__actions .btn {
    padding: 15px 24px;
    font-size: 15px;
    min-height: 50px;
  }
  .hero__actions .btn--ghost {
    background: rgba(255,255,255,0.38);
    border-color: rgba(255,255,255,0.56);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
  }
  /* Whiten the TOP (behind the copy); clear toward the bottom (the car). */
  .stage__scrim {
    background:
      radial-gradient(112% 46% at 50% 88%, rgba(255,255,255,0.76) 0%, rgba(255,255,255,0.42) 44%, rgba(255,255,255,0.08) 82%),
      linear-gradient(180deg,
        rgba(255,255,255,0.99) 0%,
        rgba(255,255,255,0.97) 24%,
        rgba(255,255,255,0.82) 44%,
        rgba(255,255,255,0.38) 64%,
        rgba(255,255,255,0.14) 84%,
        rgba(18,18,20,0.025) 100%);
  }
  .stage::after {
    background:
      radial-gradient(66% 30% at var(--hero-glow-x) var(--hero-glow-y), rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.46) 44%, rgba(255,255,255,0) 78%),
      radial-gradient(96% 44% at 50% 96%, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0.10) 66%, rgba(255,255,255,0) 84%),
      linear-gradient(180deg, rgba(255,255,255,0) 72%, rgba(18,18,20,0.04) 100%);
  }
  /* Anchor the car to the bottom edge of the screen. */
  .stage__photo,
  .stage__photo img { object-position: center bottom; }
  .stage__photo img {
    filter: brightness(1.07) contrast(1.005) saturate(0.94);
    transform: translate3d(var(--hero-drift-x), var(--hero-drift-y), 0) scale(1.018);
  }
}

@media (max-width: 560px) {
  .hero__actions { gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .btn--primary, .btn--ghost { padding: 15px 24px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .stage__video { opacity: 1; transform: none; }
  .stage__photo img { transform: none !important; }
  .hero__scroll-line::after { animation: none; }
  .boot__word, .boot__line { animation: none; }
}

/* ============================================================
   PAGE — layered "sheets" that flow over the cinematic hero
   ============================================================ */
.page {
  position: relative;
  z-index: 20;
  /* Light canvas panel rises over the cinematic hero; each section below
     is its own rounded sheet (white → blue → white → black). */
  background: var(--canvas);
  border-top-left-radius: var(--r-sheet-top);
  border-top-right-radius: var(--r-sheet-top);
  box-shadow: 0 -32px 60px -44px rgba(17,17,19,0.30);
}
.page__bg { display: none; }

/* A sheet visually slides up over the previous layer with a large,
   elegant rounded top — the "premium card emerging from underneath".
   Overlap must match the corner radius so the ears sit over the layer
   below instead of revealing the page/body background. */
.sheet {
  position: relative;
  /* Rise over the previous layer by exactly the corner radius so the rounded
     cap's "ears" sit on the layer below (no page/body gap or artifact). */
  margin-top: calc(-1 * var(--r-sheet-top));
  border-top-left-radius: var(--r-sheet-top);
  border-top-right-radius: var(--r-sheet-top);
}
.sheet--light {
  z-index: 2;
  background: var(--surface);
  box-shadow: 0 -28px 50px -40px rgba(17,17,19,0.16);
}
/* FAQ — calm light-grey sheet; keeps the page in a clean white⇄grey rhythm. */
.sheet--blue {
  z-index: 3;
  background: var(--canvas);
  color: var(--text);
  box-shadow: 0 -28px 50px -40px rgba(17,17,19,0.14);
}
/* CTA + footer — the single dark moment, a deep near-black. */
.sheet--dark {
  z-index: 4;
  background: var(--ink-deep);
  color: rgba(255,255,255,0.6);
  box-shadow: 0 -26px 60px -40px rgba(0,0,0,0.5);
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  position: relative;
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.container--narrow { max-width: 800px; }

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* Two sections stacked inside one sheet share the boundary padding once. */
.section + .section { padding-top: 0; }

/* The first section in a sheet (and benefits, which sits on the rounded page)
   must clear the rounded cap: its top padding = the overlap + normal padding,
   so the header never lands inside the curve or the covered overlap band. */
.sheet > .section:first-child,
#benefits.section {
  padding-top: calc(var(--section-pad) + var(--r-sheet-top));
}

.section__head {
  max-width: 700px;
  margin: 0 0 clamp(28px, 3.4vw, 52px);
}
.section__title {
  margin: 14px 0 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--text);
  font-size: clamp(30px, 3.6vw, 48px);
}
.sheet--dark .section__title { color: #fff; }
.section__sub {
  margin: 16px 0 0;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.58;
  color: var(--text-2);
  max-width: 54ch;
  letter-spacing: -0.01em;
}

/* Refined eyebrow — small uppercase brand label */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow__dot { display: none; }

.muted { color: var(--text-3); font-weight: inherit; }

/* ============================================================
   Card surface — refined, no heavy borders
   ============================================================ */
.glass {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
/* On the white sheet, cards differentiate via the canvas tone instead */
.sheet--light .glass { background: var(--canvas); border-color: transparent; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 0.07s);
}
.reveal-up.in-view { opacity: 1; transform: none; }

/* ============================================================
   1 · BENEFITS — compact horizontal cards on the light panel
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Compact card: icon column on the left, title + text stacked on the right. */
.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 17px;
  row-gap: 6px;
  align-items: start;
  padding: clamp(22px, 1.9vw, 28px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  box-shadow: var(--shadow-1);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
    border-color 0.45s var(--ease-out);
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--accent-line);
}
.benefit__icon {
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  margin: 0;
  color: var(--accent);
  background: var(--accent-soft);
  transition: color 0.4s var(--ease-out), background 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}
.benefit:hover .benefit__icon {
  color: #fff;
  background: var(--accent);
  transform: translateY(-2px);
}
.benefit__icon svg { width: 21px; height: 21px; }
.benefit__title {
  margin: 1px 0 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(16px, 1.2vw, 17.5px);
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--text);
}
.benefit__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ============================================================
   2 · PROCESS
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.docs { padding: clamp(30px, 2.8vw, 44px); position: sticky; top: 104px; }
.docs__title {
  margin: 0 0 22px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.docs__list { list-style: none; margin: 0 0 26px; padding: 0; }
.docs__list li {
  position: relative;
  padding: 14px 0 14px 30px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text);
  border-bottom: 1px solid var(--hairline-2);
}
.docs__list li:last-child { border-bottom: none; }
.docs__list li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background:
    var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-10' stroke='%231f63e8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.docs__note {
  display: flex; gap: 11px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(0,0,0,0.03);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.docs__note-ico { color: var(--text-3); }
.docs__note-ico svg { width: 18px; height: 18px; flex: none; }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: clamp(18px,2vw,30px); padding: clamp(28px, 2.6vw, 38px); align-items: flex-start; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.step__num {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-3);
  opacity: 0.5;
  flex: none;
  min-width: 1.4em;
}
.step__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.step__title {
  margin: 0 0 10px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.step__text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.step__text strong { color: var(--text); font-weight: 600; }
.timeline__gap {
  display: flex; align-items: center; gap: 11px;
  padding: 2px 8px 2px clamp(18px,2vw,30px);
  font-size: 14px;
  color: var(--text-2);
}
.timeline__gap strong { color: var(--text); font-weight: 600; }
.timeline__gap-ico { display: inline-flex; color: var(--text-3); }
.timeline__gap-ico svg { width: 18px; height: 18px; }

/* ============================================================
   3 · SERVICES / PLANS
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-bottom: var(--gap);
}

/* Pricing — single card driven by an animated EU ↔ Poland toggle */
.pricing {
  max-width: 580px;
  margin: 0 auto clamp(28px, 3.5vw, 48px);
}
.ptoggle {
  position: relative;
  display: flex;
  max-width: 380px;
  margin: 0 auto clamp(22px, 2.6vw, 34px);
  padding: 5px;
  background: rgba(17,17,19,0.05);
  border-radius: 100px;
}
.ptoggle__opt {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.35s var(--ease-out);
}
.ptoggle__opt.is-active { color: var(--text); }
.ptoggle__price {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  transition: color 0.35s var(--ease-out);
}
.ptoggle__opt.is-active .ptoggle__price { color: var(--accent-ink); }
.ptoggle__thumb {
  position: absolute;
  z-index: 0;
  top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px);
  background: var(--surface);
  border-radius: 100px;
  box-shadow: var(--shadow-1);
  transition: transform 0.5s var(--ease-out);
}
.ptoggle[data-active="pl"] .ptoggle__thumb { transform: translateX(100%); }

/* Toggle panes — only one shown, it animates in on switch */
.plan__pane { display: none; }
.plan__pane.is-active { display: block; animation: paneIn 0.45s var(--ease-out); }
@keyframes paneIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2vw, 34px);
  border-radius: clamp(20px, 2.2vw, 30px);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.sheet--light .plan { background: var(--surface); border: 1px solid var(--hairline-2); }

/* Featured plan — white card, the recommendation, with a crisp accent ring. */
.sheet--light .plan--featured {
  border-color: transparent;
  box-shadow: var(--shadow-2), 0 0 0 1.5px var(--accent-line);
}
.sheet--light .plan--featured:hover {
  box-shadow: var(--shadow-3), 0 0 0 1.5px var(--accent-line);
}
.plan--featured .pricetag { color: var(--accent-ink); }

.plan__flag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
}
.plan--featured .plan__flag { color: #fff; background: var(--accent); }
.plan__flag--soft { color: var(--text-3); background: rgba(0,0,0,0.04); }
.plan__head { padding-bottom: 18px; border-bottom: 1px solid var(--hairline-2); margin-bottom: 18px; }
.plan__title {
  margin: 0 0 16px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}
.plan__price { display: flex; align-items: baseline; gap: 5px; }
.plan__amount {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(42px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.plan__cur { font-size: clamp(22px, 2vw, 28px); font-weight: 600; color: var(--text-3); }
.plan__price-note { display: block; margin-top: 8px; font-size: 13.5px; color: var(--text-3); }
.plan__block { margin-bottom: 18px; }
.plan__label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ticklist { list-style: none; margin: 0; padding: 0; }
.ticklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.ticklist li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background:
    var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-10' stroke='%231f63e8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.stage-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline-2);
}
.stage-row:last-child { border-bottom: none; }
.stage-row--between { padding: 9px 0; }
.stage-row__main { display: flex; flex-direction: column; gap: 5px; }
.stage-row__main strong { font-size: 15.5px; font-weight: 600; color: var(--text); }
.stage-row__main .muted { font-size: 13.5px; line-height: 1.45; }
.pricetag {
  flex: none;
  align-self: flex-start;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.plan .btn--block { margin-top: auto; }

/* Secondary service cards — distinct premium cards on the light sheet */
.services-mini {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--gap);
  max-width: 920px;
  margin: 0 auto;
}
/* Merged consultation card — lists the two phone-only services */
.mini__svclist {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini__svclist li {
  position: relative;
  padding-left: 26px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}
.mini__svclist li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-10' stroke='%231f63e8' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.mini__badge--soft { background: rgba(17,17,19,0.05); color: var(--text-3); }
.mini {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 1.8vw, 28px);
  border-radius: clamp(18px, 1.8vw, 24px);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
    border-color 0.45s var(--ease-out);
}
.sheet--light .mini { background: var(--surface); border: 1px solid var(--hairline-2); }
.mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--accent-line);
}
/* "Coming soon" card — softly tinted, reads as a teaser, not a live offer. */
.sheet--light .mini--muted {
  background: linear-gradient(180deg, var(--accent-soft), rgba(31,99,232,0.02));
  border-color: var(--accent-line);
}
.mini__badge {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(31,99,232,0.1);
}
.mini__title {
  margin: 0 0 10px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--text);
}
.mini__text { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.mini__phone {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: color 0.3s var(--ease-out);
}
.mini__phone:hover { color: var(--accent); }
.mini__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.mini__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-ink);
  transition: gap 0.35s var(--ease-out), color 0.3s;
}
.mini__link:hover { color: var(--accent); gap: 10px; }

/* Messenger chips — quiet, neutral */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--text);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.chip--wa::before { background: #25d366; }
.chip--tg::before { background: #2aabee; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); border-color: transparent; }

/* ============================================================
   4 · FAQ
   ============================================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.faq-aside { position: sticky; top: 104px; }
.faq-aside .section__title { font-size: clamp(30px, 3.4vw, 46px); }
.faq-aside .section__sub { margin-bottom: 36px; }

/* "Still have questions?" card */
.faq-help {
  padding: clamp(24px, 2vw, 30px);
  border-radius: var(--r-lg);
  background: var(--canvas);
  border: 1px solid var(--hairline-2);
}
.faq-help__ico {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--accent);
  background: var(--accent-soft);
}
.faq-help__ico svg { width: 22px; height: 22px; }
.faq-help__title {
  margin: 0 0 6px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.faq-help__text { margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }

/* Accordion — cards that lift open */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: rgba(17, 17, 19, 0.025);
  box-shadow: none;
  overflow: hidden;
  transition: background 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.faq__item:hover { background: rgba(17, 17, 19, 0.045); }
.faq__item[open] {
  background: var(--surface);
  border-color: var(--hairline-2);
  box-shadow: var(--shadow-2);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 1.8vw, 26px) clamp(20px, 1.8vw, 28px);
  cursor: pointer;
  list-style: none;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__ico {
  position: relative;
  flex: 0 0 auto;
  align-self: center; /* never stretch with a multi-line question */
  width: 34px; height: 34px;
  aspect-ratio: 1 / 1; /* always a perfect circle, any question length */
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; border-radius: 2px;
  background: var(--text-2);
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease-out), opacity 0.4s, background 0.3s;
}
.faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item:hover .faq__ico { border-color: var(--hairline); background: #fff; }
.faq__item[open] .faq__ico {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg);
}
.faq__item[open] .faq__ico::before { background: #fff; }
.faq__item[open] .faq__ico::after { opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq__item[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 clamp(20px, 1.8vw, 28px);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 60ch;
}
.faq__item[open] .faq__a > p { padding-bottom: clamp(22px, 2vw, 28px); }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-aside .section__sub { margin-bottom: 24px; }
  .faq-help { display: none; }
}

/* FAQ accordion — clean white cards on the light-grey sheet */
.faq__item {
  background: var(--surface);
  border-color: var(--hairline-2);
  box-shadow: var(--shadow-1);
}
.faq__item:hover { background: var(--surface); box-shadow: var(--shadow-2); }
.faq__item[open] { background: var(--surface); box-shadow: var(--shadow-2); }
/* "Still have questions?" card sits a touch brighter than the sheet. */
.sheet--blue .faq-help { background: var(--surface); border-color: var(--hairline-2); }

/* ============================================================
   5 · CONTACT — the whole section is a blue sheet (rounded top)
   ============================================================ */
.sheet--accent {
  z-index: 3;
  background:
    radial-gradient(120% 130% at 4% -8%, #2f74f5 0%, transparent 58%),
    linear-gradient(160deg, #2569ee 0%, #1f5fe6 48%, #1a4ecb 100%);
  color: rgba(255,255,255,0.82);
  box-shadow: 0 -28px 60px -42px rgba(26,79,204,0.5);
}
.sheet--accent .eyebrow { color: rgba(255,255,255,0.85); }
.sheet--accent .section__title { color: #fff; }
.sheet--accent .section__sub { color: rgba(255,255,255,0.82); }
.sheet--accent .contact__label { color: rgba(255,255,255,0.62); }
.sheet--accent .contact__value { color: #fff; }
.sheet--accent a.contact__value:hover { color: #fff; opacity: 0.82; }
.sheet--accent .contact__ico { color: #fff; background: rgba(255,255,255,0.15); }
.sheet--accent .contact__item { border-bottom-color: rgba(255,255,255,0.18); }

/* Form sits directly on the blue — no white box */
.sheet--accent .contact__form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.sheet--accent .contact__form-title { color: #fff; }
.sheet--accent .field__label { color: rgba(255,255,255,0.78); }
.sheet--accent .field__label .muted { color: inherit; }
.sheet--accent .field__input {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
}
.sheet--accent .field__input::placeholder { color: rgba(255,255,255,0.55); }
.sheet--accent .field__input:focus {
  border-color: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.16);
}
.sheet--accent .field__select option { color: var(--ink); } /* native dropdown */
.sheet--accent .field__chevron { border-color: rgba(255,255,255,0.75); }
.sheet--accent .contact__form-note { color: rgba(255,255,255,0.62); }
.sheet--accent .contact__form-ok { color: #fff; }
/* Submit button in the contact form */
.sheet--accent .contact__form .btn--primary {
  border: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.sheet--accent .contact__form .btn--primary:hover {
  background: #fff;
  box-shadow: none;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.contact__list { list-style: none; margin: 38px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.contact__item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline-2); }
.contact__item:last-child { border-bottom: none; }
.contact__ico {
  display: inline-flex; flex: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--text);
  background: rgba(0,0,0,0.04);
}
.contact__ico svg { width: 21px; height: 21px; }
.contact__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.contact__value {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.3s;
}
a.contact__value:hover { color: var(--accent); }
.contact__value--plain { font-weight: 600; }
.contact__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__chips .chip {
  border: 0;
  box-shadow: none;
}
.contact__chips .chip:hover {
  border-color: transparent;
  box-shadow: none;
}

.contact__form { padding: clamp(28px, 3vw, 44px); background: var(--canvas); border: 1px solid var(--hairline-2); }
.contact__form-title {
  margin: 0 0 24px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.field { margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 9px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field__input {
  width: 100%;
  padding: 15px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: var(--text-3); }
.field__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field__textarea { resize: vertical; min-height: 96px; }
.field__select-wrap { position: relative; }
.field__select { cursor: pointer; padding-right: 44px; }
.field__chevron {
  position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.contact__form-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-3); }
.contact__form-ok { margin: 14px 0 0; font-size: 14px; font-weight: 600; color: var(--accent-ink); }

/* ============================================================
   6 · CTA — the dark moment (full-bleed sheet, no card)
   ============================================================ */
.section--cta {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 72px);
}
.cta__content { flex: 1 1 460px; max-width: 660px; }
.cta__title {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
}
.cta__sub { margin: 22px 0 0; max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(255,255,255,0.6); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   Button variants (extends .btn from hero)
   ============================================================ */
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--dark {
  padding: 17px 30px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-1);
}
.btn--dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.btn--dark .btn__icon { display: inline-flex; transition: transform 0.5s var(--ease-out); }
.btn--dark:hover .btn__icon { transform: translateX(4px); }
.btn--light {
  background: #fff; color: var(--ink-deep);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.5); }
.btn--light .btn__icon { display: inline-flex; transition: transform 0.5s var(--ease-out); }
.btn--light:hover .btn__icon { transform: translateX(4px); }
.btn--ghost-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn--ghost-dark:hover { transform: translateY(-3px); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
/* Brand-blue CTA — the strongest action on the dark footer. */
.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 34px -12px rgba(31,99,232,0.75);
}
.btn--accent:hover {
  transform: translateY(-3px);
  background: #2a6ff2;
  box-shadow: 0 22px 50px -14px rgba(31,99,232,0.85);
}
.btn--accent .btn__icon { display: inline-flex; transition: transform 0.5s var(--ease-out); }
.btn--accent:hover .btn__icon { transform: translateX(4px); }

/* ============================================================
   7 · FOOTER (sits on the dark sheet)
   ============================================================ */
.footer {
  position: relative;
  background: transparent;
  color: rgba(255,255,255,0.6);
  /* Generous breathing above the divider and below the whole footer. */
  padding: clamp(48px, 5vw, 88px) 0 var(--section-pad);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(40px, 4.5vw, 68px);
  padding-bottom: clamp(48px, 5.5vw, 76px);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer .nav__brand { color: #fff; margin-bottom: 20px; }
.footer .nav__logo-frame {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.footer__tagline { margin: 0; max-width: 34ch; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.62); }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__heading {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
}
.footer__col a { font-size: 14.5px; color: rgba(255,255,255,0.72); transition: color 0.3s; }
.footer__col a:hover { color: #fff; }
.footer__muted { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding-top: clamp(28px, 3vw, 40px);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer__legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.footer__legal-link { color: rgba(255,255,255,0.72); transition: color 0.3s var(--ease-out); }
.footer__legal-link:hover { color: #fff; }

/* Legal-page footer: dark rounded cap over the prose, single clean row. */
.legal-footer .footer { padding-top: calc(var(--r-sheet-top) + clamp(30px, 4vw, 54px)); }
.footer__bottom--solo { padding-top: 0; }

/* ============================================================
   Legal pages (Privacy Policy) — clean prose on the light canvas
   ============================================================ */
.legal {
  position: relative;
  z-index: 20;
  padding: calc(var(--nav-h) + clamp(40px, 6vh, 84px)) 0 clamp(64px, 9vh, 120px);
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: clamp(22px, 3vw, 34px);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.3s var(--ease-out), gap 0.3s var(--ease-out);
}
.legal__back:hover { color: var(--accent-ink); gap: 11px; }
.legal__title {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-size: clamp(30px, 4.4vw, 52px);
  color: var(--text);
}
.legal__updated { margin: 14px 0 0; font-size: 14px; color: var(--text-3); }
.legal__body { margin-top: clamp(32px, 4vw, 52px); max-width: 760px; }
.legal__body h2 {
  margin: clamp(30px, 3.4vw, 44px) 0 12px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p,
.legal__body li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.legal__body p { margin: 0 0 14px; }
.legal__body ul { margin: 0 0 14px; padding-left: 22px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal__body strong { color: var(--text); font-weight: 600; }

/* ============================================================
   Nav — glass state once scrolled
   ============================================================ */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--hairline-2);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.nav.nav--solid::before {
  opacity: 1;
  box-shadow: 0 6px 24px -16px rgba(17,17,19,0.35);
}
.nav__brand, .nav__links, .nav__cta, .nav__burger { position: relative; z-index: 1; }

/* Reading-progress bar — sits on the nav's bottom hairline, grows with scroll.
   Visible only once the glass nav is active, so it reads cleanly over content. */
.nav__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  z-index: 2;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--accent-ink));
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.nav.nav--solid .nav__progress { opacity: 1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .services-mini { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .docs { position: static; }
}
@media (max-width: 820px) {
  .plans { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta { flex-direction: column; align-items: stretch; }
  /* In the column layout the flex-basis must not become a tall height. */
  .cta__content { flex: 0 0 auto; max-width: none; }
  .cta__actions { width: 100%; }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  /* Full-width stacked CTA buttons — no cramped wrapping. */
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .step { gap: 16px; padding: 26px; }
  .stage-row { flex-direction: column; gap: 8px; }
  .pricetag { align-self: flex-start; }
}

/* ============================================================
   Reduced motion — page additions
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   CTA + footer — one premium black zone
   ============================================================ */
.cta__eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.section--cta .cta__sub { color: rgba(255,255,255,0.66); }
.section--cta .btn--ghost-dark { border-color: rgba(255,255,255,0.24); }
.section--cta .btn--ghost-dark:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); }
/* CTA bottom pad meets the footer — one even gutter, border only for separation. */
.sheet--dark .footer { padding-top: 0; }
.footer__heading { color: rgba(255,255,255,0.5); }
.footer__col a:hover { color: var(--accent-bright); }
.footer .nav__brand .nav__logo-frame { background: #06276d; }

/* ============================================================
   Mobile — compact, dense, still premium
   ============================================================ */
@media (max-width: 700px) {
  :root {
    --section-pad: 64px;                     /* generous, > the cap radius */
    --gap: 12px;
    --r-sheet-top: clamp(30px, 6.5vw, 46px); /* larger, still < section-pad */
  }

  .section__head { margin-bottom: 32px; }
  .section__title { font-size: clamp(25px, 6.6vw, 32px); line-height: 1.1; }
  .section__sub { font-size: 15px; margin-top: 13px; line-height: 1.55; }

  /* Benefits → compact full-width rows: icon left, copy on the right */
  .benefits-grid { grid-template-columns: 1fr; gap: 10px; }
  .benefit {
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 3px;
    padding: 15px 15px;
    border-radius: 15px;
  }
  .benefit:hover { transform: none; }
  .benefit__icon { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 0; }
  .benefit__icon svg { width: 18px; height: 18px; }
  .benefit__title { font-size: 14.25px; margin-bottom: 3px; line-height: 1.25; }
  .benefit__text { font-size: 13px; line-height: 1.45; }

  /* Process */
  .process { gap: 10px; }
  .docs { padding: 18px; }
  .docs__title { margin-bottom: 14px; }
  .docs__list { margin-bottom: 14px; }
  .docs__list li { padding: 10px 0 10px 27px; font-size: 14px; }
  .timeline { gap: 10px; }
  .step { padding: 17px; gap: 13px; }
  .step__num { font-size: 20px; min-width: 1.2em; }
  .step__title { font-size: 16.5px; margin-bottom: 5px; }
  .step__text { font-size: 13.75px; line-height: 1.5; }

  /* Pricing — toggle + one compact card; clear gap before the service cards */
  .pricing { max-width: none; margin-bottom: 36px; }
  .ptoggle { max-width: none; margin-bottom: 22px; }
  .ptoggle__opt { font-size: 13.5px; padding: 8px 10px; }
  .ptoggle__price { font-size: 11.5px; }
  .plan { padding: 20px 17px; border-radius: 18px; }
  .plan:hover { transform: none; }
  .plan__flag { margin-bottom: 14px; }
  .plan__head { padding-bottom: 14px; margin-bottom: 14px; }
  .plan__title { font-size: 16.5px; margin-bottom: 12px; line-height: 1.3; }
  .plan__amount { font-size: 36px; }
  .plan__price-note { margin-top: 7px; }
  .plan__block { margin-bottom: 14px; }
  .plan__label { margin-bottom: 10px; }
  /* keep price inline with the stage text — saves a line each */
  .stage-row { flex-direction: row; align-items: flex-start; gap: 12px; padding: 11px 0; }
  .stage-row--between { padding: 9px 0; }
  .stage-row__main { flex: 1; }
  .pricetag { align-self: flex-start; }

  /* Secondary services → simple stack (only two cards) */
  .services-mini { grid-template-columns: 1fr; gap: 16px; max-width: none; }
  .mini { padding: 18px 16px; }
  .mini:hover { transform: none; }
  .mini__svclist { margin-bottom: 14px; gap: 8px; }
  .mini__svclist li { font-size: 14.5px; padding-left: 24px; }
  .mini__title { margin-bottom: 10px; }
  .mini__text { margin-bottom: 16px; }
  .mini__phone { margin-bottom: 14px; }

  /* FAQ */
  .faq { gap: 9px; }
  .faq__q { padding: 15px 16px; font-size: 15px; gap: 13px; }
  .faq__ico { width: 30px; height: 30px; }
  .faq__a > p { font-size: 14px; padding: 0 16px; line-height: 1.6; }
  .faq__item[open] .faq__a > p { padding-bottom: 16px; }

  /* Contact — blue section */
  .contact { gap: 26px; }
  .contact__list { margin: 22px 0 16px; }
  .contact__item { padding: 11px 0; }
  .sheet--accent .contact__form { padding: 0; }
  .contact__form-title { margin-bottom: 18px; }
  .field { margin-bottom: 14px; }

  /* CTA */
  .cta { gap: 22px; }
  .cta__sub { margin-top: 14px; }

  /* Footer */
  .footer__top { gap: 24px 22px; padding-bottom: 28px; }
  .footer__bottom { padding-top: 20px; }
}

/* Very small phones — tighten benefit cards a touch */
@media (max-width: 360px) {
  .benefit { padding: 14px 13px; }
  .benefit__text { font-size: 12.5px; }
}

/* ============================================================
   Language switcher
   ============================================================ */
.lang { position: relative; z-index: 1; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 10px 6px 7px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 28px -24px rgba(0,0,0,0.75);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.lang__btn:hover,
.lang.is-open .lang__btn {
  background: rgba(255,255,255,0.95);
  border-color: rgba(42,97,214,0.22);
  box-shadow: 0 18px 40px -24px rgba(31,84,196,0.45);
  transform: translateY(-1px);
}
.lang__globe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #123d9f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.lang__current { line-height: 1; min-width: 18px; text-align: center; }
.lang__chev {
  opacity: 0.55;
  transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease-out);
}
.lang__btn:hover .lang__chev,
.lang.is-open .lang__chev { opacity: 0.8; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 216px;
  padding: 8px;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  box-shadow: 0 24px 60px -32px rgba(0,0,0,0.5), 0 8px 26px -22px rgba(42,97,214,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.3s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__opt {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 46px;
  padding: 8px 11px 8px 8px;
  border: none;
  background: transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.lang__opt::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 30px;
  border-radius: 10px;
  background: rgba(42,97,214,0.08);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.lang__opt[data-lang="ru"]::before { content: "RU"; }
.lang__opt[data-lang="uk"]::before { content: "UA"; }
.lang__opt[data-lang="pl"]::before { content: "PL"; }
.lang__opt:hover {
  background: rgba(0, 0, 0, 0.045);
  transform: translateX(1px);
}
.lang__opt.is-active {
  color: var(--accent-ink);
  font-weight: 700;
  background: rgba(42,97,214,0.11);
}
.lang__opt.is-active::before {
  background: var(--accent);
  color: #fff;
}
.lang__opt.is-active::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-10' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Mobile language row (inside burger menu) */
.mobile-lang { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.mobile-lang__opt {
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid var(--hairline);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s, border-color 0.3s;
}
.mobile-lang__opt.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .lang { display: none; }
}

/* ============================================================
   Accessibility & publication polish
   ============================================================ */

/* Skip-to-content link */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); outline: 2px solid #fff; outline-offset: 2px; }

/* Visible keyboard focus on every interactive element */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav__link:focus-visible,
.lang__opt:focus-visible,
.mobile-lang__opt:focus-visible,
.chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
/* On the dark sheet, use a light ring for contrast */
.sheet--dark a:focus-visible,
.sheet--dark .btn:focus-visible,
.sheet--blue a:focus-visible,
.sheet--blue .btn:focus-visible {
  outline-color: #fff;
}
/* Inputs already show a focus ring via box-shadow; keep outline too */
.field__input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Hero secondary button — legible on the bright video */
.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(17, 17, 19, 0.14);
  color: var(--ink);
}

/* Language options are now links — keep them block-level & tappable */
a.lang__opt { text-decoration: none; min-height: 44px; }
a.mobile-lang__opt { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }

/* Comfortable touch targets */
.chip { min-height: 40px; }

/* Decorative step numerals — keep them clearly decorative, not failing-text */
.step__num { opacity: 0.4; }
