:root {
  color-scheme: light;
  --bg: #f0f1f9;
  --surface: #fdfdff;
  --rail: #29316d;
  --text: #1b203a;
  --muted: #56607b;
  --line: #d2d5e8;
  --accent: #6544af;
  --accent-text: #ffffff;
  --soft: #e7e2f6;
  --hover: #ece9f8;
  --focus: #7252c1;
  --sidebar-text: #f5f3ff;
  --sidebar-muted: #c5cbea;
  --shadow: 0 8px 24px #343b8009;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Segoe UI", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: 64px; }
.skip-link { position: absolute; top: 12px; left: 20px; padding: 10px 18px; background: var(--surface); color: var(--accent); z-index: 10; transform: translateY(-180%); border: 1px solid var(--line); border-radius: 7px; }
.skip-link:focus { transform: none; }
.opening { background: var(--bg); }
.site-header { height: 100px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 650; letter-spacing: -.8px; line-height: 1; }
.wordmark img { object-fit: contain; }
.site-header nav { display: flex; gap: 32px; align-items: center; font-size: 13px; font-weight: 600; }
.about-link { color: var(--muted); }
.nav-cta { border: 1px solid var(--line); background: var(--surface); padding: 11px 18px; border-radius: 7px; color: var(--accent); }
.nav-cta:hover { background: var(--hover); text-decoration: none; }
.nav-cta span { margin-left: 17px; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; min-height: 645px; padding-top: 48px; padding-bottom: 64px; gap: 24px; }
.eyebrow { text-transform: uppercase; font-size: 11px; letter-spacing: 1.5px; font-weight: 600; margin: 0 0 24px; color: var(--accent); }
.small-star { margin-right: 10px; font-size: 16px; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; }
h1 { font-size: clamp(48px, 5.5vw, 72px); line-height: 1.1; letter-spacing: -2.5px; margin-bottom: 27px; }
em { font-style: normal; color: var(--accent); }
.hero-description { color: var(--muted); max-width: 450px; font-size: 17px; line-height: 1.8; margin-bottom: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 27px; background: var(--accent); color: var(--accent-text); border: 1px solid var(--accent); border-radius: 7px; padding: 14px 21px; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 49px; }
.button:hover { background: var(--focus); text-decoration: none; }
.button:disabled { opacity: .65; cursor: wait; }
.hero-note { color: var(--muted); font-size: 12px; margin: 17px 0 0; }
.world-art { margin: 0; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.world-art svg { display: block; width: 100%; height: auto; }
.world-art figcaption { text-align: center; font-size: 11px; letter-spacing: .4px; color: var(--muted); margin: -6px 0 20px; }
.opening-bottom { display: flex; justify-content: space-between; align-items: center; padding-bottom: 29px; font-size: 12px; color: var(--muted); }
.opening-bottom a span { margin-left: 16px; color: var(--accent); }
.story-section { background: var(--surface); padding-block: 80px; border-block: 1px solid var(--line); }
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
h2 { font-size: clamp(32px, 3.5vw, 44px); letter-spacing: -1.2px; line-height: 1.2; margin-bottom: 24px; }
.story-copy { font-size: 15px; color: var(--muted); padding-top: 25px; }
.story-copy p:first-child { color: var(--text); font-size: 21px; line-height: 1.5; font-weight: 500; }
.benefits { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefits article { border: 1px solid var(--line); border-radius: 10px; padding: 26px; background: var(--bg); }
.chapter { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.benefits h3 { font-size: 22px; letter-spacing: -.5px; margin: 18px 0 12px; }
.benefits p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }
.author-section { padding-block: 72px; background: var(--rail); color: var(--sidebar-text); }
.author-layout { display: grid; grid-template-columns: 160px 1fr; gap: 48px; align-items: center; }
.ornament { font-size: 104px; color: var(--sidebar-muted); text-align: center; line-height: 1; }
.author-section .eyebrow, .author-section em { color: var(--sidebar-muted); }
.author-section .eyebrow { margin-bottom: 18px; }
.author-section h2 { font-size: 38px; }
.author-section p:last-child { color: var(--sidebar-muted); max-width: 625px; font-size: 15px; margin-bottom: 0; }
.waitlist-section { padding-block: 80px; }
.waitlist-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.waitlist-section p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.signup { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.signup #waitlist-note { font-size: 12px; margin-top: 13px; line-height: 1.7; }
.signup #waitlist-status { font-size: 13px; margin-top: 12px; min-height: 42px; }
.signup noscript p { font-size: 13px; }
#clerk-waitlist { width: 100%; min-height: 40px; }
.site-footer { padding-block: 31px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 23px; }
.site-footer p, .site-footer > span { font-size: 12px; color: var(--muted); margin: 0; }
@media (min-width: 1500px) { .hero { min-height: 730px; } }
@media (max-width: 1000px) {
  .wrap { padding-inline: 36px; }
  .hero { min-height: 600px; gap: 24px; }
  h1 { letter-spacing: -2px; }
  .story-layout { gap: 45px; }
  .benefits { gap: 16px; }
  .benefits article { padding: 20px; }
  .waitlist-layout { gap: 30px; }
  .author-layout { grid-template-columns: 110px 1fr; gap: 30px; }
  .ornament { font-size: 85px; }
}
@media (max-width: 680px) {
  .wrap { padding-inline: 24px; }
  .site-header { height: 88px; }
  .wordmark { font-size: 23px; gap: 8px; }
  .wordmark img { width: 32px; height: 36px; }
  .site-header nav { gap: 0; }
  .about-link { display: none; }
  .nav-cta { font-size: 11px; padding: 10px; }
  .nav-cta span { margin-left: 6px; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 38px; gap: 32px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.4px; margin-bottom: 24px; }
  h1 { font-size: clamp(40px, 10vw, 64px); letter-spacing: -1.8px; }
  .hero-description { font-size: 16px; max-width: 430px; }
  .world-art { max-width: 440px; width: 100%; margin-inline: auto; }
  .world-art figcaption { font-size: 10px; }
  .opening-bottom { padding-bottom: 24px; font-size: 10px; }
  .story-section { padding-block: 52px; }
  .story-layout, .waitlist-layout { grid-template-columns: 1fr; gap: 15px; }
  .story-copy { padding-top: 0; }
  .story-copy p:first-child { font-size: 20px; }
  .benefits { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .benefits h3 { margin-top: 11px; }
  .author-section { padding-block: 52px; }
  .author-layout { grid-template-columns: 1fr; gap: 25px; }
  .ornament { font-size: 50px; text-align: left; }
  .author-section h2 { font-size: 30px; }
  .waitlist-section { padding-block: 52px 38px; }
  .signup { margin-top: 14px; padding: 20px; }
  .site-footer { flex-wrap: wrap; padding-block: 27px; gap: 18px; }
  .site-footer p { display: none; }
  .site-footer > span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) {
  .button, .nav-cta, .skip-link { border: 1px solid ButtonText; }
  .world-art svg { forced-color-adjust: none; }
}
