:root {
  --ink: #161616;
  --coal: #24211e;
  --paper: #f5efe3;
  --mist: #e7ded0;
  --clay: #b95d37;
  --acid: #c7ef4f;
  --teal: #2f8f91;
  --line: rgba(22, 22, 22, 0.18);
  --shadow: 0 28px 70px rgba(22, 22, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Candara, "Aptos", "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(22, 22, 22, 0.045) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(0deg, rgba(22, 22, 22, 0.035) 1px, transparent 1px) 0 0 / 36px 36px,
    radial-gradient(circle at 82% 8%, rgba(199, 239, 79, 0.32), transparent 24rem),
    var(--paper);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 52px;
}

.narrow-shell {
  width: min(740px, calc(100% - 32px));
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 38px;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}

.hero-copy {
  padding: 56px 0;
}

.kicker,
.offer-label {
  margin: 0 0 14px;
  color: var(--clay);
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Constantia, Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: 0.88;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1;
}

.lede {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(22, 22, 22, 0.74);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions,
.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.signal-row {
  margin-top: 18px;
}

.hero-actions a,
.solid-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  font-family: Bahnschrift, Candara, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.hero-actions a:nth-child(2) {
  background: transparent;
  color: var(--ink);
}

.signal-row span {
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.36);
  padding: 9px 12px;
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.product-figure {
  margin: 0;
  transform: rotate(1.5deg);
}

.product-figure img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px 0;
}

.offer {
  display: grid;
  align-content: space-between;
  gap: 24px;
  min-height: 460px;
  padding: 26px;
  border: 2px solid var(--ink);
  background: rgba(245, 239, 227, 0.82);
}

.primary-offer {
  background: var(--coal);
  color: var(--paper);
}

.offer p {
  margin: 15px 0 0;
  color: rgba(22, 22, 22, 0.72);
  font-size: 1.02rem;
  line-height: 1.55;
}

.primary-offer p {
  color: rgba(245, 239, 227, 0.77);
}

.offer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid currentColor;
}

.offer li {
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
}

.offer button {
  width: 100%;
  min-height: 52px;
  border: 2px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  cursor: pointer;
  font-family: Bahnschrift, Candara, sans-serif;
  font-weight: 800;
}

.primary-offer button {
  border-color: var(--paper);
}

.offer button:hover,
.offer button:focus-visible,
.solid-link:hover,
.solid-link:focus-visible,
.hero-actions a:hover,
.hero-actions a:focus-visible {
  background: var(--teal);
  color: white;
  outline: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 28px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.28);
}

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

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.trust-strip span {
  color: rgba(22, 22, 22, 0.72);
  line-height: 1.45;
}

.trust-strip a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.decision-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.decision-band div {
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.32);
  padding: 24px;
}

.decision-band div:first-child {
  background: rgba(199, 239, 79, 0.22);
}

.decision-band p,
.value-grid p,
.assurance-band p,
.assurance-band li {
  margin: 14px 0 0;
  color: rgba(22, 22, 22, 0.74);
  font-size: 1rem;
  line-height: 1.55;
}

.assurance-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 26px;
  border: 2px solid var(--ink);
  background: rgba(199, 239, 79, 0.18);
  box-shadow: 8px 8px 0 rgba(22, 22, 22, 0.12);
}

.assurance-band ul {
  margin: 0;
}

.value-floor {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
  padding: 26px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.34);
}

.value-floor p {
  margin: 14px 0 0;
  color: rgba(22, 22, 22, 0.74);
  font-size: 1rem;
  line-height: 1.55;
}

.value-floor ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: floor;
}

.value-floor li {
  display: grid;
  grid-template-columns: 42px minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(245, 239, 227, 0.72);
}

.value-floor li::before {
  counter-increment: floor;
  content: counter(floor);
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  font-family: Bahnschrift, Candara, sans-serif;
  font-weight: 800;
}

.value-floor strong {
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.value-floor span {
  color: rgba(22, 22, 22, 0.74);
  line-height: 1.45;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 28px;
  border: 2px solid var(--ink);
  background: var(--coal);
  color: var(--paper);
}

.value-grid div {
  padding: 24px;
  border-right: 1px solid rgba(245, 239, 227, 0.28);
}

.value-grid div:last-child {
  border-right: 0;
}

.value-grid p {
  color: rgba(245, 239, 227, 0.75);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.proof-band div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band p,
.thanks-panel p,
.sample-band p {
  margin: 14px 0 0;
  color: rgba(22, 22, 22, 0.74);
  font-size: 1rem;
  line-height: 1.55;
}

.sample-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px 0 0;
}

.sample-band p {
  max-width: 620px;
}

.thanks-panel {
  margin-top: 12vh;
  padding: 38px;
  border: 2px solid var(--ink);
  background: rgba(245, 239, 227, 0.9);
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 800;
}

.ghost-link {
  background: transparent;
  color: var(--ink);
}

.next-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 22px;
}

.next-steps li {
  color: rgba(22, 22, 22, 0.76);
  line-height: 1.55;
}

.document-shell {
  width: min(920px, calc(100% - 32px));
}

.doc-panel {
  padding: 36px;
  border: 2px solid var(--ink);
  background: rgba(245, 239, 227, 0.92);
  box-shadow: var(--shadow);
}

.doc-panel section {
  margin-top: 30px;
}

.doc-panel p,
.doc-panel li {
  color: rgba(22, 22, 22, 0.76);
  font-size: 1rem;
  line-height: 1.6;
}

.doc-panel ol,
.plain-list {
  padding-left: 22px;
}

.doc-panel form button {
  min-height: 52px;
  border: 2px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  padding: 12px 18px;
  cursor: pointer;
  font-family: Bahnschrift, Candara, sans-serif;
  font-weight: 800;
}

.doc-panel form button:hover,
.doc-panel form button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 5px 5px 0 var(--ink);
  outline: none;
}

.purchase-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 34px;
  padding: 26px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.purchase-copy {
  display: grid;
  align-content: center;
}

.purchase-copy h2 {
  max-width: 480px;
}

.purchase-options {
  display: grid;
  gap: 0;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.28);
}

.purchase-options form {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.purchase-options form:first-child {
  background: rgba(199, 239, 79, 0.22);
  border-bottom: 2px solid var(--ink);
}

.purchase-options span,
.proof-value-strip span {
  color: rgba(22, 22, 22, 0.74);
  line-height: 1.45;
}

.proof-value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border-bottom: 2px solid var(--ink);
}

.proof-value-strip div {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.proof-value-strip div:last-child {
  border-right: 0;
}

.proof-value-strip strong {
  font-family: Bahnschrift, Candara, sans-serif;
  text-transform: uppercase;
}

.price-sanity {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.3);
}

.price-sanity div {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.price-sanity div:last-child {
  border-right: 0;
}

.price-sanity span {
  color: var(--clay);
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-sanity strong {
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.price-sanity p {
  margin: 0;
  color: rgba(22, 22, 22, 0.74);
  line-height: 1.45;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.24);
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

code {
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

th {
  font-family: Bahnschrift, Candara, sans-serif;
  text-transform: uppercase;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.top-nav a {
  min-height: 40px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.32);
  padding: 10px 12px;
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

.tool-shell {
  padding-top: 24px;
}

.tool-hero {
  max-width: 900px;
  padding: 18px 0 34px;
  border-bottom: 2px solid var(--ink);
}

.tool-hero h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 20px;
  align-items: start;
  padding-top: 26px;
}

.check-panel,
.result-panel {
  border: 2px solid var(--ink);
  background: rgba(245, 239, 227, 0.92);
  box-shadow: var(--shadow);
}

.check-panel {
  display: grid;
}

.check-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-bottom: 2px solid var(--ink);
  background: var(--coal);
  color: var(--paper);
}

.check-heading span {
  font-family: Bahnschrift, Candara, sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.check-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 82px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.check-item:last-child {
  border-bottom: 0;
}

.check-item:hover,
.check-item:has(input:focus-visible) {
  background: rgba(199, 239, 79, 0.16);
}

.check-item input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.check-item strong,
.check-item small {
  display: block;
}

.check-item strong {
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 0.94rem;
  text-transform: uppercase;
}

.check-item small {
  margin-top: 6px;
  color: rgba(22, 22, 22, 0.72);
  font-size: 0.96rem;
  line-height: 1.45;
}

.result-panel {
  position: sticky;
  top: 18px;
  padding: 24px;
}

.score-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 12px;
}

.score-row strong {
  font-family: Constantia, Georgia, serif;
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 0.82;
}

.score-row span {
  color: rgba(22, 22, 22, 0.62);
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.meter {
  height: 14px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.36);
  overflow: hidden;
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--acid), var(--clay));
  transition: width 180ms ease;
}

.result-panel h2 {
  margin-top: 24px;
}

.result-panel p {
  color: rgba(22, 22, 22, 0.74);
  line-height: 1.55;
}

.next-action {
  display: grid;
  gap: 10px;
  margin: 20px 0 18px;
  padding: 16px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.next-action .offer-label {
  margin-bottom: 0;
}

.next-action strong {
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.next-action p {
  margin: 0;
}

.next-action ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.next-action li {
  padding-left: 18px;
  color: rgba(22, 22, 22, 0.74);
  font-size: 0.95rem;
  line-height: 1.45;
  position: relative;
}

.next-action li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--teal);
}

.next-action[data-fit="critical"],
.next-action[data-fit="high"] {
  border-top-color: var(--clay);
}

.next-action[data-fit="critical"] li::before,
.next-action[data-fit="high"] li::before {
  background: var(--clay);
}

.payback-gate {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.32);
}

.payback-gate .offer-label {
  margin: 0;
}

.payback-gate label {
  display: grid;
  gap: 6px;
  color: rgba(22, 22, 22, 0.74);
  font-family: Bahnschrift, Candara, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.payback-gate input {
  width: 100%;
  min-height: 42px;
  border: 2px solid var(--ink);
  background: rgba(245, 239, 227, 0.92);
  color: var(--ink);
  padding: 8px 10px;
  font: inherit;
}

.payback-gate p {
  margin: 0;
}

.payback-gate strong {
  display: inline-block;
  color: var(--ink);
  font-family: Bahnschrift, Candara, sans-serif;
}

.priority-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.priority-list:empty {
  display: none;
}

.priority-list p {
  margin: 0;
  border-left: 4px solid var(--clay);
  background: rgba(255, 255, 255, 0.34);
  padding: 10px 12px;
}

.copy-button,
.result-panel form button {
  width: 100%;
  min-height: 50px;
  border: 2px solid var(--ink);
  cursor: pointer;
  font-family: Bahnschrift, Candara, sans-serif;
  font-weight: 800;
}

.copy-button {
  background: transparent;
  color: var(--ink);
}

.result-panel form {
  margin-top: 12px;
}

.result-panel form button {
  background: var(--acid);
  color: var(--ink);
}

.result-panel form[data-fit="low"] button {
  background: transparent;
}

.result-panel form[data-fit="critical"] button,
.result-panel form[data-fit="high"] button {
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--ink);
}

.paid-fit-note {
  margin: 12px 0 0;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.34);
  padding: 10px 12px;
  color: rgba(22, 22, 22, 0.74);
  font-size: 0.94rem;
  line-height: 1.45;
}

.copy-button:hover,
.copy-button:focus-visible,
.result-panel form button:hover,
.result-panel form button:focus-visible {
  background: var(--teal);
  color: white;
  outline: none;
}

@media (max-width: 820px) {
  .page-shell {
    width: calc(100vw - 56px);
    max-width: 360px;
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 12vw, 3.05rem);
    line-height: 0.94;
    overflow-wrap: break-word;
  }

  .lede {
    max-width: 100%;
    font-size: 1.02rem;
    overflow-wrap: break-word;
  }

  .hero-copy {
    padding: 38px 0 12px;
  }

  .product-figure {
    width: 100%;
    min-width: 0;
    transform: none;
  }

  .product-figure img {
    width: 100%;
    max-width: 100%;
    min-height: 260px;
    object-fit: contain;
  }

  .hero-actions a,
  .solid-link,
  .signal-row span,
  .top-nav a {
    width: 100%;
    text-align: center;
  }

  .offer-grid,
  .proof-band,
  .decision-band,
  .assurance-band,
  .value-floor,
  .value-grid,
  .trust-strip,
  .check-layout {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .offer {
    min-width: 0;
    min-height: 0;
  }

  .proof-band div,
  .value-grid div,
  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-band div:last-child,
  .value-grid div:last-child,
  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .sample-band {
    display: grid;
  }

  .value-floor li {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .value-floor span {
    grid-column: 2;
  }

  .doc-panel {
    padding: 22px;
  }

  .purchase-band,
  .proof-value-strip,
  .price-sanity {
    grid-template-columns: 1fr;
  }

  .proof-value-strip div,
  .price-sanity div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-value-strip div:last-child,
  .price-sanity div:last-child {
    border-bottom: 0;
  }

  .stack-table,
  .stack-table thead,
  .stack-table tbody,
  .stack-table tr,
  .stack-table td {
    display: block;
    width: 100%;
  }

  .stack-table thead {
    display: none;
  }

  .stack-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.24);
  }

  .stack-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .stack-table td:last-child {
    border-bottom: 0;
  }

  .stack-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--clay);
    font-family: Bahnschrift, Candara, sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .tool-hero h1 {
    font-size: clamp(2.18rem, 10vw, 2.8rem);
    line-height: 0.95;
    overflow-wrap: anywhere;
  }

  .tool-shell {
    width: min(320px, calc(100vw - 48px));
    max-width: 320px;
  }

  .tool-shell .lede,
  .check-item small {
    overflow-wrap: anywhere;
  }

  .result-panel {
    position: static;
  }

  .check-heading span {
    font-size: 0.78rem;
  }

  .check-heading,
  .check-item,
  .result-panel {
    padding: 18px;
  }
}
