/* ===== Design tokens ===== */
:root {
  --navy-900: #0b1723;
  --navy-800: #102131;
  --charcoal: #111820;
  --gold: #f3b957;
  --gold-hover: #ffd080;
  --parchment: #f4ebdd;
  --aged: #e8d7b9;
  --offwhite: #f8f5ee;
  --ink: #142232;
  --ink-soft: #59616a;
  --red: #b63e31;
  --green: #299451;
  --line-dark: rgba(255, 255, 255, 0.12);

  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hand: 'Caveat', 'Segoe Script', cursive;

  --maxw: 1200px;
  --radius: 8px;
  --paper-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .15 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");

  /* legacy names still used by privacy.html */
  --bg: var(--navy-900);
  --text: #efe6d2;
  --amber: var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-hover); outline-offset: 3px; }

.mono-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow-red { color: var(--red); font-weight: 600; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy-900);
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  font: 700 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  min-height: 44px;
}
.btn:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; min-height: 40px; box-shadow: none; }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: #1a3148; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.text-link { color: var(--red); font-weight: 600; text-decoration: none; display: inline-block; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.micro { font-size: 0.82rem; color: rgba(255, 255, 255, 0.78); margin: 12px 0 0; }

/* ===== Header ===== */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; background: linear-gradient(180deg, rgba(11, 23, 35, 0.9), rgba(11, 23, 35, 0)); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: var(--mono); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 1.05rem; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: rgba(255, 255, 255, 0.9); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 8px 0; }
.site-nav a:not(.btn):hover { color: var(--gold-hover); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: #fff; border-radius: 6px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

/* ===== Hero ===== */
.hero { position: relative; background: var(--navy-900); color: #fff; padding: 108px 0 132px; overflow: hidden; isolation: isolate; }
.hero-art {
  position: absolute; inset: 0; z-index: -1;
  background: url('/images/hero-desk.webp') 50% 66% / cover no-repeat, var(--navy-900);
}
.hero-grid { position: relative; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lede { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9); font-size: 1.05rem; color: rgba(255, 255, 255, 0.9); max-width: 420px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero-challenge { font-weight: 700; margin: 20px 0 22px; }

/* ===== Sample case ===== */
.folder { position: relative; container-type: inline-size; width: 85%; margin: 0 auto; }
.folder-img { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.4)); }
.folder-ui { position: absolute; inset: 0; }
.case-head { position: absolute; left: 9%; top: 13.5%; width: 56%; }
.case-eyebrow { color: var(--red); font-weight: 600; margin-bottom: 4px; }
.case-head h2 { font-size: clamp(1.5rem, 4.1cqw, 2.4rem); margin-bottom: 6px; }
.case-intro { color: #4a4036; font-size: clamp(0.85rem, 1.6cqw, 1rem); margin: 0; }
.folder .case-form { position: absolute; left: 41.7%; top: 33%; width: 27%; }
.folder .case-form fieldset { gap: 7px; margin-bottom: 10px; }
.folder .case-form legend { font-size: clamp(0.78rem, 1.3cqw, 0.9rem); margin-bottom: 8px; }
.folder .opt { padding: 6px 10px; gap: 9px; min-height: 36px; font-size: clamp(0.78rem, 1.15cqw, 0.9rem); line-height: 1.25; }
.folder .case-actions { margin: 0; }
.folder .btn { padding: 9px 18px; min-height: 40px; box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.folder .feedback { margin-top: 10px; position: relative; z-index: 3; box-shadow: 0 8px 18px rgba(60, 40, 10, 0.3); }
.folder .feedback h3 { font-size: 1rem; }
.folder .feedback p { font-size: 0.82rem; margin-bottom: 8px; }
.case-section { position: relative; z-index: 5; margin-top: -96px; background: linear-gradient(180deg, transparent 0, transparent 120px, var(--offwhite) 140px); padding: 0 0 18px; }








.case-form fieldset { border: 0; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; min-width: 0; }
.case-form legend { font-size: 0.88rem; font-weight: 600; margin-bottom: 12px; padding: 0; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255, 255, 255, 0.55); border: 1.5px solid rgba(90, 60, 20, 0.35); border-radius: 6px; cursor: pointer; font-size: 0.9rem; line-height: 1.35; min-height: 48px; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.opt:hover { background: rgba(255, 255, 255, 0.85); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #6d7782; background: #fff; transition: all 0.15s; }
.opt:has(input:checked) { border-color: #1d5fb4; background: #e5f0fb; box-shadow: 0 0 0 1px #1d5fb4; }
.opt:has(input:checked)::before { border-color: #1d5fb4; background: radial-gradient(circle, #1d5fb4 0 4px, #fff 5px); }
.opt:has(input:focus-visible) { outline: 3px solid var(--navy-900); outline-offset: 2px; }
.opt.is-correct { border-color: var(--green); background: #e5f5ea; box-shadow: 0 0 0 1px var(--green); }
.opt.is-correct::before { border-color: var(--green); background: radial-gradient(circle, var(--green) 0 4px, #fff 5px); }
.opt.is-wrong { border-color: var(--red); background: #fbeae7; box-shadow: 0 0 0 1px var(--red); }
.opt.is-wrong::before { border-color: var(--red); background: radial-gradient(circle, var(--red) 0 4px, #fff 5px); }
.feedback { display: flex; gap: 12px; padding: 16px 18px; border-radius: 6px; background: #dfe9f2; border: 1px solid #b8cde0; animation: pop 0.3s ease-out; }
.feedback[hidden] { display: none; }
.feedback.bad { background: #f6e3df; border-color: #e3b4ad; }
.feedback h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.feedback p { font-size: 0.84rem; line-height: 1.5; margin: 0 0 12px; color: #26323f; }
.feedback .fb-icon { flex: none; margin-top: 2px; }
.fb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.link-btn { background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font: 600 0.88rem var(--sans); cursor: pointer; padding: 10px 0; min-height: 44px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.paperclip { position: absolute; width: 22px; height: 58px; border: 3px solid #9aa3ad; border-radius: 12px; z-index: 3; }
.paperclip::after { content: ''; position: absolute; left: 3px; top: 12px; width: 10px; height: 46px; border: 3px solid #9aa3ad; border-radius: 8px; }
.clip-c { top: -22px; right: 40px; transform: rotate(10deg); }

/* ===== What is a logical fallacy ===== */
.fallacy { background: linear-gradient(180deg, #ecdfc5 0, #f2e9d6 120px, #f2e9d6 100%); padding: 56px 0 64px; border-top: 4px solid var(--gold); box-shadow: inset 0 14px 22px -14px rgba(90, 60, 20, 0.28); position: relative; }
.fallacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fallacy h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 20px; max-width: 520px; }
.fallacy-copy p { color: var(--ink-soft); max-width: 480px; }
.fallacy-copy .text-link { margin-top: 8px; }
.fallacy-art { position: relative; min-height: 340px; }
.fallacy-art { filter: drop-shadow(0 14px 18px rgba(60, 40, 10, 0.35)); }
.sheet { position: absolute; background: var(--paper-noise), linear-gradient(160deg, #e5d8ba, #d3c19a); }
.sheet-back { inset: 8% 4% 6% 8%; transform: rotate(4deg); background-color: #cdb990; clip-path: polygon(0 3%, 6% 0, 14% 2%, 30% 0, 52% 2%, 70% 0, 88% 2%, 100% 0, 99% 40%, 100% 70%, 98% 100%, 70% 98%, 40% 100%, 15% 98%, 0 100%, 1% 60%); }
.sheet-mid { inset: 5% 6% 8% 5%; transform: rotate(-3deg); clip-path: polygon(0 1%, 10% 3%, 28% 0, 47% 2%, 66% 0, 86% 3%, 100% 1%, 98% 45%, 100% 78%, 99% 100%, 75% 97%, 50% 100%, 24% 97%, 0 100%, 2% 55%); }
.sheet-front { inset: 0; position: relative; transform: rotate(-1.8deg); padding: 28px 34px 34px; background: none; }
.sheet-front::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 40%, rgba(250, 244, 226, 0.5), transparent 65%), linear-gradient(180deg, transparent 52%, rgba(105, 75, 35, 0.14) 52.4%, rgba(255, 250, 230, 0.3) 52.9%, transparent 53.5%), var(--paper-noise), linear-gradient(160deg, #eadfc5, #d9c8a2); box-shadow: inset 0 0 50px rgba(125, 88, 40, 0.4);
  clip-path: polygon(0 0, 100% 1%, 99% 30%, 100% 62%, 98% 100%, 90% 97%, 78% 100%, 64% 96%, 50% 100%, 36% 97%, 22% 100%, 10% 96%, 0 99%, 1% 60%, 0 30%); }
.sheet-front .mono-label { color: var(--ink); font-size: 0.7rem; margin-bottom: 14px; font-weight: 600; }
.sheet-quote { font-family: var(--mono); font-size: 1.12rem; line-height: 1.55; color: var(--ink); max-width: 360px; margin-bottom: 14px; }
.sheet-note { font-family: var(--hand); color: var(--red); font-size: 1.55rem; line-height: 1; display: flex; align-items: center; gap: 8px; margin: 6px 0 18px 70px; transform: rotate(-3deg); }
.sheet-explain { font-family: var(--mono); font-size: 0.82rem; line-height: 1.6; color: #3a3228; margin: 0; max-width: 350px; }

/* ===== Why it matters ===== */
.why { background: var(--navy-900); color: #fff; padding: 44px 0 52px; background-image: linear-gradient(180deg, #0b1723, #0d1b2a); }
.why-eyebrow { color: rgba(255, 255, 255, 0.85); margin-bottom: 14px; }
.why h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 820px; margin-bottom: 14px; }
.why-intro { color: rgba(255, 255, 255, 0.82); max-width: 760px; margin-bottom: 22px; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: linear-gradient(180deg, #121e2a, #0f1822); border: 1px solid var(--line-dark); border-radius: 6px; padding: 18px 20px 20px; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-content: start; transition: transform 0.2s, border-color 0.2s; }
.why-card:hover { transform: translateY(-3px); border-color: rgba(243, 185, 87, 0.45); }
.why-card .ico { width: 48px; height: 48px; padding: 9px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.why-card h3 { font-family: var(--sans); font-size: 0.98rem; font-weight: 700; line-height: 1.25; align-self: center; }
.why-card p { grid-column: 1 / -1; margin: 10px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.ico-blue { color: #4aa8ff; } .ico-orange { color: #ff8a4c; } .ico-green { color: #48e08a; } .ico-purple { color: #b583ff; }

/* ===== How it works ===== */
.how { background: var(--offwhite); padding: 44px 0 56px; }
.how h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; max-width: 760px; }
.how-intro { color: var(--ink-soft); max-width: 860px; margin-bottom: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid #ddd5c4; border-radius: 6px; padding: 18px 18px 16px; box-shadow: 0 8px 24px rgba(40, 30, 10, 0.1); display: flex; flex-direction: column; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -36px; top: 50%; width: 28px; text-align: center; color: #8d8577; font-size: 1.5rem; line-height: 1; }
.step-num { position: absolute; top: 18px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; }
.step-head { padding-left: 42px; min-height: 66px; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 2px; }
.step-head p { margin: 0; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.step img { border-radius: 4px; border: 1px solid #0b1723; margin-top: auto; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; background: #0b1723; }

/* ===== Final CTA ===== */
.final { position: relative; isolation: isolate; color: #fff; text-align: center; padding: 64px 0 72px; background: var(--navy-900); overflow: hidden; }
.final-art { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 70% at 50% 45%, rgba(8, 14, 22, 0.6), rgba(8, 14, 22, 0) 100%), linear-gradient(180deg, rgba(8, 14, 22, 0.25), rgba(8, 14, 22, 0) 40%), url('/images/cta-desk.webp') 50% 55% / cover no-repeat, var(--navy-900); }
.final-copy { max-width: 940px; }
.final h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 18px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.final h2 em { font-style: normal; color: var(--gold); }
.final p { color: rgba(255, 255, 255, 0.9); max-width: 520px; margin-left: auto; margin-right: auto; }
.final .btn { margin: 14px 0 0; }
/* ===== Educators / signup ===== */
.educators { background: var(--navy-900); color: #fff; padding: 40px 0; border-top: 1px solid var(--line-dark); }
.educators-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.edu-copy .mono-label { color: var(--gold); margin-bottom: 12px; }
.edu-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.edu-copy p { color: rgba(255, 255, 255, 0.82); max-width: 460px; }
.edu-soon { margin: 18px 0 0; padding: 12px 16px; max-width: 460px; border-left: 3px solid var(--gold); background: rgba(243, 185, 87, 0.08); border-radius: 0 6px 6px 0; font-size: 0.92rem; }
.edu-soon strong { color: var(--gold); }
.edu-links { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.edu-links a { color: var(--gold); font-weight: 600; text-decoration: none; }
.edu-links a:hover { color: var(--gold-hover); text-decoration: underline; text-underline-offset: 4px; }
.notify { background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: 8px; padding: 20px 22px; }
.notify h3 { font-family: var(--sans); color: var(--gold); font-size: 1.15rem; margin-bottom: 8px; }
.notify > p { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.form { display: grid; gap: 8px; margin-top: 10px; }
.form label { font-size: 0.88rem; }
.form input[type='email'], .form select { width: 100%; padding: 11px 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.25); background: #0b1117; color: #fff; font: inherit; min-height: 44px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); margin: 4px 0 0; }
.fine a { color: var(--gold); }
.form .btn { justify-content: center; }
.status { padding: 10px 12px; border-radius: 6px; font-weight: 600; margin-top: 12px; }
.status.ok { color: #8fd18b; border: 1px solid #8fd18b; }
.status.err { color: #f08a7a; border: 1px solid #f08a7a; }
.status[hidden] { display: none; }

/* ===== Footer ===== */
.site-footer { background: #070f17; color: rgba(255, 255, 255, 0.65); text-align: center; font-size: 0.85rem; padding: 18px 0 24px; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--gold); }

/* ===== Privacy page (shared stylesheet) ===== */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 16px; color: var(--text); }
.doc h1 { font-size: 2rem; color: var(--gold); }
.doc h2 { color: var(--gold); font-size: 1.1rem; margin-top: 28px; }
.doc a { color: var(--gold); }

/* ===== Motion ===== */
.hero-copy > * { animation: rise 0.7s ease-out both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(n+3) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { gap: 36px; }
  .step:not(:last-child)::after { right: -30px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 24px; right: 24px; flex-direction: column; align-items: stretch; gap: 0; background: #0b1723; border: 1px solid var(--line-dark); border-radius: 8px; padding: 8px 16px 16px; display: none; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .site-nav .btn { margin-top: 14px; justify-content: center; }
  .hero { padding: 96px 0 118px; }
  .hero-art { background:
    linear-gradient(180deg, rgba(11, 23, 35, 0.25) 0%, rgba(11, 23, 35, 0.5) 22%, rgba(11, 23, 35, 0.92) 48%, var(--navy-900) 100%),
    url("/images/hero-desk.webp") 78% 0% / auto 420px no-repeat; }
  .fallacy-grid { grid-template-columns: 1fr; gap: 48px; }
  .fallacy-art { max-width: 520px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -38px; transform: translateX(-50%); }
  .educators-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .case-section { margin-top: -80px; background: linear-gradient(180deg, transparent 0, transparent 90px, var(--offwhite) 90px); }
  .why-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .final { padding: 56px 0 64px; }
}

@media (max-width: 420px) {
  .brand { font-size: 0.9rem; letter-spacing: 0.1em; }
  .hero h1 { font-size: 2.15rem; }
  .btn-lg { padding: 15px 20px; font-size: 1rem; width: 100%; justify-content: center; }
  .evidence blockquote { font-size: 0.95rem; }
  .sheet-note { margin-left: 20px; }
  .sheet-front { padding: 24px 20px; }
}

@media (max-width: 920px) {
  .case-section { margin-top: -70px; }
  .folder-ui { position: static; margin: -26px 8px 0; padding: 26px 18px 24px; position: relative; z-index: 2;
    background: linear-gradient(180deg, transparent 29%, rgba(105, 75, 35, 0.14) 29.4%, transparent 30%), radial-gradient(ellipse at 50% 40%, rgba(250, 244, 226, 0.5), transparent 65%), var(--paper-noise), linear-gradient(170deg, #e8dcc2, #d9c8a4);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3), inset 0 0 40px rgba(125, 88, 40, 0.35); border-radius: 3px 5px 4px 3px; }
  .case-head, .folder .case-form { position: static; width: auto; }
  .case-head { margin-bottom: 18px; }
  .case-head h2 { font-size: 1.7rem; }
  .case-intro { font-size: 1rem; }
  .folder .opt { font-size: 0.95rem; min-height: 46px; }
  .folder .case-form legend { font-size: 0.95rem; }
}

/* Comfortable touch targets for text links */
.text-link { padding: 12px 0; }
.edu-links { gap: 0; }
.edu-links a { display: inline-block; padding: 11px 0; }
.site-footer a { display: inline-block; padding: 12px 6px; }
.fine a { display: inline-block; padding: 6px 0; }

.mobile-evidence { display: none; }
@media (max-width: 920px) {
  .mobile-evidence { display: block; margin: 16px 0 0; padding: 14px 16px; font-family: var(--mono); font-size: 0.95rem; line-height: 1.6; color: var(--ink); background: rgba(255, 250, 235, 0.55); border: 1px dashed rgba(90, 60, 20, 0.45); border-radius: 3px; }
  .mobile-evidence .mono-label { display: block; font-size: 0.7rem; font-weight: 600; margin-bottom: 6px; }
  .case-head { margin-bottom: 20px; }
  .step-head { min-height: 0; }
}
@media (max-width: 600px) {
  .folder { width: 100%; }
  .folder-ui { margin: -22px 4px 0; }
  .folder .feedback p { font-size: 0.9rem; }
}

/* Desktop: the result takes the quiz's place on the folder */
.chose { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(20, 34, 50, 0.18); font-size: 0.78rem; color: #33414f; }
.chose b { display: block; color: var(--ink); }
@media (min-width: 921px) {
  .case-form.answered fieldset, .case-form.answered .case-actions { display: none; }
  .folder .feedback:not([hidden]) { margin-top: 0; padding: 12px 14px 14px; display: block; }
  .folder .feedback > .fb-icon { float: left; margin: 2px 8px 0 0; }
  .folder .feedback h3 { font-size: 0.9375rem; }
  .folder .feedback p { font-size: 0.8125rem; line-height: 1.45; margin: 0 0 10px; }
  .folder .feedback .chose { font-size: 0.8125rem; }
  .folder .feedback .btn { padding: 8px 12px; min-height: 36px; font-size: 0.8125rem; box-shadow: none; }
  .folder .feedback .link-btn { font-size: 0.8125rem; padding: 6px 0; min-height: 32px; }
}
@media (max-width: 920px) { .chose { display: none; } }
