:root {
  --red: #e80c12;
  --red-700: #c8090e;
  --red-50: #fff1f2;
  --ink: #111214;
  --muted: #676b73;
  --line: #e9e9ec;
  --panel: #ffffff;
  --canvas: #f7f7f8;
  --soft: #f1f2f4;
  --success: #18794e;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 20px 70px rgba(17, 18, 20, .08);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,248,.88); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17,18,20,.06);
}
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.brand-mark { width: 44px; height: 44px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.02; }
.brand-name { font-size: 18px; font-weight: 850; letter-spacing: -.5px; }
.brand-edition { font-size: 11px; margin-top: 5px; color: var(--red); font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-links a { text-decoration: none; color: #41444a; font-size: 14px; font-weight: 650; padding: 10px 13px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.nav-cta { background: var(--ink) !important; color: #fff !important; }
.hero { padding: 82px 0 54px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -130px; top: -190px; background: radial-gradient(circle, rgba(232,12,18,.13), rgba(232,12,18,0) 68%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 42px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--red); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red); border-radius: 99px; }
h1 { font-size: clamp(44px, 6.6vw, 82px); line-height: .98; letter-spacing: -.065em; margin: 15px 0 22px; max-width: 880px; }
.hero p { color: #565960; font-size: clamp(17px, 2vw, 20px); max-width: 760px; margin: 0; }
.hero-meta { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.meta-row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.meta-row:last-child { border-bottom: 0; padding-bottom: 0; }
.meta-row:first-child { padding-top: 0; }
.meta-label { width: 88px; flex: 0 0 auto; color: #8a8d94; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.meta-value { font-size: 14px; font-weight: 650; }
.page-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 90px; }
.toc { position: sticky; top: 105px; padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.72); border-radius: var(--radius-md); }
.toc-title { margin: 0 0 8px; font-size: 12px; color: #9699a0; letter-spacing: .11em; text-transform: uppercase; font-weight: 850; }
.toc a { display: block; text-decoration: none; color: #62656c; font-size: 13px; font-weight: 650; padding: 8px 9px; border-radius: 9px; }
.toc a:hover { background: var(--red-50); color: var(--red-700); }
.content-stack { display: grid; gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); box-shadow: 0 12px 45px rgba(17,18,20,.035); }
.card h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.15; margin: 0 0 15px; }
.card h3 { font-size: 18px; letter-spacing: -.02em; margin: 28px 0 8px; }
.card p { color: #55585f; margin: 10px 0; }
.card ul, .card ol { color: #55585f; padding-left: 22px; }
.card li { padding: 4px 0; }
.callout { padding: 18px 20px; background: var(--red-50); border: 1px solid #ffd4d7; border-radius: 15px; color: #5e1a1c; margin: 20px 0; }
.callout strong { color: #2b1011; }
.info-callout { background: #f3f5f7; border-color: #e2e5e9; color: #464a51; }
.steps { counter-reset: steps; display: grid; gap: 14px; padding: 0; margin: 22px 0 0; }
.step { list-style: none; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fcfcfd; }
.step::before { counter-increment: steps; content: counter(steps); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 850; }
.step strong { display:block; margin-top: 5px; }
.step span { color: #666a71; font-size: 14px; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.data-item { border: 1px solid var(--line); background: #fcfcfd; border-radius: 16px; padding: 18px; }
.data-item b { display: block; margin-bottom: 5px; font-size: 15px; }
.data-item span { font-size: 13px; color: #676b72; }
.iconbox { width: 44px; height: 44px; border-radius: 14px; background: var(--red-50); display: grid; place-items: center; color: var(--red); margin-bottom: 17px; font-weight: 900; }
.action-band { background: var(--ink); color: #fff; border-radius: 30px; padding: clamp(28px,5vw,52px); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.action-band h2 { font-size: clamp(28px,4vw,44px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 10px; }
.action-band p { color: #bfc1c6; margin: 0; max-width: 650px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 13px 20px; background: var(--red); color: #fff; text-decoration: none; font-weight: 800; white-space: nowrap; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); background: #ff171d; }
.button.light { background: #fff; color: var(--ink); }
.button.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.support-tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.support-tile h3 { margin: 10px 0 5px; font-size: 17px; }
.support-tile p { margin: 0; font-size: 14px; color: #656970; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 2px; font-weight: 760; display: flex; justify-content: space-between; gap: 18px; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; color: var(--red); font-size: 22px; line-height: 1; }
details[open] summary::after { content:"–"; }
details p { padding: 0 34px 20px 2px; margin: 0; }
.contact-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; background: linear-gradient(135deg, #fff 0%, #fff5f5 100%); border: 1px solid #ffdadd; border-radius: 24px; padding: 28px; }
.contact-card h2 { margin-bottom: 7px; }
.placeholder { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--red-700); font-weight: 800; }
.warning { margin-top: 12px; color: #8a5e00; font-size: 13px; background: #fff9e8; border: 1px solid #f2dfae; border-radius: 12px; padding: 10px 12px; }
.site-footer { border-top: 1px solid var(--line); padding: 38px 0 44px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-brand { max-width: 520px; }
.footer-brand p { color: #777b82; font-size: 13px; margin: 12px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { font-size: 13px; text-decoration: none; color: #55585f; font-weight: 650; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #91949a; font-size: 12px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { max-width: 600px; }
  .page-grid { grid-template-columns: 1fr; }
  .toc { position: relative; top: auto; display: flex; gap: 5px; flex-wrap: wrap; }
  .toc-title { width: 100%; }
  .toc a { background:#fff; border:1px solid var(--line); }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .nav { height: 68px; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 58px 0 36px; }
  h1 { font-size: 48px; }
  .data-grid { grid-template-columns: 1fr; }
  .action-band, .contact-card { display: grid; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}
