/* ---------- Fonts (self-hosted, Onest variable) ---------- */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  --paper: #f5f2ec;
  --paper-2: #ece8de;
  --surface: #fbfaf7;
  --ink: #131118;
  --ink-2: #3c3945;
  --muted: #666170;
  --line: rgba(19, 17, 24, 0.14);
  --line-strong: rgba(19, 17, 24, 0.28);

  --accent: #4a2fbd;
  --accent-hover: #3a2299;
  --accent-soft: #e6e0f8;
  --on-accent: #ffffff;

  --night: #131118;
  --night-text: #f5f2ec;
  --night-muted: #aaa5b8;
  --night-line: rgba(245, 242, 236, 0.16);
  --night-accent: #c3b8ff;
  --mark-dot: #a898ff;

  --ok: #1f6b45;
  --warn: #8a5a00;
  --danger: #b3261e;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.section--night :focus-visible { outline-color: var(--night-accent); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { text-wrap: pretty; }

.h1-soft { display: block; color: var(--muted); font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: currentColor; }
.section--night .eyebrow { color: var(--night-accent); }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.section-lead { color: var(--ink-2); max-width: 40em; margin-top: 18px; font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 8px 22px -10px rgba(74, 47, 189, 0.7); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { border-color: var(--line-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(19, 17, 24, 0.04); }
.btn[aria-disabled="true"] { cursor: progress; opacity: 0.85; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(245, 242, 236, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.0625rem; text-decoration: none; letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 6px; }
.nav ul a { display: block; padding: 10px 12px; font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--ink-2); border-radius: 8px; transition: color 0.2s, background-color 0.2s; }
.nav ul a:hover { color: var(--ink); background: rgba(19, 17, 24, 0.06); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }

.menu-toggle { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--night-text); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 52em; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) var(--section-y); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-copy .lead { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 24px; font-size: 0.9375rem; color: var(--muted); max-width: 34em; }

.hero-shot { justify-self: center; width: min(100%, 440px); }
.hero-shot img { width: 100%; height: auto; }
.hero-shot figcaption { margin-top: 12px; text-align: center; font-size: 0.875rem; color: var(--muted); }

/* ---------- Situations ---------- */
.situations { border-top: 1px solid var(--line-strong); }
.situation {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 40px; align-items: baseline;
  padding-block: clamp(24px, 3.5vw, 40px); border-bottom: 1px solid var(--line);
}
.situation-n { font-weight: 600; color: var(--accent); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.situation h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
.situation p { color: var(--ink-2); }

/* ---------- Offer ---------- */
.offer-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); }
.offer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 44px) clamp(32px, 5vw, 72px); }
.offer-item { position: relative; padding-left: 44px; }
.offer-item::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft) center / 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%234a2fbd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5'/%3E%3C/svg%3E");
}
.offer-item h3 { font-size: 1.3125rem; margin-bottom: 8px; }
.offer-item p { color: var(--ink-2); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: s; }
.step { position: relative; padding: 0 28px 0 0; }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper);
  font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 24px;
}
.step::before { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1.5px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 1rem; }
.process-note { margin-top: 48px; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--ink-2); max-width: 46em; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- Audience ---------- */
.section--night .section-head h2 { color: var(--night-text); }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.audience { padding: clamp(28px, 4vw, 56px) clamp(0px, 3vw, 48px) 0 0; }
.audience + .audience { border-left: 1px solid var(--night-line); padding-left: clamp(24px, 3vw, 48px); padding-right: 0; }
.audience h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; }
.audience > p { color: var(--night-muted); max-width: 30em; }
.plain-list { display: grid; gap: 14px; margin-top: 28px; }
.plain-list li { position: relative; padding-left: 22px; color: #dedad3; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 1.5px; background: var(--night-accent); }
.plain-list strong { color: var(--night-text); font-weight: 600; }

/* ---------- Integrations ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: clamp(40px, 6vw, 64px); }
.flow-node {
  position: relative; padding: 22px 24px; border: 1px solid var(--line-strong); margin-left: -1px;
  background: var(--surface);
}
.flow-node:first-child { margin-left: 0; border-radius: var(--radius) 0 0 var(--radius); }
.flow-node:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.flow-node:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; right: -9px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: var(--paper); border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
  transform: rotate(45deg);
}
.flow-node--hot { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.flow-node--hot::after { background: var(--ink) !important; border-color: var(--ink) !important; }
.flow-label { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.flow-node--hot .flow-label { color: var(--night-accent); }
.flow-name { font-weight: 600; font-size: 1.125rem; line-height: 1.3; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.info-table { width: 100%; border-collapse: collapse; text-align: left; }
.info-table th, .info-table td { padding: 20px 24px; vertical-align: top; border-bottom: 1px solid var(--line); }
.info-table thead th { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; background: var(--paper); }
.info-table tbody tr:last-child > * { border-bottom: 0; }
.info-table tbody th { font-weight: 600; width: 28%; }
.info-table td:nth-child(2) { width: 20%; white-space: nowrap; }
.info-table td:last-child { color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status--ok { color: var(--ok); }
.status--you { color: var(--ink-2); }
.status--you::before { border-radius: 2px; }
.status--check { color: var(--warn); }
.status--check::before { background: transparent; border: 2px solid currentColor; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.price-card h3 { font-size: 1.375rem; }
.price-tag { font-size: 0.875rem; color: var(--muted); margin-top: 6px; }
.price-card dl { margin-top: 28px; display: grid; gap: 0; }
.price-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.price-card dt { color: var(--ink-2); font-size: 0.9375rem; }
.price-card dd { font-weight: 650; font-size: 1.125rem; text-align: right; letter-spacing: -0.01em; }
.price-foot { margin-top: auto; padding-top: 20px; font-size: 0.875rem; color: var(--muted); }
.pricing-note { margin-top: 36px; max-width: 48em; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  position: relative; display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 56px 22px 0; font-weight: 600; font-size: 1.125rem; line-height: 1.4; letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q::before, .faq-q::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.75px; background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq-q::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"]::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.3s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 56px 24px 0; color: var(--ink-2); }
.js .faq-a:not(.is-open) { grid-template-rows: 0fr; }
.js .faq-a:not(.is-open) > div { visibility: hidden; transition: visibility 0s 0.3s; }

/* ---------- Contact ---------- */
.section--contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-points { margin-top: 32px; display: grid; gap: 12px; }
.contact-points li { position: relative; padding-left: 28px; color: var(--ink-2); }
.contact-points li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) center / 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%234a2fbd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5'/%3E%3C/svg%3E");
}

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px -40px rgba(19, 17, 24, 0.35); }
.field { margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; }
label, legend { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 8px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: 10px; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23131118' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.16); }

.radio-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.radio { position: relative; margin: 0; cursor: pointer; }
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio span {
  display: flex; align-items: center; min-height: 52px; padding: 10px 16px; font-weight: 500; line-height: 1.3;
  border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.radio:hover span { border-color: var(--ink); }
.radio input:checked + span { border-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.radio input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent); }
.field--radio[aria-invalid="true"] .radio span, fieldset.has-error .radio span { border-color: var(--danger); }

.check { display: flex; gap: 14px; align-items: flex-start; font-weight: 400; font-size: 0.9375rem; color: var(--ink-2); cursor: pointer; line-height: 1.5; margin: 0; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--ink); text-underline-offset: 3px; }

.field-error { margin-top: 8px; color: var(--danger); font-size: 0.9375rem; font-weight: 500; display: flex; gap: 8px; }
.field-error::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.field-error[hidden] { display: none; }

.form-error-summary { margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--danger); background: #fdf1f0; color: #7d1914; font-weight: 500; }
.form-error-summary[hidden] { display: none; }
.form-status { min-height: 1.4em; margin-top: 14px; font-size: 0.9375rem; color: var(--muted); text-align: center; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.is-loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: left; padding: 8px 0; }
.form-success h3 { font-size: 1.625rem; margin-bottom: 12px; }
.form-success p { color: var(--ink-2); }
.form-success a { font-weight: 600; text-underline-offset: 3px; }
.form-success[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-text); padding-block: clamp(48px, 7vw, 80px) 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { font-weight: 650; font-size: 1.25rem; margin-bottom: 12px; }
.footer-text { color: var(--night-muted); max-width: 26em; }
.footer-text a { color: var(--night-text); font-weight: 600; text-underline-offset: 3px; }
.footer-label { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--night-accent); margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { display: inline-block; padding: 4px 0; color: var(--night-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--night-text); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 0.8125rem; color: var(--night-muted); }
.footer-legal p { max-width: 70em; }
.site-footer :focus-visible { outline-color: var(--night-accent); }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(40px, 7vw, 88px); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }
.legal .meta { color: var(--muted); font-size: 0.9375rem; margin-bottom: 32px; }
.back-link { display: inline-block; margin-bottom: 32px; font-weight: 600; text-underline-offset: 3px; }

/* ---------- Reveal (only when JS runs and motion is allowed) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-shot { animation: rise 0.8s var(--ease) 0.2s both; }
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav ul a { padding-inline: 8px; }
  .nav { gap: 16px; }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px;
    background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.9375rem;
  }
  .menu-toggle-bars { position: relative; width: 18px; height: 10px; }
  .menu-toggle-bars i { position: absolute; left: 0; width: 100%; height: 1.75px; background: currentColor; transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
  .menu-toggle-bars i:first-child { top: 0; }
  .menu-toggle-bars i:last-child { top: 8px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars i:first-child { top: 4px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars i:last-child { top: 4px; transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 16px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin-top: 20px; min-height: 54px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header { position: static; height: auto; padding-block: 12px; }
  html:not(.js) .header-inner { flex-direction: column; align-items: flex-start; }
  html:not(.js) .nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .nav ul a { border-bottom: 0; padding: 8px; font-size: 1rem; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-shot { width: min(100%, 360px); }
  .situation { grid-template-columns: 48px minmax(0, 1fr); }
  .situation p { grid-column: 2; }
  .offer-list, .audience-grid, .pricing-grid, .contact-grid, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .audience { padding-right: 0; }
  .audience + .audience { border-left: 0; border-top: 1px solid var(--night-line); padding-left: 0; margin-top: 40px; }
  .faq-layout .section-head { position: static; margin-bottom: 8px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; padding: 0; }
  .step-n { margin: 0; grid-row: 1 / span 2; }
  .step::before { top: 52px; bottom: -32px; left: 21.25px; right: auto; width: 1.5px; height: auto; }
  .step h3 { margin: 8px 0 6px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-node, .flow-node:first-child, .flow-node:last-child { margin-left: 0; margin-top: -1px; border-radius: 0; }
  .flow-node:first-child { margin-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
  .flow-node:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .flow-node:not(:last-child)::after { right: auto; left: 32px; top: auto; bottom: -9px; margin: 0; transform: rotate(135deg); border-top: 0; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
  .flow-node--hot:not(:last-child)::after { border-color: var(--ink) !important; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .info-table thead { display: none; }
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100% !important; }
  .info-table tr { padding: 20px; border-bottom: 1px solid var(--line); }
  .info-table tbody tr:last-child { border-bottom: 0; }
  .info-table th, .info-table td { padding: 0; border: 0 !important; }
  .info-table tbody th { margin-bottom: 8px; }
  .info-table td:nth-child(2) { margin-bottom: 8px; white-space: normal; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .radio-row { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-q { font-size: 1.0625rem; padding-right: 44px; }
  .faq-a p { padding-right: 0; }
}

.footer-legal--plain { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-back { color: var(--night-text); text-underline-offset: 3px; }
.legal p + p, .legal ul + p { margin-top: 14px; }
.legal li strong { color: var(--ink); font-weight: 600; }

/* ---------- Blog ---------- */
.breadcrumbs { margin-bottom: 28px; font-size: 0.9375rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; margin-inline: 10px; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-2); text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--muted); overflow-wrap: anywhere; }
.nav ul a[aria-current="page"] { color: var(--ink); background: rgba(19, 17, 24, 0.06); }

.preview-banner { margin-bottom: 24px; padding: 12px 16px; border: 1.5px dashed var(--warn); border-radius: var(--radius-sm); background: #fbf3e0; color: #5e3d00; font-weight: 500; font-size: 0.9375rem; }
.chip { display: inline-block; padding: 1px 10px; border-radius: 999px; background: #fbf3e0; color: var(--warn); border: 1px solid var(--warn); font-size: 0.8125rem; font-weight: 600; }

.blog-head { padding-block: clamp(32px, 5vw, 64px) var(--section-y); }
.blog-head h1 { font-size: clamp(2rem, 5vw, 3.5rem); }

.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.post-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 40px -28px rgba(19, 17, 24, 0.4); transform: translateY(-2px); }
.post-card:focus-within { border-color: var(--accent); }
.post-card h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 10px 0; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.post-card h2 a:focus-visible { outline: none; }
.post-card:has(h2 a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.post-excerpt { color: var(--ink-2); font-size: 1rem; }
.post-meta { font-size: 0.875rem; color: var(--muted); }
.post-cat { color: var(--accent); font-weight: 600; }

.post { padding-block: clamp(32px, 5vw, 64px) var(--section-y); }
.post-head { max-width: 760px; margin-inline: auto; margin-bottom: clamp(24px, 4vw, 40px); }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.12; margin-top: 14px; }
.post-body { max-width: 760px; margin-inline: auto; }

.toc { margin-bottom: 36px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc summary { cursor: pointer; font-weight: 600; }
.toc ol { margin-top: 12px; display: grid; gap: 6px; list-style: decimal; padding-left: 22px; }
.toc a { text-underline-offset: 3px; color: var(--ink-2); }
.toc a:hover { color: var(--accent); }

.prose { font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2rem); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { margin-top: 1.8em; color: var(--ink); font-size: 1.3125rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: 0.5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li > ul, .prose li > ol { margin-top: 0.5em; }
.prose li::marker { color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin-block: 2.2em; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink-2); }
.prose code { padding: 0.1em 0.35em; border-radius: 5px; background: var(--paper-2); font-size: 0.9em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--night); color: var(--night-text); font-size: 0.9375rem; line-height: 1.55; }
.prose pre code { padding: 0; background: none; font-size: inherit; overflow-wrap: normal; }
.prose figure { text-align: center; }
.prose figure img { width: auto; max-width: 100%; height: auto; max-height: 560px; margin-inline: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.prose figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }

.prose-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.prose-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.prose-table caption { padding: 12px 16px; text-align: left; font-weight: 600; color: var(--ink); }
.prose-table th, .prose-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.prose-table thead th { background: var(--paper); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

.callout { padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); border-left-width: 4px; background: var(--surface); }
.callout > * + * { margin-top: 0.6em; }
.callout-title { font-weight: 600; color: var(--ink); font-size: 1rem; }
.callout p { font-size: 1rem; }
.callout--note { border-left-color: var(--accent); }
.callout--assumption { border-left-color: var(--warn); background: #fbf3e0; border-color: rgba(138, 90, 0, 0.35); border-left-color: var(--warn); }
.callout--warning { border-left-color: var(--danger); background: #fdf1f0; border-color: rgba(179, 38, 30, 0.3); border-left-color: var(--danger); }

.post-sources { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--line-strong); }
.post-sources h2 { font-size: 1.375rem; margin-bottom: 12px; }
.post-sources ol { list-style: decimal; padding-left: 1.4em; display: grid; gap: 6px; color: var(--ink-2); font-size: 1rem; overflow-wrap: anywhere; }
.post-sources a { text-underline-offset: 3px; }
.sources-note { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }

.cta-box { margin-top: 3em; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--night); color: var(--night-text); }
.cta-box h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); }
.cta-box p { margin-block: 12px 24px; color: var(--night-muted); max-width: 36em; }
.cta-box :focus-visible { outline-color: var(--night-accent); }

.post-related { margin-top: clamp(48px, 7vw, 88px); }
.post-related > h2 { font-size: 1.625rem; margin-bottom: 24px; }

@media (max-width: 720px) {
  .post-list { grid-template-columns: minmax(0, 1fr); }
  .breadcrumbs [aria-current="page"] { display: none; }
  .prose { font-size: 1.0625rem; }
  .cta-box .btn { width: 100%; }
}
