/* aiseo.help: round 4, look 14 "Open" (Bike's pick 11/26/2026).
   A night street, a lit OPEN sign, warm white type and one neon red. Yeseva One for display, Fustat for text. */
@font-face { font-family: "Yeseva One"; src: url("fonts/yeseva-one-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fustat"; src: url("fonts/fustat-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --night: #0a0b0d; --night-2: #111317; --night-3: #181b20;
  --on: #f6f1e8; --on-2: rgba(246, 241, 232, 0.8); --on-3: rgba(246, 241, 232, 0.64);
  --neon: #ff4d4d; --neon-2: #ff7a6b; --rule: rgba(246, 241, 232, 0.16); --rule-2: rgba(246, 241, 232, 0.28);
  --display: "Yeseva One", Georgia, "Times New Roman", serif;
  --text: "Fustat", "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --pad: clamp(18px, 4vw, 56px);
  --edge: max(var(--pad), calc((100% - 1328px) / 2));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--on); font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--neon-2); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--on); color: var(--night); font-weight: 600; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(1328px + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); }

/* text links inside copy: warm white with a neon underline */
.sub a, .by a, .about a, .gbody p a, .gbody li a, .word figcaption a, .claim a, .clist a, .credit a {
  text-decoration: underline; text-decoration-color: rgba(255, 77, 77, 0.75); text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.gbody p a:hover, .gbody li a:hover, .by a:hover, .about a:hover, .word figcaption a:hover, .claim a:hover, .clist a:hover { text-decoration-color: var(--neon); color: #fff; }

/* ---------- header ---------- */
.top { position: relative; z-index: 20; display: flex; align-items: center; gap: 30px; padding: 26px var(--edge) 22px; border-bottom: 1px solid var(--rule); background: var(--night); }
.top.over { position: absolute; inset: 0 0 auto; background: none; border-bottom: 0; }
.logo { display: block; flex: none; }
.logo img { display: block; height: 34px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 16.5px; color: var(--on-2); }
.nav a { padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--neon); }
.find { display: inline-flex; align-items: center; gap: 9px; padding: 6px 0; background: none; border: 0; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.find svg { width: 18px; height: 18px; }
.menu-btn { display: none; margin-left: 12px; padding: 7px 14px; background: none; border: 1px solid var(--rule-2); border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; }

/* ---------- home hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 860px; max-height: 1180px; overflow: hidden; isolation: isolate; }
/* the photo covers .media like object-fit: cover, but as a real box, so the sign layer can sit at the photo's own coordinates */
.media { position: absolute; inset: 0; z-index: -2; overflow: hidden; container-type: size; --px: 0.62; --py: 0.5; }
.photo { position: absolute; width: max(100cqw, 149.856cqh); height: max(100cqh, 66.731cqw);
  left: calc((100cqw - max(100cqw, 149.856cqh)) * var(--px)); top: calc((100cqh - max(100cqh, 66.731cqw)) * var(--py)); }
.photo > img { display: block; width: 100%; height: 100%; }
.sign { position: absolute; left: 61.1538%; top: 30.8357%; width: 10.3846%; height: 8.9337%; }
.sign img { display: block; width: 100%; height: 100%; }
.sign::after { content: ""; position: absolute; inset: -70% -45%; background: radial-gradient(closest-side, rgba(255, 70, 70, 0.22), rgba(255, 70, 70, 0) 72%); mix-blend-mode: screen; pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.74) 0%, rgba(8, 9, 11, 0) 16%),
              linear-gradient(90deg, rgba(8, 9, 11, 0.95) 0%, rgba(8, 9, 11, 0.9) 34%, rgba(8, 9, 11, 0.55) 58%, rgba(8, 9, 11, 0.06) 78%),
              linear-gradient(0deg, rgba(8, 9, 11, 0.85) 0%, rgba(8, 9, 11, 0) 34%); }
.copy { position: absolute; left: var(--edge); bottom: 74px; width: min(940px, calc(100% - 2 * var(--pad))); }
.ask { font-size: 21px; font-weight: 500; color: var(--on-2); }
.what { display: inline-grid; vertical-align: bottom; }
.what .w { grid-area: 1 / 1; color: var(--on); font-weight: 650; white-space: nowrap; }
.what .w u { text-decoration: none; box-shadow: inset 0 -3px 0 var(--neon); }
.what .w:not(.on) { visibility: hidden; }
.hero h1 { margin-top: 18px; font: 400 clamp(54px, 6.6vw, 96px)/1.0 var(--display); letter-spacing: -0.035em; max-width: 12.5em; }
.sub { margin-top: 26px; max-width: 610px; font-size: 20px; line-height: 1.5; color: var(--on-2); }
.field { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 32px; width: min(610px, 100%); height: 66px; padding: 0 20px; background: var(--on); color: #121212; border-radius: 12px; }
.field svg { width: 22px; height: 22px; flex: none; }
.field input { flex: 1; min-width: 0; height: 100%; padding: 0; background: none; border: 0; outline: 0; color: #121212; font-size: 19px; }
.field input::placeholder { color: #5b574f; }
.field input::-webkit-search-cancel-button { display: none; }
.field:focus-within { box-shadow: 0 0 0 3px rgba(255, 122, 107, 0.9); }
.field .typed { position: absolute; left: 56px; right: 92px; top: 50%; transform: translateY(-50%); font-size: 19px; white-space: nowrap; overflow: hidden; pointer-events: none; display: none; }
.field.is-typing .typed { display: block; }
.field.is-typing input::placeholder { color: transparent; }
.field .typed::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; background: #121212; vertical-align: -0.2em; animation: caret 1s steps(1) infinite; }
.field .key { font-weight: 600; font-size: 14px; color: #55524c; }
.by { margin-top: 18px; font-size: 15.5px; color: var(--on-3); }
.credit { position: absolute; right: var(--edge); bottom: 30px; font-size: 13px; color: var(--on-3); }

/* search results, in the hero field and in the dialog */
.results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; padding: 6px; background: #fbf8f2; color: #121212; border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.results:empty { display: none; }
.results a { display: block; padding: 10px 12px; border-radius: 8px; }
.results a:hover, .results a:focus-visible, .results a.sel { background: #efe7da; outline: 0; }
.results b { display: block; font-weight: 650; font-size: 16.5px; }
.results span { display: block; font-size: 14.5px; color: #4a463f; line-height: 1.4; }
.results .none { padding: 10px 12px; font-size: 15px; color: #4a463f; }

/* motion: html.js-motion is set only when reduced motion is off; without it every frame below is the final state */
.js-motion .photo { animation: photo-in 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; transform-origin: 62% 40%; }
.js-motion .media::after { content: ""; position: absolute; inset: 0; background: var(--night); animation: lights-up 2.2s ease-out both; pointer-events: none; }
.js-motion .sign { animation: sign-on 1s linear 1.35s both; }
.js-motion .hero h1 { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both; }
.js-motion .ask { animation: rise 0.8s ease-out 0.2s both; }
.js-motion .sub, .js-motion .field, .js-motion .by { animation: rise 0.8s ease-out 0.9s both; }
.js-motion .what .w { transition: opacity 0.45s ease, transform 0.45s ease; }
.js-motion .what .w:not(.on) { visibility: visible; opacity: 0; transform: translateY(0.35em); }
@keyframes photo-in { from { transform: scale(1.07); } to { transform: none; } }
@keyframes lights-up { from { opacity: 0.7; } to { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sign-on { 0% { opacity: 0; } 7% { opacity: 1; } 13% { opacity: 0.1; } 21% { opacity: 0.95; } 27% { opacity: 0.3; } 36% { opacity: 1; } 100% { opacity: 1; } }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- home bands ---------- */
.band { padding: 84px 0 92px; border-top: 1px solid var(--rule); }
.band.jobs { border-top: 0; padding-top: 72px; }
.band .head { display: flex; align-items: baseline; justify-content: space-between; gap: 48px; }
.band h2 { font: 400 clamp(38px, 4.2vw, 58px)/1.04 var(--display); letter-spacing: -0.025em; max-width: 14em; }
.band .head p { max-width: 520px; color: var(--on-2); font-size: 18px; }
.more { margin-top: 34px; }
.go { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; box-shadow: inset 0 -2px 0 var(--neon); padding-bottom: 3px; }
.go::after { content: "\2192"; font-weight: 400; }
.go:hover { color: #fff; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--rule); }
.job { padding: 28px 30px 32px 0; border-bottom: 1px solid var(--rule); }
.job:not(:nth-child(3n + 1)) { padding-left: 30px; border-left: 1px solid var(--rule); }
.job .n { display: block; font: 400 64px/1 var(--display); color: var(--neon); }
.job h3 { margin-top: 16px; font: 400 30px/1.1 var(--display); letter-spacing: -0.01em; }
.job p { margin-top: 8px; color: var(--on-2); font-size: 17px; }
.job .count { margin-top: 12px; font-size: 15px; color: var(--on-3); }
.job .g { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 16px; font-weight: 600; }
.job .g a { box-shadow: inset 0 -1.5px 0 rgba(255, 77, 77, 0.7); }
.job .g a:hover { color: #fff; box-shadow: inset 0 -1.5px 0 var(--neon); }

.elist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--rule); }
.engine { display: flex; flex-direction: column; padding: 28px 26px 30px 0; }
.engine + .engine { padding-left: 26px; border-left: 1px solid var(--rule); }
.engine h3 { font: 400 clamp(25px, 2.05vw, 32px)/1.08 var(--display); letter-spacing: -0.015em; white-space: nowrap; }
.engine h3 a:hover { color: #fff; box-shadow: inset 0 -2px 0 var(--neon); }
.crawler { margin-top: 14px; font-family: var(--mono); font-size: 15px; color: var(--on); }
.crawler span { display: block; font-family: var(--text); font-size: 14px; color: var(--on-3); }
.how { margin-top: 12px; color: var(--on-2); font-size: 16.5px; }
.engine .word { margin-top: auto; padding-top: 20px; }

.wlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; margin-top: 40px; }
.wlist li { padding: 26px 0 28px; border-top: 1px solid var(--rule); }
.wlist h3 { font: 400 34px/1.08 var(--display); letter-spacing: -0.015em; }
.wlist h3 a:hover { color: #fff; box-shadow: inset 0 -2px 0 var(--neon); }
.wlist p { margin-top: 10px; color: var(--on-2); max-width: 34em; }

.clist { margin-top: 40px; border-top: 1px solid var(--rule); }
.clist li { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.clist time { font: 400 22px/1.25 var(--display); color: var(--neon-2); white-space: nowrap; }
.clist p { color: var(--on-2); max-width: 46em; }
.clist p a { color: var(--on-3); font-size: 15.5px; }

.about h2 { font-size: clamp(30px, 3vw, 40px); }
.about .idline { margin-top: 22px; font: 400 clamp(24px, 2.4vw, 32px)/1.3 var(--display); max-width: 30em; letter-spacing: -0.01em; }
.about p:not(.idline) { margin-top: 20px; max-width: 46em; color: var(--on-2); }

/* the engine's own words */
.word blockquote p { font: 400 clamp(21px, 1.7vw, 25px)/1.3 var(--display); letter-spacing: -0.005em; color: var(--on); }
.word figcaption { margin-top: 10px; font-size: 15px; color: var(--on-3); }
.word.small blockquote p { font-size: 19px; line-height: 1.32; }
.word.small figcaption { font-size: 14px; }

/* claims (home ledger, guide evidence, myths) */
.claims { margin-top: 32px; border-top: 1px solid var(--rule); }
.claim { padding: 24px 0 26px; border-bottom: 1px solid var(--rule); }
.c-top { display: flex; align-items: baseline; gap: 14px; font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-3); }
.lab { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--on); }
.lab::before { content: ""; width: 18px; height: 2px; background: var(--neon); }
.lab-inferred::before, .lab-unknown::before { background: var(--on-3); }
.c-verdict { font-weight: 600; }
.c-claim { margin-top: 10px; font: 400 26px/1.2 var(--display); letter-spacing: -0.01em; max-width: 30em; }
.myth .c-claim { text-decoration: line-through; text-decoration-color: var(--neon); text-decoration-thickness: 3px; color: var(--on-2); }
.c-says { margin-top: 10px; color: var(--on-2); max-width: 44em; }
.claim .word { margin-top: 14px; }
.c-src { margin-top: 10px; font-size: 14px; color: var(--on-3); }
.ledger .claims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 60px; border-top: 0; }
.ledger .claim { border-top: 1px solid var(--rule); border-bottom: 0; }

/* ---------- guide pages ---------- */
.ghead { padding: 56px 0 46px; border-bottom: 1px solid var(--rule); background: radial-gradient(120% 90% at 85% 0%, rgba(255, 77, 77, 0.07), rgba(255, 77, 77, 0) 55%), var(--night); }
.crumbs { display: flex; gap: 10px; font-size: 15px; color: var(--on-3); }
.crumbs a:hover { color: var(--on); }
.ghead h1 { margin-top: 22px; font: 400 clamp(42px, 5vw, 74px)/1.03 var(--display); letter-spacing: -0.03em; max-width: 13.5em; }
.deck { margin-top: 24px; max-width: 760px; font-size: 21px; line-height: 1.5; color: var(--on-2); }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--rule); max-width: 1100px; }
.strip div { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--rule); }
.strip div:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--rule); }
.strip dt { font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-3); font-weight: 600; }
.strip dd { margin-top: 4px; font-size: 16.5px; color: var(--on); }
.ghead .by { margin-top: 22px; }

.gbody { display: grid; grid-template-columns: minmax(0, 940px) minmax(0, 1fr); gap: 0 64px; padding-top: 26px; padding-bottom: 90px; }
.gcol { min-width: 0; }
.toc { position: sticky; top: 28px; align-self: start; margin-top: 46px; padding-left: 22px; border-left: 1px solid var(--rule); max-width: 290px; }
.toc p { font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-3); font-weight: 600; }
.toc ol { margin-top: 12px; display: grid; gap: 2px; }
.toc a { display: flex; gap: 10px; padding: 5px 0; font-size: 15.5px; line-height: 1.35; color: var(--on-2); }
.toc a span { flex: none; width: 1.3em; font-family: var(--display); color: var(--neon-2); }
.toc a:hover, .toc a.here { color: var(--on); }
.toc a.here span { color: var(--neon); }
.step { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 46px 0 44px; border-bottom: 1px solid var(--rule); }
.step .num { font: 400 76px/0.9 var(--display); color: var(--neon); }
.step h2, .sec h2 { font: 400 clamp(30px, 2.9vw, 42px)/1.1 var(--display); letter-spacing: -0.02em; }
.step-body > * + *, .sec > * + * { margin-top: 18px; }
.step-body p, .sec p, .step-body li, .sec li { color: var(--on-2); max-width: 44em; }
.step-body ol, .sec > ol:not(.claims) { counter-reset: li; display: grid; gap: 10px; }
.step-body ol > li, .sec > ol:not(.claims) > li { counter-increment: li; position: relative; padding-left: 38px; }
.step-body ol > li::before, .sec > ol:not(.claims) > li::before { content: counter(li); position: absolute; left: 0; top: -1px; font: 400 21px/1.4 var(--display); color: var(--neon-2); }
.step-body ul > li { position: relative; padding-left: 22px; }
.step-body ul > li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 9px; height: 2px; background: var(--neon); }
.step-body code, .sec code { font-family: var(--mono); font-size: 0.86em; padding: 2px 6px; background: var(--night-3); border: 1px solid var(--rule); border-radius: 5px; color: var(--on); }
pre { margin: 0; padding: 18px 22px; background: #050607; border: 1px solid var(--rule); border-radius: 10px; overflow-x: auto; max-width: 44rem; }
pre code { padding: 0 !important; background: none !important; border: 0 !important; font: 16px/1.6 var(--mono) !important; color: #ffd8d2 !important; }
.check { padding-top: 14px; border-top: 1px dashed var(--rule-2); }
.check b { color: var(--neon-2); font-weight: 700; }
.step-body .word { margin: 26px 0 8px; padding: 2px 0 2px 0; }
.step-body .word blockquote p::before { content: ""; display: block; width: 44px; height: 2px; margin-bottom: 14px; background: var(--neon); }
.sec { padding: 52px 0 46px; border-bottom: 1px solid var(--rule); }
.sec.faq h3 { margin-top: 30px; font: 400 25px/1.2 var(--display); letter-spacing: -0.01em; color: var(--on); }
.sec.faq h3 + p { margin-top: 10px; }
.sec.sources ol { font-size: 15.5px; }
.sec.sources li { color: var(--on-3); }
.history { margin-top: 34px; font-size: 15px; color: var(--on-3); }
.next { margin-top: 28px; font-size: 19px; }
.next span { display: inline-block; margin-right: 10px; font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-3); font-weight: 600; }
.next a { font-weight: 650; box-shadow: inset 0 -2px 0 var(--neon); }
.related { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); }
.related .rh { font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-3); font-weight: 600; }
.related ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 10px; font: 400 24px/1.3 var(--display); }
.related a:hover { box-shadow: inset 0 -2px 0 var(--neon); }
.pages li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.pages a { font: 400 22px/1.25 var(--display); }
.pages span { display: block; margin-top: 4px; font-size: 15.5px; color: var(--on-3); }

/* tables: hairline rows in the night palette; each table scrolls inside its own box on narrow screens */
.table-wrap { max-width: 100%; overflow-x: auto; margin: 22px 0 6px; border-top: 1px solid var(--rule-2);
  /* scroll edge: a faint neon glow on the right while there is more table to scroll to (background-attachment local covers it at the end) */
  background: linear-gradient(270deg, var(--night) 35%, rgba(10, 11, 13, 0)) right center / 36px 100% no-repeat local,
              radial-gradient(farthest-side at 100% 50%, rgba(255, 77, 77, 0.32), rgba(255, 77, 77, 0)) right center / 16px 100% no-repeat scroll; }
.table-wrap:focus-visible { outline: 2px solid var(--neon-2); outline-offset: 4px; }
.table-wrap table { width: 100%; min-width: calc(var(--cols, 3) * 150px); border-collapse: collapse; font-size: 16px; }
.table-wrap th:first-child, .table-wrap td:first-child { position: sticky; left: 0; z-index: 1; background: var(--night); box-shadow: 1px 0 0 var(--rule); padding-left: 0; }
.table-wrap th { text-align: left; vertical-align: bottom; padding: 12px 16px 10px 0; font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-3); border-bottom: 1px solid var(--rule-2); }
.table-wrap td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; color: var(--on-2); border-bottom: 1px solid var(--rule); }
.table-wrap td:first-child { color: var(--on); font-weight: 600; }
.table-wrap code { white-space: nowrap; }

/* ---------- footer ---------- */
.foot { padding: 58px 0 64px; background: var(--night-2); border-top: 1px solid var(--rule); }
.foot .wrap { display: flex; justify-content: space-between; gap: 48px; }
.foot-id { max-width: 640px; }
.foot-id .tag { font: 400 26px/1.2 var(--display); color: var(--on); }
.foot-id p + p { margin-top: 14px; font-size: 15.5px; color: var(--on-3); }
.links { display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 500; color: var(--on-2); }
.links a:hover, .links a[aria-current="page"] { color: var(--on); }

/* ---------- search dialog ---------- */
.search { width: min(640px, calc(100vw - 32px)); margin: 12vh auto auto; padding: 0; background: transparent; border: 0; overflow: visible; color: #121212; }
.search::backdrop { background: rgba(4, 5, 6, 0.78); }
.search-box { position: relative; display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 10px 0 18px; background: var(--on); border-radius: 12px; }
.search-box input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 19px; color: #121212; }
.search-box .close { padding: 8px 12px; background: #e9e1d4; border: 0; border-radius: 8px; font-weight: 600; font-size: 14.5px; cursor: pointer; color: #121212; }
.search .results { position: static; margin-top: 10px; }

/* ---------- core pages: checklist ticks, portrait ---------- */
.ghead .with-photo { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 48px; align-items: end; }
.portrait { display: block; width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule-2); }
.progress { margin-top: 30px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--on-2); font-size: 16px; }
.progress [data-done] { font-family: var(--display); font-size: 22px; color: var(--neon-2); }
.reset { margin-left: 10px; padding: 3px 10px; background: none; border: 1px solid var(--rule-2); border-radius: 999px; font-size: 14px; color: var(--on-2); cursor: pointer; }
.ticks { display: grid; gap: 4px; }
.ticks .ck { padding: 12px 0; border-top: 1px solid var(--rule); }
.ticks .ck:first-child { border-top: 0; }
.ticks label { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.ticks input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 2px 0 0; border: 2px solid var(--rule-2); border-radius: 6px; background: transparent; cursor: pointer; display: grid; place-content: center; }
.ticks input::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--night); border-bottom: 2.5px solid var(--night); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.ticks input:checked { background: var(--neon); border-color: var(--neon); }
.ticks input:checked::after { opacity: 1; }
@media (forced-colors: active) { .ticks input { border-color: CanvasText; } .ticks input:checked { background: Highlight; border-color: Highlight; } .ticks input::after { border-color: HighlightText; } }
.ticks .t { font: 400 23px/1.25 var(--display); color: var(--on); letter-spacing: -0.005em; }
.ticks input:checked + .t { color: var(--on-3); text-decoration: line-through; text-decoration-color: rgba(255, 77, 77, 0.8); text-decoration-thickness: 2px; }
.ticks .how { margin: 6px 0 0 38px; font-size: 16.5px; color: var(--on-2); }
.step-body .ticks > li { padding-left: 0; }
.step-body .ticks > li::before { content: none; }
.guides { padding-top: 12px; border-top: 1px dashed var(--rule-2); font-size: 16px; }
.guides span { color: var(--on-3); }

/* ---------- widths ---------- */
@media (max-width: 75rem) {
  .gbody { display: block; }
  .toc { display: none; }
  .nav { gap: 20px; font-size: 16px; }
  .elist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engine:nth-child(3) { padding-left: 0; border-left: 0; }
  .engine:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 64rem) {
  .nav, .find span { display: none; }
  .find { margin-left: auto; }
  .find svg { width: 21px; height: 21px; }
  .menu-btn { display: inline-block; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--pad) 18px; background: var(--night); border-bottom: 1px solid var(--rule); font-size: 20px; }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .job:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--rule); }
  .band .head { display: block; }
  .band .head p { margin-top: 14px; }
  .ledger .claims { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .strip div:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--rule); }
  .foot .wrap { flex-direction: column; }
  .links { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
}
@media (max-width: 40rem) {
  body { font-size: 17px; }
  .top { padding: 16px var(--pad); gap: 12px; }
  .logo img { height: 28px; }
  .hero { height: auto; min-height: 0; max-height: none; }
  .media { position: relative; inset: auto; height: 440px; margin-bottom: -104px; --px: 0.66; --py: 0.4; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 9, 11, 0.72) 0px, rgba(8, 9, 11, 0) 96px, rgba(8, 9, 11, 0) 210px, rgba(8, 9, 11, 0.78) 336px, var(--night) 430px); }
  .ask { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7); }
  .copy { position: relative; left: auto; bottom: auto; width: auto; padding: 0 var(--pad) 44px; }
  .ask { font-size: 17px; }
  .hero h1 { margin-top: 22px; font-size: clamp(44px, 12.4vw, 56px); }
  .sub { font-size: 17px; margin-top: 16px; }
  .field { height: 58px; margin-top: 22px; padding: 0 16px; gap: 12px; }
  .field input, .field .typed { font-size: 17px; }
  .field .typed { left: 50px; right: 16px; }
  .field .key { display: none; }
  .by { font-size: 14px; }
  .credit { right: var(--pad); bottom: auto; top: 66px; font-size: 12px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
  .band { padding: 52px 0 58px; }
  .band.jobs { padding-top: 46px; }
  .band h2 { font-size: 36px; }
  .band .head p { font-size: 16.5px; }
  .grid { grid-template-columns: minmax(0, 1fr); margin-top: 26px; }
  .job, .job:nth-child(2n), .job:not(:nth-child(3n + 1)) { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 10px; padding: 20px 0 22px; border-left: 0; }
  .job .n { font-size: 44px; grid-row: span 4; }
  .job h3 { margin-top: 0; font-size: 25px; }
  .job p { font-size: 16px; }
  .elist { grid-template-columns: minmax(0, 1fr); }
  .engine, .engine + .engine, .engine:nth-child(3) { padding: 22px 0 24px; border-left: 0; }
  .engine + .engine { border-top: 1px solid var(--rule); }
  .engine h3, .wlist h3 { font-size: 28px; }
  .wlist { grid-template-columns: minmax(0, 1fr); }
  .clist li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .clist time { font-size: 20px; }
  .c-claim { font-size: 23px; }
  .ghead { padding: 34px 0 30px; }
  .ghead h1 { font-size: clamp(36px, 10vw, 46px); }
  .deck { font-size: 18px; }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .strip div, .strip div:nth-child(2n), .strip div:not(:nth-child(3n + 1)) { padding: 12px 0; border-left: 0; }
  .step { grid-template-columns: 48px minmax(0, 1fr); padding: 34px 0 32px; }
  .step .num { font-size: 48px; }
  .step h2, .sec h2 { font-size: 28px; }
  .sec { padding: 38px 0 34px; }
  pre code { font-size: 14.5px !important; }
  .related ul { font-size: 21px; }
  .ghead .with-photo { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .portrait { width: 140px; height: 140px; grid-row: 1; }
  .ticks .t { font-size: 20px; }
  .ticks .how { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
