:root {
  color-scheme: light;
  --ink: #1e2d36;
  --muted: #52636f;
  --brand: #284a62;
  --brand-dark: #1c374c;
  --line: #dce5e9;
  --paper: #ffffff;
  --wash: #f4f8fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand-dark); text-underline-offset: 0.16em; }
a:hover { color: #0a608d; }
a:focus-visible { outline: 3px solid #1679ad; outline-offset: 4px; border-radius: 3px; }

.shell { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--brand-dark); color: white; }
.skip-link:focus { top: 12px; color: white; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 750; letter-spacing: -0.02em; text-decoration: none; line-height: 1.2; }
.brand:hover { color: var(--brand-dark); }
.brand-mark { display: inline-grid; place-items: center; flex: none; width: 35px; height: 35px; border-radius: 9px; background: var(--brand); color: white; font-size: 1.25rem; font-weight: 700; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.site-header nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 0.92rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, .site-header nav a.current { background: var(--wash); color: var(--brand-dark); }

.hero { padding: 64px 0 46px; border-bottom: 1px solid var(--line); }
.eyebrow, .section-tag { color: var(--brand); font-size: 0.77rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.eyebrow { margin: 0 0 14px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 17px; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.055em; line-height: 1.07; }
.lead { max-width: 730px; margin-bottom: 21px; color: #394e5b; font-size: clamp(1.08rem, 2.2vw, 1.27rem); line-height: 1.55; }
.updated { margin-bottom: 0; color: var(--muted); font-size: 0.88rem; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 40px; }
.highlight { min-height: 174px; padding: 21px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--wash); }
.highlight-number { display: block; margin-bottom: 9px; color: #568097; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.highlight h2 { margin-bottom: 6px; font-size: 1rem; line-height: 1.3; }
.highlight p { margin-bottom: 0; color: var(--muted); font-size: 0.91rem; line-height: 1.55; }

.content-layout { display: grid; grid-template-columns: 210px minmax(0, 710px); gap: clamp(36px, 8vw, 100px); align-items: start; padding-bottom: 95px; }
.deletion-layout { padding-top: 46px; }
.toc { position: sticky; top: 24px; display: grid; gap: 8px; padding-top: 11px; }
.toc-title { margin-bottom: 6px; color: var(--ink); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.toc a { color: var(--muted); font-size: 0.9rem; line-height: 1.3; text-decoration: none; }
.toc a:hover { color: var(--brand-dark); text-decoration: underline; }
.policy section { padding: 28px 0 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.policy section:first-child { padding-top: 0; }
.policy section:last-child { border-bottom: 0; }
.policy h2 { margin-bottom: 15px; font-size: clamp(1.45rem, 2.5vw, 1.8rem); letter-spacing: -0.035em; line-height: 1.3; }
.policy p { margin-bottom: 14px; color: #334651; }
.policy p:last-child { margin-bottom: 0; }
.policy em { font-style: normal; font-weight: 650; }
.section-tag { display: inline-block; margin-bottom: 8px; }
.steps { padding-left: 1.5em; color: #334651; }
.steps li { padding-left: 0.3em; margin-bottom: 10px; }

.site-footer { border-top: 1px solid var(--line); background: var(--wash); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 29px 0; color: var(--muted); font-size: 0.84rem; }
.footer-inner a { color: var(--brand-dark); }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 620px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px 0; }
  .site-header nav { margin-left: -12px; }
  .hero { padding: 47px 0 36px; }
  .highlights { grid-template-columns: 1fr; gap: 9px; margin-bottom: 12px; }
  .highlight { min-height: 0; padding: 16px 18px; }
  .content-layout { display: block; padding-bottom: 55px; }
  .deletion-layout { padding-top: 18px; }
  .toc { position: static; display: none; }
  .policy section { padding: 26px 0; }
  .footer-inner { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
