  /* Light only, on purpose. Blue is the brand pop; green and red mean up and down, nothing else. */
:root {
  color-scheme: light;
  --bg: #f3f6ff;
  --surface: #ffffff;
  --ink: #0f1530;
  --ink-soft: #545b7a;
  --line: #dde3f5;
  --blue: #2257ff;
  --blue-deep: #1238c4;
  --blue-soft: #e3eaff;
  --sun: #ffd447;
  --pink: #ff8fcf;
  --lilac: #b9a4ff;
  --sky: #8fd3ff;
  --up: #0f9a4a;
  --up-bg: #d9f8e4;
  --warn: #a86200;
  --warn-bg: #fff1cc;
  --down: #e0323a;
  --down-bg: #ffe2e2;
  --pop: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- Background: dot grid, colour blobs, floating shapes ---- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(34, 87, 255, .16) 1.3px, transparent 1.6px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 30%, #000 30%, transparent 85%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; background: var(--sky); top: -180px; left: -160px; }
.blob.b2 { width: 460px; height: 460px; background: var(--pink); top: 120px; right: -200px; opacity: .4; animation-delay: -7s; }
.blob.b3 { width: 420px; height: 420px; background: var(--sun); bottom: -200px; left: 20%; opacity: .38; animation-delay: -14s; }
.blob.b4 { width: 360px; height: 360px; background: var(--lilac); bottom: 10%; right: 5%; opacity: .35; animation-delay: -3s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

.shape { position: absolute; animation: float 9s ease-in-out infinite; }
.shape svg { display: block; }
.s1 { top: 9%;  left: 6%;  animation-delay: -1s; }
.s2 { top: 18%; right: 7%; animation-delay: -4s; }
.s3 { top: 52%; left: 4%;  animation-delay: -2s; }
.s4 { top: 64%; right: 6%; animation-delay: -6s; }
.s5 { top: 86%; left: 12%; animation-delay: -3s; }
.s6 { top: 40%; right: 15%; animation-delay: -5s; }
@keyframes float { 50% { transform: translateY(-16px) rotate(8deg); } }

.wrap { position: relative; z-index: 1; max-width: 740px; margin: 0 auto; padding: 22px 16px 72px; }

/* ---- Brand row ---- */
.site-header { display: flex; align-items: center; gap: 12px 16px; margin-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--blue); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  display: grid; place-items: center; transform: rotate(-6deg);
}
.brand-name { font: 800 1.2rem/1.1 "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -0.02em; white-space: nowrap; }
.brand:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 12px; }
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px;
  border: 2px solid transparent; border-radius: 999px;
  color: var(--ink); text-decoration: none; font: 700 .92rem/1 Inter, sans-serif;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--ink); background: var(--surface); box-shadow: 2px 2px 0 var(--ink); }
.nav a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- The checker is the page ---- */
.checker {
  position: relative;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 28px;
  padding: 30px 30px 22px;
  box-shadow: 10px 10px 0 var(--blue);
}
.checker label.ask {
  display: block;
  margin: 0 0 20px;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 6.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.sticker {
  display: inline-block; padding: 0 .28em .04em; border: 2.5px solid var(--ink); border-radius: .3em;
  box-shadow: 3px 3px 0 var(--ink); color: #fff;
}
.sticker.up { background: var(--up); transform: rotate(-3deg); }
.sticker.down { background: var(--down); transform: rotate(2.5deg); }
.checker label.ask.long { font-size: clamp(1.55rem, 4.8vw, 2.3rem); }
.target {
  color: var(--blue); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .12em;
  text-decoration-color: var(--sun);
}
.checker .sub { display: block; margin-top: 10px; font: 500 1.02rem/1.45 Inter, sans-serif; letter-spacing: 0; color: var(--ink-soft); }

form { display: flex; gap: 12px; }
.field { position: relative; flex: 1; min-width: 0; }
.field svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--blue); pointer-events: none; }
input[type="text"] {
  width: 100%;
  height: 72px;
  padding: 0 20px 0 56px;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  background: #f8faff;
  color: var(--ink);
  font: 600 1.3rem/1 Inter, sans-serif;
  outline: none;
  transition: box-shadow .15s, background .15s;
}
input[type="text"]::placeholder { color: #8a90ab; font-weight: 500; }
input[type="text"]:focus-visible { background: #fff; box-shadow: 0 0 0 5px var(--blue-soft), 0 0 0 7.5px var(--blue); }
button.go {
  height: 72px;
  padding: 0 34px;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
  font: 800 1.25rem/1 "Bricolage Grotesque", Inter, sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  flex: none;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .1s, box-shadow .1s, background .15s;
}
button.go:hover { background: var(--blue-deep); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
button.go:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
button.go:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button.go:disabled { cursor: progress; background: var(--blue-deep); }
.hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.hint button {
  border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; min-height: 38px;
  font: 600 .88rem/1.2 Inter, sans-serif; color: var(--ink); cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink); transition: transform .1s, box-shadow .1s;
}
.hint button:nth-of-type(1) { background: var(--sky); }
.hint button:nth-of-type(2) { background: var(--sun); }
.hint button:nth-of-type(3) { background: var(--pink); }
.hint button:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.hint button:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.hint button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---- Result ---- */
#result { margin-top: 26px; }
#result:empty { display: none; }
.card {
  position: relative;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 24px;
  padding: 24px 26px;
  box-shadow: var(--pop);
  animation: rise .35s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.card.loading { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink-soft); }
.spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3.5px solid var(--blue-soft); border-top-color: var(--blue);
  animation: spin .7s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.verdict { display: flex; align-items: center; gap: 18px; }
.badge {
  position: relative;
  width: 64px; height: 64px; flex: none;
  border-radius: 20px; border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  display: grid; place-items: center; color: #fff;
  font: 800 1.9rem/1 Inter, sans-serif;
  animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) .1s both;
}
@keyframes pop { from { transform: scale(.3) rotate(-25deg); } }
.card.up { box-shadow: 8px 8px 0 var(--up); }
.card.warn { box-shadow: 8px 8px 0 var(--warn); }
.card.down { box-shadow: 8px 8px 0 var(--down); }
.card.missing { box-shadow: 8px 8px 0 var(--lilac); border-style: dashed; }
.up .badge { background: var(--up); transform: rotate(-4deg); }
.warn .badge { background: #f0a020; color: var(--ink); }
.down .badge { background: var(--down); transform: rotate(4deg); }
.missing .badge { background: var(--lilac); color: var(--ink); transform: rotate(-3deg); }
.verdict h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
}
.verdict .host { margin: 4px 0 0; color: var(--blue); font-weight: 700; word-break: break-all; }
.verdict .host a { color: inherit; text-decoration: none; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.verdict .host a > span:first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.verdict .host .visit {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--blue); color: #fff;
  font-size: .82rem; box-shadow: 2px 2px 0 var(--ink); white-space: nowrap;
}
.verdict .host a:hover .visit { background: var(--blue-deep); }
.verdict .host a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
@media (pointer: coarse) { .verdict .host .visit { min-height: 44px; } }
.reason { margin: 18px 0 0; font-size: 1.08rem; }
.just-you {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 14px;
  background: var(--blue-soft); border: 2px solid var(--blue); font-weight: 600; font-size: .98rem;
}
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin: 20px 0 0;
}
.facts > div { background: var(--bg); border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.facts dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.facts dd { margin: 3px 0 0; font: 700 1rem/1.3 "JetBrains Mono", ui-monospace, monospace; word-break: break-word; }
.redirect { margin: 14px 0 0; font-size: .88rem; color: var(--ink-soft); word-break: break-all; }
.card.error { box-shadow: 8px 8px 0 var(--ink-soft); font-weight: 600; }

/* Confetti on a site that's up */
.confetti { position: absolute; left: 32px; top: 32px; width: 0; height: 0; pointer-events: none; }
.confetti i {
  position: absolute; width: 9px; height: 14px; border-radius: 2px; border: 1.5px solid var(--ink);
  animation: burst .9s cubic-bezier(.15, .7, .3, 1) forwards;
}
@keyframes burst {
  from { transform: translate(0, 0) rotate(0); opacity: 1; }
  to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; }
}

/* ---- Recent ---- */
section.recent { margin-top: 48px; }
.recent-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.recent-head h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.025em;
}
.recent-head span {
  padding: 4px 11px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--blue); color: #fff; font: 700 .76rem/1.2 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase;
}
ol.list {
  list-style: none; margin: 0; padding: 0;
  background: var(--surface); border: 2.5px solid var(--ink); border-radius: 22px; overflow: hidden;
  box-shadow: var(--pop);
}
ol.list li + li { border-top: 2px dashed var(--line); }
ol.list button {
  width: 100%;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 20px;
  background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: background .15s, padding .15s;
}
ol.list button:hover { background: var(--blue-soft); padding-left: 26px; }
ol.list button:focus-visible { outline: 3px solid var(--blue); outline-offset: -4px; }
.dot {
  width: 34px; height: 34px; border-radius: 11px; border: 2px solid var(--ink);
  display: grid; place-items: center; color: #fff;
  font: 800 1rem/1 Inter, sans-serif;
}
li.up .dot { background: var(--up); }
li.warn .dot { background: #f0a020; color: var(--ink); }
li.down .dot { background: var(--down); }
li.missing .dot { background: var(--lilac); color: var(--ink); }
li.missing .site small { color: var(--ink-soft); }
li.missing .site strong { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(15, 21, 48, .35); }
.missing-section { margin-top: 40px; }
.missing-section .recent-head span { background: var(--lilac); color: var(--ink); }
.missing-section ol.list { box-shadow: 6px 6px 0 var(--lilac); border-style: dashed; }
.section-note { margin: -6px 0 14px; color: var(--ink-soft); font-size: .92rem; }
.section-note button {
  margin-left: 6px; padding: 6px 14px; min-height: 40px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink);
  font: 600 .82rem/1.2 Inter, sans-serif; cursor: pointer; box-shadow: 2px 2px 0 var(--ink);
}
.section-note button:hover { background: var(--down-bg); }
.section-note button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (pointer: coarse) { .section-note button { min-height: 44px; } }
body.shared .local-only { display: none; }
.site { min-width: 0; }
.site strong { display: block; font-weight: 700; font-size: 1.04rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site small { font-size: .84rem; font-weight: 600; }
li.up .site small { color: var(--up); }
li.warn .site small { color: var(--warn); }
li.down .site small { color: var(--down); }
time {
  padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line);
  color: var(--ink-soft); font-size: .82rem; font-weight: 600; white-space: nowrap;
}
.empty { padding: 26px 18px; color: var(--ink-soft); text-align: center; font-weight: 600; }

.home-note { margin-top: 36px; font-size: .84rem; color: var(--ink-soft); text-align: center; }

@media (max-width: 1100px) { .shape { display: none; } }
@media (pointer: coarse) {
  .hint button { min-height: 44px; }
  ol.list button { min-height: 64px; }
}
@media (max-width: 379px) {
  .checker label.ask { font-size: 1.85rem; }
  .checker label.ask.long { font-size: 1.45rem; }
}
@media (max-width: 560px) {
  .wrap { padding-top: 14px; }
  .site-header { margin-bottom: 16px; }
  .checker { padding: 22px 18px 18px; border-radius: 22px; box-shadow: 6px 6px 0 var(--blue); }
  input[type="text"], button.go { height: 62px; }
  input[type="text"] { font-size: 1.12rem; }
  form { flex-direction: column; }
  button.go { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .card { padding: 20px 18px; }
  .verdict h2 { font-size: 1.75rem; }
  ol.list button { padding: 13px 14px; gap: 12px; }
  ol.list button:hover { padding-left: 14px; }
  .brand-name { font-size: 1.08rem; }
  .brand .logo { width: 36px; height: 36px; }
  .blob { filter: blur(50px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Site header on small screens: menu drops under the brand ---- */
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; }
  .nav { margin-left: 0; width: 100%; }
  .nav a { flex: 1; justify-content: center; background: var(--surface); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
}
@media (pointer: coarse) { .nav a { min-height: 44px; } }

/* ---- FAQ ---- */
section.faq { margin-top: 56px; scroll-margin-top: 16px; }
.faq h2, .page h2.section {
  margin: 0 0 6px; font: 800 1.6rem/1.15 "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -0.025em;
}
.faq > p { margin: 0 0 16px; color: var(--ink-soft); }
.faq details {
  background: var(--surface); border: 2.5px solid var(--ink); border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink); margin-bottom: 12px;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; min-height: 56px; font-weight: 700; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 10px; border: 2px solid var(--ink);
  display: grid; place-items: center; font: 800 1.1rem/1 Inter, sans-serif; background: var(--sun);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--sky); }
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -4px; border-radius: 16px; }
.faq .answer { padding: 0 20px 18px; color: var(--ink); }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---- Inner pages (guides, contact, legal) ---- */
.page {
  background: var(--surface); border: 2.5px solid var(--ink); border-radius: 26px;
  box-shadow: 8px 8px 0 var(--blue); padding: 34px 38px 38px;
}
.crumbs { margin: 0 0 14px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.crumbs a { color: var(--blue); }
.page h1 {
  margin: 0 0 10px; font: 800 clamp(2rem, 5.6vw, 2.8rem)/1.08 "Bricolage Grotesque", Inter, sans-serif;
  letter-spacing: -0.035em; text-wrap: balance;
}
.page .meta { margin: 0 0 24px; color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
.page .lede { font-size: 1.15rem; line-height: 1.6; margin: 0 0 8px; }
.prose { font-size: 1.04rem; line-height: 1.7; }
.prose h2 { margin: 36px 0 10px; font: 800 1.5rem/1.2 "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -0.02em; scroll-margin-top: 16px; }
.prose h3 { margin: 26px 0 6px; font: 700 1.12rem/1.3 Inter, sans-serif; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); font-weight: 600; }
.prose code {
  font: 500 .9em/1.4 "JetBrains Mono", ui-monospace, monospace; background: var(--blue-soft);
  padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere;
}
.prose pre { background: var(--ink); color: #fff; padding: 14px 16px; border-radius: 14px; overflow-x: auto; margin: 0 0 16px; }
.prose pre code { background: none; color: inherit; padding: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 2px solid var(--ink); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1.5px solid var(--line); }
.prose th { background: var(--blue-soft); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font: 700 .95rem/1.4 "JetBrains Mono", ui-monospace, monospace; white-space: nowrap; }
.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin: 30px 0 4px; padding: 18px 20px; border: 2.5px solid var(--ink); border-radius: 18px;
  background: var(--blue-soft); box-shadow: 4px 4px 0 var(--ink);
}
.callout p { margin: 0; font-weight: 700; font-size: 1.08rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 2.5px solid var(--ink); border-radius: 14px; background: var(--blue); color: #fff;
  font: 800 1.05rem/1 "Bricolage Grotesque", Inter, sans-serif; text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .1s, box-shadow .1s;
}
.btn:hover { background: var(--blue-deep); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Guide cards */
.guide-list { display: grid; gap: 16px; margin-top: 24px; }
.guide-card {
  display: block; padding: 20px 22px; border: 2.5px solid var(--ink); border-radius: 20px;
  background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 5px 5px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.guide-card:nth-child(1) { box-shadow: 5px 5px 0 var(--sky); }
.guide-card:nth-child(2) { box-shadow: 5px 5px 0 var(--sun); }
.guide-card:nth-child(3) { box-shadow: 5px 5px 0 var(--pink); }
.guide-card:nth-child(4) { box-shadow: 5px 5px 0 var(--lilac); }
.guide-card:nth-child(5) { box-shadow: 5px 5px 0 var(--blue); }
.guide-card:hover { transform: translate(-2px, -2px); }
.guide-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.guide-card .tag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; font: 700 .74rem/1.2 Inter, sans-serif; text-transform: uppercase; letter-spacing: .05em; background: var(--bg); }
.guide-card h2, .guide-card h3 { margin: 0 0 6px; font: 800 1.35rem/1.2 "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -0.02em; }
.guide-card p { margin: 0; color: var(--ink-soft); }
.guide-card .read { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 700; }
.related { margin-top: 40px; }
.related h2 { margin: 0 0 4px; font: 800 1.35rem/1.2 "Bricolage Grotesque", Inter, sans-serif; }
.related .guide-list { margin-top: 12px; }

/* Legal */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.jump a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 700; color: var(--ink); text-decoration: none; background: var(--sun); box-shadow: 2px 2px 0 var(--ink);
}
.jump a + a { background: var(--sky); }
.legal-part { scroll-margin-top: 16px; }
.legal-part > h2 { font-size: 1.8rem; margin-top: 40px; padding-top: 18px; border-top: 2px dashed var(--line); }

/* Contact */
.contact-box {
  margin: 22px 0; padding: 22px; border: 2.5px solid var(--ink); border-radius: 20px;
  background: var(--blue-soft); box-shadow: 5px 5px 0 var(--ink);
}
.contact-box .email { display: block; margin: 4px 0 14px; font: 700 clamp(1.15rem, 4.5vw, 1.5rem)/1.3 "JetBrains Mono", ui-monospace, monospace; overflow-wrap: anywhere; }

/* ---- Site footer ---- */
.site-footer {
  position: relative; z-index: 1; margin-top: 64px;
  background: var(--surface); border-top: 2.5px solid var(--ink);
}
.site-footer .inner { max-width: 960px; margin: 0 auto; padding: 36px 16px 28px; }
.foot-cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px 24px; }
.foot-cols p { margin: 12px 0 0; color: var(--ink-soft); font-size: .92rem; max-width: 22em; }
.foot-cols h2 { margin: 0 0 10px; font: 700 .76rem/1.2 Inter, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li + li { margin-top: 4px; }
.foot-cols ul a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-cols ul a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.foot-cols a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.copy { margin: 28px 0 0; padding-top: 18px; border-top: 2px dashed var(--line); font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:first-child { grid-column: 1 / -1; } }
@media (pointer: coarse) { .foot-cols ul a { min-height: 44px; } }
@media (max-width: 560px) {
  .page { padding: 24px 18px 26px; border-radius: 20px; box-shadow: 5px 5px 0 var(--blue); }
  .prose { font-size: 1rem; }
  .callout { flex-direction: column; align-items: stretch; }
  .faq summary { padding: 14px 16px; }
  .faq .answer { padding: 0 16px 16px; }
}
.faq a, .home-note a { color: var(--blue); font-weight: 600; }
.faq code { font: 500 .9em/1.4 "JetBrains Mono", ui-monospace, monospace; background: var(--blue-soft); padding: 2px 6px; border-radius: 6px; }
