:root {
  --ink: #11100e;
  --paper: #fbf6ed;
  --paper-deep: #efe7da;
  --line: rgba(17, 16, 14, 0.14);
  --muted: rgba(17, 16, 14, 0.68);
  --red: #d7271e;
  --red-dark: #a91914;
  --glass: #dcecf0;
  --charcoal: #1b1a18;
  --brown: #5a5049;
  --gold: #f1bd3f;
  --white: #fffefa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(241, 189, 63, 0.13), transparent 28%),
    radial-gradient(circle at 36% 24%, rgba(220, 236, 240, 0.5), transparent 30%),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  padding-left: 98px;
}

.chapter-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 98px;
  display: grid;
  grid-template-rows: 76px 1fr 112px;
  border-right: 1px solid var(--line);
  background: rgba(251, 246, 237, 0.86);
  backdrop-filter: blur(16px);
}

.rail-dot {
  width: 14px;
  height: 14px;
  margin: 36px auto 0;
  border-radius: 50%;
  background: var(--red);
}

.chapter-rail nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.chapter-rail nav a {
  position: relative;
  width: 100%;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.chapter-rail nav a::after {
  content: "";
  position: absolute;
  bottom: -13px;
  width: 1px;
  height: 26px;
  background: rgba(17, 16, 14, 0.18);
}

.chapter-rail nav a:last-child::after {
  display: none;
}

.chapter-rail nav span {
  color: rgba(17, 16, 14, 0.56);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1;
}

.chapter-rail nav a.active,
.chapter-rail nav a.active span {
  color: var(--red);
}

.rail-controls {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding-bottom: 14px;
}

.rail-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}

.rail-controls p {
  margin: 2px 0 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
}

.topbar {
  position: fixed;
  top: 0;
  left: 98px;
  right: 0;
  z-index: 15;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(22px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(251, 246, 237, 0.96), rgba(251, 246, 237, 0.74) 74%, transparent);
  backdrop-filter: blur(14px);
}

.small-wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
}

.small-wordmark span,
.hero-copy h1 span {
  color: var(--red);
}

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.9rem;
  font-weight: 800;
}

.topnav a {
  white-space: nowrap;
}

.pill-button,
.primary-action,
.secondary-action,
.signal-link,
.signup-form button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 900;
}

.pill-button,
.primary-action,
.signup-form button {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 30px rgba(215, 39, 30, 0.2);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 254, 250, 0.74);
}

.section-panel {
  min-height: 100vh;
  scroll-margin-top: 82px;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(620px, 1.28fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  padding: 112px clamp(22px, 4vw, 58px) 34px;
}

.hero-copy {
  max-width: 420px;
}

.kicker {
  margin: 0 0 20px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 950;
}

.hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 6.15vw, 6.6rem);
  line-height: 0.84;
  letter-spacing: 0;
}

.arc {
  margin: 30px 0 0;
  color: var(--red);
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  line-height: 1.22;
  font-weight: 900;
}

.mission {
  margin: 14px 0 0;
  max-width: 310px;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.5;
}

.proof-line {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.shield-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.proof-line p {
  margin: 0;
  max-width: 260px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.deck-wrap {
  position: relative;
  min-height: min(68vh, 640px);
  perspective: 1300px;
}

.story-card {
  position: absolute;
  top: 50%;
  left: 0;
  width: min(400px, 39vw);
  height: min(620px, 68vh);
  overflow: hidden;
  border: 1px solid rgba(17, 16, 14, 0.14);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 34px 74px rgba(17, 16, 14, 0.17);
  transform: translate3d(calc(var(--i) * 118px), -50%, calc(var(--i) * -90px)) rotateY(-5deg);
  transition: transform 420ms ease, z-index 420ms ease, box-shadow 420ms ease;
}

.story-card:nth-child(1) { --i: 0; z-index: 6; }
.story-card:nth-child(2) { --i: 1; z-index: 5; background: var(--glass); }
.story-card:nth-child(3) { --i: 2; z-index: 4; }
.story-card:nth-child(4) { --i: 3; z-index: 3; background: var(--brown); color: var(--white); }
.story-card:nth-child(5) { --i: 4; z-index: 2; }

.story-card:hover,
.story-card.active-card {
  transform: translate3d(calc(var(--i) * 112px), -52%, calc(var(--i) * -40px)) rotateY(-2deg);
}

.campaign-card {
  color: var(--white);
  background: #090807;
}

.card-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.grocery-media {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.2)),
    url("assets/glass-wall-grocery-hero.webp");
}

.card-content {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.card-number {
  margin: 0;
  font-weight: 950;
  font-size: 1.15rem;
}

.card-label {
  margin: 66px 0 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 950;
}

.story-card h2 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.3vw, 4rem);
  line-height: 0.92;
}

.story-card p:not(.card-number):not(.card-label) {
  max-width: 280px;
  margin: 22px 0 0;
  line-height: 1.45;
}

.card-line {
  opacity: 0.9;
}

.card-link {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--white);
  font-weight: 900;
}

.card-link::before {
  content: "→";
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
}

.dark-link {
  color: var(--ink);
}

.dark-link::before {
  color: var(--white);
}

.scanner-card .card-content,
.receipt-card .card-content,
.animal-card .card-content,
.index-card .card-content {
  justify-content: flex-start;
}

.barcode-visual {
  margin-top: auto;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 96px;
}

.barcode-visual span {
  width: 14px;
  background: rgba(17, 16, 14, 0.72);
}

.barcode-visual span:nth-child(1) { height: 66px; }
.barcode-visual span:nth-child(2) { height: 92px; }
.barcode-visual span:nth-child(3) { height: 48px; }

.receipt-card {
  background:
    repeating-linear-gradient(0deg, rgba(17, 16, 14, 0.08) 0 1px, transparent 1px 32px),
    var(--white);
}

.animal-card {
  background:
    radial-gradient(circle at 82% 70%, rgba(255, 255, 255, 0.28), transparent 26%),
    linear-gradient(140deg, rgba(90, 80, 73, 0.96), rgba(17, 16, 14, 0.82)),
    var(--brown);
}

.animal-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: 80px;
  width: 210px;
  height: 150px;
  border-radius: 52% 48% 44% 56%;
  background: rgba(255, 255, 255, 0.13);
  filter: blur(4px);
}

.index-card {
  background:
    linear-gradient(90deg, transparent 0 76%, rgba(17, 16, 14, 0.08) 76%),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(17, 16, 14, 0.1) 54px 55px),
    var(--paper);
}

.deck-handle {
  position: absolute;
  top: 50%;
  left: min(348px, 34vw);
  z-index: 10;
  min-width: 112px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--charcoal);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(17, 16, 14, 0.25);
  transform: translateY(-50%);
  font-weight: 950;
}

.deck-handle strong {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  font-size: 1.05rem;
  line-height: 1;
}

.deck-handle span {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-module {
  position: absolute;
  right: clamp(22px, 4vw, 58px);
  bottom: 26px;
  width: min(360px, calc(100% - 44px));
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), #f7d472);
  box-shadow: 0 22px 52px rgba(17, 16, 14, 0.17);
}

.signal-kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 950;
}

.signal-module h2 {
  margin: 0;
  max-width: 270px;
  font-size: 1.45rem;
  line-height: 1.04;
}

.signal-module p:not(.signal-kicker) {
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.signal-link {
  margin-top: 18px;
  padding: 0;
  color: var(--ink);
  background: transparent;
}

.campaign-section {
  min-height: auto;
  padding: 118px clamp(26px, 5vw, 76px);
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.055) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(0deg, rgba(17, 16, 14, 0.04) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--paper);
  border-top: 1px solid var(--line);
}

.campaign-header {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
}

.campaign-header h2 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7vw, 8.2rem);
  line-height: 0.86;
}

.campaign-header > p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.52;
}

.campaign-board {
  display: grid;
  grid-template-columns: 1.15fr 0.925fr 0.925fr;
  gap: 14px;
  margin-top: 58px;
}

.campaign-brief {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.76);
}

.primary-brief {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28)),
    url("assets/glass-wall-grocery-hero.webp");
  background-position: center;
  background-size: cover;
}

.campaign-brief span,
.table-label {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-brief span {
  color: #ff6259;
}

.campaign-brief h3,
.truth-table h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.96;
}

.campaign-brief p {
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.primary-brief p {
  color: rgba(255, 254, 250, 0.9);
}

.truth-table {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1px;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--line);
}

.truth-table > div {
  padding: clamp(26px, 4vw, 48px);
  background: var(--white);
}

.truth-table ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.truth-table li {
  padding-left: 34px;
  background: linear-gradient(var(--red), var(--red)) 0 0.76em / 18px 2px no-repeat;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 780;
  line-height: 1.35;
}

.space-dispatch {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(24px, 4vw, 54px);
  margin-top: 48px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(251, 246, 237, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(215, 39, 30, 0.16), transparent 38%),
    var(--charcoal);
  color: var(--white);
}

.space-intro h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.4vw, 6.6rem);
  line-height: 0.86;
}

.space-intro p:not(.kicker) {
  margin: 24px 0 0;
  color: rgba(255, 254, 250, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.52;
}

.space-cards {
  display: grid;
  gap: 12px;
}

.space-cards article {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(251, 246, 237, 0.16);
  border-radius: 16px;
  background: rgba(255, 254, 250, 0.07);
}

.space-cards span {
  color: #ff6259;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.space-cards strong {
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 4rem);
  line-height: 0.96;
}

.space-cards p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 254, 250, 0.78);
  line-height: 1.45;
}

.dispatch-strip {
  margin-top: 48px;
}

.dispatch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.dispatch-grid a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 900;
  line-height: 1.12;
}

.dispatch-grid a:last-child {
  border-right: 0;
}

.dispatch-grid span {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 900;
}

.dispatch-grid em {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.full-dispatch {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(22px, 4vw, 56px);
  margin-top: 46px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.full-dispatch h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4.5vw, 5.8rem);
  line-height: 0.9;
}

.full-dispatch details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.72);
  overflow: hidden;
}

.full-dispatch summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  color: var(--red);
  font-weight: 950;
  cursor: pointer;
}

.full-dispatch summary::after {
  content: "+";
  font-size: 2rem;
  line-height: 1;
}

.full-dispatch details[open] summary::after {
  content: "-";
}

.dispatch-body {
  display: grid;
  gap: 18px;
  padding: 0 24px 26px;
}

.dispatch-body p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.62;
}

.dispatch-body ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.dispatch-body li::before {
  content: "Source: ";
  color: var(--red);
  font-weight: 900;
}

.full-dispatch .secondary-action {
  width: fit-content;
  align-self: end;
  grid-column: 2;
}

.campaign-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 24px;
  border-radius: 18px;
  background: var(--charcoal);
  color: var(--white);
}

.campaign-cta p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.12;
}

.scanner-section {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(28px, 6vw, 80px);
  padding: 120px clamp(26px, 5vw, 76px);
  background: var(--white);
  border-block: 1px solid var(--line);
}

.scanner-copy h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 7.2rem);
  line-height: 0.88;
}

.scanner-copy p:not(.kicker) {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  line-height: 1.5;
}

.scanner-lab {
  display: grid;
  gap: 16px;
  align-content: start;
}

.scanner-form,
.scanner-result {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 20px 58px rgba(17, 16, 14, 0.08);
}

.scanner-form {
  padding: 22px;
}

.scanner-form label,
.result-grid span,
.result-topline span,
.score-label {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scanner-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.scanner-row input {
  min-height: 52px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--white);
}

.scanner-row button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 950;
}

.scanner-upload {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.scanner-upload input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-card,
.scanner-upload button {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.upload-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  cursor: pointer;
}

.upload-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.upload-card strong {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scanner-upload button {
  padding: 0 16px;
  color: var(--charcoal);
  font-weight: 950;
}

.scan-status {
  min-height: 38px;
  padding: 11px 12px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.scan-status.is-working {
  color: var(--charcoal);
  border-color: rgba(211, 38, 30, 0.35);
  background: rgba(211, 38, 30, 0.06);
}

.scan-status.is-success {
  color: #1f5b40;
  border-color: rgba(31, 91, 64, 0.35);
  background: rgba(31, 91, 64, 0.07);
}

.scan-status.is-warning {
  color: #7a5521;
  border-color: rgba(245, 188, 63, 0.55);
  background: rgba(245, 188, 63, 0.14);
}

.barcode-video {
  width: 100%;
  max-height: 280px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  object-fit: cover;
  background: var(--ink);
}

.scanner-form > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.scanner-result {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.result-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.result-topline strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  line-height: 0.95;
}

.score-card {
  padding: 18px;
  border-radius: 16px;
  background: var(--white);
}

.score-meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 16, 14, 0.12);
}

.score-meter span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 280ms ease;
}

.score-text {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.result-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 254, 250, 0.62);
}

.result-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.recommendation-strip,
.source-trail {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.recommendation-strip span,
.source-trail span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.recommendation-strip p {
  margin: 10px 0 0;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.42;
}

.evidence-engine-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(17, 16, 14, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 188, 63, 0.14)),
    var(--paper);
}

.engine-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.engine-header span,
.engine-grid span,
.engine-alternatives span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.engine-header strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
}

.engine-ladder {
  height: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(90deg, #2b211d 0 20%, #6f5d55 20% 40%, #c0a79a 40% 60%, #f1bd3f 60% 80%, #1f5b40 80% 100%);
}

.engine-ladder span {
  display: block;
  width: var(--engine-width, 50%);
  height: 100%;
  border-right: 4px solid var(--white);
  background: rgba(255, 255, 255, 0.22);
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.engine-grid article {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.engine-grid p,
.engine-alternatives li {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.engine-alternatives {
  padding-top: 4px;
}

.engine-alternatives ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.engine-alternatives li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}

.engine-alternatives li::before {
  content: "→";
  color: var(--red);
  font-weight: 950;
}

.source-trail div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.source-trail a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 254, 250, 0.7);
  font-size: 0.84rem;
  font-weight: 850;
}

.scanner-disclaimer {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.receipt-section {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(540px, 1.24fr);
  gap: clamp(30px, 6vw, 86px);
  padding: 120px clamp(26px, 5vw, 76px);
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.055) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(17, 16, 14, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
  border-block: 1px solid var(--line);
}

.receipt-copy h2 {
  max-width: 840px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 7.1rem);
  line-height: 0.88;
}

.receipt-copy p:not(.kicker) {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.26rem);
  line-height: 1.5;
}

.receipt-lab {
  display: grid;
  gap: 16px;
  align-content: start;
}

.receipt-form,
.receipt-report {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.82);
  box-shadow: 0 24px 62px rgba(17, 16, 14, 0.08);
}

.receipt-form {
  padding: 22px;
}

.receipt-form label,
.receipt-stamp span,
.receipt-columns span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.receipt-form textarea {
  width: 100%;
  min-width: 0;
  margin-top: 12px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.receipt-actions button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 950;
}

.receipt-actions .ghost-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.receipt-form > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.receipt-report {
  overflow: hidden;
}

.receipt-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  background: var(--charcoal);
  color: var(--white);
}

.receipt-stamp strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 0.95;
}

.receipt-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.receipt-columns article {
  min-height: 190px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.receipt-columns article:last-child {
  border-right: 0;
}

.receipt-columns p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.receipt-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.receipt-timeline div {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.receipt-timeline div:last-child {
  border-right: 0;
}

.receipt-timeline span {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 950;
}

.receipt-timeline p {
  margin: 0;
  font-weight: 900;
}

.receipt-report .scanner-disclaimer {
  padding: 16px 22px 22px;
  border-top: 1px solid var(--line);
}

.animal-voice-section {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(30px, 6vw, 86px);
  padding: 120px clamp(26px, 5vw, 76px);
  background:
    radial-gradient(circle at 12% 18%, rgba(241, 189, 63, 0.17), transparent 28%),
    var(--charcoal);
  color: var(--white);
}

.animal-voice-copy h2 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 7.4rem);
  line-height: 0.86;
}

.animal-voice-copy p:not(.kicker) {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 254, 250, 0.74);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.52;
}

.voice-lab {
  display: grid;
  gap: 16px;
  align-content: start;
}

.animal-stage {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 254, 250, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 254, 250, 0.055) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(0deg, rgba(255, 254, 250, 0.05) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(145deg, rgba(90, 80, 73, 0.44), rgba(0, 0, 0, 0.14));
}

.speech-bubble {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 3;
  max-width: min(410px, calc(100% - 64px));
  padding: 22px;
  border: 1px solid rgba(17, 16, 14, 0.16);
  border-radius: 18px 18px 18px 4px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  line-height: 1.06;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -18px;
  width: 28px;
  height: 28px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.animal-portrait {
  position: absolute;
  right: clamp(30px, 7vw, 92px);
  bottom: 34px;
  width: min(270px, 44vw);
  height: 250px;
  animation: animal-breathe 2.8s ease-in-out infinite;
}

.animal-head,
.animal-body,
.animal-eye,
.animal-beak,
.animal-portrait::before,
.animal-portrait::after {
  position: absolute;
  display: block;
}

.animal-body {
  right: 16px;
  bottom: 0;
  width: 190px;
  height: 146px;
  border-radius: 58% 42% 44% 56%;
  background: #f4ead9;
  box-shadow: inset -28px -18px 0 rgba(17, 16, 14, 0.08);
}

.animal-head {
  right: 144px;
  bottom: 92px;
  width: 104px;
  height: 104px;
  border-radius: 54% 46% 48% 52%;
  background: #fff4df;
}

.animal-eye {
  right: 180px;
  bottom: 142px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.animal-beak {
  right: 232px;
  bottom: 126px;
  width: 42px;
  height: 28px;
  background: var(--gold);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.chicken-portrait::before {
  content: "";
  right: 184px;
  bottom: 192px;
  width: 48px;
  height: 34px;
  border-radius: 50% 50% 30% 30%;
  background: var(--red);
}

.chicken-portrait::after {
  content: "";
  right: 96px;
  bottom: 108px;
  width: 84px;
  height: 96px;
  border-radius: 50%;
  border-right: 18px solid rgba(17, 16, 14, 0.14);
  transform: rotate(-18deg);
}

.pig-portrait .animal-body,
.pig-portrait .animal-head {
  background: #f0b8aa;
}

.pig-portrait .animal-head {
  right: 128px;
  bottom: 78px;
  width: 128px;
  height: 112px;
}

.pig-portrait .animal-eye {
  right: 174px;
  bottom: 136px;
}

.pig-portrait .animal-beak {
  right: 224px;
  bottom: 104px;
  width: 58px;
  height: 38px;
  border-radius: 50%;
  background: #d9897a;
  clip-path: none;
}

.pig-portrait::before,
.pig-portrait::after {
  content: "";
  bottom: 176px;
  width: 42px;
  height: 42px;
  background: #f0b8aa;
  clip-path: polygon(50% 0, 100% 100%, 0 72%);
}

.pig-portrait::before {
  right: 210px;
  transform: rotate(-18deg);
}

.pig-portrait::after {
  right: 128px;
  transform: rotate(18deg);
}

.cow-portrait .animal-body,
.cow-portrait .animal-head {
  background:
    radial-gradient(circle at 70% 36%, #2c2925 0 22%, transparent 23%),
    radial-gradient(circle at 36% 72%, #2c2925 0 20%, transparent 21%),
    #f6f0e6;
}

.cow-portrait .animal-head {
  right: 118px;
  bottom: 74px;
  width: 132px;
  height: 124px;
  border-radius: 48% 52% 54% 46%;
}

.cow-portrait .animal-eye {
  right: 172px;
  bottom: 138px;
}

.cow-portrait .animal-beak {
  right: 196px;
  bottom: 92px;
  width: 78px;
  height: 44px;
  border-radius: 50%;
  background: #d8b6a2;
  clip-path: none;
}

.cow-portrait::before,
.cow-portrait::after {
  content: "";
  bottom: 184px;
  width: 38px;
  height: 56px;
  border-radius: 50% 50% 0 0;
  background: #f6f0e6;
}

.cow-portrait::before {
  right: 210px;
  transform: rotate(-36deg);
}

.cow-portrait::after {
  right: 112px;
  transform: rotate(36deg);
}

@keyframes animal-breathe {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.voice-console,
.voice-card {
  border: 1px solid rgba(255, 254, 250, 0.16);
  border-radius: 22px;
  background: rgba(255, 254, 250, 0.07);
}

.voice-console {
  padding: 16px;
}

.empathy-slider {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 254, 250, 0.16);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.14);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 254, 250, 0.78);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.empathy-slider input[type="range"] {
  width: 100%;
  height: 12px;
  margin: 2px 0;
  appearance: none;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--gold) 0 var(--value, 34%), rgba(255, 254, 250, 0.16) var(--value, 34%) 100%);
  outline: none;
}

.empathy-slider input[type="range"]::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  appearance: none;
  border: 3px solid var(--charcoal);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.empathy-slider input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid var(--charcoal);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.view-shift {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.view-shift article {
  min-height: 126px;
  padding: 16px;
  border: 1px solid rgba(255, 254, 250, 0.14);
  border-radius: 16px;
  background: rgba(255, 254, 250, 0.07);
}

.view-shift span {
  color: #ff6158;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.view-shift p {
  margin: 10px 0 0;
  color: rgba(255, 254, 250, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.7rem);
  line-height: 1.08;
}

.voice-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.voice-tabs button {
  min-height: 46px;
  border: 1px solid rgba(255, 254, 250, 0.16);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  font-weight: 900;
}

.voice-tabs button.active {
  color: var(--ink);
  background: var(--gold);
  border-color: transparent;
}

.voice-card {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  padding: 22px;
}

.voice-scan-bridge {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(241, 189, 63, 0.34);
  border-radius: 18px;
  background: rgba(241, 189, 63, 0.12);
}

.voice-scan-bridge span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.voice-scan-bridge p {
  grid-column: 1;
  margin: 0;
  color: rgba(255, 254, 250, 0.78);
  line-height: 1.4;
}

.voice-scan-bridge a {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.voice-card h3 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  line-height: 0.94;
}

.voice-card > p:not(.table-label):not(.scanner-disclaimer) {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 254, 250, 0.76);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.5;
}

.voice-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.voice-proof-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 254, 250, 0.16);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.12);
}

.voice-proof-grid span {
  color: #ff6158;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.voice-proof-grid p {
  margin: 10px 0 0;
  color: rgba(255, 254, 250, 0.72);
  line-height: 1.42;
}

.three-questions {
  padding: 18px;
  border: 1px solid rgba(255, 254, 250, 0.16);
  border-radius: 18px;
  background: rgba(241, 189, 63, 0.1);
}

.three-questions ol {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: questions;
}

.three-questions li {
  counter-increment: questions;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(255, 254, 250, 0.82);
  font-weight: 850;
  line-height: 1.3;
}

.three-questions li::before {
  content: counter(questions, decimal-leading-zero);
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.voice-card .scanner-disclaimer {
  color: rgba(255, 254, 250, 0.62);
  border-color: rgba(255, 254, 250, 0.14);
}

.content-section,
.tool-section {
  padding: 120px clamp(26px, 6vw, 90px);
}

.content-section h2,
.tool-section h2 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 0.9;
}

.content-section > p:not(.kicker) {
  max-width: 770px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.54;
}

.tool-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.tool-grid {
  display: grid;
  gap: 14px;
}

.tool-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.tool-grid span {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 950;
}

.tool-grid h3 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.tool-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.dark-section {
  color: var(--paper);
  background: var(--charcoal);
}

.dark-section .kicker {
  color: #ff6158;
}

.file-list {
  display: grid;
  margin-top: 46px;
  border-top: 1px solid rgba(251, 246, 237, 0.18);
}

.file-list a {
  min-height: 88px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(251, 246, 237, 0.18);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 800;
}

.file-list span {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: start;
}

.founder-layout > div > p {
  max-width: 770px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.54;
}

.founder-section .primary-action {
  margin-top: 32px;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(260px, 0.55fr);
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 254, 250, 0.72);
}

.founder-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  filter: saturate(0.92) contrast(1.02);
}

.founder-card h3 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.4vw, 4rem);
  line-height: 0.92;
}

.founder-card p:not(.table-label) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(17, 16, 14, 0.28);
  backdrop-filter: blur(6px);
}

.signup-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: min(520px, 100vw);
  padding: 34px;
  border-left: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(17, 16, 14, 0.055) 36px 37px),
    var(--paper);
  box-shadow: -26px 0 70px rgba(17, 16, 14, 0.26);
  transform: translateX(105%);
  transition: transform 300ms ease;
}

.signup-panel.open {
  transform: translateX(0);
}

.close-panel {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.4rem;
}

.panel-index {
  margin: 34px 0 18px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 950;
}

.signup-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 0.88;
}

.signup-panel > p:not(.panel-index) {
  max-width: 390px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.signup-form {
  margin-top: 34px;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.email-label {
  width: 100%;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.signup-form label:not(.email-label) {
  display: inline-flex;
}

.signup-form input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.signup-form label span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 254, 250, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
}

.signup-form input[type="checkbox"]:checked + span {
  border-color: var(--red);
  color: var(--red);
  background: rgba(215, 39, 30, 0.08);
}

.email-label {
  display: block;
  margin-top: 28px;
}

.email-row {
  display: flex;
  gap: 10px;
}

.email-row input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
}

.quiet-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-page {
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.055) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(0deg, rgba(17, 16, 14, 0.04) 1px, transparent 1px) 0 0 / 92px 92px,
    radial-gradient(circle at 78% 8%, rgba(241, 189, 63, 0.16), transparent 28%),
    var(--paper);
}

.article-topbar {
  left: 0;
  border-bottom: 1px solid rgba(17, 16, 14, 0.08);
}

.article-shell {
  padding: 132px clamp(18px, 5vw, 76px) 64px;
}

.dispatch-article {
  max-width: 1280px;
  margin: 0 auto;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  column-gap: clamp(28px, 6vw, 84px);
  row-gap: 22px;
  align-items: end;
  padding: clamp(28px, 5vw, 72px) 0 44px;
  border-bottom: 1px solid var(--line);
}

.article-hero .kicker,
.article-meta {
  grid-column: 1;
}

.article-hero h1 {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 6.2vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.article-dek {
  grid-column: 2;
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.38;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  gap: 8px;
}

.article-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 254, 250, 0.64);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.article-glass-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(24px, 5vw, 68px);
  margin-top: 32px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 22px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.34)),
    url("/assets/glass-wall-grocery-hero.webp");
  background-position: center;
  background-size: cover;
}

.article-glass-card h2,
.article-sources h2,
.article-cta h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 5rem);
  line-height: 0.94;
  text-wrap: balance;
}

.article-glass-card p:not(.table-label) {
  align-self: end;
  max-width: 580px;
  margin: 0;
  color: rgba(255, 254, 250, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.5;
}

.article-measurements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.article-measurements article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
}

.article-measurements span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-measurements strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.7vw, 4.2rem);
  line-height: 0.92;
}

.article-measurements p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.article-body {
  max-width: 780px;
  margin: 58px auto 0;
}

.article-body p {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.62;
}

.article-body p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--red);
  font-size: 5.6em;
  line-height: 0.72;
}

.article-sources {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(26px, 5vw, 74px);
  margin-top: 60px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 254, 250, 0.74);
}

.article-sources p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.article-sources ul {
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-sources a {
  display: block;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--red), var(--red)) 0 1.55em / 18px 2px no-repeat;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.35;
}

.article-cta {
  margin-top: 36px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--gold), #f7d472);
}

.article-cta p:not(.kicker) {
  max-width: 620px;
  margin: 18px 0 0;
  line-height: 1.48;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

@media (max-width: 1120px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding-bottom: 280px;
  }

  .deck-wrap {
    min-height: 560px;
  }

  .story-card {
    width: min(390px, 56vw);
    height: 540px;
  }
}

@media (max-width: 820px) {
  .site-shell {
    padding-left: 0;
  }

  .chapter-rail {
    display: none;
  }

  .topbar {
    left: 0;
    min-height: 74px;
  }

  .topnav a {
    display: none;
  }

  .hero-section {
    overflow: hidden;
    min-height: auto;
    padding: 92px 18px 306px;
  }

  .hero-copy h1 {
    font-size: clamp(4.2rem, 16vw, 5.7rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .deck-wrap {
    min-height: 430px;
  }

  .story-card {
    width: min(288px, 68vw);
    height: 410px;
    transform: translate3d(calc(var(--i) * 42px), -50%, calc(var(--i) * -60px)) rotateY(-5deg);
  }

  .story-card:hover,
  .story-card.active-card {
    transform: translate3d(calc(var(--i) * 38px), -52%, calc(var(--i) * -40px)) rotateY(-2deg);
  }

  .story-card h2 {
    font-size: 2.2rem;
  }

  .card-content {
    padding: 24px;
  }

  .deck-handle {
    left: min(230px, 60vw);
    min-width: 92px;
    height: 48px;
  }

  .signal-module {
    left: 18px;
    right: 18px;
    bottom: 24px;
    width: auto;
  }

  .tool-section {
    grid-template-columns: 1fr;
  }

  .campaign-header,
  .campaign-board,
  .truth-table,
  .space-dispatch,
  .full-dispatch,
  .scanner-section,
  .receipt-section,
  .animal-voice-section,
  .founder-layout,
  .founder-card,
  .result-grid,
  .engine-grid,
  .receipt-columns,
  .receipt-timeline,
  .voice-proof-grid,
  .view-shift,
  .dispatch-grid,
  .article-glass-card,
  .article-measurements,
  .article-sources {
    grid-template-columns: 1fr;
  }

  .article-shell {
    padding-top: 106px;
  }

  .article-hero {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .article-hero .kicker,
  .article-hero h1,
  .article-dek,
  .article-meta {
    grid-column: 1;
    grid-row: auto;
  }

  .article-hero h1 {
    font-size: clamp(3.1rem, 13vw, 4.9rem);
    line-height: 0.92;
  }

  .animal-voice-copy h2 {
    font-size: clamp(3rem, 12vw, 4.9rem);
    line-height: 0.9;
  }

  .receipt-copy h2 {
    font-size: clamp(3rem, 12vw, 4.8rem);
    line-height: 0.9;
  }

  .receipt-columns article,
  .receipt-timeline div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .receipt-timeline div:last-child {
    border-bottom: 0;
  }

  .article-measurements article {
    min-height: 240px;
  }

  .campaign-header {
    align-items: start;
  }

  .campaign-board {
    margin-top: 38px;
  }

  .campaign-brief {
    min-height: 260px;
  }

  .dispatch-grid a {
    border-right: 0;
  }

  .full-dispatch .secondary-action {
    grid-column: auto;
  }

  .scanner-row,
  .scanner-upload {
    grid-template-columns: 1fr;
  }

  .upload-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .voice-scan-bridge {
    grid-template-columns: 1fr;
  }

  .voice-scan-bridge a {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .animal-stage {
    min-height: 420px;
  }

  .animal-portrait {
    width: 240px;
    right: 20px;
  }

  .speech-bubble {
    left: 20px;
    top: 22px;
    max-width: calc(100% - 40px);
  }

  .email-row {
    flex-direction: column;
  }
}
