/* ==========================================================================
   Лига Плюща — лендинг «плющ + бенто»
   ========================================================================== */

:root {
  /* Бренд */
  --forest-950: #040F08;
  --forest-900: #06190E;
  --forest-800: #0B2E1A;
  --forest-700: #0F3D22;
  --green-700: #16733A;
  --green-600: #1B8A45;
  --green-500: #22B455;
  --green-400: #3FCB72;
  --lime: #C8F169;
  --lime-600: #A9D94A;
  --lime-ink: #173404;
  --mint: #EEF3EC;
  --mint-2: #E2EADF;
  --white: #FFFFFF;

  /* Текст */
  --ink: #0B1F12;
  --ink-2: #3A4C40;
  --muted: #5B6B60;
  --on-dark: #F2F7F0;
  --on-dark-2: #B5C8BA;
  --line: rgba(11, 31, 18, .1);
  --line-dark: rgba(242, 247, 240, .12);
  --danger: #C62828;
  --danger-dark: #FF8A80;

  /* Шрифты */
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(1.9rem, 1rem + 3.2vw, 3.75rem);
  --fs-h2: clamp(1.65rem, 1.1rem + 2.3vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);

  /* Ритм */
  --r-xl: 32px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --gap: clamp(10px, 1.2vw, 16px);
  --section: clamp(72px, 9vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--mint);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.light :focus-visible { outline-color: var(--green-600); }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 1000;
  padding: 10px 16px; background: var(--lime); color: var(--lime-ink); border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

.dark { background: var(--forest-900); color: var(--on-dark); }
.light { background: var(--mint); color: var(--ink); }
.section { position: relative; padding: var(--section) 0; }
.section--tight { padding-top: 0; }
.muted { color: var(--muted); }
.dark .muted { color: var(--on-dark-2); }
.lead { font-size: var(--fs-lead); color: var(--ink-2); }
.dark .lead { color: var(--on-dark-2); }

/* --- Type ---------------------------------------------------------------- */
.label {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700);
}
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.label--lime { color: var(--lime); }
.h2 {
  font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500;
  line-height: 1.08; letter-spacing: -.035em; text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.mark { color: var(--green-700); }
.dark .mark { color: var(--lime); }
.section-head { max-width: 860px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; max-width: none; flex-wrap: wrap; }
.section-head--row > div { max-width: 760px; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  touch-action: manipulation; isolation: isolate; overflow: hidden;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 30px -10px rgba(200, 241, 105, .7); }
.btn--lime:hover { background: #D7F98A; box-shadow: 0 14px 40px -10px rgba(200, 241, 105, .9); }
.btn--glass { background: rgba(242, 247, 240, .08); color: var(--on-dark); border-color: rgba(242, 247, 240, .22); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(242, 247, 240, .16); border-color: rgba(242, 247, 240, .4); }
.btn--primary { background: var(--forest-800); color: var(--on-dark); }
.btn--primary:hover { background: var(--green-700); }
.btn--ghost { background: transparent; color: var(--forest-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--forest-800); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: rotate(-45deg); }

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(242, 247, 240, .08); border: 1px solid var(--line-dark); font-size: .875rem; font-weight: 600; color: var(--on-dark);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--lime); animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* --- Header -------------------------------------------------------------- */
.header { position: fixed; inset: 14px 0 auto; z-index: 100; pointer-events: none; }
.header__bar {
  pointer-events: auto; display: flex; align-items: center; gap: 20px;
  width: min(1240px, 100% - 24px); margin-inline: auto; padding: 8px 8px 8px 20px; min-height: 64px;
  border-radius: 999px; background: rgba(6, 25, 14, .62); border: 1px solid var(--line-dark);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: var(--on-dark); transition: background-color .3s, box-shadow .3s, transform .4s var(--ease);
}
.header.is-scrolled .header__bar { background: rgba(6, 25, 14, .86); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.header.is-hidden .header__bar { transform: translateY(-120%); }
.header__logo img { width: 78px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
  display: block; padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--on-dark-2);
  transition: color .2s, background-color .2s;
}
.nav__list a:hover { color: var(--on-dark); background: rgba(242, 247, 240, .08); }
.nav__mobile-extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--lime); }
.header__cta { white-space: nowrap; }
.burger {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--lime); color: var(--lime-ink);
}
.burger .icon { width: 22px; height: 22px; }
.burger .icon--close { display: none; }
.burger[aria-expanded="true"] .icon--open { display: none; }
.burger[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1140px) { .header__phone { display: none; } }
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .header__actions { margin-left: auto; }
  .nav {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; margin: 0;
    padding: 12px 16px 20px; border-radius: var(--r-lg); pointer-events: auto;
    background: rgba(6, 25, 14, .96); border: 1px solid var(--line-dark); color: var(--on-dark);
    backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line-dark); font-size: 1.0625rem; color: var(--on-dark); }
  .nav__mobile-extra { display: grid; gap: 12px; margin-top: 16px; }
  .nav__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; text-decoration: none; }
}

/* --- Tiles --------------------------------------------------------------- */
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--forest-800); border: 1px solid var(--line-dark);
}
.tile--lime { background: var(--lime); color: var(--lime-ink); border-color: transparent; }
.tile--glass {
  background: linear-gradient(160deg, rgba(242, 247, 240, .08), rgba(242, 247, 240, .02));
  backdrop-filter: blur(8px);
}
[data-tilt] { transform-style: preserve-3d; will-change: transform; transition: transform .5s var(--ease); }

/* --- Vine ---------------------------------------------------------------- */
.vine { position: absolute; pointer-events: none; overflow: visible; }
.vine__stem { fill: none; stroke: var(--green-400); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(63, 203, 114, .7)); vector-effect: non-scaling-stroke; }
.vine__leaf { fill: var(--green-500); transform-box: fill-box; transform-origin: 50% 100%; }
.vine__leaf--lime { fill: var(--lime); }

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 94px 0 20px; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow {
  position: absolute; z-index: -1; width: 720px; height: 720px; left: var(--mx, 70%); top: var(--my, 40%);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(34, 180, 85, .35), rgba(34, 180, 85, .08) 55%, transparent);
  transition: left .6s var(--ease-out), top .6s var(--ease-out);
}
.hero__glow--static { left: 80%; top: 20%; }
.hero__grid {
  flex: 1; max-height: 980px; display: grid; gap: var(--gap);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas:
    "m m m m m m m p p p p p"
    "m m m m m m m p p p p p"
    "a a a b b c c t t t t t";
}
.hero__main {
  grid-area: m; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  min-height: 0; padding: clamp(22px, 3vw, 40px);
  background: radial-gradient(120% 100% at 100% 0%, rgba(34, 180, 85, .28), transparent 60%), var(--forest-800);
}
.vine--hero { inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__main > :not(.vine) { position: relative; z-index: 1; }
.hero__main .chip { margin-bottom: auto; }
.hero__title {
  margin-top: 24px; font-family: var(--font-display); font-size: min(var(--fs-hero), 7.2vh); font-weight: 500;
  line-height: 1.02; letter-spacing: -.045em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .accent { color: var(--lime); }
.hero__lead { margin-top: 18px; max-width: 520px; font-size: 1.0625rem; color: var(--on-dark-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Визуал справа: кабинет слушателя + счёт */
.hero__visual {
  grid-area: p; min-height: 0; display: grid; place-items: center; padding: 28px 28px 28px 20px;
  background:
    radial-gradient(60% 55% at 60% 45%, rgba(200, 241, 105, .38), transparent 70%),
    linear-gradient(160deg, var(--green-600), var(--forest-700) 78%);
}
.hero__visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(242, 247, 240, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 247, 240, .07) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(closest-side, #000, transparent);
}
.app {
  position: relative; width: min(100%, 360px); margin-right: 40px; border-radius: 20px; overflow: hidden;
  background: rgba(6, 25, 14, .62); border: 1px solid rgba(242, 247, 240, .18); color: var(--on-dark);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 60px -30px rgba(4, 15, 8, .7); transform: rotate(-3deg);
}
.app__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-dark); font-size: .75rem; color: var(--on-dark-2); }
.app__dots { display: flex; gap: 5px; }
.app__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(242, 247, 240, .25); }
.app__dots i:first-child { background: var(--lime); }
.app__body { display: grid; gap: 14px; padding: 16px; }
.app__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.app__head small { display: block; font-size: .75rem; color: var(--on-dark-2); }
.app__head b { font-size: 1rem; }
.app__badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(200, 241, 105, .14); color: var(--lime); font-size: .75rem; font-weight: 700; }
.app__badge .dot { width: 6px; height: 6px; }
.app__progress { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: rgba(242, 247, 240, .06); }
.app__progress b { display: block; font-size: .9375rem; }
.app__progress small { font-size: .8125rem; color: var(--on-dark-2); }
.app__ring { position: relative; flex: none; width: 64px; height: 64px; }
.app__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.app__ring circle { fill: none; stroke: rgba(242, 247, 240, .12); stroke-width: 11; }
.app__ring .app__ring-bar { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 22; }
.app__ring > b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: .8125rem; font-weight: 600; white-space: nowrap; letter-spacing: -.03em; }
.app__modules { display: grid; gap: 6px; font-size: .8125rem; }
.app__modules li { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--on-dark-2); }
.app__modules li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(242, 247, 240, .3); }
.app__modules li.is-done { color: var(--on-dark); }
.app__modules li.is-done::before {
  border-color: var(--lime); background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173404' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.app__modules li.is-current { background: rgba(200, 241, 105, .1); color: var(--on-dark); }
.app__modules li.is-current::before { border-color: var(--lime); box-shadow: inset 0 0 0 3px var(--forest-800), inset 0 0 0 8px var(--lime); animation: pulse 1.6s ease-in-out infinite; }
.app__modules li span { margin-left: auto; font-size: .6875rem; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: .06em; }
@keyframes pulse { 50% { box-shadow: inset 0 0 0 3px var(--forest-800), inset 0 0 0 8px var(--lime), 0 0 0 5px rgba(200, 241, 105, .2); } }
.app__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: .875rem; }

.toast, .receipt { position: absolute; z-index: 2; box-shadow: 0 24px 40px -18px rgba(4, 15, 8, .6); }
.toast {
  top: 22px; right: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .95); color: var(--ink); animation: toast 9s var(--ease-out) infinite;
}
.toast b { display: block; font-size: .8125rem; line-height: 1.2; }
.toast small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.3; }
.toast__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest-800); color: var(--lime); }
.toast__avatar .icon { width: 18px; height: 18px; }
@keyframes toast { 0%, 8% { opacity: 0; transform: translateY(-12px) scale(.95); } 14%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-12px) scale(.95); } }

.receipt {
  right: 16px; bottom: 20px; width: 236px; padding: 14px 16px 12px; border-radius: 14px;
  background: #FBFCF8; color: var(--ink); transform: rotate(4deg); animation: bob 6s ease-in-out infinite;
  -webkit-mask: radial-gradient(circle 6px at 50% calc(100% + 1px), transparent 98%, #000) bottom / 14px 100% repeat-x;
          mask: radial-gradient(circle 6px at 50% calc(100% + 1px), transparent 98%, #000) bottom / 14px 100% repeat-x;
  padding-bottom: 18px;
}
.receipt p { font-size: .75rem; }
.receipt__title { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px dashed #C9D3CB; font-weight: 800; font-size: .8125rem !important; }
.receipt__title .icon { width: 16px; height: 16px; color: var(--green-600); }
.receipt__row { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; color: var(--muted); }
.receipt__row b { color: var(--green-700); text-align: right; white-space: nowrap; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding-top: 8px; border-top: 1px dashed #C9D3CB; font-weight: 700; }
.receipt__total b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -.04em; color: var(--green-700); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.hero__stat { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 16px 20px; min-height: 104px; }
.hero__stat:nth-of-type(3) { grid-area: a; }
.hero__stat--dark:nth-of-type(4) { grid-area: b; }
.hero__stat--dark:nth-of-type(5) { grid-area: c; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 1.3vw, 2.5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.hero__stat--dark .stat-label { color: var(--on-dark-2); }
.hero__ticker { grid-area: t; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 16px 0; background: var(--green-700); border-color: transparent; }
.hero__ticker-link { display: inline-flex; align-items: center; gap: 8px; margin-left: 22px; font-weight: 700; text-decoration: none; color: var(--lime); }
.ticker { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; gap: 10px; width: max-content; animation: marquee 28s linear infinite; }
.ticker__track span { padding: 10px 18px; border-radius: 999px; background: rgba(6, 25, 14, .35); white-space: nowrap; font-weight: 600; font-size: .9375rem; }
.hero__ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (min-width: 1081px) and (max-height: 820px) {
  .hero { padding-top: 86px; padding-bottom: 14px; }
  .hero__main { padding: 22px 28px; }
  .hero__title { margin-top: 14px; font-size: min(var(--fs-hero), 6.4vh); }
  .hero__lead { margin-top: 12px; font-size: .9875rem; }
  .hero__actions { margin-top: 18px; }
  .hero__stat { min-height: 84px; padding: 12px 18px; }
  .stat-num { font-size: 1.75rem; }
  .hero__ticker { padding: 12px 0; gap: 8px; }
  .ticker__track span { padding: 7px 14px; }
  .app__body { gap: 10px; padding: 12px 14px; }
  .app__modules li { padding: 5px 10px; }
}
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas:
      "m m m m m m"
      "p p p p p p"
      "a a b b c c"
      "t t t t t t";
  }
  .hero { min-height: 0; }
  .hero__grid { grid-template-rows: none; max-height: none; }
  .hero__main { padding-top: 28px; }
  .hero__title { margin-top: 32px; font-size: var(--fs-hero); }
  .hero__visual { min-height: 460px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 92px; }
  .hero__grid { grid-template-areas: "m m m m m m" "p p p p p p" "a a a a a a" "b b b c c c" "t t t t t t"; }
  .hero__actions .btn { width: 100%; padding: 0 20px; }
  .vine--hero { opacity: .35; }
  .hero__visual { min-height: 0; padding: 72px 14px 170px; }
  .app { margin-right: 0; }
  .toast { top: 14px; right: 12px; }
  .receipt { right: 12px; bottom: 14px; width: 200px; }
  .receipt__row b { white-space: normal; }
}

/* --- Ribbons ------------------------------------------------------------- */
.ribbons { position: relative; height: clamp(120px, 14vw, 180px); overflow: hidden; background: linear-gradient(var(--forest-900) 50%, var(--mint) 50%); }
.ribbon { position: absolute; left: -5%; width: 110%; padding: 16px 0; overflow: hidden; }
.ribbon--lime { top: 22%; background: var(--lime); color: var(--lime-ink); transform: rotate(-3deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(4, 15, 8, .5); }
.ribbon--green { top: 32%; background: var(--green-700); color: var(--on-dark); transform: rotate(2.5deg); }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 34s linear infinite; }
.ribbon__track--rev { animation-direction: reverse; }
.ribbon span { font-family: var(--font-display); font-size: clamp(1rem, .8rem + .9vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.ribbon i { width: 12px; height: 12px; border-radius: 50%; background: currentColor; opacity: .5; }

/* --- Program types ------------------------------------------------------- */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); perspective: 1200px; }
.type-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 380px; padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 50px -36px rgba(11, 46, 26, .45);
}
.type-card--accent { background: var(--forest-800); color: var(--on-dark); border-color: transparent; }
.type-card__num { font-family: var(--font-display); font-size: 4.5rem; font-weight: 500; line-height: .9; letter-spacing: -.06em; color: var(--mint-2); }
.type-card--accent .type-card__num { color: var(--lime); }
.type-card__title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.type-card p { color: var(--ink-2); }
.type-card--accent p { color: var(--on-dark-2); }
.type-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.type-card__meta li { padding: 6px 12px; border-radius: 999px; background: var(--mint); font-size: .875rem; font-weight: 700; color: var(--green-700); }
.type-card--accent .type-card__meta li { background: rgba(200, 241, 105, .14); color: var(--lime); }
.type-card__doc { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 600; }
.type-card--accent .type-card__doc { border-color: var(--line-dark); color: var(--on-dark) !important; }
.type-card__doc .icon { color: var(--green-600); }
.type-card--accent .type-card__doc .icon { color: var(--lime); }
@media (max-width: 960px) { .types { grid-template-columns: 1fr; } .type-card { min-height: 0; } .type-card__num { font-size: 3rem; } }

/* --- Pay ----------------------------------------------------------------- */
.pay {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line);
}
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 5px; border-radius: 999px; background: var(--mint); }
.switch__btn { position: relative; z-index: 1; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; color: var(--ink-2); transition: color .3s; }
.switch__btn[aria-selected="true"] { color: var(--on-dark); }
.switch__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--forest-800); transition: transform .45s var(--ease-out); }
.switch.is-paid .switch__thumb { transform: translateX(100%); }
.pay__panel { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.pay__panel[hidden] { display: none; }
.pay__panel.is-entering { animation: panelIn .5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.pay__big {
  flex: none; display: grid; place-items: center; width: clamp(130px, 14vw, 190px); aspect-ratio: 1; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink); font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); font-weight: 600; letter-spacing: -.05em;
}
.pay__big--sm { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); background: var(--forest-800); color: var(--lime); }
.pay__text h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.pay__text p { color: var(--ink-2); }
.pay__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
@media (max-width: 900px) { .pay { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pay__panel { flex-direction: column; align-items: flex-start; } .switch { display: grid; width: 100%; } }

/* --- Employers ----------------------------------------------------------- */
.bento {
  display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: "big big g1 ph" "big big g2 ph" "g3 g4 g4 ph";
}
.bento > :nth-child(1) { grid-area: big; }
.bento > :nth-child(2) { grid-area: g1; }
.bento > :nth-child(3) { grid-area: g2; }
.bento > :nth-child(4) { grid-area: ph; }
.bento > :nth-child(5) { grid-area: g3; }
.bento > :nth-child(6) { grid-area: g4; }
.bento .tile { padding: 24px; display: flex; flex-direction: column; gap: 8px; min-height: 170px; }
.bento h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.bento .tile--glass p { color: var(--on-dark-2); font-size: .9375rem; }
.icon--tile { width: 44px; height: 44px; padding: 10px; margin-bottom: auto; border-radius: 14px; background: rgba(200, 241, 105, .14); color: var(--lime); }
.bento__big { justify-content: flex-end; padding: clamp(24px, 3vw, 40px) !important; }
.bento__huge { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 9vw, 11rem); font-weight: 600; line-height: .85; letter-spacing: -.07em; margin-bottom: auto; }
.bento__big p { max-width: 380px; font-size: 1.125rem; font-weight: 600; }
.tile--photo { padding: 0 !important; justify-content: flex-end; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(4, 15, 8, .85)); }
.tile__caption { position: relative; z-index: 1; padding: 20px; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "big big" "g1 g2" "ph ph" "g3 g4"; }
  .tile--photo { min-height: 260px !important; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "big" "g1" "g2" "ph" "g3" "g4"; }
  .bento .tile { min-height: 0; }
  .icon--tile { margin-bottom: 8px; }
}

.steps-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(64px, 8vw, 120px); }
.steps-wrap__sticky { position: sticky; top: 120px; align-self: start; }
.steps-wrap__sticky .h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); margin-bottom: 16px; }
.steps { position: relative; display: grid; gap: 14px; padding-left: 56px; }
.vine--steps { left: 2px; top: 0; width: 40px; height: 100%; }
.vine--steps .vine__stem { stroke-width: 3; }
.step {
  position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px;
  border-radius: var(--r-lg); background: rgba(242, 247, 240, .05); border: 1px solid var(--line-dark);
  transition: background-color .4s, border-color .4s;
}
.step.is-active { background: rgba(200, 241, 105, .1); border-color: rgba(200, 241, 105, .35); }
.step__num {
  position: absolute; left: -50px; top: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--forest-900); border: 2px solid var(--green-400); color: var(--lime); font-weight: 800; font-size: .9375rem;
  transition: background-color .4s, color .4s;
}
.step.is-active .step__num { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.step h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--on-dark-2); font-size: .9375rem; }
@media (max-width: 860px) { .steps-wrap { grid-template-columns: 1fr; } .steps-wrap__sticky { position: static; } }

/* --- Participants & quiz ------------------------------------------------- */
.quiz-wrap {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--gap); align-items: stretch;
  padding: var(--gap); border-radius: var(--r-xl); background: var(--forest-800); scroll-margin-top: 100px;
}
.quiz-wrap__visual {
  position: relative; overflow: hidden; border-radius: var(--r-lg); color: var(--on-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 32px 24px; text-align: center;
  background: radial-gradient(70% 60% at 50% 60%, rgba(200, 241, 105, .22), transparent 70%), linear-gradient(160deg, var(--green-600), var(--forest-700));
}
.gauge { --g: 0; }
.gauge__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; margin-bottom: 18px; border-radius: 999px; background: rgba(6, 25, 14, .4); font-size: .875rem; font-weight: 700; }
.gauge__kicker .icon { color: var(--lime); }
.gauge__dial { position: relative; width: min(100%, 340px); aspect-ratio: 220 / 124; }
.gauge__dial svg { width: 100%; height: 100%; overflow: visible; }
.gauge__track, .gauge__bar { fill: none; stroke-width: 18; stroke-linecap: round; }
.gauge__track { stroke: rgba(6, 25, 14, .45); }
.gauge__bar { stroke: var(--lime); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--g)); transition: stroke-dashoffset .9s var(--ease-out); filter: drop-shadow(0 0 8px rgba(200, 241, 105, .6)); }
.gauge__ticks path { stroke: rgba(242, 247, 240, .35); stroke-width: 2; }
.gauge__needle {
  position: absolute; left: calc(50% - 3px); bottom: 9.7%; width: 6px; height: 58%; border-radius: 3px;
  background: linear-gradient(var(--on-dark), rgba(242, 247, 240, .5)); transform-origin: 50% 100%;
  transform: rotate(calc(-90deg + var(--g) * 1.8deg)); transition: transform 1s cubic-bezier(.34, 1.56, .64, 1);
}
.gauge__hub { position: absolute; left: 50%; bottom: 9.7%; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); transform: translate(-50%, 50%); box-shadow: 0 0 0 6px rgba(6, 25, 14, .4); }
.gauge__value { margin-top: 18px; font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.gauge[data-level="3"] .gauge__value { color: var(--lime); }
.gauge__label { font-size: .9375rem; color: var(--on-dark-2); }
.gauge__steps { display: flex; gap: 16px; margin-top: 22px; font-size: .8125rem; font-weight: 700; color: var(--on-dark-2); }
.gauge__steps li { display: flex; align-items: center; gap: 6px; }
.gauge__steps span { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(242, 247, 240, .35); transition: background-color .3s, border-color .3s; }
.gauge__steps li.is-done { color: var(--on-dark); }
.gauge__steps li.is-done span { background: var(--lime); border-color: var(--lime); }
.quiz { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-lg); background: var(--white); }
.quiz__top { margin-bottom: 24px; }
.quiz__title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.quiz__progress { height: 6px; margin-top: 16px; border-radius: 3px; background: var(--mint); overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: var(--qp, 33%); border-radius: inherit; background: linear-gradient(90deg, var(--green-500), var(--lime)); transition: width .5s var(--ease-out); }
.quiz__step { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.quiz__step[hidden] { display: none; }
.quiz__step.is-entering, .quiz__result.is-entering { animation: panelIn .45s var(--ease-out); }
.quiz__step legend { margin-bottom: 14px; font-size: 1.125rem; font-weight: 700; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 18px; border-radius: var(--r);
  border: 1.5px solid var(--line); font-weight: 600; transition: border-color .2s, background-color .2s;
}
.option span::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #B5C2B8; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.option:hover span { border-color: var(--green-500); }
.option input:checked + span { border-color: var(--green-600); background: rgba(200, 241, 105, .22); }
.option input:checked + span::before { border-color: var(--green-700); background: var(--green-700); box-shadow: inset 0 0 0 4px var(--white); }
.option input:focus-visible + span { outline: 3px solid var(--green-600); outline-offset: 2px; }
.quiz__error { margin-top: 12px; color: var(--danger); font-size: .9375rem; font-weight: 600; }
.quiz__nav { display: flex; gap: 10px; justify-content: space-between; margin-top: auto; padding-top: 24px; }
.quiz__nav .quiz__next { margin-left: auto; }
.quiz__note { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.quiz__result { display: grid; gap: 14px; }
.quiz__result[hidden] { display: none; }
.quiz__result-badge { justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.quiz__result-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.quiz__result-text { color: var(--ink-2); }
.quiz__restart { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.quiz.is-done .quiz__nav, .quiz.is-done .quiz__progress { display: none; }
@media (max-width: 900px) { .quiz-wrap { grid-template-columns: 1fr; } .quiz-wrap__visual { padding: 24px 20px; } }
@media (max-width: 520px) { .gauge__kicker { display: none; } .gauge__dial { width: 240px; } .gauge__steps { margin-top: 14px; } }

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.info-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); }
.info-card--dark { background: var(--green-700); color: var(--on-dark); border-color: transparent; }
.info-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.info-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--green-700); }
.info-card--dark .info-card__icon { background: var(--lime); color: var(--lime-ink); }
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.45; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173404' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

/* --- Catalog rail -------------------------------------------------------- */
.catalog { overflow: hidden; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--on-dark-2); font-weight: 700; font-size: .9375rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { color: var(--on-dark); border-color: rgba(242, 247, 240, .35); }
.filter.is-active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.rail {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 8px max(16px, calc((100vw - 1240px) / 2)) 24px; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }
.rail__track { display: flex; gap: var(--gap); width: max-content; }
.program {
  scroll-snap-align: start; flex: none; display: flex; flex-direction: column; gap: 12px;
  width: clamp(250px, 24vw, 300px); min-height: 300px; padding: 24px; border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(242, 247, 240, .09), rgba(242, 247, 240, .02)); border: 1px solid var(--line-dark);
  transition: transform .35s var(--ease), border-color .35s, opacity .35s, background-color .35s;
}
.program:hover { transform: translateY(-6px); border-color: rgba(200, 241, 105, .5); }
.program[hidden] { display: none; }
.program__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(200, 241, 105, .14); color: var(--lime); margin-bottom: auto; }
.program__icon .icon { width: 24px; height: 24px; }
.program__tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(242, 247, 240, .08); font-size: .8125rem; font-weight: 700; color: var(--on-dark-2); }
.program h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.program p { font-size: .875rem; color: var(--on-dark-2); }
.program--hot { background: var(--lime); color: var(--lime-ink); border-color: transparent; }
.program--hot .program__icon { background: var(--forest-800); }
.program--hot .program__tag { background: rgba(23, 52, 4, .12); color: var(--lime-ink); }
.program--hot p { color: var(--lime-ink); }
.program--cta { background: var(--green-700); border-color: transparent; }
.program--cta .link-arrow { margin-top: 4px; }
.rail-hint { display: flex; align-items: center; gap: 8px; color: var(--on-dark-2); font-size: .875rem; font-weight: 600; }
.rail-hint .icon { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* --- Documents 3D -------------------------------------------------------- */
.docs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.docs__text .lead { margin-top: 20px; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.doc-tab {
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-weight: 700; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s;
}
.doc-tab[aria-selected="true"] { background: var(--forest-800); border-color: var(--forest-800); color: var(--on-dark); }
.doc-caption { margin-top: 16px; font-weight: 600; color: var(--muted); }
.doc-scene { position: relative; display: grid; place-items: center; min-height: 460px; perspective: 1400px; }
.doc-scene::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 241, 105, .6), transparent); }
.doc3d {
  --ry: -22deg; --rx: 12deg;
  position: relative; width: min(340px, 78%); aspect-ratio: .72; transform-style: preserve-3d;
  transform: rotateY(var(--ry)) rotateX(var(--rx)) rotateZ(-4deg);
}
.doc3d > div { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; }
.doc3d__back { background: var(--forest-700); transform: translateZ(-14px); box-shadow: 0 40px 60px -30px rgba(4, 15, 8, .6); }
.doc3d__page--2 { background: #F7F8F2; transform: translateZ(-6px) translate(8px, 6px); }
.doc3d__front {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14% 12%;
  background: linear-gradient(160deg, #FFFFFF, #F1F5EC); border: 1px solid var(--line);
  box-shadow: inset 0 0 0 10px #fff, inset 0 0 0 12px var(--doc-c, var(--green-600));
  transition: box-shadow .4s;
}
.doc3d[data-type="1"] { --doc-c: #1E8C6E; }
.doc3d[data-type="2"] { --doc-c: #5E8F1F; }
.doc3d__front img { width: 52px; }
.doc3d__type { margin-top: 8px; font-family: var(--font-display); font-size: clamp(1rem, .8rem + .8vw, 1.375rem); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--forest-800); }
.doc3d__sub { font-size: .8125rem; color: var(--muted); text-align: center; margin-bottom: 10px; }
.doc3d__front i { display: block; width: 100%; height: 6px; border-radius: 3px; background: var(--mint-2); }
.doc3d__front i:nth-of-type(2) { width: 78%; }
.doc3d__front i:nth-of-type(3) { width: 52%; }
.doc3d__stamp {
  position: absolute; right: 12%; bottom: 10%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  border: 3px solid var(--green-600); color: var(--green-700); font-weight: 800; font-size: .8125rem; line-height: 1.1; text-align: center;
  transform: rotate(-14deg) translateZ(20px);
}
.js .doc-scene:not(.is-stamped) .doc3d__stamp { opacity: 0; transform: rotate(-14deg) scale(2.4); }
.doc-scene.is-stamped .doc3d__stamp { animation: stamp .55s var(--ease-out) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(2.4); } to { opacity: 1; transform: rotate(-14deg) scale(1); } }
.doc-scene__shadow { position: absolute; bottom: 4%; width: 60%; height: 26px; border-radius: 50%; background: rgba(4, 15, 8, .22); filter: blur(14px); }
@media (max-width: 900px) { .docs__grid { grid-template-columns: 1fr; } .doc-scene { min-height: 380px; } }

/* --- Cases --------------------------------------------------------------- */
.cases { padding-top: 0; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.case { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); }
.case--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: clamp(20px, 3vw, 40px); }
.case--dark { grid-column: span 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 40px; background: var(--forest-800); color: var(--on-dark); border-color: transparent; }
.case__client { align-self: flex-start; width: fit-content; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--green-700); font-size: .8125rem; font-weight: 700; }
.case--dark .case__client { background: rgba(200, 241, 105, .14); color: var(--lime); }
.case h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.case--wide h3 { font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; margin-top: 12px; }
.case--dark h3 { flex: 1 1 320px; color: var(--on-dark-2); font-weight: 600; }
.case__big { display: flex; flex-direction: column; font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; color: var(--lime); }
.case__big small { font-family: var(--font); font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: var(--on-dark-2); margin-top: 10px; }
.case__num { display: flex; align-items: flex-end; gap: 12px; flex: none; }
.case__num b {
  font-family: var(--font-display); font-size: clamp(3rem, 2.3rem + 2.2vw, 4.25rem); font-weight: 600;
  letter-spacing: -.06em; line-height: .85; color: var(--green-700); font-variant-numeric: tabular-nums;
}
.case__num small { padding-bottom: 4px; font-size: .875rem; font-weight: 600; line-height: 1.25; color: var(--muted); }
.case--wide .case__num { flex-direction: column; align-items: flex-start; gap: 10px; padding-right: clamp(20px, 3vw, 40px); border-right: 1px solid var(--line); }
.case--wide .case__num b { font-size: clamp(3.75rem, 2.6rem + 3.4vw, 6rem); }
.case--wide .case__num small { padding-bottom: 0; }
@media (max-width: 960px) { .case-grid { grid-template-columns: 1fr 1fr; } .case--wide { grid-column: span 2; } .case--dark { grid-column: span 2; } }
@media (max-width: 620px) {
  .case-grid { grid-template-columns: 1fr; }
  .case--wide, .case--dark { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .case--wide .case__num { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); width: 100%; }
}

.logos { margin-top: var(--gap); padding: 28px 0; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 30s linear infinite; padding-left: 32px; }
.logos__track img { height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos__track img:hover { filter: none; opacity: 1; }
.logos__text { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: var(--gap); }
.partners__title { font-weight: 800; }
.partners__list { display: flex; flex-wrap: wrap; gap: 8px; }
.partners__list li { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9375rem; font-weight: 600; }

/* --- Process (horizontal) ------------------------------------------------ */
.process { position: relative; padding: var(--section) 0; overflow: hidden; }
.process__head { margin-bottom: clamp(32px, 4vw, 56px); }
.process__viewport { overflow-x: auto; scrollbar-width: none; padding: 0 max(16px, calc((100vw - 1240px) / 2)); }
.process__viewport::-webkit-scrollbar { display: none; }
.process.is-pinned .process__viewport { overflow: visible; }
.process__track { display: flex; gap: var(--gap); width: max-content; }
.pstep {
  position: relative; flex: none; display: flex; flex-direction: column; gap: 14px;
  width: clamp(260px, 30vw, 380px); min-height: 320px; padding: 30px; border-radius: var(--r-xl);
  background: linear-gradient(170deg, rgba(242, 247, 240, .09), rgba(242, 247, 240, .02)); border: 1px solid var(--line-dark);
}
.pstep__num { font-family: var(--font-display); font-size: 5rem; font-weight: 500; line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--green-400); margin-bottom: auto; }
.pstep h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
.pstep p { color: var(--on-dark-2); }
.pstep--final { background: var(--lime); color: var(--lime-ink); border-color: transparent; }
.pstep--final .pstep__num { -webkit-text-stroke-color: var(--lime-ink); }
.pstep--final p { color: var(--lime-ink); }
.pstep:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: calc(-1 * var(--gap)); width: var(--gap); height: 2px; background: var(--green-400); }
@media (max-width: 860px) {
  .process__viewport { overflow: visible; }
  .process__track { flex-direction: column; width: auto; }
  .pstep { width: auto; min-height: 0; }
  .pstep__num { font-size: 3rem; }
  .pstep:not(:last-child)::after { top: auto; bottom: calc(-1 * var(--gap)); right: auto; left: 44px; width: 2px; height: var(--gap); }
}

/* --- Нам доверяют (гарантийные письма) ------------------------------------ */
.letters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.letters > li { display: flex; }
.letter {
  display: flex; flex-direction: column; width: 100%; padding: 0; text-align: left; font: inherit; color: inherit; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.letter__paper { position: relative; display: block; height: clamp(200px, 20vw, 260px); padding: 22px 26px 0; overflow: hidden; background: linear-gradient(160deg, #E4EEE2, #D3E3D3); }
.letter__paper img {
  display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0; transform-origin: 50% 0;
  box-shadow: 0 18px 40px -18px rgba(4, 15, 8, .45), 0 0 0 1px rgba(11, 31, 18, .06);
  transform: rotate(-1.5deg) translateY(4px); transition: transform .5s var(--ease-out);
}
.letters > li:nth-child(even) .letter__paper img { transform: rotate(1.5deg) translateY(4px); }
.letter__paper::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(transparent, rgba(211, 227, 211, .96)); pointer-events: none; }
.letter__body { display: grid; gap: 6px; flex: 1; align-content: start; padding: 20px 22px 22px; }
.letter__body b { font-size: 1.0625rem; line-height: 1.3; }
.letter__body > span { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.letter:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(4, 15, 8, .35); }
.letter:hover .letter__paper img, .letter:focus-visible .letter__paper img { transform: rotate(0) translateY(-6px) scale(1.03); }
@media (max-width: 1000px) { .letters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .letters { display: flex; gap: 12px; margin: 0 calc(-1 * var(--pad, 16px)); padding: 4px var(--pad, 16px) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .letters::-webkit-scrollbar { display: none; }
  .letters > li { flex: 0 0 78%; scroll-snap-align: center; }
    }

.viewer { width: min(920px, 100vw - 24px); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-xl); background: var(--forest-900); color: var(--on-dark); overflow: hidden; }
.viewer[open] { display: flex; flex-direction: column; }
.viewer::backdrop { background: rgba(4, 15, 8, .78); backdrop-filter: blur(6px); }
.viewer__bar { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 22px; }
.viewer__title { flex: 1; min-width: 0; margin: 0; font-weight: 700; line-height: 1.3; }
.viewer__count { font-size: .875rem; opacity: .7; white-space: nowrap; }
.viewer__close, .viewer__nav { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--on-dark); font-size: 1.125rem; cursor: pointer; transition: background-color .2s, color .2s; }
.viewer__close:hover, .viewer__nav:hover { background: var(--lime); color: var(--lime-ink); }
.viewer__stage { position: relative; display: flex; flex: 1; min-height: 0; background: var(--forest-950); }
.viewer__scroll { flex: 1; min-height: 0; overflow: auto; padding: 0 14px; overscroll-behavior: contain; }
.viewer__img { display: block; width: 100%; max-width: 760px; height: auto; aspect-ratio: 210 / 297; margin: 14px auto; border-radius: 6px; background: #fff; }
.viewer__nav { position: absolute; top: 50%; font-size: 1.75rem; line-height: 1; transform: translateY(-50%); background: rgba(6, 25, 14, .75); }
.viewer__nav--prev { left: 12px; }
.viewer__nav--next { right: 12px; }
.viewer__nav[hidden] { display: none; }
.viewer__note { margin: 0; padding: 12px 22px; font-size: .8125rem; opacity: .65; }
@media (prefers-reduced-motion: reduce) { .letter, .letter__paper img { transition: none; } }

/* --- FAQ ----------------------------------------------------------------- */
.faq-section { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-grid__head { position: sticky; top: 120px; }
.faq-grid__head .muted { margin-top: 16px; }
.faq-grid__head a { color: var(--green-700); font-weight: 700; }
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.faq__item[open] { border-color: var(--green-500); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding: 16px 22px;
  cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 700; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--mint); color: var(--green-700); transition: transform .3s var(--ease), background-color .3s; }
.faq__item[open] summary .icon { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); }
.faq__body { padding: 0 22px 22px; color: var(--ink-2); }
.faq__body a { color: var(--green-700); font-weight: 700; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid__head { position: static; } }

/* --- Apply --------------------------------------------------------------- */
.apply { overflow: hidden; isolation: isolate; }
.apply__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.apply__intro .lead { margin-top: 20px; }
.apply__contacts { display: grid; gap: 14px; margin-top: 32px; }
.apply__contacts li { display: flex; align-items: center; gap: 14px; overflow-wrap: anywhere; font-weight: 600; }
.apply__contacts a { text-decoration: none; }
.apply__contacts a:hover { color: var(--lime); }
.apply__contacts .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(200, 241, 105, .14); color: var(--lime); }
.apply__card {
  position: relative; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(242, 247, 240, .1), rgba(242, 247, 240, .03)); border: 1px solid var(--line-dark);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.apply__card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, var(--lime), rgba(63, 203, 114, .4) 30%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.apply__card::after { content: ""; position: absolute; left: -40px; top: -40px; width: 160px; height: 160px; z-index: -2; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 241, 105, .35), transparent); pointer-events: none; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 24px; padding: 5px; border: 0; border-radius: 999px; background: rgba(4, 15, 8, .5); }
.role-switch label { position: relative; cursor: pointer; }
.role-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-switch span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 12px; border-radius: 999px; font-weight: 700; text-align: center; color: var(--on-dark-2); transition: background-color .25s, color .25s; }
.role-switch input:checked + span { background: var(--lime); color: var(--lime-ink); }
.role-switch input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field label { font-size: .9375rem; font-weight: 600; color: var(--on-dark); }
.req { color: var(--lime); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"] {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-dark); background: rgba(4, 15, 8, .45); color: var(--on-dark); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder { color: #7F9686; }
.field input:hover { border-color: rgba(242, 247, 240, .3); }
.field input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(200, 241, 105, .18); background: rgba(4, 15, 8, .6); }
.field input[aria-invalid="true"] { border-color: var(--danger-dark); }
.field__error { font-size: .875rem; font-weight: 600; color: var(--danger-dark); }
.field__error:empty { display: none; }
.field--check { margin: 20px 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--on-dark-2); cursor: pointer; }
.check a { color: var(--lime); }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--lime); cursor: pointer; }
.form__error-summary { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(255, 138, 128, .14); color: #FFD3CE; font-weight: 600; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(23, 52, 4, .3); border-top-color: var(--lime-ink); animation: spin .8s linear infinite; }
.form.is-loading .spinner { display: inline-block; }
.form.is-loading .form__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__fail { margin-top: 12px; color: var(--danger-dark); font-size: .9375rem; }
.form__fail a { color: var(--lime); }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 0; }
.form-success[hidden] { display: none; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); }
.form-success__icon .icon { width: 30px; height: 30px; stroke-width: 2.6; }
.form-success h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; letter-spacing: -.02em; }
.form-success p { color: var(--on-dark-2); }
@media (max-width: 960px) { .apply__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } .role-switch span { font-size: .9375rem; } }

/* --- Footer -------------------------------------------------------------- */
.footer { padding: clamp(56px, 7vw, 96px) 0 28px; border-top: 1px solid var(--line-dark); overflow: hidden; font-size: .9375rem; }
.footer > .container { container-type: inline-size; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__title { margin-bottom: 14px; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.footer__list { display: grid; gap: 10px; color: var(--on-dark-2); }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer__wordmark {
  margin: clamp(40px, 6vw, 80px) 0 0; font-family: var(--font-display); font-weight: 600; white-space: nowrap;
  font-size: min(10vw, 9.5rem); font-size: 12.4cqw; line-height: .9; letter-spacing: -.06em; text-align: center;
  background: linear-gradient(180deg, var(--green-500), rgba(34, 180, 85, 0) 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: #8FA697; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* --- Reveal -------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track, .ribbon__track, .logos__track { animation: none; }
  .hero__orbit { display: none; }
}

/* --- Subpages: документы --------------------------------------------------- */
.doc-hero { position: relative; overflow: hidden; padding: 132px 0 clamp(40px, 5vw, 64px); }
.doc-hero::after {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(34, 180, 85, .22), transparent);
}
.doc-hero .container { position: relative; z-index: 1; }
.doc-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 20px; font-weight: 700; text-decoration: none; color: var(--on-dark-2); }
.doc-back:hover { color: var(--on-dark); }
.doc-back .icon { transform: rotate(180deg); }
.doc-hero h1 { max-width: 900px; font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.doc-hero__lead { max-width: 760px; margin-top: 18px; font-size: var(--fs-lead); color: var(--on-dark-2); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.doc-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .875rem; font-weight: 600; color: var(--on-dark-2); }
.doc-meta .icon { width: 16px; height: 16px; color: var(--lime); }

.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(40px, 5vw, 72px) 0 var(--section); }
.doc-nav { position: sticky; top: 100px; }
.doc-nav__title { margin-bottom: 12px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.doc-nav ol { display: grid; gap: 2px; counter-reset: dn; }
.doc-nav a {
  display: flex; gap: 10px; padding: 8px 12px; border-radius: 10px; text-decoration: none;
  font-size: .9375rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); transition: background-color .2s, color .2s;
}
.doc-nav a::before { counter-increment: dn; content: counter(dn, decimal-leading-zero); flex: none; font-variant-numeric: tabular-nums; color: var(--green-600); }
.doc-nav a:hover, .doc-nav a.is-active { background: var(--white); color: var(--ink); }

.doc-body { display: grid; gap: var(--gap); min-width: 0; }
.doc-card { scroll-margin-top: 100px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); }
.doc-card h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.doc-card h2 span { font-size: .875rem; font-weight: 600; color: var(--green-600); letter-spacing: 0; }
.doc-card h3 { margin: 24px 0 10px; font-size: 1.0625rem; font-weight: 700; }
.doc-card p { color: var(--ink-2); }
.doc-card p + p, .doc-card p + ul, .doc-card ul + p { margin-top: 12px; }
.doc-card a { color: var(--green-700); font-weight: 600; }
.doc-list { display: grid; gap: 8px; color: var(--ink-2); }
.doc-list li { position: relative; padding-left: 22px; }
.doc-list li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }

.facts { display: grid; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.facts dd small { display: block; margin-top: 2px; font-size: .875rem; color: var(--muted); font-weight: 400; }

.org-chart { display: grid; gap: 10px; }
.org-chart__item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--mint); }
.org-chart__item .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--white); color: var(--green-700); }
.org-chart__item b { display: block; font-weight: 700; }
.org-chart__item p { margin-top: 2px; font-size: .9375rem; }
.org-chart__line { width: 2px; height: 14px; margin-left: 37px; background: var(--green-500); opacity: .5; }

.file-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.file-card {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.file-card:hover { border-color: var(--green-500); box-shadow: 0 14px 30px -20px rgba(11, 46, 26, .45); transform: translateY(-2px); }
.file-card__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--forest-800); color: var(--mint-accent, #A8DDB5); font-size: .6875rem; font-weight: 800; letter-spacing: .04em; }
.file-card b { display: block; color: var(--ink); line-height: 1.3; }
.file-card small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 500; color: var(--muted); }

.doc-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-top: 16px; border-radius: var(--r); background: var(--mint); font-size: .9375rem; color: var(--ink-2); }
.doc-note .icon { flex: none; margin-top: 2px; color: var(--green-700); }

.doc-card ol.doc-steps { display: grid; gap: 10px; counter-reset: st; }
.doc-card ol.doc-steps > li { position: relative; padding-left: 40px; color: var(--ink-2); }
.doc-card ol.doc-steps > li::before {
  counter-increment: st; content: counter(st); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--green-700); font-size: .8125rem; font-weight: 800;
}

.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--mint); }
.data-table thead th:first-child { border-radius: 10px 0 0 10px; }
.data-table thead th:last-child { border-radius: 0 10px 10px 0; }
.data-table td { color: var(--ink-2); }
.data-table td:first-child { font-weight: 600; color: var(--ink); }

.footer--doc { padding: 28px 0; }
.footer--doc .footer__bottom { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer--doc a { color: var(--on-dark-2); }

@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-nav { position: static; padding: 16px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
  .doc-nav ol { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 640px) {
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .data-table td { padding: 4px 0; border: 0; }
  .data-table td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}
