/* ==========================================================================
   kyclp brand tokens
   This :root block is the brand's source of truth. The application screens
   are re-skinned from these values, so change colours and type here only.
   ========================================================================== */
:root {
  /* Colour: ink + teal identity, signal yellow for "current" and action on dark */
  --c-ink: #10292D;            /* primary text, dark surfaces (hero, final card) */
  --c-ink-2: #1B3B40;          /* raised dark surface */
  --c-ink-deep: #0C2225;       /* footer */
  --c-paper: #EEF2F0;          /* page background */
  --c-surface: #FFFFFF;        /* cards, panels */
  --c-surface-2: #F6F8F7;      /* inset panels, fields */
  --c-accent: #0A6B61;         /* primary actions, links, focus on light */
  --c-accent-strong: #07504A;  /* primary action hover, text on accent-tint */
  --c-accent-tint: #D7E8E3;    /* progress track, quiet fills */
  --c-accent-glow: #1E9A8A;    /* decorative glow only, never behind text */
  --c-accent-on-ink: #7FD6C8;  /* accent text and icons on ink */
  --c-signal: #F0C24B;         /* current stage, primary action on dark */
  --c-signal-strong: #F6D57A;  /* signal hover */
  --c-text: var(--c-ink);
  --c-muted: #4A5F5D;          /* secondary text on light */
  --c-line: #C6D2CF;           /* hairlines */
  --c-line-soft: #DCE4E1;      /* card borders */
  --c-line-strong: #93A6A2;    /* control borders, connectors */
  --c-on-ink: #EEF2F0;         /* text on ink */
  --c-on-ink-muted: #B4C7C3;   /* secondary text on ink */
  --c-on-ink-line: rgba(238, 242, 240, 0.14);
  --c-focus: var(--c-accent);
  --c-focus-on-ink: var(--c-signal);

  /* Type: one family (Geologica, Cyrillic). Display text uses its sharp cut. */
  --font-sans: "Geologica", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fvs-display: "SHRP" 100;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fs-xs: 0.75rem;     /* 12 */
  --fs-sm: 0.875rem;    /* 14 */
  --fs-base: 1rem;      /* 16  UI text */
  --fs-body: 1.125rem;  /* 18  running text */
  --fs-md: 1.3125rem;   /* 21 */
  --fs-lg: 1.625rem;    /* 26 */
  --fs-xl: clamp(1.75rem, 1.3rem + 1.9vw, 2.25rem);          /* 28 -> 36 */
  --fs-h2: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);             /* 32 -> 52 */
  --fs-display: clamp(2.125rem, 1.05rem + 4vw, 3.875rem);    /* 34 -> 62 */
  --fs-stat: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);         /* 36 -> 56 */
  --lh-display: 1.04;
  --lh-heading: 1.1;
  --lh-body: 1.55;
  --ls-display: -0.035em;
  --ls-heading: -0.028em;

  /* Space & shape */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --r-sm: 6px;          /* controls */
  --r-md: 10px;         /* small panels, tabs */
  --r-lg: 14px;         /* cabinet card */
  --r-xl: 20px;         /* content cards */
  --r-2xl: 28px;        /* feature containers */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 4.5rem;
  --section-y: clamp(4rem, 2.6rem + 4.4vw, 6.5rem);
  --shadow-sm: 0 1px 2px rgba(16, 41, 45, 0.06), 0 4px 12px -6px rgba(16, 41, 45, 0.16);
  --shadow-md: 0 1px 2px rgba(16, 41, 45, 0.06), 0 18px 36px -18px rgba(16, 41, 45, 0.28);
  --shadow-lg: 0 2px 4px rgba(16, 41, 45, 0.08), 0 28px 56px -24px rgba(16, 41, 45, 0.36);
  --shadow-file: 0 1px 0 rgba(16, 41, 45, 0.05), 0 22px 44px -28px rgba(16, 41, 45, 0.45);
  --shadow-on-ink: 0 2px 6px rgba(0, 0, 0, 0.2), 0 34px 70px -26px rgba(0, 0, 0, 0.6);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-paper);
  overflow-wrap: break-word;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-ink);
  color: var(--c-on-ink);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; outline-color: var(--c-focus-on-ink); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico { width: 1.25rem; height: 1.25rem; flex: none; }
.nowrap { white-space: nowrap; }

/* Eyebrow: sentence case, a short rule instead of tracked capitals */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: var(--sp-4);
  color: var(--c-accent);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow--on-ink { color: var(--c-accent-on-ink); }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.375rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; }
.btn--lg { min-height: 3.375rem; padding: 0.9rem 1.625rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--c-accent); color: #FFFFFF; }
.btn--primary:hover { background: var(--c-accent-strong); }

.btn--signal { background: var(--c-signal); color: var(--c-ink); box-shadow: 0 10px 30px -12px rgba(240, 194, 75, 0.55); }
.btn--signal:hover { background: var(--c-signal-strong); transform: translateY(-1px); }

.btn--ghost { background: rgba(238, 242, 240, 0.04); color: var(--c-on-ink); border-color: rgba(238, 242, 240, 0.42); }
.btn--ghost:hover { background: rgba(238, 242, 240, 0.1); border-color: var(--c-on-ink); }

/* ==========================================================================
   Header
   Default (and without JS): a solid light bar.
   landing.js adds .is-over-dark while the page sits at the top of the dark hero.
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: rgba(238, 242, 240, 0.96);
  border-bottom: 1px solid var(--c-line);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(238, 242, 240, 0.97); backdrop-filter: saturate(1.4) blur(12px); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: 100%;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
  color: var(--c-ink);
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  font-variation-settings: var(--fvs-display);
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
  transition: color 0.25s ease;
}
.wordmark svg { width: 28px; height: 28px; }
.mark-bg { fill: var(--c-ink); transition: fill 0.25s ease; }
.mark-fg { fill: var(--c-signal); }
.mark-ck { fill: none; stroke: var(--c-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s ease; }

.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: flex; gap: var(--sp-5); }

.nav-link {
  display: block;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  color: var(--c-muted);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover { color: var(--c-ink); border-bottom-color: var(--c-line-strong); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.signin {
  color: var(--c-ink);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.signin:hover { text-decoration: underline; text-underline-offset: 0.28em; }

/* Over the dark hero */
.site-header.is-over-dark {
  background: rgba(16, 41, 45, 0.28);
  border-bottom-color: rgba(238, 242, 240, 0.1);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-over-dark { background: rgba(16, 41, 45, 0.3); }
}
.is-over-dark .wordmark,
.is-over-dark .signin { color: var(--c-on-ink); }
.is-over-dark .mark-bg { fill: var(--c-ink-2); }
.is-over-dark .mark-ck { stroke: var(--c-ink-2); }
.is-over-dark .nav-link { color: var(--c-on-ink-muted); }
.is-over-dark .nav-link:hover { color: var(--c-on-ink); border-bottom-color: var(--c-accent-on-ink); }
.is-over-dark .header-cta { background: var(--c-signal); color: var(--c-ink); }
.is-over-dark .header-cta:hover { background: var(--c-signal-strong); }
.is-over-dark .header-lang ul { border-color: rgba(238, 242, 240, 0.24); }
.is-over-dark .header-lang a { color: var(--c-on-ink-muted); }
.is-over-dark .header-lang a:hover { color: var(--c-on-ink); background: var(--c-ink-2); }
.is-over-dark .header-lang a[aria-current="page"] { background: var(--c-on-ink); color: var(--c-ink); }
.is-over-dark .nav-mobile summary { color: var(--c-on-ink); border-color: rgba(238, 242, 240, 0.5); }
.site-header.is-over-dark :focus-visible { outline-color: var(--c-focus-on-ink); }

/* Language switcher */
.lang ul {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
}
.lang a {
  display: block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--c-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  text-decoration: none;
}
.lang a:hover { color: var(--c-ink); background: var(--c-accent-tint); }
.lang a[aria-current="page"] { background: var(--c-ink); color: var(--c-on-ink); }

.lang--on-ink ul { border-color: rgba(238, 242, 240, 0.24); }
.lang--on-ink a { color: var(--c-on-ink-muted); }
.lang--on-ink a:hover { color: var(--c-on-ink); background: var(--c-ink-2); }
.lang--on-ink a[aria-current="page"] { background: var(--c-on-ink); color: var(--c-ink); }

/* Mobile menu: a <details> that works without JS */
.nav-mobile { display: none; }
.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.8rem;
  border: 1.5px solid var(--c-ink);
  border-radius: var(--r-sm);
  color: var(--c-ink);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }

.burger {
  position: relative;
  width: 16px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transition: border-color 0.2s ease;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  border-top: 2px solid currentColor;
  transition: transform 0.2s ease;
}
.nav-mobile[open] .burger { border-color: transparent; }
.nav-mobile[open] .burger::before { transform: rotate(45deg); }
.nav-mobile[open] .burger::after { transform: rotate(-45deg); }

.nav-mobile__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: var(--sp-2) var(--gutter) var(--sp-6);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 24px 40px -28px rgba(16, 41, 45, 0.5);
  color: var(--c-ink);
}
.nav-mobile__panel :focus-visible { outline-color: var(--c-focus); }
.nav-mobile__links a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  text-decoration: none;
}
.nav-mobile__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

/* Below 1181px the section links move into the menu; the header CTA stays until 720px. */
@media (max-width: 1180px) {
  .nav-desktop,
  .header-lang { display: none; }
  .nav-mobile { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .header-cta { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--c-paper); }
.section--surface {
  background: var(--c-surface);
  border-block: 1px solid var(--c-line-soft);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head h2,
.faq-aside h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  font-variation-settings: var(--fvs-display);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  text-wrap: balance;
}
.section-head h2 + p { max-width: 38rem; margin-top: var(--sp-4); color: var(--c-muted); }

/* ==========================================================================
   Hero: dark, with a teal glow and a hint of signal yellow
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 5vw, 5.5rem));
  background: var(--c-ink);
  color: var(--c-on-ink);
  overflow: hidden;
}
.hero__bg,
.final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42% 52% at 80% 34%, rgba(30, 154, 138, 0.5), transparent 70%),
    radial-gradient(26% 30% at 96% 4%, rgba(240, 194, 75, 0.16), transparent 72%),
    radial-gradient(40% 46% at 58% 88%, rgba(10, 107, 97, 0.28), transparent 72%),
    radial-gradient(30% 40% at 0% 0%, rgba(27, 59, 64, 0.9), transparent 70%);
}
.hero__bg::after,
.final__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 242, 240, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 240, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 30%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 30%, #000 20%, transparent 72%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  color: #FFFFFF;
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  font-variation-settings: var(--fvs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  text-wrap: balance;
}
.hero h1 em {
  font-style: oblique 9deg;
  font-variation-settings: "SHRP" 100, "CRSV" 1;
  padding-bottom: 0.04em;
  background: linear-gradient(var(--c-signal), var(--c-signal)) 0 94% / 100% 0.1em no-repeat;
}

.hero__lead {
  max-width: 34rem;
  margin-top: var(--sp-5);
  color: var(--c-on-ink-muted);
  font-size: var(--fs-md);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-6);
}

.hero :focus-visible,
.final :focus-visible,
.tile--progress :focus-visible,
.site-footer :focus-visible { outline-color: var(--c-focus-on-ink); }

/* Trust row: true statements only */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border: 1px solid rgba(238, 242, 240, 0.16);
  border-radius: 999px;
  background: rgba(16, 41, 45, 0.55);
  color: var(--c-on-ink);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.3;
}
.chip .ico { width: 1.1rem; height: 1.1rem; color: var(--c-accent-on-ink); }
.chip__flags { display: inline-flex; }
.flag--chip {
  width: 21px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1.5px var(--c-ink);
}
.flag--chip + .flag--chip { margin-left: -4px; }

/* Hero composition: payment card behind, cabinet card in front, email toast on top */
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% 14% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 154, 138, 0.35), transparent);
  filter: blur(20px);
}
.hero-visual__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 34rem;
  margin-left: auto;
}

.pay-card {
  grid-row: 1;
  justify-self: end;
  width: min(88%, 25rem);
  margin-bottom: -4.25rem;
  padding: 1.25rem 1.25rem 3.25rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-on-ink);
  color: var(--c-ink);
  transform: rotate(2.5deg) translateX(0.25rem);
  animation: rise 0.8s var(--ease-out) 0.1s both;
}
.pay-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.pay-card__title .ico { color: var(--c-accent); width: 1.1rem; height: 1.1rem; }
.pay-card__label { margin-top: var(--sp-3); color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.3; }
.pay-card__field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.75rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  color: var(--c-muted);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
}
.pay-card__field .ico { width: 1.1rem; height: 1.1rem; }
.pay-card__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; }
.pay-card__row .pay-card__field { margin-top: 0.5rem; }
.pay-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.5rem;
  margin-top: 0.6rem;
  border-radius: 8px;
  background: var(--c-accent);
  color: #FFFFFF;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}
.pay-card__btn .ico { width: 1rem; height: 1rem; }

.toast {
  grid-row: 3;
  justify-self: end;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: min(86%, 23rem);
  margin-top: -1.75rem;
  margin-right: -0.5rem;
  padding: 0.85rem 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-on-ink);
  color: var(--c-ink);
  animation: toast-in 0.7s var(--ease-out) 1.2s both;
}
.toast__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--c-accent-tint);
  color: var(--c-accent-strong);
}
.toast__icon .ico { width: 1.1rem; height: 1.1rem; }
.toast__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--c-muted);
}
.toast__meta span:first-child { color: var(--c-ink); font-weight: var(--fw-bold); }
.toast__text { margin-top: 0.1rem; font-size: 0.9375rem; font-weight: var(--fw-medium); line-height: 1.35; }

/* The cabinet card (kept as designed: it shows only the current stage name + a progress bar) */
.dossier__stack {
  grid-row: 2;
  position: relative;
  z-index: 2;
  width: min(90%, 27rem);
  padding-top: 2.4rem;
}

.dossier__card {
  position: relative;
  padding: var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow-on-ink);
  color: var(--c-ink);
}

.file-tab {
  position: absolute;
  left: -1px;
  bottom: 100%;
  padding: 0.45rem 1.1rem 0.4rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-bottom: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  white-space: nowrap;
}

.dossier__head { display: flex; align-items: center; gap: var(--sp-4); }
.dossier__code {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-md);
  background: var(--c-ink);
  color: var(--c-on-ink);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
}
.dossier__flag {
  display: block;
  flex: none;
  width: 3.25rem;
  height: 2.1667rem;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(16, 41, 45, 0.16), 0 6px 14px -8px rgba(16, 41, 45, 0.5);
}
.dossier__flag.flag--cr { height: 1.95rem; } /* 5:3 */
.dossier__name { font-size: var(--fs-md); font-weight: var(--fw-semibold); line-height: 1.25; }
.dossier__form { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.4; }

.dossier__meta {
  margin-top: var(--sp-5);
  padding-block: var(--sp-3);
  border-block: 1px solid var(--c-line);
}
.dossier__meta div { display: flex; justify-content: space-between; gap: var(--sp-4); }
.dossier__meta dt { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.4; }
.dossier__meta dd { font-size: var(--fs-sm); font-weight: var(--fw-medium); line-height: 1.4; }

.dossier__progress { margin-top: var(--sp-5); }
.dossier__count { margin-bottom: var(--sp-2); color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.4; }

.bar { height: 8px; overflow: hidden; border-radius: 99px; background: var(--c-accent-tint); }
.bar__fill {
  display: block;
  width: 60%; /* step 3 of 5, same formula as the real cabinet: index / 5 */
  height: 100%;
  border-radius: inherit;
  background: var(--c-accent);
  transform-origin: left center;
}
.hero .bar__fill { animation: bar-fill 1.2s var(--ease-out) 0.5s both; }
.bar--80 .bar__fill { width: 80%; }

.dossier__step {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  color: var(--c-ink);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.dossier__step::before,
.mini-cab__step::before {
  content: "";
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  border: 1.5px solid var(--c-ink);
  border-radius: 50%;
  background: var(--c-signal);
}

/* Inert: the illustration is not a control, so it is drawn as a quiet outline. */
.dossier__continue {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-top: var(--sp-5);
  border: 1.5px dashed var(--c-line-strong);
  border-radius: var(--r-sm);
  color: var(--c-muted);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  cursor: default;
  user-select: none;
}

.hero-visual figcaption {
  max-width: 34rem;
  margin: var(--sp-5) 0 0 auto;
  color: var(--c-on-ink-muted);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

@keyframes bar-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: rotate(2.5deg) translate(0.25rem, 18px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

/* Facts band */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 2rem + 5vw, 6rem);
  border-top: 1px solid var(--c-on-ink-line);
}
.facts li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: var(--sp-6) var(--sp-5) clamp(2rem, 1rem + 3vw, 3.25rem);
  border-left: 1px solid var(--c-on-ink-line);
}
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong {
  color: #FFFFFF;
  font-size: var(--fs-stat);
  font-weight: var(--fw-bold);
  font-variation-settings: var(--fvs-display);
  letter-spacing: -0.04em;
  line-height: 1;
}
.facts span { color: var(--c-on-ink-muted); font-size: var(--fs-base); line-height: 1.35; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual__stage { margin-left: 0; }
  .hero-visual figcaption { margin-left: 0; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: var(--sp-5) var(--sp-4) var(--sp-5); }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--c-on-ink-line); }
  .hero__actions .btn { flex: 1 1 100%; }
  .pay-card { width: 92%; }
  .dossier__stack { width: 94%; }
  .toast { width: 92%; margin-right: 0; }
}

/* ==========================================================================
   Jurisdictions
   ========================================================================== */
.jz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.jz { display: flex; }
.jz__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.jz__card:hover,
.jz__card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-line);
}
.jz__top { display: flex; align-items: center; min-height: 48px; justify-content: space-between; gap: var(--sp-4); }
.flag--lg {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(16, 41, 45, 0.16), 0 6px 14px -8px rgba(16, 41, 45, 0.5);
}
.flag--lg.flag--cr { height: 43.2px; } /* 5:3 */
.jz__code {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
}
.jz h3 {
  margin-top: var(--sp-5);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  font-variation-settings: var(--fvs-display);
  line-height: 1.15;
  letter-spacing: var(--ls-heading);
}
.jz dl {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line-soft);
}
.jz dt { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.4; }
.jz dd { font-size: var(--fs-base); font-weight: var(--fw-medium); line-height: 1.4; }
.jz__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: var(--sp-5);
  color: var(--c-accent-strong);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}
.jz__note .ico { width: 1.1rem; height: 1.1rem; margin-top: 0.05rem; }
.jz__cta { margin-top: auto; padding-top: var(--sp-5); }

@media (max-width: 900px) {
  .jz-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); max-width: 34rem; }
}

/* ==========================================================================
   How it works: five real steps
   Desktop: horizontal stepper. Below 1025px: vertical timeline.
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-5);
}
.step { position: relative; display: flex; flex-direction: column; }
.step__art {
  padding: 0.75rem;
  background: linear-gradient(180deg, var(--c-surface-2), #EDF3F0);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-xl);
}
.step__body { position: relative; padding-top: var(--sp-5); }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--c-ink);
  border-radius: 50%;
  background: var(--c-surface);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  line-height: 1;
}
.step:last-child .step__num { background: var(--c-ink); color: var(--c-on-ink); }
.step:not(:last-child) .step__body::before {
  content: "";
  position: absolute;
  top: calc(var(--sp-5) + 1.25rem - 1px);
  left: 2.5rem;
  right: calc(-1 * var(--sp-5));
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-line-strong) 0 6px, transparent 6px 11px);
}
.step h3 {
  margin-top: var(--sp-4);
  font-size: 1.1875rem;
  font-weight: var(--fw-semibold);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.step__text { margin-top: var(--sp-2); color: var(--c-muted); font-size: var(--fs-base); }

/* Illustration palette */
.ill { width: 100%; height: auto; }
.i-card { fill: var(--c-surface); stroke: var(--c-ink); stroke-width: 1.5; }
.i-soft { fill: var(--c-accent-tint); }
.i-field { fill: var(--c-surface-2); stroke: var(--c-line-strong); stroke-width: 1.2; }
.i-dash { stroke-dasharray: 4 3; }
.i-accent { fill: var(--c-accent); }
.i-caret { stroke: var(--c-accent); stroke-width: 1.6; stroke-linecap: round; }
.i-box { fill: var(--c-surface); stroke: var(--c-ink); stroke-width: 1.4; }
.i-box.i-on { fill: var(--c-accent); stroke: var(--c-accent); }
.i-tick, .i-tick-dark { fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-tick-dark { stroke: var(--c-ink); }
.i-signal { fill: var(--c-signal); }
.i-dots { fill: var(--c-ink); }
.i-line-acc { fill: none; stroke: var(--c-accent); stroke-width: 1.6; }
.i-corner { fill: none; stroke: var(--c-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-scan { stroke: var(--c-accent); stroke-width: 2; stroke-linecap: round; }
.i-scanglow { fill: var(--c-accent); opacity: 0.12; }
.i-line { fill: none; stroke: var(--c-ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.i-stamp { fill: none; stroke: var(--c-accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-12deg); transform-origin: 120px 36px; }
.i-stamp circle:first-child { fill: var(--c-surface); }
.i-stamp-in { stroke-dasharray: 3 3; stroke-width: 1.4; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 40rem; }
  .step { display: block; padding: 0 0 var(--sp-7) 4rem; }
  .step:last-child { padding-bottom: 0; }
  .step__art { max-width: 15rem; padding: 0.5rem; }
  .step__body { position: static; padding-top: 0; }
  .step__num { position: absolute; left: 0; top: 0; }
  .step:not(:last-child) .step__body::before { display: none; }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 2.5rem;
    bottom: 0;
    left: calc(1.25rem - 1px);
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--c-line-strong) 0 6px, transparent 6px 11px);
  }
}

/* ==========================================================================
   What you get: bento grid
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--sp-4);
}
.tile {
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-sm);
}
.tile__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 9.5rem;
  padding: var(--sp-5);
  background: linear-gradient(180deg, var(--c-surface-2), #EAF1EE);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.tile__text { padding: var(--sp-5) var(--sp-3) var(--sp-3); }
.tile__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-md);
  background: var(--c-accent-tint);
  color: var(--c-accent-strong);
}
.tile__text h3 {
  margin-top: var(--sp-4);
  font-size: 1.3125rem;
  font-weight: var(--fw-bold);
  font-variation-settings: var(--fvs-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.tile__text p { margin-top: var(--sp-2); color: var(--c-muted); font-size: var(--fs-base); max-width: 34rem; }

.tile--progress { grid-column: span 7; grid-row: span 2; background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-ink); }
.tile--progress .tile__visual {
  background:
    radial-gradient(60% 70% at 70% 30%, rgba(30, 154, 138, 0.38), transparent 72%),
    var(--c-ink-2);
}
.tile--progress .tile__icon { background: rgba(127, 214, 200, 0.14); color: var(--c-accent-on-ink); }
.tile--progress .tile__text p { color: var(--c-on-ink-muted); }
.tile--mail, .tile--pay { grid-column: span 5; }
.tile--id, .tile--save, .tile--lang { grid-column: span 4; }

.mini-cab {
  width: min(100%, 26rem);
  padding: var(--sp-5);
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-on-ink);
  color: var(--c-ink);
}
.mini-cab__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-line);
}
.mini-cab__head .dossier__code { width: 2.5rem; height: 2.5rem; font-size: var(--fs-sm); }
.mini-cab__head .dossier__flag { width: 2.75rem; height: 1.8333rem; }
.mini-cab__head .dossier__flag.flag--cr { height: 1.65rem; }
.mini-cab__name { font-size: 1.0625rem; font-weight: var(--fw-semibold); line-height: 1.25; }
.mini-cab__form { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.35; }
.mini-cab__count { margin-bottom: var(--sp-2); color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.4; }
.mini-cab__step {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  font-size: 1.1875rem;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.reveal .bar__fill { transform: scaleX(0); }
.reveal.is-in .bar__fill { transform: scaleX(1); transition: transform 1.1s var(--ease-out) 0.35s; }

.mails { display: grid; width: min(100%, 25rem); }
.mail {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
  line-height: 1.35;
}
.mail + .mail { margin-top: -0.3rem; }
.mail:nth-child(2) { z-index: -1; transform: scale(0.955); }
.mail:nth-child(3) { z-index: -2; transform: scale(0.91); }
.mails { isolation: isolate; }
.mail .ico { grid-row: span 2; width: 1.15rem; height: 1.15rem; color: var(--c-accent); }
.mail__from { font-weight: var(--fw-bold); }
.mail__subj { color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail--new { border-color: var(--c-accent-tint); box-shadow: var(--shadow-md); }
.mail--new .mail__subj { color: var(--c-ink); }
.mail--new::after {
  content: "";
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--c-signal);
  box-shadow: 0 0 0 1.5px var(--c-ink);
}

.mini-pay { display: grid; justify-items: start; gap: var(--sp-3); width: min(100%, 22rem); }
.mini-pay__field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--c-surface);
  border: 1.5px solid var(--c-accent);
  border-radius: var(--r-md);
  box-shadow: 0 0 0 4px rgba(10, 107, 97, 0.12);
  color: var(--c-muted);
  font-size: var(--fs-base);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
}
.mini-pay__field span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.mini-pay__field .ico:last-child { color: var(--c-accent); }
.mini-pay__badge,
.mini-link__saved {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--c-accent-tint);
  color: var(--c-accent-strong);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.mini-pay__badge .ico,
.mini-link__saved .ico { width: 1rem; height: 1rem; }

.ill--tile { max-width: 13rem; }

.mini-link { display: grid; justify-items: start; gap: var(--sp-3); width: min(100%, 20rem); }
.mini-link__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.6rem 0.9rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-ink);
  font-size: var(--fs-sm);
  white-space: nowrap;
  overflow: hidden;
}
.mini-link__bar .ico { width: 1.05rem; height: 1.05rem; color: var(--c-accent); }

.lang-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }
.lang-chips li {
  padding: 0.5rem 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
}
.lang-chips li.is-on { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-ink); }

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--progress { grid-column: span 2; grid-row: auto; }
  .tile--mail, .tile--pay, .tile--id, .tile--save { grid-column: span 1; }
  .tile--lang { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--progress, .tile--mail, .tile--pay, .tile--id, .tile--save, .tile--lang { grid-column: auto; }
  .tile__visual { padding: var(--sp-4); }
  .mail__subj { white-space: normal; }
}

/* ==========================================================================
   Security
   ========================================================================== */
.security {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.security .section-head { margin-bottom: 0; }
.security .section-head h2 { font-size: clamp(2rem, 1.45rem + 2vw, 2.875rem); }
.sec { display: grid; }
.sec__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--c-line-soft);
}
.sec__item:first-child { border-top: 0; padding-top: 0; }
.sec__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-lg);
  background: var(--c-ink);
  color: var(--c-accent-on-ink);
  box-shadow: 0 10px 24px -14px rgba(16, 41, 45, 0.8);
}
.sec__item h3 { font-size: 1.25rem; font-weight: var(--fw-semibold); line-height: 1.3; letter-spacing: -0.01em; }
.sec__item p { margin-top: var(--sp-1); color: var(--c-muted); font-size: var(--fs-base); }

@media (max-width: 900px) {
  .security { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   FAQ: heading + contact prompt on the left, accordion on the right
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-ask {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-xl);
  font-size: var(--fs-base);
  color: var(--c-muted);
}
.faq-ask__title { color: var(--c-ink); font-size: 1.125rem; font-weight: var(--fw-semibold); margin-bottom: var(--sp-1); }
.faq-ask a { color: var(--c-accent); font-weight: var(--fw-semibold); text-underline-offset: 0.24em; }

.faq {
  padding: var(--sp-2) var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.faq details + details { border-top: 1px solid var(--c-line-soft); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-5);
  font-size: 1.1875rem;
  font-weight: var(--fw-medium);
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.3rem;
  border-right: 2px solid var(--c-ink);
  border-bottom: 2px solid var(--c-ink);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--c-accent); }
.faq details p { max-width: 40rem; padding-bottom: var(--sp-5); color: var(--c-muted); }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }
}
@media (max-width: 480px) {
  .faq { padding-inline: var(--sp-4); }
  .faq summary { font-size: 1.0625rem; }
}

/* ==========================================================================
   Final call to action
   ========================================================================== */
.final { padding-bottom: var(--section-y); background: var(--c-paper); }
.final__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 2rem + 5vw, 6rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--c-ink);
  border-radius: var(--r-2xl);
  color: var(--c-on-ink);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.final__bg {
  background:
    radial-gradient(40% 70% at 85% 10%, rgba(30, 154, 138, 0.4), transparent 72%),
    radial-gradient(28% 40% at 8% 100%, rgba(240, 194, 75, 0.1), transparent 72%),
    radial-gradient(40% 60% at 20% 0%, rgba(10, 107, 97, 0.3), transparent 72%);
}
.final__bg::after {
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 90% at 50% 50%, #000 10%, transparent 75%);
}
.final h2 {
  max-width: 18ch;
  margin-inline: auto;
  color: #FFFFFF;
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);
  font-weight: var(--fw-bold);
  font-variation-settings: var(--fvs-display);
  line-height: 1.05;
  letter-spacing: var(--ls-display);
  text-wrap: balance;
}
.final p { max-width: 34rem; margin: var(--sp-4) auto 0; color: var(--c-on-ink-muted); font-size: var(--fs-md); line-height: 1.5; }
.final__actions { display: grid; justify-items: center; gap: var(--sp-4); margin-top: var(--sp-6); }
.final .final__alt { margin-top: 0; font-size: var(--fs-base); }
.final__alt a { color: var(--c-on-ink); font-weight: var(--fw-semibold); text-underline-offset: 0.28em; }
.final__alt a:hover { color: var(--c-signal); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) var(--sp-6);
  background: var(--c-ink-deep);
  color: var(--c-on-ink-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr));
  gap: var(--sp-6) var(--sp-5);
}
.wordmark--on-ink { color: var(--c-on-ink); }
.wordmark--on-ink .mark-bg { fill: var(--c-ink-2); }
.wordmark--on-ink .mark-ck { stroke: var(--c-ink-2); }
.footer-brand p { max-width: 22rem; margin-top: var(--sp-4); }
.footer-col h2 {
  margin-bottom: var(--sp-4);
  color: var(--c-on-ink);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.footer-col ul { display: grid; gap: var(--sp-3); }
.footer-col a { color: var(--c-on-ink-muted); text-decoration: none; }
.footer-col a:hover { color: var(--c-on-ink); text-decoration: underline; text-underline-offset: 0.24em; }
.footer-pending { color: var(--c-on-ink-muted); cursor: default; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-on-ink-line);
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Scroll reveals. The .reveal class is only ever added by landing.js,
   so every section is fully visible without JavaScript.
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
.jz.reveal.is-in .jz__card { transition-delay: 0s; }

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal .bar__fill { transform: none !important; }
  .jz__card:hover, .jz__card:focus-within, .btn--signal:hover { transform: none; }
}
