/* Talox landing — «паспорт плавки»: документная эстетика металлоторговли.
   Холодная сталь, тонкие линейки, моно-штампы. Без JS. */

/* ---------- fonts (self-hosted, copied from @fontsource in the image) ---------- */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/unbounded-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/unbounded-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/unbounded-cyrillic-600-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/unbounded-latin-600-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-cyrillic-600-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --paper: #ffffff;
  --tint: #f3f6f9;
  --card: #ffffff;
  --ink: #1a2029;
  --muted: #66707d;
  --steel: #3d597c;
  --steel-dark: #2b3f57;
  --steel-ink: #1e2f44;
  --rust: #b06a28;
  --ok: #2e7d4f;
  --line: #e3e8ee;
  --line-soft: #edf1f5;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", var(--sans);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --w: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* моно-штамп: техническая метка документа */
.stamp {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }
.logo b { color: var(--steel); font-weight: 600; }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--ink); font-size: 15px; }
.top-nav a[aria-current="page"] { color: var(--steel); font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-solid { background: var(--steel); color: #fff; }
.btn-solid:hover { background: var(--steel-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel); }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-on-dark { background: #fff; color: var(--steel-ink); }
.btn-on-dark:hover { background: var(--paper); }
.top .btn { padding: 8px 16px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
}
.hero h1 em { font-style: normal; color: var(--steel); }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- паспорт разбора: фирменный элемент ---------- */
.pass {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 28px 70px -36px rgba(30, 47, 68, 0.35);
  overflow: hidden;
}
.pass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfd, #f4f6f8);
}
.pass-body { padding: 4px 18px 6px; }
.pass-row { padding: 16px 0; }
.pass-row + .pass-row { border-top: 1px dashed var(--line); }
.raw {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.tag i {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
  margin-right: 5px;
}
.tag-ok { border-color: color-mix(in srgb, var(--ok) 40%, white); background: color-mix(in srgb, var(--ok) 8%, white); color: var(--ok); }
.tag-review { border-color: color-mix(in srgb, var(--rust) 45%, white); background: color-mix(in srgb, var(--rust) 8%, white); color: var(--rust); }
.tag-price { color: var(--steel-dark); }

/* появление тегов строка за строкой */
@media (prefers-reduced-motion: no-preference) {
  .pass-row .tags .tag {
    opacity: 0;
    transform: translateY(4px);
    animation: tag-in 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  }
  .pass-row:nth-child(1) .tag { animation-delay: calc(0.5s + var(--n) * 0.14s); }
  .pass-row:nth-child(2) .tag { animation-delay: calc(1.7s + var(--n) * 0.14s); }
  .pass-row:nth-child(3) .tag { animation-delay: calc(2.9s + var(--n) * 0.14s); }
  @keyframes tag-in {
    to { opacity: 1; transform: none; }
  }
}

/* ---------- sections ---------- */
.sect { padding: 88px 0; }
.sect-line { border-top: 1px solid var(--line); }
.sect h2 {
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.25;
  margin: 14px 0 8px;
}
.sect .sub { color: var(--muted); max-width: 62ch; }

/* шаги: настоящая последовательность, потому и номера */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  counter-reset: step;
}
.step { border-top: 2px solid var(--steel); padding-top: 16px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: 0.12em;
}
.step h3 { font-size: 16.5px; font-weight: 600; margin: 8px 0 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* возможности */
.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.feat .stamp { color: var(--steel); }
.feat h3 { font-size: 16.5px; font-weight: 600; margin: 10px 0 6px; }
.feat p { font-size: 14.5px; color: var(--muted); }

/* тёмная полоса про честность разбора */
.band { background: var(--steel-ink); color: #e8edf3; padding: 64px 0; }
.band .stamp { color: #93a7bd; }
.band h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.3;
  max-width: 24ch;
  margin: 14px 0;
}
.band p { color: #b6c3d2; max-width: 58ch; }
.band-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.band-facts { display: grid; gap: 0; border-left: 1px solid #40536b; }
.band-fact { padding: 16px 0 16px 24px; }
.band-fact + .band-fact { border-top: 1px solid #40536b; }
.band-fact b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  margin-bottom: 3px;
}
.band-fact span { font-size: 14px; color: #b6c3d2; }

/* ---------- тарифы ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.plan-hot { border-color: var(--steel); box-shadow: 0 14px 36px -20px rgba(43, 63, 87, 0.45); }
.plan .stamp { margin-bottom: 12px; }
.plan-hot .stamp { color: var(--steel); }
.plan-name { font-family: var(--display); font-weight: 500; font-size: 19px; }
.plan-price { margin: 12px 0 4px; }
.plan-price b {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.plan-price span { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 16px 0 22px; flex: 1; }
.plan li {
  padding: 7px 0;
  font-size: 14.5px;
  border-top: 1px solid var(--line-soft);
}
.plan li b { font-family: var(--mono); font-weight: 500; }
.plan .btn { width: 100%; }

.addon {
  margin-top: 20px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.addon b { font-family: var(--mono); font-weight: 500; }
.addon span { color: var(--muted); font-size: 14.5px; }

/* сравнительная таблица (страница тарифов) */
.cmp-scroll { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 13px 18px; text-align: left; font-size: 14.5px; border-top: 1px solid var(--line-soft); }
.cmp thead th { border-top: none; background: #fbfcfd; font-weight: 600; }
.cmp thead th:not(:first-child) { font-family: var(--display); font-weight: 500; font-size: 14px; }
.cmp td:not(:first-child) { font-family: var(--mono); font-size: 13.5px; }
.cmp td:first-child { color: var(--muted); }
.cmp .hot { background: color-mix(in srgb, var(--steel) 4%, white); }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 10px; max-width: 780px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15.5px;
  padding: 15px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 12px;
  font-family: var(--mono);
  font-size: 17px;
  color: var(--steel);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--muted); font-size: 14.5px; max-width: 68ch; }

/* CTA-полоса */
.cta-band { background: var(--steel-dark); color: #fff; padding: 56px 0; }
.cta-band .in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.6vw, 26px); max-width: 26ch; }
.cta-band p { color: #b6c3d2; margin-top: 6px; font-size: 15px; }

/* ---------- footer ---------- */
footer { background: var(--steel-ink); color: #93a7bd; padding: 44px 0 36px; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot .logo { color: #fff; }
.foot-nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.foot-nav a { color: #c6d2df; font-size: 14.5px; }
.foot-req {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #33465e;
  font-size: 13px;
  line-height: 1.7;
}
.foot-req .stamp { color: #7c93ac; display: block; margin-bottom: 4px; }

/* ---------- документы: оферта, политика ---------- */
.doc { max-width: 780px; }
.doc h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  margin: 14px 0 6px;
}
.doc .doc-date { color: var(--muted); font-size: 14px; }
.doc h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  margin: 34px 0 10px;
}
.doc p, .doc li { font-size: 15px; color: #333c48; }
.doc p { margin: 10px 0; }
.doc ul, .doc ol { margin: 10px 0 10px 22px; }
.doc li { margin: 6px 0; }
.doc .req {
  margin-top: 30px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14.5px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 48px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .top-nav { display: none; }
  .steps, .feats { grid-template-columns: 1fr; }
  .sect { padding: 56px 0; }
}

/* v2: editorial section header — title left, intro right, no dead space */
.sect-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}
.sect-head .sub { margin: 0 0 6px; justify-self: end; text-align: left; }
@media (max-width: 820px) {
  .sect-head { grid-template-columns: 1fr; gap: 8px; }
  .sect-head .sub { justify-self: start; margin: 0; }
}

/* ---------- v2: воркфлоу одной линией ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.flow-step { position: relative; padding-top: 22px; }
.flow-step::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: -28px;
  height: 2px;
  background: var(--line);
}
.flow-step:last-child::before { right: 0; }
.flow-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--steel);
}
.flow-step:last-child::after { background: var(--rust); }
.flow-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.flow-step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- v2: выгоды в тёмной ленте ---------- */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 44px;
}
.outcome b {
  display: block;
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}
.outcome span { color: #aebccc; font-size: 14.5px; line-height: 1.6; }

/* ---------- v2: возможности списком, без карточек ---------- */
.cap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 56px;
  margin-top: 44px;
}
.cap {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.cap:nth-child(-n + 2) { border-top: 0; padding-top: 0; }
@media (max-width: 960px) {
  .cap:nth-child(2) { border-top: 1px solid var(--line-soft); padding-top: 18px; }
}
.cap h3 { font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.cap p { font-size: 14.5px; color: var(--muted); }

/* ---------- v2: тихая полоса тарифов ---------- */
.price-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.price-tile {
  display: block;
  color: var(--ink);
  border-top: 2px solid var(--line);
  padding-top: 18px;
  transition: border-color 0.15s ease;
}
.price-tile:hover { text-decoration: none; border-top-color: var(--steel); }
.price-tile:hover .plan-name { color: var(--steel); }
.price-tile.hot { border-top-color: var(--steel); }
.price-tile .plan-name { font-size: 17px; }
.price-tile .plan-price { margin: 8px 0 4px; }
.price-tile .plan-price b { font-size: 22px; }
.price-tile p { font-size: 14px; color: var(--muted); }

/* ---------- v2: герой ---------- */
.hero-v2 { padding: 88px 0 96px; }
.pass-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: #fbfcfd;
  font-size: 13px;
  color: var(--muted);
}
.sect-tint { background: var(--tint); }

@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow-step { padding-top: 0; padding-left: 26px; }
  .flow-step::before { top: 5px; bottom: -22px; left: 5px; right: auto; width: 2px; height: auto; }
  .flow-step:last-child::before { display: none; }
  .outcomes { grid-template-columns: 1fr; gap: 26px; }
  .cap-list { grid-template-columns: 1fr; gap: 0; }
  .price-strip { grid-template-columns: 1fr; }
}
