:root {
  --ink: #1c1019;
  --aubergine: #2b1528;
  --aubergine-soft: #3d2139;
  --blush: #f3e6e3;
  --blush-deep: #e8d3cf;
  --paper: #fbf5f3;
  --rose: #c9908a;
  --champagne: #b8925a;
  --champagne-light: #d9bf91;
  --muted: #6b5765;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 5vw, 4rem);
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; max-width: 38em; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--blush); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { background: var(--aubergine); color: var(--blush); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap;
}
.brand { font-family: var(--display); font-size: 1.35rem; text-decoration: none; }
.nav { display: flex; align-items: center; gap: .4rem clamp(.9rem, 2vw, 1.6rem); flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: .95rem; padding: .2rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--champagne); }
.nav .nav-cta {
  border: 1px solid var(--champagne-light); border-radius: 999px; padding: .35rem .95rem;
}
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: var(--champagne-light); color: var(--aubergine); border-bottom-color: var(--champagne-light); }

/* Hero (home) */
.hero { background: var(--aubergine); color: var(--blush); padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: end; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.4rem); line-height: .95; letter-spacing: -.025em;
  margin: 0 0 1.5rem; max-width: 9em;
}
.anchor-line { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.35; color: var(--champagne-light); margin-bottom: 1rem; }
.hero .intro { font-size: clamp(1.1rem, 1.8vw, 1.25rem); max-width: 30em; opacity: .92; margin-bottom: 2rem; }

/* Staircase */
.stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; align-items: end; min-height: 20rem; }
.stairs li {
  background: var(--aubergine-soft); border-top: 2px solid var(--champagne);
  padding: .75rem .6rem; display: flex; flex-direction: column; gap: .2rem;
}
.stairs li:nth-child(1) { height: 30%; }
.stairs li:nth-child(2) { height: 47%; }
.stairs li:nth-child(3) { height: 64%; }
.stairs li:nth-child(4) { height: 81%; }
.stairs li:nth-child(5) { height: 100%; background: var(--champagne); color: var(--aubergine); border-top-color: var(--champagne-light); }
.stairs .n { font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.stairs .name { font-size: .9rem; font-weight: 500; }
@media (max-width: 40rem) {
  .stairs { grid-template-columns: 1fr; min-height: 0; gap: 4px; }
  .stairs li { height: auto !important; flex-direction: row; align-items: baseline; gap: .75rem; padding: .7rem 1rem; }
  .stairs li:nth-child(2) { margin-left: 8%; }
  .stairs li:nth-child(3) { margin-left: 16%; }
  .stairs li:nth-child(4) { margin-left: 24%; }
  .stairs li:nth-child(5) { margin-left: 32%; }
  .stairs { display: flex; flex-direction: column-reverse; align-items: stretch; }
}
@media (prefers-reduced-motion: no-preference) {
  .stairs li { animation: climb .7s cubic-bezier(.2,.7,.2,1) both; transform-origin: bottom; }
  .stairs li:nth-child(2) { animation-delay: .08s; }
  .stairs li:nth-child(3) { animation-delay: .16s; }
  .stairs li:nth-child(4) { animation-delay: .24s; }
  .stairs li:nth-child(5) { animation-delay: .32s; }
  @keyframes climb { from { opacity: 0; transform: scaleY(.6); } to { opacity: 1; transform: none; } }
}

/* Page hero (inner pages) */
.page-hero { background: var(--aubergine); color: var(--blush); padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.5rem, 7.5vw, 5.2rem); line-height: 1; letter-spacing: -.02em;
  margin: 0 0 1.25rem; max-width: 13em;
}
.page-hero p { font-size: clamp(1.1rem, 2vw, 1.3rem); margin: 0; max-width: 32em; opacity: .92; }
.page-hero .actions { margin-top: 2rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.btn {
  display: inline-block; text-decoration: none; font: inherit; font-size: 1rem; font-weight: 500;
  padding: .85rem 1.5rem; border: 1px solid currentColor; border-radius: 999px; cursor: pointer;
  background: transparent; color: inherit;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--champagne-light); color: var(--aubergine); border-color: var(--champagne-light); }
.btn-gold:hover { background: transparent; color: var(--champagne-light); }
.btn-ghost:hover { background: var(--blush); color: var(--aubergine); }
.btn-dark { background: var(--aubergine); color: var(--blush); border-color: var(--aubergine); }
.btn-dark:hover { background: transparent; color: var(--aubergine); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* Sections */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section h2, .h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.05; letter-spacing: -.015em;
  margin: 0 0 1.5rem; max-width: 16em;
}
.section h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.15; margin: 0 0 .6rem; }
.lede { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.5; max-width: 32em; }
.muted { color: var(--muted); }
.dark { background: var(--aubergine); color: var(--blush); }
.paper { background: var(--paper); }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1.35fr; } }

/* Signs list */
.signs { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--blush-deep); }
.signs li { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; padding: 1.1rem 0; border-bottom: 1px solid var(--blush-deep); }

/* Method (a real sequence) */
.method { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 48rem) { .method { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
.method li { counter-increment: step; border-top: 1px solid var(--champagne); padding-top: 1.25rem; }
.method li::before { content: counter(step); font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--champagne); display: block; margin-bottom: .75rem; }
.dark .method li::before { color: var(--champagne-light); }
.method h3 { margin-bottom: .5rem; }
.method p { margin: 0; }

/* Ruled list */
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--blush-deep); }
.ruled > li { display: grid; gap: .5rem 2.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--blush-deep); }
@media (min-width: 48rem) { .ruled > li { grid-template-columns: 15rem 1fr; } }
.ruled h3 { margin: 0; }
.ruled p { margin: 0 0 .6rem; }
.meta { font-size: .95rem; color: var(--muted); margin-bottom: .5rem; }

.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--champagne); padding-bottom: 1px; }
.text-link:hover { border-bottom-width: 2px; }

/* Levels detail */
.level { display: grid; gap: 1rem 3rem; padding: clamp(2rem, 5vw, 3rem) 0; border-top: 1px solid var(--blush-deep); }
@media (min-width: 52rem) { .level { grid-template-columns: 16rem 1fr 1fr; } }
.level-head .n { font-family: var(--display); font-size: 3.5rem; line-height: 1; color: var(--champagne); display: block; }
.level-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: .25rem 0 0; }
.level h3 { font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--muted); margin: 0 0 .4rem; }
.level p { margin: 0; }

/* Program blocks */
.program { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--blush-deep); scroll-margin-top: 1rem; }
.program-grid { display: grid; gap: 2rem 4rem; }
@media (min-width: 56rem) { .program-grid { grid-template-columns: 1fr 1.2fr; } }
.program h2 { margin-bottom: .75rem; }
.fit { display: inline-block; border: 1px solid var(--rose); border-radius: 999px; padding: .25rem .85rem; font-size: .95rem; margin-bottom: 1.25rem; }
.steps { margin: 0; padding: 0 0 0 1.4rem; }
.steps li { padding: .35rem 0; }
.steps li::marker { color: var(--champagne); font-family: var(--display); }

/* Pull quote */
.pull { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.2; margin: 0; max-width: 22em; }

/* Story */
.story p { font-size: 1.125rem; }
.story h2 { margin-top: 3rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.story h2:first-child { margin-top: 0; }
.story .tag { font-size: .95rem; color: var(--muted); display: block; margin-bottom: .3rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--blush-deep); padding: 1.1rem 0; }
.faq details:first-of-type { border-top: 1px solid var(--blush-deep); }
.faq summary { font-family: var(--display); font-size: 1.3rem; cursor: pointer; list-style-position: outside; }
.faq details p { margin: .75rem 0 0; }

/* Book */
.book { display: grid; gap: 2rem 3rem; align-items: center; }
@media (min-width: 48rem) { .book { grid-template-columns: 12rem 1fr; } }
.book-cover {
  aspect-ratio: 2 / 3; background: var(--aubergine); color: var(--champagne-light);
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem;
  box-shadow: 12px 12px 0 var(--blush-deep); max-width: 12rem;
}
.book-cover strong { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.05; }
.book-cover span { font-size: .85rem; color: var(--blush); }

/* Bio blocks / topics */
.bio-block { background: var(--paper); border-left: 3px solid var(--champagne); padding: 1.5rem 1.75rem; margin: 0 0 2rem; }
.bio-block h3 { font-size: 1.25rem; }
.bio-block p:last-child { margin-bottom: 0; }
.topics { list-style: none; padding: 0; margin: 0; }
.topics li { padding: 1.1rem 0; border-bottom: 1px solid var(--blush-deep); }
.topics li:first-child { border-top: 1px solid var(--blush-deep); }
.topics strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 2rem; list-style: none; }
.tags li { border: 1px solid var(--rose); padding: .35rem .9rem; border-radius: 999px; font-size: .95rem; }

/* Business note */
.biz-note { border-top: 1px solid var(--blush-deep); padding: 1.5rem 0 0; margin-top: 2.5rem; }
.biz-note p { margin: 0; }

/* Closing */
.closing { background: var(--blush-deep); }
.closing .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .closing .wrap { grid-template-columns: 1.5fr 1fr; align-items: center; } .closing .actions { justify-content: flex-end; } }
.closing h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.1; margin: 0; }

/* Quiz */
.quiz { max-width: 44rem; }
.progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; font-size: .95rem; color: var(--muted); }
.progress-bar { flex: 1; height: 4px; background: var(--blush-deep); }
.progress-bar span { display: block; height: 100%; background: var(--champagne); width: 0; transition: width .3s ease; }
.quiz fieldset { border: 0; margin: 0; padding: 0; }
.quiz legend { font-family: var(--display); font-size: clamp(1.6rem, 3.5vw, 2.3rem); line-height: 1.15; margin-bottom: 1.5rem; padding: 0; }
.choice { display: block; position: relative; margin-bottom: .6rem; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: block; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--blush-deep);
  border-radius: 4px; transition: border-color .15s ease, background-color .15s ease;
}
.choice input:hover + span { border-color: var(--rose); }
.choice input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }
.choice input:checked + span { border-color: var(--aubergine); background: #fff; box-shadow: inset 4px 0 0 var(--aubergine); }
.quiz-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.result { max-width: 46rem; }
.result-level { font-family: var(--display); font-size: 1.1rem; color: var(--champagne); margin: 0 0 .25rem; }
.result h2 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 1rem; }
.result-hook { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.35; }
.result-box { background: var(--paper); border-left: 3px solid var(--champagne); padding: 1.5rem 1.75rem; margin: 2rem 0; }
.result-box h3 { font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--muted); margin: 0 0 .4rem; }
.result-box p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--ink); color: var(--blush-deep); padding: 3rem 0 2.5rem; font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.footer-name { font-family: var(--display); font-size: 1.6rem; color: var(--blush); margin: 0 0 .25rem; }
.footer-line { font-family: var(--display); font-style: italic; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; border-bottom: 1px solid rgba(232, 211, 207, .35); }
.footer-links a:hover { border-bottom-color: var(--champagne); }
.site-footer small { display: block; margin-top: .75rem; opacity: .7; }

/* Signup and why forms */
.signup, .why { max-width: 32rem; }
.field { display: block; margin-bottom: 1.1rem; }
.field > span { display: block; font-weight: 500; margin-bottom: .35rem; }
.field input, .why textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--blush-deep); border-radius: 4px; padding: .8rem .95rem;
}
.field input:focus, .why textarea:focus { outline: 2px solid var(--champagne); outline-offset: 1px; border-color: var(--champagne); }
.fine { font-size: .9rem; color: var(--muted); margin: .25rem 0 1.5rem; }
.fine a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.why { margin: 2.5rem 0; padding-top: 2rem; border-top: 1px solid var(--blush-deep); max-width: 40rem; }
.why .why-q { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.5vw, 2.3rem); line-height: 1.15; margin-bottom: .5rem; }
.why .why-help { display: block; font-weight: 400; color: var(--muted); margin-bottom: 1rem; }
.why textarea { margin-bottom: 1rem; resize: vertical; }
.why-thanks { margin: 2.5rem 0; padding-top: 2rem; border-top: 1px solid var(--blush-deep); }
.next-h { font-family: var(--body) !important; font-size: 1rem !important; font-weight: 500; color: var(--muted); margin: 0 0 .75rem !important; }
