/* =========================================================
   Quintleaf landing page
   Motion: custom ease-out curves, transform/opacity only,
   press feedback at scale(.97), hover gated to fine pointers.
   ========================================================= */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-cyrillic-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-tight-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F4F6F1;
  --surface: #FFFFFF;
  --ink: #0C1F14;
  --ink-2: #2E3F35;
  --muted: #66746B;
  --line: rgba(12, 31, 20, .09);

  --green-950: #06180D;
  --green-900: #0A2A16;
  --green-800: #123A22;
  --green-600: #2A6B44;
  --green-500: #3C8A5A;
  --green-100: #E2EFE5;
  --gold: #DAA950;
  --gold-600: #A9781F;
  --gold-100: #F6EBD2;

  --ok: #1F6B3F;   --ok-bg: #E2F0E6;
  --warn: #A3610D; --warn-bg: #FCEFD9;
  --none: #6E7871; --none-bg: #ECEFEC;
  --sent: #35618F; --sent-bg: #E6EDF6;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong, b { font-weight: 600; }
p { text-wrap: pretty; }

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

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* Niche switch: only one audience is shown at a time */
[data-niche="kantori"] [data-only="krediti"],
[data-niche="krediti"] [data-only="kantori"] { display: none !important; }

[data-swap] { transition: opacity 220ms var(--ease-out), filter 220ms var(--ease-out); }
.niche-out [data-swap],
.niche-out .words { opacity: 0; filter: blur(4px); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn--dark {
  color: #fff;
  background: linear-gradient(180deg, #1D3D2A 0%, #0A2416 100%);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .55),
    0 0 0 4px rgba(12, 31, 20, .06),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 10px 24px -10px rgba(6, 24, 13, .55);
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--ghost { color: var(--ink); padding: 0 12px; }
.btn--ghost::after { display: none; }
.btn--light { color: var(--ink); background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.btn--light::after { background: var(--green-900); }
.btn--outline-light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }

@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover::after { opacity: .08; }
  .btn--light:hover::after { opacity: .05; }
  .btn--outline-light:hover::after { opacity: .06; }
  .btn--ghost:hover svg,
  .link:hover svg { transform: translateX(3px); }
  .nav-links a:hover { color: var(--ink); }
  .footer a:hover { color: var(--ink); }
}

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--green-800); }
.link svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }

/* ---------- Eyebrows & headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow i {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(12, 31, 20, .18);
}
.eyebrow i::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--green-600);
}
.eyebrow em { font-style: normal; color: var(--muted); }
.eyebrow--plain { color: var(--muted); }
.eyebrow--light { color: rgba(240, 245, 240, .85); }
.eyebrow--light i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.eyebrow--light i::after { background: var(--gold); }
.eyebrow--light em { color: rgba(240, 245, 240, .5); }

.h2 {
  margin-top: 18px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h3 {
  margin-top: 16px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section { padding: clamp(72px, 8.5vw, 120px) 0; }
.section + .section { padding-top: clamp(24px, 3vw, 40px); }
.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .muted { margin-top: 18px; max-width: 520px; }
.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 32px;
}
.section-head.split > p { max-width: 420px; justify-self: end; font-size: 18px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 76px;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 246, 241, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity 300ms ease;
}
.nav.is-scrolled::before { opacity: 1; }
.nav-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { width: auto; height: 23px; margin-top: 3px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a { transition: color 200ms ease; }
/* "Вход" (to the app's sign-in page) next to the main call to action */
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-login { gap: 7px; color: var(--ink-2); transition: color 200ms ease, transform 160ms var(--ease-out); }
.nav-login svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .nav-login:hover { color: var(--ink); }
  .btn--ghost.nav-login:hover svg { transform: none; }
}
/* The logo never gets squeezed by the buttons; on a phone they get tighter, then the mark stands alone. */
.brand { flex: none; }
@media (max-width: 560px) {
  .nav-actions { gap: 0; }
  .nav-login { padding: 0 10px; }
  .nav-login svg { display: none; }
  .nav-actions .btn--dark { padding: 0 16px; }
}
@media (max-width: 400px) {
  .brand-word { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: 132px;
  padding-bottom: 28px;
  border-radius: 0 0 40px 40px;
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #EDF1E8; }
.hero-scene {
  width: 100%;
  height: 100%;
  transform: scale(1.08);
  will-change: transform;
  animation: drift 34s ease-in-out infinite alternate;
}
.hero-off .hero-scene { animation-play-state: paused; }
@keyframes drift {
  from { transform: scale(1.08) translateX(-1.6%); }
  to   { transform: scale(1.08) translateX(1.6%); }
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: .22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-grid {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr) auto;
  grid-template-areas: "side copy phone";
  gap: 36px;
  align-items: start;
}
.hero-side { grid-area: side; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; align-self: stretch; padding: 22px 0 156px; }
.hero-copy { grid-area: copy; padding-top: 6px; container-type: inline-size; }
.hero-phone { grid-area: phone; position: relative; z-index: 3; width: clamp(286px, 24vw, 348px); margin-bottom: -420px; container-type: inline-size; }

.hero-title {
  /* Sized to the column so the longest word („Документите“) always fits */
  font-size: clamp(42px, 17.2cqi, 108px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -0.05em;
}
.hero-title .line { display: block; overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-lede { margin-top: 26px; max-width: 30ch; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.45; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 34px; }

/* Intro sequence (added after fonts load) */
.js .hero-intro { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.js .hero-title .hero-intro { transform: translateY(105%); filter: none; }
.is-loaded .hero-intro,
.is-loaded .hero-title .hero-intro {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out), filter 800ms var(--ease-out);
  transition-delay: calc(var(--i) * 80ms + 120ms);
}
.js .phone { opacity: 0; transform: translateY(70px) scale(.98); }
.is-loaded .phone {
  opacity: 1;
  transform: none;
  transition: opacity 900ms var(--ease-out), transform 1300ms var(--ease-out);
  transition-delay: 320ms;
}

/* Segmented control (vertical on desktop, horizontal below) */
.seg { display: flex; flex-direction: column; gap: 12px; }
.seg-label { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-left: 4px; }
.seg-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 0 0 1px rgba(12, 31, 20, .08), 0 8px 24px -16px rgba(6, 24, 13, .25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.seg-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  text-align: left;
  transition: transform 160ms var(--ease-out);
}
.seg-btn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; }
button.seg-btn:active { transform: scale(.97); }
.seg-overlay {
  position: absolute;
  inset: 4px;
  display: flex;
  flex-direction: inherit;
  gap: inherit;
  border-radius: 22px;
  background: linear-gradient(180deg, #1D3D2A 0%, #0A2416 100%);
  pointer-events: none;
  clip-path: inset(0 0 100% 0 round 999px);
  transition: clip-path 420ms var(--ease-out);
}
.seg-overlay .seg-btn { color: #fff; }
.seg-overlay .seg-btn::before { background: var(--gold); opacity: 1; }

.trust { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.trust-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--green-800);
  background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 1px rgba(12, 31, 20, .08);
}
.trust-icon svg { width: 22px; height: 22px; }

/* Hero card (white panel under the hero, phone overlaps its right side) */
.hero-card {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  padding: 44px 48px;
  padding-right: calc(46% + 40px);
  min-height: 440px;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(12, 31, 20, .04), 0 30px 60px -40px rgba(6, 24, 13, .25);
}
.hero-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: 44%;
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 60% at 70% 20%, rgba(218, 169, 80, .35), transparent 70%),
    radial-gradient(70% 70% at 20% 90%, rgba(42, 107, 68, .45), transparent 70%),
    linear-gradient(160deg, #E8F0E8, #F4EBD7);
}
.hero-card-main p { margin-top: 14px; font-size: 19px; line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.hero-card-points { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.hero-card-points li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; font-size: 15px; line-height: 1.35; }
.hero-card-points strong { grid-column: 2; font-size: 16px; }
.hero-card-points li > span:last-child { grid-column: 2; color: var(--muted); }
.pt-icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-100); color: var(--green-800); }
.pt-icon svg { width: 20px; height: 20px; }

/* ---------- Phone mockup (all sizes in cqw of .hero-phone) ---------- */
.phone { position: relative; width: 100%; aspect-ratio: 9 / 19.2; }
.phone-btn { position: absolute; width: 1.1cqw; border-radius: 2px; background: #1a1f1c; }
.phone-btn--a { left: -0.8cqw; top: 22%; height: 8cqw; }
.phone-btn--b { left: -0.8cqw; top: 30%; height: 14cqw; }
.phone-btn--c { right: -0.8cqw; top: 27%; height: 20cqw; }
.phone-frame {
  position: absolute;
  inset: 0;
  padding: 3.1cqw;
  border-radius: 16.5cqw;
  background: linear-gradient(145deg, #2b312d, #0c0f0d 40%, #1d221f);
  box-shadow:
    inset 0 0 0 0.6cqw #3a413c,
    inset 0 0 0 1.4cqw #0b0d0c,
    0 50px 90px -40px rgba(6, 24, 13, .55),
    0 24px 40px -24px rgba(6, 24, 13, .45);
}
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 13.6cqw;
  color: var(--ink);
  background:
    radial-gradient(120% 50% at 100% 0%, rgba(218, 169, 80, .32), transparent 60%),
    radial-gradient(90% 40% at 0% 15%, rgba(126, 178, 140, .35), transparent 60%),
    linear-gradient(180deg, #EEF3EC 0%, #F5EFE2 46%, #F2F4EF 100%);
}
.island { position: absolute; z-index: 10; top: 2.8cqw; left: 50%; width: 29cqw; height: 8.4cqw; border-radius: 99px; background: #050605; translate: -50% 0; }
.s-status { position: relative; z-index: 7; display: flex; justify-content: space-between; align-items: center; height: 14cqw; padding: 1.6cqw 8.5cqw 0; font-size: 4.1cqw; font-weight: 600; }
.s-sys { display: flex; gap: 1cqw; align-items: flex-end; }
.s-sys i { width: 1.2cqw; border-radius: 1px; background: var(--ink); }
.s-sys i:nth-child(1) { height: 1.6cqw; }
.s-sys i:nth-child(2) { height: 2.4cqw; }
.s-sys i:nth-child(3) { height: 3.2cqw; }

.s-ui {
  position: absolute;
  inset: 14cqw 0 0;
  padding: 2cqw 5.6cqw 0;
  opacity: 0;
  filter: blur(6px);
  transform: scale(.985);
  transition: opacity 380ms var(--ease-out), filter 380ms var(--ease-out), transform 500ms var(--ease-out);
  pointer-events: none;
}
[data-niche="kantori"] .s-ui[data-screen="kantori"],
[data-niche="krediti"] .s-ui[data-screen="krediti"] { opacity: 1; filter: none; transform: none; }

.s-head { display: grid; grid-template-columns: 11cqw 1fr 11cqw; align-items: center; gap: 3cqw; }
.s-avatar { display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 50%; font-size: 4.6cqw; font-weight: 600; color: #fff; background: linear-gradient(140deg, var(--green-500), var(--green-900)); box-shadow: 0 0 0 0.8cqw rgba(255, 255, 255, .7); }
.s-avatar--gold { background: linear-gradient(140deg, #E2BC72, var(--gold-600)); }
.s-hello { display: flex; flex-direction: column; line-height: 1.15; }
.s-hello small { font-size: 3.3cqw; color: var(--muted); }
.s-hello strong { font-size: 4.6cqw; }
.s-bell { position: relative; display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.s-bell svg { width: 5cqw; height: 5cqw; }
.s-bell i { position: absolute; top: 2.6cqw; right: 2.8cqw; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0.6cqw #fff; }

.s-label { margin-top: 6.5cqw; font-size: 3cqw; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.s-big { display: flex; align-items: baseline; gap: 2cqw; margin-top: 1.4cqw; }
.s-big .odo { font-size: 15.5cqw; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.s-of { font-size: 4.2cqw; color: var(--muted); }
.s-progress { height: 1.6cqw; margin-top: 3.2cqw; border-radius: 99px; overflow: hidden; background: rgba(12, 31, 20, .08); }
.s-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-600), var(--green-500)); transform-origin: left; transform: scaleX(var(--p)); transition: transform 1000ms var(--ease-out); }

.s-cards { display: flex; gap: 3cqw; margin: 5.4cqw -5.6cqw 0 0; overflow: hidden; }
.s-card {
  position: relative;
  flex: 0 0 76cqw;
  height: 42cqw;
  padding: 4.4cqw;
  border-radius: 5.4cqw;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  color: #fff;
  background:
    radial-gradient(110% 120% at 100% 0%, #24573A 0%, rgba(10, 42, 22, 0) 60%),
    linear-gradient(160deg, #123A22 0%, #0A2A16 55%, #06180D 100%);
  box-shadow: inset 0 0 0 1px rgba(218, 169, 80, .32), 0 18px 30px -18px rgba(6, 24, 13, .6);
}
.s-card-k { font-size: 3cqw; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; opacity: .72; }
.s-card-v { font-size: 5.4cqw; font-weight: 600; letter-spacing: -0.01em; color: #F3DFB4; }
.s-card-b { grid-column: 1 / -1; align-self: end; font-size: 3.6cqw; opacity: .9; }
.s-card-mark { position: absolute; right: 3.6cqw; bottom: 3.2cqw; width: 10cqw; height: 10cqw; }
.s-card--peek { flex-basis: 30cqw; background: linear-gradient(160deg, #3F7354, #2A5A3E); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

.s-actions { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5cqw; font-size: 3.1cqw; font-weight: 500; color: var(--ink-2); text-align: center; }
.s-actions span { display: flex; flex-direction: column; align-items: center; gap: 1.8cqw; }
.s-actions i { display: grid; place-items: center; width: 12cqw; height: 12cqw; border-radius: 50%; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px rgba(12, 31, 20, .06); }
.s-actions svg { width: 5cqw; height: 5cqw; }

.s-list { display: flex; flex-direction: column; gap: 2.2cqw; margin-top: 5.4cqw; }
.s-list li {
  display: grid;
  grid-template-columns: 9cqw minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.6cqw;
  padding: 2.8cqw;
  border-radius: 4.2cqw;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 1px 0 rgba(12, 31, 20, .04);
  transition: background-color 700ms ease;
}
.s-list li.is-flash { background: #EAF6EC; transition-duration: 120ms; }
.s-co { display: grid; place-items: center; width: 9cqw; height: 9cqw; border-radius: 50%; font-size: 2.9cqw; font-weight: 600; color: var(--green-800); background: var(--green-100); }
.s-co svg { width: 4.4cqw; height: 4.4cqw; }
.s-row { display: grid; grid-template-areas: "t" "s"; min-width: 0; line-height: 1.25; }
.s-row strong { grid-area: t; overflow: hidden; font-size: 3.5cqw; white-space: nowrap; text-overflow: ellipsis; }
.s-row .v { grid-area: s; overflow: hidden; font-size: 2.95cqw; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.pills { display: grid; justify-items: end; }
.pill { grid-area: 1 / 1; padding: 1.1cqw 2.6cqw; border-radius: 99px; font-size: 2.8cqw; font-weight: 600; white-space: nowrap; }
.pill--ok { color: var(--ok); background: var(--ok-bg); }
.pill--warn { color: var(--warn); background: var(--warn-bg); }
.pill--none { color: var(--none); background: var(--none-bg); }
.pill--sent { color: var(--sent); background: var(--sent-bg); }
.s-row .v, .pill { opacity: 0; filter: blur(3px); transform: scale(.94); transition: opacity 260ms var(--ease-out), filter 260ms var(--ease-out), transform 420ms var(--ease-out); }
.s-row .v { transform: translateY(2px); }
li[data-state="ok"] [data-v="ok"],
li[data-state="warn"] [data-v="warn"],
li[data-state="none"] [data-v="none"],
li[data-state="sent"] [data-v="sent"] { opacity: 1; filter: none; transform: none; }

.toast {
  position: absolute;
  z-index: 9;
  top: 13cqw;
  left: 3.4cqw;
  right: 3.4cqw;
  display: grid;
  grid-template-columns: 9.5cqw minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.6cqw;
  padding: 2.8cqw 3.2cqw;
  border-radius: 6cqw;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px -14px rgba(6, 24, 13, .45), inset 0 0 0 1px rgba(12, 31, 20, .05);
  opacity: 0;
  transform: translateY(-135%);
  transition: transform 300ms var(--ease-out), opacity 220ms ease;
}
.toast.is-shown { opacity: 1; transform: none; transition: transform 560ms var(--ease-drawer), opacity 300ms ease; }
.toast-icon { display: grid; place-items: center; width: 9.5cqw; height: 9.5cqw; border-radius: 2.6cqw; color: #F3DFB4; background: var(--green-900); }
.toast-icon svg { width: 4.8cqw; height: 4.8cqw; }
.toast-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; font-size: 3.2cqw; }
.toast-text strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.toast-text span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-2); }
.toast-time { align-self: start; font-size: 2.7cqw; color: var(--muted); }

.s-note { position: absolute; z-index: 2; left: 50%; bottom: 6.4cqw; translate: -50% 0; padding: 0.8cqw 3cqw; border-radius: 99px; font-size: 2.7cqw; color: var(--muted); background: rgba(255, 255, 255, .7); white-space: nowrap; }
.s-home { position: absolute; z-index: 2; left: 50%; bottom: 2.4cqw; width: 34cqw; height: 1.3cqw; translate: -50% 0; border-radius: 99px; background: var(--ink); }

/* Odometer */
.odo { display: inline-flex; height: 1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.odo-d { display: block; height: 1em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transform: translateY(calc(var(--n, 0) * -10%)); transition: transform 1200ms var(--ease-out); }
.odo-strip span { display: block; height: 1em; line-height: 1; text-align: center; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 36px; align-items: start; }
.problem-grid .eyebrow { margin-top: 14px; }
.problem-text { font-size: clamp(30px, 4.1vw, 54px); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; text-wrap: pretty; }
.js .words .w { opacity: .16; }
.words .w { transition: opacity 120ms linear; }

.problem-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: clamp(56px, 8vw, 96px);
  padding: 18px;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.problem-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 32px;
  border-radius: var(--r-lg);
  color: #fff;
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(218, 169, 80, .28), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(60, 138, 90, .35), transparent 60%),
    linear-gradient(160deg, #123A22, #06180D);
}
.cal { width: min(100%, 330px); }
.cal-month { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 14px; }
.cal-grid span, .cal-grid b { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; font-size: 15px; background: rgba(255, 255, 255, .06); }
.cal-grid b { position: relative; color: var(--green-950); background: var(--gold); font-weight: 700; }
.cal-grid b::after { content: ""; position: absolute; inset: -5px; border-radius: 15px; box-shadow: 0 0 0 1.5px rgba(218, 169, 80, .7); opacity: 0; transform: scale(.85); }
.problem-card.is-in .cal-grid b::after { animation: ring 1600ms var(--ease-out) 700ms 2 both; }
@keyframes ring {
  0% { opacity: 0; transform: scale(.85); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.35); }
}
.cal-note { display: block; margin-top: 16px; font-size: 14px; opacity: .65; }

.chat-stack { display: flex; flex-direction: column; gap: 10px; width: min(100%, 320px); }
.bubble { max-width: 85%; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.35; }
.bubble--in { align-self: flex-start; color: var(--ink); background: #fff; border-bottom-left-radius: 6px; }
.bubble--out { align-self: flex-end; color: var(--green-950); background: #F3DFB4; border-bottom-right-radius: 6px; }
.js .chat-stack .bubble { opacity: 0; transform: translateY(10px) scale(.97); }
.problem-card.is-in .chat-stack .bubble { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.problem-card.is-in .chat-stack .bubble:nth-child(2) { transition-delay: 450ms; }
.problem-card.is-in .chat-stack .bubble:nth-child(3) { transition-delay: 900ms; }

.problem-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 24px 28px 24px 8px; }
.problem-lead { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.problem-num { font-size: clamp(76px, 10vw, 148px); font-weight: 500; line-height: .9; letter-spacing: -0.055em; color: var(--green-900); }
.problem-body .muted { max-width: 38ch; margin-bottom: 12px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step { padding: 14px 14px 30px; border-radius: 28px; background: var(--surface); }
.step-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 310px;
  padding: 22px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(160deg, #E4F0E7, #CFE3D5);
}
.step-art--dark { background: radial-gradient(70% 60% at 85% 10%, rgba(218, 169, 80, .25), transparent 60%), linear-gradient(160deg, #143F26, #07190E); }
.step-art--gold { background: radial-gradient(80% 70% at 0% 100%, rgba(255, 255, 255, .7), transparent 70%), linear-gradient(160deg, #F7EDD6, #EDD9AC); }
.step-n { display: block; margin: 24px 14px 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.step h3 { margin: 0 14px; font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.step p { margin: 10px 14px 0; color: var(--muted); }

.mini-upload, .mini-form, .mini-check, .mini-remind, .mini-status {
  width: min(100%, 250px);
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 40px -24px rgba(6, 24, 13, .5);
  font-size: 13px;
}
.mu-title { display: block; font-size: 15px; font-weight: 600; }
.mu-sub { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.mu-file { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 9px 10px 11px; overflow: hidden; border-radius: 10px; background: #F3F5F2; font-size: 12.5px; }
.mu-file svg { flex: none; width: 15px; height: 15px; color: var(--green-600); }
.mu-file i { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--green-500); transform-origin: left; transform: scaleX(0); }
.step.is-in .mu-file i { transform: scaleX(1); transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--d) * 260ms + 400ms); }
.mu-btn { display: block; margin-top: 12px; padding: 9px; border-radius: 999px; text-align: center; font-size: 12.5px; font-weight: 500; color: #fff; background: var(--green-900); }
.mf-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 10px; border-radius: 10px; background: #F3F5F2; }
.mf-row small { color: var(--muted); font-size: 12px; }
.mf-row b { font-size: 12.5px; }

.mini-check li { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mini-check li:last-child { border-bottom: 0; }
.mini-check li > i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--green-600); }
.mini-check li > i svg { width: 13px; height: 13px; stroke-width: 2.4; }
.mini-check li.is-miss > i { background: none; box-shadow: inset 0 0 0 1.5px var(--warn); border-radius: 50%; }
.mini-check li b { margin-left: auto; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; color: var(--warn); background: var(--warn-bg); }
.js .mini-check li { opacity: 0; transform: translateX(-8px); }
.step.is-in .mini-check li { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--d) * 120ms + 350ms); }

.mr-days { display: flex; gap: 6px; }
.mr-days b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: 13px; background: #F3F5F2; color: var(--muted); }
.mr-days b.on { color: #fff; background: var(--green-900); }
.mini-remind .bubble { display: block; max-width: none; margin-top: 12px; font-size: 13px; }
.mr-meta { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.mr-meta svg { width: 15px; height: 15px; }

.mini-status { position: relative; display: flex; flex-direction: column; gap: 12px; padding-left: 20px; }
.mini-status li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--muted); }
.mini-status li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(12, 31, 20, .25); background: #fff; }
.mini-status li.done { color: var(--ink); }
.mini-status li.done::before { background: var(--green-600); box-shadow: none; }
.mini-status li.now { color: var(--ink); font-weight: 600; }
.mini-status li.now::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(218, 169, 80, .25); }

/* ---------- Measure ---------- */
.measure { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; margin-top: 56px; }
.chart-card { padding: 28px; border-radius: 28px; background: var(--surface); }
.chart-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
.chart-title { font-size: 18px; font-weight: 600; }
.legend { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.lg { width: 18px; height: 3px; border-radius: 3px; }
.lg--base { background: repeating-linear-gradient(90deg, #AEB7B1 0 5px, transparent 5px 8px); }
.lg--q { margin-left: 10px; background: var(--green-600); }
.chart { width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.chart-grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 6; }
.chart-area { fill: rgba(60, 138, 90, .09); stroke: none; opacity: 0; transition: opacity 900ms ease 900ms; }
.chart-line { stroke-width: 3; }
.chart-line--base { stroke: #B3BCB6; stroke-dasharray: .012 .014; opacity: 0; transition: opacity 700ms ease 200ms; }
.chart-line--q { stroke: var(--green-600); stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart-dot { fill: #fff; stroke: var(--green-600); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.5); }
.chart-card.is-in .chart-area { opacity: 1; }
.chart-card.is-in .chart-line--base { opacity: 1; }
.chart-card.is-in .chart-line--q { stroke-dashoffset: 0; transition: stroke-dashoffset 1700ms var(--ease-in-out) 300ms; }
.chart-card.is-in .chart-dot { opacity: 1; transform: none; transition: opacity 300ms ease 1850ms, transform 600ms var(--ease-out) 1850ms; }
.chart-x span { display: flex; justify-content: space-between; margin-top: 10px; padding-left: 6.5%; font-size: 13px; color: var(--muted); }
.chart-x b { font-weight: 500; }
.chart-note { display: block; margin-top: 18px; font-size: 13px; color: var(--muted); }
.metrics { display: flex; flex-direction: column; gap: 12px; }
.metric { flex: 1; padding: 24px; border-radius: 24px; background: var(--surface); }
.metric-n { font-size: 14px; font-weight: 500; color: var(--muted); }
.metric strong { display: block; margin: 8px 0 6px; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.metric .muted { font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 56px auto 0; }
.price-card { display: flex; flex-direction: column; align-items: flex-start; padding: 36px; border-radius: var(--r-xl); background: var(--surface); }
.badge { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--gold-600); background: var(--gold-100); }
.price { margin-top: 26px; }
.price b { display: block; font-size: clamp(56px, 6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.price small { display: block; margin-top: 8px; font-size: 17px; color: var(--muted); }
.price-card > .muted { margin-top: 14px; font-size: 15px; }
.ticks { display: grid; gap: 12px; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; }
.ticks li { position: relative; padding-left: 32px; font-size: 16px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok-bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6B3F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12.5 4 4 8-9'/></svg>") center / 14px no-repeat;
}
.price-card .btn { margin-top: auto; }
.guarantee {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: var(--r-xl);
  color: #EAF0EA;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(218, 169, 80, .25), transparent 60%),
    linear-gradient(165deg, #133D25, #06180D);
}
.g-steps { display: grid; gap: 26px; margin-top: 30px; }
.g-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.g-steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 14px; color: var(--green-950); background: var(--gold); }
.g-steps strong { display: block; margin-bottom: 4px; font-size: 19px; color: #fff; }
.g-steps span { color: rgba(234, 240, 234, .72); }
.g-steps span span { color: inherit; }
.g-steps { margin-bottom: 32px; }
.g-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; color: rgba(234, 240, 234, .7); }

/* ---------- Security ---------- */
.security {
  margin: 0 clamp(8px, 1.4vw, 20px);
  padding: clamp(84px, 10vw, 132px) 0;
  border-radius: 40px;
  color: #EAF0EA;
  background:
    radial-gradient(50% 40% at 90% 0%, rgba(218, 169, 80, .18), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(60, 138, 90, .25), transparent 70%),
    var(--green-950);
}
.security .h2 { color: #fff; }
.security .section-head > p { color: rgba(234, 240, 234, .7); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 64px; }
.sec-grid li { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sec-grid svg { width: 28px; height: 28px; color: var(--gold); }
.sec-grid strong { display: block; margin: 18px 0 8px; font-size: 19px; color: #fff; }
.sec-grid span { color: rgba(234, 240, 234, .68); }

/* ---------- E-invoicing ---------- */
.einv-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, #FBF5E7, #FFFFFF 60%);
  box-shadow: inset 0 0 0 1px rgba(169, 120, 31, .14);
}
.einv-copy .muted { margin: 18px 0 22px; }
.timeline { position: relative; display: grid; gap: 22px; align-content: center; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1.5px; background: rgba(169, 120, 31, .3); }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #FBF5E7; }
.timeline b { font-size: 15px; color: var(--gold-600); }
.timeline span { font-size: 17px; }
.timeline .note::before { background: #fff; box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 4px #fff; }
.timeline .note span { font-size: 14px; color: var(--muted); }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 60% at 70% 25%, rgba(218, 169, 80, .3), transparent 70%),
    radial-gradient(70% 70% at 20% 90%, rgba(60, 138, 90, .28), transparent 70%),
    linear-gradient(160deg, #EAF2EC, #F6EEDC);
}
.founder-art img { width: 52%; height: auto; filter: drop-shadow(0 30px 40px rgba(6, 24, 13, .25)); }
.founder-copy p { margin-top: 20px; font-size: 19px; max-width: 46ch; }
.founder-copy p.muted { font-size: 16px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head .muted { margin-top: 18px; max-width: 34ch; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.faq-item button i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform 300ms var(--ease-out), background-color 200ms ease; }
.faq-item button i svg { width: 16px; height: 16px; }
.faq-item.is-open button i { transform: rotate(45deg); background: var(--green-100); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 52px 26px 0; color: var(--muted); opacity: 0; transition: opacity 200ms ease; }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-item.is-open .faq-panel p { opacity: 1; transition-delay: 80ms; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  margin: clamp(40px, 6vw, 80px) clamp(8px, 1.4vw, 20px) 0;
  padding: clamp(96px, 12vw, 160px) 0;
  overflow: hidden;
  border-radius: 40px;
  color: #EAF0EA;
  text-align: center;
  background: var(--green-950);
}
.cta-bg {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(40% 35% at 50% 100%, rgba(218, 169, 80, .35), transparent 70%),
    radial-gradient(40% 40% at 15% 80%, rgba(60, 138, 90, .45), transparent 70%),
    radial-gradient(40% 40% at 85% 75%, rgba(42, 107, 68, .5), transparent 70%);
  filter: blur(20px);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-title { margin-top: 20px; font-size: clamp(40px, 6vw, 80px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; color: #fff; text-wrap: balance; }
.cta-inner > p { max-width: 52ch; margin-top: 24px; font-size: 19px; color: rgba(234, 240, 234, .75); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.cta-actions svg { width: 18px; height: 18px; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; font-size: 16px; color: rgba(234, 240, 234, .7); }
.cta-contacts a { color: #fff; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand .muted { margin-top: 16px; max-width: 26ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.footer-col > span:first-child { margin-bottom: 4px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-col a { transition: color 200ms ease; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- Text pages (privacy) ---------- */
.prose { max-width: 720px; padding: 140px 0 40px; }
.prose .h2 { margin-bottom: 8px; }
.prose h2:not(.h2) { margin: 40px 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.prose p { margin-top: 12px; color: var(--ink-2); }
.prose a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "side phone" "copy phone";
    gap: 28px 40px;
  }
  .hero-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding: 0; }
  .seg { flex-direction: row; align-items: center; }
  .seg-label { display: none; }
  .seg-track, .seg-overlay { flex-direction: row; }
  .seg-track { border-radius: 999px; }
  .seg-btn { padding: 0 16px; font-size: 14.5px; }
  .hero-side .trust { display: none; }
  .hero-phone { margin-bottom: -300px; }
  .hero-card { padding-right: calc(46% + 24px); }
  .problem-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .measure, .pricing { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .einv-card, .founder-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section-head.split { grid-template-columns: 1fr; align-items: start; }
  .section-head.split > p { justify-self: start; }
  .founder-art { max-width: 420px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 66px; }
  .brand-word { height: 20px; }
  .hero { padding-top: 96px; border-radius: 0 0 28px 28px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "side" "copy" "phone"; gap: 22px; }
  .hero-side { display: block; }
  .seg, .seg-track { width: 100%; }
  .seg-btn { flex: 1; justify-content: center; padding: 0 10px; font-size: 13.5px; }
  .seg-btn::before { display: none; }
  .hero-lede { margin-top: 18px; }
  .hero-cta { margin-top: 26px; }
  .hero-phone { justify-self: center; width: min(310px, 80vw); margin: 18px 0 -150px; }
  .hero-card { margin-top: 0; padding: 180px 22px 26px; min-height: 0; }
  .hero-card::after { display: none; }
  .problem-card { grid-template-columns: 1fr; padding: 12px; }
  .problem-visual { min-height: 300px; padding: 24px; }
  .problem-body { padding: 8px 12px 20px; }
  .steps { margin-top: 40px; }
  .step-art { height: 300px; }
  .chart-card, .price-card, .guarantee { padding: 24px; }
  .sec-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .security, .cta { border-radius: 28px; }
  .faq-item button { font-size: 17px; padding: 20px 0; }
  .faq-panel p { padding-right: 0; }
  .footer-bottom { flex-direction: column; }
}

/* =========================================================
   Reduced motion: keep fades, drop movement and loops
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scene { animation: none; }
  .js .reveal, .js .hero-intro, .js .phone, .js .hero-title .hero-intro,
  .js .mini-check li, .js .chat-stack .bubble { transform: none !important; filter: none !important; }
  .toast, .toast.is-shown { transform: none; }
  .s-ui { transform: none; filter: none; }
  .odo-strip { transition-duration: 1ms; }
  .s-progress i { transition-duration: 1ms; }
  .chart-card.is-in .chart-line--q { transition-duration: 1ms; }
  .problem-card.is-in .cal-grid b::after { animation: none; }
}

/* ---------- Only accounting firms for now: no "За кого е" switch ----------
   The hero's side column keeps only the EU/GDPR note, at the bottom as before. Where that note is
   hidden (1100px and below) the column goes too, so the headline does not sit under an empty row. */
.hero-side .trust { margin-top: auto; }
@media (max-width: 1100px) {
  .hero-side { display: none; }
  .hero-grid { grid-template-areas: "copy phone"; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-areas: "copy" "phone"; }
}

/* ---------- The pilot video, at the end of "Как работи" ----------
   A card like the steps. It starts on a click, with sound; until then the poster and a play pill
   (gold, like the clover's fifth leaf). Without JS the video simply shows its own controls. */
.film { max-width: 1040px; margin: 20px auto 0; padding: 14px; border-radius: 28px; background: var(--surface); }
.film-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; padding: 12px 14px 18px; }
.film-head h3 { font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.film-head p { font-size: 15.5px; }
.film-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.film.is-square .film-frame { aspect-ratio: 1; }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play { display: none; }
.js .film-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(14px, 2.4vw, 26px);
  background: linear-gradient(180deg, rgba(6, 24, 13, 0) 58%, rgba(6, 24, 13, .14));
  cursor: pointer;
  transition: opacity 240ms var(--ease-out);
}
.film.is-playing .film-play { opacity: 0; pointer-events: none; }
.film-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 22px 8px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #1D3D2A 0%, #0A2416 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 14px 30px -12px rgba(6, 24, 13, .6);
  transition: transform 180ms var(--ease-out);
}
.film-play-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); transition: transform 200ms var(--ease-out); }
.film-play-icon svg { width: 22px; height: 22px; margin-left: 2px; fill: var(--green-950); stroke: none; }
.film-play-label { display: grid; font-size: 17px; font-weight: 600; line-height: 1.15; text-align: left; }
.film-play-label em { font-style: normal; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .72); }
.film-play:active .film-pill { transform: scale(.97); }
.film-play:focus-visible { outline: none; }
.film-play:focus-visible .film-pill { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .film-play:hover .film-pill { transform: scale(1.03); }
  .film-play:hover .film-play-icon { transform: scale(1.06); }
}
@media (max-width: 640px) {
  .film { padding: 10px; border-radius: 24px; }
  .film-head { padding: 8px 8px 14px; }
  .film-head h3 { font-size: 21px; }
  .film-frame { border-radius: 16px; }
  .film-pill { gap: 12px; padding: 6px 18px 6px 6px; }
  .film-play-icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-pill, .film-play-icon, .js .film-play { transition: none; }
}
