/* Donna landing page. Plan: Naval's research/donna-page-design-plan.md (approved by CP 2026-10-25). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #F5F6F8;
  --card: #FFFFFF;
  --ink: #18202E;
  --slate: #556070;
  --rule: #DCE0E6;
  --done: #1E7346;
  --done-ink: #FFFFFF;
  --done-tint: #E4F2EA;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #11161F;
    --card: #19202B;
    --ink: #E9ECF1;
    --slate: #A3ACBA;
    --rule: #2C3542;
    --done: #4FB37C;
    --done-ink: #0C1A12;
    --done-tint: #1A3326;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--done); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.read { display: grid; grid-template-columns: 300px minmax(0, 680px); column-gap: 72px; align-items: start; }
.read > h2 { grid-column: 1; grid-row: 1 / span 20; position: sticky; top: 24px; }
.read > :not(h2) { grid-column: 2; }

/* Type scale: 56 / 36 / 22 / 18 (each step at least 1.5x on desktop) */
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: 56px; line-height: 1.05; }
h2 { font-size: 36px; line-height: 1.15; margin-bottom: 20px; }
h3 { font-family: var(--serif); font-size: 27px; line-height: 1.25; font-weight: 600; margin-bottom: 6px; }
p + p { margin-top: 14px; }
.muted { color: var(--slate); }
.small { font-size: 16px; }

/* Nav */
.nav { border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 700; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--slate); }
.nav-links a:not(.btn):hover { color: var(--ink); text-decoration: underline; }

/* The one button */
.btn {
  display: inline-block;
  background: var(--done);
  color: var(--done-ink);
  font-weight: 600;
  font-size: 18px;
  padding: 15px 26px;
  border-radius: 8px;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.nav .btn { font-size: 15px; padding: 10px 16px; }
.cta { margin-top: 32px; }
.cta .note { display: block; margin-top: 12px; font-size: 15px; color: var(--slate); }

/* Sections: quiet, separated by space and one rule */
section { padding: 88px 0; border-top: 1px solid var(--rule); }

/* Hero */
.hero { border-top: none; padding: 72px 0 80px; }
.hero .intro { max-width: 820px; }
.hero .week { margin-top: 56px; }
.pain { font-size: 21px; margin-top: 22px; color: var(--ink); }
.sub { margin-top: 14px; color: var(--slate); }
.how { margin-top: 14px; font-size: 16px; color: var(--slate); border-left: 3px solid var(--rule); padding-left: 14px; }
.hero .alt { margin-left: 18px; font-size: 16px; color: var(--slate); }

/* The bold element: next week, filling up */
.week { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 22px; }
.week-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.week-head strong { font-family: var(--serif); font-size: 22px; }
.week-head span { font-size: 14px; color: var(--slate); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { min-height: 150px; border: 1px dashed var(--rule); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.day b { font-size: 13px; color: var(--slate); font-weight: 600; }
.slot { background: var(--done-tint); border-radius: 8px; padding: 9px; font-size: 14px; line-height: 1.35; animation: fill .45s ease-out both; }
.slot i { display: block; font-style: normal; font-weight: 600; color: var(--done); margin-bottom: 2px; }
.slot.essay { background: transparent; border: 1px solid var(--done); }
.day:nth-child(2) .slot { animation-delay: .1s; } .day:nth-child(3) .slot { animation-delay: .2s; }
.day:nth-child(4) .slot { animation-delay: .3s; } .day:nth-child(5) .slot { animation-delay: .4s; }
.day:nth-child(6) .slot { animation-delay: .5s; } .day:nth-child(7) .slot { animation-delay: .6s; }
.legend { margin-top: 12px; font-size: 13px; color: var(--slate); }
@keyframes fill { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slot { animation: none; } }

/* Proof */
.hero-quote { margin-top: 36px; max-width: 560px; border-top: 1px solid var(--rule); padding-top: 18px; }
.hero-quote blockquote { font-size: 21px; }
.quotes.three { grid-template-columns: repeat(3, 1fr); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 8px; }
blockquote { font-family: var(--serif); font-size: 24px; line-height: 1.4; }
blockquote p + p { margin-top: 10px; }
figcaption { margin-top: 12px; font-size: 15px; color: var(--slate); }
.shot { margin-top: 16px; max-width: 300px; border: 1px solid var(--rule); border-radius: 10px; }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; counter-reset: s; margin-top: 8px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; margin-top: 26px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--done); color: var(--done); font-weight: 600; display: grid; place-items: center; font-size: 16px; }

/* Plain lists of outcomes / FAQ */
.plain > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.plain > div:first-child { border-top: 1px solid var(--rule); }
.plain h3 { font-size: 27px; }
.plain p { color: var(--slate); }

/* Example sitting */
.chat { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 22px 24px; max-width: 680px; }
.chat .tag { font-size: 13px; color: var(--slate); margin-bottom: 10px; }
.msg { padding: 8px 0; }
.msg b { display: block; font-size: 13px; color: var(--slate); font-weight: 600; }
.msg.donna b { color: var(--done); }
.slide { display: none; }
.slide.on { display: block; }
.pager { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 15px; }
.pager button { font: inherit; background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-radius: 8px; padding: 7px 14px; cursor: pointer; }
.pager button:hover { border-color: var(--done); }

/* Price */
.price { font-family: var(--serif); font-size: 56px; font-weight: 700; line-height: 1; }
.price span { font-size: 22px; font-weight: 600; color: var(--slate); }

/* Not-list, links, footer */
.not li { margin-top: 10px; margin-left: 20px; color: var(--slate); }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.links ul { list-style: none; }
.links li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.links li a { font-weight: 600; }
.links li span { display: block; font-size: 15px; color: var(--slate); }
footer { padding: 40px 0 56px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--slate); }

/* Tablet and phone */
@media (max-width: 900px) {
  .hero .week { margin-top: 40px; }
  .quotes, .quotes.three, .links { grid-template-columns: 1fr; gap: 36px; }
  .read { display: block; }
  .read > h2 { position: static; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  h1 { font-size: 38px; }
  h2 { font-size: 27px; }
  h3, .plain h3 { font-size: 25px; }
  blockquote { font-size: 20px; }
  .price { font-size: 44px; }
  section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .hero .alt { display: block; margin: 14px 0 0; }
  .days { grid-template-columns: 1fr; }
  .day { min-height: 0; flex-direction: row; align-items: center; }
  .day b { width: 40px; flex-shrink: 0; }
  .slot { flex: 1; }
}

/* Comparison and alternative pages */
.sub-hero { padding: 64px 0 40px; }
.sub-hero h1 { max-width: 820px; }
.sub-hero .sub { max-width: 720px; margin-top: 18px; font-size: 20px; }
.article > * { max-width: 720px; }
.article h2 { margin-top: 48px; margin-bottom: 14px; font-size: 32px; }
.article h2:first-child { margin-top: 0; }
table.compare { width: 100%; max-width: 820px; border-collapse: collapse; margin-top: 8px; font-size: 17px; }
.compare th { text-align: left; font-size: 15px; color: var(--slate); font-weight: 600; padding: 10px 12px 10px 0; border-bottom: 1.5px solid var(--ink); }
.compare td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare td span { display: block; color: var(--slate); font-size: 15px; margin-top: 2px; }
.compare td:last-child { width: 34%; font-weight: 600; }
.cardlist { list-style: none; max-width: 820px; }
.cardlist li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.cardlist li:first-child { border-top: 1px solid var(--rule); }
.cardlist li a { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.cardlist li span { display: block; color: var(--slate); margin-top: 4px; }
@media (max-width: 600px) {
  .sub-hero { padding: 40px 0 24px; }
  .article h2 { font-size: 25px; }
  .compare td:last-child { width: 38%; }
}
.checked { margin-top: 14px; font-size: 14px; color: var(--slate); }
