/* The generated pages (Who it's for, Compare, Waitlist). Loaded after
 * home.css, so it reuses its tokens, nav, buttons and cards. */

.nav-cta { text-decoration: none; }
.narrow { max-width: 860px; }

.page-hero { padding: 72px 0 40px; background: linear-gradient(180deg, var(--lav) 0%, var(--paper) 100%); }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 62px); margin: 14px 0 18px; }
.page-hero h1 em { font-style: normal; color: var(--blue); }
.page-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-ctas .btn { text-decoration: none; }

.page-section { padding: 56px 0; }
.page-section.tint { background: var(--white); border-top: 1.5px solid rgba(19,23,26,.08); border-bottom: 1.5px solid rgba(19,23,26,.08); }
.page-h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 24px; }

.pains { list-style: none; display: grid; gap: 12px; }
.pains li {
  position: relative; padding: 16px 18px 16px 52px; border-radius: 16px;
  background: var(--white); border: 2px solid rgba(19,23,26,.12);
  font-size: 18px; font-weight: 700; color: var(--ink-2);
}
.pains li::before {
  content: ''; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; background: var(--yellow-soft); border: 2px solid var(--yellow);
}

.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.help, .versus .card { padding: 26px 28px 28px; }
.help h3 { font-size: 22px; margin-bottom: 8px; }
.help p { color: var(--ink-2); font-weight: 600; }


.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.link-grid a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 16px; background: var(--white); border: 2px solid rgba(19,23,26,.14);
  color: var(--ink); font-weight: 800; text-decoration: none;
}
.link-grid a:hover { border-color: var(--blue); color: var(--blue); }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.versus h3 { font-size: 22px; margin-bottom: 12px; }
.versus ul { padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-weight: 600; }
.card-yap { background: var(--green-soft); }

.table-wrap { overflow-x: auto; border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-sm); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1.5px solid rgba(19,23,26,.1); font-size: 15px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare thead th:last-child { color: var(--green); }
.compare tbody th { font-weight: 900; width: 28%; }
.compare td { color: var(--ink-2); font-weight: 600; }
.compare td:last-child { color: var(--ink); font-weight: 800; background: rgba(8,176,42,.06); }
.fineprint { margin-top: 12px; font-size: 13px; color: var(--muted); font-weight: 600; }

.cta-band { background: var(--ink); color: var(--white); padding: 72px 0; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 760px; margin: 0 auto 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 26px; color: rgba(255,255,255,.75); font-weight: 600; }
.cta-band .btn { text-decoration: none; display: inline-flex; }

/* Waitlist form */
.waitlist { display: grid; gap: 26px; padding: 28px; }
.field { display: grid; gap: 10px; border: 0; min-width: 0; }
.field-label { font-weight: 900; font-size: 17px; padding: 0; }
.field-label small { font-weight: 700; color: var(--muted); }
.waitlist input[type=email], .waitlist input[type=text], .waitlist textarea {
  width: 100%; font: 600 16px var(--font); color: var(--ink); padding: 13px 15px;
  border: 2.5px solid var(--ink); border-radius: 14px; background: var(--white);
}
.waitlist textarea { resize: vertical; margin-top: 4px; }
.waitlist input:focus-visible, .waitlist textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-input { position: relative; cursor: pointer; }
.chip-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-input span {
  display: inline-block; padding: 9px 15px; border-radius: 999px; border: 2px solid rgba(19,23,26,.25);
  background: var(--white); font-weight: 800; font-size: 15px; transition: background .12s, border-color .12s;
}
.chip-input input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip-input input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.other-input { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.waitlist button { justify-self: start; cursor: pointer; font-family: var(--font); }
.waitlist button[disabled] { opacity: .6; cursor: wait; }
.form-status { font-weight: 800; min-height: 1.5em; }
.form-status.err { color: var(--red); }
.waitlist.done { text-align: center; padding: 48px 28px; }
.waitlist.done h2 { font-size: 30px; margin-bottom: 10px; }
.waitlist.done p { color: var(--ink-2); font-weight: 600; }

@media (max-width: 800px) {
  .help-grid, .versus { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .page-hero { padding: 48px 0 28px; }
  .link-grid { grid-template-columns: 1fr; }
  .waitlist { padding: 20px; }
  .page-ctas .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .chip-input span { transition: none; } }
