:root {
  --ink: #171817;
  --ink-soft: #4c4f4b;
  --paper: #f5f3ee;
  --paper-deep: #ebe8e0;
  --white: #fffefb;
  --red: #ed3f3b;
  --red-dark: #c92e2a;
  --mint: #c8f4d8;
  --line: rgba(23, 24, 23, .14);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --shadow: 0 28px 80px rgba(30, 24, 19, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition: transform 160ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.announcement { background: var(--ink); color: rgba(255, 255, 255, .76); font-size: 13px; }
.announcement .shell { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.announcement b { color: white; font-weight: 600; }

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 238, .92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 20px/1 "Manrope", sans-serif; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--red);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.brand-mark img { width: 23px; height: 23px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--ink-soft); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.phone { font-size: 14px; font-weight: 600; white-space: nowrap; }
.button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 150ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}
.button:active { transform: scale(.97); }
.button-primary { background: var(--red); color: white; }
.button-dark { background: var(--ink); color: white; }
.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .38);
  display: none;
  place-items: center;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background-color 180ms ease;
}
.mobile-menu-toggle:active { transform: scale(.96); }
.mobile-menu-toggle:focus-visible { outline: 2px solid rgba(237, 63, 59, .42); outline-offset: 3px; }
.menu-icon { width: 19px; height: 14px; position: relative; display: block; }
.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 180ms var(--ease-out), top 180ms var(--ease-out), opacity 120ms ease;
}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 6px; }
.menu-icon span:nth-child(3) { top: 12px; }
.mobile-menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.mobile-nav {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: rgba(245, 243, 238, .99);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(30, 24, 19, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: transform 200ms var(--ease-out), opacity 160ms ease, visibility 0s linear 200ms;
}
.mobile-nav[data-open="true"] { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.mobile-nav-inner { padding-block: 8px 22px; }
.mobile-nav-links { display: grid; }
.mobile-nav-links a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font: 600 18px/1.2 "Manrope", sans-serif;
  letter-spacing: -.02em;
}
.mobile-nav-links a::after { content: "→"; color: #858781; font-size: 16px; }
.mobile-nav-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; }
.mobile-nav-phone { font-size: 15px; font-weight: 700; white-space: nowrap; }

.content-main { overflow: clip; }
.article-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 118px; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; color: #777a75; font-size: 13px; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs span[aria-hidden] { color: #aaa9a3; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 780px); gap: 80px; justify-content: center; padding-top: 72px; }
.article-aside { min-width: 0; }
.toc-card { position: sticky; top: 142px; padding-top: 6px; }
.toc-label { display: block; margin-bottom: 15px; color: #858781; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.toc { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { padding: 7px 0 7px 16px; color: #777a75; font-size: 13px; line-height: 1.35; transition: color 160ms ease, border-color 160ms ease; border-left: 2px solid transparent; margin-left: -1px; }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--red); font-weight: 600; }

.article-body { min-width: 0; }
.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article-kicker::before { content: ""; width: 24px; height: 2px; background: var(--red); }
.article-body h1 {
  margin: 22px 0 34px;
  font: 600 clamp(44px, 5.3vw, 70px)/1.02 "Manrope", sans-serif;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.article-body h1 + p { margin-bottom: 42px; color: var(--ink-soft); font-size: 21px; line-height: 1.62; }
.article-body h2, .article-body h3, .article-body h4 { font-family: "Manrope", sans-serif; text-wrap: balance; scroll-margin-top: 120px; }
.article-body h2 { margin: 72px 0 22px; font-size: 36px; line-height: 1.14; letter-spacing: -.035em; }
.article-body h3 { margin: 48px 0 18px; font-size: 26px; line-height: 1.25; letter-spacing: -.025em; }
.article-body h4 { margin: 36px 0 14px; font-size: 20px; }
.article-body p, .article-body li { font-size: 18px; line-height: 1.74; }
.article-body p { margin: 0 0 24px; }
.article-body strong { font-weight: 700; }
.article-body a:not(.button) { color: var(--red-dark); text-decoration: underline; text-decoration-color: rgba(201, 46, 42, .32); text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 24px 0 32px; padding-left: 28px; }
.article-body li { padding-left: 7px; margin-bottom: 10px; }
.article-body li::marker { color: var(--red); font-weight: 700; }
.article-body blockquote {
  margin: 42px 0;
  padding: 28px 32px;
  border: 0;
  border-left: 3px solid var(--red);
  border-radius: 0 16px 16px 0;
  background: var(--paper-deep);
  color: var(--ink-soft);
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body > img, .article-body p > img {
  width: 100%;
  height: auto;
  margin: 44px 0 46px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.article-body img[src$="#width40"] { width: min(40%, 300px); margin-left: auto; margin-right: auto; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 15px; }
.article-body th, .article-body td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { font-family: "Manrope", sans-serif; }
.article-body pre { overflow-x: auto; padding: 20px; border-radius: 14px; background: var(--ink); color: white; }
.article-body code { font-size: .88em; }
.article-cta { padding: 0 0 106px; }
.cta-box {
  min-height: 410px;
  border-radius: 26px;
  background: var(--ink);
  color: white;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-items: end;
  gap: 64px;
  overflow: hidden;
  position: relative;
}
.cta-box::after { content: "E"; position: absolute; right: -10px; top: -104px; color: rgba(255, 255, 255, .035); font: 700 470px/1 Georgia; pointer-events: none; }
.cta-kicker { display: block; margin-bottom: 18px; color: rgba(255, 255, 255, .52); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cta-box h2 { margin: 0; position: relative; z-index: 2; font: 600 clamp(38px, 4.6vw, 62px)/1.04 "Manrope", sans-serif; letter-spacing: -.05em; }
.cta-side { position: relative; z-index: 2; }
.cta-side p { margin: 0 0 24px; color: rgba(255, 255, 255, .62); font-size: 16px; line-height: 1.6; }
.cta-side .button { width: 100%; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 42px; }
.footer-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 46px; align-items: start; }
.footer-copy { color: var(--ink-soft); font-size: 12px; line-height: 1.5; margin-top: 16px; }
.footer-col { display: grid; gap: 9px; font-size: 13px; }
.footer-col b { margin-bottom: 4px; color: #83857f; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover, .breadcrumbs a:hover { color: var(--ink); }
  .button-primary:hover { background: var(--red-dark); }
  .button-dark:hover { background: #2a2c2a; }
  .mobile-menu-toggle:hover { background: white; }
  .footer-col a:hover { color: var(--red-dark); }
}

@media (max-width: 980px) {
  .nav-links, .phone { display: none; }
  .mobile-menu-toggle { display: grid; }
  .footer-row { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 0; max-width: 780px; margin: 0 auto; padding-top: 58px; }
  .article-aside { display: none; }
  .cta-box { grid-template-columns: 1fr; gap: 34px; padding: 48px; }
}

@media (max-width: 680px) {
  .shell, .article-shell { width: min(100% - 28px, 1180px); }
  .announcement { display: none; }
  .site-header { height: 68px; }
  .nav { gap: 12px; }
  .nav-actions { gap: 10px; }
  .nav-actions .button { min-height: 40px; padding: 0 13px; }
  .article-shell { padding-top: 22px; padding-bottom: 78px; }
  .article-layout { padding-top: 46px; }
  .article-body h1 { margin-top: 18px; font-size: clamp(40px, 12vw, 56px); }
  .article-body h1 + p { font-size: 18px; line-height: 1.62; margin-bottom: 34px; }
  .article-body h2 { margin-top: 58px; font-size: 30px; }
  .article-body h3 { font-size: 24px; }
  .article-body p, .article-body li { font-size: 17px; line-height: 1.7; }
  .article-body > img, .article-body p > img { margin: 34px 0 38px; border-radius: 15px; }
  .article-body img[src$="#width40"] { width: min(70%, 280px); }
  .article-body blockquote { margin: 34px 0; padding: 24px; }
  .article-cta { padding-bottom: 76px; }
  .cta-box { min-height: 470px; padding: 34px 26px; }
  .footer-row { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .site-header .nav-actions > .button { display: none; }
  .mobile-nav-footer { align-items: stretch; flex-direction: column; }
  .mobile-nav-footer .button { width: 100%; }
  .article-body h1 { font-size: 37px; }
  .article-body table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
