@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Raleway:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap");

/* Sameem'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. Brand: gold #BE9533
   and #A68C47, navy #283E50, black, white. Raleway for headings and body, Oswald
   for labels and buttons.
   Gold is a button face with BLACK lettering (7.5 to 1), a rule, a border or a
   highlighter. It is never lettering on white (2.8 to 1). The engine colours a few
   labels with the accent or the gold: on white those become navy or black, and
   gold labels only sit on black bands, where they pass.
   Engine brand fields to set at build: brand.accent #BE9533, brand.dark #000000,
   brand.highlight #BE9533, brand.stylesheet "/site.css",
   page.includesImage "/img/five-k-client-workshop.jpg". */

:root {
  --accent: #BE9533;
  --accent-hover: #A68C47;
  --ink: #1d1d1d;
  --muted: #565c62;
  --bg: #f6f4ee;
  --panel: #FFFFFF;
  --line: #e4dfd1;
  --radius: 12px;
  --font: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sub: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --navy: #283E50;
  --night: #000000;
  --gold-ring: #e0c88f;
  --hl-soft: #f6ecd2;
  --body: #2c3034;
}

/* every page */
html { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: -0.012em;
  color: #000000;
  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(--navy); }
::selection { background: var(--accent); color: #000000; }

.site-head {
  background: var(--night);
  border-bottom: 4px solid var(--accent);
  padding: 12px 16px;
  text-align: center;
}
.site-head .wordmark {
  font-family: var(--sub);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* the plain pages (thank-you, legal, 404, the plain offer page) sit in one white card with a gold top rule */
main:not(.co):not(.op):not(.dp) {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  margin: 26px auto 34px;
  padding: 14px 20px 40px;
}
main:not(.co):not(.op):not(.dp)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, #000000, var(--navy) 50%, var(--accent));
}
@media (max-width: 430px) {
  main:not(.co):not(.op):not(.dp) { margin: 16px 10px 26px; width: auto; padding: 10px 16px 32px; }
}
.lede { color: var(--body); }
.warn { color: var(--muted); }
.announce {
  background: var(--navy);
  color: #FFFFFF;
  font-family: var(--sub);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 4px solid var(--accent);
}
.price .now { color: #000000; font-family: var(--sub); font-weight: 600; }
.card { background: var(--bg); border-color: var(--line); border-radius: 14px; }
blockquote { background: var(--bg); border-left-color: var(--accent); }
.when {
  background: var(--hl-soft);
  border: 1px solid var(--gold-ring);
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15.5px;
}
.when strong { color: #000000; }
.item-access { border-top-color: var(--line); }
.offer-image, .media-frame { border-radius: 14px; }
.tap { color: var(--navy); font-weight: 700; }

.btn {
  background: var(--accent);
  color: #000000;
  font-family: var(--sub);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: 0 6px 0 var(--accent-hover), 0 14px 24px rgba(0, 0, 0, 0.16);
  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: #000000; }
}
.btn:focus-visible { outline: 3px solid #000000; outline-offset: 3px; }

.field { border-color: #d6d0bf; border-radius: 10px; }
.field:focus { outline: none; border-color: #000000; box-shadow: 0 0 0 3px var(--gold-ring); }
.bump { border-color: var(--accent); background: #fbf6e8; }
.total { color: #000000; }

.site-foot {
  background: var(--night);
  border-top: 4px solid var(--accent);
  color: #b9b9b9;
}
.site-foot a { color: #FFFFFF; }
.site-foot .foot-biz { color: #b9b9b9; }

/* the checkout, in the Sell While You Sleep 2.0 layout the engine draws */
main.co {
  --co-accent: #BE9533;
  --co-accent-hover: #A68C47;
  --co-deep: #000000;
  --co-gold: #BE9533;
  --co-gold-ink: #283E50;
  --co-tint: #f6ecd2;
  --co-ring: #e0c88f;
  --co-cream: #f6f4ee;
  --co-ink: #1d1d1d;
  --co-text: #2c3034;
  --co-muted: #565c62;
  --co-line: #e4dfd1;
  --co-card-line: #d6d0bf;
  --co-head: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --co-body: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
}
.co-strip { color: #e6e6e6; border-bottom: 4px solid var(--accent); }
.co-strip b { color: var(--accent); }
.co-eyebrow { background: var(--night); color: var(--accent); font-family: var(--sub); font-weight: 500; letter-spacing: 0.14em; }
.co-head .when { background: var(--hl-soft); }
.co-bump { border-color: var(--co-gold); background: #fbf6e8; }
.co-bump:has(input:checked) { border-color: #000000; background: var(--co-tint); }
/* the price on the bump's pill: black on the gold face, never white on gold */
.co-bump-price { font-family: var(--sub); font-weight: 600; letter-spacing: 0.04em; color: #000000; }
.co-recap { border-color: #000000; }
.co-price { color: #000000; font-family: var(--sub); font-weight: 600; }
.co-includes svg { color: var(--navy); }
.co-secure svg { color: var(--navy); }
.co-trust span { background: #ece8dc; }
.co-gtee { background: #000000; border-top: 4px solid var(--accent); }
.co-gtee .t { color: var(--accent); }
.co-kicker { color: var(--navy); }
#payBtn {
  background: var(--co-accent);
  color: #000000;
  font-family: var(--sub);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 6px 0 var(--accent-hover), 0 14px 24px rgba(0, 0, 0, 0.16);
  border-radius: 10px;
}
#payBtn:focus-visible { outline: 3px solid #000000; outline-offset: 3px; }
@media (hover: hover) {
  #payBtn:hover { background: var(--co-accent-hover); color: #000000; }
}

/* the designed one-click offer pages */
.op {
  --op-accent: #BE9533;
  --op-accent-hover: #A68C47;
  --op-deep: #000000;
  --op-deepest: #000000;
  --op-gold: #BE9533;
  --op-cream: #f6f4ee;
  --op-ink: #1d1d1d;
  --op-text: #2c3034;
  --op-muted: #565c62;
  --op-line: #e4dfd1;
  --op-card-line: #d6d0bf;
  --op-head: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --op-body: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.op a { color: var(--navy); }
.op .op-kicker, .op .op-eyebrow, .op .op-exit-kicker { color: var(--navy); font-family: var(--sub); font-weight: 500; letter-spacing: 0.14em; }
.op .op-card::before { background: var(--op-gold); }
.op .op-check { color: var(--navy); }
/* these three paint gold lettering: they sit on black bands, where gold passes */
.op .op-bonus-badge { color: var(--op-gold); }
.op .op-step-note { color: var(--op-gold); }
.op .op-dealline .op-fill { color: var(--op-gold); }
.op .op-row-credit { color: #000000; }
.op .op-big { color: #000000; font-family: var(--sub); font-weight: 600; }
.op .op-pricebox { border-width: 2px; border-color: #000000; box-shadow: 7px 7px 0 var(--op-gold); background: #FFFFFF; }
.op .op-guarantee { background: var(--hl-soft); border-color: var(--gold-ring); }
.op .op-btn,
.op .op-btn:hover {
  color: #000000;
  font-family: var(--sub);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: 0 6px 0 var(--accent-hover), 0 14px 24px rgba(0, 0, 0, 0.16);
}
.op .op-btn:focus-visible { outline: 3px solid #000000; outline-offset: 3px; }
@media (max-width: 480px) {
  .op .op-pricebox { box-shadow: 5px 5px 0 var(--op-gold); }
}
