:root {
  --paper: #f5f1e8;
  --ink: #171716;
  --muted: #66645e;
  --line: rgba(23, 23, 22, 0.18);
  --acid: #eaff37;
  --blue: #5f8dff;
  --coral: #ff6c51;
  --lavender: #c9b8ff;
  --white: #fffef9;
  --radius: 1.5rem;
  --shadow: 0 1.4rem 4rem rgba(28, 25, 18, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }

button,
textarea,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--acid); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.25rem;
  padding: 0.4rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.notice span { color: var(--acid); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(245, 241, 232, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: rotate(-6deg);
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 0.97rem; }
.brand-copy small { margin-top: 0.3rem; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 1.05rem; }
.site-nav a { font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.site-nav a:not(.nav-cta):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35rem; }
.site-nav a[aria-current="page"]:not(.nav-cta) { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.35rem; }

.nav-cta {
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.nav-cta:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 4rem;
  min-height: calc(100svh - 7rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem 6rem;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 { margin-bottom: 1.7rem; font-size: clamp(3.75rem, 7vw, 7.1rem); }
h2 { margin-bottom: 1.5rem; font-size: clamp(3rem, 5.6vw, 5.7rem); }
h1 em,
h2 em { font-weight: 400; }

.hero-lead {
  max-width: 670px;
  margin-bottom: 2rem;
  color: #373630;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); box-shadow: 4px 4px 0 var(--ink); }
.button-primary:hover { box-shadow: 6px 6px 0 var(--ink); }
.button-ghost { background: transparent; }
.button-ghost:hover { background: var(--white); }
.button-dark { width: 100%; background: var(--ink); color: var(--white); }
.button-dark:hover { background: #343430; }

.hero-facts {
  display: flex;
  gap: 2.5rem;
  margin: 3.3rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.hero-facts span { margin-top: 0.35rem; color: var(--muted); font-size: 0.76rem; }

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 1.5rem 1.5rem;
  background: var(--blue);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-visual::before { inset: 11% auto auto 14%; width: 280px; height: 280px; background: var(--acid); }
.hero-visual::after { right: -12%; bottom: -8%; width: 360px; height: 360px; background: var(--coral); }

.orbit { position: absolute; z-index: 1; border: 2px solid rgba(23, 23, 22, 0.52); border-radius: 50%; }
.orbit-one { inset: 16% 9% 18% 6%; transform: rotate(12deg); }
.orbit-two { inset: 25% 20% 8% 15%; transform: rotate(-20deg); }

.evidence-card {
  position: absolute;
  z-index: 3;
  width: 185px;
  padding: 1rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

.evidence-card span { display: block; margin-bottom: 0.25rem; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.evidence-card strong { font-size: 0.95rem; }
.card-a { top: 14%; left: 8%; transform: rotate(-7deg); }
.card-b { top: 43%; right: 7%; transform: rotate(6deg); }
.card-c { bottom: 9%; left: 12%; transform: rotate(3deg); }

.hero-seal {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 185px;
  height: 185px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 0 7px var(--lavender), 0 0 0 9px var(--ink);
  text-align: center;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.hero-seal span,
.hero-seal small { font-size: 0.66rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.hero-seal strong { font-family: Georgia, serif; font-size: 3.7rem; line-height: 1; }

.marquee { overflow: hidden; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--acid); }
.marquee-track { display: flex; width: max-content; padding: 0.85rem 0; animation: marquee 28s linear infinite; }
.marquee span { padding: 0 1.6rem; font-size: 0.79rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.marquee i { font-style: normal; }

@keyframes marquee { to { transform: translateX(-50%); } }

.section { max-width: var(--max); margin: 0 auto; padding: 8rem 1.25rem; }
.section-heading { display: grid; grid-template-columns: 1fr 0.68fr; gap: 5rem; align-items: end; margin-bottom: 4rem; }
.section-heading > p { max-width: 520px; margin-bottom: 0.5rem; color: var(--muted); font-size: 1.05rem; }
.section-heading.horizontal { grid-template-columns: 1fr 0.45fr; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.steps li { min-height: 280px; padding: 1.5rem 1.35rem; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.step-number { display: inline-block; margin-bottom: 4rem; color: var(--muted); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; }
.steps h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: 0.92rem; }

.lab { max-width: none; background: var(--ink); color: var(--white); }
.lab-intro,
.lab-grid { max-width: var(--max); margin-right: auto; margin-left: auto; }
.lab-intro { display: grid; grid-template-columns: 0.4fr 1fr; align-items: start; }
.lab-intro .eyebrow { color: #aaa99f; }
.lab-intro h2 { max-width: 780px; }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.lab-card { min-height: 440px; padding: 1.7rem; border-radius: var(--radius); color: var(--ink); transform: translateY(0) rotate(0); transition: transform 180ms ease; }
.lab-card:hover { transform: translateY(-8px) rotate(-1deg); }
.lab-card-yellow { background: var(--acid); }
.lab-card-blue { background: var(--blue); }
.lab-card-coral { background: var(--coral); }
.lab-icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 4.5rem; border: 2px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 2rem; }
.card-label { margin-bottom: 0.75rem; font-size: 0.69rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.lab-card h3 { margin-bottom: 0.8rem; font-family: Georgia, serif; font-size: 2rem; line-height: 1.05; }
.lab-card p:not(.card-label) { max-width: 330px; }
.card-result { display: inline-block; margin-top: 1.5rem; padding: 0.4rem 0.65rem; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.68rem; font-weight: 800; }

.checker { display: grid; grid-template-columns: 0.78fr 1fr; gap: 5rem; align-items: start; }
.checker-copy { position: sticky; top: 8rem; }
.checker-copy > p:not(.eyebrow) { max-width: 440px; color: var(--muted); }
.privacy-chip { display: inline-flex; gap: 0.5rem; align-items: center; margin-top: 1rem; padding: 0.5rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.74rem; font-weight: 750; }
.privacy-chip span { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--acid); }

.thought-form { padding: clamp(1.5rem, 4vw, 3rem); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: 8px 8px 0 var(--ink); }
.thought-form > label,
.thought-form legend { display: block; margin-bottom: 0.75rem; font-weight: 850; }
.thought-form textarea { width: 100%; min-height: 150px; margin-bottom: 1.75rem; padding: 1rem; resize: vertical; border: 2px solid var(--ink); border-radius: 0.9rem; background: #faf8f1; color: var(--ink); outline: none; }
.thought-form textarea:focus { box-shadow: 0 0 0 4px var(--acid); }
.thought-form fieldset { margin: 0 0 2rem; padding: 0; border: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { display: grid; place-items: center; min-height: 3.4rem; padding: 0.6rem; border: 1px solid var(--line); border-radius: 0.8rem; color: var(--muted); font-size: 0.78rem; font-weight: 800; text-align: center; }
.choice-grid input:checked + span { border: 2px solid var(--ink); background: var(--acid); color: var(--ink); }
.choice-grid input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.thought-result { margin-top: 1.25rem; padding: 1.15rem; border: 2px dashed var(--ink); border-radius: 0.9rem; background: #eef1ff; }
.thought-result strong { display: block; margin-bottom: 0.4rem; }

.examples { border-top: 1px solid var(--line); }
.example-list { border-top: 2px solid var(--ink); }
.example { display: grid; grid-template-columns: 0.25fr 1fr 1fr; gap: 2rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.example-tag { width: max-content; padding: 0.3rem 0.6rem; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.67rem; font-weight: 900; text-transform: uppercase; }
.example h3 { margin-bottom: 0; font-family: Georgia, serif; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.08; }
.example p { margin-bottom: 0.5rem; color: var(--muted); }
.example-end { font-weight: 750; color: var(--ink) !important; }

.manifesto { max-width: none; padding-top: 10rem; padding-bottom: 10rem; background: var(--lavender); text-align: center; }
.manifesto .eyebrow,
.manifesto h2,
.manifesto > p:last-child { max-width: var(--max); margin-right: auto; margin-left: auto; }
.manifesto > p:last-child { max-width: 720px; margin-bottom: 0; font-size: 1.14rem; }

.faq { display: grid; grid-template-columns: 0.55fr 1fr; gap: 5rem; }
.faq-heading { position: sticky; top: 8rem; align-self: start; }
.accordion { border-top: 2px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 1.5rem 3rem 1.5rem 0; font-size: 1.05rem; font-weight: 850; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; top: 1.25rem; right: 0; font-family: Georgia, serif; font-size: 1.8rem; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { max-width: 630px; padding: 0 3rem 1.5rem 0; color: var(--muted); }

.closing { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; border-top: 2px solid var(--ink); }
.closing h2 { max-width: 880px; margin-bottom: 0; }
.closing .button { flex: 0 0 auto; margin-bottom: 0.5rem; }

.site-footer { display: grid; grid-template-columns: 1fr 0.6fr; gap: 3rem; padding: 4rem max(1.25rem, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.site-footer strong { font-family: Georgia, serif; font-size: 1.7rem; }
.site-footer p { max-width: 560px; margin: 0.7rem 0 0; color: #b9b8b1; }
.footer-links { display: flex; justify-content: flex-end; gap: 1.5rem; }
.footer-links a { font-weight: 800; text-underline-offset: 0.3rem; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid #454540; font-size: 0.72rem; }
.noscript { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; max-width: 360px; padding: 1rem; border: 2px solid var(--ink); background: var(--acid); }

/* Multipage system */
.breadcrumbs { margin-bottom: 2.5rem; color: var(--muted); font-size: 0.78rem; font-weight: 750; }
.breadcrumbs a { text-underline-offset: 0.25rem; }
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 4rem;
  align-items: end;
  max-width: none;
  min-height: 72svh;
  padding: 6rem max(1.25rem, calc((100vw - var(--max)) / 2));
  border-bottom: 2px solid var(--ink);
}
.page-hero > div { max-width: 900px; }
.page-hero h1 { max-width: 980px; }
.page-lead { max-width: 720px; margin-bottom: 0; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.55; }
.page-hero-acid { background: var(--acid); color: #171716; }
.page-hero-blue { background: var(--blue); color: #171716; }
.page-hero-coral { background: var(--coral); color: #171716; }
.page-hero-lavender { background: var(--lavender); color: #171716; }
.page-hero .eyebrow,
.page-hero .breadcrumbs { color: rgba(23, 23, 22, 0.68); }
.page-note { padding: 1.4rem; border: 2px solid #171716; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 7px 7px 0 #171716; transform: rotate(1.5deg); }
.page-note span { display: block; margin-bottom: 0.6rem; color: var(--muted); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.page-note strong { display: block; font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.2; }

.page-hub { border-top: 1px solid var(--line); }
.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.page-card { display: flex; flex-direction: column; min-height: 300px; padding: 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.page-card:hover { transform: translateY(-5px); box-shadow: 7px 7px 0 var(--ink); }
.page-card > span { color: var(--muted); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; }
.page-card h3 { margin: auto 0 0.5rem; font-family: Georgia, serif; font-size: 2rem; }
.page-card p { color: var(--muted); }
.page-card strong { font-size: 0.8rem; }
.page-card-acid { background: var(--acid); color: #171716; }
.page-card-blue { background: var(--blue); color: #171716; }
.page-card-coral { background: var(--coral); color: #171716; }
.page-card-acid p,
.page-card-blue p,
.page-card-coral p { color: rgba(23, 23, 22, 0.72); }

.detail-steps { margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.detail-steps li { display: grid; grid-template-columns: 0.25fr 1fr; gap: 2rem; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.detail-number { font-family: Georgia, serif; font-size: clamp(3rem, 6vw, 6rem); line-height: 0.9; }
.detail-steps h3 { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.6rem); }
.detail-steps p { max-width: 720px; color: var(--muted); }
.detail-steps blockquote { max-width: 760px; margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 5px solid var(--acid); background: var(--white); font-family: Georgia, serif; font-size: 1.15rem; }
.detail-steps .prompt { color: var(--ink); font-weight: 850; }
.worked-example { display: grid; grid-template-columns: 0.65fr 1fr; gap: 4rem; background: var(--lavender); max-width: none; padding-right: max(1.25rem, calc((100vw - var(--max)) / 2)); padding-left: max(1.25rem, calc((100vw - var(--max)) / 2)); }
.worked-example h2 { font-size: clamp(2.7rem, 5vw, 5rem); }
.evidence-table { border-top: 2px solid var(--ink); }
.evidence-table > div { display: grid; grid-template-columns: 0.3fr 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(23, 23, 22, 0.25); }

.random-tool { display: grid; grid-template-columns: 0.75fr 1fr; gap: 4rem; align-items: center; border-top: 1px solid var(--line); }
.question-display { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--acid); box-shadow: 8px 8px 0 var(--ink); }
.question-display span { font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.question-display strong { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; }
.split-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.split-grid article { min-height: 330px; padding: 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.split-grid span { display: inline-block; padding: 0.35rem 0.6rem; border-radius: 999px; background: var(--acid); font-size: 0.67rem; font-weight: 900; text-transform: uppercase; }
.split-grid h3 { margin-top: 4rem; font-family: Georgia, serif; font-size: 1.8rem; line-height: 1.1; }
.split-grid p { color: var(--muted); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.case-card { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.case-card summary { min-height: 290px; padding: 1.5rem; cursor: pointer; list-style: none; }
.case-card summary::-webkit-details-marker { display: none; }
.case-card summary span { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.case-card h3 { margin: 5rem 0 0.7rem; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; }
.case-card summary p { color: var(--muted); }
.case-card[open] summary { background: var(--coral); color: #171716; }
.case-card[open] summary p { color: rgba(23, 23, 22, 0.7); }
.case-body { padding: 1.5rem; border-top: 2px solid var(--ink); }
.case-body p { color: var(--muted); }
.case-body .verdict { margin-bottom: 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink); font-weight: 850; }

.dictionary-tools { display: grid; grid-template-columns: 0.8fr 1fr; gap: 4rem; align-items: end; }
.search-field span { display: block; margin-bottom: 0.6rem; font-weight: 850; }
.search-field input { width: 100%; min-height: 3.5rem; padding: 0.8rem 1rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); }
.search-field input:focus { box-shadow: 0 0 0 4px var(--acid); outline: 0; }
.search-status { margin: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.8rem; font-weight: 750; }
.term-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.term-card { min-width: 0; min-height: 290px; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow-wrap: anywhere; }
.term-card > span { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--lavender); font-family: Georgia, serif; font-size: 1.3rem; }
.term-card h3 { margin: 3rem 0 0.75rem; font-family: Georgia, serif; font-size: 2rem; line-height: 1.1; }
.term-card p { font-weight: 700; }
.term-card small { color: var(--muted); font-size: 0.82rem; }
.term-card[hidden] { display: none; }
.empty-state { padding: 2rem; border: 2px dashed var(--ink); border-radius: var(--radius); text-align: center; }

.checklist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.checklist-card { padding: 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.checklist-head { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.checklist-card h3 { min-height: 5.2rem; margin: 3rem 0 1.5rem; font-family: Georgia, serif; font-size: 2rem; line-height: 1.1; }
.checklist-card label { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; padding: 0.85rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.checklist-card input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--ink); }
.checklist-card label:has(input:checked) span { text-decoration: line-through; color: var(--muted); }
.checklist-progress { height: 0.55rem; margin-top: 1rem; overflow: hidden; border: 1px solid var(--ink); border-radius: 999px; }
.checklist-progress span { display: block; width: 0; height: 100%; background: var(--acid); transition: width 180ms ease; }
.pocket-note { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; background: var(--blue); color: #171716; max-width: none; padding-right: max(1.25rem, calc((100vw - var(--max)) / 2)); padding-left: max(1.25rem, calc((100vw - var(--max)) / 2)); }
.pocket-note ol { margin: 0; padding: 0; list-style: none; counter-reset: pocket; }
.pocket-note li { counter-increment: pocket; padding: 1rem 0; border-bottom: 1px solid rgba(23, 23, 22, 0.3); font-size: 1.1rem; font-weight: 800; }
.pocket-note li::before { content: "0" counter(pocket); display: inline-block; width: 3rem; font-family: Georgia, serif; }

.about-story { display: grid; grid-template-columns: 0.7fr 1fr; gap: 5rem; }
.prose { max-width: 720px; font-family: Georgia, serif; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.55; }
.prose p { margin-bottom: 1.5rem; }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.principle-grid article { min-height: 280px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid article:nth-child(2n) { border-right: 0; }
.principle-grid span { color: var(--muted); font-size: 0.7rem; font-weight: 900; }
.principle-grid h3 { margin: 5rem 0 0.7rem; font-family: Georgia, serif; font-size: 2rem; }
.principle-grid p { color: var(--muted); }
.site-map { display: grid; grid-template-columns: 0.5fr 1fr; gap: 4rem; border-top: 2px solid var(--ink); }
.site-map nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.site-map nav a { display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; text-decoration: none; }
.site-map nav a:hover { background: var(--acid); color: #171716; }
.site-map nav span { margin-top: 0.4rem; color: var(--muted); font-size: 0.8rem; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; place-items: center; gap: 6px; width: 2.8rem; height: 2.8rem; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: var(--acid); }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 2px; background: var(--ink); transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: calc(2.25rem + 4.75rem) 1rem auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; border: 2px solid var(--ink); border-radius: 1.2rem; background: var(--white); box-shadow: 7px 7px 0 var(--ink); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.8rem; }
  .nav-cta { margin-top: 0.5rem; text-align: center; }
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { min-height: 520px; }
  .section-heading,
  .section-heading.horizontal,
  .checker,
  .faq,
  .page-hero,
  .worked-example,
  .random-tool,
  .dictionary-tools,
  .pocket-note,
  .about-story,
  .site-map { grid-template-columns: 1fr; gap: 2.5rem; }
  .checker-copy,
  .faq-heading { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lab-intro { grid-template-columns: 1fr; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-card { min-height: 350px; }
  .lab-icon { margin-bottom: 3rem; }
  .example { grid-template-columns: 0.25fr 1fr; }
  .example > div,
  .example p { grid-column: 2; }
  .example-end { grid-column: 2 !important; }
  .page-grid,
  .checklist-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .notice { font-size: 0.68rem; }
  .site-header { padding-right: 1rem; padding-left: 1rem; }
  .brand-copy small { display: none; }
  .hero { min-height: 0; padding-top: 3.5rem; padding-bottom: 4rem; }
  h1 { font-size: clamp(3.25rem, 16vw, 4.7rem); }
  h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 1rem; justify-content: space-between; }
  .hero-facts strong { font-size: 1.55rem; }
  .hero-visual { min-height: 430px; }
  .hero-visual::before { width: 210px; height: 210px; }
  .evidence-card { width: 145px; padding: 0.75rem; }
  .hero-seal { width: 145px; height: 145px; }
  .hero-seal strong { font-size: 2.8rem; }
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .step-number { margin-bottom: 2.5rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .example { grid-template-columns: 1fr; gap: 0.8rem; }
  .example h3,
  .example p,
  .example-end { grid-column: 1 !important; }
  .closing { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .copyright { grid-column: 1; }
  .page-hero { min-height: 0; padding-top: 4rem; padding-bottom: 4rem; }
  .page-hero h1 { font-size: clamp(2.7rem, 12vw, 3.7rem); overflow-wrap: anywhere; }
  .page-note { transform: none; }
  .page-grid,
  .case-grid,
  .term-grid,
  .checklist-grid,
  .principle-grid,
  .site-map nav { grid-template-columns: minmax(0, 1fr); }
  .page-card { min-height: 240px; }
  .detail-steps li { grid-template-columns: 1fr; gap: 1rem; }
  .detail-number { font-size: 3rem; }
  .evidence-table > div { grid-template-columns: 1fr; }
  .case-card summary { min-height: 250px; }
  .checklist-card h3 { min-height: 0; }
  .principle-grid article { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #181816; --ink: #f4f0e7; --muted: #aaa89f; --line: rgba(244, 240, 231, 0.19); --white: #252521; --shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.3); }
  .site-header { background: rgba(24, 24, 22, 0.9); }
  .brand-mark,
  .nav-cta,
  .button-primary,
  .privacy-chip span,
  .choice-grid input:checked + span,
  .marquee { color: #171716; }
  .hero-lead { color: #d2d0c7; }
  .hero-visual,
  .evidence-card,
  .thought-form,
  .lab-card,
  .button-primary,
  .nav-cta { border-color: #171716; }
  .hero-seal,
  .evidence-card,
  .lab-card { color: #171716; }
  .hero-seal { border-color: #171716; box-shadow: 0 0 0 7px var(--lavender), 0 0 0 9px #171716; }
  .evidence-card { background: #fffef9; box-shadow: 5px 5px 0 #171716; }
  .thought-form { box-shadow: 8px 8px 0 #f4f0e7; }
  .thought-form textarea { background: #1d1d1a; }
  .thought-result { background: #24283c; }
}
