/* 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 Interview With Tony Shepherd sales page.
   Matches the WordPress page it replaces (colours, type and layout read from the live page on 2026-11-12): a narrow
   letter on a white page inside a deep-blue dotted border, Muli body text, Literata for the red heading and the
   teaser, Libre Franklin for the order-form lines, one blue buy button used twice.
   Sizes shrink on a phone (the WordPress page kept its 53px title and 56px button text at 375px wide).
   The reset and footer come from ../_shared.css; fonts are self-hosted from fonts/ (no request to Google). */

@font-face { font-family: 'Muli'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("fonts/muli-latin.woff2") format("woff2"); }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/literata-latin.woff2") format("woff2"); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/libre-franklin-latin.woff2") format("woff2"); }

:root {
  --ink: #0c1115;
  --grey: #6a6b6c;
  --frame: #201652;        /* the dotted border */
  --red: #e11d09;          /* small red lines and "What Exactly Do You Get?" */
  --red-title: #fc080f;    /* the big red heading */
  --blue: #2f8ae5;         /* the buy button */
  --rule: #424242;
  --font-body: 'Muli', Arial, sans-serif;
  --font-serif: 'Literata', Georgia, serif;
  --font-order: 'Libre Franklin', Arial, sans-serif;
}

body {
  margin: 0; background: #fff; color: var(--grey);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- The letter ---- */
.letter {
  max-width: 738px; margin: 30px auto 20px; padding: 20px;
  border: 8px dotted var(--frame); background: #fff;
}
.letter p { margin: 0 0 18px; font-size: clamp(18px, calc(12px + 1.1vw), 23px); line-height: 1.75; }
.letter strong { font-weight: 800; }
main { padding-inline: 12px; }

/* ---- Masthead: Tony, the teaser, Neil ---- */
.masthead { display: grid; grid-template-columns: 125px 1fr 125px; gap: 15px; align-items: start; margin: 10px 0 0; }
.who { text-align: center; }
.who img { width: 125px; height: auto; margin: 20px auto 0; }
.letter .who p { margin: 12px 0 0; font-size: 13px; font-weight: 800; line-height: 1.75; color: var(--grey); }
.teaser { text-align: center; padding-top: 10px; }
.letter .teaser-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(17px, calc(11px + 1.3vw), 24px); line-height: 1.4; color: var(--ink); margin: 0 0 12px; }
.teaser-title b { font-weight: 700; }
.letter .teaser-note { color: var(--red); font-weight: 800; font-size: clamp(14px, calc(10px + 0.8vw), 17px); line-height: 1.75; }

/* ---- Title and dividers ---- */
.big-title {
  margin: 4px 0 0; text-align: center; color: var(--grey);
  font-family: var(--font-body); font-weight: 700; line-height: 1.55;
  font-size: clamp(30px, calc(14px + 4vw), 53px);
}
.rule { border: 0; border-bottom: 2px solid var(--rule); margin: 20px 40px; }
.letter .from { font-style: italic; font-size: clamp(19px, calc(12px + 1.2vw), 24px); margin: 8px 0 0; line-height: 1.75; }
.letter .sig { margin: 0 0 24px; }
.sig img { width: 197px; max-width: 100%; height: auto; }

/* ---- Pictures ---- */
.pic { text-align: center; }
.pic img { margin: 0 auto; width: 640px; max-width: 100%; height: auto; }
.letter .pic { margin: 18px 0 24px; }
.letter .pic.cards { margin: 16px 0 10px; }
.pic.cards img { width: 328px; }

/* ---- Headings in the body ---- */
.red-title {
  margin: 30px 0 20px; text-align: center; color: var(--red-title);
  font-family: var(--font-serif); font-weight: 600; line-height: 1.3;
  font-size: clamp(25px, calc(15px + 2.2vw), 41px);
}
.letter .what { text-align: center; color: var(--red); font-family: var(--font-order); font-weight: 700; font-size: clamp(22px, calc(14px + 1.6vw), 29px); line-height: 1.75; margin: 6px 0 12px; }

/* ---- Lists ---- */
.letter ul { margin: 0 0 22px; padding-left: 30px; }
.letter li { margin: 0 0 8px; font-size: clamp(18px, calc(12px + 1.1vw), 23px); line-height: 1.4; }
.letter .questions li { line-height: 1.4; margin-bottom: 8px; }

/* ---- Buy button ---- */
.letter .buy { margin: 24px 0 0; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 15px;
  background: var(--blue); color: #fff; text-decoration: none; text-align: center;
  border-radius: 5px; padding: 18px; font-weight: 800; letter-spacing: 2px;
}
.btn:hover, .btn:focus-visible { background: #1f77d0; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.card-icon { flex: none; width: 18px; height: 14px; fill: currentColor; }
.btn-text { font-size: clamp(24px, calc(10px + 4.4vw), 56px); line-height: 1.07; }

/* ---- Order-form lines ---- */
.letter .secure { text-align: center; color: var(--ink); font-family: var(--font-order); font-size: 11px; line-height: 1.75; margin: 0 0 6px; }
.letter .secure b { font-weight: 700; }
.letter .secure.big { font-size: clamp(16px, calc(11px + 0.9vw), 21px); line-height: 1.75; margin: 10px 0 14px; }
.letter .secure em b { font-weight: 500; }

/* ---- The two signatures ---- */
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: center; margin: 20px 0; }
.signs img { margin: 0 auto; max-width: 100%; height: auto; }
.signs img:first-child { width: 274px; }
.signs img:last-child { width: 226px; }

/* ---- Earnings disclaimer: the words that were a picture on the WordPress page ---- */
.earnings { max-width: 738px; margin: 0 auto 40px; padding: 0 4px; font-family: var(--font-order); color: #4a4a4a; }
.earnings h2 { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.earnings p { margin: 0 0 14px; font-size: 13px; line-height: 1.6; }

/* ---- Smaller screens ---- */
@media (max-width: 600px) {
  .letter { padding: 14px; border-width: 6px; }
  .masthead { grid-template-columns: 1fr 1fr; gap: 10px; }
  .masthead .teaser { grid-column: 1 / -1; grid-row: 2; }
  .masthead .who-neil { grid-column: 2; grid-row: 1; }
  .rule { margin-inline: 10px; }
  .letter ul { padding-left: 22px; }
  .signs { grid-template-columns: 1fr; }
  .btn { padding: 14px 10px; gap: 10px; letter-spacing: 1px; }
}
