/* =============================================================================
   RestoraPass — marketing site design system
   Palette follows the product brand tokens (.env.example BRAND_COLOR_*):
   BG #04342C · ACCENT #C9A227 · LABEL #9FD3C7
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Forest */
  --forest-950: #031e19;
  --forest-900: #04342c;
  --forest-850: #073f35;
  --forest-800: #0a4a3e;
  --forest-700: #0f5b4c;
  --forest-600: #16705d;

  /* Gold */
  --gold-100: #faf2d8;
  --gold-200: #f0dfa3;
  --gold-300: #e4c75a;
  --gold-400: #d4b23c;
  --gold-500: #c9a227;
  --gold-600: #a8831b;
  --gold-700: #7e6211;

  /* Mint */
  --mint-100: #e7f3ef;
  --mint-200: #c4e3da;
  --mint-300: #9fd3c7;
  --mint-400: #6fb5a5;

  /* Neutrals — warm, never pure grey */
  --sand-50: #fbfbf8;
  --sand-100: #f4f7f3;
  --sand-200: #eaf0eb;
  --line: #e3eae5;
  --line-strong: #cfdcd5;

  /* Ink */
  --ink: #08201b;
  --ink-2: #36473f;
  --ink-3: #5c6f66;

  /* On dark */
  --on-dark: #f2f7f4;
  --on-dark-2: rgba(226, 240, 235, 0.74);
  --on-dark-3: rgba(226, 240, 235, 0.52);
  --hairline-dark: rgba(255, 255, 255, 0.1);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #f0dfa3 0%, #c9a227 46%, #a8831b 100%);
  --grad-forest: linear-gradient(158deg, #0a4a3e 0%, #04342c 52%, #031e19 100%);
  --grad-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Elevation — tinted, never neutral black */
  --sh-sm: 0 1px 2px rgba(4, 52, 44, 0.05), 0 2px 10px -4px rgba(4, 52, 44, 0.08);
  --sh-md: 0 4px 14px -6px rgba(4, 52, 44, 0.12), 0 18px 36px -18px rgba(4, 52, 44, 0.18);
  --sh-lg: 0 8px 24px -10px rgba(4, 52, 44, 0.16), 0 36px 68px -28px rgba(4, 52, 44, 0.3);
  --sh-xl: 0 20px 50px -20px rgba(3, 30, 25, 0.45), 0 60px 110px -50px rgba(3, 30, 25, 0.6);
  --sh-gold: 0 10px 28px -12px rgba(201, 162, 39, 0.55);

  /* Type */
  --font-sans: "Manrope", ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --fs-display: clamp(2.2rem, 1.35rem + 3.9vw, 4.3rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2.1vw, 2.9rem);
  --fs-h3: clamp(1.08rem, 1.02rem + 0.3vw, 1.25rem);
  --fs-lead: clamp(1.03rem, 0.98rem + 0.42vw, 1.26rem);
  --fs-body: clamp(0.95rem, 0.92rem + 0.14vw, 1rem);
  --fs-sm: 0.875rem;
  --fs-xs: 0.78rem;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(68px, 8vw, 128px);
  --header-h: 64px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-1: 0.18s;
  --dur-2: 0.32s;
  --dur-3: 0.6s;
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
}

/* ---------- 2. Base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(201, 162, 39, 0.18);
}

body.is-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

img,
svg { display: block; max-width: 100%; }

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

ul,
ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: var(--fs-display); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; line-height: 1.3; }

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold-300); color: var(--forest-950); }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Serif accent — Playfair Display covers Latin, Latin-ext and Cyrillic,
   so it renders consistently across the TR / RU / EN copy. */
.accent {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.on-dark .accent,
.band-dark .accent { background: linear-gradient(135deg, #f6ead0 0%, #e4c75a 55%, #c9a227 100%); -webkit-background-clip: text; background-clip: text; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- 3. Layout primitives ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }
.section-tint { background: var(--sand-100); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}
.section-head p {
  font-size: var(--fs-lead);
  color: var(--ink-3);
  margin: 0;
}
.band-dark .section-head p { color: var(--on-dark-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--gold-700);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: var(--sh-sm);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.16);
}
.band-dark .eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--hairline-dark);
  color: var(--gold-300);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.band-dark {
  position: relative;
  isolation: isolate;
  background: var(--grad-forest);
  color: var(--on-dark-2);
  overflow: hidden;
}
.band-dark h2,
.band-dark h3 { color: var(--on-dark); }

/* Atmosphere: aurora glows + fine grain, purely decorative */
.glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.glow::before,
.glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.glow::before {
  width: 56vw;
  height: 56vw;
  max-width: 720px;
  max-height: 720px;
  top: -24%;
  right: -16%;
  background: radial-gradient(circle, rgba(22, 112, 93, 0.95) 0%, rgba(22, 112, 93, 0) 70%);
}
.glow::after {
  width: 44vw;
  height: 44vw;
  max-width: 560px;
  max-height: 560px;
  bottom: -22%;
  left: -12%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.42) 0%, rgba(201, 162, 39, 0) 70%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-soft), border-color var(--dur-2) var(--ease-soft),
    color var(--dur-2) var(--ease-soft);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-sm { min-height: 42px; padding: 9px 18px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }

/* Gold — primary action */
.btn-gold {
  background: var(--grad-gold);
  color: #221801;
  box-shadow: var(--sh-gold);
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease-out);
}

/* Forest — primary on light surfaces */
.btn-forest {
  background: var(--forest-900);
  color: #fff;
  box-shadow: var(--sh-md);
}

/* Ghost variants */
.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-strong);
  color: var(--forest-900);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--on-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn-gold:hover { box-shadow: 0 16px 36px -14px rgba(201, 162, 39, 0.7); }
  .btn-gold:hover::after { transform: translateX(120%); }
  .btn-forest:hover { background: var(--forest-800); box-shadow: var(--sh-lg); }
  .btn-ghost:hover { border-color: var(--forest-900); background: #fff; }
  .btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.38); }
}

/* Inline text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--forest-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.band-dark .link-arrow { color: var(--gold-300); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover svg { transform: translateX(4px); }
}

/* ---------- 5. Skip link ------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -200%);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--gold-500);
  color: #221801;
  font-weight: 700;
  box-shadow: var(--sh-lg);
  transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 6. Header ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  /* Pulled over the hero so the transparent top state reveals the dark hero,
     not the page background. */
  margin-bottom: calc(-1 * (var(--header-h) + env(safe-area-inset-top)));
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-2) var(--ease-soft), border-color var(--dur-2) var(--ease-soft),
    box-shadow var(--dur-2) var(--ease-soft), backdrop-filter var(--dur-2) var(--ease-soft);
  padding-top: env(safe-area-inset-top);
}
.site-header.is-scrolled {
  background: rgba(3, 30, 25, 0.82);
  border-bottom-color: var(--hairline-dark);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: rgba(3, 30, 25, 0.97); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 26px; width: auto; }

.nav-desktop {
  display: none;
  gap: 4px;
  margin-inline: auto;
}
.nav-desktop a {
  position: relative;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--on-dark-2);
  transition: color var(--dur-1) var(--ease-soft), background-color var(--dur-1) var(--ease-soft);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transform: translateX(-50%);
  transition: width var(--dur-2) var(--ease-out);
}
.nav-desktop a[aria-current="true"] { color: var(--on-dark); }
.nav-desktop a[aria-current="true"]::after { width: 18px; }
@media (hover: hover) and (pointer: fine) {
  .nav-desktop a:hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.07); }
}

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
}
.lang-switch button {
  min-width: 34px;
  min-height: 36px;
  padding: 0 5px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--on-dark-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color var(--dur-1) var(--ease-soft), background-color var(--dur-1) var(--ease-soft);
}
.lang-switch button.is-active {
  background: var(--grad-gold);
  color: #221801;
}
@media (hover: hover) and (pointer: fine) {
  .lang-switch button:not(.is-active):hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.1); }
}

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hairline-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--on-dark);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) var(--ease-soft);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ---------- 7. Mobile drawer -------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--grad-forest);
  color: var(--on-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-2) var(--ease-soft), transform var(--dur-3) var(--ease-out),
    visibility 0s linear var(--dur-2);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--hairline-dark);
}
.drawer-head img { height: 30px; width: auto; }
.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.drawer-close svg { width: 18px; height: 18px; }

.drawer-nav {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px var(--gutter);
}
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.drawer-nav a svg { width: 16px; height: 16px; color: var(--gold-400); opacity: 0.8; }

.drawer-foot {
  display: grid;
  gap: 14px;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid var(--hairline-dark);
}
.drawer-foot .lang-switch { justify-self: start; }
.drawer-mail { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-2); font-size: var(--fs-sm); }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--grad-forest);
  color: var(--on-dark-2);
  overflow: hidden;
  padding-block: calc(var(--header-h) + clamp(20px, 3vw, 46px)) clamp(56px, 7vw, 104px);
}
.hero::before {
  /* fine grid, fading out downward */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(159, 211, 199, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 211, 199, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
}

.hero-grid {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}

.hero-copy { max-width: 620px; }
.hero h1 { color: var(--on-dark); margin-bottom: 0.45em; }
.hero-lead {
  font-size: var(--fs-lead);
  color: var(--on-dark-2);
  max-width: 54ch;
  margin-bottom: 28px;
}

.hero-cta {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 20px;
  margin-bottom: 24px;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--on-dark-2);
}
.hero-badges svg { width: 17px; height: 17px; flex: none; color: var(--gold-300); }

.notice {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: var(--r-md);
  background: rgba(201, 162, 39, 0.08);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--on-dark-2);
  max-width: 58ch;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold-300); }

/* ---------- 9. Device + pass -------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  perspective: 1400px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 110%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.26) 0%, rgba(201, 162, 39, 0) 62%);
  filter: blur(20px);
}

.device-wrap {
  position: relative;
  width: min(300px, 78vw);
}

.device {
  position: relative;
  width: 100%;
  aspect-ratio: 300 / 614;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2b3b36 0%, #0c1a16 32%, #060f0d 70%, #233330 100%);
  box-shadow: var(--sh-xl), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out);
}
.device-screen {
  position: relative;
  height: 100%;
  padding: 0 14px;
  border-radius: 36px;
  background: linear-gradient(180deg, #06201b 0%, #04342c 42%, #052a24 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.device-island {
  width: 86px;
  height: 25px;
  margin: 9px auto 0;
  border-radius: var(--r-pill);
  background: #04100d;
  flex: none;
}
.device-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -18px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  flex: none;
}
.device-status-icons { display: flex; align-items: center; gap: 4px; }
.device-status-icons i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.78);
}
.device-status-icons i:nth-child(1) { height: 5px; }
.device-status-icons i:nth-child(2) { height: 7px; }
.device-status-icons i:nth-child(3) { height: 9px; }
.device-status-icons i:nth-child(4) { height: 11px; }
.device-status-icons b {
  width: 20px;
  height: 10px;
  margin-left: 3px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  position: relative;
}
.device-status-icons b::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  width: 62%;
  border-radius: 1px;
  background: var(--gold-300);
}
.device-title {
  margin: 14px 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(159, 211, 199, 0.75);
  text-align: center;
  flex: none;
}

/* The pass */
.pass {
  position: relative;
  border-radius: 20px;
  padding: 16px 16px 14px;
  background: linear-gradient(155deg, #0f5b4c 0%, #0a3b32 48%, #052a23 100%);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(201, 162, 39, 0.35);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.pass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 60% at 80% 0%, rgba(201, 162, 39, 0.22) 0%, transparent 58%);
}
.pass::after {
  /* slow specular sweep */
  content: "";
  position: absolute;
  top: -60%;
  left: -40%;
  width: 55%;
  height: 220%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: rotate(18deg);
  animation: sweep 7s var(--ease-soft) infinite;
}
@keyframes sweep {
  0%, 62% { transform: translateX(-30%) rotate(18deg); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(320%) rotate(18deg); opacity: 0; }
}

.pass-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pass-brand { display: flex; align-items: center; gap: 8px; }
.pass-brand svg { width: 22px; height: 22px; border-radius: 6px; }
.pass-brand span { font-size: 0.82rem; font-weight: 800; letter-spacing: -0.01em; }
.pass-tier {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--grad-gold);
  color: #221801;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pass-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mint-300);
}
.pass-balance { margin-top: 16px; }
.pass-balance .pass-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.pass-delta {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(159, 211, 199, 0.16);
  border: 1px solid rgba(159, 211, 199, 0.3);
  color: var(--mint-300);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pass-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(159, 211, 199, 0.28);
}
.pass-meta strong { display: block; font-size: 0.82rem; font-weight: 700; margin-top: 2px; }

.pass-qr {
  margin-top: 14px;
  padding: 9px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
}
.pass-qr svg { width: 100%; height: auto; max-width: 112px; color: #06201b; }

.pass-foot {
  margin-top: 10px;
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  color: rgba(226, 240, 235, 0.6);
  text-align: center;
}

/* Recent activity below the pass — fills the phone screen like a real wallet */
.device-activity { margin-top: 16px; }
.device-activity .device-activity-label {
  margin: 0 0 2px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(159, 211, 199, 0.7);
}
.device-activity li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(159, 211, 199, 0.12);
  font-size: 0.68rem;
  color: rgba(226, 240, 235, 0.74);
}
.device-activity li:last-child { border-bottom: 0; }
.device-activity b { font-weight: 800; letter-spacing: -0.01em; }
.device-activity b.is-plus { color: var(--mint-300); }
.device-activity b.is-minus { color: #e8a87c; }

/* Floating glass chips — desktop only; on phones the device stands alone */
.chip {
  position: absolute;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(10, 48, 40, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--sh-lg);
  color: var(--on-dark);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  animation: float 6s var(--ease-soft) infinite;
}
.chip small {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--on-dark-3);
}
.chip-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  background: var(--grad-gold);
  color: #221801;
}
.chip-icon svg { width: 15px; height: 15px; }
.chip-icon.is-mint { background: linear-gradient(135deg, #c4e3da, #6fb5a5); color: #053027; }

.chip-earn { top: 8%; left: -30%; animation-delay: -1s; }
.chip-wallet { bottom: 4%; right: -28%; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.visual-caption {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--on-dark-3);
}

/* ---------- 10. Trust marquee ------------------------------------------- */
.strip {
  position: relative;
  border-top: 1px solid var(--hairline-dark);
  background: rgba(3, 30, 25, 0.5);
  padding-block: 18px;
  overflow: hidden;
}
.strip-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.strip-group {
  display: flex;
  align-items: center;
  gap: clamp(26px, 5vw, 52px);
  padding-right: clamp(26px, 5vw, 52px);
  flex: none;
}
.strip-group li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--on-dark-3);
  white-space: nowrap;
}
.strip-group svg { width: 18px; height: 18px; color: var(--mint-400); flex: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.strip::before,
.strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 10vw, 110px);
  z-index: 2;
  pointer-events: none;
}
.strip::before { left: 0; background: linear-gradient(90deg, #031f1a, transparent); }
.strip::after { right: 0; background: linear-gradient(270deg, #031f1a, transparent); }

/* ---------- 11. Feature cards ------------------------------------------- */
.grid-features {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-soft);
}
.card::before {
  /* pointer spotlight */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 162, 39, 0.1), transparent 65%);
  transition: opacity var(--dur-2) var(--ease-soft);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-3); font-size: var(--fs-sm); line-height: 1.6; }

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: linear-gradient(155deg, var(--mint-100), #fff);
  border: 1px solid var(--line);
  color: var(--forest-700);
  box-shadow: inset 0 1px 0 #fff;
}
.card-icon svg { width: 23px; height: 23px; }

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-lg);
    border-color: rgba(201, 162, 39, 0.4);
  }
  .card:hover::before { opacity: 1; }
}

/* ---------- 12. Steps ---------------------------------------------------- */
.steps {
  display: grid;
  gap: 0;
  position: relative;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding-bottom: 32px;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  /* vertical rail */
  content: "";
  position: absolute;
  top: 54px;
  bottom: 4px;
  left: 25px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), rgba(207, 220, 213, 0));
}
.steps li:last-child::before { display: none; }

.step-n {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: var(--grad-forest);
  color: var(--gold-300);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: var(--sh-md), inset 0 0 0 1px rgba(201, 162, 39, 0.3);
}
.steps h3 { margin: 12px 0 6px; }
.steps p { color: var(--ink-3); font-size: var(--fs-sm); margin: 0; }

/* ---------- 13. Showcase (wallet formats) -------------------------------- */
.showcase-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: 1fr;
}
.showcase-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-soft);
}
.showcase-stage {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 18px 10px;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 50% 0%, rgba(159, 211, 199, 0.14), rgba(255, 255, 255, 0.02) 70%);
}
.showcase-stage .pass,
.showcase-stage .pass-web { width: min(230px, 72vw); }
.showcase-head { display: flex; align-items: center; gap: 10px; }
.showcase-head svg { width: 20px; height: 20px; color: var(--gold-300); flex: none; }
.showcase-head h3 { margin: 0; font-size: 1.05rem; }
.showcase-item > p { font-size: var(--fs-sm); color: var(--on-dark-2); margin: 0; }
.showcase-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.showcase-tag.is-web { border-color: rgba(159, 211, 199, 0.4); background: rgba(159, 211, 199, 0.12); color: var(--mint-300); }

@media (hover: hover) and (pointer: fine) {
  .showcase-item:hover { transform: translateY(-4px); border-color: rgba(201, 162, 39, 0.35); }
}

/* Google-wallet styled variant */
.pass--google {
  border-radius: 16px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.pass--google::before,
.pass--google::after { display: none; }
.pass-g-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px 16px 0 0;
  background: var(--grad-forest);
  color: #fff;
}
.pass-g-head svg { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.pass-g-head span { font-size: 0.8rem; font-weight: 800; }
.pass-g-head small { display: block; font-size: 0.62rem; font-weight: 600; color: var(--mint-300); }
.pass-g-body { padding: 16px; }
.pass-g-body .pass-label { color: var(--ink-3); }
.pass-g-value {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.2;
}
.pass-g-bar {
  margin-top: 12px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--sand-200);
  overflow: hidden;
}
.pass-g-bar i { display: block; height: 100%; width: 62%; border-radius: var(--r-pill); background: var(--grad-gold); }
.pass-g-note { margin-top: 8px; font-size: 0.66rem; color: var(--ink-3); }
.pass-g-code {
  margin-top: 14px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.pass-g-code svg { width: 100px; height: 100px; color: var(--ink); }

/* Secure web-card variant */
.pass-web {
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.pass-web-top {
  padding: 16px;
  background: var(--grad-forest);
  color: #fff;
}
.pass-web-top .pass-label { color: var(--mint-300); }
.pass-web-top strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.035em; }
.pass-web-list { padding: 6px 16px 16px; }
.pass-web-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
}
.pass-web-list li:last-child { border-bottom: 0; }
.pass-web-list span { color: var(--ink-3); }
.pass-web-list b { font-weight: 800; letter-spacing: -0.01em; }
.pass-web-list b.is-plus { color: var(--forest-600); }
.pass-web-list b.is-minus { color: #a8431b; }

/* ---------- 14. For restaurants ------------------------------------------ */
.split {
  display: grid;
  gap: clamp(34px, 5vw, 60px);
  align-items: center;
}
.checklist { display: grid; gap: 14px; margin: 26px 0 30px; }
.checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
}
.checklist svg { width: 24px; height: 24px; color: var(--gold-600); margin-top: 1px; }

.stats { display: grid; gap: 14px; }
.stat {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad-forest);
  color: var(--gold-300);
}
.stat-icon svg { width: 21px; height: 21px; }
.stat strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat span { font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- 15. CTA band -------------------------------------------------- */
.cta-band { padding-block: clamp(52px, 6vw, 88px); }
.cta-band-inner {
  display: grid;
  gap: 28px;
  align-items: center;
  text-align: center;
  justify-items: center;
}
.cta-band p { color: var(--on-dark-2); font-size: var(--fs-lead); max-width: 56ch; margin: 0; }

/* ---------- 16. FAQ ------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-sm);
  transition: border-color var(--dur-2) var(--ease-soft), box-shadow var(--dur-2) var(--ease-soft);
}
.faq details[open] { border-color: rgba(201, 162, 39, 0.42); box-shadow: var(--sh-md); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-sign {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color var(--dur-2) var(--ease-soft), border-color var(--dur-2) var(--ease-soft),
    transform var(--dur-2) var(--ease-out);
}
.faq-sign::before,
.faq-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--gold-600);
  transform: translate(-50%, -50%);
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) var(--ease-soft);
}
.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-sign { background: var(--grad-gold); border-color: transparent; transform: rotate(180deg); }
.faq details[open] .faq-sign::before,
.faq details[open] .faq-sign::after { background: #221801; }
.faq details[open] .faq-sign::after { opacity: 0; }
.faq-body { padding: 0 20px 20px; }
.faq-body p { color: var(--ink-3); font-size: var(--fs-sm); margin: 0; max-width: 68ch; }

/* ---------- 17. Contact --------------------------------------------------- */
.contact { text-align: center; }
.contact-actions {
  display: grid;
  gap: 12px;
  justify-content: center;
  margin: 28px 0 18px;
}
.contact-note { font-size: var(--fs-sm); color: var(--ink-3); margin: 0; }

/* ---------- 18. Footer ---------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  background: var(--forest-950);
  color: var(--on-dark-3);
  padding-block: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}
.footer-grid {
  display: grid;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--on-dark-2); font-size: var(--fs-sm); max-width: 36ch; }
.footer-col h4 {
  margin: 0 0 14px;
  color: var(--on-dark);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col li a,
.footer-col li span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--on-dark-2);
  transition: color var(--dur-1) var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .footer-col li a:hover { color: var(--gold-300); }
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline-dark);
  font-size: var(--fs-xs);
}

/* ---------- 19. Mobile sticky CTA ---------------------------------------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(3, 30, 25, 0.9);
  border-top: 1px solid var(--hairline-dark);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, 0.9);
  transform: translateY(110%);
  transition: transform var(--dur-3) var(--ease-out);
}
.dock.is-visible { transform: translateY(0); }
.dock-copy { flex: 1; min-width: 0; }
.dock-copy strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--on-dark);
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock-copy span {
  display: block;
  font-size: 0.7rem;
  color: var(--on-dark-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock .btn { flex: none; }

@media (min-width: 900px) {
  .dock { display: none; }
}

/* ---------- 20. Scroll reveal -------------------------------------------- */
/* Scoped to .js so the page stays fully readable if the script never runs. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 21. Responsive ----------------------------------------------- */
/* Narrow phones: shrink the header furniture so the brand, language switch and
   menu button all fit without horizontal scroll. */
@media (max-width: 420px) {
  :root { --gutter: 18px; }
  .brand img { height: 24px; }
  .header-inner { gap: 8px; }
  .site-header .lang-switch button { min-width: 31px; padding: 0 3px; }
}

/* Below ~360px there is no room left: the language switch lives in the drawer. */
@media (max-width: 359px) {
  .site-header .lang-switch { display: none; }
}

@media (min-width: 560px) {
  .hero-cta { grid-auto-flow: column; justify-content: start; }
  .contact-actions { grid-auto-flow: column; }
  .grid-features { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .brand img { height: 32px; }
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .header-actions { gap: 12px; }
  .lang-switch button { min-width: 40px; padding: 0 10px; }

  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); }
  .hero-visual { justify-self: end; }
  .device-wrap { width: min(324px, 34vw); }
  .chip { display: flex; }

  .grid-features { grid-template-columns: repeat(3, 1fr); }
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
  /* Equal stage heights so the headings and tags below line up across cards */
  .showcase-stage { min-height: 400px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .steps li { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
  .steps li::before {
    top: 26px;
    left: 62px;
    right: -26px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), rgba(207, 220, 213, 0));
  }
  .steps h3 { margin-top: 20px; }

  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }

  .cta-band-inner { grid-template-columns: 1fr auto; text-align: left; justify-items: start; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
}

@media (min-width: 1100px) {
  .device-wrap { width: 330px; }
}

/* Short viewports: keep the hero from pushing the CTA off-screen */
@media (max-width: 899px) and (max-height: 720px) {
  .hero { padding-block: calc(var(--header-h) + 12px) 44px; }
  .hero h1 { font-size: clamp(1.85rem, 7vw, 2.3rem); }
  .hero-lead { font-size: 1rem; margin-bottom: 20px; }
}

/* ---------- 22. Reduced motion / print ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .strip-track { animation: none; }
  .chip { animation: none; }
}

@media print {
  .site-header,
  .dock,
  .drawer,
  .hero-visual,
  .strip { display: none !important; }
  body { background: #fff; color: #000; }
  .band-dark,
  .hero { background: #fff !important; color: #000 !important; }
}
