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

:root {
  --brand-green: #007549;
  --brand-green-dark: #005a38;
  --brand-green-soft: #dceee6;
  --brand-gold: #CB9800;
  --page: #f2f7f4;
  --surface: #ffffff;
  --surface-soft: #eaf3ee;
  --text: #173b30;
  --muted: #587067;
  --line: rgba(7, 83, 61, .14);
  --shadow-sm: 0 6px 18px rgba(16, 64, 49, .07);
  --shadow-md: 0 16px 38px rgba(16, 64, 49, .10);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --header-height: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 16px/1.62 "Segoe UI", Arial, sans-serif;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: var(--brand-green); text-underline-offset: .18em; }
a:hover { color: var(--brand-green-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
[id] { scroll-margin-top: calc(var(--header-height) + 24px); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -90px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--brand-green-dark);
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #d49b00; outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 248, .94);
  border-bottom: 1px solid rgba(7, 83, 61, .08);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 1 auto;
  color: var(--text);
  text-decoration: none;
}
.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
}
.brand span { min-width: 0; }
.brand small, .brand strong { display: block; }
.brand small {
  margin-bottom: 1px;
  color: var(--brand-green);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.brand strong {
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.25;
  white-space: nowrap;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.desktop-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 10px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.25;
  text-decoration: none;
}
.desktop-nav a:hover,
.desktop-nav a.active,
.desktop-nav a[aria-current="page"] {
  color: var(--brand-green-dark);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button.primary {
  background: var(--brand-green);
  color: #fff;
  box-shadow: 0 7px 16px rgba(8, 119, 84, .18);
}
.button.primary:hover { background: #066b4b; color: #fff; transform: translateY(-1px); }
.button.secondary {
  background: var(--surface);
  color: var(--brand-green-dark);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.button.secondary:hover { border-color: rgba(8, 119, 84, .34); transform: translateY(-1px); }
.button:active { transform: translateY(1px); box-shadow: none; }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.header-cta { flex: 0 0 auto; min-height: 46px; padding-inline: 17px; font-size: 13.5px; white-space: nowrap; }

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  flex: 0 0 48px;
  margin-left: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--brand-green-dark); border-radius: 2px; }
.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 49;
  max-height: calc(100svh - var(--header-height));
  overflow: auto;
  padding: 14px max(20px, calc((100% - 1180px) / 2));
  background: #f7faf8;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(16, 64, 49, .12);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--surface-soft); color: var(--brand-green-dark); }

h1, h2, h3 {
  margin: 0 0 .55em;
  color: var(--brand-green-dark);
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.55rem, 4vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3vw, 3.15rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.22rem, 1.65vw, 1.5rem); }
p { margin: 0 0 1em; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.lead { max-width: 650px; color: var(--muted); font-size: clamp(1.08rem, 1.35vw, 1.24rem); line-height: 1.58; }
.muted { color: var(--muted); }

.hero { padding: clamp(52px, 7vw, 88px) 0 46px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(310px, .84fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}
.hero h1 { max-width: 24ch; margin-bottom: 22px; font-size: clamp(2.4rem, 3.45vw, 3.65rem); line-height: 1.06; }
.hero .actions { margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.supporting { max-width: 660px; margin-bottom: 0; color: var(--muted); }
.math-visual {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(0, 117, 73, .10);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(0, 117, 73, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 117, 73, .065) 1px, transparent 1px),
    rgba(255, 255, 255, .58);
  background-size: 32px 32px;
  box-shadow: var(--shadow-md);
}
.formula { position: absolute; right: 8%; top: 8%; color: var(--brand-gold); font: italic clamp(18px, 2vw, 28px) Georgia, serif; }
.axis { position: absolute; background: rgba(0, 117, 73, .43); }
.axis-x { left: 8%; right: 8%; top: 65%; height: 2px; }
.axis-y { top: 13%; bottom: 8%; left: 35%; width: 2px; }
.curve { position: absolute; left: 15%; top: 16%; width: 70%; height: 70%; border-bottom: 5px solid var(--brand-green); border-radius: 50%; transform: rotate(-12deg); }
.point { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-gold); box-shadow: 0 0 0 7px rgba(203, 152, 0, .15); }
.p1 { left: 34%; top: 63%; }
.p2 { right: 20%; top: 37%; }
.practice-map {
  width: min(100%, 430px);
  justify-self: end;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.practice-map-label { margin-bottom: 8px; color: var(--brand-green); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.practice-map-title { margin-bottom: 22px; color: var(--brand-green-dark); font: 700 clamp(1.55rem, 2.3vw, 2rem)/1.2 "PT Serif", Georgia, serif; }
.practice-map-list { display: grid; gap: 10px; }
.practice-map-item { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface-soft); }
.practice-map-item > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-green); color: #fff; font-weight: 800; }
.practice-map-item p { margin: 0; line-height: 1.35; }
.practice-map-item strong, .practice-map-item small { display: block; }
.practice-map-item strong { margin-bottom: 2px; color: var(--brand-green-dark); font-size: 15px; }
.practice-map-item small { color: var(--muted); font-size: 13px; }
.trust-strip {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-sm);
  font-size: 15px;
}
.trust-strip > * { position: relative; min-height: 92px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 18px 18px 18px 48px; border-right: 1px solid var(--line); color: var(--text); line-height: 1.35; text-decoration: none; }
.trust-strip > *:last-child { border-right: 0; }
.trust-strip > *::before { content: "✓"; position: absolute; left: 20px; top: 50%; color: var(--brand-gold); font-size: 19px; font-weight: 900; transform: translateY(-50%); }
.trust-strip strong { display: block; margin-bottom: 3px; color: var(--brand-green-dark); font-size: 15.5px; }
.trust-strip span { color: var(--muted); font-size: 13.5px; }
.trust-strip a:hover { background: rgba(255,255,255,.7); color: var(--brand-green-dark); }

.section { padding: clamp(44px, 3.5vw, 58px) 0; }
.section.alt { background: rgba(255, 255, 255, .52); }
.section-header { max-width: 780px; margin-bottom: 34px; }
.section-header > :last-child { margin-bottom: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.six-card-grid { grid-template-columns: repeat(3, 1fr); }
.audience-grid .card { display: flex; align-items: center; min-height: 118px; color: var(--brand-green-dark); font-family: "PT Serif", Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1.3; }
.situations-grid, .five-card-grid { grid-template-columns: repeat(6, 1fr); }
.situations-grid > *, .five-card-grid > * { grid-column: span 2; }
.situations-grid > *:nth-last-child(2), .five-card-grid > *:nth-last-child(2) { grid-column: 2 / span 2; }
.situations-grid > *:last-child, .five-card-grid > *:last-child { grid-column: 4 / span 2; }
.card,
.content-card,
.form-card,
.official-nav,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card { min-width: 0; padding: clamp(22px, 2.3vw, 30px); }
.card p:last-child, .content-card > :last-child { margin-bottom: 0; }
.card .tag, .tag { display: inline-flex; margin-bottom: 12px; color: var(--brand-green); font-size: 12px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.content-card, .form-card { padding: clamp(26px, 4vw, 48px); }
.content-card + .content-card { margin-top: 24px; }
.accent-block {
  position: relative;
  padding: clamp(28px, 4.5vw, 54px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: clamp(1.04rem, 1.45vw, 1.18rem);
}
.accent-block::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--brand-gold); }
.accent-block > :last-child { margin-bottom: 0; }
.grid + .accent-block { margin-top: 24px; }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 20px; left: 24px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-green); color: #fff; font-weight: 800; }
.diagnosis { margin-top: 20px; }
.results .card { border-top: 4px solid var(--brand-gold); }

.official-band { background: var(--brand-green-dark); color: #fff; }
.official-band h2 { color: #fff; }
.official-band .card { border-color: rgba(255, 255, 255, .12); color: var(--text); box-shadow: 0 15px 34px rgba(0, 35, 25, .22); }
.official-band .card a { color: var(--brand-green-dark); font-weight: 700; }
.official-band .card a:hover { color: var(--brand-green); }

details { margin: 14px 0; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); }
summary { min-height: 62px; display: flex; align-items: center; padding: 12px 22px; color: var(--text); font-weight: 750; cursor: pointer; }
details > p { padding: 0 22px 22px; }
.contact-panel { max-width: 880px; margin: auto; text-align: center; }
.contact-panel .actions { justify-content: center; }
.messenger-fallback { display: inline-block; margin-top: 8px; }
.messenger-note { color: var(--brand-green-dark); font-weight: 700; }

.form-card { max-width: 780px; margin: 34px auto 0; }
.form-card.attention { border-color: rgba(203, 152, 0, .55); box-shadow: 0 0 0 4px rgba(203, 152, 0, .13), var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; }
input, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(7, 83, 61, .22); border-radius: 11px; background: #fbfdfc; color: var(--text); }
textarea { min-height: 130px; resize: vertical; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; }
.checkbox input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-status { min-height: 28px; margin-top: 12px; font-weight: 700; }

.site-footer { padding: 54px 0 28px; background: #dfeae4; border-top: 1px solid rgba(7, 83, 61, .08); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) 1fr 1fr; gap: 34px; }
.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.footer-logo { width: 104px; height: 104px; flex: 0 0 104px; object-fit: contain; }
.footer-title { margin: 0; font: 700 21px/1.3 "PT Serif", Georgia, "Times New Roman", serif; }
.footer-legal { margin: 0; font-style: normal; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links a { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(7, 83, 61, .14); color: var(--muted); font-size: 14px; }

.cookie-banner { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; max-width: 860px; margin: auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 14px 38px rgba(0, 45, 32, .18); font-size: 14px; line-height: 1.42; }
.cookie-banner p { margin-bottom: 10px; }
.cookie-banner[hidden] { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button { border: 0; }

.official-page, .document-page { padding: 42px 0 78px; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.document-subnav { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.document-subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 700; }
.official-page > .container > h1 { max-width: 980px; font-size: clamp(2.3rem, 3.8vw, 3.7rem); }
.updated { margin: -4px 0 24px; color: var(--muted); font-size: 13px; }
.official-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.official-layout > * { min-width: 0; }
.official-nav { position: sticky; top: calc(var(--header-height) + 20px); padding: 14px; }
.document-page .document-official-nav { position: static; margin: 0 0 24px; }
.document-page .document-official-nav summary { display: flex; }
.document-page .document-official-nav .official-links { display: none !important; padding: 0 10px 12px; }
.document-page .document-official-nav.is-expanded .official-links { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.official-nav summary { display: none; }
.official-links { display: grid; gap: 3px; }
.official-links a { padding: 8px 10px; border-radius: 9px; color: var(--text); font-size: 13px; line-height: 1.35; text-decoration: none; }
.official-links a.active, .official-links a[aria-current="page"], .official-links a:hover { background: var(--surface-soft); color: var(--brand-green-dark); }
.official-content { min-width: 0; }
.official-content > .content-card:first-child { margin-top: 0; }
.official-content h2 { font-size: clamp(1.7rem, 2.5vw, 2.35rem); }
.data-list { display: grid; grid-template-columns: minmax(200px, .42fr) 1fr; margin: 0; }
.data-list dt, .data-list dd { margin: 0; padding: 14px 15px; border-bottom: 1px solid var(--line); }
.data-list dt { font-weight: 750; }
.data-list dd:last-child, .data-list dt:nth-last-child(2) { border-bottom: 0; }
.table-scroll { max-width: 100%; margin: 22px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; font-size: 14px; }
th, td { padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--surface-soft); }
tr:last-child > * { border-bottom: 0; }
tr > *:last-child { border-right: 0; }
.document-page .content-card { max-width: 940px; margin: auto; }
.document-page h1 { font-size: clamp(2.25rem, 4vw, 3.6rem); }
.document-page h2 { margin-top: 1.8em; font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
.legal-document { width: 100%; max-width: none !important; }
.legal-document h1 { max-width: none; margin-top: 24px; font-size: clamp(1.8rem, 2.5vw, 2.5rem); line-height: 1.16; }
.legal-document h2 { padding-top: 22px; border-top: 1px solid var(--line); }
.legal-document h3 { margin-top: 1.6em; }
.legal-document .document-appendix-title { margin-top: 2.4em; padding: 22px 20px 18px; border-top: 4px solid var(--brand-gold); border-radius: 12px 12px 0 0; background: var(--surface-soft); }
.legal-document p, .legal-document li { max-width: none; }
.legal-document li + li { margin-top: 8px; }
.legal-document ul, .legal-document ol { padding-left: 24px; }
.approval-block { width: min(100%, 540px); margin: 4px 0 28px auto; padding: 18px 22px; border-left: 4px solid var(--brand-gold); background: var(--surface-soft); }
.approval-block p { margin: 0; }
.document-toc { margin: 26px 0 34px; box-shadow: none; }
.document-toc nav { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 0 20px 20px; }
.document-toc a { min-height: 40px; display: flex; align-items: center; padding: 6px 8px; border-radius: 8px; color: var(--text); text-decoration: none; }
.document-toc a:hover { background: var(--surface-soft); color: var(--brand-green-dark); }
.legal-table table { min-width: 760px; }
.document-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.document-link-card { min-height: 116px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-soft); color: var(--text); text-decoration: none; }
.document-link-card strong { margin-bottom: 5px; color: var(--brand-green-dark); font: 700 18px/1.3 "PT Serif", Georgia, serif; }
.document-link-card span { color: var(--muted); font-size: 14px; }
.document-link-card:hover { border-color: rgba(0,117,73,.35); background: #fff; }
.program-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 26px 0 38px; }
.program-card { padding: clamp(20px, 3vw, 30px); }
.program-card h2 { margin-top: 0; }
.program-kind { color: var(--brand-green-dark); font-weight: 700; }
.program-facts { display: grid; grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr); margin: 22px 0; }
.program-facts dt, .program-facts dd { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.program-facts dt { font-weight: 750; }
.program-facts dd { overflow-wrap: anywhere; }
.program-facts dt:nth-last-child(2), .program-facts dd:last-child { border-bottom: 0; }
.notice { padding: 18px 20px; background: #fff8e7; box-shadow: none; }
.noindex-note { padding: 15px 18px; border: 1px solid rgba(189, 135, 0, .2); border-radius: 11px; background: #fff8e7; }
.error-page { padding: 90px 20px; text-align: center; }
.error-code { color: rgba(8, 119, 84, .14); font: 800 clamp(5rem, 18vw, 12rem)/1 "PT Serif", Georgia, serif; }

@media (max-width: 1120px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: 42px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > *:nth-child(2) { border-right: 0; }
  .trust-strip > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 980px) {
  .official-layout { grid-template-columns: 1fr; }
  .official-nav { position: static; padding: 0; overflow: hidden; }
  .official-nav summary { display: flex; padding: 12px 18px; }
  .official-links { display: none; padding: 0 10px 12px; }
  .official-nav[open] .official-links { display: grid; }
  .situations-grid, .five-card-grid { grid-template-columns: repeat(2, 1fr); }
  .six-card-grid { grid-template-columns: repeat(2, 1fr); }
  .situations-grid > *, .situations-grid > *:nth-last-child(2), .situations-grid > *:last-child, .five-card-grid > *, .five-card-grid > *:nth-last-child(2), .five-card-grid > *:last-child { grid-column: auto; }
  .situations-grid > *:last-child, .five-card-grid > *:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-height: 70px; }
  .container { width: min(100% - 28px, 1180px); }
  .program-facts { grid-template-columns: 1fr; }
  .program-facts dt { padding-bottom: 4px; border-bottom: 0; }
  .program-facts dd { padding-top: 0; }
  .brand-logo { width: 44px; height: 44px; flex-basis: 44px; }
  .brand small { font-size: 9px; }
  .brand strong { max-width: 210px; overflow: hidden; font-size: 15px; line-height: 1.15; white-space: normal; }
  .hero { padding-top: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { max-width: none; font-size: clamp(1.45rem, 7vw, 2.15rem); line-height: 1.05; }
  .math-visual { width: min(100%, 520px); aspect-ratio: 1.6; justify-self: center; border-radius: 22px; }
  .practice-map { width: min(100%, 620px); justify-self: center; }
  .section { padding: 44px 0; }
  .situations-grid, .five-card-grid { grid-template-columns: 1fr; }
  .six-card-grid { grid-template-columns: 1fr; }
  .situations-grid > *:last-child, .five-card-grid > *:last-child { grid-column: auto; }
  .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .data-list { grid-template-columns: 1fr; }
  .document-index-grid, .document-toc nav { grid-template-columns: 1fr; }
  .document-page .document-official-nav.is-expanded .official-links { grid-template-columns: 1fr; }
  .data-list dt { padding-bottom: 3px; border-bottom: 0; }
  .data-list dd { padding-top: 3px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2rem, 10vw, 2.65rem); line-height: 1.08; }
  h2 { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .brand small { display: none; }
  .brand strong { max-width: 178px; }
  .actions { display: grid; }
  .actions .button { width: 100%; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > * { min-height: 76px; padding-block: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip > *:last-child { border-bottom: 0; }
  .footer-brand { align-items: flex-start; }
  .footer-logo { width: 82px; height: 82px; flex-basis: 82px; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; max-height: calc(100dvh - 16px); padding: 13px; overflow-y: auto; }
  .cookie-actions { display: grid; }
  .cookie-actions .button { width: 100%; }
}

@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand strong { max-width: 145px; font-size: 14px; }
  .brand-logo { width: 40px; height: 40px; flex-basis: 40px; }
  .menu-toggle { width: 46px; height: 46px; flex-basis: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
