:root {
  color-scheme: light dark;
  --bg: #f3f0e8;
  --surface: #e9e3d7;
  --surface-strong: #dcd2c0;
  --text: #151716;
  --muted: #60615c;
  --line: rgba(21, 23, 22, 0.14);
  --accent: #b87b31;
  --accent-strong: #8f581f;
  --button-text: #f8f2e7;
  --shadow: rgba(47, 36, 23, 0.16);
  --radius: 18px;
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141716;
    --surface: #1f2422;
    --surface-strong: #2b312e;
    --text: #f2eee5;
    --muted: #b9b0a4;
    --line: rgba(242, 238, 229, 0.14);
    --accent: #d5a24c;
    --accent-strong: #e0b466;
    --button-text: #17140f;
    --shadow: rgba(7, 8, 8, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 74% 0%, rgba(213, 162, 76, 0.14), transparent 32rem),
    linear-gradient(180deg, var(--bg), var(--bg));
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image: linear-gradient(rgba(128, 128, 128, 0.08) 1px, transparent 1px);
  background-size: 100% 7px;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 3.7vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.16rem, 1.55vw, 1.48rem);
  line-height: 1.24;
  letter-spacing: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--button-text);
  background: var(--accent);
  box-shadow: 0 12px 24px var(--shadow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.section-shell,
.proof-strip,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: min(690px, calc(100dvh - 118px));
  padding: 34px 0 38px;
}

.hero-copy,
.hero-media,
.solution-copy,
.apply-copy,
.plan-copy,
.form-shell {
  min-width: 0;
}

.kicker {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 780;
}

.hero-lede {
  max-width: 34rem;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.hero-lede span {
  display: block;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 780;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.primary {
  color: var(--button-text);
  background: var(--accent);
}

.secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(127, 127, 127, 0.07);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 80px var(--shadow);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 23, 22, 0.14), transparent 38%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-strip p {
  margin: 0;
  padding: 22px 24px;
  color: var(--text);
  background: var(--surface);
  font-weight: 760;
}

.pain,
.solution,
.audience,
.samples,
.process,
.founder-plan,
.apply {
  padding: clamp(70px, 9vw, 120px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 760px;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
}

.pain-grid article {
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pain-grid strong,
.layer-stack strong,
.process-rail strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.1rem;
}

.pain-grid span,
.layer-stack span,
.process-rail span {
  color: var(--muted);
  line-height: 1.65;
}

.solution {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.solution-copy {
  position: sticky;
  top: 108px;
}

.layer-stack {
  display: grid;
  gap: 14px;
}

.layer-stack article {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.8fr;
  gap: 16px;
}

.audience-tile {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.audience-tile.large {
  grid-row: span 2;
  min-height: 516px;
  background:
    linear-gradient(180deg, rgba(213, 162, 76, 0.18), transparent 58%),
    var(--surface);
}

.audience-tile.wide {
  grid-column: span 2;
}

.audience-tile.accent {
  color: var(--button-text);
  background: var(--accent);
}

.audience-tile.accent p,
.audience-tile.accent span {
  color: color-mix(in srgb, var(--button-text), transparent 13%);
}

.audience-tile span,
.sample-card > span,
.plan-price span {
  display: block;
  margin-bottom: 24px;
  color: var(--accent-strong);
  font-weight: 820;
}

.sample-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.12fr 0.94fr;
  gap: 16px;
  align-items: stretch;
}

.sample-card {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.sample-card.featured {
  background:
    linear-gradient(180deg, rgba(213, 162, 76, 0.2), transparent 56%),
    var(--surface);
  box-shadow: 0 22px 70px var(--shadow);
}

.sample-card p {
  margin-bottom: 14px;
}

.sample-card strong {
  color: var(--text);
}

.capability-list,
.include-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px;
}

.capability-list span,
.include-grid span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(127, 127, 127, 0.07);
  font-size: 0.92rem;
  line-height: 1.35;
}

.result-copy {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 720;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-rail article {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
}

.founder-plan {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(420px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.plan-panel {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(213, 162, 76, 0.18), transparent 54%),
    var(--surface);
}

.plan-price strong {
  display: block;
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 1;
}

.plan-includes {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.apply {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.88fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.prep-card,
.lead-form,
.success-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.prep-card {
  margin-top: 28px;
  padding: 24px;
}

.prep-card li,
.success-panel li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.prep-card li::before,
.success-panel li::before {
  position: absolute;
  top: 0.86em;
  left: 0;
  width: 10px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.lead-form,
.success-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.field-group {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

label,
legend {
  color: var(--text);
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong), transparent 24%);
  font: inherit;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--muted), transparent 12%);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent), transparent 72%);
}

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

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(127, 127, 127, 0.07);
  color: var(--text);
  font-weight: 650;
}

.choice-grid input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 52px;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(127, 127, 127, 0.08);
}

.form-status.success {
  color: var(--text);
  background: color-mix(in srgb, var(--accent), transparent 76%);
}

.form-status.error {
  color: var(--text);
  background: color-mix(in srgb, #7f3128, transparent 74%);
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.diagnosis-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(127, 127, 127, 0.08);
}

.diagnosis-card p {
  margin-bottom: 0;
}

.sync-note {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 700;
}

.success-panel[hidden] {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 1020px) {
  .hero,
  .solution,
  .founder-plan,
  .apply {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .solution-copy {
    position: static;
  }

  .pain-grid,
  .audience-grid,
  .sample-grid,
  .process-rail {
    grid-template-columns: 1fr;
  }

  .process-rail {
    gap: 1px;
  }

  .audience-tile,
  .audience-tile.large,
  .sample-card,
  .process-rail article {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

  .audience-tile.wide {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section-shell,
  .proof-strip,
  .site-footer {
    width: min(var(--max), calc(100% - 28px));
  }

  .site-nav {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 12vw, 3.8rem);
  }

  h1 span {
    display: block;
  }

  h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-lede {
    font-size: 1.01rem;
  }

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

  .button {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 280px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip p {
    padding: 18px;
  }

  .pain,
  .solution,
  .audience,
  .samples,
  .process,
  .founder-plan,
  .apply {
    padding: 58px 0;
  }

  .layer-stack article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .choice-grid,
  .include-grid {
    grid-template-columns: 1fr;
  }

  .lead-form,
  .success-panel,
  .prep-card {
    padding: 22px;
  }

  .site-footer {
    display: grid;
  }
}
