@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap");

/* Framework Freedom's look on the engine's own pages: the checkout, the one-click offer pages,
   the thank-you page, the legal pages and the 404. Linked after the engine's brand.css through
   brand.stylesheet, so these rules win.
   Placeholder colours until Mohammed sends his: navy #1b1d07 for the dark bands, gold #e6c24a
   for the buttons and the highlight, cream #f8e8bf for the soft panels.
   The gold is light, so every surface filled with it carries navy text, never white, and every
   place the engine writes the accent as TEXT on white (prices, kickers, ticks, links) uses a
   darker gold ink instead, so it can be read. */

:root {
  --accent: #e6c24a;
  --ink: #1b1d07;
  --muted: #666350;
  --bg: #f7f5f0;
  --panel: #FFFFFF;
  --line: #e4dfd3;
  --radius: 12px;
  --font: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --head: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --night: #1b1d07;
  --night-2: #111204;
  --night-line: #2a3850;
  --accent-hover: #d4b03c;
  --accent-soft: #f8e8bf;
  --accent-ring: #f0dc8c;
  --hl: #e6c24a;
  --hl-soft: #fff8e8;
  --hl-ink: #7a6210;
  --on-accent: #1b1d07;
  --body: #2a2b1c;
}

/* every page */
html { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: 32px; line-height: 1.1; }
h2 { font-size: 23px; line-height: 1.2; }
h3 { font-size: 18px; }
a { color: var(--hl-ink); }
::selection { background: #f0dc8c; color: var(--ink); }

.site-head {
  background: var(--night);
  padding: 12px 16px;
  text-align: center;
}
.site-head .wordmark {
  font-family: var(--head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hl);
}

/* the plain pages (thank-you, legal, 404, the plain offer page) sit in one white card */
main:not(.co):not(.op):not(.dp) {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(27, 29, 7, 0.08);
  margin: 26px auto 34px;
  padding: 8px 20px 40px;
}
@media (max-width: 430px) {
  main:not(.co):not(.op):not(.dp) { margin: 16px 10px 26px; width: auto; padding: 4px 16px 32px; }
}
.lede { color: var(--body); }
.warn { color: var(--muted); }
.announce {
  background: var(--night);
  color: var(--hl);
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.price .now { color: var(--ink); font-family: var(--head); font-weight: 800; }
.card { background: var(--bg); border-color: var(--line); border-radius: 14px; }
blockquote { background: var(--bg); border-left-color: var(--hl); }
.when {
  background: var(--hl-soft);
  border: 1px solid #f0dc8c;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15.5px;
}
.when strong { color: var(--ink); }
.item-access { border-top-color: var(--line); }
.offer-image, .media-frame { border-radius: 14px; }
.tap { color: var(--hl-ink); font-weight: 700; }

.btn {
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--head);
  font-weight: 800;
  font-size: 19px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(27, 29, 7, 0.18), inset 0 -3px 0 rgba(0, 0, 0, 0.14);
  letter-spacing: -0.005em;
  line-height: 1.25;
  padding: 15px 18px;
}
main p .tap { min-height: 0; line-height: inherit; padding: 0 2px; }
@media (hover: hover) {
  .btn:hover { background: var(--accent-hover); color: var(--on-accent); }
}
.btn:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }

.field { border-color: #e2ddc8; border-radius: 10px; }
.field:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px var(--accent-ring); }
.bump { border-color: var(--accent); background: var(--accent-soft); }
.total { color: var(--ink); }

.site-foot {
  background: var(--night);
  border-top: 0;
  color: #b9b294;
}
.site-foot a { color: #f3efe2; }
.site-foot .foot-biz { color: #b9b294; }

/* the checkout, in the Sell While You Sleep 2.0 layout the engine draws */
main.co {
  --co-accent: #e6c24a;
  --co-accent-hover: #d4b03c;
  --co-deep: #1b1d07;
  --co-gold: #e6c24a;
  --co-gold-ink: #7a6210;
  --co-tint: #f8e8bf;
  --co-ring: #f0dc8c;
  --co-cream: #f7f5f0;
  --co-ink: #1b1d07;
  --co-text: #2a2b1c;
  --co-muted: #666350;
  --co-line: #e4dfd3;
  --co-card-line: #e2ddc8;
  --co-head: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --co-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
}
.co-strip { color: #f3efe2; }
.co-eyebrow { background: var(--night); color: var(--hl); }
.co-head .when { background: var(--hl-soft); }
.co-bump { border-color: var(--co-gold); background: #fffdf7; }
.co-bump:has(input:checked) { border-color: var(--co-gold-ink); background: var(--co-tint); }
/* the price pill sits on the gold, so it takes navy text (white on this gold cannot be read) */
.co-bump-price { font-family: var(--head); color: var(--on-accent); }
.co-price { color: var(--ink); }
.co-secure svg { color: var(--co-gold-ink); }
.co-recap { border-color: var(--night); }
.co-includes svg { color: var(--co-gold-ink); }
.co-trust span { background: #eceae3; }
.co-gtee { background: var(--night); }
.co-gtee .t { color: var(--hl); }
.co .field:focus { border-color: var(--night); }
#payBtn {
  background: var(--co-accent);
  color: var(--on-accent);
  box-shadow: 0 10px 24px rgba(27, 29, 7, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.14);
  border-radius: 12px;
}
@media (hover: hover) {
  #payBtn:hover { background: var(--co-accent-hover); color: var(--on-accent); }
}
#payBtn:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }

/* the designed one-click offer pages (upsell 1 and the split pay downsell) */
.op {
  --op-accent: #e6c24a;
  --op-accent-hover: #d4b03c;
  --op-deep: #1b1d07;
  --op-deepest: #111204;
  --op-gold: #e6c24a;
  --op-cream: #f7f5f0;
  --op-ink: #1b1d07;
  --op-text: #2a2b1c;
  --op-muted: #666350;
  --op-line: #e4dfd3;
  --op-card-line: #e2ddc8;
  --op-head: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --op-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
.op a { color: var(--hl-ink); }
.op .op-kicker, .op .op-eyebrow, .op .op-exit-kicker { color: var(--hl-ink); }
.op .op-card::before { background: var(--hl); }
.op .op-check { color: var(--hl-ink); }
.op .op-bonus-badge { color: var(--hl); }
.op .op-row-credit { color: var(--hl-ink); }
.op .op-big { color: var(--op-ink); }
.op .op-pricebox { border-width: 2px; border-color: var(--op-ink); box-shadow: 7px 7px 0 var(--op-gold); background: #FFFFFF; }
.op .op-guarantee { background: var(--hl-soft); border-color: #f0dc8c; }
.op .op-btn {
  color: var(--on-accent);
  font-family: var(--op-head);
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(27, 29, 7, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}
@media (hover: hover) {
  .op .op-btn:hover { color: var(--on-accent); }
}
.op .op-dealline .op-fill { color: var(--hl); }
@media (max-width: 480px) {
  .op .op-pricebox { box-shadow: 5px 5px 0 var(--op-gold); }
}

/* The results line in the footer of every engine page that does not already carry it (checkout, terms,
   privacy, refund, 404). The engine has no footer setting for it, so it lives here. The offer pages
   show it in .op-disclaimer already. */
body:not(:has(.op-disclaimer)) .site-foot::after {
  content: "Results vary. The client stories I share are from my own one-to-one work, not from this workshop. Nothing here promises income or clients. Framework Freedom is run by The Business Philosopher Ltd., Wembley, UK.";
  display: block; max-width: 640px; margin: 10px auto 0; font-size: 13px; line-height: 1.5; color: #b9b294;
}
