/* ===================================================================
   Mike's Retirement Checkpoints — the sales page

   Sits on top of foundation/tokens.css, which carries the colour, the
   20px base and the focus rings. Nothing here overrides those.

   The reader is 55 to 75, often on an iPad, often in a bright kitchen.
   So: one column, big type, no reveal-on-scroll, no carousel, no
   countdown, nothing that moves on its own.
   =================================================================== */

body{
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

.wrap{
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ---- the bar ---- */

.sitebar{
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 0;
}
.sitebar .wrap{
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.sitebar .brand{
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.sitebar .from{
  color: #C9D8E8;
  font-size: 0.8rem;
  margin-left: auto;
}

/* ---- sections ---- */

section{ padding: 2.6rem 0; border-bottom: 1px solid var(--line-2); }
section:last-of-type{ border-bottom: 0; }

h1{
  font-size: 2.1rem;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
h2{
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.8rem;
}
h3{
  font-size: 1.1rem;
  margin: 1.6rem 0 0.4rem;
}
p{ margin: 0 0 1rem; line-height: 1.6; }
.lede{ font-size: 1.15rem; color: var(--ink-soft); }
.eyebrow{
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

/* On a phone the hero headline is the whole first screen if it is left at
   desktop size, and the price ends up three swipes down. */
@media (max-width: 30rem){
  h1{ font-size: 1.55rem; }
  h2{ font-size: 1.3rem; }
  section{ padding: 2rem 0; }
  .sitebar .from{ display: none; }
}

/* ---- the buy block ---- */

.buy{
  background: var(--surface);
  border: 3px solid var(--navy);
  border-radius: 16px;
  padding: 1.4rem;
  margin: 1.6rem 0;
  text-align: center;
}
.buy .price{
  font-size: 2.4rem;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  display: block;
  line-height: 1.1;
}
.buy .once{ color: var(--ink-soft); font-size: 0.95rem; margin: 0.2rem 0 1rem; }
.buy .btn{ width: 100%; font-size: 1.15rem; }
.buy .small{
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0.9rem 0 0;
}

/* ---- pictures of the actual thing ---- */

figure{ margin: 1.4rem 0; }
figure img{
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
figure img.plain{ border: 0; border-radius: 0; }
figcaption{
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

.two{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 40rem){ .two{ grid-template-columns: 1fr; } }

/* ---- lists ---- */

ul.plain{ list-style: none; padding: 0; margin: 0 0 1rem; }
ul.plain li{
  padding: 0.55rem 0 0.55rem 1.9rem;
  border-bottom: 1px solid var(--line-2);
  position: relative;
  line-height: 1.5;
}
ul.plain li:before{
  content: "";
  position: absolute;
  left: 0.3rem; top: 1.05rem;
  width: 0.55rem; height: 0.55rem;
  background: var(--navy);
  border-radius: 50%;
}
ul.no li:before{ background: var(--bad); }

/* ---- the question and answer block ---- */

.qa{ border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.qa h3{ margin-top: 0; }

/* ---- a plain fact panel ---- */

.panel{
  background: var(--surface);
  border-left: 4px solid var(--navy);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
}
.panel h3{ margin-top: 0; }
.panel.warn{ border-left-color: var(--gold); }

/* ---- the state list ---- */

.states{
  columns: 3 9rem;
  column-gap: 1.2rem;
  font-size: 0.95rem;
  margin: 0.8rem 0 1rem;
  padding: 0;
  list-style: none;
}
.states li{ padding: 0.15rem 0; break-inside: avoid; }
.states li.todo{ color: var(--ink-soft); }

/* ---- footer ---- */

footer{
  background: var(--navy);
  color: #E8EEF4;
  padding: 2rem 0 2.6rem;
  font-size: 0.92rem;
}
footer a{ color: #FFD98A; }
footer nav{ margin-bottom: 1rem; display: flex; gap: 1.2rem; flex-wrap: wrap; }
footer p{ line-height: 1.55; }

/* ---- print: nobody needs the sales page on paper, but do not break it ---- */

@media print{
  .sitebar, .buy, footer nav{ display: none; }
  figure{ break-inside: avoid; }
}
