/* 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 Fail-Proof Navigator Toolkit sales page.
   Matches the WordPress page it replaces (colours, type and layout were read from the live page on 2026-11-12):
   hero picture and heading, light-blue and navy bands, orange buttons, Muli body text, Libre Franklin headings.
   One difference on purpose: the sizes shrink on a phone (the WordPress page kept its 61px heading at 375px wide).
   Fonts are self-hosted from fonts/ (no request to Google). Written for this page first; a second sales page
   copies it, and the shared parts are pulled out once two pages prove what they share. */

@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: 'Libre Franklin'; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/libre-franklin-600-latin.woff2") format("woff2"); }

:root {
  --ink: #0c1115;
  --grey: #6a6b6c;
  --orange: #ff5500;
  --red: #f50e0e;
  --navy: #08072e;
  --navy-text: #071540;
  --hero-title: #0a1b4e;
  --qa: #344a72;
  --tint: rgba(223, 241, 251, 0.5);   /* light blue wash over the white page */
  --rule: #424242;
  --disclaimer-bg: #ebecee;
  --font-body: 'Muli', Arial, sans-serif;
  --font-head: 'Libre Franklin', Arial, sans-serif;
}

body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1124px; margin: 0 auto; padding-inline: 22px; }  /* 1080 of content */
.sec { position: relative; padding-block: 36px; }
.tint { background: var(--tint); }
.dark { background: var(--navy); }

/* ---- Headings ---- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; }
h1 {
  color: var(--hero-title); text-align: center; line-height: 1.3;
  font-size: clamp(30px, calc(14px + 3.8vw), 61px); margin-bottom: 12px;
}
h1 em { font-style: italic; }
.tagline { color: var(--red); text-align: center; line-height: 1.4; font-size: clamp(21px, calc(13px + 1.7vw), 34px); margin-bottom: 20px; }
.subline { color: var(--ink); text-align: center; line-height: 1.4; font-size: clamp(17px, calc(11px + 1.1vw), 25px); max-width: 1040px; margin: 0 auto; }
.section-title { color: var(--ink); line-height: 1.4; font-size: clamp(25px, calc(16px + 1.5vw), 36px); margin: 0 0 20px; text-align: center; }
.section-title.left { text-align: left; }
.section-title.small { font-size: clamp(22px, calc(14px + 1.1vw), 30px); }
.section-title.white { color: #fff; }
.section-title.navy { color: var(--navy-text); text-align: left; padding-top: 15px; }
.section-title.center { padding-top: 20px; }

/* ---- Hero: the picture is a faint wash behind the words ---- */
.hero { padding-block: 22px 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("img/hero-bg.webp") center / cover no-repeat; opacity: 0.26;
}
.hero .wrap { position: relative; }

/* ---- Buttons ---- */
.btn-row { margin: 20px 0 0; text-align: center; }
.btn {
  display: inline-block; background: var(--orange); color: #fff; text-decoration: none; text-align: center;
  font-weight: 800; letter-spacing: 2px; border-radius: 5px; padding: 18px;
  font-size: 19px; line-height: 1.2;
}
.btn:hover, .btn:focus-visible { background: #e64d00; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); }
.btn.big { display: block; max-width: 529px; margin: 0 auto; padding: 18px 30px; }
.btn-main { display: block; font-size: clamp(20px, calc(12px + 1.4vw), 29px); line-height: 1.25; }
.btn-sub { display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; }

/* ---- Rows ---- */
.cols { display: flex; gap: 30px; align-items: flex-start; }
.col-third { flex: 0 0 calc(33.333% - 20px); }
.col-third.narrow { flex-basis: 178px; }
.col-twothirds, .col-rest { flex: 1 1 0; min-width: 0; }
.col-half { flex: 1 1 0; min-width: 0; }
.col-third .round { margin: 20px auto 0; }

/* ---- Text ---- */
p { margin: 0 0 22px; }
.sec p, .sec li { font-size: clamp(18px, calc(11px + 1.3vw), 25px); line-height: 1.45; }
.large p, .large li { font-size: clamp(18px, calc(11px + 1.4vw), 26px); }
.large p { line-height: 1.6; }
.strong { font-weight: 800; }
.grey { color: var(--grey); }
.quiet { margin-top: 10px; }
.red { color: var(--red); font-family: var(--font-body); font-weight: 800; line-height: 1.5; font-size: clamp(21px, calc(13px + 1.5vw), 29px); margin: 0 0 14px; }
.intro-title { font-family: var(--font-body); font-weight: 800; line-height: 1.5; font-size: clamp(21px, calc(13px + 1.5vw), 30px); margin: 0 0 14px; }
.intro-title.navy { color: var(--navy-text); }
.red-text { color: var(--red); }
ul { margin: 0 0 22px; padding-left: 40px; }
li { margin: 0 0 6px; }
.col-rest ul, .large ul { list-style: disc; }

/* ---- Pictures ---- */
.round { width: 142px; height: auto; }
.round.big { width: 259px; max-width: 100%; margin-top: 0; }
.cover { width: 350px; max-width: 100%; margin: 20px auto 0; }
.portrait { width: 350px; max-width: 100%; margin: 20px auto 0; }
.seal { width: 213px; margin: 10px auto; }
.faq-pic { width: 640px; max-width: 100%; margin: 40px auto 20px; }
.signature img { width: 307px; max-width: 100%; height: auto; margin-block: 8px; }

/* ---- Dividers ---- */
.rule { border: 0; border-bottom: 2.667px solid var(--rule); margin: 20px 0; }
.rule.orange { border-bottom-color: var(--orange); }

/* ---- What you get: four across, then the bonuses three across ---- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 30px; margin: 10px 0 20px; }
.tile, .bonus { text-align: center; }
.tile img, .bonus img { margin: 20px auto 18px; width: 177px; height: auto; }
.tile h3, .bonus h3 { color: var(--orange); line-height: 1.4; font-size: clamp(22px, calc(15px + 1vw), 28px); margin-bottom: 8px; }
.tile p, .bonus p { font-weight: 800; font-size: clamp(17px, calc(11px + 0.8vw), 20px); line-height: 1.75; margin: 0 0 10px; }
.bonuses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; margin: 10px 0 20px; }
.bonus { padding: 0 10px 20px; }
.bonus.shade { background: var(--tint); }

/* ---- Why this works ---- */
.why { gap: 40px; }
.why .col-half { flex: 1 1 0; }
.boxed { border: 2px solid var(--grey); padding: 3px 3px 3px 5px; margin: 0 0 22px; }
.orange-lead { color: var(--orange); font-weight: 800; line-height: 1.75; }
.sec .orange-small { color: var(--orange); font-size: clamp(17px, calc(11px + 0.8vw), 20px); line-height: 1.75; }
.sec .orange-lead { font-size: clamp(19px, calc(12px + 1.3vw), 25px); }
.checks { list-style: none; padding: 0; margin: 0 0 22px; }
.checks li {
  position: relative; padding: 10px 0 10px 44px; margin: 0 0 6px;
  color: #fff; font-weight: 800; line-height: 1.5;
  font-size: clamp(19px, calc(12px + 1.3vw), 25px);
}
.checks li::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff5500' opacity='.3' d='M5 19h14V5H5v14zm2.41-7.4l2.58 2.58 6.59-6.59L17.99 9l-8 8L6 13.01l1.41-1.41z'/%3E%3Cpath fill='%23ff5500' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- Questions ---- */
.faq p { font-size: clamp(18px, calc(11px + 1.5vw), 27px); line-height: 1.75; margin: 0 0 22px; }
.q { color: var(--qa); font-weight: 800; }
.q:not(strong) { font-weight: 400; }

/* ---- Guarantee and Who am I ---- */
.guarantee p { font-size: clamp(17px, calc(10px + 1vw), 22px); line-height: 1.75; }
.guarantee p.strong { font-size: clamp(19px, calc(12px + 1.4vw), 27px); }
.who p { font-size: clamp(18px, calc(11px + 1.6vw), 28px); line-height: 1.75; }

/* ---- Closing call to action ---- */
.final .rule { margin: 20px 0; }
.ready { color: #fff; font-weight: 800; text-align: center; font-size: clamp(22px, calc(14px + 1.5vw), 32px); line-height: 1.5; margin: 14px 0 6px; }
.final .btn-row { margin: 18px 0 22px; }

/* ---- Sign-off ---- */
.sign p { font-size: clamp(19px, calc(12px + 1.4vw), 26px); line-height: 1.75; }
.sign .signature { margin: 0; }
.ps p { font-size: clamp(18px, calc(11px + 1.3vw), 25px); line-height: 1.75; }

/* ---- Disclaimer (the footer is in _shared.css) ---- */
.disclaimer { background: var(--disclaimer-bg); padding-block: 22px 28px; }
.disclaimer p { margin: 0; color: var(--grey); text-align: center; font-size: 18px; line-height: 1.75; }

/* ---- Smaller screens ---- */
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .why { gap: 10px; }
}
@media (max-width: 800px) {
  .cols { flex-direction: column; gap: 10px; }
  .cols .col-third, .cols .col-twothirds, .cols .col-rest, .cols .col-half { flex: none; width: 100%; }
  .col-third .round, .col-third .cover, .col-third .portrait { margin-top: 0; }
  .bonuses { grid-template-columns: 1fr; }
  .sec { padding-block: 28px; }
  .section-title.navy { padding-top: 6px; }
  .section-title.center { padding-top: 6px; }
  .ps p, .sign p, .who p { line-height: 1.6; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .btn.big { padding-inline: 18px; }
  .btn { letter-spacing: 1px; }
  .btn-sub { letter-spacing: 1px; }
}
