/* 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 Say This sales page.
   On WordPress this page was one picture on a navy page that fades to black. This rebuilds it as real HTML in the same
   spirit: amber banner, white and amber condensed type, the two-question flow chart in rounded amber boxes, a four-part
   feature bar, a big price and an amber button. It is not a pixel copy of the picture.
   Font: Barlow Condensed (600 and 800), self-hosted from fonts/ (no request to Google). Icons are inline SVG drawn
   in body.html. The reset and footer come from ../_shared.css. */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-600-latin.woff2") format("woff2"); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-800-latin.woff2") format("woff2"); }

:root {
  --navy: #000f20;
  --card: #081930;
  --amber: #ffb81c;
  --amber-light: #ffc83a;
  --white: #ffffff;
  --soft: #d8dde6;
  --line: rgba(255, 255, 255, 0.3);
  --font: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
}

body {
  margin: 0; background: var(--navy); color: var(--white);
  font-family: var(--font); font-weight: 600; font-size: 20px; line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}
main {
  background: linear-gradient(rgba(255, 255, 255, 0) 0%, #000 100%), var(--navy);
  padding-bottom: 36px;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- Banner ---- */
.banner { background: linear-gradient(#ffc21a, #f09a05); color: #000; text-align: center; padding: 14px 16px 12px; }
.banner p { font-weight: 800; font-size: clamp(24px, 6vw, 54px); line-height: 1.1; letter-spacing: 0.01em; }

/* ---- Two columns: title, photo, benefits | the flow chart ---- */
.page { max-width: 980px; margin: 0 auto; padding: 34px 20px 10px; display: grid; grid-template-columns: 0.8fr 1fr; gap: 40px 36px; align-items: start; }

h1 { margin: 0; color: var(--white); font-weight: 800; font-size: clamp(60px, 13.5vw, 104px); line-height: 0.95; letter-spacing: 0.005em; white-space: nowrap; }
.product { margin-top: 14px; color: var(--amber); font-weight: 800; font-size: clamp(38px, 8vw, 64px); line-height: 1.05; }
.tagline { margin-top: 22px; padding-top: 14px; border-top: 4px solid var(--amber); width: 74%; font-weight: 600; color: var(--white); font-size: clamp(26px, 5vw, 38px); line-height: 1.15; }
.neil { width: 260px; max-width: 80%; height: auto; margin: 26px 0 8px 10px; border-radius: 50%; border: 6px solid var(--amber); box-shadow: 0 0 24px rgba(255, 184, 28, 0.25); }

.benefits { margin-top: 16px; border-top: 1px solid var(--line); }
.benefits li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.icon-ring { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border: 2.5px solid var(--amber); border-radius: 50%; color: var(--white); font-size: 34px; background: var(--card); }
.benefit-text { font-size: clamp(21px, 3.2vw, 27px); line-height: 1.15; color: var(--soft); }
.benefit-text strong { color: var(--white); font-weight: 800; }

/* ---- The flow chart ---- */
.q-label { text-align: center; font-weight: 800; font-size: 22px; letter-spacing: 0.04em; color: var(--white); }
.q-box {
  margin: 6px auto 0; max-width: 280px; padding: 14px 18px; text-align: center;
  background: var(--card); border: 2.5px solid var(--amber); border-radius: 12px;
  font-weight: 600; font-size: clamp(25px, 4.2vw, 33px); line-height: 1.1; position: relative;
}
.q-box::after { content: ""; position: absolute; left: 50%; bottom: -22px; width: 3px; height: 20px; background: var(--amber); transform: translateX(-50%); }
.options { position: relative; margin: 30px 0 0 34px; display: grid; gap: 14px; }
.options::before { content: ""; position: absolute; left: -22px; top: 26px; bottom: 26px; width: 3px; background: var(--amber); border-radius: 2px; }
.options li {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: var(--card); border: 2.5px solid var(--amber); border-radius: 12px;
  font-weight: 600; font-size: clamp(23px, 3.8vw, 30px); line-height: 1.1;
}
.options li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 18px; height: 3px; background: var(--amber); }
.options li::after { content: ""; position: absolute; left: -9px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 8px solid var(--amber); border-right: 0; }
.options .icon { color: var(--amber); font-size: 34px; }

.q2 { margin-top: 36px; }
.goals { margin-top: 30px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: relative; }
.goals::before { content: ""; position: absolute; left: 8%; right: 8%; top: -16px; height: 3px; background: var(--amber); }
.goals li {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 2px;
  background: var(--card); border: 2.5px solid var(--amber); border-radius: 10px; text-align: center;
  font-weight: 600; font-size: clamp(17px, 2.6vw, 21px); line-height: 1.05; overflow-wrap: anywhere;
}
.goals .icon { color: var(--white); font-size: 32px; }

.decides { margin-top: 26px; text-align: center; color: var(--amber); font-weight: 800; font-size: 28px; letter-spacing: 0.03em; }
.result {
  margin: 12px auto 0; max-width: 300px; padding: 22px 16px; text-align: center;
  background: var(--card); border: 2.5px solid var(--amber); border-radius: 14px;
  box-shadow: 0 0 34px rgba(255, 184, 28, 0.35);
}
.result .icon.big { display: block; margin: 0 auto 6px; width: 88px; height: 88px; color: var(--amber); stroke-width: 1.4; }
.result-text { font-weight: 800; font-size: clamp(34px, 6vw, 46px); line-height: 1.05; color: var(--white); }
.result-text span { display: block; color: var(--amber); }

/* ---- Features, price, button ---- */
.buy-area { max-width: 980px; margin: 0 auto; padding: 14px 20px 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.features li { display: flex; align-items: center; gap: 12px; padding: 20px 16px; font-weight: 600; font-size: clamp(20px, 2.6vw, 25px); line-height: 1.1; }
.features li + li { border-left: 1.5px solid var(--line); }
.features .icon { font-size: 42px; color: var(--white); }

.price { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.amount { font-weight: 800; font-size: clamp(88px, 20vw, 170px); line-height: 0.9; color: var(--amber); }
.price-note { font-weight: 800; font-size: clamp(24px, 4.6vw, 36px); line-height: 1.15; max-width: 9em; color: var(--white); }
.buy { margin-top: 18px; }
.btn {
  display: block; text-align: center; text-decoration: none; color: #0c0c0c;
  background: linear-gradient(#ffcb2a, #fba800); border-radius: 14px; padding: 14px 16px 12px;
  font-weight: 800; font-size: clamp(34px, 8vw, 66px); line-height: 1.1; letter-spacing: 0.01em;
  box-shadow: 0 6px 24px rgba(255, 184, 28, 0.25);
}
.btn:hover, .btn:focus-visible { background: linear-gradient(#ffd75a, #ffb81c); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.promise { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; font-size: clamp(22px, 4vw, 30px); color: var(--white); }
.promise .icon { font-size: 40px; color: var(--amber); }

/* ---- Smaller screens ---- */
@media (max-width: 860px) {
  .page { grid-template-columns: 1fr; gap: 34px; }
  .tagline { width: 100%; max-width: 420px; }
  .neil { margin-left: 0; }
  .flow { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .goals { grid-template-columns: repeat(3, 1fr); }
  .goals::before { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .features li:nth-child(3) { border-left: 0; }
  .features li:nth-child(n + 3) { border-top: 1.5px solid var(--line); }
  .price { gap: 14px; }
}
