/* Rossi Design Tokens */
:root {
  /* Surfaces — light */
  --paper: oklch(99% 0.003 240);
  --paper-2: oklch(97.5% 0.004 240);
  --paper-3: oklch(95.5% 0.005 240);
  --line: oklch(91% 0.006 240);
  --line-strong: oklch(85% 0.008 240);
  --ink: oklch(18% 0.012 240);
  --ink-2: oklch(35% 0.012 240);
  --ink-3: oklch(52% 0.010 240);
  --ink-4: oklch(68% 0.008 240);

  /* Accent — Forest #1E6B48 (официальный бренд-цвет) */
  --accent: #1E6B48;
  --accent-2: #2B8259;
  --accent-soft: oklch(94% 0.025 155);
  --accent-ink: #FFFFFF;

  /* Warm — clay (secondary) */
  --clay: oklch(66% 0.10 55);
  --clay-soft: oklch(95% 0.025 55);

  /* Semantic */
  --neg: oklch(55% 0.18 25);
  --neg-soft: oklch(95% 0.025 25);
  --warn: oklch(72% 0.13 75);
  --warn-soft: oklch(96% 0.04 75);
  --info: oklch(58% 0.10 240);
  --info-soft: oklch(95% 0.02 240);

  /* Type */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --r-1: 4px;
  --r-2: 6px;
  --r-3: 10px;
  --r-4: 14px;
  --r-5: 20px;

  --shadow-1: 0 1px 0 oklch(0% 0 0 / 0.04), 0 1px 2px oklch(0% 0 0 / 0.04);
  --shadow-2: 0 1px 0 oklch(0% 0 0 / 0.05), 0 4px 12px oklch(0% 0 0 / 0.06);
  --shadow-pop: 0 1px 0 oklch(0% 0 0 / 0.05), 0 12px 40px oklch(0% 0 0 / 0.12);
}

[data-theme="dark"] {
  --paper: oklch(15% 0.01 240);
  --paper-2: oklch(18% 0.01 240);
  --paper-3: oklch(22% 0.012 240);
  --line: oklch(28% 0.012 240);
  --line-strong: oklch(35% 0.012 240);
  --ink: oklch(96% 0.005 240);
  --ink-2: oklch(82% 0.008 240);
  --ink-3: oklch(65% 0.010 240);
  --ink-4: oklch(50% 0.010 240);
  --accent: oklch(72% 0.10 155);
  --accent-2: oklch(80% 0.12 155);
  --accent-soft: oklch(28% 0.04 155);
  --accent-ink: oklch(15% 0.02 155);
  --clay-soft: oklch(28% 0.04 55);
  --neg-soft: oklch(28% 0.04 25);
  --warn-soft: oklch(28% 0.04 75);
  --info-soft: oklch(28% 0.04 240);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* Scrollbar */
.scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
.scroll::-webkit-scrollbar-track { background: transparent; }

/* Common atoms */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2); white-space: nowrap;
}
.chip.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.chip.neg { background: var(--neg-soft); border-color: transparent; color: var(--neg); }
.chip.warn { background: var(--warn-soft); border-color: transparent; color: oklch(45% 0.13 75); }
.chip.info { background: var(--info-soft); border-color: transparent; color: var(--info); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: var(--r-2);
  background: var(--paper); border: 1px solid var(--line);
  font: 500 12.5px/1 var(--sans); color: var(--ink);
  cursor: pointer; transition: all .12s ease;
}
.btn:hover { background: var(--paper-2); border-color: var(--line-strong); }
.btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.primary:hover { background: oklch(28% 0.012 240); }
.btn.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--paper-2); }
.btn.sm { height: 24px; padding: 0 8px; font-size: 11.5px; border-radius: var(--r-1); }
.kbd {
  font-family: var(--mono); font-size: 10.5px;
  padding: 1px 5px; border-radius: 4px;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-3);
}

.kicker {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4);
}

.divider { height: 1px; background: var(--line); border: 0; }

.field {
  display: flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 10px; border-radius: var(--r-2);
  background: var(--paper); border: 1px solid var(--line);
  font: 13px var(--sans); color: var(--ink);
}
.field input { all: unset; flex: 1; min-width: 0; font: inherit; color: inherit; }
.field input::placeholder { color: var(--ink-4); }
/* Rossi Landing — naследует токены кабинета (tokens.css), добавляет лендинг-специфику */


html, body { height: auto; overflow-x: hidden; }
body { background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.55; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}
@media (max-width: 1024px) { .container { padding: 0 48px; } }
@media (max-width: 640px) { .container { padding: 0 24px; } }

/* ---------- Type display ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--ink);
}
.display-xl { font-size: 64px; }
.display-l { font-size: 48px; }
.display-m { font-size: 36px; }
.display-s { font-size: 28px; }

@media (max-width: 1024px) {
  .display-xl { font-size: 56px; }
  .display-l { font-size: 44px; }
  .display-m { font-size: 36px; }
}
@media (max-width: 640px) {
  .display-xl { font-size: 40px; }
  .display-l { font-size: 34px; }
  .display-m { font-size: 28px; }
  .display-s { font-size: 24px; }
}

.lede { font-size: 18px; color: var(--ink-2); line-height: 1.55; max-width: 60ch; }
@media (max-width: 640px) { .lede { font-size: 16px; } }

.section-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* ---------- Section rhythm ---------- */
section.s {
  padding: 76px 0;
  position: relative;
}
@media (max-width: 1024px) { section.s { padding: 60px 0; } }
@media (max-width: 640px) { section.s { padding: 48px 0; } }

section.s + section.s { border-top: 1px solid var(--line); }

/* ---------- Buttons (extends tokens) ---------- */
.btn-l {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-3);
  background: var(--paper); border: 1px solid var(--line);
  font: 500 15px/1 var(--sans); color: var(--ink);
  cursor: pointer; transition: all .15s ease; text-decoration: none;
}
.btn-l:hover { background: var(--paper-2); border-color: var(--line-strong); }
.btn-l.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-l.accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-l.ghost { background: transparent; }

.btn-xl {
  height: 56px; padding: 0 28px; font-size: 16px;
}

/* ---------- Top nav ---------- */
.top-nav {
  position: sticky; top: 0; z-index: 30;
  background: oklch(99% 0.003 240 / 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.top-nav.is-scrolled { border-bottom-color: var(--line); }
.top-nav-inner {
  height: 64px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  display: inline-flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  gap: 3px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px; line-height: 0.8;
  color: #1E6B48;
  letter-spacing: -0.04em;
}
.brand-mark .mark-letter { font-weight: 400; }
.brand-mark .mark-dots {
  display: inline-flex; gap: 4px; align-items: center;
  padding-left: 2px;
}
.brand-mark .mark-dots i {
  display: inline-block; width: 5px; height: 5px; border-radius: 999px;
}
.brand-mark .mark-dots i:nth-child(1) { background: #1E6B48; }
.brand-mark .mark-dots i:nth-child(2),
.brand-mark .mark-dots i:nth-child(3) {
  background: transparent;
  border: 1.2px solid #1E6B48;
}
.tg-mock-avatar .mark-letter { color: #fff; }
.tg-mock-avatar .mark-dots i:nth-child(1) { background: #fff; }
.tg-mock-avatar .mark-dots i:nth-child(2),
.tg-mock-avatar .mark-dots i:nth-child(3) {
  border-color: #fff;
}
.brand-name {
  font-family: var(--serif);
  font-size: 26px; letter-spacing: -0.015em;
  line-height: 1;
}
.nav-links {
  display: flex; align-items: center; gap: 22px; margin-left: auto;
}
.nav-links a {
  font-size: 14px; color: var(--ink-2); text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-burger {
  display: none; width: 40px; height: 40px; margin-left: auto;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
  align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 800px) {
  .nav-links .nav-link-text { display: none; }
  .nav-links .nav-cta { padding: 0 16px; height: 38px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px 24px; gap: 14px; align-items: stretch;
  }
  .nav-links.is-open a { font-size: 16px; padding: 6px 0; }
  .nav-links.is-open .nav-cta { padding: 0 16px; height: 44px; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) { .hero { padding: 40px 0 56px; } }

.hero::before {
  content: "";
  position: absolute; inset: -10% -20% 30% 40%;
  background: radial-gradient(closest-side, var(--accent-soft) 0%, transparent 70%);
  opacity: .8; pointer-events: none; z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
@media (max-width: 1024px) {
  .hero-grid { gap: 48px; }
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-cta-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px;
}
.hero-fineprint {
  margin-top: 14px; font-size: 13px; color: var(--ink-4);
  font-family: var(--mono);
}

/* Telegram-mock chat */
.tg-mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow:
    0 1px 0 oklch(0% 0 0 / 0.04),
    0 16px 48px oklch(0% 0 0 / 0.08),
    0 4px 12px oklch(0% 0 0 / 0.04);
  max-width: 460px; margin-left: auto;
}
.tg-mock-head {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid var(--line);
}
.tg-mock-avatar {
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; font-style: italic;
  letter-spacing: -0.04em;
}
.tg-mock-title { font-weight: 500; font-size: 14px; }
.tg-mock-status { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-4); }
.tg-mock-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
}
.tg-mock-body {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 4px 4px;
}
.tg-bubble {
  max-width: 80%; padding: 9px 13px; border-radius: 16px;
  font-size: 14px; line-height: 1.45;
  position: relative;
}
.tg-bubble .time {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-size: 10px; color: var(--ink-4);
}
.tg-bubble.in {
  align-self: flex-start;
  background: var(--paper-2);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.tg-bubble.out {
  align-self: flex-end;
  background: var(--accent-soft);
  border-bottom-right-radius: 4px;
  color: var(--ink);
}
.tg-bubble.out .time { color: oklch(45% 0.06 155); }
.tg-typing {
  align-self: flex-start;
  display: inline-flex; gap: 4px; padding: 10px 14px;
  background: var(--paper-2); border-radius: 16px; border-bottom-left-radius: 4px;
}
.tg-typing span {
  width: 6px; height: 6px; border-radius: 999px; background: var(--ink-4);
  animation: bounce 1.2s infinite;
}
.tg-typing span:nth-child(2) { animation-delay: .15s; }
.tg-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,80%,100% { transform: translateY(0); opacity: .6; } 40% { transform: translateY(-3px); opacity: 1; } }

/* ---------- Section header ---------- */
.s-head {
  margin-bottom: 36px;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 720px;
}
.s-head .lede { margin-top: 2px; }

/* ---------- Pain cards (3) ---------- */
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  overflow: hidden;
  background: var(--paper);
}
@media (max-width: 1024px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pain-grid { grid-template-columns: 1fr; } }

.pain-card {
  position: relative;
  padding: 28px 26px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: background .2s ease;
}
.pain-grid > .pain-card:last-child { border-right: 0; }
@media (max-width: 1024px) {
  .pain-card { border-bottom: 1px solid var(--line); }
  .pain-grid > .pain-card:nth-child(2n) { border-right: 0; }
  .pain-grid > .pain-card:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .pain-card { border-right: 0; border-bottom: 1px solid var(--line); }
}
.pain-card::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 3px; bottom: 0;
  background: var(--accent);
  opacity: 0; transition: opacity .2s ease;
}
.pain-card:hover { background: var(--paper-2); }
.pain-card:hover::before { opacity: 1; }
.pain-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-4); letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pain-title {
  font-size: 18px; font-weight: 500; line-height: 1.3;
  margin: 10px 0 8px;
  letter-spacing: -0.005em;
  min-height: 2.6em;
}
.pain-body { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* ---------- Features (2x2) ---------- */
.feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 800px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  display: flex; gap: 18px;
}
.feat-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.feat-title {
  font-size: 17px; font-weight: 500; line-height: 1.3; margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.feat-body { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

.feat-foot {
  margin-top: 24px;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-4);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
  position: relative;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

.step {
  position: relative;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.step:nth-child(2) { border-top-color: var(--ink-3); }
.step:nth-child(3) { border-top-color: var(--line-strong); }
.step-num {
  font-family: var(--mono); font-size: 11px; color: var(--ink-4);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 10px;
}
.step-title { font-size: 18px; font-weight: 500; margin-bottom: 6px; letter-spacing: -0.005em; }
.step-meta {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.step-body { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

.included {
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px solid var(--line); border-radius: var(--r-3);
  background: var(--paper-2);
}
.included-title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 16px;
}
.included-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
  margin: 0; padding: 0; list-style: none;
}
@media (max-width: 640px) { .included-list { grid-template-columns: 1fr; } }
.included-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--ink-2);
}
.included-list li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- Niches (3x2) ---------- */
.niche-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
@media (max-width: 900px) { .niche-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .niche-grid { grid-template-columns: 1fr; } }

.niche-card {
  padding: 22px 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  transition: transform .2s ease, border-color .2s ease;
}
.niche-card:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.niche-card.is-open {
  background: oklch(99% 0.012 145);
  border-color: var(--accent);
}
.niche-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); margin-bottom: 14px;
}
.niche-title {
  font-size: 17px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.005em;
}
.niche-body { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
  align-items: stretch;
}
@media (max-width: 1024px) { .price-grid { grid-template-columns: 1fr; gap: 12px; } }

.price-card {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  display: flex; flex-direction: column;
}
.price-card.featured {
  border: 1.5px solid var(--accent);
  transform: translateY(-8px);
  box-shadow:
    0 1px 0 oklch(0% 0 0 / 0.05),
    0 16px 40px oklch(0% 0 0 / 0.06);
}
@media (max-width: 1024px) { .price-card.featured { transform: none; } }
.price-badge {
  position: absolute; top: -12px; left: 24px;
  height: 24px; padding: 0 12px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 5px;
}
.price-name {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 10px;
}
.price-amount {
  font-family: var(--serif); font-size: 44px; line-height: 1;
  letter-spacing: -0.025em;
}
.price-period { font-size: 14px; color: var(--ink-4); margin-top: 4px; }
.price-note {
  margin-top: 14px; font-size: 13.5px; color: var(--ink-3); line-height: 1.5;
  min-height: 40px;
}
.price-divider { height: 1px; background: var(--line); margin: 18px 0; }
.price-feats {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.price-feats li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-2);
}
.price-feats li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.price-card .btn-l { width: 100%; margin-top: 24px; }

.price-foot {
  margin-top: 28px; text-align: center;
  font-size: 13.5px; color: var(--ink-3);
}
.price-foot b { color: var(--ink); font-weight: 500; }

/* ---------- About founder ---------- */
.about {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  align-items: center;
  background: oklch(98% 0.012 60);
  padding: 64px;
  border-radius: var(--r-5);
  border: 1px solid var(--line);
}
[data-theme="dark"] .about { background: var(--paper-2); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 36px; padding: 40px 28px; }
}

.about-photo {
  width: 100%; max-width: 380px; aspect-ratio: 1/1;
  margin: 0 0 0 auto;
  border-radius: var(--r-4);
  overflow: hidden;
  background: var(--paper-3);
  position: relative;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.9) contrast(1.02);
}
.about-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, oklch(0% 0 0 / 0.05) 100%);
  pointer-events: none;
}

.about-meta {
  font-family: var(--mono); font-size: 13px; color: var(--ink-3);
  margin-top: 6px;
}
.about-bio { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; margin-top: 18px; }
.about-bio p + p { margin-top: 14px; }
.about-links {
  margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap;
}

/* ---------- Final CTA + form ---------- */
.final-cta { text-align: center; }
.final-cta .display { margin: 0 auto 18px; max-width: 720px; }
.final-cta .lede { margin: 0 auto 28px; }
.final-cta .btn-xl { margin: 0 auto; }
.final-cta-fineprint {
  margin-top: 14px; font-family: var(--mono);
  font-size: 12.5px; color: var(--ink-4);
}

.or-divider {
  display: flex; align-items: center; gap: 16px;
  max-width: 480px; margin: 56px auto 32px;
  color: var(--ink-4);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.or-divider::before, .or-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

.lead-form {
  max-width: 480px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
  text-align: left;
}
.lead-field label {
  display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px;
  font-family: var(--mono); letter-spacing: 0.04em;
}
.lead-field input, .lead-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-2);
  background: var(--paper); color: var(--ink);
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: 0;
}
.lead-field textarea { min-height: 88px; resize: vertical; }
.lead-field input:focus, .lead-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.lead-form .btn-l { align-self: stretch; margin-top: 4px; }

.form-foot {
  margin-top: 16px; font-size: 12.5px; color: var(--ink-4);
  text-align: center; max-width: 480px; margin-left: auto; margin-right: auto;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 48px 0 0;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

.foot h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4);
  margin: 0 0 14px;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 14px; transition: color .15s ease; }
.foot a:hover { color: var(--ink); }
.foot-legal {
  font-size: 13px; color: var(--ink-3); line-height: 1.65;
  font-family: var(--mono);
}

.foot-bar {
  border-top: 1px solid var(--line);
  padding: 0;
  height: 30px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-4);
  letter-spacing: 0.01em;
}
.foot-bar .dot {
  width: 5px; height: 5px; border-radius: 999px; background: var(--accent);
}
.foot-bar a { color: var(--ink-4); text-decoration: none; }
.foot-bar a:hover { color: var(--ink-2); }
.foot-bar .spacer { flex: 1; }

@media (max-width: 640px) {
  .foot-bar { font-size: 9.5px; gap: 8px; flex-wrap: wrap; height: auto; padding: 8px 0; }
}

/* ---------- Tiny utils ---------- */
.row { display: flex; align-items: center; gap: 8px; }
.muted { color: var(--ink-3); }
.center { text-align: center; }

/* ---------- Legal pages (privacy, oferta, terms) ---------- */
.legal {
  padding: 64px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) { .legal { padding: 40px 0 56px; } }

.legal .legal-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  margin-top: 12px;
  margin-bottom: 32px;
}
.legal .legal-intro {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 24px;
}
.legal h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--ink);
}
.legal h2:first-of-type { margin-top: 16px; }
.legal h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--ink);
}
.legal p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 12px 0;
}
.legal ul, .legal ol {
  padding-left: 24px;
  margin: 12px 0;
}
.legal li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.legal strong { color: var(--ink); font-weight: 500; }
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal a:hover { color: var(--accent-2); }
.legal code {
  font-family: var(--mono);
  font-size: 13px;
  padding: 1px 6px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.legal th, .legal td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
.legal th {
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 500;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--mono);
}
.legal .legal-toc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.legal .legal-toc-back:hover { color: var(--ink); }
