/* Dusk palette taken from the videos: violet sky, peach horizon, sun-yellow for actions. */
:root {
  --sky: #2f2a72;
  --sky-deep: #231f58;
  --peach: #f6b08c;
  --sun: #ffd35c;
  --paper: #f5f2fc;
  --ink: #1f1b45;
  --muted: #5d5888;
  --teal: #2f7f6d;
  --line: #d9d3ee;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Figtree', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.2vw, 4.2rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem clamp(1rem, 4vw, 3rem); background: var(--sky-deep); color: #fff; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.3rem; font-weight: 600; text-decoration: none; }
.top nav { display: flex; gap: 1.25rem; align-items: center; }
.top nav a { text-decoration: none; }
.top nav a:hover, .linkish:hover { text-decoration: underline; }
.top form { margin: 0; }
.linkish { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }

.btn { display: inline-block; background: var(--sun); color: var(--ink); font: 700 1rem var(--body); padding: .85rem 1.3rem; border: 0; border-radius: 4px; cursor: pointer; text-decoration: none; box-shadow: 0 4px 0 #c99a1e; }
.btn:hover { transform: translateY(1px); box-shadow: 0 3px 0 #c99a1e; }
.btn.quiet { background: #fff; box-shadow: 0 4px 0 var(--line); border: 1px solid var(--line); }
.btn.off { cursor: default; color: var(--muted); }

/* Hero: the scene sits at the bottom like a frame from a video */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--sky-deep) 0%, var(--sky) 38%, #8a5c9e 68%, var(--peach) 100%); padding: clamp(2.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem) 0; min-height: min(92vh, 780px); display: flex; flex-direction: column; }
.hero-text { max-width: 46rem; position: relative; z-index: 2; }
.hero-text p { font-size: 1.15rem; max-width: 36rem; }
.hero-actions { margin-top: 1.5rem; }
.scene { display: block; width: calc(100% + 2 * clamp(1rem, 4vw, 3rem)); margin: auto calc(-1 * clamp(1rem, 4vw, 3rem)) 0; height: clamp(200px, 38vw, 380px); }
.overlay { position: absolute; right: 30vw; bottom: calc(clamp(200px, 38vw, 380px) * 0.7); z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.timer { font-family: var(--display); font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; text-shadow: 0 2px 0 rgba(35, 31, 88, .5); }
.fact { background: #fff; color: var(--ink); font-size: .85rem; font-weight: 500; padding: .3rem .6rem; border-radius: 3px; max-width: 15rem; }
@media (prefers-reduced-motion: no-preference) {
  .timer { animation: tick 1s steps(1) 3; }
  @keyframes tick { 50% { opacity: .55; } }
}

.band { padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); max-width: 68rem; margin: 0 auto; }
.lead { max-width: 40rem; color: var(--muted); }
.notice { background: #fff6d6; border-left: 5px solid var(--sun); padding: .8rem 1rem; max-width: 62rem; margin: 1.5rem auto; }
.small { font-size: .92rem; color: var(--muted); }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.75rem 2.5rem; margin-top: 2rem; }
.why-grid p { margin: 0; color: var(--muted); }
.money { margin-top: 3rem; background: var(--sky-deep); color: #fff; padding: 1.5rem clamp(1rem, 3vw, 2rem); border-radius: 4px; }
.money p { margin: 0; max-width: 46rem; }

.outline { list-style: none; counter-reset: l; padding: 0; margin: 2rem 0 0; border-top: 2px solid var(--ink); }
.outline li { counter-increment: l; display: flex; align-items: baseline; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.outline li::before { content: counter(l); font-family: var(--display); font-size: 1.2rem; min-width: 1.6rem; color: var(--muted); }
.lt { flex: 1; font-weight: 500; }
.tag { font-size: .8rem; font-weight: 700; padding: .15rem .5rem; border-radius: 3px; white-space: nowrap; }
.tag.starter { background: #d8f1ea; color: #1e5d4f; }
.tag.full { background: #ffe9a8; color: #6b4e00; }

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.5rem; margin: 2rem 0 1rem; align-items: start; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 1.75rem; }
.tier.featured { border: 3px solid var(--ink); }
.price { font-family: var(--display); font-size: 3rem; line-height: 1; margin-bottom: .5rem; }
.price span { font: 400 .9rem var(--body); color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 1rem 0; }
.tier li { padding: .35rem 0; border-top: 1px solid var(--line); }
.tier li.no { color: var(--muted); text-decoration: line-through; text-decoration-color: #b9b3d6; }
.tier li span { color: var(--muted); font-size: .9rem; }
.count { font-weight: 700; }
.tier form { margin: 0; }

.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; max-width: 46rem; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .6rem 0 0; color: var(--muted); }

.narrow { max-width: 38rem; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) 1.1rem; }
.narrow.wide { max-width: 46rem; }
.narrow h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.narrow h2 { font-size: 1.4rem; margin-top: 2rem; }
.stack { display: grid; gap: .6rem; margin: 1.5rem 0; }
.stack label { font-weight: 700; }
.stack input { font: inherit; padding: .8rem; border: 2px solid var(--ink); border-radius: 4px; background: #fff; }

.lessons { list-style: none; padding: 0; margin: 0; }
.lessons li { border-bottom: 1px solid var(--line); }
.lessons a, .lockedrow { display: flex; align-items: baseline; gap: .8rem; padding: .75rem 0; text-decoration: none; }
.lessons a:hover { text-decoration: underline; }
.lockedrow { color: var(--muted); }
.n { font-family: var(--display); min-width: 1.6rem; color: var(--muted); }
.upsell { margin-top: 2.5rem; background: #fff; border: 3px solid var(--ink); border-radius: 4px; padding: 1.5rem; }
.upsell h2 { margin-top: 0; }

.prose { font-size: 1.1rem; line-height: 1.7; }
.prose h1 { margin-bottom: .8em; }
.prose h2 { margin-top: 2.2rem; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5rem 0; padding: .2rem 1.1rem; border-left: 5px solid var(--sun); background: #fff; }
.prose code { background: #e9e4f8; padding: .1em .35em; border-radius: 3px; font-size: .92em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.crumb { font-size: .92rem; color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 2px solid var(--ink); font-weight: 700; }
.nextl { text-align: right; }

.foot { background: var(--sky-deep); color: #cfc9ee; font-size: .9rem; padding: 2rem clamp(1rem, 4vw, 3rem); margin-top: 3rem; }
.foot p { max-width: 46rem; margin: 0 0 .5em; }
.home .foot { margin-top: 0; }

@media (max-width: 560px) {
  .ai-badge { font-size: 1rem; }
  .fact { display: none; }
  .outline li { flex-wrap: wrap; }
  .pager { flex-direction: column; }
  .nextl { text-align: left; }
}

.wordmark img { border-radius: 50%; display: block; }
.hero-logo { position: absolute; z-index: 1; right: clamp(1rem, 6vw, 5rem); top: clamp(2rem, 6vw, 4.5rem); width: clamp(180px, 26vw, 340px); height: auto; }
.watch a { color: #fff; font-weight: 700; }
.foot a { color: #fff; }
@media (max-width: 860px) {
  .overlay { right: 1rem; }
  .fact { display: none; }
  .hero-logo { position: static; order: -1; width: 132px; margin: 0 0 1.25rem; }
}
.hero-logo { border-radius: 50%; }

.ai-badge { display: inline-block; margin: 1.25rem 0 .25rem; padding: .55rem .9rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; font-size: 1.05rem; }
.ai-badge strong { color: var(--sun); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem 2.5rem; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 2.2rem; line-height: 1; display: block; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--muted); }
