:root {
  --ink: #202124;
  --muted: #62696b;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #ded8cd;
  --orange: #ef4b2a;
  --orange-dark: #c93118;
  --yellow: #ffd866;
  --mint: #d8f0df;
  --teal: #1f7f78;
  --blue: #e7f3f5;
  --shadow: 0 18px 48px rgba(34, 29, 21, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  margin: 0;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  align-items: center;
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 14px 32px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.nav-cta {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  border-radius: 8px;
  display: block;
  height: 36px;
  object-fit: cover;
  width: 36px;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: #303437;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-cta {
  background: var(--orange);
  border-radius: 999px;
  color: white;
  font-size: 14px;
  padding: 11px 18px;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 16, 14, 0.72) 0%, rgba(16, 16, 14, 0.54) 42%, rgba(16, 16, 14, 0.12) 100%),
    url("assets/hero-family-table.png") center / cover no-repeat;
  color: white;
  display: flex;
  min-height: 92svh;
  padding: 118px 32px 74px;
  position: relative;
}

.hero-copy {
  max-width: 760px;
  padding-top: 28px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: 64px;
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

h2 {
  font-size: 44px;
  line-height: 1.04;
  margin: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.16;
  margin: 0;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  margin-top: 24px;
  max-width: 700px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  max-width: 620px;
  position: relative;
}

.waitlist-form input {
  background: white;
  border: 1px solid rgba(32, 33, 36, 0.16);
  border-radius: 999px;
  color: var(--ink);
  flex: 1;
  font: inherit;
  min-height: 54px;
  min-width: 0;
  padding: 0 20px;
}

.waitlist-form button {
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 54px;
  padding: 0 24px;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.waitlist-form button:hover {
  background: var(--orange-dark);
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.82;
}

.waitlist-form.is-success button {
  background: var(--teal);
  box-shadow: 0 10px 26px rgba(31, 127, 120, 0.26);
}

.waitlist-form.is-success input {
  border-color: rgba(31, 127, 120, 0.52);
  box-shadow: 0 0 0 4px rgba(31, 127, 120, 0.14);
}

.form-status {
  align-items: center;
  border-radius: 999px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  left: 18px;
  line-height: 1.25;
  max-width: calc(100% - 36px);
  min-height: 30px;
  padding: 7px 12px;
  position: absolute;
  transform: translateY(-2px);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.form-status:empty {
  display: none;
}

.form-status.is-loading {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.form-status.is-success {
  background: var(--teal);
  color: white;
  opacity: 1;
  transform: translateY(0);
}

.form-status.is-error {
  background: #b3261e;
  color: white;
  opacity: 1;
  transform: translateY(0);
}

.final-form .form-status {
  color: var(--muted);
}

.final-form .form-status.is-loading,
.final-form .form-status.is-success,
.final-form .form-status.is-error {
  color: white;
}

.waitlist-toast {
  align-items: center;
  background: white;
  border: 1px solid rgba(32, 33, 36, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(34, 29, 21, 0.22);
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr);
  left: 50%;
  max-width: 460px;
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  position: fixed;
  top: 84px;
  transform: translate(-50%, -14px) scale(0.98);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  width: calc(100% - 32px);
  z-index: 60;
}

.waitlist-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.waitlist-toast-icon {
  align-items: center;
  background: var(--teal);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.waitlist-toast strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
}

.waitlist-toast-copy {
  color: var(--muted);
  display: block;
  font-size: 14px;
  line-height: 1.35;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .waitlist-form button,
  .form-status,
  .waitlist-toast {
    transition: none;
  }
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
}

.hero-proof span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
}

.intro-band {
  background: var(--ink);
  padding: 28px 32px;
}

.intro-band p {
  color: white;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto;
  max-width: 1120px;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 92px 32px;
}

.section[id],
.final-cta[id] {
  scroll-margin-top: 78px;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 850px;
}

.section-heading p,
.narrow p {
  margin-top: 16px;
}

.narrow {
  max-width: 760px;
}

.problem-grid,
.mode-grid,
.proof-cards,
.evidence-grid,
.rewards-grid {
  display: grid;
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-grid article,
.mode-card,
.proof-cards article,
.evidence-grid article,
.reward-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(34, 29, 21, 0.08);
  overflow: hidden;
}

.problem-grid article {
  padding: 26px;
}

.problem-kicker,
.mode-label,
.reward-label {
  color: var(--teal);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.problem-grid p,
.mode-card p {
  margin-top: 12px;
}

.loop-section {
  background: var(--blue);
  max-width: none;
}

.loop-section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.loop-steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 38px auto 0;
  padding: 0;
}

.loop-steps li {
  background: white;
  border: 1px solid rgba(32, 33, 36, 0.08);
  border-radius: var(--radius);
  min-height: 210px;
  padding: 24px;
}

.loop-steps span {
  align-items: center;
  background: var(--orange);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 34px;
}

.loop-steps strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}

.loop-steps p {
  font-size: 16px;
}

.image-band,
.trust-section,
.proof-pair,
.paper-section,
.founder-section,
.final-cta {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 92px 32px;
}

.image-band img,
.trust-section img,
.paper-section img,
.founder-section img,
.wide-proof,
.proof-cards img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-band p,
.trust-copy p,
.proof-pair p,
.paper-section p,
.founder-copy p,
.final-cta p {
  margin-top: 16px;
}

.make-section {
  background: var(--mint);
  max-width: none;
}

.make-section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.mode-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mode-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.mode-card div {
  padding: 24px;
}

.wide-proof {
  margin-top: 30px;
  width: 100%;
}

.trust-section {
  background: #fffaf2;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  max-width: none;
  text-align: center;
}

.trust-section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

.trust-section .check-list {
  max-width: 720px;
  text-align: left;
}

.trust-section img {
  justify-self: center;
  max-width: 760px;
  width: 100%;
}

.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.check-list li {
  color: #34383a;
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 12px;
  padding-left: 32px;
  position: relative;
}

.check-list li::before {
  background: var(--teal);
  border-radius: 50%;
  color: white;
  content: "✓";
  font-size: 13px;
  font-weight: 900;
  height: 22px;
  left: 0;
  line-height: 22px;
  position: absolute;
  text-align: center;
  top: 1px;
  width: 22px;
}

.proof-pair {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.proof-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-cards.specs-proof {
  grid-template-columns: minmax(0, 1fr);
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

.proof-cards article {
  padding: 14px;
}

.proof-cards.specs-proof article {
  padding: 10px;
}

.proof-cards.specs-proof img {
  display: block;
  width: 100%;
}

.proof-cards h3 {
  font-size: 18px;
  padding: 16px 6px 4px;
}

.readiness-section .proof-cards {
  margin-top: 34px;
}

.evidence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.evidence-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.evidence-grid img.evidence-exploded {
  aspect-ratio: 4 / 3;
  background: white;
  object-fit: contain;
  object-position: center;
  padding: 22px 34px;
}

.evidence-grid div {
  padding: 22px;
}

.evidence-grid h3 {
  font-size: 20px;
}

.rewards-section {
  background: #fffaf2;
  max-width: none;
}

.rewards-section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.rewards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reward-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.reward-card div {
  padding: 22px;
}

.reward-card h3 {
  font-size: 20px;
}

.reward-card p:not(.reward-label) {
  font-size: 15px;
  margin-top: 12px;
}

.paper-section {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.founder-section {
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
}

.founder-section img {
  justify-self: end;
  width: min(100%, 520px);
}

.campaign-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.campaign-facts span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 13px;
}

.final-cta {
  background: var(--ink);
  color: white;
  max-width: none;
}

.final-cta > * {
  max-width: 620px;
}

.final-cta h2,
.final-cta p {
  color: white;
}

.site-footer {
  align-items: center;
  background: #151617;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 24px 32px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .problem-grid,
  .mode-grid,
  .loop-steps,
  .proof-cards,
  .evidence-grid,
  .rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-band,
  .trust-section,
  .proof-pair,
  .paper-section,
  .founder-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .trust-section > *,
  .founder-section > *,
  .final-cta > * {
    max-width: none;
  }

  .founder-section img {
    justify-self: start;
    width: min(100%, 480px);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-cta {
    padding: 10px 14px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(15, 15, 13, 0.76) 0%, rgba(15, 15, 13, 0.56) 58%, rgba(15, 15, 13, 0.4) 100%),
      url("assets/hero-family-table.png") center / cover no-repeat;
    min-height: 94svh;
    padding: 104px 18px 54px;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 20px;
  }

  p,
  .hero-lede {
    font-size: 17px;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .form-status {
    bottom: -52px;
    left: 0;
    max-width: 100%;
  }

  .hero-proof {
    margin-top: 58px;
  }

  .waitlist-toast {
    top: 72px;
  }

  .section,
  .image-band,
  .trust-section,
  .proof-pair,
  .paper-section,
  .founder-section,
  .final-cta {
    padding: 68px 18px;
  }

  .intro-band {
    padding: 24px 18px;
  }

  .intro-band p {
    font-size: 20px;
  }

  .problem-grid,
  .mode-grid,
  .loop-steps,
  .proof-cards,
  .evidence-grid,
  .rewards-grid {
    grid-template-columns: 1fr;
  }

  .loop-steps li {
    min-height: auto;
  }

  .reward-card div,
  .evidence-grid div {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 22px 18px;
  }
}
