:root {
  --bg: #f5f5ef;
  --paper: #ffffff;
  --ink: #171817;
  --muted: #5f645f;
  --soft: #d9ddd4;
  --line: #d8ddd2;
  --dark: #151516;
  --dark-soft: #232523;
  --accent: #86ff1d;
  --accent-ink: #112006;
  --danger: #a33622;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(23, 24, 23, 0.13);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

button,
input,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 24, 23, 0.08);
  background: rgba(245, 245, 239, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 820;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--dark);
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 3vw, 26px);
  color: var(--muted);
  font-size: 14px;
}

.topbar nav a {
  text-decoration: none;
  white-space: nowrap;
}

.hero,
.problem-section,
.solution-section,
.kit-section,
.proof-section,
.objection-section,
.fit-section,
.price-section {
  max-width: 1440px;
  margin: 0 auto;
  padding-right: clamp(18px, 4vw, 56px);
  padding-left: clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100dvh - 66px);
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(40px, 7vw, 94px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background 150ms var(--ease-out), color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.button:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-1px);
  }
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(23, 24, 23, 0.24);
  outline-offset: 3px;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

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

.button.full {
  width: 100%;
}

.hero-media {
  position: relative;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: min(62vw, 650px);
  min-height: 430px;
  object-fit: cover;
}

.problem-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  padding-top: clamp(68px, 9vw, 132px);
  padding-bottom: clamp(56px, 8vw, 112px);
}

.section-copy {
  max-width: 760px;
}

.section-copy.narrow {
  max-width: 690px;
}

.section-copy h2,
.solution-card h2,
.proof-heading h2,
.objection-section h2,
.fit-section h2,
.price-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-copy p,
.solution-card p,
.proof-heading p,
.objection-copy p,
.price-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
}

.problem-panel {
  display: grid;
  gap: 12px;
}

.problem-panel article {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.problem-panel h3,
.decision-stack h3,
.tile h3,
.proof-card h3 {
  margin: 0;
  font-size: clamp(21px, 2.3vw, 34px);
  line-height: 1.05;
  letter-spacing: 0;
}

.problem-panel p,
.tile p,
.proof-card p,
.fit-section li,
.panel-copy,
.legal {
  color: var(--muted);
}

.solution-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
  padding-top: clamp(66px, 9vw, 126px);
  padding-bottom: clamp(70px, 9vw, 132px);
  background: var(--dark);
  color: #f8f8f3;
  max-width: none;
}

.solution-section > * {
  max-width: 1440px;
}

.solution-card {
  justify-self: end;
  max-width: 600px;
}

.solution-card p {
  color: #c8cbc4;
}

.decision-stack {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  overflow: hidden;
}

.decision-stack article {
  padding: clamp(20px, 3vw, 30px);
  background: var(--dark-soft);
}

.decision-stack span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 820;
}

.kit-section {
  padding-top: clamp(72px, 10vw, 140px);
  padding-bottom: clamp(72px, 10vw, 140px);
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 58px);
}

.tile {
  min-height: 218px;
  grid-column: span 2;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.tile-main {
  grid-column: span 3;
  min-height: 280px;
  background: var(--accent);
  color: var(--accent-ink);
}

.tile-main p {
  color: rgba(17, 32, 6, 0.78);
}

.tile-image {
  grid-column: span 3;
  padding: 0;
  overflow: hidden;
  background: var(--dark);
}

.tile-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.tile-dark {
  background: var(--dark);
  color: #f8f8f3;
}

.tile-dark p {
  color: #c8cbc4;
}

.tile p {
  margin: 14px 0 0;
  font-size: 16px;
}

.proof-section {
  padding-top: clamp(72px, 10vw, 140px);
  padding-bottom: clamp(72px, 10vw, 140px);
  border-top: 1px solid var(--line);
}

.proof-heading {
  max-width: 820px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 56px);
}

.proof-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.proof-card a,
.download-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 20px;
  color: var(--ink);
  font-weight: 820;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

.objection-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: start;
  padding-top: clamp(68px, 9vw, 128px);
  padding-bottom: clamp(68px, 9vw, 128px);
  background: #ebece4;
  max-width: none;
}

.objection-section h2 {
  justify-self: end;
  max-width: 620px;
}

.objection-copy {
  max-width: 620px;
}

.fit-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: clamp(68px, 9vw, 128px);
  padding-bottom: clamp(68px, 9vw, 128px);
}

.fit-section > div {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.fit-section ul {
  display: grid;
  gap: 12px;
  padding-left: 1.2rem;
  margin: 24px 0 0;
}

.price-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.56fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
  padding-top: clamp(70px, 9vw, 136px);
  padding-bottom: clamp(70px, 9vw, 136px);
}

.signup-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #30332f;
  border-radius: 24px;
  background: var(--dark);
  color: #f8f8f3;
  box-shadow: var(--shadow);
}

.price {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: clamp(70px, 9vw, 118px);
  font-weight: 920;
  line-height: 0.9;
}

.panel-copy {
  color: #c8cbc4;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
  color: #f8f8f3;
  font-size: 14px;
  font-weight: 760;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(248, 248, 243, 0.2);
  border-radius: 14px;
  padding: 12px 14px;
  background: #f8f8f3;
  color: var(--ink);
}

.field input::placeholder {
  color: #686c66;
  opacity: 1;
}

.signup-panel .button.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #c8cbc4;
  font-size: 14px;
}

.form-status.success {
  color: var(--accent);
  font-weight: 820;
}

.form-status.error {
  color: #ff9b87;
  font-weight: 820;
}

.legal {
  margin: 18px 0 0;
  color: #c8cbc4;
  font-size: 13px;
}

.signup-panel .download-link {
  color: #f8f8f3;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer span {
  color: var(--ink);
  font-weight: 820;
}

footer p {
  margin: 0;
}

.sample-page {
  min-height: 100vh;
}

.sample-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.prompt-sheet {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.prompt-sheet h1 {
  margin: 24px 0 16px;
  max-width: 760px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.prompt-sheet > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.prompt-box {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--dark);
  color: #f8f8f3;
}

.prompt-box p {
  margin: 0;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  color: var(--ink);
  font-weight: 820;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .tile,
  .proof-card,
  .problem-panel article {
    transition: transform 150ms var(--ease-out), box-shadow 150ms var(--ease-out), border-color 150ms var(--ease-out);
  }

  @media (hover: hover) and (pointer: fine) {
    .tile:hover,
    .proof-card:hover,
    .problem-panel article:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 50px rgba(23, 24, 23, 0.1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1020px) {
  .hero,
  .problem-section,
  .solution-section,
  .objection-section,
  .price-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .solution-card,
  .objection-section h2 {
    justify-self: start;
  }

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

  .tile,
  .tile-main,
  .tile-image {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .topbar nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    border-radius: 22px;
  }

  .hero-media img {
    height: auto;
    min-height: 0;
  }

  .kit-grid,
  .proof-grid,
  .fit-section {
    grid-template-columns: 1fr;
  }

  .tile,
  .proof-card {
    min-height: auto;
  }

  footer {
    flex-direction: column;
  }
}
