/* ============================================================
   ИИ-Кейсы 2026 — основной стиль
   Дизайн: минимализм, светлый фон, один акцент, много воздуха
   ============================================================ */

:root {
  --paper:        #F4F2EC;   /* тёплый фон */
  --paper-2:      #FBFAF6;   /* карточки/блоки */
  --ink:          #111113;   /* основной текст */
  --ink-soft:     #5C5A54;   /* вторичный текст */
  --line:         rgba(17,17,19,.12);
  --line-soft:    rgba(17,17,19,.07);
  --accent:       #FF4B2B;   /* акцент */
  --accent-ink:   #FFFFFF;
  --accent-soft:  rgba(255,75,43,.10);
  --dark:         #141416;   /* тёмные секции */

  --radius:       18px;
  --radius-lg:    28px;
  --maxw:         1240px;
  --gutter:       clamp(20px, 5vw, 64px);
  --section-y:    clamp(64px, 9vw, 140px);

  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease:         cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: clamp(16px, 1.05vw, 18px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; }
.h-xxl { font-size: clamp(2.4rem, 6.4vw, 5.4rem); font-weight: 700; line-height: .98; letter-spacing: -.02em; }
.h-xl  { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.h-l   { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.h-m   { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.lead  { font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--ink-soft); line-height: 1.5; }
.muted { color: var(--ink-soft); }
.accent-text { color: var(--accent); }
strong { font-weight: 700; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 90px); }
.section--dark { background: var(--dark); color: #F2F1EC; }
.section--dark .muted { color: #A6A39C; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--accent); display:inline-block; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lead { margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--bg); color: var(--fg);
  padding: .95em 1.6em; border: 1px solid var(--bg); border-radius: 100px;
  font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.btn--accent { --bg: var(--accent); --fg: var(--accent-ink); border-color: var(--accent); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--lg { padding: 1.1em 2em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.brand { display: flex; align-items: baseline; gap: .5em; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.brand .dot { color: var(--accent); }
.brand small { font-family: var(--font-body); font-weight: 600; font-size: .7rem; color: var(--ink-soft); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: .96rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-meta { font-weight: 700; font-size: .9rem; }
.nav-meta span { color: var(--accent); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1){ top: 16px; } .burger span:nth-child(2){ top: 21px; } .burger span:nth-child(3){ top: 26px; }
.burger.is-open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity: 0; }
.burger.is-open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links, .nav-meta { display: none; }
  .burger { display: block; }
  .mobile-menu {
    position: fixed; inset: 64px 0 0; z-index: 40;
    background: var(--paper); padding: 28px var(--gutter);
    display: flex; flex-direction: column; gap: 6px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; padding-block: 12px; border-bottom: 1px solid var(--line-soft); }
  .mobile-menu .btn { margin-top: 20px; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 110px); overflow: hidden; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--paper-2); border: 1px solid var(--line);
  padding: .5em 1em; border-radius: 100px; font-weight: 700; font-size: .85rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { max-width: 16ch; }
.hero h1 .accent-text { font-style: normal; }
.hero-sub { max-width: 56ch; margin-top: clamp(20px, 3vw, 30px); }
.hero-actions { margin-top: clamp(28px, 4vw, 40px); align-items: center; }
.hero-note { font-size: .9rem; color: var(--ink-soft); margin-top: 18px; }

/* countdown */
.countdown { display: flex; gap: clamp(10px, 2vw, 22px); margin-top: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.cd-cell { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px,1.6vw,20px) clamp(16px,2vw,26px); min-width: 92px; text-align: center; }
.cd-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.cd-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-top: 8px; }

/* facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts .grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
.fact { padding: clamp(22px, 3vw, 38px) clamp(14px,2vw,28px); border-left: 1px solid var(--line-soft); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact .fact-k { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem,2.4vw,2rem); letter-spacing: -.02em; }
.fact .fact-v { color: var(--ink-soft); font-size: .92rem; margin-top: 6px; }
@media (max-width: 760px){ .facts .grid { grid-template-columns: repeat(2, 1fr); } .fact { border-top: 1px solid var(--line-soft); padding-left: clamp(14px,2vw,28px);} .fact:nth-child(-n+2){border-top:none;} .fact:nth-child(odd){border-left:none; padding-left:0;} }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 34px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.35); border-color: var(--ink); }
.card .ico {
  width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .num { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1rem; margin-bottom: 14px; display:block;}

/* topic chips */
.topics { display: flex; flex-wrap: wrap; gap: 12px; }
.topic {
  display: inline-flex; align-items: center; gap: .6em;
  border: 1px solid var(--line); border-radius: 100px; padding: .7em 1.2em;
  font-weight: 600; background: var(--paper-2); color: var(--ink);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.topic:hover { border-color: var(--accent); transform: translateY(-2px); }
.topic .t-ico { color: var(--accent); display: inline-flex; }

/* audience list */
.aud-list { display: grid; gap: 2px; }
.aud-item { display: flex; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.aud-item:last-child { border-bottom: none; }
.section--dark .aud-item { border-color: rgba(255,255,255,.14); }
.aud-item .n { font-family: var(--font-display); color: var(--accent); font-weight: 700; min-width: 44px; }
.aud-item .t { font-size: clamp(1.05rem,1.6vw,1.3rem); font-weight: 600; }

/* ============================================================
   SPEAKERS
   ============================================================ */
.group-title {
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: clamp(16px, 2vw, 24px);
}
.moderators { grid-template-columns: repeat(2, 1fr); margin-bottom: clamp(40px, 5vw, 72px); }
@media (max-width: 860px){ .moderators { grid-template-columns: 1fr; } }
.moderator {
  display: grid; grid-template-columns: clamp(120px, 13vw, 170px) 1fr; gap: clamp(18px, 2.4vw, 28px); align-items: center;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(16px, 2vw, 24px);
}
.moderator .ph { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.moderator .ph img { width: 100%; height: 100%; object-fit: cover; }
.moderator .role { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.moderator h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); margin-top: 4px; }
.moderator ul { display: grid; gap: 6px; margin-top: 12px; color: var(--ink-soft); font-size: .94rem; line-height: 1.4; }
.moderator li { position: relative; padding-left: 16px; }
.moderator li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 480px){ .moderator { grid-template-columns: 1fr; } .moderator .ph { max-width: 200px; } }

.speaker { text-align: center; }
.speaker .ph {
  aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #e9e6dd, #d8d4c8); border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 16px;
}
.speaker .ph img { width: 100%; height: 100%; object-fit: cover; }
.speaker h3 { font-size: 1.1rem; }
.speaker p { color: var(--ink-soft); font-size: .9rem; }

/* call-out: «Хотите выступить с кейсом?» */
.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: clamp(18px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper-2); padding: clamp(24px, 3.2vw, 44px);
  margin-top: clamp(28px, 4vw, 52px);
}
.callout .callout-text { flex: 1 1 380px; }
.callout .eyebrow { margin-bottom: 12px; }
.callout h3 { font-size: clamp(1.3rem, 2.6vw, 2rem); }
.callout p { color: var(--ink-soft); margin-top: 10px; max-width: 62ch; }
.callout .btn { white-space: nowrap; }

/* ============================================================
   TICKETS
   ============================================================ */
.tickets-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 920px){ .tickets-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline:auto;} }
.tickets-grid--single { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
.ticket {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 36px); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ticket:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -30px rgba(0,0,0,.4); }
.ticket--feature { background: var(--dark); color: #F3F1EC; border-color: var(--dark); }
.ticket--feature .muted, .ticket--feature .ticket-feat li { color: #B7B4AC; }
.ticket--feature .ticket-feat li svg { color: var(--accent); }
.ticket .tag { position: absolute; top: 20px; right: 20px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .4em .8em; border-radius: 100px; }
.ticket .t-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.ticket .t-desc { color: var(--ink-soft); font-size: .92rem; margin-top: 8px; min-height: 2.6em; }
.ticket--feature .t-desc { color: #B7B4AC; }
.ticket .t-price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,3.4vw,2.6rem); margin: 22px 0 4px; letter-spacing: -.02em; }
.ticket .t-price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.ticket--feature .t-price small { color:#B7B4AC; }
.ticket-feat { display: grid; gap: 12px; margin: 24px 0; flex: 1; }
.ticket-feat li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.ticket-feat li svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.ticket .btn { margin-top: auto; }

/* ============================================================
   KOMANDA.AI — БЕСПЛАТНОЕ УЧАСТИЕ (акцентный блок)
   ============================================================ */
.komanda {
  background: var(--accent); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  position: relative; overflow: hidden;
}
.komanda::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); pointer-events: none;
}
@media (max-width: 820px){ .komanda { grid-template-columns: 1fr; } }
.komanda .eyebrow { color: #fff; }
.komanda .eyebrow::before { background: #fff; }
.komanda-badge {
  display: inline-flex; align-items: center; gap: .55em;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
  padding: .5em 1em; border-radius: 100px; font-weight: 700; font-size: .85rem; margin-bottom: 18px;
}
.komanda h2 { color: #fff; }
.komanda h2 span { background: #fff; color: var(--accent); padding: 0 .2em; border-radius: 6px; }
.komanda p { color: rgba(255,255,255,.92); margin-top: 14px; max-width: 52ch; }
.komanda .komanda-cta { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.komanda .price-strike { font-size: 1.05rem; }
.komanda .price-strike s { opacity: .7; }
.komanda .price-free { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem,4vw,3rem); line-height: 1; }
.komanda .btn--light:hover { background: var(--ink); color: #fff; }
.komanda small.note { display:block; font-size: .8rem; color: rgba(255,255,255,.8); }

/* мини-плашка Komanda внутри карточек билетов */
.komanda-inline {
  display:flex; align-items:center; gap:10px;
  background: var(--accent-soft); border:1px dashed var(--accent); color: var(--accent);
  border-radius: 12px; padding: .7em 1em; font-weight: 700; font-size: .85rem; margin-top: 14px;
}
.ticket--feature .komanda-inline { background: rgba(255,75,43,.18); border-color: rgba(255,75,43,.6); color:#fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 26px 44px 26px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem,1.8vw,1.35rem); color: var(--ink); }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-weight: 400; font-size: 1.8rem; color: var(--accent); transition: transform .3s var(--ease); }
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 44px 26px 0; color: var(--ink-soft); }

/* ============================================================
   FORM / CTA
   ============================================================ */
.cta-wrap { background: var(--dark); color: #F3F1EC; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 72px); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 880px){ .cta-grid { grid-template-columns: 1fr; } }
.cta-wrap .muted { color: #A6A39C; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: #CFCCC4; }
.field input, .field select {
  width: 100%; font: inherit; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: .85em 1em; transition: border-color .2s, background .2s;
}
.field input::placeholder { color: #8A877F; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.1); }
.field select option { color: #111; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: #A6A39C; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.form .btn--accent { margin-top: 6px; }
.form-status { font-size: .9rem; min-height: 1.2em; }
.form-status.ok { color: #6BD68A; }
.form-status.err { color: #FF8A6B; }

/* light form (on pages) */
.form--light input, .form--light select { color: var(--ink); background: #fff; border-color: var(--line); }
.form--light input::placeholder { color: #9b988f; }
.form--light .field label, .form--light .consent { color: var(--ink-soft); }
.form--light .consent a { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: #C9C6BE; padding-top: clamp(56px, 7vw, 96px); padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #F3F1EC; font-size: 1.4rem; margin-bottom: 14px; }
.footer-brand p { max-width: 36ch; font-size: .95rem; }
.footer-col h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #807D75; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: #C9C6BE; font-size: .96rem; padding-block: 6px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; padding-top: 28px; font-size: .82rem; color: #807D75; }
.footer-bottom a { color: #807D75; } .footer-bottom a:hover { color: #fff; }
.footer-req { font-size: .82rem; color: #807D75; line-height: 1.7; margin-top: 18px; max-width: 60ch; }

/* ============================================================
   LEGAL / TEXT PAGES
   ============================================================ */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 8px; }
.doc .doc-date { color: var(--ink-soft); margin-bottom: 36px; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.doc h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.7; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc ul li { list-style: disc; } .doc ol li { list-style: decimal; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.doc strong { color: var(--ink); }

/* breadcrumbs */
.crumbs { font-size: .85rem; color: var(--ink-soft); padding-top: 24px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin-inline: 6px; }

/* page hero (inner) */
.page-hero { padding-top: clamp(40px,5vw,72px); padding-bottom: clamp(28px,4vw,48px); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 18px; max-width: 60ch; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* utilities */
.mt-s{margin-top:12px;} .mt-m{margin-top:24px;} .mt-l{margin-top:40px;}
.maxw-md{max-width:680px;} .maxw-sm{max-width:520px;}
.hr { height:1px; background: var(--line); border:none; }
