:root {
  color-scheme: light;
  --paper: #f7f1e8;
  --paper-2: #fffaf2;
  --paper-3: #efe3d5;
  --ink: #241f1a;
  --muted: #6f655b;
  --line: #dfd0c0;
  --line-strong: #cdb9a6;
  --clay: #b96345;
  --clay-dark: #8f462f;
  --sage: #556f60;
  --sage-dark: #2f4d41;
  --blue: #2f5b7c;
  --gold: #c19148;
  --white: #fffdf8;
  --shadow: 0 22px 55px rgba(57, 43, 31, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(36, 31, 26, 0.08);
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(14px);
}

.nav-shell {
  max-width: var(--max);
  min-height: 78px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(143, 70, 47, 0.24);
  border-radius: 8px;
  background: rgba(185, 99, 69, 0.1);
  color: var(--clay-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 15px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-sub {
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--clay-dark);
  font-weight: 760;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #4b4138;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #eadbca;
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.hamburger {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  display: block;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 760;
  cursor: pointer;
  text-align: center;
  line-height: 1.1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #11100e;
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}

.button.secondary:hover {
  background: #f1e4d5;
}

.button.clay {
  background: var(--clay);
  color: #fffaf5;
}

.button.clay:hover {
  background: var(--clay-dark);
}

.button.sage {
  background: var(--sage-dark);
  color: #f8fff9;
}

.button.full {
  width: 100%;
}

.page-hero {
  min-height: 82svh;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(23, 18, 14, 0.84) 0%, rgba(23, 18, 14, 0.62) 48%, rgba(23, 18, 14, 0.22) 100%);
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 22px 58px;
  color: #fffaf2;
}

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

.eyebrow {
  margin: 0 0 15px;
  color: #f1c9ae;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 790;
  letter-spacing: 0.1em;
}

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

h1,
.hero-title {
  margin-bottom: 18px;
  max-width: 850px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 820;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 26px;
  color: #f8eadc;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.11);
  color: #fff6eb;
  font-size: 14px;
  font-weight: 690;
}

.section {
  padding: 82px 22px;
}

.section.tight {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section.alt {
  background: var(--paper-2);
}

.section.dark {
  background: #211d19;
  color: #fff7ed;
}

.shell {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  margin-bottom: 9px;
  color: var(--clay-dark);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.section.dark .kicker {
  color: #efbd9f;
}

h2 {
  margin-bottom: 13px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 810;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 790;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.section.dark .lead {
  color: #e4d4c7;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.course-card,
.quote-box,
.form-panel,
.quiz-widget {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(36, 31, 26, 0.04);
}

.card {
  padding: 24px;
}

.card .num {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ead8c5;
  color: var(--clay-dark);
  font-weight: 820;
}

.soft-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eadfce;
}

.funding-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e6dccb;
}

.funding-funnel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 28px;
  align-items: center;
}

.funding-funnel h2 {
  max-width: 780px;
  margin-bottom: 12px;
}

.funding-box {
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(57, 43, 31, 0.1);
}

.funding-box-title {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
}

.course-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.course-top {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: #fffaf2;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eadfce;
  color: #51463d;
  font-size: 13px;
  font-weight: 720;
}

.pill.sage {
  background: #dce6dc;
  color: var(--sage-dark);
}

.pill.blue {
  background: #dbe7ef;
  color: var(--blue);
}

.pill.clay {
  background: #f0d5c5;
  color: var(--clay-dark);
}

.course-body {
  padding: 22px;
}

.course-body ul,
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-body li,
.clean-list li {
  position: relative;
  padding-left: 21px;
  margin-bottom: 10px;
  color: #51483f;
}

.course-body li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.course-foot {
  padding: 18px 22px 22px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(310px, 0.9fr) minmax(0, 1.1fr);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ded0c0;
  box-shadow: var(--shadow);
}

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

.media-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(36, 31, 26, 0.72);
  color: #fff8ee;
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 690;
}

.result-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-stat {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.mini-stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 30px;
  line-height: 1;
}

.quiz-widget {
  overflow: hidden;
  background: #fffaf4;
}

body.modal-open {
  overflow: hidden;
}

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.quiz-modal.open {
  display: flex;
}

.quiz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 20, 16, 0.72);
  backdrop-filter: blur(8px);
}

.quiz-modal-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(820px, calc(100svh - 44px));
  overflow: auto;
  border-radius: var(--radius);
  background: #fffaf4;
  box-shadow: 0 30px 80px rgba(20, 16, 12, 0.32);
}

.quiz-modal-dialog .quiz-widget {
  border: 0;
  border-radius: 0;
}

.quiz-modal-close {
  position: sticky;
  top: 14px;
  left: calc(100% - 58px);
  z-index: 4;
  width: 42px;
  height: 42px;
  margin: 14px 14px -56px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(36, 31, 26, 0.14);
}

.quiz-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  min-height: 590px;
}

.quiz-aside {
  padding: 28px;
  background: #2a241f;
  color: #fff7ed;
}

.quiz-aside p {
  color: #ead9c8;
}

.quiz-steps {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.quiz-step-indicator {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d8c5b2;
  font-size: 14px;
  font-weight: 650;
}

.quiz-step-indicator span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff7ed;
  font-size: 12px;
}

.quiz-step-indicator.active {
  color: #fff7ed;
}

.quiz-step-indicator.active span {
  background: var(--clay);
}

.quiz-main {
  padding: 30px;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #eadfce;
  overflow: hidden;
  margin-bottom: 28px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--clay);
  transition: width 0.25s ease;
}

.quiz-question h3 {
  font-size: 28px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.option-button {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.option-button:hover {
  transform: translateY(-1px);
  border-color: var(--clay);
  background: #fff4e8;
}

.option-button strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.option-button span {
  color: var(--muted);
  font-size: 14px;
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.quiz-result {
  display: grid;
  gap: 16px;
}

.recommended-course {
  padding: 24px;
  border-radius: var(--radius);
  background: #f1e3d2;
  border: 1px solid #d7bfa8;
}

.recommended-course h3 {
  font-size: 31px;
}

.refund-check {
  padding: 20px;
  border-radius: var(--radius);
  background: #e2ebdf;
  border: 1px solid #c4d2bf;
}

.form-panel {
  padding: 26px;
  background: #fffaf4;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #463d34;
  font-size: 14px;
  font-weight: 740;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(185, 99, 69, 0.15);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.check-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-note,
.fine-print {
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  min-height: 24px;
  margin-top: 12px;
  font-weight: 710;
}

.form-status.ok {
  color: var(--sage-dark);
}

.form-status.error {
  color: #a03b2a;
}

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

.quote-box {
  padding: 28px;
  background: #2f2923;
  color: #fff7ed;
  box-shadow: var(--shadow);
}

.quote-box blockquote {
  margin: 0 0 18px;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 710;
}

.quote-box p {
  color: #e2d0bd;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 22px 22px 22px 68px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--clay);
  color: #fffaf2;
  font-weight: 800;
}

.cta-band {
  padding: 40px;
  border-radius: var(--radius);
  background: #2a241f;
  color: #fff7ed;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.cta-band p {
  margin-bottom: 0;
  color: #ead9c8;
}

.site-footer {
  padding: 52px 22px 34px;
  border-top: 1px solid var(--line);
  background: #211d19;
  color: #fff7ed;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  color: #dfcdbc;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff7ed;
}

.footer-note {
  max-width: var(--max);
  margin: 28px auto 0;
  color: #cdbcae;
  font-size: 13px;
}

.simple-hero {
  padding: 78px 22px 48px;
  border-bottom: 1px solid var(--line);
  background: #efe4d5;
}

.simple-hero .shell {
  display: grid;
  gap: 16px;
}

.simple-hero .eyebrow {
  color: var(--sage-dark);
}

.simple-hero h1 {
  max-width: 960px;
  font-size: clamp(40px, 5vw, 68px);
}

.simple-hero p {
  max-width: 790px;
}

.anchor-target {
  scroll-margin-top: 100px;
}

@media (max-width: 960px) {
  .nav-links,
  .nav-actions .button.secondary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links.open {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 78px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open a {
    border-radius: var(--radius);
  }

  .grid.three,
  .grid.four,
  .result-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split.reverse,
  .quiz-layout,
  .funding-funnel,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .media-frame img {
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .nav-actions .button.clay {
    display: none;
  }

  .nav-links.open {
    top: 70px;
  }

  .page-hero {
    min-height: 84svh;
  }

  .page-hero::after {
    background: rgba(23, 18, 14, 0.74);
  }

  .hero-inner {
    padding: 76px 18px 44px;
  }

  .section {
    padding: 62px 18px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .result-row,
  .option-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .quiz-main,
  .quiz-aside,
  .form-panel,
  .card,
  .course-top,
  .course-body,
  .course-foot {
    padding: 20px;
  }

  .quiz-modal {
    padding: 12px;
  }

  .quiz-modal-dialog {
    max-height: calc(100svh - 24px);
  }

  .quiz-modal-close {
    top: 10px;
    margin: 10px 10px -52px auto;
  }

  .quiz-layout {
    min-height: 0;
  }

  .option-button {
    min-height: 88px;
  }

  .cta-band {
    padding: 24px;
  }
}
