/* Static SEO pages. Same neo-brutalist language as the landing page: cream graph paper, 3px black borders, hard shadows. */
:root {
  --cream: #fffbe5; --yellow: #ffcc00; --blue: #00a2ff; --pink: #ff2d55;
  --y-100: #fef3b0; --b-100: #cdeaff; --k-100: #ffd9e2;
  --bw: 3px; --shadow: 4px 4px 0 #000;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --display: 'Archivo Black', 'Space Mono', sans-serif;
  font-family: var(--mono); font-size: 16px; line-height: 1.65; color: #000; background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background-color: var(--cream); background-image: linear-gradient(rgba(0,0,0,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.07) 1px, transparent 1px); background-size: 50px 50px; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
code { font-family: var(--mono); font-weight: 700; font-size: .92em; background: var(--y-100); padding: 1px 5px; border: 1.5px solid #000; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
::selection { background: var(--yellow); }

.wrap { max-width: 880px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--yellow); border: var(--bw) solid #000; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: var(--bw) solid #000; }
.top .wrap { max-width: 1180px; }
.row { min-height: 64px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 8px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.6rem; letter-spacing: -.04em; text-decoration: none; line-height: 1; }
.brand { flex: none; display: flex; flex-direction: column; gap: 3px; }
.maker { white-space: nowrap; margin-left: 42px; font-size: .6875rem; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.maker i { font-style: normal; font-weight: 400; color: #3d3a30; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; font-size: .8125rem; font-weight: 700; }
.top nav a:not(.btn) { padding: 4px 8px; border: 2px solid transparent; text-decoration: none; }
.top nav a:not(.btn):hover { border-color: #000; background: var(--y-100); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; font-weight: 700; text-decoration: none; background: var(--blue); color: #fff; border: var(--bw) solid #000; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.btn.small { min-height: 38px; padding: 6px 14px; }

main { padding-block: 32px 72px; }
.crumbs { font-size: .8125rem; margin-bottom: 28px; }
.crumbs a { text-decoration: none; border-bottom: 2px solid var(--yellow); }
.crumbs span { font-weight: 700; }

.hero { margin-bottom: 40px; }
.kicker { display: inline-block; font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; background: var(--yellow); border: 2px solid #000; padding: 2px 10px; margin-bottom: 16px; transform: rotate(-1.5deg); }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5.4vw, 3.25rem); line-height: 1.08; letter-spacing: -.01em; }
.lede { margin-top: 20px; font-size: 1.125rem; max-width: 62ch; }

article section, .related, .cta { margin-top: 40px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 3.2vw, 1.85rem); line-height: 1.15; margin-bottom: 14px; padding-bottom: 8px; border-bottom: var(--bw) solid #000; }
h3 { font-size: 1.0625rem; margin: 22px 0 6px; }
article p + p, article p + ul, article p + ol, article p + .table-wrap, article p + pre, article ul + p, article .table-wrap + p, article pre + p { margin-top: 14px; }
article ul, article ol { margin-top: 12px; padding-left: 1.4em; }
article ul { list-style: square; }
article li + li { margin-top: 8px; }
article a { text-decoration: none; border-bottom: 2px solid var(--blue); font-weight: 700; }
article a:hover { background: var(--b-100); }

.table-wrap { overflow-x: auto; border: var(--bw) solid #000; background: #fff; box-shadow: var(--shadow); margin-top: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 2px solid #000; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { background: var(--y-100); }
tbody th { font-weight: 700; }
td + td, th + th, th + td { border-left: 2px solid #000; }

pre { margin: 14px 0 0; padding: 16px 18px; overflow-x: auto; background: #000; color: #fff; border: var(--bw) solid #000; box-shadow: var(--shadow); font-size: .875rem; line-height: 1.6; }
pre code { background: none; border: 0; padding: 0; font-weight: 400; }

.faq h3 { background: var(--b-100); border: 2px solid #000; padding: 8px 12px; margin: 14px 0 0; }
.faq h3 + p { padding: 10px 12px 0; }

.related ul, .cards { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.related a, .cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; background: #fff; border: var(--bw) solid #000; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.related a:hover, .cards a:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; background: var(--y-100); }
.related span, .cards span { font-size: .8125rem; line-height: 1.5; }
.cards { margin-top: 16px; }
.hero + section { margin-top: 0; }

.cta { padding: 28px clamp(18px, 4vw, 32px); background: var(--k-100); border: var(--bw) solid #000; box-shadow: var(--shadow); }
.cta h2 { border: 0; padding: 0; }
.cta p { margin-bottom: 18px; }

.foot { background: #fff; border-top: var(--bw) solid #000; padding-block: 40px; }
.foot .wrap { max-width: 1180px; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot h2 { font-size: 1rem; border: 0; padding: 0; margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; font-size: .8125rem; }
.foot li + li { margin-top: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.fine { margin-top: 28px; font-size: .75rem; }

@media (max-width: 640px) {
  .top nav { margin-left: 0; width: 100%; }
  th, td { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.x-link { display: inline-grid; place-items: center; width: 38px; height: 38px; color: #000; background: #fff; border: 2px solid #000; box-shadow: 2px 2px 0 #000; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.x-link svg { width: 17px; height: 17px; fill: currentColor; }
.x-link:hover { background: var(--yellow); transform: translate(1px, 1px); box-shadow: 1px 1px 0 #000; }
.top nav a.x-link { padding: 0; border: 2px solid #000; }
