@charset "UTF-8";
/* Rahul Sachdeva · Underground Sales pages
   Palette taken from the masterclass deck. */
:root {
  --sand: #EDE6D9;
  --sand-deep: #E1D8C6;
  --tan: #D3C4A8;
  --navy: #123B63;
  --navy-deep: #0D2C4B;
  --slate: #5F6C78;
  --ice: #A9BCCF;
  --white: #FFFFFF;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 40rem;
  --wide: 68rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sand); color: var(--navy);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }
section { padding-block: clamp(3rem, 8vw, 5.5rem); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); color: var(--slate); }
.muted { color: var(--slate); }
.small { font-size: 0.9rem; }

/* Header */
.site-head { padding-block: 1.25rem; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.site-head .length { font-size: 0.95rem; color: var(--slate); }

/* Buttons */
.btn {
  display: inline-block; background: var(--navy); color: var(--sand);
  font-family: var(--sans); font-weight: 700; font-size: 1.1rem; text-decoration: none;
  padding: 1rem 1.6rem; border-radius: 6px; border: 2px solid var(--navy);
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--navy-deep); }
.on-navy .btn { background: var(--sand); color: var(--navy); border-color: var(--sand); }
.on-navy .btn:hover { background: var(--white); }
.assurances { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .95rem; color: var(--slate); }
.assurances li::before { content: "✓"; margin-right: .4rem; color: var(--navy); font-weight: 700; }
.on-navy .assurances li { color: var(--ice); }
.on-navy .assurances li::before { color: var(--sand); }

/* Hero */
.hero { padding-top: clamp(1.5rem, 5vw, 3.5rem); }
.hero .kicker { font-size: 1rem; color: var(--slate); margin-bottom: 1rem; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 34rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.video {
  aspect-ratio: 16 / 9; width: 100%; background: var(--navy-deep); border-radius: 8px;
  display: grid; place-items: center; color: var(--ice); text-align: center; padding: 1rem; overflow: hidden;
}
.video iframe, .video video { width: 100%; height: 100%; border: 0; }

/* Lists */
.pains { list-style: none; padding: 0; margin: 1.5rem 0; }
.pains li { padding: 1rem 0; border-bottom: 1px solid var(--tan); }
.pains li:first-child { border-top: 1px solid var(--tan); }
.closing { font-family: var(--serif); font-size: 1.5rem; font-style: italic; margin-top: 1.5rem; }

/* The waterline: signature section */
.waterline { padding: 0; }
.surface { padding-block: 3rem 1.5rem; text-align: center; }
.surface .above { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; font-size: 1.05rem; color: var(--slate); margin: 0; padding: 0; list-style: none; }
.surface .above li { text-decoration: line-through; text-decoration-color: var(--tan); text-decoration-thickness: 2px; }
.water { height: 38px; background:
  radial-gradient(circle at 20px -8px, var(--sand) 22px, transparent 23px) 0 0 / 40px 38px repeat-x,
  var(--navy); }
.underground { background: var(--navy); color: var(--sand); padding-block: clamp(2.5rem, 7vw, 5rem); }
.underground h2 { color: var(--white); }
.underground .deep { max-width: none; font-family: var(--serif); font-size: clamp(2rem, 6vw, 3.8rem); line-height: 1.1; color: var(--white); margin: 1.5rem 0; }
.underground .deep span { display: block; }
.underground p { color: var(--ice); max-width: 36rem; }

/* Four outcomes */
.outcomes { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 760px) { .outcomes { grid-template-columns: 1fr 1fr; } }
.outcome { background: var(--sand-deep); border-radius: 8px; padding: 1.4rem 1.5rem; }
.outcome h3 { margin-bottom: .4rem; }
.outcome p { margin: 0; color: var(--slate); }

/* Secrets */
.secret { padding: 1.5rem 0; border-top: 1px solid var(--tan); display: grid; gap: .25rem 2rem; }
@media (min-width: 760px) { .secret { grid-template-columns: 14rem 1fr; } }
.secret .name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.secret p { margin: 0; }
.fineprint { font-size: .9rem; color: var(--slate); margin-top: 1.5rem; }

/* Fit */
.fit { display: grid; gap: 2rem; }
@media (min-width: 860px) { .fit { grid-template-columns: 1.4fr 1fr; } }
.fit ul { padding-left: 1.2rem; margin: 0; }
.fit li { margin-bottom: .8rem; }
.notfor { background: var(--sand-deep); border-radius: 8px; padding: 1.5rem; }

/* About */
.about { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .about { grid-template-columns: 22rem 1fr; } }
.about .portrait { border-radius: 8px; }
.book { display: flex; gap: 1.25rem; align-items: center; margin-top: 1.5rem; }
.book img { width: 160px; }
.quotes { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; } }
figure.quote { margin: 0; background: var(--sand-deep); border-radius: 8px; padding: 1.4rem; }
figure.quote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; }
figure.quote figcaption { display: flex; gap: .75rem; align-items: center; font-size: .95rem; }
figure.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* Offer box */
.offer { background: var(--white); border: 2px solid var(--navy); border-radius: 10px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.offer ul { padding-left: 1.2rem; }
.price { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 600; line-height: 1; margin: .5rem 0 1rem; }
.price small { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--slate); }
.honest { border-left: 0; background: var(--sand); border-radius: 6px; padding: 1rem 1.2rem; margin: 1.25rem 0; font-size: .98rem; }

/* Guarantee */
.guarantee { text-align: left; }
.seal { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--navy); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin-bottom: 1rem; }

/* FAQ */
details { border-bottom: 1px solid var(--tan); padding: 1rem 0; }
details:first-of-type { border-top: 1px solid var(--tan); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--serif); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: .75rem 0 0; color: var(--slate); }

/* Final CTA */
.final { background: var(--navy); color: var(--sand); text-align: left; }
.final h2 { color: var(--white); max-width: 22ch; }

/* Weeks (course page) */
.weeks { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 900px) { .weeks { grid-template-columns: repeat(4, 1fr); } }
.week { background: var(--sand-deep); border-radius: 8px; padding: 1.4rem; display: flex; flex-direction: column; }
.week .when { font-weight: 700; color: var(--slate); font-size: .95rem; margin-bottom: .3rem; }
.week h3 { font-size: 1.15rem; }
.week .gets { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--tan); font-size: .95rem; }
.split { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--sand-deep); border-radius: 8px; padding: 1.5rem; }
.panel h3 { margin-bottom: .5rem; }
.panel p:last-child { margin-bottom: 0; }
.schedule { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .98rem; }
.schedule th, .schedule td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--tan); }
.schedule th { font-weight: 700; color: var(--slate); }
.table-scroll { overflow-x: auto; }
.format-bar { display: flex; border-radius: 8px; overflow: hidden; margin: 1.5rem 0; font-weight: 700; }
.format-bar div { padding: 1rem 1.2rem; }
.format-bar .teach { flex: 2; background: var(--sand-deep); }
.format-bar .build { flex: 1; background: var(--navy); color: var(--sand); }

/* Steps (thank-you pages): a real sequence, so numbered */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.75rem 3.5rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--navy); color: var(--sand); display: grid; place-items: center; font-weight: 700; }
.steps h3 { margin-bottom: .3rem; }
.placeholder { background: #FFF3C4; border: 1px dashed #B8962E; padding: .15rem .4rem; border-radius: 4px; font-size: .9rem; }

/* Footer */
.site-foot { padding-block: 2rem 6rem; font-size: .9rem; color: var(--slate); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.site-foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Mobile buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--navy); color: var(--sand); padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; z-index: 10; }
.buybar strong { font-family: var(--serif); font-size: 1.3rem; }
.buybar .btn { padding: .7rem 1.1rem; font-size: 1rem; background: var(--sand); color: var(--navy); border-color: var(--sand); }
@media (min-width: 900px) { .buybar { display: none; } .site-foot { padding-bottom: 2rem; } }

/* Legal pages */
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== Course sales page additions ===== */
.eyebrow-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.eyebrow-facts li { background: var(--sand-deep); border-radius: 999px; padding: .35rem .85rem; font-size: .92rem; font-weight: 700; }
.math { display: grid; gap: 1rem; margin: 1.75rem 0 1rem; }
@media (min-width: 760px) { .math { grid-template-columns: 1fr 1fr; } }
.math .biz { background: var(--white); border: 1px solid var(--tan); border-radius: 8px; padding: 1.4rem; }
.math .biz.win { border: 2px solid var(--navy); }
.math .calc { color: var(--slate); font-size: .98rem; }
.math .total { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1.1; margin-top: .4rem; }
.assets { counter-reset: asset; list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .75rem; }
@media (min-width: 760px) { .assets { grid-template-columns: 1fr 1fr; } }
.assets li { counter-increment: asset; background: var(--sand-deep); border-radius: 8px; padding: 1rem 1.1rem 1rem 3.4rem; position: relative; }
.assets li::before { content: counter(asset); position: absolute; left: 1rem; top: .95rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--navy); color: var(--sand); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.assets strong { display: block; }
.assets span { color: var(--slate); font-size: .95rem; }
.stack { width: 100%; border-collapse: collapse; margin: 1rem 0 0; }
.stack td { padding: .85rem .25rem; border-bottom: 1px solid var(--tan); vertical-align: top; }
.stack td:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--slate); padding-left: 1rem; }
.stack tr.bonus td:first-child::before { content: "BONUS  "; font-size: .78rem; letter-spacing: .08em; color: var(--slate); font-weight: 700; }
.pricebox { text-align: left; }
.pricebox .per { color: var(--slate); margin-top: -.25rem; }
.seats { background: var(--navy); color: var(--sand); border-radius: 8px; padding: 1.25rem 1.4rem; margin-top: 1.5rem; }
.seats strong { color: var(--white); }
.compare { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare .col { border-radius: 8px; padding: 1.4rem; }
.compare .bad { background: var(--sand-deep); }
.compare .good { background: var(--white); border: 2px solid var(--navy); }
.compare ul { padding-left: 1.1rem; margin: .5rem 0 0; }
.compare li { margin-bottom: .45rem; }
.ps { font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; }
