/* Shared by every sales page. src/build-sales-pages.js puts this first, then the page's own style.css, into one
   style.css. Only what two real pages proved they share is here: the reset, the hidden-text helper and the standard
   footer. Everything else (colours, type, layout) stays in each page's own style.css. */

* { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The standard Foundry footer (CLAUDE.md "Footer"): the same paper strip as the blog, About, legal and Products pages
   (colours and sizes from src/blog/assets/style.css; src/test-sales-pages.js checks they still match). It takes the
   page's own font. The thin rule on top is only there because sales pages are white, not sage like the rest. */
footer {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 56px; padding: 14px 24px; background: #FAF7F0; color: #555555;
  border-top: 1px solid #d8d8d8; font-size: 13px; text-align: center;
}
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.credit { margin: 0; font-size: 12px; }
footer a { text-decoration: none; }
footer a:hover, footer a:focus-visible { text-decoration: underline; }

/* The Stop Dreaming - Start Doing sales page.
   Matches the WordPress page it replaces (colours, type and layout read from the live page on 2026-11-12): the same
   narrow letter as the other pages here, but in a dashed deep-blue rounded border, with a navy panel for the big
   opening line, a dark red "Introducing" heading and one blue button. Muli, self-hosted from fonts/ (no request to
   Google). The sky photograph the WordPress page used as its background is not used, at Neil's request; the page sits
   on a pale sky-blue instead. Sizes shrink on a phone. The reset and footer come from ../_shared.css. */

@font-face { font-family: 'Muli'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("fonts/muli-latin.woff2") format("woff2"); }

:root {
  --ink: #0c1115;
  --grey: #6a6b6c;
  --frame: #201652;
  --panel: #163974;
  --red: #ea1e0c;
  --maroon: #842726;
  --blue: #2f8ae5;
  --page: #e6f0fa;
  --rule: #424242;
  --font: 'Muli', Arial, sans-serif;
}

body {
  margin: 0; background: var(--page); color: var(--grey);
  font-family: var(--font); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { padding: 44px 12px 20px; }

.letter {
  max-width: 738px; margin: 0 auto 20px; padding: 20px;
  background: #fff; border: 8px dashed var(--frame); border-radius: 20px;
}
.letter p { margin: 0 0 18px; font-size: clamp(17px, calc(12px + 0.9vw), 18px); line-height: 1.75; }
.letter strong { font-weight: 800; }
.letter s { text-decoration: line-through; }

/* ---- Opening ---- */
.kicker { margin: 10px 0 20px; text-align: center; color: var(--red); font-weight: 800; line-height: 1.4; font-size: clamp(20px, calc(12px + 1.7vw), 25px); }
.panel { background: var(--panel); padding: 8px 14px; margin: 0 0 22px; }
.panel h2 { margin: 0; text-align: center; color: #fff; font-weight: 400; line-height: 1.75; font-size: clamp(22px, calc(12px + 2.4vw), 33px); }
.letter .lede { text-align: left; font-size: clamp(17px, calc(12px + 1.1vw), 20px); }
.letter .statement { text-align: center; font-size: clamp(17px, calc(12px + 1vw), 19px); margin-block: 22px; }

/* ---- The product ---- */
.product { margin: 34px 0 6px; text-align: center; color: var(--maroon); font-weight: 800; line-height: 1.4; font-size: clamp(24px, calc(14px + 2.2vw), 31px); }
.letter .subtitle { text-align: center; font-size: clamp(17px, calc(11px + 1.3vw), 21px); margin-bottom: 8px; }
.letter .pages { text-align: center; font-size: clamp(18px, calc(12px + 1.4vw), 23px); }
.letter .detail { text-align: center; font-size: clamp(16px, calc(11px + 1.1vw), 19px); }
.guides { margin: 0 0 22px; padding-left: 48px; }
.guides li { margin: 0 0 6px; font-size: clamp(16px, calc(11px + 0.9vw), 18px); line-height: 1.5; }

/* ---- Price and the button ---- */
.price-head { margin: 28px 0 10px; text-align: center; font-weight: 800; font-size: clamp(22px, calc(12px + 2vw), 27px); }
.letter .price { text-align: center; }
.pic { text-align: center; }
.pic img { margin: 0 auto; max-width: 100%; height: auto; }
.letter .arrow { margin: 6px 0 0; }
.arrow img { width: 181px; }
.letter .buy { margin: 0; text-align: center; }
.btn {
  display: inline-block; max-width: 100%; background: var(--blue); color: #fff; text-decoration: none; text-align: center;
  border-radius: 5px; padding: 22px 18px 18px; font-weight: 800; letter-spacing: 2px; font-size: clamp(15px, calc(10px + 1.1vw), 18px); line-height: 1.3;
}
.btn:hover, .btn:focus-visible { background: #1f77d0; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.letter .cards { margin: 18px 0 8px; }
.cards img { width: 426px; }
.letter .secure { text-align: center; color: var(--grey); font-size: 12px; margin: 0 0 4px; }

/* ---- Earnings disclaimer: real text (it was white 8 px text over a photo on WordPress) ---- */
.earnings { max-width: 738px; margin: 0 auto 36px; padding: 18px 22px 4px; background: #fff; border-radius: 10px; color: #4a4a4a; }
.earnings p { margin: 0 0 14px; font-size: 13px; line-height: 1.6; }

/* ---- Smaller screens ---- */
@media (max-width: 600px) {
  main { padding: 16px 8px 14px; }
  .letter { padding: 14px; border-width: 6px; border-radius: 16px; }
  .guides { padding-left: 34px; }
  .btn { padding: 18px 12px 14px; letter-spacing: 1px; }
}
