/* You're Wrong — Red Pen visual system */

:root {
  --paper: #F6F2E9;
  --paper-shadow: #E8DFC9;
  --ink: #15130F;
  --muted: #736B5E;
  --rule: #B8AC97;
  --rule-faint: #D4C8B0;
  --red: #C8201A;
  --red-soft: rgba(200, 32, 26, 0.10);
  --red-line: rgba(200, 32, 26, 0.35);
  --green: #1B5E3A;
  --amber: #B8801A;
  --score-low: #1B5E3A;
  --score-mid: #B8801A;
  --score-high: #C8201A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); }
body {
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--ink); }

/* masthead */
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 18px 80px 12px;
  border-bottom: 0.5px solid var(--rule);
}
.brand {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand a { color: inherit; text-decoration: none; }
.brand a.brand-mark,
.brand-mark {
  color: var(--ink);
  font-weight: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
  display: inline-block;
  line-height: 1;
}
.brand a.brand-mark {
  border-bottom: none;
  padding-bottom: 0;
}
.brand-stop { color: var(--red); }
.brand .kicker {
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  margin-left: 14px;
  font-size: 14px;
}
.nav {
  display: flex;
  gap: 38px;
  font-size: 15px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  align-items: baseline;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.nav a:hover,
.nav a.active {
  border-bottom-color: var(--red);
}
.nav a.cta {
  color: var(--red);
  font-weight: 500;
}
.nav a.cta:hover {
  border-bottom-color: var(--red);
}

@media (max-width: 760px) {
  .nav { gap: 22px; font-size: 14px; }
}

main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* hero — landing */
.hero {
  padding: 72px 0 28px;
  border-bottom: 0.5px solid var(--rule-faint);
  position: relative;
}
.hero h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 96px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--ink);
  position: relative;
  display: inline-block;
}
.hero h1 .stop,
.method-head h1 .stop,
.examples-head h1 .stop,
.pricing-head h1 .stop {
  color: var(--red);
}
.hero-mark {
  position: relative;
  display: inline-block;
  color: var(--ink);
}
.hero-mark-line {
  position: absolute;
  left: -2%;
  bottom: -14px;
  width: 104%;
  height: 26px;
  pointer-events: none;
  overflow: visible;
}
.hero-mark-line path {
  stroke: var(--red);
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawHeroLine 1.1s cubic-bezier(0.4, 0.0, 0.2, 1) 0.4s forwards;
}
@keyframes drawHeroLine {
  to { stroke-dashoffset: 0; }
}
.hero-margin-note {
  position: absolute;
  font-family: 'Caveat', cursive;
  color: var(--red);
  font-size: 28px;
  font-weight: 600;
  transform: rotate(-6deg);
  opacity: 0;
  animation: fadeIn 0.6s ease-out 1.4s forwards;
  pointer-events: none;
  white-space: nowrap;
}
@keyframes fadeIn {
  to { opacity: 1; }
}
.hero .tagline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
  margin-bottom: 24px;
}
.hero .lede {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  line-height: 1.5;
  max-width: 720px;
  color: var(--ink);
}

/* form */
.form-section {
  padding: 36px 0 56px;
  border-bottom: 0.5px solid var(--rule-faint);
}
.form-label {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
textarea {
  width: 100%;
  background: #FCFAF3;
  border: 0.5px solid var(--rule);
  padding: 18px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  resize: vertical;
  min-height: 260px;
  border-radius: 2px;
}
textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(21,19,15,0.08);
}
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 16px;
  gap: 24px;
  flex-wrap: wrap;
}
.upload {
  flex: 1;
  min-width: 240px;
}
.upload-label {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
input[type=file] {
  font-size: 13px;
  color: var(--muted);
  font-family: 'Source Serif 4', Georgia, serif;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
button, .btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s ease;
  border-radius: 2px;
}
button:hover { background: #2A2620; }
button:disabled { background: var(--rule); cursor: not-allowed; }

.examples {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.example-btn {
  background: transparent;
  color: var(--ink);
  border: 0.5px solid var(--rule);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Source Serif 4', Georgia, serif;
  text-transform: none;
  letter-spacing: 0;
}
.example-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.error {
  margin-top: 12px;
  color: var(--red);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
}

/* how-it-works */
.how {
  padding: 56px 0;
  border-bottom: 0.5px solid var(--rule-faint);
}
.how h2, .anatomy h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--rule-faint);
  border-left: 0.5px solid var(--rule-faint);
}
.how-card {
  padding: 24px;
  border-right: 0.5px solid var(--rule-faint);
  border-bottom: 0.5px solid var(--rule-faint);
}
.how-card.synth {
  background: #FCFAF3;
}
.how-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.how-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}
.how-card p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}

/* anatomy */
.anatomy { padding: 56px 0; }
.anatomy-intro {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  max-width: 720px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.anatomy-grid {
  display: grid;
  gap: 0;
  border-top: 0.5px solid var(--rule-faint);
}
.anatomy-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 18px 0;
  border-bottom: 0.5px solid var(--rule-faint);
}
.anatomy-term {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.anatomy-desc {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
}
.anatomy-tells { margin-top: 40px; }
.anatomy-tells h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}
.anatomy-tells ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 8px;
}
.anatomy-tells li {
  font-size: 15px;
  padding-left: 16px;
  position: relative;
}
.anatomy-tells li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--rule);
}

/* ====================================================== */
/* ABOUT PAGE                                             */
/* ====================================================== */

.about {
  max-width: 720px;
  padding: 64px 0 80px;
}
.about-head {
  margin-bottom: 48px;
  border-bottom: 0.5px solid var(--rule-faint);
  padding-bottom: 32px;
}
.about-kicker {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.about-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.about-body p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 22px;
  color: var(--ink);
}
.about-body em {
  font-style: italic;
  color: var(--ink);
}
.about-body h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 52px 0 18px;
  color: var(--ink);
}
.about-margin-note {
  font-family: 'Caveat', cursive;
  color: var(--red);
  font-size: 24px;
  font-weight: 700;
  display: inline-block;
  transform: rotate(-3deg);
  vertical-align: middle;
  margin-left: 14px;
  white-space: nowrap;
}
.about-punchline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 26px !important;
  line-height: 1.4 !important;
  color: var(--ink);
  margin: 8px 0 16px !important;
}
.about-contacts {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.about-contacts li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.4;
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
}
.about-contacts a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
  font-weight: 500;
}
.about-contacts a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

/* ====================================================== */
/* HOW IT WORKS / METHODOLOGY                             */
/* ====================================================== */

.method {
  max-width: 760px;
  padding: 56px 0 80px;
}
.method-head {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--rule-faint);
}
.method-eyebrow {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}
.method h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--ink);
}
.method-dek {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
}
.method-section {
  padding-top: 28px;
  margin-top: 36px;
  border-top: 0.5px solid var(--rule-faint);
}
.method-section:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.method-section h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin-bottom: 18px;
  color: var(--ink);
}
.method-section p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 14px;
  color: var(--ink);
}
.method-section p strong { font-weight: 600; }
.method-section a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.method-section a:hover { color: var(--red); }
.method-section .mono {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  background: var(--paper-shadow);
  padding: 1px 6px;
  border-radius: 3px;
}

.critic-list,
.prompt-list,
.limits-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 4px;
  display: grid;
  gap: 14px;
}
.critic-list li {
  padding: 14px 18px;
}
.critic-name {
  display: inline-block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-right: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--paper-shadow);
}
.critic-name.evidence { color: var(--red); }
.critic-name.reasoning { color: var(--amber); }
.critic-name.framing { color: var(--green); }
.critic-job {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.prompt-list li,
.limits-list li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}
.prompt-list li::before,
.limits-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.limits-list li strong {
  font-weight: 600;
  color: var(--ink);
}

.method-callout {
  margin: 22px 0 6px;
  padding: 18px 22px;
  background: rgba(0, 0, 0, 0.015);
}
.method-callout p {
  font-size: 15px !important;
  margin-bottom: 8px;
  line-height: 1.5;
}
.method-callout p:last-child { margin-bottom: 0; }
.callout-label {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: 10px !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px !important;
  font-style: normal !important;
}
.band-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-right: 6px;
}
.band-label.band-right { color: var(--green); font-weight: 600; }
.band-label.band-wrong { color: var(--red); font-weight: 600; }

.about-method-link {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-style: italic;
  font-size: 16px !important;
  color: var(--muted) !important;
  margin-top: 4px !important;
}
.about-method-link a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.about-method-link a:hover { color: var(--red); }

@media (max-width: 760px) {
  .method { padding: 40px 0 56px; }
  .method h1 { font-size: 32px; }
  .method-dek { font-size: 17px; }
  .method-section h2 { font-size: 20px; }
  .method-section p,
  .critic-job,
  .prompt-list li,
  .limits-list li { font-size: 15px; }
}

@media (max-width: 760px) {
  .about { padding: 40px 0 56px; }
  .about-name { font-size: 48px; }
  .about-body p, .about-contacts li { font-size: 17px; }
  .about-punchline { font-size: 21px !important; }
  .about-margin-note { display: block; margin: 6px 0 0; transform: rotate(-3deg); }
}

/* ====================================================== */
/* EXAMPLES PAGE                                          */
/* ====================================================== */

.examples-shell {
  max-width: 1100px;
  padding: 56px 0 80px;
}
.examples-head {
  margin-bottom: 48px;
  border-bottom: 0.5px solid var(--rule-faint);
  padding-bottom: 32px;
}
.examples-lede {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  max-width: 720px;
  color: var(--ink);
  margin-top: 14px;
}
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.example-card {
  background: #FCFAF3;
  border: 0.5px solid var(--rule);
  border-radius: 2px;
  padding: 26px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  min-height: 260px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.example-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 8px 24px rgba(21,19,15,0.10);
  text-decoration: none;
}
.example-watermark {
  position: absolute;
  right: -12px;
  bottom: -28px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 180px;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--red);
  opacity: 0.10;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.example-card.right .example-watermark { color: var(--green); }
.example-topic-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.example-topic {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 600;
}
.example-verdict {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  white-space: nowrap;
}
.example-card.right .example-verdict { color: var(--green); }
.example-kill {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  flex: 1;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
}
.example-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 0.5px solid var(--rule-faint);
  position: relative;
  z-index: 1;
}
.example-score-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--muted);
}
.example-score-label b {
  color: var(--red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.example-card.right .example-score-label b { color: var(--green); }
.example-cta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 600;
  white-space: nowrap;
}
.example-card.right .example-cta { color: var(--green); }
.example-card:hover .example-cta { text-decoration: underline; }

.examples-foot {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 0.5px solid var(--rule-faint);
  text-align: center;
}
.cta-link {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}
.cta-link:hover {
  color: var(--red);
}

@media (max-width: 900px) {
  .examples-grid { grid-template-columns: 1fr; gap: 18px; }
  .examples-shell { padding: 40px 0 56px; }
  .example-card { padding: 22px 22px; }
  .example-title { font-size: 20px; }
  .example-num { font-size: 44px; }
}

/* ====================================================== */
/* PRICING PAGE                                           */
/* ====================================================== */

.pricing-shell {
  max-width: 1100px;
  padding: 56px 0 80px;
}
.pricing-head {
  margin-bottom: 56px;
  border-bottom: 0.5px solid var(--rule-faint);
  padding-bottom: 32px;
}
.pricing-section { margin-top: 64px; }
.pricing-section:first-of-type { margin-top: 0; }
.pricing-h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}
.pricing-body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
  color: var(--ink);
  margin-bottom: 24px;
}

/* free trial band — sits above the packs */
.pricing-free-band {
  background: #FCFAF3;
  border: 0.5px solid var(--rule);
  padding: 28px 36px;
  position: relative;
  margin-top: 0;
  margin-bottom: 56px;
  border-radius: 2px;
}
.pricing-free-band .pack-label {
  margin-bottom: 14px;
  display: inline-block;
}
.free-band-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr auto;
  gap: 32px;
  align-items: center;
}
.free-band-pitch { }
.free-band-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.free-band-price {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}
.free-band-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.free-band-features li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  position: relative;
  padding-left: 18px;
}
.free-band-features li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--red);
  font-weight: 700;
}
.free-band-features strong { font-weight: 600; }
.free-band-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 160px;
}
.free-band-action .pack-cta {
  margin: 0;
}
.free-band-action .pack-fineprint {
  text-align: center;
}
.caveat-mark {
  position: absolute;
  right: 36px;
  top: -10px;
  font-family: 'Caveat', cursive;
  color: var(--red);
  font-size: 24px;
  font-weight: 700;
  transform: rotate(-3deg);
  display: inline-block;
  background: var(--paper);
  padding: 2px 10px;
  border: 1px solid var(--red);
  pointer-events: none;
}

/* packs grid — three paid packs only */
.pricing-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin-top: -16px;
  margin-bottom: 24px;
  max-width: 540px;
}
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pack-card {
  background: #FCFAF3;
  border: 0.5px solid var(--rule);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  position: relative;
  min-height: 280px;
}
.pack-card.pack-featured {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 4px 16px rgba(21,19,15,0.08);
}
.pack-card.pack-featured::before {
  content: "most flexible";
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--red);
  color: var(--paper);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  font-weight: 600;
}
.pack-head { margin-bottom: 18px; }
.pack-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.pack-price {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.pack-credits {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pack-meta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pack-discount {
  background: var(--red-soft);
  color: var(--red);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  padding: 1px 6px;
  letter-spacing: 0.04em;
}
.pack-pitch {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 18px 0 22px;
  flex: 1;
}
.pack-cta {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 12px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid var(--ink);
  transition: background 0.15s ease;
}
.pack-cta:hover { background: #2A2620; text-decoration: none; }
.pack-cta.secondary {
  background: transparent;
  color: var(--ink);
}
.pack-cta.secondary:hover {
  background: var(--ink);
  color: var(--paper);
}
.pack-fineprint {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.06em;
  margin-top: 8px;
  display: block;
}

/* ladder */
.ladder-table {
  border-top: 0.5px solid var(--rule);
  margin-top: 12px;
  max-width: 880px;
}
.ladder-row {
  display: grid;
  grid-template-columns: 220px 80px 80px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--rule-faint);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  align-items: baseline;
}
.ladder-row.ladder-head {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 0.5px solid var(--rule);
}
.ladder-credits {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.ladder-row.ladder-head .ladder-credits {
  font-family: inherit;
  font-size: 11px;
  font-weight: inherit;
  color: var(--muted);
}

/* faq */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin-top: 12px;
}
.faq-item h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.faq-item p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

/* free-trial chip on home */
.trial-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--paper);
  border: 0.5px solid var(--rule);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 18px;
  border-radius: 2px;
  text-decoration: none;
}
.trial-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}
.trial-chip .trial-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

@media (max-width: 900px) {
  .packs-grid { grid-template-columns: 1fr; }
  .pack-card { min-height: 0; }
  .free-band-grid { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .free-band-action { min-width: 0; }
  .caveat-mark { display: none; }
}
@media (max-width: 760px) {
  .ladder-row { grid-template-columns: 1fr 60px 60px; gap: 12px; }
  .ladder-row > :last-child { grid-column: 1 / -1; padding-top: 4px; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .pricing-shell { padding: 40px 0 56px; }
  .pricing-free-band { padding: 22px 22px; }
}

/* ====================================================== */
/* FIX-MODE CTA CARD                                      */
/* ====================================================== */

.fix-card {
  margin: 40px 0 0;
  padding: 28px 32px 26px;
  background: #FCFAF3;
  border: 0.5px solid var(--rule);
  border-radius: 2px;
  position: relative;
  display: none;
}
.fix-card.show { display: block; }
.fix-card-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.15;
}
.fix-card-pitch {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 640px;
}
.fix-card-perk {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 18px;
  padding-left: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.fix-card-perk-mark {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: normal;
  font-weight: 700;
  color: var(--red);
  font-size: 17px;
}
.fix-card-cost {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.fix-card-cost .cost-credits {
  color: var(--ink);
  font-weight: 500;
}
.fix-card-cost .cost-perk {
  color: var(--red);
}
.fix-card-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.fix-card-cta {
  position: relative;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 12px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fix-card-cta:hover {
  background: var(--ink);
  color: var(--paper);
}
.fix-card-cta .cta-soon-tag {
  position: absolute;
  top: -14px;
  right: -8px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 18px;
  color: var(--red);
  text-transform: none;
  letter-spacing: 0;
  transform: rotate(-6deg);
  pointer-events: none;
  background: var(--paper);
  padding: 0 4px;
}
.fix-card-dismiss {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}
.fix-card-dismiss:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

/* ====================================================== */
/* WAITLIST MODAL                                         */
/* ====================================================== */

.waitlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 19, 15, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.waitlist-overlay[hidden] { display: none; }
.waitlist-modal {
  background: var(--paper);
  border: 0.5px solid var(--ink);
  padding: 36px 36px 28px;
  max-width: 460px;
  width: 100%;
  position: relative;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(21, 19, 15, 0.25);
}
.waitlist-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  text-transform: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
  font-weight: 400;
}
.waitlist-close:hover {
  background: transparent;
  color: var(--ink);
}
.waitlist-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.waitlist-body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
}
.waitlist-form {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.waitlist-input {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: var(--ink);
  background: #FCFAF3;
  border: 0.5px solid var(--rule);
  border-radius: 2px;
}
.waitlist-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(21, 19, 15, 0.08);
}
.waitlist-submit {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 13px 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
}
.waitlist-trust {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}
.waitlist-success {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  text-align: center;
  padding: 12px 0;
  color: var(--green);
}
.waitlist-error {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--red);
  margin-top: 8px;
}

@media (max-width: 760px) {
  .fix-card { padding: 22px 22px 20px; }
  .fix-card-headline { font-size: 22px; }
  .fix-card-pitch { font-size: 15px; }
  .fix-card-actions { gap: 16px; }
  .waitlist-modal { padding: 28px 24px 22px; }
}

/* foot */
.foot {
  padding: 24px 80px;
  border-top: 0.5px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ====================================================== */
/* RESULT PAGE                                            */
/* ====================================================== */

.result-shell { padding: 32px 0 64px; }

.result-meta {
  display: flex;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 14px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.result-argument-toggle {
  background: transparent;
  border: 0.5px solid var(--rule);
  color: var(--muted);
  padding: 4px 10px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.result-argument-toggle:hover { color: var(--ink); border-color: var(--ink); background: transparent; }

.result-argument {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  background: #FCFAF3;
  border: 0.5px solid var(--rule-faint);
  padding: 16px 18px;
  max-height: 220px;
  overflow-y: auto;
  white-space: pre-wrap;
  margin-bottom: 36px;
  border-radius: 2px;
  display: none;
}
.result-argument.show { display: block; }

/* ---- loading state ---- */
.loading-stage {
  padding: 32px 0 0;
  display: block;
}
.loading-stage.hidden { display: none; }

.loading-prompt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
  margin-bottom: 28px;
}

.reviewers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--rule);
  border-left: 0.5px solid var(--rule-faint);
}
.reviewer {
  padding: 22px 24px;
  border-right: 0.5px solid var(--rule-faint);
  border-bottom: 0.5px solid var(--rule-faint);
  min-height: 160px;
}
.reviewer-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.reviewer-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 17px;
}
.reviewer-status {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.reviewer-status.done { color: var(--green); }
.reviewer-status.error { color: var(--red); }
.reviewer-tell {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  min-height: 48px;
  transition: opacity 0.4s ease;
}
.reviewer-tell.fade { opacity: 0; }

.reviewer-pen {
  font-family: 'Caveat', cursive;
  color: var(--red);
  font-size: 30px;
  line-height: 1;
  margin-top: 6px;
  display: inline-block;
  transform: rotate(-6deg);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.reviewer.done .reviewer-pen { opacity: 1; }

.dot-spinner {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.2s ease-in-out infinite;
  margin-right: 6px;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ---- tip-box (shown while critics work) ---- */
.tip-box {
  margin-top: 28px;
  padding: 22px 26px;
  background: rgba(0, 0, 0, 0.015);
  max-width: 640px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tip-box.show { opacity: 1; }
.tip-box.fade { opacity: 0; }

.tip-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}
.tip-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.tip-body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 720px) {
  .tip-box { padding: 18px 20px; margin-top: 22px; }
  .tip-headline { font-size: 17px; }
  .tip-body { font-size: 14px; }
}

/* ---- result hero (verdict band) ---- */
.result-hero {
  padding: 56px 0 40px;
  display: none;
  position: relative;
}
.result-hero.show { display: block; }

/* score-pop animation */
@keyframes scorePop {
  0% { transform: scale(0.7); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes verdictSlam {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes paperFlash {
  0% { background: var(--paper); }
  10% { background: #FFFCEC; }
  100% { background: var(--paper); }
}

.result-hero.show {
  animation: paperFlash 1.6s ease-out;
}

.hero-score-row {
  display: flex;
  align-items: baseline;
  gap: 36px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.score-pair {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  animation: scorePop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.score-block {
  position: relative;
  display: inline-block;
}
.score-number {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 132px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  display: inline-block;
}
.score-number.low { color: var(--score-low); }
.score-number.mid { color: var(--score-mid); }
.score-number.high { color: var(--score-high); }
.score-suffix {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.score-block svg.score-circle {
  position: absolute;
  top: -26px;
  left: -32px;
  width: calc(100% + 64px);
  height: calc(100% + 52px);
  pointer-events: none;
  opacity: 0;
  transform: rotate(-2deg);
  animation: drawCircle 0.9s ease-out 0.6s forwards;
}
@keyframes drawCircle {
  0% { opacity: 0; stroke-dashoffset: 800; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}
.score-circle path {
  stroke: var(--red);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
}
.score-block.right svg.score-circle path {
  stroke: var(--green);
  stroke-width: 5;
}

.verdict-block {
  flex: 1;
  min-width: 280px;
  animation: verdictSlam 0.5s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}
.verdict-line {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.verdict-line.right { color: var(--green); }
.verdict-line.wrong { color: var(--red); }

.kill-sentence {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 640px;
  position: relative;
}
.kill-sentence::before {
  content: "“";
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: normal;
  color: var(--red);
  font-size: 60px;
  line-height: 1;
  position: absolute;
  left: -28px;
  top: 8px;
}

.summary-block {
  padding: 24px 28px;
  background: #FCFAF3;
  border: 0.5px solid var(--rule);
  margin-top: 24px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  max-width: 760px;
}
.summary-block.right { border-left-color: var(--green); }

/* hero actions */
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions button {
  font-size: 12px;
  padding: 12px 20px;
}
.hero-actions .secondary {
  background: transparent;
  color: var(--ink);
  border: 0.5px solid var(--ink);
}
.hero-actions .secondary:hover { background: var(--ink); color: var(--paper); }

/* ---- ranked top 3 ---- */
.top-findings {
  display: none;
  padding: 40px 0 32px;
  border-top: 0.5px solid var(--rule);
}
.top-findings.show { display: block; }
.top-findings h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.top-findings .h2-kicker {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: block;
}
.findings-list {
  display: grid;
  gap: 16px;
}
.top-finding {
  display: grid;
  grid-template-columns: 52px 1fr 220px;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--rule-faint);
  align-items: start;
  opacity: 0;
  transform: translateY(8px);
  animation: cascadeIn 0.5s ease-out forwards;
}
.top-finding:first-child { border-top: 0.5px solid var(--rule-faint); }
.top-finding:nth-child(1) { animation-delay: 0.05s; }
.top-finding:nth-child(2) { animation-delay: 0.20s; }
.top-finding:nth-child(3) { animation-delay: 0.35s; }
@keyframes cascadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.finding-rank {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 0.95;
  color: var(--red);
}
.finding-rank.right { color: var(--green); }

.finding-body { min-width: 0; }
.finding-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.agent-chip {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border: 0.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: 1px;
  line-height: 1.1;
}
.agent-chip.evidence { background: var(--ink); border-color: var(--ink); }
.agent-chip.reasoning { background: #1F3A5F; border-color: #1F3A5F; }
.agent-chip.framing { background: var(--amber); border-color: var(--amber); }

.severity-bar {
  display: inline-block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.severity-bar .filled { color: var(--red); }
.severity-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.finding-margin .severity-label { color: var(--red); }
.finding-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.finding-evidence-toggle {
  margin-top: 4px;
}
.finding-evidence-toggle > summary {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  display: inline-block;
  padding: 2px 0;
}
.finding-evidence-toggle > summary::-webkit-details-marker { display: none; }
.finding-evidence-toggle > summary::before { content: "▸ "; color: var(--red); }
.finding-evidence-toggle[open] > summary::before { content: "▾ "; }
.finding-evidence-toggle:hover > summary { color: var(--ink); }
.finding-evidence {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0 0;
  line-height: 1.5;
}

.finding-margin {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.finding-margin .severity-label {
  margin-top: 2px;
}
.finding-fix {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.finding-fix-tag {
  font-family: 'Caveat', cursive;
  color: var(--red);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
  transform: rotate(-3deg);
  transform-origin: left center;
}

/* disagreements */
.disagreement {
  margin-top: 32px;
  padding: 18px 22px;
  background: #FCFAF3;
  border: 0.5px dashed var(--red-line);
  display: none;
}
.disagreement.show { display: block; }
.disagreement-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 8px;
}
.disagreement-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
}

/* drawer — everything else */
.drawer {
  display: none;
  margin-top: 40px;
  border-top: 0.5px solid var(--rule);
  padding-top: 28px;
}
.drawer.show { display: block; }
.drawer-toggle {
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-toggle:hover { background: transparent; color: var(--ink); }
.drawer-toggle .chevron {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.drawer.open .drawer-toggle .chevron { transform: rotate(90deg); }
.drawer-kicker {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  margin-bottom: 18px;
}

.drawer-content {
  display: none;
  margin-top: 18px;
}
.drawer.open .drawer-content { display: block; }

/* drawer — tabs + finding cards */
.drawer-tabs {
  display: flex;
  gap: 0;
  border-bottom: 0.5px solid var(--rule);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.drawer-tab {
  background: transparent;
  color: var(--muted);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 22px 14px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-radius: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.drawer-tab:hover {
  color: var(--ink);
  background: transparent;
}
.drawer-tab.active {
  color: var(--ink);
  border-bottom-color: var(--red);
  background: transparent;
}
.drawer-tab .tab-name { font-weight: 600; }
.drawer-tab .tab-meta {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.drawer-tab.active .tab-meta { color: var(--ink); }

.drawer-panel { display: none; }
.drawer-panel.active { display: block; }

.dpanel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--rule-faint);
}
.dpanel-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dpanel-score {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.dpanel-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 28px;
  line-height: 1.5;
  max-width: 760px;
}
.dpanel-findings {
  display: grid;
  gap: 18px;
}
.drawer-finding-card {
  padding: 18px 22px;
  background: #FCFAF3;
  border: 0.5px solid var(--rule-faint);
  border-radius: 1px;
}

.dfc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.dfc-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  font-weight: 500;
}
.dfc-sev {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.drawer-finding-card.critical .dfc-sev { color: var(--red); }
.drawer-finding-card.major .dfc-sev { color: var(--amber); }
.dfc-issue {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--ink);
}
.dfc-evidence {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
  margin: 8px 0;
  line-height: 1.5;
}
.dfc-fix {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--ink);
  margin-top: 10px;
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}
.dfc-fix::before {
  content: "fix";
  position: absolute;
  left: 0;
  top: -3px;
  font-family: 'Caveat', cursive;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  transform: rotate(-7deg);
}

/* error banner */
.error-banner {
  padding: 16px 20px;
  background: #FCEEEC;
  border-left: 3px solid var(--red);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  color: var(--red);
  margin: 24px 0;
  display: none;
}
.error-banner.show { display: block; }

/* ====================================================== */
/* SHOWCASE PAGES (per-example, case + verdict)            */
/* ====================================================== */

.showcase {
  max-width: 1100px;
  padding: 56px 0 80px;
}
.showcase-head {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--rule-faint);
  max-width: 760px;
}
.showcase-eyebrow {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}
.showcase-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--ink);
}
.showcase-blurb {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
}

.showcase-case {
  margin: 0 0 48px;
}
.showcase-case-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.case-stamp {
  font-family: 'Caveat', cursive;
  color: var(--red);
  font-size: 22px;
  font-weight: 600;
  transform: rotate(-2deg);
  display: inline-block;
}
.showcase-case-label > a,
.case-toggle {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 0;
}
.showcase-case-label > a:hover,
.case-toggle:hover { color: var(--red); }

.showcase-frame-wrap {
  border: 0.5px solid var(--rule);
  background: #FCFAF3;
  position: relative;
  box-shadow: 0 2px 0 rgba(0,0,0,0.03), 0 8px 24px rgba(0,0,0,0.04);
}
.showcase-frame {
  width: 100%;
  height: 1400px;
  border: none;
  display: block;
  background: #FCFAF3;
}

.case-doc {
  border: 0.5px solid var(--rule);
  background: #FCFAF3;
  padding: 48px 56px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  max-height: 880px;
  overflow-y: auto;
  box-shadow: 0 2px 0 rgba(0,0,0,0.03), 0 8px 24px rgba(0,0,0,0.04);
}
.case-doc.collapsed {
  max-height: 220px;
}
.case-doc p {
  margin-bottom: 14px;
}
.case-doc p:first-child {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
}
.case-loading { padding: 8px 0; }

.showcase-verdict {
  margin: 0 0 56px;
  padding: 36px 0 0;
  border-top: 0.5px solid var(--rule-faint);
}
.showcase-verdict-row {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.showcase-verdict .summary-block {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 800px;
  margin-top: 8px;
}

.showcase-findings {
  margin: 0 0 56px;
  padding-top: 36px;
  border-top: 0.5px solid var(--rule-faint);
}
.showcase-findings h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.012em;
  margin-bottom: 4px;
}
.showcase-findings .findings-list { margin-top: 24px; }
.showcase-findings .top-finding { grid-template-columns: 56px 1fr; gap: 22px; }

.severity-tag {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-left: 4px;
}
.finding-quote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 8px 0 10px;
}
.finding-fix {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.finding-fix strong { color: var(--red); font-weight: 600; }
.finding-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  margin: 6px 0 6px;
  line-height: 1.35;
}

.showcase-cta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 0.5px solid var(--rule-faint);
}
.showcase-cta .cta-link {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}
.showcase-cta .cta-link:hover { color: var(--red); }
.showcase-cta .cta-link.secondary {
  color: var(--muted);
  text-decoration-color: var(--rule-faint);
}

@media (max-width: 760px) {
  .showcase { padding: 40px 0 56px; }
  .showcase-title { font-size: 30px; }
  .showcase-blurb { font-size: 16px; }
  .showcase-frame { height: 720px; }
  .case-doc { padding: 28px 22px; max-height: 640px; }
  .showcase-verdict-row { gap: 28px; }
}

/* ====================================================== */
/* WALL                                                   */
/* ====================================================== */

.wall-shell {
  max-width: 1100px;
  padding: 56px 0 80px;
}
.wall-head {
  margin-bottom: 36px;
  border-bottom: 0.5px solid var(--rule-faint);
  padding-bottom: 32px;
}
.wall-head .stop {
  color: var(--red);
}
.wall-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 0.5px solid var(--rule);
  margin-bottom: 28px;
  padding-bottom: 0;
}
.wall-tab {
  font-family: 'Source Serif 4', Georgia, serif;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 2px 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: color 0.15s ease, border-color 0.15s ease;
  margin-bottom: -1px;
}
.wall-tab:hover { color: var(--ink); }
.wall-tab.active {
  color: var(--ink);
  border-bottom-color: var(--red);
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.wall-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 24px 26px;
  background: #FCFAF3;
  border: 0.5px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  align-items: start;
}
.wall-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21,19,15,0.06);
  text-decoration: none;
}
.wall-card-score {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: right;
  padding-top: 4px;
}
.wall-card-score--low { color: var(--score-low); }
.wall-card-score--mid { color: var(--score-mid); }
.wall-card-score--high { color: var(--score-high); }
.wall-card-kill {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wall-card-meta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.wall-empty {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  padding: 48px 0;
}
.wall-foot {
  margin-top: 32px;
  text-align: center;
}
.wall-load-more {
  font-family: 'Source Serif 4', Georgia, serif;
  background: transparent;
  border: 0.5px solid var(--rule);
  color: var(--ink);
  padding: 10px 22px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.wall-load-more:hover {
  border-color: var(--ink);
  color: var(--red);
}
.wall-load-more:disabled {
  opacity: 0.6;
  cursor: default;
}
.wall-cta {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 0.5px solid var(--rule-faint);
  text-align: center;
}

/* ====================================================== */
/* WALL — live broadsheet leaderboard                     */
/* ====================================================== */

.wall-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 0 56px;
}

.wall-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 7px;
  vertical-align: middle;
  animation: wall-pulse 1.6s ease-in-out infinite;
}
.wall-pulse-green { background: var(--score-low); }
@keyframes wall-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}

/* broadsheet head */
.wall-head-bs {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--ink);
  padding: 8px 4px 14px;
  margin-bottom: 0;
}
.wall-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.wall-title .stop { color: var(--red); }
.wall-edition {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.wall-live-stamp {
  color: var(--red);
  font-style: normal;
  font-weight: 600;
  margin-left: 14px;
  letter-spacing: 0.04em;
}

/* counters */
.wall-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 0.5px solid var(--ink);
  background: var(--paper);
}
.wall-counters .cell {
  padding: 14px 22px;
  border-right: 0.5px solid var(--rule-faint);
}
.wall-counters .cell:last-child { border-right: none; }
.wall-counters .k {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  margin-bottom: 4px;
}
.wall-counters .v {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.wall-counters .v .delta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--score-low);
  margin-left: 8px;
}

/* podium hero */
.podium-frame {
  background: var(--paper);
  border-bottom: 0.5px solid var(--ink);
  padding: 28px 4px 36px;
}
.podium-kicker {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.podium-kicker .sep { color: var(--rule); font-weight: 400; }
.podium-kicker .meta {
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 12px;
}
.podium-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--ink);
}
.podium-title .stop { color: var(--red); }

.podium {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 0;
  align-items: stretch;
  border-top: 0.5px solid var(--ink);
  border-bottom: 0.5px solid var(--ink);
}
.podium-card {
  padding: 26px 24px 24px;
  border-right: 0.5px solid var(--rule-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: background 0.15s ease;
  text-decoration: none;
  color: var(--ink);
}
.podium-card:last-child { border-right: none; }
.podium-card:hover { background: var(--red-soft); text-decoration: none; }
.podium-card--gold   { padding-top: 26px; }
.podium-card--silver { padding-top: 56px; }
.podium-card--bronze { padding-top: 80px; }

.podium-card .place {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.podium-card--gold .place { color: var(--red); }

.podium-score {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 76px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin-bottom: 14px;
}
.podium-card--gold   .podium-score { font-size: 116px; color: var(--red); }
.podium-card--silver .podium-score { font-size: 88px; }
.podium-score.score-low  { color: var(--score-low); }
.podium-score.score-mid  { color: var(--score-mid); }
.podium-score.score-high { color: var(--score-high); }
.podium-card--gold .podium-score.score-low,
.podium-card--gold .podium-score.score-mid,
.podium-card--gold .podium-score.score-high { color: var(--red); }

.podium-out-of {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.podium-kill {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.4;
  margin-bottom: 14px;
  max-width: 28ch;
  color: var(--ink);
}
.podium-card--gold .podium-kill { font-size: 16px; max-width: 36ch; }

.podium-by {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--muted);
  border-top: 0.5px solid var(--rule-faint);
  padding-top: 10px;
  width: 100%;
  margin-top: auto;
}
.podium-by .h { color: var(--ink); font-weight: 600; }
.podium-by .when { font-style: italic; }

.podium-empty,
.podium-empty-mini {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--muted);
  padding: 32px 0;
  text-align: center;
  grid-column: 1 / -1;
}

/* body: standings + JUST IN */
.wall-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  background: var(--paper);
}
.standings {
  padding: 22px 4px 28px;
  border-right: 0.5px solid var(--rule-faint);
}
.standings .stand-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 16px;
}
.standings .stand-head .title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
/* scope the tabs inside .standings to the broadsheet style (overrides global .wall-tabs) */
.standings .wall-tabs {
  display: flex;
  gap: 14px;
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.standings .wall-tab {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 2px 0;
  margin-bottom: 0;
  border-bottom: 1px solid transparent;
}
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Source Serif 4', Georgia, serif;
}
.standings-table thead th {
  font-weight: 500;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 0.5px solid var(--ink);
}
.standings-table thead th.num { text-align: right; }
.standings-table tbody tr {
  border-bottom: 0.5px solid var(--rule-faint);
  cursor: pointer;
}
.standings-table tbody tr:hover { background: var(--red-soft); }
.standings-table tbody td { padding: 12px 16px; vertical-align: middle; }
.standings-table td.rk {
  font-weight: 700;
  font-size: 17px;
  width: 44px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.standings-table td.score {
  text-align: right;
  font-weight: 700;
  font-size: 20px;
  width: 70px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.standings-table td.score.score-low  { color: var(--score-low); }
.standings-table td.score.score-mid  { color: var(--score-mid); }
.standings-table td.score.score-high { color: var(--score-high); }
.standings-table td.kill {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.35;
}
.standings-table td.who {
  width: 170px;
  font-size: 11.5px;
  color: var(--muted);
}
.standings-table td.who .h { color: var(--ink); font-weight: 600; font-style: normal; }
.standings-table td.who .when { font-style: italic; }

/* JUST IN rail */
.just-in {
  background: #FCFAF3;
}
.just-in-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 0.5px solid var(--ink);
}
.just-in-head .label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
}
.just-in-head .meta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
}
.just-in-item {
  padding: 12px 18px;
  border-bottom: 0.5px solid var(--rule-faint);
  display: flex;
  gap: 12px;
  align-items: baseline;
  text-decoration: none;
  color: var(--ink);
}
.just-in-item:hover { background: var(--red-soft); text-decoration: none; }
.ji-score {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  min-width: 28px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.ji-score.score-low  { color: var(--score-low); }
.ji-score.score-mid  { color: var(--score-mid); }
.ji-score.score-high { color: var(--score-high); }
.ji-body { display: block; }
.ji-txt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13.5px;
  line-height: 1.35;
  font-style: italic;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ji-stamp {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
  display: block;
}
.ji-stamp .who { color: var(--ink); font-style: normal; }
.just-in-empty {
  padding: 24px 18px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--muted);
  font-size: 13px;
}

/* marquee */
.wall-marquee {
  border-top: 0.5px solid var(--ink);
  background: #FCFAF3;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  font-family: 'Source Serif 4', Georgia, serif;
}
.wall-marquee .lab {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  flex-shrink: 0;
}
.wall-marquee #wall-marquee-items {
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.wall-marquee .it {
  font-size: 12.5px;
  color: var(--ink);
  flex-shrink: 0;
  white-space: nowrap;
  font-style: italic;
  text-decoration: none;
}
.wall-marquee .it:hover { color: var(--red); }
.wall-marquee .it .n {
  font-style: normal;
  font-weight: 700;
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}
.wall-marquee .it .n.score-low  { color: var(--score-low); }
.wall-marquee .it .n.score-mid  { color: var(--score-mid); }
.wall-marquee .it .n.score-high { color: var(--score-high); }

@media (max-width: 880px) {
  .wall-counters { grid-template-columns: repeat(2, 1fr); }
  .wall-counters .cell:nth-child(2) { border-right: none; }
  .podium { grid-template-columns: 1fr; }
  .podium-card { border-right: none; border-bottom: 0.5px solid var(--rule-faint); }
  .podium-card--gold .podium-score { font-size: 96px; }
  .wall-body { grid-template-columns: 1fr; }
  .standings { border-right: none; border-bottom: 0.5px solid var(--rule-faint); }
  .standings-table td.who { display: none; }
}

/* ====================================================== */
/* HOMEPAGE WALL STRIP                                    */
/* ====================================================== */

.wall-strip {
  padding: 36px 0 24px;
  border-top: 0.5px solid var(--rule-faint);
  border-bottom: 0.5px solid var(--rule-faint);
  margin-top: 16px;
}
.wall-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.wall-strip-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.wall-strip-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
  top: -1px;
  animation: wall-strip-live-pulse 1.6s ease-in-out infinite;
}
@keyframes wall-strip-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.wall-strip-link {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
.wall-strip-link:hover {
  border-bottom-color: var(--red);
  color: var(--red);
}
.wall-strip-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 0.5px solid var(--ink);
  border-bottom: 0.5px solid var(--rule-faint);
}
.wall-strip-table tr {
  transition: background 0.12s ease;
  cursor: pointer;
}
.wall-strip-table tr:not(:last-child) {
  border-bottom: 0.5px solid var(--rule-faint);
}
.wall-strip-table tr:hover { background: #FCFAF3; }
.wall-strip-table tr:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.wall-strip-table td {
  padding: 12px 14px;
  font-family: 'Source Serif 4', Georgia, serif;
  vertical-align: baseline;
}
.wall-strip-score {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  width: 50px;
}
.wall-strip-score--low { color: var(--score-low); }
.wall-strip-score--mid { color: var(--score-mid); }
.wall-strip-score--high { color: var(--score-high); }
.wall-strip-kill {
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.wall-strip-handle {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  width: 70px;
  text-align: right;
}
.wall-strip-time {
  font-size: 12px;
  color: var(--muted);
  width: 80px;
  text-align: right;
  white-space: nowrap;
}
.wall-strip-arrow {
  color: var(--red);
  font-weight: 600;
  width: 24px;
  text-align: right;
  font-size: 14px;
  transition: transform 0.15s ease;
}
.wall-strip-table tr:hover .wall-strip-arrow { transform: translateX(2px); }
.wall-strip-empty {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  padding: 18px 0 !important;
  font-size: 14px;
}
@media (max-width: 760px) {
  .wall-strip-handle, .wall-strip-time { display: none; }
}

/* ---------- account chip + drawer (D1, D2) ---------- */

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.01em;
  line-height: 1.4;
  transition: background 0.12s ease, color 0.12s ease;
}
.account-chip:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.account-chip-mark { color: var(--red); font-size: 14px; }
.account-chip:hover .account-chip-mark { color: #fff; }
.account-chip-suffix { color: var(--paper-shadow); }
.account-chip:hover .account-chip-suffix { color: rgba(255,255,255,0.85); }
.account-chip.frozen,
.account-chip.frozen:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.account-chip.frozen .account-chip-mark { color: #fff; }

@media (max-width: 760px) {
  .account-chip-suffix { display: none; }
}

/* drawer backdrop */
.account-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 19, 15, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 100;
}
.account-drawer-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* slide-out panel */
.account-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 92vw;
  background: var(--ink);
  color: var(--paper);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(21,19,15,0.25);
  outline: none;
}
.account-drawer.show { transform: translateX(0); }

.account-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(246, 242, 233, 0.12);
}
.account-drawer-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--paper);
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
  display: inline-block;
  line-height: 1;
}
.account-drawer-close {
  background: transparent;
  border: none;
  color: var(--paper-shadow);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.account-drawer-close:hover { color: var(--red); }

.account-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px 28px;
  font-size: 14px;
}

.account-drawer-loading,
.account-drawer-empty {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--paper-shadow);
  font-size: 14px;
  padding: 8px 0;
}

.account-drawer-rule {
  border: none;
  border-top: 1px solid rgba(246, 242, 233, 0.12);
  margin: 16px 0;
}

.account-drawer-section { margin: 14px 0; }

.account-drawer-balance {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'Source Serif 4', Georgia, serif;
}
.account-drawer-balance-mark { color: var(--red); font-size: 18px; }
.account-drawer-balance-num { font-size: 22px; font-weight: 600; color: var(--paper); }
.account-drawer-balance-suffix { color: var(--paper-shadow); font-size: 14px; }
.account-drawer-buy {
  margin-left: auto;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--paper-shadow);
  padding: 4px 12px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  border-radius: 2px;
  transition: border-color 0.12s ease, color 0.12s ease;
}
.account-drawer-buy:hover {
  border-color: var(--red);
  color: var(--red);
}

.account-drawer-h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper-shadow);
  margin-bottom: 10px;
}

.account-drawer-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-drawer-history-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  text-decoration: none;
  color: var(--paper);
  padding: 8px 10px;
  border-left: 2px solid transparent;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.account-drawer-history-row:hover {
  border-left-color: var(--red);
  background: rgba(200, 32, 26, 0.08);
}
.account-drawer-history-score {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  color: var(--red);
  align-self: start;
  white-space: nowrap;
}
.account-drawer-history-kill {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--paper);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.account-drawer-history-time {
  grid-column: 1 / -1;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  color: var(--paper-shadow);
}
.account-drawer-lock { color: var(--amber); }

.account-drawer-label {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-shadow);
  margin-bottom: 6px;
}

.account-drawer-privacy {
  position: relative;
}
.account-drawer-select {
  background: transparent;
  border: 1px solid var(--paper-shadow);
  color: var(--paper);
  padding: 6px 10px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  border-radius: 2px;
  cursor: pointer;
}
.account-drawer-select:disabled,
.account-drawer-privacy[data-paid="0"] .account-drawer-select {
  cursor: not-allowed;
  color: var(--paper-shadow);
  opacity: 0.6;
}

.account-drawer-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--paper);
  cursor: pointer;
}
.account-drawer-checkbox input { accent-color: var(--red); }

.account-drawer-signout {
  color: var(--paper-shadow);
  text-decoration: none;
  border-bottom: 1px dotted var(--paper-shadow);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
}
.account-drawer-signout:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

body.account-drawer-open { overflow: hidden; }

/* ---------- frozen banner (D5) ---------- */

.frozen-banner {
  background: var(--red);
  color: #fff;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  text-align: center;
  padding: 8px 20px;
  letter-spacing: 0.01em;
}

/* ---------- inline purchase strip (D3) ---------- */

.purchase-strip {
  border: 1px solid var(--rule);
  background: var(--paper-shadow);
  padding: 18px 22px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Source Serif 4', Georgia, serif;
}
.purchase-strip-headline {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.purchase-strip-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.purchase-strip-btn {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 10px 16px;
  text-align: left;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.12s ease, color 0.12s ease;
}
.purchase-strip-btn:hover {
  background: var(--red);
  border-color: var(--red);
}
.purchase-strip-btn .perk {
  color: var(--amber);
  margin-left: 8px;
  font-style: italic;
  font-size: 12px;
}
.purchase-strip-btn:hover .perk { color: #fff; }
.purchase-strip-byok {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.purchase-strip-byok a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--rule);
}

/* ---------- anonymous email-capture strip (G2) ---------- */

.anon-cap-strip {
  border: 1px solid var(--rule);
  background: var(--paper-shadow);
  padding: 18px 22px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Source Serif 4', Georgia, serif;
}
.anon-cap-strip-headline {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.anon-cap-strip-body {
  font-size: 14px;
  color: var(--muted);
}
.anon-cap-strip-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.anon-cap-strip-form input[type=email] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  border-radius: 2px;
}
.anon-cap-strip-btn {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 10px 16px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.anon-cap-strip-btn:hover {
  background: var(--red);
  border-color: var(--red);
}
.anon-cap-strip-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.anon-cap-strip-error {
  color: var(--red);
  font-size: 13px;
}

/* ---------- result-page privacy control (D4) ---------- */

.privacy-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--ink);
}
.privacy-control-mark { color: var(--red); }
.privacy-select {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 2px;
  cursor: pointer;
}
.privacy-select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: var(--paper-shadow);
}

.private-view {
  max-width: 520px;
  margin: 80px auto;
  padding: 36px 24px;
  text-align: center;
  font-family: 'Source Serif 4', Georgia, serif;
}
.private-view h1 {
  font-size: 28px;
  margin-bottom: 14px;
}
.private-view p {
  color: var(--muted);
  font-size: 15px;
}

/* mobile */
@media (max-width: 760px) {
  .masthead, .foot { padding: 14px 20px; }
  main { padding: 0 20px; }
  .hero { padding: 48px 0 24px; }
  .hero h1 { font-size: 64px; }
  .hero .tagline { font-size: 19px; }
  .hero .lede { font-size: 17px; }
  .how-grid, .reviewers { grid-template-columns: 1fr; }
  .drawer-tab { padding: 10px 14px 12px; }
  .anatomy-row { grid-template-columns: 1fr; gap: 4px; }
  .verdict-line { font-size: 40px; }
  .score-number { font-size: 96px; }
  .kill-sentence { font-size: 19px; }
  .top-finding { grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; }
  .finding-rank { font-size: 36px; }
  .finding-margin {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 0.5px solid var(--rule-faint);
    padding: 12px 0 0;
    margin-top: 8px;
  }
  .wall-grid { grid-template-columns: 1fr; }
  .wall-card { grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; }
  .wall-card-score { font-size: 40px; }
}

/* ======================================================================
   ENTRY COMPOSER — universal composer with intent toggle
   (added 2026-05-11; see projects/wrong/design/entry-final-design.html)
   ====================================================================== */

.entry-hero {
  padding: 56px 0 48px;
  border-bottom: 0.5px solid var(--rule-faint);
  position: relative;
  text-align: center;
}
.entry-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
  text-wrap: balance;
}
.entry-headline .num,
.entry-headline .stop { color: var(--red); }
.entry-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  color: var(--muted);
  margin: 0 auto 32px;
  max-width: 720px;
  line-height: 1.5;
}

.toggle-prompt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  text-align: center;
  margin: 12px 0 14px;
  line-height: 1.3;
}
.intent-toggle {
  display: flex;
  gap: 10px;
  background: #FCFAF3;
  border: 0.5px solid var(--rule-faint);
  padding: 8px;
  border-radius: 4px;
  align-items: stretch;
  width: max-content;
  margin: 0 auto 32px;
}
.intent-toggle .opt {
  padding: 16px 26px;
  cursor: pointer;
  border-radius: 2px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 0.5px solid transparent;
  background: transparent;
  text-align: left;
  font-family: inherit;
}
.intent-toggle .opt .head {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.intent-toggle .opt .desc {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}
.intent-toggle .opt.on {
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 1px 3px rgba(21,19,15,0.06);
}
.intent-toggle .opt.on .head,
.intent-toggle .opt.on .desc { color: var(--ink); }
.intent-toggle .opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.composer-form { margin: 0; }

/* --- Attack composer --- */

.composer-attack {
  border: 0.5px solid var(--rule);
  background: #FCFAF3;
  padding: 32px 30px 24px;
  border-radius: 4px;
  text-align: center;
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.composer-attack.drag-over,
.composer-defend.drag-over {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(21,19,15,0.08);
}
.mic-region { position: relative; }
.mic-primary {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  margin-bottom: 14px;
  position: relative;
  box-shadow: 0 4px 14px rgba(200, 32, 26, 0.30);
  border: none;
  cursor: pointer;
}
.mic-primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.mic-primary[disabled] { opacity: 0.5; cursor: not-allowed; }
.mic-primary .mic-icon { width: 36px; height: 36px; fill: var(--paper); display: block; }
.mic-primary .stop-icon { width: 36px; height: 36px; fill: var(--paper); display: none; }
.mic-primary.recording { background: var(--ink); animation: pulse-big 1.4s ease-in-out infinite; }
.mic-primary.recording .mic-icon { display: none; }
.mic-primary.recording .stop-icon { display: block; }
@keyframes pulse-big {
  0%, 100% { box-shadow: 0 4px 14px rgba(200, 32, 26, 0.30), 0 0 0 0 rgba(200, 32, 26, 0.55); }
  50% { box-shadow: 0 4px 14px rgba(200, 32, 26, 0.30), 0 0 0 12px rgba(200, 32, 26, 0); }
}

.mic-cta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.mic-promise {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.mic-blocked {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  color: var(--red);
  margin-top: 10px;
  font-style: italic;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 8px 0 14px;
}
.or-divider::before, .or-divider::after {
  content: "";
  flex: 1;
  height: 0.5px;
  background: var(--rule-faint);
}

.secondary-input-wrap {
  background: var(--paper);
  border: 0.5px solid var(--rule);
  border-radius: 3px;
  text-align: left;
  position: relative;
  padding: 14px 18px;
}
.secondary-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  resize: vertical;
  min-height: 64px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  outline: none;
  display: block;
}
.secondary-input::placeholder { color: var(--muted); font-style: italic; }
.secondary-input:focus { outline: none; box-shadow: none; }

.affordances {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 0.5px dashed var(--rule-faint);
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  align-items: center;
  font-family: 'Inter', sans-serif;
}
.affordances .aff {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  padding: 0;
  cursor: default;
}
.affordances button.aff { cursor: pointer; }
.affordances button.aff:hover { color: var(--ink); }
.affordances .aff em { font-style: italic; }
.affordances .aff svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
}
.affordances .aff-count {
  margin-left: auto;
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
}

.submit-attack {
  background: var(--red);
  color: var(--paper);
  border: none;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
  margin-top: 18px;
  cursor: pointer;
}
.submit-attack:hover:not(:disabled) { filter: brightness(1.08); }
.submit-attack:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-defend {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
  margin-top: 18px;
  cursor: pointer;
}
.submit-defend:hover:not(:disabled) { background: #2A2620; }
.submit-defend:disabled { opacity: 0.6; cursor: not-allowed; }

.pricing-nudge {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}
.composer-defend .pricing-nudge { text-align: right; }

/* --- Defend composer --- */

.composer-defend {
  border: 0.5px solid var(--rule);
  background: #FCFAF3;
  padding: 24px 28px;
  border-radius: 4px;
  max-width: 820px;
  margin: 0 auto;
}
.primary-input-wrap {
  background: var(--paper);
  border: 0.5px solid var(--rule);
  padding: 18px 22px;
  border-radius: 3px;
  position: relative;
}
.primary-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  resize: vertical;
  min-height: 220px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
  outline: none;
  display: block;
  padding-right: 44px;
}
.primary-input::placeholder { color: var(--muted); font-style: italic; }
.primary-input:focus { outline: none; border: none; box-shadow: none; }
.secondary-input { border: none; }
.primary-input { border: none; }

.mic-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FCFAF3;
  border: 0.5px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.mic-corner svg { width: 14px; height: 14px; fill: var(--red); }
.mic-corner:hover { border-color: var(--ink); }
.mic-corner:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.mic-corner[disabled] { opacity: 0.5; cursor: not-allowed; }
.mic-corner.recording { background: var(--ink); }
.mic-corner.recording svg { fill: var(--paper); }

/* --- Recording / transcribing UI --- */

.rec-ui {
  margin: 14px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.rec-ui[hidden],
.rec-transcribing[hidden],
.inline-url-detect[hidden],
.mic-blocked[hidden] { display: none !important; }

/* Recording state: rec-ui takes over the textarea space on either composer */
.primary-input-wrap.is-recording,
.secondary-input-wrap.is-recording {
  background: var(--paper);
  border: 0.5px solid var(--rule);
  border-radius: 3px;
  padding: 36px 24px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.primary-input-wrap.is-recording > textarea,
.primary-input-wrap.is-recording > .affordances,
.primary-input-wrap.is-recording > .inline-url-detect,
.primary-input-wrap.is-recording > .chip-host,
.primary-input-wrap.is-recording > .mic-corner,
.secondary-input-wrap.is-recording > textarea,
.secondary-input-wrap.is-recording > .affordances,
.secondary-input-wrap.is-recording > .inline-url-detect,
.secondary-input-wrap.is-recording > .chip-host { display: none !important; }
.primary-input-wrap.is-recording .rec-ui,
.primary-input-wrap.is-recording .rec-transcribing,
.secondary-input-wrap.is-recording .rec-ui,
.secondary-input-wrap.is-recording .rec-transcribing { margin: 0; }

/* Hide "or type it out" divider while attack composer is recording */
.composer-attack:has(.secondary-input-wrap.is-recording) .or-divider,
.composer-attack:has(.secondary-input-wrap.is-recording) .mic-region { display: none; }

.rec-transcribing {
  margin: 14px 0 10px;
  text-align: center;
}
.rec-status {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}
.rec-timer {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--red);
  letter-spacing: -0.01em;
}
.waveform-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  margin: 4px 0 10px;
}
.waveform-big span {
  width: 4px;
  background: var(--red);
  border-radius: 2px;
  display: inline-block;
  animation: wave-big 1.1s ease-in-out infinite;
}
.waveform-big span:nth-child(1) { height: 40%; animation-delay: 0.0s; }
.waveform-big span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.waveform-big span:nth-child(3) { height: 90%; animation-delay: 0.2s; }
.waveform-big span:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.waveform-big span:nth-child(5) { height: 85%; animation-delay: 0.4s; }
.waveform-big span:nth-child(6) { height: 50%; animation-delay: 0.5s; }
.waveform-big span:nth-child(7) { height: 95%; animation-delay: 0.6s; }
.waveform-big span:nth-child(8) { height: 65%; animation-delay: 0.7s; }
.waveform-big span:nth-child(9) { height: 45%; animation-delay: 0.8s; }
@keyframes wave-big {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1.0); }
}
.stop-btn {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 8px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
  cursor: pointer;
}

/* --- inline URL detection --- */

.inline-url-detect {
  margin: 12px 0;
  padding: 10px 14px;
  background: var(--paper-2);
  border: 0.5px solid var(--blue);
  border-radius: 3px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: var(--ink);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.inline-url-detect .iud-buttons {
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
  font-style: normal;
}
.inline-url-detect .btn-yes-inline {
  background: var(--red);
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}
.inline-url-detect .btn-no-inline {
  background: transparent;
  color: var(--muted);
  border: 0.5px solid var(--rule);
  padding: 5px 12px;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

/* --- chip + preview pane --- */

.chip-host { margin-top: 10px; }
.composer-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 0.5px solid var(--rule);
  border-radius: 3px;
  padding: 8px 12px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
}
.composer-chip .chip-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.composer-chip .chip-value { color: var(--ink); flex: 1; word-break: break-word; }
.composer-chip .chip-spinner {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--rule);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: chip-spin 0.8s linear infinite;
}
@keyframes chip-spin { to { transform: rotate(360deg); } }
.composer-chip .chip-preview {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  cursor: pointer;
  padding: 2px 8px;
  border-left: 0.5px solid var(--rule-faint);
  border-right: 0.5px solid var(--rule-faint);
  background: transparent;
  border-top: none;
  border-bottom: none;
}
.composer-chip .chip-x {
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  background: transparent;
  border: none;
  line-height: 1;
  padding: 0 4px;
}
.composer-chip .chip-x:hover { color: var(--ink); }
.composer-chip.url { border-color: #1F3A5F; }
.composer-chip.file { border-color: var(--ink); background: #FCFAF3; }

.file-preview-pane {
  background: var(--paper);
  border: 0.5px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
}
.file-preview-head {
  background: #FCFAF3;
  padding: 10px 16px;
  border-bottom: 0.5px solid var(--rule-faint);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
}
.file-preview-head .fp-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.file-preview-head .fp-name { font-weight: 600; color: var(--ink); word-break: break-word; }
.file-preview-head .fp-meta { color: var(--muted); font-size: 12px; font-style: italic; }
.file-preview-head .fp-collapse {
  margin-left: auto;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: none;
}
.file-preview-head .fp-collapse:hover { color: var(--ink); }
.file-preview-head .fp-x {
  color: var(--muted);
  font-size: 16px;
  padding-left: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  line-height: 1;
}
.file-preview-body {
  padding: 24px 30px 22px;
  max-height: 360px;
  overflow-y: auto;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}
.file-preview-body p { margin-bottom: 12px; }
.file-preview-body p:last-child { margin-bottom: 0; }
.file-preview-fade {
  padding: 8px 0 14px;
  text-align: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  font-style: italic;
  border-top: 0.5px dashed var(--rule-faint);
}

/* --- floating caveat margin note --- */
.caveat-note-floating {
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-family: 'Caveat', cursive;
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
  transform: rotate(-3deg);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* --- toast --- */
.composer-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(21,19,15,0.15);
  max-width: 320px;
}

/* --- error --- */
.entry-hero .error {
  max-width: 820px;
  margin: 12px auto 0;
}

/* --- mobile --- */

@media (max-width: 760px) {
  .entry-headline { font-size: 36px; line-height: 1.08; }
  .entry-sub { font-size: 16px; margin-bottom: 22px; }
  .toggle-prompt { font-size: 17px; }

  .intent-toggle {
    display: flex;
    width: 100%;
    padding: 4px;
    gap: 4px;
  }
  .intent-toggle .opt {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    align-items: center;
    text-align: center;
  }
  .intent-toggle .opt .head { font-size: 14px; }
  .intent-toggle .opt .desc { display: none; }

  /* attack: mic dominates, secondary input compresses */
  .composer-attack { padding: 24px 18px 20px; }
  .mic-primary { width: 64px; height: 64px; }
  .mic-primary .mic-icon,
  .mic-primary .stop-icon { width: 26px; height: 26px; }
  .mic-cta { font-size: 18px; }
  .mic-promise { font-size: 13px; margin-bottom: 16px; }
  .secondary-input-wrap { padding: 10px 12px; }
  .secondary-input { min-height: 44px; font-size: 13px; }
  .affordances { gap: 10px; font-size: 11px; flex-wrap: wrap; }

  /* defend stays text-primary */
  .composer-defend { padding: 18px 16px; }
  .primary-input { min-height: 180px; padding-right: 38px; font-size: 13px; }

  .submit-attack, .submit-defend { width: 100%; padding: 14px 20px; }
}

/* ====================================================== */
/* HOMEPAGE EXAMPLES SECTION                              */
/* ====================================================== */

.home-examples {
  padding: 56px 0;
  border-top: 0.5px solid var(--rule-faint);
  border-bottom: 0.5px solid var(--rule-faint);
}
.home-examples-head {
  margin-bottom: 32px;
}
.home-examples-kicker {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.home-examples-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.home-examples-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}
.home-examples-foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 0.5px solid var(--rule-faint);
  text-align: center;
}

@media (max-width: 900px) {
  .home-examples { padding: 40px 0; }
  .home-examples-title { font-size: 24px; }
  .home-examples-sub { font-size: 15px; }
}

/* --- pricing pack mini-ladder (per-card "what this pack runs" table) --- */
.mini-ladder {
  margin: 14px 0 18px;
  padding: 14px 0 4px;
  border-top: 0.5px dashed var(--rule-faint);
}
.mini-ladder .ml-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  margin-bottom: 10px;
}
.mini-ladder table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13.5px;
}
.mini-ladder tr { border-bottom: 0.5px solid var(--rule-faint); }
.mini-ladder tr:last-child { border-bottom: none; }
.mini-ladder td { padding: 7px 0; vertical-align: baseline; }
.mini-ladder .ml-size { color: var(--ink); }
.mini-ladder .ml-pages { color: var(--muted); font-size: 12px; font-style: italic; }
.mini-ladder .ml-count {
  text-align: right;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
