:root {
  --bg: #fbf8f2;
  --paper: #ffffff;
  --paper-soft: #f5efe6;
  --ink: #101826;
  --muted: #5e6675;
  --muted-soft: #8b93a2;
  --line: rgba(16, 24, 38, 0.09);
  --line-strong: rgba(16, 24, 38, 0.16);
  --gold: #c98a18;
  --gold-soft: #f7dfad;
  --navy: #121a2b;
  --blush: #f6e9dc;
  --mint: #dfece2;
  --shadow: 0 28px 60px rgba(16, 24, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(249, 222, 176, 0.5), transparent 25%),
    radial-gradient(circle at right center, rgba(221, 236, 226, 0.75), transparent 30%),
    linear-gradient(180deg, #fffaf3 0%, #fbf8f2 52%, #f8f4ed 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(16, 24, 38, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-bars {
  display: inline-flex;
  gap: 4px;
}

.brand-bars span {
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: var(--navy);
}

.brand-word {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.site-nav {
  display: inline-flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 600;
}

.button.primary {
  background: linear-gradient(135deg, #d79c2f, #b97814);
  color: #fff;
  box-shadow: 0 18px 30px rgba(184, 120, 20, 0.24);
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 36px;
  align-items: center;
  padding: 48px 0 32px;
}

.eyebrow,
.mini-label {
  margin: 0;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.eyebrow {
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

.mini-label {
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.cta-copy h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(3.4rem, 7.6vw, 6.8rem);
  line-height: 0.9;
}

.hero h1 span {
  display: block;
  color: #8f6230;
}

.hero-text,
.section-heading p,
.market-copy p,
.timeline-card p,
.feature-card p,
.team-card p,
.cta-copy p,
.learn-card-body {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.06rem;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-proof div,
.problem-strip article,
.feature-card,
.market-panel,
.timeline-card,
.team-card,
.cta-section,
.phone,
.learn-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 16px;
  border-radius: 22px;
}

.hero-proof strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.phone {
  position: absolute;
  border-radius: 36px;
  overflow: hidden;
}

.phone-main {
  top: 0;
  left: 0;
  right: 42px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(248, 244, 236, 0.92), rgba(255, 255, 255, 0.86)),
    var(--paper);
}

.phone-side {
  right: 0;
  bottom: 28px;
  width: 220px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(234, 241, 236, 0.96), rgba(255, 255, 255, 0.92)),
    var(--paper);
}

.phone-header,
.match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.phone-chip {
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.match-card,
.insight-panel,
.orbit-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.match-label {
  margin: 0 0 6px;
  color: var(--muted-soft);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.match-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.match-percent {
  font-size: 2rem;
  font-weight: 700;
  color: #9c6a12;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill-row span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 0.84rem;
}

.match-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.insight-panel ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.orbit-wheel {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 14px auto 18px;
  border-radius: 50%;
  border: 14px solid var(--navy);
  background:
    linear-gradient(90deg, transparent 49%, rgba(16, 24, 38, 0.12) 50%, transparent 51%),
    linear-gradient(180deg, transparent 49%, rgba(16, 24, 38, 0.12) 50%, transparent 51%),
    #fff;
}

.planet {
  position: absolute;
  font-size: 1.15rem;
  color: var(--ink);
}

.p1 {
  top: 10%;
  left: 48%;
}

.p2 {
  top: 48%;
  right: 15%;
}

.p3 {
  left: 18%;
  bottom: 26%;
}

.p4 {
  left: 48%;
  bottom: 10%;
}

.big-three {
  display: grid;
  gap: 10px;
}

.big-three div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.big-three strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.problem-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 24px;
}

.problem-strip article,
.feature-card,
.timeline-card,
.team-card,
.market-panel,
.cta-section,
.learn-card {
  border-radius: 26px;
}

.problem-strip article {
  padding: 22px;
}

.problem-strip h3,
.feature-card h3,
.timeline-card h3,
.team-card h3,
.learn-card h3 {
  margin: 10px 0 10px;
  font-size: 1.18rem;
}

.problem-strip p:last-child,
.feature-card p,
.timeline-card p,
.team-card p {
  margin: 0;
}

.section {
  padding: 56px 0 10px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature-card,
.timeline-card,
.team-card {
  padding: 24px;
}

.feature-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #8d5d0a;
  font-size: 0.84rem;
  font-weight: 700;
}

.market-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  padding: 26px;
}

.market-copy {
  display: grid;
  gap: 12px;
}

.market-copy p {
  margin: 0;
}

.market-math {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.98), rgba(26, 35, 57, 0.95));
  color: #fff;
}

.math-line,
.math-result {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.math-result {
  border-bottom: 0;
  padding-bottom: 0;
}

.math-line strong,
.math-result strong {
  font-size: 1.1rem;
}

.timeline,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 28px;
  background:
    radial-gradient(circle at right top, rgba(247, 223, 173, 0.48), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 239, 229, 0.94));
}

.cta-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.98;
  margin-top: 12px;
}

.cta-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.cta-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  padding: 14px 16px;
}

.cta-form textarea {
  resize: vertical;
  min-height: 112px;
}

.form-note {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.submit-button {
  width: 100%;
}

.success-note {
  color: #276749;
}

@media (max-width: 1080px) {
  .hero,
  .market-panel,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 720px;
  }

  .phone-main {
    right: 70px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 24px, 100%);
  }

  .site-header {
    padding: 14px 16px;
    border-radius: 24px;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .hero-proof,
  .problem-strip,
  .feature-grid,
  .timeline,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 30px;
    gap: 24px;
  }

  .hero-visual {
    min-height: 680px;
  }

  .phone-main {
    position: relative;
    right: auto;
  }

  .phone-side {
    width: 200px;
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 16px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .hero-visual {
    min-height: 620px;
  }

  .phone-main {
    padding: 20px;
  }

  .phone-side {
    width: 180px;
    padding: 16px;
  }

  .orbit-wheel {
    width: 130px;
    height: 130px;
  }

  .cta-section,
  .market-panel,
  .feature-card,
  .timeline-card,
  .team-card,
  .problem-strip article {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thank-you-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thank-you-card {
  width: min(720px, 100%);
  padding: 40px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.thank-you-card h1 {
  margin: 14px 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.thank-you-card .hero-text {
  margin-bottom: 24px;
}
