/* Tender Signal, site7. Токены совпадают с site6/DESIGN.md. */

:root {
  --ink: #0F0E0C;
  --seal: #C8452B;
  --ivory: #EDE7DB;
  --paper: #F3EEE5;
  --paper-ink: #1A1814;
  --go: #3F9C6B;

  --ink-2: color-mix(in oklab, var(--ink) 92%, var(--seal));
  --ink-3: color-mix(in oklab, var(--ink) 84%, var(--ivory));
  --ivory-2: color-mix(in oklab, var(--ivory) 66%, var(--ink));
  --ivory-3: color-mix(in oklab, var(--ivory) 54%, var(--ink));
  --line: color-mix(in oklab, var(--ivory) 12%, transparent);
  --line-strong: color-mix(in oklab, var(--ivory) 22%, transparent);
  --seal-bright: color-mix(in oklch, var(--seal) 78%, white);
  --seal-deep: color-mix(in oklch, var(--seal) 70%, black);
  --seal-soft: color-mix(in oklab, var(--seal) 18%, transparent);
  --go-bright: color-mix(in oklch, var(--go) 80%, white);
  --go-deep: color-mix(in oklch, var(--go) 68%, black);
  --go-soft: color-mix(in oklab, var(--go) 18%, transparent);
  --paper-2: color-mix(in oklab, var(--paper) 93%, var(--paper-ink));
  --paper-3: color-mix(in oklab, var(--paper) 84%, var(--paper-ink));
  --paper-line: color-mix(in oklab, var(--paper-ink) 14%, transparent);
  --paper-muted: color-mix(in oklab, var(--paper-ink) 66%, var(--paper));
  --paper-white: #FBF9F4;

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-text: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --step--1: clamp(0.85rem, 0.18vw + 0.8rem, 0.95rem);
  --step-0: clamp(1.0625rem, 0.3vw + 0.97rem, 1.1875rem);
  --step-1: clamp(1.25rem, 0.5vw + 1.1rem, 1.5rem);
  --step-2: clamp(1.625rem, 1.2vw + 1.25rem, 2.25rem);
  --step-3: clamp(2.125rem, 2.4vw + 1.4rem, 3.4rem);
  --step-4: clamp(2.75rem, 3.6vw + 1.6rem, 4.5rem);

  --ease-out: cubic-bezier(0.625, 0.05, 0, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5.5vw, 80px);
  --content: 1280px;
  --section: clamp(80px, 10vh, 140px);
  --top-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--font-text); font-size: var(--step-0); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: oldstyle-nums proportional-nums; overflow-x: clip;
}
::selection { background: var(--seal); color: var(--ivory); }
.paper ::selection { background: var(--paper-ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--seal-bright); outline-offset: 3px; border-radius: 2px; }
.paper :focus-visible { outline-color: var(--seal); }
section[id] { scroll-margin-top: calc(var(--top-h) + 24px); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.02; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--seal-bright); }
.paper h1 em, .paper h2 em { color: var(--seal); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.08; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
svg { display: block; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums lining-nums slashed-zero; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ivory); color: var(--ink); border-radius: 4px; }
.skip:focus { top: 16px; }
.grain { position: fixed; inset: -20%; z-index: 60; pointer-events: none; opacity: 0.045; mix-blend-mode: soft-light;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Кнопки и ссылки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 6px; font-family: var(--font-text); font-weight: 500; font-size: var(--step-0); line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 120ms var(--ease-soft), background-color 180ms, border-color 180ms, box-shadow 180ms; }
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
.btn--seal { background: var(--seal); color: #FFF7F0; box-shadow: inset 0 1px 0 color-mix(in oklab, white 22%, transparent), 0 8px 24px -12px color-mix(in oklab, var(--seal) 70%, transparent); }
.btn--seal:hover { background: var(--seal-deep); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--step--1); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: var(--step-1); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--ivory); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color 180ms, color 180ms; }
.link-arrow::after { content: ""; width: 14px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform 200ms var(--ease-soft); }
.link-arrow:hover { border-color: var(--seal-bright); color: var(--seal-bright); }
.link-arrow:hover::after { transform: translateX(4px); }
.paper .link-arrow { color: var(--paper-ink); border-color: var(--paper-line); }
.paper .link-arrow:hover { color: var(--seal); border-color: var(--seal); }

/* Шапка */
.top { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: var(--top-h); padding: 12px var(--gutter);
  background: color-mix(in oklab, var(--ink) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.brand__seal { color: var(--seal-bright); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; white-space: nowrap; }
.menu { display: none; position: relative; }
.menu__btn { list-style: none; display: grid; gap: 5px; width: 44px; height: 44px; align-content: center; justify-items: center; border: 1px solid var(--line-strong); border-radius: 6px; cursor: pointer; }
.menu__btn::-webkit-details-marker { display: none; }
.menu__btn i { display: block; width: 18px; height: 2px; background: var(--ivory); border-radius: 1px; }
.menu__list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; display: grid; background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9); }
.menu__list a { padding: 12px 14px; text-decoration: none; color: var(--ivory); border-radius: 6px; font-weight: 500; font-size: var(--step-0); }
.menu__list a:hover { background: color-mix(in oklab, var(--ivory) 8%, transparent); }
.menu__list a:last-child { border-top: 1px solid var(--line); margin-top: 4px; }
.top__nav { display: flex; gap: 30px; }
.top__nav a { text-decoration: none; color: color-mix(in oklab, var(--ivory) 80%, var(--ink)); font-size: var(--step--1); font-weight: 500; transition: color 160ms; }
.top__nav a:hover { color: var(--ivory); }
.top__actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.top__login { text-decoration: none; font-size: var(--step--1); font-weight: 500; color: var(--ivory); }

/* Общие секции */
main > section, .foot { padding-inline: var(--gutter); }
main > section > *, .foot > * { max-width: var(--content); margin-inline: auto; }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper h2, .paper h3 { color: var(--paper-ink); }
.sec { padding-block: var(--section); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vh, 56px); }
.sec__head h2 { max-width: 20ch; }
.sec__sub { font-size: var(--step-0); color: var(--ivory-2); max-width: 32em; }
.paper .sec__sub { color: var(--paper-muted); }
.sec__note { font-size: var(--step--1); color: var(--ivory-3); }
.paper .sec__note { color: var(--paper-muted); }

/* Появление: скрываем только когда анимационный код готов (класс anim), один класс .in */
.anim [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.anim [data-reveal].in { opacity: 1; transform: none; }

/* Служебное */
.demo-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--seal-deep); background: var(--seal-soft); padding: 4px 9px; border-radius: 4px; line-height: 1.3; }
.demo-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: -8px 0 28px; font-size: var(--step--1); color: var(--paper-muted); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 10px; vertical-align: 2px; flex: none; }
.dot--go { background: var(--go); box-shadow: 0 0 0 4px var(--go-soft); }
.dot--seal { background: var(--seal); box-shadow: 0 0 0 4px var(--seal-soft); }
.match { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 28px; border-radius: 6px; font-family: var(--font-mono); font-weight: 500; font-size: 0.8125rem; background: color-mix(in oklab, var(--ivory) 10%, transparent); color: var(--ivory); }
.match--go { background: var(--go-soft); color: var(--go-bright); }
.seal-stamp { display: inline-block; padding: 6px 14px; border: 2px solid var(--seal); color: var(--seal); border-radius: 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.06em; transform: rotate(-5deg); outline: 1px solid var(--seal); outline-offset: 3px; white-space: nowrap;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 -1.4 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 200px 80px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 -1.4 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 200px 80px; }
.seal-stamp--lg { font-size: 2rem; padding: 10px 22px; }
.src { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-family: var(--font-mono); font-size: 0.85rem; margin-top: 10px; }
.src__doc { color: var(--paper-muted); }
.src__ok { color: var(--go-deep); }
.src__ok::before { content: ""; display: inline-block; width: 10px; height: 8px; margin-right: 6px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain; }
.callouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(32px, 5vw, 80px); margin-top: clamp(28px, 4vh, 44px); }
.callouts li { position: relative; padding-left: 18px; font-size: 0.95rem; line-height: 1.45; color: var(--paper-muted); max-width: 34em; }
.callouts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--seal); transform: rotate(45deg); }

/* 01 Герой */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-rows: auto auto; grid-template-areas: "head product" "act product"; column-gap: clamp(32px, 5vw, 72px); row-gap: 28px; align-items: center; align-content: center; padding-top: clamp(40px, 7vh, 88px); padding-bottom: clamp(56px, 8vh, 104px); padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2)); min-height: calc(100vh - var(--top-h)); overflow: hidden; }
.hero > * { max-width: none; margin-inline: 0; min-width: 0; }
.hero__light { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 42%, color-mix(in oklab, var(--seal) 12%, transparent), transparent 70%),
    radial-gradient(45% 40% at 18% 18%, color-mix(in oklab, #C9A24E 7%, transparent), transparent 70%),
    radial-gradient(50% 60% at 55% 110%, color-mix(in oklab, var(--ivory) 4%, transparent), transparent 70%); }
.hero__head { grid-area: head; position: relative; z-index: 1; max-width: 600px; align-self: end; }
.hero__title { font-size: clamp(2.5rem, 3.4vw + 0.9rem, 4.1rem); line-height: 1; max-width: 17ch; }
.hero__lead { margin-top: clamp(18px, 3vh, 28px); font-size: var(--step-1); line-height: 1.45; color: var(--ivory-2); max-width: 28em; }
.hero__price { margin-top: 18px; font-size: var(--step-1); color: var(--ivory-2); }
.hero__price b { font-weight: 600; color: var(--ivory); font-variant-numeric: lining-nums; }
.hero__act { grid-area: act; position: relative; z-index: 1; align-self: start; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__terms { margin-top: 20px; display: flex; align-items: baseline; font-size: var(--step-0); color: var(--ivory-2); }
.hero__product { grid-area: product; position: relative; z-index: 1; justify-self: end; width: min(100%, 600px); }

.stack { position: relative; padding-top: 118px; }
.demo-tag--scene { position: absolute; top: 0; left: 0; color: var(--seal-bright); background: color-mix(in oklab, var(--seal) 26%, transparent); }
.stack__feed { position: absolute; top: 34px; left: 0; right: 48px; background: color-mix(in oklab, var(--ink-2) 92%, black); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; box-shadow: inset 0 1px 0 color-mix(in oklab, var(--ivory) 8%, transparent); }
.frow { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--ivory-2); }
.frow__t { font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow__s { white-space: nowrap; }

.card { position: relative; margin-left: 48px; background: var(--paper-white); color: var(--paper-ink); border-radius: 12px; padding: 20px 26px 22px; box-shadow: 0 50px 90px -40px rgba(0,0,0,0.9), 0 12px 30px -18px rgba(0,0,0,0.7), 0 1px 0 color-mix(in oklab, white 60%, transparent) inset; }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card__fit { font-size: 0.9rem; color: var(--paper-muted); }
.card__fit b { display: inline-block; padding: 3px 8px; margin-right: 8px; border-radius: 6px; background: var(--go-soft); color: var(--go-deep); font-weight: 500; }
.card__num { font-size: 0.78rem; color: var(--paper-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.08; margin-top: 14px; color: var(--paper-ink); }
.card__meta { margin-top: 8px; font-size: 0.82rem; color: var(--paper-muted); }
.card__label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--seal); }
.card__risk { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--paper-line); }
.card__quote { margin-top: 8px; font-size: 0.98rem; line-height: 1.45; }
.card__quote mark { background: var(--seal-soft); color: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 1px 3px; border-radius: 3px; }
.card__eco { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--paper-line); display: grid; gap: 7px; }
.card__eco > div { display: flex; justify-content: space-between; gap: 16px; font-size: 0.95rem; }
.card__eco dt { color: var(--paper-muted); }
.card__eco dd, .eco__rows dd { white-space: nowrap; }
.card__eco-total { font-weight: 500; }
.card__eco-total dt { color: var(--paper-ink); }
.card__eco-total dd { color: var(--seal); }
.card__foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--paper-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.card__verdict { font-size: 0.9rem; color: var(--paper-muted); }

/* 02 Разворот: две истории по три колонки */
.spread { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.1fr); gap: 28px clamp(28px, 4vw, 64px); align-items: start; }
.story { display: contents; }
.spread__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.spread__lines path { fill: none; stroke: var(--seal); stroke-width: 1.5; stroke-linecap: round; }
.spread__lines circle { fill: var(--paper); stroke: var(--seal); stroke-width: 1.5; }
.spread__colhead { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-muted); padding-bottom: 10px; border-bottom: 1px solid var(--paper-line); margin-bottom: -8px; }
.page { background: var(--paper-white); border: 1px solid var(--paper-line); border-radius: 4px; padding: 16px 18px 16px; box-shadow: 0 1px 2px rgba(26,24,20,0.08), 0 14px 30px -24px rgba(26,24,20,0.5); }
.page__name { font-size: 0.8rem; color: var(--paper-muted); letter-spacing: 0.04em; margin-bottom: 10px; }
.page__text i { display: block; height: 7px; border-radius: 3px; background: var(--paper-3); margin: 8px 0; }
.page__quote { font-size: 0.98rem; line-height: 1.45; padding: 8px 10px; margin: 8px -4px; border-left: 3px solid var(--seal); background: color-mix(in oklab, var(--seal) 10%, transparent); }
.risk { background: var(--paper-white); border: 1px solid var(--paper-line); border-left: 3px solid var(--paper-ink); border-radius: 6px; padding: 16px 18px 16px; }
.risk--money { border-left-color: var(--seal); }
.risk__kind { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-muted); }
.risk--money .risk__kind { color: var(--seal); }
.risk__text { margin-top: 8px; font-size: 1rem; line-height: 1.45; }
.eco { background: var(--paper-white); border: 1px solid var(--paper-line); border-radius: 6px; padding: 16px 18px 16px; }
.eco__head { font-weight: 500; }
.eco__head small { display: block; font-family: var(--font-mono); font-size: 0.78rem; color: var(--paper-muted); letter-spacing: 0.03em; margin-top: 3px; font-weight: 400; }
.eco__rows { margin-top: 12px; border-top: 1px solid var(--paper-line); }
.eco__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--paper-line); font-size: 0.92rem; }
.eco__rows dt { color: var(--paper-muted); }
.eco__hl dt, .eco__hl dd { color: var(--seal); }
.eco__total { font-weight: 500; }
.eco__total dt { color: var(--paper-ink); }
.eco__total dd { color: var(--seal); }
.eco__note { margin-top: 10px; font-size: 0.9rem; color: var(--paper-muted); }
.todo { border: 1px dashed color-mix(in oklab, var(--paper-ink) 40%, transparent); border-radius: 6px; padding: 16px 18px; }
.todo__kind { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-muted); }
.todo__text { margin-top: 8px; font-size: 1rem; line-height: 1.45; }
.verdict { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; margin-top: 8px; padding: 20px 24px; background: var(--paper-white); border: 1px solid var(--paper-line); border-radius: 8px; }
.verdict .seal-stamp { flex: none; margin: 4px 8px; }
.verdict__text { font-size: 1rem; color: var(--paper-ink); max-width: 46em; }
.spread__foot { display: flex; justify-content: flex-start; align-items: center; gap: 24px 32px; flex-wrap: wrap; margin-top: clamp(32px, 5vh, 48px); padding-top: 24px; border-top: 1px solid var(--paper-line); }

/* 03 Шаги по времени, две дорожки */
.lanes-sec { padding-top: 0; }
.lanes { position: relative; display: grid; grid-template-columns: 88px repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 44px 16px; align-items: stretch; }
.lane__name { grid-column: 1; align-self: center; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--paper-ink); }
.lane__name--you { grid-row: 1; color: var(--seal); }
.lane__name--svc { grid-row: 2; }
.node { grid-column: calc(var(--col) + 1); grid-row: var(--row); display: grid; gap: 6px; align-content: start; background: var(--paper-white); border: 1px solid var(--paper-line); border-radius: 8px; padding: 14px 15px; min-height: 104px; box-shadow: 0 1px 2px rgba(26,24,20,0.06); }
.node--you { border-color: color-mix(in oklab, var(--seal) 45%, transparent); background: color-mix(in oklab, var(--seal) 5%, var(--paper-white)); }
.node--decision { border-width: 2px; }
.node__who { display: none; }
.node__t { font-weight: 500; line-height: 1.25; }
.node__d { font-size: 0.8125rem; color: var(--paper-muted); line-height: 1.4; }
.node__time { margin-top: 2px; font-family: var(--font-mono); font-size: 0.875rem; color: var(--seal); line-height: 1.35; }
.lanes__arrows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.lanes__arrows path { fill: none; stroke: var(--paper-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.lanes__arrows path.you { stroke: var(--seal); opacity: 1; }
.lanes__arrows polygon { fill: var(--paper-ink); opacity: 0.7; }
.lanes__arrows polygon.you { fill: var(--seal); opacity: 1; }

/* 04 Цена */
.trial { display: flex; align-items: center; gap: 24px; padding: 20px 28px; border: 1px solid var(--line-strong); border-radius: 12px; background: color-mix(in oklab, var(--go) 7%, transparent); margin-bottom: 20px; }
.trial__n { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 0.9; color: var(--go-bright); }
.trial__t { font-size: var(--step-1); line-height: 1.3; }
.trial__t b { font-weight: 600; color: var(--go-bright); }
.trial__t span { display: block; margin-top: 6px; font-size: var(--step--1); color: var(--ivory-2); }
.plans { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 20px; align-items: start; }
.plan { border-radius: 14px; padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 18px; }
.plan--free { background: var(--ink-2); border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--ivory) 8%, transparent); }
.plan--paid { background: var(--paper); color: var(--paper-ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9); }
.plan__name { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-3); }
.plan--paid .plan__name { color: var(--paper-muted); }
.plan__price b { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; }
.plan__price span { display: block; margin-top: 6px; font-size: var(--step--1); color: var(--ivory-2); }
.plan--paid .plan__price span { color: var(--paper-muted); }
.plan__list { display: grid; gap: 12px; font-size: 0.98rem; color: var(--ivory); }
.plan__list li { position: relative; padding-left: 20px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--go); }
.plan__slots-name { font-weight: 500; margin-top: 4px; }
.slots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.slots li { height: 30px; border-radius: 5px; border: 1px solid color-mix(in oklab, var(--paper-ink) 35%, transparent); background: var(--paper-white); }
.slot-open { border-top: 1px solid var(--paper-line); padding-top: 14px; }
.slot-open__name { font-size: 0.9rem; color: var(--paper-muted); }
.slot-open__chain { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-top: 8px; font-weight: 500; font-size: 0.95rem; }
.slot-open__chain li { display: inline-flex; align-items: center; gap: 6px; }
.slot-open__chain li:not(:last-child)::after { content: ""; width: 14px; height: 10px; background: var(--paper-muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.slot-open__note { margin-top: 10px; font-size: 0.9rem; color: var(--paper-muted); line-height: 1.45; }
.plan--paid .btn { align-self: flex-start; margin-top: 6px; }
.terms { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.terms > div { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.terms dt { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-3); }
.terms dd { font-size: 0.95rem; color: var(--ivory-2); line-height: 1.45; }

/* 05 Проверка */
.check-sec { padding-top: 0; }
.check { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(36px, 5vh, 56px) clamp(24px, 4vw, 56px); border: 1px solid var(--line-strong); border-radius: 18px; background: var(--ink-2); }
.check__text h2 { font-size: var(--step-3); }
.check__text .sec__sub { margin-top: 16px; }
.check__form { margin-top: 28px; }
.check__label { display: block; font-size: var(--step--1); font-weight: 500; margin-bottom: 10px; color: var(--ivory-2); }
.check__field { display: flex; gap: 8px; padding: 6px; background: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; transition: border-color 160ms, box-shadow 160ms; }
.check__field:focus-within { border-color: var(--ivory-2); box-shadow: 0 0 0 4px var(--seal-soft); }
.check__field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font-family: var(--font-mono); font-size: 1.05rem; color: var(--ivory); font-variant-numeric: tabular-nums lining-nums; caret-color: var(--seal-bright); }
.check__field input::placeholder { color: var(--ivory-3); }
.check__field input:focus { outline: none; }
.check__sample { background: var(--paper-white); color: var(--paper-ink); border-radius: 12px; padding: 20px 24px 8px; box-shadow: 0 30px 60px -40px rgba(0,0,0,0.9); }
.check__num { margin-top: 12px; font-size: 0.82rem; color: var(--paper-muted); padding-bottom: 12px; border-bottom: 1px solid var(--paper-line); }
.kv > div { display: flex; justify-content: space-between; gap: 24px; padding: 11px 0; border-bottom: 1px solid var(--paper-line); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--paper-muted); font-size: var(--step--1); }
.kv dd { font-size: 0.9rem; text-align: right; }

/* 05a Вопросы и ответы */
.faq { max-width: 860px; margin-inline: 0; border-top: 1px solid var(--paper-line); }
.faq__item { border-bottom: 1px solid var(--paper-line); }
.faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 20px; padding: 18px 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 11px; height: 11px; justify-self: center; margin-top: -6px; border-right: 2px solid var(--seal); border-bottom: 2px solid var(--seal); transform: rotate(45deg); transition: transform 220ms var(--ease-soft), margin 220ms var(--ease-soft); }
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faq__item h3 { font-size: var(--step-1); line-height: 1.15; }
.faq__a { padding: 0 48px 22px 0; max-width: 40em; }
.faq__a p { font-size: var(--step-0); line-height: 1.55; color: var(--paper-ink); }
.faq__a p + p { margin-top: 10px; }

/* 06 Исполнитель и границы */
.maker-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); }
.maker-grid h2 { font-size: var(--step-3); margin-bottom: 16px; }
.maker p, .limits p { font-size: var(--step-0); line-height: 1.5; color: var(--paper-ink); max-width: 36em; }
.maker__mail { margin-top: 12px; font-weight: 500; }

/* 07 Призыв */
.final { text-align: center; max-width: 880px; }
.final h2 { font-size: var(--step-4); line-height: 1; }
.final .sec__sub { margin: 22px auto 0; }
.final__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; margin-top: 32px; }

/* Подвал */
.foot { border-top: 1px solid var(--line); padding-block: 32px 40px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px 48px; align-items: start; }
.foot__legal { font-size: var(--step--1); color: var(--ivory-2); max-width: 46em; }
.foot__nav { display: grid; gap: 8px; font-size: var(--step--1); justify-items: start; }
.foot__nav a { color: var(--ivory-2); }

/* Адаптив */
@media (max-width: 1200px) {
  /* Пятый пункт навигации не влезает до 1200 px и ломал бы строки соседей; остаётся в меню и подвале */
  .top__nav a[href="#faq"] { display: none; }
}
@media (max-width: 1100px) {
  .lanes { grid-template-columns: 64px repeat(5, minmax(0, 1fr)); gap: 40px 10px; }
  .node { padding: 12px 11px; }
  .lane__name { font-size: var(--step-0); }
}
@media (max-width: 1024px) {
  :root { --top-h: 64px; }
  .top { grid-template-columns: 1fr auto; gap: 14px; padding-block: 10px; }
  .top__nav, .top__login { display: none; }
  .top__actions { gap: 10px; }
  .menu { display: block; }
}
@media (max-width: 900px) {
  .card { display: flex; flex-direction: column; }
  .card__head { order: 0; }
  .card__title { order: 1; }
  .card__eco { order: 2; margin-top: 14px; }
  .card__foot { order: 3; }
  .card__risk { order: 4; }
  .card__meta { order: 5; margin-top: 12px; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "head" "product" "act"; row-gap: 26px; min-height: 0; padding-top: 32px; }
  .hero__head { align-self: auto; }
  .hero__title { max-width: none; }
  .hero__lead { margin-top: 14px; }
  .hero__product { justify-self: stretch; width: 100%; }
  .stack { padding-top: 34px; }
  .stack__feed { display: none; }
  .card { margin-left: 0; padding: 18px 18px 20px; }
  .sec__head { grid-template-columns: 1fr; }
  .spread { grid-template-columns: 1fr; gap: 14px; }
  .spread__lines, .spread__colhead { display: none; }
  .story { display: grid; gap: 12px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--paper-line); }
  .verdict { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lanes { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
  .lane__name, .lanes__arrows { display: none; }
  .node { grid-column: auto; grid-row: auto; min-height: 0; grid-template-columns: 58px 1fr; column-gap: 12px; row-gap: 4px; }
  .node__who { display: block; grid-row: 1 / span 3; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-muted); padding-top: 3px; }
  .node--you .node__who { color: var(--seal); }
  .node__t, .node__d, .node__time { grid-column: 2; }
  .callouts, .terms, .foot__in, .maker-grid, .plans { grid-template-columns: 1fr; }
  .check { grid-template-columns: 1fr; padding: 28px 22px; }
  .check__field { flex-direction: column; }
  .check__field input { padding: 12px 10px; }
  .faq__a { padding-right: 0; }
  .trial { gap: 18px; padding: 18px 20px; }
  .demo-line { margin-top: 0; }
}
@media (max-width: 480px) {
  .top { gap: 10px; }
  .brand { gap: 8px; }
  .brand__name { font-size: 1.15rem; }
  .top__actions .btn--sm { padding: 0 12px; }
  .slots { gap: 4px; }
  .slots li { height: 24px; }
  .card__head { align-items: flex-start; }
  .final h2 { font-size: var(--step-3); }
}
@media (max-width: 360px) {
  .brand__name { display: none; }
}
/* Без JS стрелок нет: схема читается по времени, как на телефоне */
.no-js .lanes { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
.no-js .lane__name, .no-js .lanes__arrows { display: none; }
.no-js .node { grid-column: auto; grid-row: auto; min-height: 0; grid-template-columns: 64px 1fr; column-gap: 12px; row-gap: 4px; }
.no-js .node__who { display: block; grid-row: 1 / span 3; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-muted); padding-top: 3px; }
.no-js .node--you .node__who { color: var(--seal); }
.no-js .node__t, .no-js .node__d, .no-js .node__time { grid-column: 2; }
