/* =============================================================================
   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;
  --copper: #b95b2c;
  --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: var(--font-sans);

  --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 ------------------------------------------------------ */
[data-guide-lang][hidden],
[data-guide-item][hidden] { display: none !important; }

*,
*::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; }
b, strong { font-weight: 400; }

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

h1 { font-size: var(--fs-display); font-weight: 300; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; line-height: 1.3; }
.section-head h2, .case h2, .wallet-intro h2, .wallet-hero ~ .section > .container > h2 { font-weight: 300; }

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); }

.accent {
  font: inherit;
  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: 400;
  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: 400;
  letter-spacing: -0.005em;
  word-spacing: 0.08em;
  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: 400;
  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: 400;
  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; }
/* Orbit lockup (docs/branding): white artwork directly on dark surfaces, never
   narrower than the brand book's 160 px minimum. */
.brand img, .drawer-head img, .footer-brand img {
  display: block;
  width: 160px;
  height: 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: 400;
  white-space: nowrap;
  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"], .nav-desktop a[aria-current="page"] { color: var(--on-dark); }
.nav-desktop a[aria-current="true"]::after, .nav-desktop a[aria-current="page"]::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-dropdown { position: relative; }
.lang-dropdown summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
  font-size: var(--fs-xs);
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}
.lang-dropdown summary::-webkit-details-marker { display: none; }
.lang-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.lang-dropdown .lang-switch {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--forest-950);
}
.site-header .lang-dropdown .lang-switch {
  position: absolute;
  z-index: 1;
  top: calc(100% + 6px);
  right: 0;
  border-radius: 16px;
}
.drawer-foot .lang-dropdown { justify-self: start; }
.drawer-foot .lang-dropdown .lang-switch { margin-top: 6px; border-radius: 16px; }

.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 [data-lang] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color var(--dur-1) var(--ease-soft), background-color var(--dur-1) var(--ease-soft);
}
.lang-switch [data-lang].is-active {
  background: var(--grad-gold);
  color: #221801;
}
@media (hover: hover) and (pointer: fine) {
  .lang-switch [data-lang]:not(.is-active):hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.1); }
}

.header-cta { display: none; }

@media (max-width: 1279px) {
  html:not(.js) .site-header { position: relative; margin-bottom: 0; background: var(--forest-950); }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 6px; }
  html:not(.js) .nav-desktop { display: flex; flex-wrap: wrap; order: 1; width: 100%; justify-content: center; }
  html:not(.js) .site-header .lang-dropdown { display: block; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .hero { padding-top: var(--gutter); }
}

.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-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: 400;
  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 ------------------------------------------------------ */
/* Copy first, then the product visual: one column on phones (CTA lands before
   the illustration), two columns from 960px sized to fit a 1366×768 screen. */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--grad-forest);
  color: var(--on-dark-2);
  overflow: hidden;
  padding-block: calc(var(--header-h) + clamp(28px, 4vw, 48px)) clamp(48px, 6vw, 80px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(159, 211, 199, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 211, 199, 0.06) 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(40px, 6vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 640px; }

.hero h1 {
  color: var(--on-dark);
  font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: wrap;
  margin-bottom: 0.55em;
}
.hero h1 .accent { display: block; margin-top: 0.08em; }
.hero-lead {
  font-size: var(--fs-lead);
  color: rgba(242, 247, 244, 0.86);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-cta {
  display: grid;
  gap: 14px;
}
.btn-lg {
  min-height: 60px;
  padding: 14px 34px;
  font-size: 1.08rem;
  white-space: nowrap;
}

/* Brand book p.13: small uppercase eyebrow, one CTA, then the channel line under a copper rule. */
.hero-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--on-dark-2);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-channels {
  margin-top: 32px;
  color: var(--on-dark-2);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.hero-channels::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--copper);
}
@media (max-width: 559px) {
  .hero-channels { margin-top: 26px; }
}

/* Product stage: every size is in cqw (1cqw = 1/100 of the stage width), so
   the phone and dashboard panel keep one composition at any width. */
.hero-visual { position: relative; margin: 0; }
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  aspect-ratio: 1.35;
  container-type: inline-size;
}
.hero-stage svg { display: block; }

.hero-glow {
  position: absolute;
  left: -8cqw;
  top: 6cqw;
  width: 62cqw;
  height: 78cqw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(228, 199, 90, 0.38), rgba(201, 162, 39, 0.12) 55%, transparent);
  filter: blur(6cqw);
}

.hero-laptop {
  position: absolute;
  left: 13%;
  top: 13%;
  width: 86%;
  filter: drop-shadow(0 3cqw 2cqw rgba(0, 0, 0, 0.4));
}
.laptop-lid {
  position: relative;
  margin-inline: 3.8%;
  padding: 1.7cqw .8cqw 1.6cqw;
  border: 1px solid var(--ink-3);
  border-radius: 1.8cqw 1.8cqw .4cqw .4cqw;
  background: linear-gradient(130deg, var(--ink-2), var(--ink) 45%, var(--forest-950));
}
.laptop-lid::before {
  content: "";
  position: absolute;
  top: .55cqw;
  left: 50%;
  width: .55cqw;
  height: .55cqw;
  background: var(--ink-3);
  border-radius: 50%;
}
.laptop-lid img { display: block; width: 100%; height: auto; border-radius: .35cqw; }
.laptop-base {
  height: 1.8cqw;
  border-radius: .3cqw .3cqw 45% 45% / .3cqw .3cqw 95% 95%;
  background: linear-gradient(var(--line), var(--line-strong) 40%, var(--ink-3) 78%, var(--ink-2));
}
.laptop-base::before {
  content: "";
  display: block;
  width: 14%;
  height: .65cqw;
  margin: auto;
  background: var(--ink-3);
  border-radius: 0 0 1cqw 1cqw;
}

.phone {
  position: absolute;
  z-index: 1;
  left: .4cqw;
  bottom: 2cqw;
  width: 38.7cqw;
  height: 84cqw;
  padding: 1.4cqw;
  border-radius: 7cqw;
  background: linear-gradient(150deg, rgb(150 150 146), rgb(38 38 40) 18%, rgb(14 14 16) 60%, rgb(110 110 106));
  box-shadow: 0 0 0 0.25cqw rgba(255, 255, 255, 0.08), 0 6cqw 10cqw -4cqw rgba(0, 0, 0, 0.75);
  transform-origin: bottom left;
  transform: rotate(-4deg) scale(.51);
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 5.7cqw;
  background: var(--sand-100);
  color: var(--ink);
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.4cqw 3.6cqw 0 5cqw;
  font-size: 1.6cqw;
  font-weight: 700;
}
.phone-status svg { width: 6cqw; height: 1.6cqw; fill: currentColor; }
.phone-island {
  width: 12.3cqw;
  height: 3.6cqw;
  border-radius: 2cqw;
  background: rgb(0 0 0);
}
.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2.8cqw 2.6cqw 2.6cqw;
  font-size: 2.1cqw;
  font-weight: 600;
}
.phone-bar span { display: inline-flex; align-items: center; gap: 1cqw; }
.phone-bar svg { width: 2.6cqw; height: 2.6cqw; }
.phone-bar i {
  display: grid;
  place-items: center;
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-style: normal;
  font-size: 1.2cqw;
  letter-spacing: -0.1em;
}

.pass {
  color: var(--on-dark);
  margin: 0 2.4cqw;
  padding: 3.4cqw 2.6cqw 3.6cqw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.4cqw;
  background: linear-gradient(170deg, var(--forest-700), var(--forest-900) 70%);
  box-shadow: 0 2cqw 4cqw -2cqw rgba(0, 0, 0, 0.6);
}
.pass-brand { display: grid; justify-items: center; gap: 0.6cqw; }
.pass-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6cqw;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}
.pass-brand span {
  display: flex;
  align-items: center;
  gap: 1cqw;
  font-size: 1.07cqw;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.pass-brand span::before,
.pass-brand span::after { content: ""; width: 3.2cqw; height: 1px; background: var(--gold-400); }
.pass-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 4.6cqw;
}
.pass-right { text-align: right; }
.pass-k {
  display: block;
  font-size: 1.6cqw;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.pass-v { display: block; white-space: nowrap; font-size: 3.7cqw; font-weight: 700; line-height: 1.2; color: var(--gold-300); }
.pass-v--sm { color: var(--on-dark); }
.pass-strip {
  display: block;
  width: 100%;
  height: 9cqw;
  object-fit: cover;
  margin-top: 2cqw;
  border-block: 1px solid var(--gold-400);
}
/* Real, scannable code for https://www.restorapass.com/ (sprite #i-qr). */
.pass-qr {
  width: 15cqw;
  margin: 4.4cqw auto 0;
  padding: 1.4cqw;
  border-radius: 1cqw;
  background: var(--sand-50);
  color: var(--ink);
}
.pass-qr svg { width: 100%; height: auto; aspect-ratio: 1; }

.phone-stack {
  position: absolute;
  left: 2.4cqw;
  right: 2.4cqw;
  bottom: 4.4cqw;
  display: grid;
}
.phone-stack i { height: 1.8cqw; border-radius: 1.4cqw 1.4cqw 0 0; }
.phone-stack i:first-child { background: var(--forest-600); }
.phone-stack i:last-child { margin-top: -0.6cqw; background: var(--grad-gold); opacity: 0.8; }
.phone-home {
  position: absolute;
  left: 50%;
  bottom: 1.4cqw;
  width: 13cqw;
  height: 0.6cqw;
  border-radius: 1cqw;
  background: var(--on-dark);
  transform: translateX(-50%);
}

/* ---------- 9. Customer journey ----------------------------------------- */
.journey {
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.journey li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-sm);
  counter-increment: step;
}
.journey-ico {
  grid-row: span 2;
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--forest-900);
  color: var(--gold-300);
}
.journey-ico svg { width: 22px; height: 22px; }
.journey-ico::after {
  content: counter(step);
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #221801;
  font-size: 0.72rem;
  font-weight: 400;
}
.journey h3 { margin: 2px 0 4px; }
.journey p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }

.staff {
  display: grid;
  gap: 22px;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(22px, 3.4vw, 36px);
  border-radius: var(--r-lg);
  background: var(--sand-100);
  border: 1px solid var(--line);
}
.staff-head h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); margin-bottom: 6px; }
.staff-head p { margin: 0; color: var(--ink-3); }
.staff-grid { display: grid; gap: 18px; margin: 0; }
.staff-grid dt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-weight: 400;
  color: var(--ink);
}
.staff-grid dt svg { width: 20px; height: 20px; flex: none; color: var(--gold-600); }
.staff-grid dd { margin: 0 0 0 30px; font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- 10. Business benefits --------------------------------------- */
.benefits { display: grid; gap: 14px; }
.benefits li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.benefit-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-700);
}
.benefit-ico svg { width: 22px; height: 22px; }
.benefits p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }

#industries .accent {
  background: none;
  color: var(--gold-700);
}
.industry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.industry-card {
  overflow: hidden;
  min-width: 0;
}
.industry-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--dur-3) var(--ease-out);
}
.industry-copy { padding-top: 14px; }
.industry-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-h3);
  font-weight: 400;
}
.industry-action { margin-top: clamp(24px, 4vw, 40px); text-align: center; }

@media (hover: hover) and (pointer: fine) {
  .industry-card:hover img { transform: scale(1.035); }
}

@media (min-width: 560px) {
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .industry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 11. Product walkthrough ------------------------------------- */
.walk { max-width: 1040px; margin-inline: auto; }
.walk-tabs { display: none; }
.js .walk-tabs {
  display: flex;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 5px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
}
.walk-tabs button {
  flex: none;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--on-dark-2);
  font-size: var(--fs-sm);
  font-weight: 400;
  cursor: pointer;
  transition: background-color var(--dur-2) var(--ease-soft), color var(--dur-2) var(--ease-soft);
}
.walk-tabs button[aria-selected="true"] { background: var(--grad-gold); color: #221801; }
.walk-panel { margin: 0 0 28px; }
.js .walk-panel { display: none; margin-bottom: 0; }
.js .walk-panel.is-active { display: block; }
.walk-frame {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--sh-xl);
}
.walk-frame img { width: 100%; height: auto; border-radius: 14px; background: #f6f1e6; }
.walk-panel figcaption {
  max-width: 62ch;
  margin: 16px auto 0;
  text-align: center;
  color: var(--on-dark-2);
}
.walk-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-dark);
}

/* ---------- 12. Customer case ------------------------------------------- */
#case .container { padding-inline: clamp(14px, 1.4vw, 20px); }
.case {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, white, var(--sand-50));
  box-shadow: var(--sh-md);
}
.case-brand {
  position: relative;
  isolation: isolate;
  min-height: max(510px, calc(min(100vw, 530px) * 1.38));
  padding: clamp(30px, 4.65vw, 52px) clamp(20px, 3.2vw, 36px);
  background: radial-gradient(ellipse at 38% 0, var(--forest-850), transparent 58%),
    linear-gradient(115deg, var(--forest-900), var(--forest-950));
}
.case-art { position: absolute; z-index: -1; right: 0; bottom: 0; width: min(100%, 530px); height: auto; }
.case-logo { width: min(207px, 80%); height: auto; margin: 0 0 17px 7px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 9px; }
.case-loc,
.case-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--hairline-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
}
.case-loc svg { width: 15px; height: 15px; color: var(--gold-300); }
.case-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-300);
  box-shadow: 0 0 0 4px rgba(159, 211, 199, 0.22);
}
.case-facts { display: grid; gap: 8px; margin: 20px 0 0 4px; }
.case-facts dt {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.case-facts dd { margin: 1px 0 0; color: var(--on-dark); font-size: 0.875rem; font-weight: 400; line-height: 1.4; }
.case-body { display: flex; flex-direction: column; min-width: 0; padding: 20px clamp(18px, 2.75vw, 32px) 30px; }
.case-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--gold-700);
  box-shadow: var(--sh-sm);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.case-eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-100); }
.case h2 { margin: 15px 0 10px; font-size: clamp(1.95rem, 3.7vw, 2.55rem); text-wrap: initial; }
.case h2 .accent { display: block; color: color-mix(in srgb, var(--gold-700) 65%, darkorange); background: none; font-size: 1.1em; }
.case-lead { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.case-features,
.case-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case-features { margin: 28px 0; }
.case-features li { position: relative; }
.case-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 43px;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--gold-700);
}
.case-icon svg { width: 30px; height: 30px; }
.case-features h3 { margin: 7px 0 6px; font-size: 1.1rem; line-height: 1.12; color: var(--forest-950); overflow-wrap: anywhere; text-wrap: initial; }
.case-features p { font-size: 0.875rem; line-height: 1.28; overflow-wrap: anywhere; }
.case-flow { padding: 9px 14px 20px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--sand-100) 82%, linen); }
.case-flow h3 { margin: 0 0 12px; font-size: 1.35rem; }
.case-steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; }
.case-steps .case-icon { width: 52px; height: 45px; background: linear-gradient(140deg, var(--gold-100), var(--gold-200)); }
.case-step-label { display: flex; align-items: baseline; justify-content: center; gap: 7px; color: var(--ink); font: 400 0.875rem/1.25 var(--font-sans); }
.case-step-label b { flex: none; display: inline-grid; place-items: center; width: 21px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--gold-600) 75%, orange); color: var(--forest-950); font-size: 0.75rem; }
.case-next { display: none; }
.case-cta {
  align-self: flex-start;
  margin-top: 30px;
  padding: 12px 30px;
  background: linear-gradient(155deg, var(--gold-200), color-mix(in srgb, var(--gold-500) 80%, orange) 48%, var(--gold-600));
  font-size: 1rem;
  line-height: 1.55;
  word-spacing: normal;
}

@media (max-width: 359px) {
  .case-brand { min-height: 530px; }
  .case-loc, .case-live { padding-inline: 8px; font-size: 0.8125rem; }
}

@media (min-width: 560px) {
  .case-features, .case-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .case-features li + li::before {
    content: "";
    position: absolute;
    inset: 6px auto 3px -11px;
    border-left: 1px solid var(--line-strong);
  }
  .case-flow { padding: 8px 18px 26px; }
  .case-steps { gap: 12px; }
  .case-next { display: block; position: absolute; top: 11px; left: 100%; width: 20px; height: 24px; color: var(--mint-400); }
}

@media (min-width: 960px) {
  .case { grid-template-columns: minmax(0, 42.4fr) minmax(0, 57.6fr); }
  .case-brand { min-height: 645px; }
  .case-features { gap: clamp(14px, 2.55vw, 30px); margin-block: 28px 30px; }
  .case-features li + li::before { left: calc(clamp(14px, 2.55vw, 30px) * -0.75); }
  .case-features h3 { min-height: 2.32em; }
  :lang(en) .case-features li:nth-child(-n+3) h3 { max-width: 11ch; }
  :lang(en) .case-features li:nth-child(3) h3 { max-width: 8ch; }
  :lang(en) .case-features li:nth-child(2) p { max-width: 13ch; }
  .case-flow { margin-inline: -10px; padding-inline: 23px; }
}

@media (min-width: 1000px) {
  .case-brand { min-height: 650px; }
  .case-features li:last-child { margin-right: -6px; }
}

.checks { display: grid; gap: 12px; margin: 22px 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--forest-600); }
.checks--sm { gap: 9px; margin: 14px 0 0; }
.checks--sm li { font-size: var(--fs-sm); }
.checks--sm svg { width: 18px; height: 18px; }

/* ---------- 13. Integrations & launch ----------------------------------- */
.status-grid { display: grid; gap: 22px; }
.status-col { display: grid; gap: 12px; align-content: start; }
.status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--live { background: #dff3e8; color: #13653f; }
.status--setup { background: var(--gold-100); color: var(--gold-700); }
.status--custom { background: var(--sand-200); color: var(--ink-2); }
.status-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.status-card h3 { margin-bottom: 6px; }
.status-card p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }

.int-nopos {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-weight: 400;
}
.int-nopos svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold-600); }

.launch { margin-top: clamp(36px, 5vw, 56px); }
.launch h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); margin-bottom: 18px; }
.launch-steps { display: grid; gap: 12px; counter-reset: launch; }
.launch-steps li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 18px 18px 62px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  counter-increment: launch;
}
.launch-steps li::before {
  content: counter(launch);
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--gold-300);
  font-weight: 400;
  font-size: var(--fs-sm);
}
.launch-steps strong { color: var(--ink); }
.launch-steps span { font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- 14. Pricing -------------------------------------------------- */
.price-grid { display: grid; gap: 14px; }
.price-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.price-n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-700);
  font-weight: 400;
}
.price-card p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.price-factors {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(22px, 3.4vw, 32px);
  border-radius: var(--r-lg);
  background: var(--grad-forest);
  color: var(--on-dark-2);
}
.price-factors h3 { color: var(--on-dark); margin-bottom: 12px; }
.price-factors ul { display: flex; flex-wrap: wrap; gap: 8px; }
.price-factors li {
  padding: 7px 13px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
  font-size: var(--fs-sm);
  font-weight: 400;
}


/* ---------- 15. 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: 400;
  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; }

/* ---------- 16. Enquiry form --------------------------------------------- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.contact-copy h1 { color: var(--on-dark); }
.contact-copy p { color: var(--on-dark-2); font-size: var(--fs-lead); max-width: 44ch; }
.contact-steps { display: grid; gap: 20px; margin: 30px 0; padding: 0; list-style: none; }
.contact-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.contact-step-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(232, 198, 102, 0.34);
  border-radius: 50%;
  color: var(--gold-300);
  font-size: var(--fs-xs);
  font-weight: 400;
}
.contact-steps h2 { margin: 0 0 4px; color: var(--on-dark); font-size: var(--fs-sm); }
.contact-steps p { margin: 0; color: var(--on-dark-3); font-size: var(--fs-xs); line-height: 1.65; }
.contact-copy .contact-fallback { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: var(--fs-sm); color: var(--on-dark-3); }
.contact-fallback a { color: var(--gold-300); font-weight: 400; text-underline-offset: 3px; }
.contact-social { margin-top: 24px; }
.contact-copy .contact-social p { margin: 0 0 8px; color: var(--on-dark-2); font-size: 1rem; }
.enquiry {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-xl);
}
.enquiry-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 2px; }
.enquiry-kicker { color: var(--gold-700); font-size: var(--fs-xs); font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; }
.enquiry-header h2 { margin: 5px 0 4px; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.035em; }
.enquiry-header > div > p { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); line-height: 1.6; }
.enquiry-intent {
  justify-self: start;
  flex: 0 0 auto;
  margin: 0;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: var(--fs-xs);
  font-weight: 400;
}
.field { display: grid; gap: 6px; }
.field > span { font-size: var(--fs-sm); font-weight: 400; color: var(--ink); }
.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--sand-50);
  /* 16px keeps iOS Safari from zooming into the field on focus */
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--dur-1) var(--ease-soft), box-shadow var(--dur-1) var(--ease-soft);
}
.field input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25); background: #fff; }
.field input[aria-invalid="true"] { border-color: #b4372f; }
.field small { font-size: var(--fs-xs); color: var(--ink-3); }
.enquiry .btn { margin-top: 4px; }
.enquiry .btn:disabled { opacity: 0.7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin: 0; padding: 14px 16px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 400; line-height: 1.6; }
.form-status:target,
.form-status.is-shown { display: block; }
.form-status--ok { background: #dff3e8; color: #13653f; }
.form-status--error { background: #fbe6e4; color: #8f2a23; }
.form-status a { display: inline-block; margin-top: 5px; color: inherit; font-weight: 400; text-underline-offset: 2px; }
.form-legal { margin: 0; font-size: var(--fs-xs); color: var(--ink-3); }
.form-legal a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.form-legal a { color: var(--forest-700); font-weight: 400; text-decoration: underline; text-underline-offset: 2px; }


/* ---------- 17. 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 { width: 192px; margin-bottom: 20px; }
.footer-brand p { color: var(--on-dark-2); font-size: var(--fs-sm); max-width: 36ch; }
.footer-brand .footer-social-label { margin: 20px 0 8px; font-size: 1rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social-label + .social-links { margin-top: 0; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline-dark);
  border-radius: 50%;
  color: var(--on-dark);
  transition: color var(--dur-1) var(--ease-soft), border-color var(--dur-1) var(--ease-soft);
}
.social-links svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .social-links a:hover { color: var(--gold-300); border-color: var(--gold-300); }
}
.contact-social .social-links { margin-top: 0; }
.footer-col h4 {
  margin: 0 0 14px;
  color: var(--on-dark);
  font-size: var(--fs-xs);
  font-weight: 400;
  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: 400;
  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);
}

/* ---------- 18. 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: 400;
  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; }
}

/* ---------- 19. 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; }

/* ---------- 20. 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; }
  .header-inner { gap: 8px; }
  .site-header .lang-switch [data-lang] { min-width: 31px; padding: 0 3px; }
}

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

@media (min-width: 560px) {
  .hero-cta { display: flex; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits,
  .launch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
}

@media (min-width: 760px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey li:last-child { grid-column: 1 / -1; }
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-factors { grid-template-columns: 1fr auto; }
  .status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

/* Below 1280px the drawer keeps the localized nav from crowding the header. */
@media (min-width: 1280px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav-desktop { display: flex; }
  .header-actions { justify-self: end; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .nav-desktop { gap: 0; }
  .nav-desktop a { padding: 10px 10px; }
}

@media (min-width: 900px) {
  .brand img { width: 176px; }
  .header-actions { gap: 12px; }
  .lang-switch [data-lang] { min-width: 40px; padding: 0 10px; }

  .staff { grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); align-items: start; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
}

/* Two-column hero: short copy left, the phone + dashboard stage right. */
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.6rem, 1.4rem + 2.2vw, 3.6rem); }
  .hero-stage { max-width: none; }
}

@media (min-width: 1100px) {
  .journey { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .journey li { grid-template-columns: 1fr; row-gap: 14px; padding: 22px 18px; }
  .journey li:last-child { grid-column: auto; }
  .journey-ico { grid-row: auto; }
  .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .launch-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Laptop screens (≈1366×768): keep headline, lead and both CTAs above the fold. */
@media (min-width: 960px) and (max-height: 820px) {
  .hero { padding-block: calc(var(--header-h) + 30px) 40px; }
  .hero h1 { font-size: clamp(2.3rem, 0.9rem + 2.7vw, 3.4rem); }
  .hero-lead { margin-bottom: 28px; }
  .hero-stage { max-width: 560px; margin-inline: auto; }
}

/* Short phones: tighten the hero so the CTAs stay within the first screen. */
@media (max-width: 959px) and (max-height: 740px) {
  .hero { padding-block: calc(var(--header-h) + 18px) 40px; }
  .hero h1 { font-size: clamp(1.8rem, 6.6vw, 2.3rem); }
  .hero-lead { font-size: 1rem; margin-bottom: 20px; }
}

/* ---------- 21. 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; }
}

@media print {
  .site-header,
  .dock,
  .drawer,
  .hero-visual,
  .enquiry { display: none !important; }

  body { background: #fff; color: #000; }
  .band-dark,
  .hero { background: #fff !important; color: #000 !important; }
}
