/*
Theme Name: The Daily Quiz
Theme URI: https://thedailyquiz.app
Author: Floris van Pallandt
Author URI: https://thedailyquiz.app
Description: Editorial WordPress theme for The Daily Quiz — a hand-crafted daily quiz publication. Features a masthead-led hero, live-quiz teaser, editorial type system (Playfair Display + JetBrains Mono), pricing, press quotes and a dark final-CTA. Built to mirror the NYT-puzzle-range feel.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daily-quiz
Tags: editorial, magazine, blog, one-column, two-columns, custom-menu, custom-logo, featured-images, full-width-template, sticky-post, threaded-comments, translation-ready
*/

:root {
  --bg: #F6EEE4;
  --bg-alt: #EFE5D6;
  --bg-deep: #E9DEC8;
  --ink: #111111;
  --ink-soft: #2A2A2A;
  --ink-mute: #8B857C;
  --rule: rgba(17,17,17,0.14);
  --rule-soft: rgba(17,17,17,0.06);
  --accent: #111111;
  --accent-soft: #B8AEA0;
  --correct: #2F7A4E;
  --wrong: #8A5A4A;
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }

/* Account for the sticky nav + notice bar so anchor targets land below it. */
section[id] { scroll-margin-top: 110px; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-mute); }
.serif { font-family: var(--serif); }
.italic { font-style: italic; font-weight: 400; }

/* Screen reader text (WP requirement) */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 8px; top: 8px; width: auto; height: auto; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 1000; }

/* ─── SITE NOTICE (coming-soon bar) ─── */
.site-notice {
  background: var(--ink); color: var(--bg);
  padding: 9px 0; text-align: center;
}
.site-notice .wrap { padding: 0 32px; }
.site-notice .mono {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--bg); font-weight: 600;
}

/* ─── NAV ─────────────────────────────── */
nav.top {
  position: sticky; top: 0; z-index: 50; background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
nav.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}
.mast-small {
  font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: -0.3px;
  text-decoration: none; color: var(--ink);
}
.mast-small .italic { margin-right: 2px; }
nav.top ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
nav.top a.link,
nav.top ul a {
  font-size: 13px; text-decoration: none; color: var(--ink-soft); font-weight: 500;
}
nav.top a.link:hover,
nav.top ul a:hover { color: var(--accent); }
nav.top .cta {
  background: var(--ink); color: var(--bg); border: none;
  padding: 10px 16px; font-family: var(--sans); font-weight: 600; font-size: 13px;
  letter-spacing: -0.1px; text-decoration: none; display: inline-block;
}

/* Pending state — dynamic content hidden until JS populates it, then fades in. */
[data-quiz-pending] .teaser-q-label,
[data-quiz-pending] .teaser-q,
[data-quiz-pending] .teaser-options,
[data-quiz-pending] .teaser-dateline,
[data-quiz-pending] [data-quiz-edition-num],
[data-quiz-pending] [data-quiz-dateline] { opacity: 0; }
.teaser, .stat, [data-quiz-edition-num], [data-quiz-dateline],
.teaser-q-label, .teaser-q, .teaser-options { transition: opacity .25s ease; }

/* ─── HERO (inverted: dark on light) ─────────────── */
.hero {
  padding: 56px 0 64px;
  background: var(--ink); color: var(--bg);
  border-bottom: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: stretch; }
.hero h1 { color: var(--bg); }
.hero h1 .italic { color: var(--accent-soft); }
.hero .hero-sub { color: rgba(246, 238, 228, 0.78); }

.hero .btn-primary { background: var(--bg); color: var(--ink); }
.hero .btn-primary:hover { background: #fff; }

.hero .store-row a {
  border-color: rgba(246, 238, 228, 0.2);
  color: var(--bg);
}
.hero .store-row a:hover { border-color: var(--bg); }
.hero .store-row .label .top { color: rgba(246, 238, 228, 0.55); }
.hero .store-row .label .bot { color: var(--bg); }
.hero-meta {
  display: flex; justify-content: space-between; padding-bottom: 14px;
  border-bottom: 1px solid var(--rule); margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -1.4px;
  margin: 0 0 20px; text-wrap: balance;
}
.hero h1 .italic { font-weight: 400; color: var(--accent-soft); }
.hero-sub {
  font-family: var(--sans); font-size: 16px; font-style: normal; color: var(--ink-soft);
  line-height: 1.45; margin: 0 0 28px; max-width: 520px; font-weight: 400;
}
.hero-ctas { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border: none; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: -0.1px;
  transition: transform .15s ease;
}
.btn:hover { transform: translateX(2px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn .arrow { font-size: 22px; }
.store-row { display: flex; gap: 10px; margin-top: 4px; }
.store-row a {
  flex: 1; display: flex; gap: 10px; align-items: center; justify-content: center;
  padding: 12px 14px; background: transparent; border: 1px solid var(--rule);
  text-decoration: none; color: var(--ink); font-size: 12px;
}
.store-row .label { line-height: 1.1; text-align: left; }
.store-row .label .top { font-size: 9px; color: var(--ink-mute); letter-spacing: 0.5px; }
.store-row .label .bot { font-size: 14px; font-weight: 600; font-family: var(--sans); }

.hero-byline {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--rule);
  display: flex; align-items: center; gap: 14px;
}
.avatar {
  width: 42px; height: 42px; border-radius: 100px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-byline .who { font-size: 13px; font-weight: 600; }
.hero-byline .who .mono { display: block; margin-top: 2px; font-size: 9px; color: var(--ink-mute); }

/* ─── HERO CARD (right) ─────────────── */
.teaser {
  background: var(--bg); color: var(--ink); border: 1px solid var(--rule);
  padding: 32px 28px; align-self: stretch;
  display: flex; flex-direction: column; min-height: 460px;
}
.teaser-header {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: 22px;
}
.teaser-header.teaser-header-stacked {
  flex-direction: column; align-items: center; gap: 6px; text-align: center;
}
.teaser-header .edition {
  font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -0.3px;
}
.teaser-header.teaser-header-stacked .edition { font-size: 26px; }
.teaser-header.teaser-header-stacked .edition .italic { margin-right: 2px; }
.teaser-dateline {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}
.teaser-q-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}
.teaser-q {
  font-family: var(--sans); font-size: 22px; line-height: 1.25; letter-spacing: -0.3px;
  font-weight: 700; margin: 0 0 20px; text-wrap: balance; color: var(--ink);
}
.teaser-options { display: flex; flex-direction: column; gap: 8px; }
.teaser-opt {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1.5px solid var(--rule); background: transparent; text-align: left;
  font-family: inherit; font-size: 14px; color: var(--ink); font-weight: 500;
  transition: all .15s ease; width: 100%; cursor: pointer;
}
.teaser-opt:hover:not(:disabled) { border-color: var(--ink); background: var(--bg-alt); }
.teaser-opt:disabled { cursor: default; }
.teaser-opt.correct { border-color: var(--correct); background: #C9E0CD; }
.teaser-opt.wrong { border-color: var(--wrong);  background: #E8D5CC; }
.teaser-opt .letter {
  width: 26px; height: 26px; border-radius: 6px;
  border: 1.5px solid currentColor; background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.teaser-opt.correct .letter { background: var(--correct); color: #fff; border-color: var(--correct); }
.teaser-opt.wrong   .letter { background: var(--wrong);   color: #fff; border-color: var(--wrong); }
.teaser-foot {
  margin-top: auto; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.teaser-foot a {
  font-family: var(--serif); font-weight: 700; font-size: 14px;
  color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
}

/* ─── EDITION STRIP ─────────────── */
.strip { border-bottom: 1px solid var(--rule); background: var(--bg); padding: 0; }
.strip .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: 36px 32px;
}
.strip.strip-3 .wrap { grid-template-columns: repeat(3, 1fr); }
.strip > .wrap > div:not(:last-child) { border-right: 1px solid var(--rule); }
.stat {
  padding: 0 28px; display: flex; align-items: baseline; gap: 14px;
}
.stat .num {
  font-family: var(--serif); font-size: 42px; font-weight: 700; letter-spacing: -1.2px;
  line-height: 1; color: var(--ink);
}
.stat .num .italic { font-weight: 400; font-size: 32px; color: var(--ink-mute); }
.stat .lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--ink-mute); line-height: 1.4;
}

/* ─── SECTION HELPERS ─────────────── */
section { padding: 96px 0; border-bottom: 1px solid var(--rule); }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
h2.section-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -1.2px;
  margin: 0 0 18px; text-wrap: balance;
}
h2.section-title .italic { font-weight: 400; color: var(--accent); }

/* ─── WHAT IT IS (split) ─────────────── */
.what { background: #fff; }
.what .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.what-copy p {
  font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink-soft);
  margin: 0 0 20px; font-weight: 400;
}
.what-copy p.lede { font-size: 19px; color: var(--ink); font-weight: 500; }
.pull {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin: 28px 0;
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35;
  color: var(--ink); max-width: 480px;
}
.what-phone-col { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.phone-frame {
  width: 300px; height: 620px; border-radius: 42px; overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 0 9px #0B0B0D, 0 30px 60px rgba(40,28,16,0.15);
  position: relative;
}
.phone-frame .notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 10;
}
.phone-frame .home-ind {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 4px; border-radius: 100px; background: rgba(0,0,0,0.35); z-index: 10;
}
.phone-inner {
  position: absolute; inset: 0; padding: 48px 18px 24px;
  overflow: hidden; display: flex; flex-direction: column;
}
.phone-inner.phone-today { padding: 36px 14px 0; gap: 10px; }
.phone-inner.phone-today .phone-mast-hero {
  text-align: center; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: -0.3px;
  padding: 6px 0 4px;
}
.phone-inner.phone-today .phone-mast-hero .italic { font-weight: 400; font-style: italic; margin-right: 2px; }
.phone-inner.phone-today .phone-mast-meta {
  text-align: center; font-family: var(--mono); font-size: 7px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-mute); padding-bottom: 9px; border-bottom: 1px solid var(--rule); margin-bottom: 2px;
}
.phone-edition { padding: 4px 2px; }
.phone-edition-title { font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: -0.2px; line-height: 1.2; }
.phone-edition-byline { font-family: var(--serif); font-size: 10px; color: var(--ink-mute); font-style: italic; margin-top: 2px; }

.phone-big-cta {
  background: var(--ink); color: var(--bg); padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 13px; letter-spacing: -0.1px;
  border-radius: 2px;
}

.phone-streak-card { background: var(--bg-alt); padding: 10px 11px; border-radius: 2px; }
.phone-streak-card .phone-streak-top {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px;
}
.phone-streak-card .phone-streak-lbl {
  font-family: var(--mono); font-size: 7px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-mute);
}
.phone-streak-card .phone-streak-num {
  font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1;
}
.phone-streak-card .phone-streak-num span { font-size: 8px; color: var(--ink-mute); font-weight: 400; margin-left: 3px; }

.phone-week { display: flex; gap: 4px; justify-content: space-between; margin-bottom: 10px; }
.phone-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.phone-day-dot {
  width: 16px; height: 16px; border-radius: 100px;
  border: 1.2px solid var(--rule); background: transparent;
}
.phone-day-dot.on { background: var(--ink); border-color: var(--ink); }
.phone-day span {
  font-family: var(--mono); font-size: 7px; letter-spacing: 0.8px; color: var(--ink-mute); font-weight: 600;
}

.phone-mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  padding-top: 9px; border-top: 1px solid var(--rule);
}
.phone-mstat .lbl { font-family: var(--mono); font-size: 7px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 3px; }
.phone-mstat .val { font-family: var(--serif); font-size: 16px; font-weight: 700; line-height: 1; }
.phone-mstat .val span { font-size: 9px; color: var(--ink-mute); font-weight: 400; font-style: italic; }

.phone-supporter { background: var(--ink); color: var(--bg); padding: 10px 11px 11px; border-radius: 2px; }
.phone-sup-kicker {
  font-family: var(--mono); font-size: 6.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: #C9A66A; font-weight: 700; margin-bottom: 6px;
}
.phone-sup-title { font-family: var(--serif); font-size: 13px; font-weight: 700; line-height: 1.18; letter-spacing: -0.2px; margin-bottom: 8px; }
.phone-sup-cta {
  background: var(--bg); color: var(--ink); text-align: center;
  padding: 7px 8px; font-family: var(--serif); font-size: 10px; font-weight: 400; font-style: italic;
  border-radius: 1px;
}

.phone-tabbar {
  margin: auto -14px 0; padding: 10px 0 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--rule); background: var(--bg-alt);
}
.phone-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-mute); }
.phone-tab.active { color: var(--ink); }
.phone-tab span { font-family: var(--mono); font-size: 7px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

.phone-mast {
  text-align: center; padding: 6px 0 12px; border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-weight: 700; font-size: 18px;
}
.phone-mast .m { font-family: var(--mono); font-size: 8px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 4px; font-weight: 600; }
.phone-theme-label { font-family: var(--mono); font-size: 8px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 18px 0 8px; }
.phone-theme { font-family: var(--serif); font-size: 22px; line-height: 1.08; letter-spacing: -0.4px; font-weight: 700; margin-bottom: 12px; }
.phone-theme .italic { font-weight: 400; }
.phone-desc { font-size: 11px; color: var(--ink-soft); line-height: 1.45; margin-bottom: 16px; }
.phone-cta {
  background: var(--ink); color: var(--bg); padding: 13px 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 13px;
}
.phone-mini-caption { text-align: center; font-family: var(--mono); font-size: 8px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-mute); margin-top: 8px; }
.phone-streak {
  margin-top: 16px; background: var(--bg-alt); border: 1px solid var(--rule);
  padding: 14px;
}
.phone-streak-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.phone-streak-lbl { font-family: var(--mono); font-size: 8px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-mute); }
.phone-streak-num { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1; }
.phone-streak-num span { font-size: 11px; color: var(--ink-mute); font-weight: 400; margin-left: 2px; }
.phone-dots { display: flex; gap: 4px; }
.phone-dot {
  flex: 1; aspect-ratio: 1; border-radius: 100px; border: 1.5px solid var(--rule);
  display: flex; align-items: center; justify-content: center; color: var(--ink-mute);
  font-size: 8px;
}
.phone-dot.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.phone-dot.on::after { content: '●'; }

/* ─── HOW IT WORKS ─────────────── */
.how { background: #fff; }
.how .head { text-align: center; margin-bottom: 72px; }
.how .head .sub { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; }
.step { padding: 8px 0; position: relative; }
.step .n { font-family: var(--serif); font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -1px; color: var(--accent); margin-bottom: 18px; }
.step .n .italic { color: var(--ink-mute); font-weight: 400; }
.step h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -0.3px; margin: 0 0 10px; line-height: 1.15; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* ─── FEATURE CALLOUTS ─────────────── */
.callouts { padding-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.callout { border: 1px solid var(--rule); padding: 24px 22px; background: var(--bg); }
.callout .icon { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.callout .icon .badge {
  width: 32px; height: 32px; background: var(--ink); color: var(--bg);
  font-family: var(--serif); font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.callout .mono { font-size: 9px; letter-spacing: 1.6px; }
.callout h4 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.2px; }
.callout p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* ─── PRICING ─────────────── */
.pricing { background: var(--bg-alt); }
.pricing .head { text-align: center; margin-bottom: 60px; }
.pricing .head .sub { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-soft); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--rule); padding: 36px 32px; display: flex; flex-direction: column; }
.plan.supporter { background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.plan .plan-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; margin-bottom: 12px; }
.plan.supporter .plan-tag { color: var(--accent-soft); }
.plan-tag .badge-recommend {
  background: var(--accent); color: #fff; padding: 3px 8px; margin-left: 8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 1.4px;
}
.plan .price { font-family: var(--serif); font-size: 56px; font-weight: 700; letter-spacing: -1.8px; line-height: 1; margin-bottom: 4px; }
.plan .price .cents { font-size: 34px; }
.plan .price .per { font-size: 18px; color: var(--ink-mute); font-weight: 400; font-style: italic; }
.plan.supporter .price .per { color: rgba(255,255,255,0.5); }
.plan .price-sub { font-size: 13px; color: var(--ink-mute); margin-bottom: 28px; }
.plan.supporter .price-sub { color: rgba(255,255,255,0.55); }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.plan li {
  display: flex; align-items: flex-start; gap: 12px; padding: 11px 0;
  border-top: 1px solid var(--rule); font-size: 14px;
}
.plan.supporter li { border-top-color: rgba(255,255,255,0.12); }
.plan li:last-child { border-bottom: 1px solid var(--rule); }
.plan.supporter li:last-child { border-bottom-color: rgba(255,255,255,0.12); }
.plan li .check { color: var(--correct); font-weight: 700; flex-shrink: 0; }
.plan.supporter li .check { color: var(--accent-soft); }
.plan li.off { color: var(--ink-mute); }
.plan li.off .check { color: var(--ink-mute); opacity: 0.3; }
.plan-btn {
  padding: 16px; border: none; font-family: var(--sans); font-weight: 600; font-size: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none; text-align: center;
}
.plan:not(.supporter) .plan-btn { background: var(--ink); color: var(--bg); }
.plan.supporter .plan-btn { background: var(--bg); color: var(--ink); }
.plan-btn-disabled { cursor: not-allowed; opacity: 1; }
.plan-btn-meta {
  font-family: var(--mono); font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase;
  font-weight: 500; opacity: 0.65;
}

/* ─── TESTIMONIALS ─────────────── */
.press { background: var(--bg); text-align: center; }
.press .head { margin-bottom: 56px; }
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.press-item { padding: 36px 30px 32px; background: #fff; border: 1px solid var(--rule); text-align: left; position: relative; }
.press-item .quote-mark {
  font-family: var(--serif); font-size: 72px; line-height: 0.6; color: var(--accent);
  position: absolute; top: 30px; left: 28px; font-style: italic; opacity: 0.4;
}
.press-item blockquote {
  margin: 0 0 24px; padding-top: 28px;
  font-family: var(--serif); font-size: 20px; line-height: 1.35; font-style: italic;
  color: var(--ink); text-wrap: balance;
}
.press-item .byline {
  display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rule);
}
.press-item .byline .av {
  width: 38px; height: 38px; border-radius: 100px;
  background: var(--bg-alt); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--ink-soft);
}
.press-item .byline .name { font-family: var(--serif); font-weight: 700; font-size: 14px; }
.press-item .byline .loc { font-family: var(--mono); font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }

.logos {
  margin-top: 72px; padding: 32px 0; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
}
.logos .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink-mute); }
.logos .name {
  font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--ink-soft); letter-spacing: -0.2px;
  opacity: 0.75;
}
.logos .name.it { font-style: italic; font-weight: 400; }

/* ─── FINAL CTA ─────────────── */
.final { background: var(--ink); color: var(--bg); text-align: center; border-bottom: none; }
.final h2 { color: var(--bg); }
.final h2 .italic { color: var(--accent-soft); }
.final .sub { font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(255,255,255,0.65); margin-bottom: 40px; }
.final-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.final-ctas .btn-light { background: var(--bg); color: var(--ink); min-width: 240px; }
.final-ctas .btn-dark-ghost { background: transparent; color: var(--bg); border: 1.5px solid var(--bg); min-width: 240px; }
.final .or { font-family: var(--mono); font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.final .or a { color: var(--bg); text-decoration: underline; }

/* ─── FOOTER (slim) ─────────────── */
footer.site-footer {
  background: var(--ink); color: var(--bg);
  padding: 36px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
footer.site-footer a { color: var(--bg); text-decoration: none; }
footer.site-footer a:hover { color: var(--accent-soft); }

footer.site-footer .footer-row {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
footer.site-footer .mast-small { color: var(--bg); font-size: 22px; }

footer.site-footer .footer-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 22px;
  align-items: center;
}
footer.site-footer .footer-links li { display: inline-flex; margin: 0; padding: 0; }
footer.site-footer .footer-links a {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(246,238,228,0.7); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
footer.site-footer .footer-links a:hover { color: var(--bg); }
footer.site-footer .footer-links .footer-icon { flex-shrink: 0; opacity: 0.85; }

footer.site-footer .footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 10px;
}

/* ─── SINGLE/PAGE CONTENT (for posts and pages) ─────────── */
.page-content, .post-content {
  padding: 96px 0;
}
.page-content .wrap, .post-content .wrap { max-width: 760px; }
.page-content h1.entry-title, .post-content h1.entry-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(44px, 5vw, 72px); line-height: 1.02; letter-spacing: -1.4px;
  margin: 0 0 24px; text-wrap: balance;
}
.entry-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 32px; }
.entry-content { font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--ink-soft); }
.entry-content p { margin: 0 0 22px; }
.entry-content h2 { font-family: var(--serif); font-size: 32px; font-weight: 700; letter-spacing: -0.6px; margin: 48px 0 16px; color: var(--ink); }
.entry-content h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: -0.3px; margin: 36px 0 12px; color: var(--ink); }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content blockquote { border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; font-style: italic; margin: 28px 0; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin: 0 0 22px; }
.entry-content code { font-family: var(--mono); background: var(--bg-alt); padding: 2px 6px; border-radius: 3px; font-size: 0.88em; }
.entry-content pre { background: var(--ink); color: var(--bg); padding: 20px; overflow-x: auto; border-radius: 0; }
.entry-content pre code { background: transparent; color: inherit; padding: 0; }
.entry-content img { margin: 32px 0; }

/* Posts archive list */
.post-list { padding: 80px 0; }
.post-list article { padding: 32px 0; border-bottom: 1px solid var(--rule); }
.post-list article:first-child { border-top: 1px solid var(--rule); }
.post-list .entry-title { font-family: var(--serif); font-size: 32px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 10px; line-height: 1.15; }
.post-list .entry-title a { text-decoration: none; }
.post-list .entry-title a:hover { color: var(--accent); }
.post-list .entry-excerpt { font-family: var(--serif); font-size: 17px; color: var(--ink-soft); line-height: 1.5; margin: 0 0 12px; }

/* Pagination */
.pagination { padding: 40px 0; display: flex; justify-content: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Comments */
.comments-area { padding: 64px 0; max-width: 760px; margin: 0 auto; }
.comments-area h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; margin: 0 0 24px; letter-spacing: -0.4px; }
.comments-area ol { list-style: none; padding: 0; margin: 0; }
.comments-area .comment { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.comments-area .comment-author { font-family: var(--serif); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.comments-area .comment-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.comments-area .comment-content { font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.comment-form label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; margin: 16px 0 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--rule); background: #fff;
  font-family: var(--sans); font-size: 14px;
}
.comment-form .submit { background: var(--ink); color: var(--bg); border: none; padding: 14px 22px; font-family: var(--serif); font-weight: 700; font-size: 14px; margin-top: 16px; cursor: pointer; }

/* Alignments (WP classic) */
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-mute); margin-top: 8px; }

/* ─── PLAY PAGE (/play/) ─────────────── */
body.play-body { background: var(--ink); color: var(--bg); }

.play-page {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 56px 20px 80px;
}
.play-card {
  background: var(--bg); color: var(--ink); border: 1px solid rgba(246,238,228,0.18);
  padding: 44px 40px 40px; width: 100%; max-width: 620px;
  display: flex; flex-direction: column;
}
body.play-body .play-home-link { color: rgba(246,238,228,0.55); }
body.play-body .play-home-link:hover { color: var(--bg); }

.play-head { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.play-mast-row { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -0.2px; margin-bottom: 8px; }
.play-mast-row .mast-small { font-size: 30px; }
.play-mast-row .italic { margin-right: 2px; }
.play-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-mute); }

.play-progress { margin-bottom: 32px; }
.play-progress-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.play-progress-top .mono { font-size: 11px; letter-spacing: 2px; color: var(--ink-mute); }
.play-progress-top .num { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: 0; text-transform: none; }
.play-progress-bar { display: flex; gap: 5px; }
.play-progress-bar .seg { flex: 1; height: 4px; border-radius: 100px; background: var(--bg-deep); }
.play-progress-bar .seg.correct { background: var(--correct); }
.play-progress-bar .seg.wrong   { background: var(--wrong); }
.play-progress-bar .seg.current { background: var(--ink); }

.play-q {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 3.5vw, 34px); line-height: 1.15; letter-spacing: -0.4px;
  margin: 0 0 28px; text-wrap: balance;
}

.play-options { display: flex; flex-direction: column; gap: 10px; }
.play-opt {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1.5px solid var(--rule); background: var(--bg-alt); text-align: left;
  font-family: inherit; font-size: 15px; color: var(--ink); font-weight: 500;
  cursor: pointer; width: 100%; transition: all .15s ease;
}
.play-opt:hover:not(:disabled) { border-color: var(--ink); background: var(--bg-deep); }
.play-opt:disabled { cursor: default; }
.play-opt .letter {
  width: 30px; height: 30px; border-radius: 6px;
  border: 1.5px solid currentColor; background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.play-opt.correct { border-color: var(--correct); background: #C9E0CD; }
.play-opt.correct .letter { background: var(--correct); color: #fff; border-color: var(--correct); }
.play-opt.wrong   { border-color: var(--wrong);   background: #E8D5CC; }
.play-opt.wrong   .letter { background: var(--wrong);   color: #fff; border-color: var(--wrong); }

.play-next {
  margin-top: 24px; width: 100%;
  background: var(--ink); color: var(--bg); border: none;
  padding: 16px 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: -0.1px;
  transition: transform .15s ease;
}
.play-next[hidden] { display: none !important; }
.play-results[hidden] { display: none !important; }
#play-question[hidden] { display: none !important; }
.play-next:hover { transform: translateX(2px); }
.play-next .arrow { font-size: 20px; line-height: 1; }

.play-home-link {
  display: block; text-align: center; margin: 22px auto 0; padding: 6px 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--ink-mute); text-decoration: none;
}
.play-home-link:hover { color: var(--ink); }

.play-results { text-align: center; padding: 12px 0 0; }
.play-results-kicker { color: var(--accent); font-weight: 700; margin-bottom: 18px; }
.play-score {
  font-family: var(--serif); font-weight: 700; letter-spacing: -3px; line-height: 0.9;
  font-size: clamp(88px, 14vw, 132px); margin: 0 0 16px;
}
.play-score .denom { color: var(--ink-mute); font-weight: 400; font-size: 0.55em; margin-left: 6px; letter-spacing: -1.5px; }
.play-summary {
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.4;
  color: var(--ink-soft); margin: 0 auto 32px; max-width: 380px; text-wrap: balance;
}
.play-cta-back {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--ink); color: var(--bg); padding: 16px 22px; text-decoration: none;
  font-family: var(--serif); font-weight: 700; font-size: 15px; margin-bottom: 22px;
}
.play-signup {
  font-family: var(--serif); font-size: 15px; color: var(--ink-soft); margin: 0;
}
.play-signup a { color: var(--accent); text-decoration: underline; font-weight: 600; }

.play-empty { text-align: center; padding: 24px 0; }
.play-empty-sub { font-family: var(--serif); font-size: 18px; color: var(--ink-soft); margin: 0 0 32px; }

@media (max-width: 560px) {
  .play-card { padding: 32px 24px 28px; }
  .play-page { padding: 40px 12px 40px; }
}

/* ─── RESPONSIVE ─────────────── */
@media (max-width: 880px) {
  .hero .wrap, .what .wrap { grid-template-columns: 1fr; gap: 48px; }
  .strip .wrap { grid-template-columns: 1fr; gap: 0; padding: 24px 24px; }
  .strip.strip-3 .wrap { grid-template-columns: 1fr; }
  .strip > .wrap > div { border-right: none !important; border-bottom: 1px solid var(--rule); padding: 18px 4px; }
  .strip > .wrap > div:last-child { border-bottom: none; }
  .strip .stat { justify-content: flex-start; text-align: left; }
  .strip .stat .lbl { text-align: left; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .plans, .press-grid { grid-template-columns: 1fr; }

  nav.top ul { display: none; }
  section { padding: 64px 0; }

  footer.site-footer .footer-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  footer.site-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 560px) {
  footer.site-footer .footer-links { gap: 14px; }
  .final-ctas .btn-light, .final-ctas .btn-dark-ghost { min-width: 0; width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .stat { padding: 0; gap: 12px; }
  .stat .num { font-size: 36px; }
  h2.section-title { font-size: clamp(32px, 8vw, 44px); letter-spacing: -0.8px; }
}
