
:root {
  --ink: #111116;
  --paper: #fffdf2;
  --yellow: #ffe72e;
  --cyan: #31d1ff;
  --pink: #ff4fbd;
  --lime: #a7ff38;
  --orange: #ff8a22;
  --violet: #6b5cff;
  --muted: #5a5965;
  --line: 4px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 4px; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 4px solid var(--violet); outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 999; background: #fff; border: var(--line); padding: 12px 16px; font-weight: 900; }
.skip-link:focus { top: 16px; }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--yellow); border-bottom: var(--line); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 1000; letter-spacing: -0.045em; font-size: clamp(1.15rem, 2vw, 1.65rem); }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: #fff; border: 3px solid #fff; box-shadow: 4px 4px 0 var(--pink); transform: rotate(-2deg); }
.desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav a, .mobile-nav a { font-weight: 900; text-decoration: none; padding: 10px 11px; border: 2px solid transparent; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"], .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: #fff; border-color: var(--ink); }
.nav-cta { background: var(--cyan)!important; border: 2px solid var(--ink)!important; box-shadow: 3px 3px 0 var(--ink); }
.menu-button { display: none; appearance: none; background: var(--cyan); border: 3px solid var(--ink); padding: 8px 12px; font-weight: 1000; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.mobile-nav { display: none; border-top: 3px solid var(--ink); padding: 12px 0 18px; }
.mobile-nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.site-main { min-height: 70vh; }
.hero { background: linear-gradient(135deg, var(--yellow), var(--lime) 45%, var(--cyan)); border-bottom: var(--line); overflow: hidden; }
.hero-grid { min-height: 700px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 54px; padding-block: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--pink); border: 3px solid var(--ink); padding: 7px 12px; font-weight: 1000; letter-spacing: .09em; text-transform: uppercase; font-size: .78rem; box-shadow: 4px 4px 0 var(--ink); }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.035em; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.3rem); margin: 24px 0 24px; font-weight: 1000; }
h2 { font-size: clamp(2rem, 4.3vw, 3.45rem); font-weight: 1000; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); font-weight: 950; }
.hero h1 { text-shadow: 4px 4px 0 #fff, 8px 8px 0 var(--pink); }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 65ch; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 1000; padding: 13px 18px; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.button-primary { background: var(--pink); }
.button-secondary { background: #fff; }
.button-cyan { background: var(--cyan); }
.hero-art { position: relative; }
.hero-art img { border: 6px solid var(--ink); box-shadow: 14px 14px 0 var(--pink); transform: rotate(1.5deg); }
.hero-note { position: absolute; right: -18px; bottom: -24px; background: #fff; border: 4px solid var(--ink); padding: 14px; max-width: 270px; font-weight: 900; transform: rotate(-2deg); box-shadow: 6px 6px 0 var(--ink); }
.ticker { overflow: hidden; background: var(--ink); color: #fff; border-bottom: var(--line); }
.ticker-track { display: flex; gap: 30px; width: max-content; padding: 11px 0; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; animation: ticker 34s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.section { padding: 86px 0; border-bottom: var(--line); }
.section-tight { padding: 58px 0; }
.section-yellow { background: var(--yellow); }
.section-cyan { background: var(--cyan); }
.section-pink { background: var(--pink); }
.section-lime { background: var(--lime); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .card { color: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head p { max-width: 58ch; margin: 0; font-weight: 650; }
.kicker { font-weight: 1000; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border: var(--line); padding: 26px; box-shadow: 8px 8px 0 var(--ink); }
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; height: 100%; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.card-link:hover { transform: translate(4px,4px); box-shadow: 4px 4px 0 var(--ink); }
.metric-card { min-height: 260px; position: relative; overflow: hidden; }
.metric-number { font-size: 4rem; font-weight: 1000; line-height: 1; color: var(--violet); }
.metric-chip { display: inline-block; background: var(--yellow); border: 2px solid var(--ink); padding: 4px 8px; font-weight: 900; font-size: .78rem; text-transform: uppercase; }
.score-bar { height: 18px; border: 3px solid var(--ink); background: #fff; margin-top: 15px; }
.score-bar > span { display: block; height: 100%; background: var(--pink); border-right: 3px solid var(--ink); }
.method-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.method-list { display: grid; gap: 14px; }
.method-row { display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: center; background: #fff; border: 3px solid var(--ink); padding: 15px; }
.method-row strong { display: grid; place-items: center; width: 62px; height: 62px; background: var(--yellow); border: 3px solid var(--ink); font-size: 1.2rem; }
.notice { background: #fff; border: var(--line); box-shadow: 8px 8px 0 var(--ink); padding: 24px; }
.notice strong { font-weight: 1000; }
.blog-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.blog-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: var(--line); }
.blog-card-body { padding: 23px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.5rem; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .86rem; font-weight: 800; color: #3d3c46; }
.badge { display: inline-flex; background: var(--lime); border: 2px solid var(--ink); padding: 3px 8px; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 1000; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: #fff; border: 2px solid var(--ink); padding: 5px 8px; font-size: .78rem; font-weight: 900; text-decoration: none; }
.tag:hover { background: var(--yellow); }
.page-hero { background: linear-gradient(120deg, var(--cyan), var(--lime)); border-bottom: var(--line); padding: 74px 0 64px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 16ch; }
.page-hero p { max-width: 68ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 850; font-size: .88rem; margin-bottom: 22px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span[aria-current] { opacity: .68; }
.prose { font-size: 1.06rem; }
.prose > * { max-width: 76ch; }
.prose h2, .prose h3 { margin-top: 2.4em; margin-bottom: .65em; }
.prose p { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .55em; }
.prose a { font-weight: 850; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.prose-wide > * { max-width: none; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 42px; align-items: start; }
.sidebar { position: sticky; top: 112px; display: grid; gap: 18px; }
.sidebar .card { box-shadow: 6px 6px 0 var(--ink); padding: 20px; }
.sidebar h2, .sidebar h3 { font-size: 1.25rem; }
.check-list { list-style: none; padding: 0!important; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 23px; height: 23px; background: var(--lime); border: 2px solid var(--ink); font-weight: 1000; }
.table-wrap { overflow-x: auto; border: var(--line); background: #fff; box-shadow: 7px 7px 0 var(--ink); }
table { border-collapse: collapse; width: 100%; min-width: 680px; }
th, td { text-align: left; padding: 14px; border-bottom: 2px solid var(--ink); border-right: 2px solid var(--ink); vertical-align: top; }
th { background: var(--yellow); font-weight: 1000; }
tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }
.faq { display: grid; gap: 14px; }
details { background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 1000; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 11px; font-size: 2rem; }
details[open] summary::after { content: "−"; }
details > div { padding: 0 20px 20px; }
.article-hero { background: linear-gradient(135deg, var(--yellow), var(--pink)); border-bottom: var(--line); padding: 62px 0; }
.article-hero-grid { display: grid; grid-template-columns: 1.05fr .75fr; gap: 46px; align-items: center; }
.article-hero h1 { font-size: clamp(2.65rem, 5.4vw, 5rem); }
.article-hero img { border: 5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.article-wrap { padding: 70px 0 90px; }
.article-body { font-size: 1.1rem; }
.article-body h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); margin-top: 2.2em; }
.article-body p { margin-bottom: 1.35em; }
.article-body a { font-weight: 900; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.article-callout { background: var(--cyan); border: var(--line); padding: 22px; box-shadow: 7px 7px 0 var(--ink); margin: 34px 0; }
.article-footer-box { background: var(--yellow); border: var(--line); padding: 24px; margin-top: 48px; }
.author-box { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: center; }
.author-avatar { width: 70px; height: 70px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 1.7rem; font-weight: 1000; border: 4px solid var(--pink); }
.archive-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.site-footer { background: var(--ink); color: #fff; padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 34px; }
.footer-grid h2, .footer-grid h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #fff; }
.footer-brand p { color: #d7d5e3; max-width: 42ch; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 2px solid #4e4d56; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: #d7d5e3; font-size: .88rem; }
.empty-state { background: #fff; border: var(--line); padding: 28px; }
.code-block { background: var(--ink); color: #fff; border: 4px solid var(--violet); padding: 20px; overflow-x: auto; box-shadow: 7px 7px 0 var(--pink); }
.code-block code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.sitemap-list { columns: 2; column-gap: 36px; }
.sitemap-list li { break-inside: avoid; margin-bottom: 10px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; scroll-behavior: auto!important; }
}
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero-grid, .article-hero-grid, .method-grid, .split-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .hero-art { max-width: 760px; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 22px, var(--max)); }
  .nav-wrap { min-height: 72px; }
  .brand-mark { width: 39px; height: 39px; }
  .hero-grid { padding-block: 48px 72px; gap: 40px; }
  .hero-note { position: static; margin: 14px 0 0 auto; }
  .section { padding: 62px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-head, .archive-head { display: block; }
  .section-head p, .archive-head p { margin-top: 14px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-wrap { padding-top: 48px; }
  .sitemap-list { columns: 1; }
}
@media (max-width: 440px) {
  .mobile-nav.open { grid-template-columns: 1fr; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
