/* The Discipline Reset — sales page (Stoic Journal)
   Navy / soft white / pale blue-grey, with ocean blue used only for accents,
   icons and decorative details (never for small text on white).
   Headings: Source Serif 4 Display. Body text and controls: Source Sans 3. */

@font-face { font-family: "Source Serif 4"; src: url(assets/fonts/SourceSerif4-Regular.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(assets/fonts/SourceSerif4-Italic.woff) format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(assets/fonts/SourceSerif4-SemiBold.woff) format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4 Display"; src: url(assets/fonts/SourceSerif4_36pt-SemiBold.woff) format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(assets/fonts/SourceSans3-Regular.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(assets/fonts/SourceSans3-SemiBold.woff) format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Palette (contrast ratios measured against the background they sit on) */
  --navy: #112E43;         /* hero, headings, dark bands */
  --navy-deep: #0B2131;    /* footer, button hover */
  --header-navy: #091D2B;  /* header: one step deeper than the hero */
  --white: #FEFEFE;        /* page */
  --pale: #EEF3F6;         /* light alternate band */
  --ocean: #3A8DBB;        /* accents, icons, rules only: 3.6:1 on white, so never small text */
  --text: #33444F;         /* body text on light, 10:1 */
  --muted: #4E5F6B;        /* secondary text on light, 5.9–6.6:1 */
  --rule: #D6E1E8;         /* decorative lines on light */
  --on-navy: #FEFEFE;      /* 13.9:1 */
  --on-navy-2: #C3D3DF;    /* secondary text on navy, 9.2:1 */
  --sky: #8CC4E3;          /* light ocean tint for small accents on navy, 7.4:1 */
  --navy-rule: rgba(254, 254, 254, 0.14);

  --display: "Source Serif 4 Display", "Source Serif 4", Georgia, "Times New Roman", serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 72rem;
  --measure: 42rem;
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; color: var(--navy); }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.7vw, 2.6rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--sky); }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--white); color: var(--navy); padding: 0.6rem 1rem; z-index: 100; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.65rem 1.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.2; letter-spacing: 0.01em;
  text-decoration: none; text-align: center; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--pale); border-color: var(--pale); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.btn-buy { min-height: 3.4rem; padding-inline: 1.9rem; font-size: 1.12rem; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.55); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Header ----------
   A deeper navy than the opening section, with a hairline and soft shadow,
   so the two read as related but distinct layers. */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--header-navy); color: var(--on-navy);
  border-bottom: 1px solid rgba(140, 196, 227, 0.14);
  box-shadow: 0 6px 18px -10px rgba(3, 12, 19, 0.7);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { display: flex; align-items: center; gap: 1rem 1.75rem; min-height: 4rem; padding-block: 0.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--on-navy); text-decoration: none; flex-shrink: 0; min-height: 2.75rem; }
.brand img { width: 2.5rem; height: 2.5rem; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.22rem; letter-spacing: 0.01em; white-space: nowrap; }
.brand:hover { color: var(--on-navy); }
.header-nav { display: flex; gap: 1.75rem; margin-left: auto; font-size: 1rem; }
.header-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; white-space: nowrap; color: var(--on-navy-2); text-decoration: none; padding: 0.6rem 0.4rem; margin-inline: -0.4rem; min-width: 2.75rem; text-align: center; }
.header-nav a:hover { color: var(--on-navy); text-decoration: underline; }
.site-header :focus-visible, .hero :focus-visible, .newsletter :focus-visible, .final :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }
/* The header carries no purchase button: logo and name on the left, the
   three section links on the right. */
@media (max-width: 640px) {
  .header-inner { gap: 0 0.75rem; min-height: 3.6rem; }
  .brand { gap: 0.5rem; }
  .brand img { width: 2.1rem; height: 2.1rem; }
  .brand-name { font-size: 1.02rem; }
  .header-nav { gap: 0.9rem; font-size: 0.92rem; }
  .header-nav a { padding-inline: 0.25rem; margin-inline: -0.25rem; }
}
@media (max-width: 413px) {
  /* Narrow phones: the three links sit on a short second row, right-aligned.
     The header then scrolls away with the strip instead of staying pinned,
     so it never takes a large slice of a small screen. */
  .site-header { position: relative; }
  html { scroll-padding-top: 0.75rem; }
  .header-inner { flex-wrap: wrap; min-height: 0; padding-block: 0.4rem 0; }
  .header-nav { width: 100%; justify-content: flex-end; gap: 1.1rem; border-top: 1px solid rgba(140, 196, 227, 0.12); }
}

/* ---------- Announcement strip (above the header, scrolls away) ---------- */
.announce { background: var(--pale); color: var(--navy); border-bottom: 1px solid #DCE6EC; }
.announce p { margin-block: 0; padding-block: 0.45rem; text-align: center; font-size: 0.95rem; font-weight: 600; line-height: 1.35; letter-spacing: 0.01em; }
@media (max-width: 640px) { .announce p { font-size: 0.88rem; padding-block: 0.4rem; } }

/* ---------- "Get The Discipline Reset — $29" buttons ----------
   The price sits inside the button, in a soft pill after the product name. */
.btn-get { white-space: nowrap; }
.btn-get .btn-text { display: block; }
.btn-dash { opacity: 0.55; font-weight: 400; margin-inline: 0.1em; }
.btn-price {
  display: inline-block; margin-left: 0.1em; padding: 0.08em 0.5em; border-radius: 999px;
  background: rgba(17, 46, 67, 0.09); font-variant-numeric: lining-nums;
}
.btn-buy.btn-get { padding-inline: 1.5rem 1.1rem; }
@media (max-width: 520px) {
  .hero-buy .btn-buy, .final-body .btn-buy { width: 100%; }
  .btn-buy.btn-get { font-size: 1.04rem; padding-inline: 0.9rem; }
}
@media (max-width: 350px) {
  .btn-buy.btn-get { font-size: 0.97rem; padding-inline: 0.6rem; }
}

/* ---------- Hero (navy) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 82% 35%, rgba(58, 141, 187, 0.24), transparent 70%),
    linear-gradient(180deg, #112E43 0%, #0F2A3E 100%);
  color: var(--on-navy);
  /* Bottom padding leaves a clear gap between the purchase button and the cover that overlaps the hero. */
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(8.5rem, 4rem + 9vw, 12rem);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 39rem; }
/* Hero headline: two natural phrases ("The life you want" / "begins with
   discipline."), each kept whole where it fits; a phrase wider than the
   column wraps inside itself on small screens. */
.display { font-size: clamp(2.4rem, 1.3rem + 3vw, 3.85rem); line-height: 1.05; letter-spacing: -0.015em; color: var(--on-navy); margin-bottom: 1.2rem; text-wrap: balance; }
.display .hl { display: inline-block; }
.hero-lead { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem); line-height: 1.5; color: var(--on-navy-2); max-width: 28rem; margin-bottom: 2.1rem; }
.hero-buy { display: grid; gap: 1rem; justify-items: start; }
.price { font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1.1; margin: 0; color: var(--navy); }
.price-light { color: var(--on-navy); }

/* Portrait: sits on the right and fades into the navy through overlay
   gradients. The photograph itself stays at full strength; a light
   desaturation only calms the warm mosaic behind the bust. */
.hero-portrait {
  position: absolute; z-index: 1; top: 0; right: 0; bottom: 0;
  width: min(56%, 50rem); pointer-events: none; background: #0F2A3E;
}
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: saturate(0.55) contrast(1.04);
}
.hero-portrait::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 46% 62% at 52% 40%, rgba(15, 42, 62, 0) 55%, rgba(15, 42, 62, 0.55) 80%, rgba(15, 42, 62, 0.9) 100%),
    linear-gradient(90deg, #112E43 0%, rgba(17, 46, 67, 0.8) 16%, rgba(17, 46, 67, 0) 46%),
    linear-gradient(270deg, rgba(15, 42, 62, 0.85) 0%, rgba(15, 42, 62, 0) 22%),
    linear-gradient(0deg, #0F2A3E 0%, rgba(15, 42, 62, 0) 38%);
}
/* Without a photograph the slot shows quiet concentric rings instead. */
.hero-portrait:empty { background: none; }
.hero-portrait:empty::after { display: none; }
.hero-portrait:empty::before {
  content: ""; position: absolute; top: 50%; right: -8rem; width: 42rem; aspect-ratio: 1; translate: 0 -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 29%, rgba(58, 141, 187, 0.35) 29.2% 29.5%, transparent 29.7% 43%, rgba(58, 141, 187, 0.22) 43.2% 43.45%, transparent 43.65% 57%, rgba(58, 141, 187, 0.13) 57.2% 57.4%, transparent 57.6%);
}
@media (max-width: 760px) {
  /* Phones: the bust forms a short band at the top right and fades down into
     the navy, so the face stays clear of the text and the headline and
     purchase button remain near the top of the screen. */
  .hero { padding-top: clamp(9.25rem, 44vw, 11.25rem); padding-bottom: 8rem; }
  .hero-portrait { width: 88%; bottom: auto; height: clamp(13rem, 62vw, 16rem); }
  .hero-portrait img { object-position: 50% 30%; }
  .hero-portrait::after {
    background:
      linear-gradient(90deg, #112E43 0%, rgba(17, 46, 67, 0.55) 22%, rgba(17, 46, 67, 0) 50%),
      linear-gradient(270deg, rgba(17, 46, 67, 0.92) 0%, rgba(17, 46, 67, 0.6) 18%, rgba(17, 46, 67, 0) 36%),
      linear-gradient(0deg, #112E43 0%, rgba(17, 46, 67, 0.75) 22%, rgba(17, 46, 67, 0) 55%);
  }
  .hero { background: linear-gradient(180deg, #112E43 0%, #0F2A3E 100%); }
  .hero-portrait { background: none; }
  .hero-portrait:empty + .hero-inner { margin-top: -6rem; }
  .hero-portrait:empty::before { width: 24rem; right: -9rem; top: 7rem; }
}

@media (max-width: 360px), (max-width: 760px) and (max-height: 600px) {
  /* Small or short phones: a shorter portrait band keeps the purchase button on the first screen. */
  .hero { padding-top: 7.25rem; }
  .hero-portrait { height: 10.5rem; width: 80%; }
  .hero-portrait img { object-position: 50% 26%; }
  .display { margin-bottom: 0.8rem; font-size: 2rem; }
  .hero-lead { margin-bottom: 1.4rem; font-size: 1.08rem; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  /* Tablets: keep the headline clear of the bust's face. */
  .hero-copy { max-width: 47%; }
  .display { font-size: clamp(2.3rem, 0.9rem + 3.4vw, 3.2rem); }
  .hero-portrait { width: 58%; }
  .hero-portrait img { object-position: 62% 20%; }
}

/* ---------- Product (white, overlapping the hero) ---------- */
.product { background: var(--white); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.product-grid {
  display: grid; grid-template-columns: minmax(0, 18.5rem) minmax(0, 36rem);
  gap: 2rem clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.product-cover { margin: calc(-1 * clamp(5rem, 9vw, 7.5rem)) 0 0; position: relative; z-index: 3; }
.product-cover img {
  width: 100%; background: var(--white); border-radius: 2px;
  box-shadow: 0 30px 60px -28px rgba(11, 33, 49, 0.6), 0 6px 16px -6px rgba(11, 33, 49, 0.25);
}
.pdf-tag {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.1rem;
  padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--pale);
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
}
.pdf-tag .i { color: var(--ocean); width: 1.1rem; height: 1.1rem; }
.product-body { padding-top: 2rem; }
.product-body h2 { margin-bottom: 0.4rem; }
.product-sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); margin-bottom: 1.25rem; }
.facts { list-style: none; display: grid; gap: 0.55rem; margin-top: 1.4rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.facts li { position: relative; padding-left: 1.6rem; font-size: 1.04rem; }
.facts li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.38em; width: 0.42rem; height: 0.72rem;
  border: solid var(--ocean); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .product-cover { margin-top: -5.5rem; justify-self: center; display: grid; justify-items: center; }
  .product-cover img { width: min(56vw, 15rem); }
  .pdf-tag { white-space: nowrap; }
  .product-body { padding-top: 1.5rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-pale { background: var(--pale); }
.section-head { max-width: var(--measure); margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p { color: var(--muted); }

/* ---------- Look inside ---------- */
.previews { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.25rem, 3vw, 2.5rem); max-width: 66rem; }
.previews figure { margin: 0; display: grid; gap: 1rem; align-content: start; }
.preview-btn { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; position: relative; border-radius: 2px; }
.preview-btn img {
  width: 100%; border-radius: 2px;
  box-shadow: 0 18px 36px -22px rgba(11, 33, 49, 0.55), 0 2px 6px -2px rgba(11, 33, 49, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.preview-btn:hover img { transform: translateY(-3px); box-shadow: 0 24px 40px -22px rgba(11, 33, 49, 0.6), 0 2px 6px -2px rgba(11, 33, 49, 0.18); }
.preview-btn::after {
  content: "Enlarge"; position: absolute; right: 0.6rem; bottom: 0.6rem;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  background: var(--navy); color: var(--white); padding: 0.25rem 0.65rem; border-radius: 999px;
}
.previews figcaption { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.previews figcaption strong { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--navy); margin-bottom: 0.2rem; }
.pg { display: block; margin-top: 0.4rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 680px) {
  /* Phones: thumbnail beside its caption keeps the three pages compact. */
  .previews { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .previews figure { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 1rem; align-items: center; }
  .preview-btn::after { right: 0.35rem; bottom: 0.35rem; font-size: 0.75rem; padding: 0.15rem 0.5rem; }
}

/* ---------- Benefits ---------- */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.benefits li { display: grid; gap: 0.85rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.benefits p { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; color: var(--navy); }
.i-lg { width: 2.6rem; height: 2.6rem; padding: 0.55rem; border-radius: 50%; background: var(--pale); color: var(--ocean); stroke-width: 1.8; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .benefits li { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; padding-block: 0.9rem; }
  .benefits li:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- How it works ---------- */
.how { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.how h2 { margin-bottom: 2rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); counter-reset: none; }
.steps > li { position: relative; display: grid; gap: 0.5rem; align-content: start; }
.step-num {
  width: 3rem; height: 3rem; display: grid; place-items: center; margin-bottom: 0.6rem;
  border-radius: 50%; background: var(--navy); color: var(--white);
  font-family: var(--display); font-size: 1.35rem; font-weight: 600; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7.5px var(--ocean);
}
/* connecting line between the numbered circles */
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.5rem; left: 4.25rem; right: calc(-1 * clamp(1.5rem, 4vw, 3rem));
  border-top: 2px solid var(--rule);
}
.steps h3 { font-size: 1.32rem; }
.steps p { margin: 0; color: var(--muted); }
.cycle-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.cycle-chips li { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.cycle-chips li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ocean); }
.cycle-chips li:not(:last-child)::after { content: "→"; color: var(--muted); font-weight: 400; margin-left: 0.15rem; }
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps > li { grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.1rem; padding-bottom: 1.75rem; }
  .steps > li > :not(.step-num) { grid-column: 2; }
  .step-num { grid-row: 1 / span 3; margin: 0; }
  .steps > li:not(:last-child)::after { top: 3.4rem; bottom: 0.2rem; left: 1.5rem; right: auto; border-top: 0; border-left: 2px solid var(--rule); translate: -1px 0; }
}

.lesson-list { margin-top: 2.25rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); max-width: 52rem; }
.lesson-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.6rem;
  min-height: 3.25rem; font-weight: 600; color: var(--navy);
}
.lesson-list summary::-webkit-details-marker { display: none; }
.lesson-list summary::before {
  content: ""; width: 0.55rem; height: 0.55rem; border: solid var(--ocean); border-width: 0 2px 2px 0;
  transform: rotate(-45deg); transition: transform 0.2s ease; margin-right: 0.2rem;
}
.lesson-list[open] summary::before { transform: rotate(45deg); }
.lesson-list ol { list-style: none; columns: 2; column-gap: 3rem; padding: 0.25rem 0 1.25rem; }
.lesson-list li { break-inside: avoid; padding: 0.3rem 0; font-size: 1.02rem; color: var(--text); }
.lesson-list li span { display: inline-block; min-width: 4.25rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .lesson-list ol { columns: 1; } }

/* ---------- Email signup (shared) ---------- */
.signup { display: grid; gap: 0.75rem; }
.signup-intro { display: grid; gap: 0.3rem; }
.signup-heading { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.25; margin: 0; }
.signup-desc { margin: 0; font-size: 1.02rem; }
.signup form { display: grid; gap: 0.6rem; margin: 0; }
.signup-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem; }
.signup-row .field { flex: 1 1 15rem; min-width: 0; display: grid; gap: 0.3rem; }
.signup-row .ml-form-embedSubmit { flex: 0 0 auto; display: flex; }
.signup label { font-weight: 600; font-size: 0.95rem; }
.signup input[type="email"] {
  width: 100%; min-height: 3rem; padding: 0.6rem 0.85rem;
  font: inherit; font-size: 1.05rem; color: var(--navy);
  background: #FFFFFF; border: 1.5px solid #8A9BA8; border-radius: var(--radius);
}
.signup input[type="email"]:focus-visible { outline: 3px solid var(--ocean); outline-offset: 1px; border-color: var(--ocean); }
.signup input[aria-invalid="true"] { border-color: #9B2C1F; box-shadow: inset 0 0 0 1px #9B2C1F; }
.signup .btn.loading { cursor: progress; opacity: 0.9; }
.signup .spinner { display: inline-block; flex: none; vertical-align: -2px; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ml-spin 0.9s linear infinite; }
@keyframes ml-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .signup .spinner { animation: ml-spin 2.4s linear infinite !important; } }
.field-error { margin: 0; font-size: 0.95rem; font-weight: 600; color: #9B2C1F; }
.signup-error-box { margin: 0; padding: 0.55rem 0.8rem; font-size: 0.95rem; color: #7A2318; background: #FCE9E6; border-left: 3px solid #9B2C1F; border-radius: 3px; }
.signup-error-box:empty { display: none; }
.signup-status { margin: 0; font-size: 0.95rem; }
.signup-status:empty { display: none; }
.signup-consent { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--muted); }
.signup-done { display: grid; gap: 0.4rem; }
.signup-done p { margin: 0; }
.signup-done:focus { outline: none; }
.signup-done:focus-visible { outline: 3px solid var(--ocean); outline-offset: 4px; }
/* After a successful submission only the "You’re on the list!" message stays in the box. */
.signup.is-done > :not(.ml-block-success) { display: none !important; }

/* Inline signup band (navy, compact) */
.newsletter {
  background:
    radial-gradient(ellipse 50% 120% at 100% 0%, rgba(58, 141, 187, 0.2), transparent 70%),
    var(--navy);
  color: var(--on-navy); padding-block: clamp(2.75rem, 6vw, 4rem);
}
.signup-inline { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 64rem; }
.signup-inline .signup-intro { grid-row: span 2; }
.signup-inline .signup-heading { color: var(--on-navy); font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem); }
.signup-inline .signup-desc { color: var(--on-navy-2); }
.signup-inline label { color: var(--on-navy); }
.signup-inline input[type="email"] { border-color: var(--white); }
.signup-inline input[type="email"]:focus-visible { outline-color: var(--sky); border-color: var(--white); }
.signup-inline .field-error { color: #FFC2B8; }
.signup-inline .signup-consent { color: var(--on-navy-2); }
.signup-inline .signup-consent a { color: var(--on-navy); }
.signup-inline .signup-done .signup-heading { color: var(--on-navy); }
.signup-inline .signup-done p { color: var(--on-navy-2); font-size: 1.08rem; }
.signup-inline.is-done { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 820px) {
  .signup-inline { grid-template-columns: minmax(0, 1fr); }
  .signup-inline .signup-intro { grid-row: auto; margin-bottom: 0.4rem; }
}
@media (max-width: 480px) {
  .signup-row .ml-form-embedSubmit, .signup-row .ml-form-embedSubmit .btn { width: 100%; }
}

/* ---------- About ---------- */
/* Text on the left; a framed close-up of the bust on the right (the opening
   section uses a wider, faded crop of the same photograph). */
.about-grid { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 20rem); gap: 2rem clamp(2rem, 7vw, 6rem); align-items: center; justify-content: space-between; }
.about-photo { margin: 0; display: grid; gap: 0.75rem; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px;
  filter: saturate(0.8);
  box-shadow: 0 0 0 1px rgba(17, 46, 67, 0.08), 14px 14px 0 0 rgba(58, 141, 187, 0.18), 0 24px 40px -24px rgba(17, 46, 67, 0.45);
}
.about-photo figcaption { font-size: 0.85rem; line-height: 1.45; color: var(--muted); padding-top: 0.5rem; }
.about-photo figcaption a, .credits a { color: inherit; padding-block: 0.35rem; }
.about-photo figcaption a { color: var(--navy); }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-photo { width: min(16rem, 72vw); }
}
.quote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 2px solid var(--ocean); }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: var(--navy); margin-bottom: 0.4rem; }
.quote footer { font-size: 0.92rem; color: var(--muted); }
.text-link { font-weight: 600; }
.text-link-video { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; text-decoration: none; }
.text-link-video span { text-decoration: underline; text-underline-offset: 0.18em; }
.text-link-video .link-icon { flex: none; width: 1.3em; height: 1.3em; color: var(--ocean); }

/* ---------- YouTube community feedback ----------
   Channel comments, shown as plain text cards (no ratings, no links). */
.feedback { padding-block: clamp(3rem, 7vw, 5rem); }
.feedback .section-head { margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem); }
.comments { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.comments > li { display: flex; }
.comment {
  margin: 0; flex: 1; display: flex; flex-direction: column; gap: 1.25rem;
  background: var(--white); border-radius: 8px; padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid #DCE6EC; border-top: 3px solid var(--ocean);
  box-shadow: 0 14px 30px -24px rgba(17, 46, 67, 0.45);
}
.comment blockquote { margin: 0; }
.comment blockquote p { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; color: var(--navy); }
.comment figcaption { margin-top: auto; display: grid; gap: 0.15rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.comment-handle { font-weight: 600; font-size: 0.98rem; color: var(--navy); overflow-wrap: anywhere; }
.comment-meta { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 860px) {
  .comments { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .comment { padding: 1.35rem 1.25rem 1.2rem; gap: 1rem; }
}

/* ---------- Final purchase (navy) ---------- */
.final {
  background:
    radial-gradient(ellipse 55% 80% at 15% 50%, rgba(58, 141, 187, 0.22), transparent 70%),
    var(--navy);
  color: var(--on-navy); padding-block: clamp(3.5rem, 8vw, 6rem);
}
.final-grid { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 34rem); gap: 2.5rem clamp(2.5rem, 6vw, 5rem); justify-content: center; align-items: center; }
.final-cover { width: 100%; border-radius: 2px; box-shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.7); }
.final-body { display: grid; gap: 1rem; justify-items: start; }
.final h2 { color: var(--on-navy); margin: 0; }
.buy-facts { list-style: none; display: grid; gap: 0.35rem; font-size: 1rem; line-height: 1.45; color: var(--on-navy-2); }
.buy-facts li { position: relative; padding-left: 1.5rem; }
.buy-facts li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.32em; width: 0.38rem; height: 0.66rem;
  border: solid var(--sky); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.policy { margin: 0.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--navy-rule); font-size: 0.92rem; color: var(--on-navy-2); }
.policy a { color: var(--on-navy); }
@media (max-width: 700px) {
  .final-grid { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .final-cover { width: 9rem; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); margin-top: 1.25rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 3.5rem; padding: 0.8rem 0; font-weight: 600; font-size: 1.1rem; line-height: 1.35; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.35rem;
  border: solid var(--ocean); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.faq details > div { padding: 0 0 1.25rem; max-width: 40rem; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-2); padding-block: 2.75rem 3rem; }
.footer-inner { display: grid; gap: 1.1rem; }
.brand-footer img { width: 2.25rem; height: 2.25rem; }
.footer-contact { display: grid; gap: 0.35rem; }
.footer-heading { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); margin: 0; }
.footer-contact address { font-style: normal; font-size: 0.98rem; line-height: 1.6; color: var(--on-navy); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; }
.site-footer a { color: var(--on-navy); }
.fine { font-size: 0.88rem; color: var(--on-navy-2); margin: 0; max-width: 46rem; }
.credits { font-size: 0.82rem; }

/* ---------- Newsletter popup ----------
   Compact centred dialog on wider screens; a bottom sheet on phones. */
.popup {
  width: min(27rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem);
  margin: auto; padding: 0; overflow: auto;
  background: var(--white); color: var(--text);
  border: 0; border-top: 4px solid var(--ocean); border-radius: 10px;
  box-shadow: 0 30px 70px -30px rgba(11, 33, 49, 0.7);
}
.popup::backdrop { background: rgba(11, 33, 49, 0.6); }
.popup .signup-popup { padding: 1.75rem 1.5rem 1.4rem; }
.popup-logo { width: 3rem; height: 3rem; margin-bottom: 0.5rem; }
.popup .signup-heading { padding-right: 2rem; color: var(--navy); }
.popup .signup-heading:focus { outline: none; }
.popup .signup-desc { color: var(--muted); }
.popup .signup-row { flex-direction: column; align-items: stretch; }
.popup .signup-row .field { flex: none; }
.popup .signup-row .ml-form-embedSubmit, .popup .signup-row .ml-form-embedSubmit .btn { width: 100%; }
.popup .signup.is-done { padding-block: 2rem 1.75rem; }
.popup-close {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 1;
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 50%;
  color: var(--navy); font: 400 1.75rem/1 var(--sans); cursor: pointer;
}
.popup-close:hover { background: var(--pale); }
.popup-close:focus-visible { outline: 3px solid var(--ocean); outline-offset: 0; }
@media (max-width: 640px) {
  .popup {
    width: 100%; max-width: 100%; max-height: 85dvh;
    margin: auto 0 0; border-radius: 14px 14px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .popup .signup-popup { padding: 1.4rem 1.15rem 1.2rem; }
  .popup[open] { animation: popup-up 0.22s ease-out; }
}
@keyframes popup-up { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Page viewer (lightbox) ---------- */
.viewer {
  width: min(56rem, 100vw); max-width: 100vw; max-height: 100dvh; height: 100dvh;
  margin: auto; padding: 0; border: 0; background: var(--white); color: var(--text);
}
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.viewer::backdrop { background: rgba(11, 33, 49, 0.88); }
.viewer-bar, .viewer-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; }
.viewer-bar { border-bottom: 1px solid var(--rule); }
.viewer-nav { border-top: 1px solid var(--rule); }
.viewer-caption { margin: 0; font-size: 1rem; font-weight: 600; color: var(--navy); min-width: 0; }
.viewer-stage { overflow: auto; padding: 1rem; background: var(--pale); display: grid; justify-items: center; align-items: start; }
.viewer-stage img { width: auto; max-width: 100%; max-height: 100%; height: auto; box-shadow: 0 10px 26px -14px rgba(11, 33, 49, 0.5); background: var(--white); }
.viewer button {
  font: inherit; font-weight: 600; font-size: 0.98rem; cursor: pointer;
  background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); border-radius: var(--radius);
  padding: 0.45rem 0.95rem; min-height: 2.75rem;
}
.viewer button:hover { background: var(--pale); }
#viewerCount { font-size: 0.95rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .viewer { height: min(100dvh, 62rem); max-height: calc(100dvh - 2rem); border-radius: 8px; } }

/* ---------- Policy pages (privacy.html, terms.html) ---------- */
.header-back { margin-left: auto; display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.98rem; color: var(--on-navy-2); text-decoration: none; white-space: nowrap; }
.header-back:hover { color: var(--on-navy); text-decoration: underline; }
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); line-height: 1.12; margin-bottom: 0.75rem; }
.legal-date { font-size: 0.98rem; color: var(--muted); padding-bottom: 1.5rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--rule); }
.legal section { padding-top: 1.75rem; }
.legal h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.legal p, .legal li { font-size: 1.06rem; }
.legal ul { padding-left: 1.25rem; display: grid; gap: 0.45rem; margin-bottom: 1rem; }
.legal li::marker { color: var(--ocean); }
.legal address { font-style: normal; font-size: 1.06rem; line-height: 1.55; margin-bottom: 1rem; }
.legal .addr-label { margin-bottom: 0.2rem; }
.legal a { overflow-wrap: anywhere; }
@media (max-width: 420px) { .header-back { font-size: 0.92rem; } }

/* ---------- Scroll reveals ----------
   Content below the opening section fades in and rises ~20px once, as it
   enters the viewport. Only active when script.js adds .reveal-on to <html>,
   so everything stays visible without JavaScript. Skipped entirely for
   visitors who prefer reduced motion. Dialogs and form messages are not
   marked for reveal. */
.reveal-on [data-reveal] {
  transition: opacity 0.52s ease-out, transform 0.52s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-on [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(20px); }
.previews > li:nth-child(2), .benefits > li:nth-child(2), .steps > li:nth-child(2), .comments > li:nth-child(2) { --reveal-delay: 80ms; }
.previews > li:nth-child(3), .benefits > li:nth-child(3), .steps > li:nth-child(3), .comments > li:nth-child(3) { --reveal-delay: 160ms; }
.benefits > li:nth-child(4) { --reveal-delay: 240ms; }
.about-photo[data-reveal] { --reveal-delay: 100ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal], .reveal-on [data-reveal]:not(.is-visible) { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print {
  .reveal-on [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}
