@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&display=swap");

/* Hassan'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. Colours match the
   sales page and his own site: forest for the dark bands, gold for labels and
   ticks, green for buttons so white text passes contrast, cream for the page.
   The sales page carries its own inline styles. */

:root {
  --accent: #2c6e49;
  --ink: #0c1f14;
  --muted: #56645a;
  --bg: #f5ede0;
  --panel: #FFFFFF;
  --line: #ddd3bf;
  --radius: 12px;
  --font: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --head: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --night: #0c1f14;
  --night-2: #07140d;
  --night-line: #2f5a43;
  --accent-hover: #225539;
  --accent-soft: #f6edd3;
  --accent-ring: #e3d3a0;
  --hl: #e8c97a;
  --hl-soft: #fbf5e2;
  --hl-ink: #6b5514;
  --sand: #efe9dc;
  --body: #24332a;
}

/* 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: #0c1f14;
  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: #2c6e49; }
::selection { background: #e3d3a0; color: #0c1f14; }

.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(30, 28, 25, 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: #2c6e49; 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 #e3d3a0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15.5px;
}
.when strong { color: #0c1f14; }
.item-access { border-top-color: var(--line); }
.offer-image, .media-frame { border-radius: 14px; }
.tap { color: #2c6e49; font-weight: 700; }

.btn {
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--head);
  font-weight: 800;
  font-size: 19px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(44, 110, 73, 0.28), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  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); }
}
.btn:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }

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

.site-foot {
  background: var(--night);
  border-top: 0;
  color: #b9c2b4;
}
.site-foot a { color: #efe9dc; }
.site-foot .foot-biz { color: #b9c2b4; }

/* the checkout, in the Sell While You Sleep 2.0 layout the engine draws */
main.co {
  --co-accent: #2c6e49;
  --co-accent-hover: #225539;
  --co-deep: #0c1f14;
  --co-gold: #9a7d2a;
  --co-gold-ink: #6b5514;
  --co-tint: #f6edd3;
  --co-ring: #e3d3a0;
  --co-cream: #f5ede0;
  --co-ink: #0c1f14;
  --co-text: #24332a;
  --co-muted: #56645a;
  --co-line: #ddd3bf;
  --co-card-line: #cfc6b2;
  --co-head: "Bricolage Grotesque", "Segoe UI", "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: #efe9dc; }
.co-eyebrow { background: var(--night); color: var(--hl); }
.co-head .when { background: var(--hl-soft); }
.co-bump { border-color: var(--co-gold); background: #fdf9ec; }
.co-bump:has(input:checked) { border-color: var(--co-accent); background: var(--co-tint); }
.co-bump-price { font-family: var(--head); color: #fff; }
.co-recap { border-color: var(--night); }
.co-includes svg { color: #9a7d2a; }
.co-trust span { background: var(--sand); }
.co-gtee { background: var(--night); }
.co-gtee .t { color: var(--hl); }
#payBtn {
  background: var(--co-accent);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(44, 110, 73, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  border-radius: 12px;
}
@media (hover: hover) {
  #payBtn:hover { background: var(--co-accent-hover); }
}

/* the designed one-click offer pages */
.op {
  --op-accent: #2c6e49;
  --op-accent-hover: #225539;
  --op-deep: #0c1f14;
  --op-deepest: #07140d;
  --op-gold: #e8c97a;
  --op-cream: #f5ede0;
  --op-ink: #0c1f14;
  --op-text: #24332a;
  --op-muted: #56645a;
  --op-line: #ddd3bf;
  --op-card-line: #cfc6b2;
  --op-head: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --op-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
.op .op-kicker, .op .op-eyebrow, .op .op-exit-kicker { color: #2c6e49; }
.op .op-card::before { background: var(--hl); }
.op .op-check { color: #9a7d2a; }
.op .op-bonus-badge { color: var(--hl); }
.op .op-pricebox { border-width: 2px; border-color: var(--op-ink); box-shadow: 7px 7px 0 var(--op-deep); background: #FFFFFF; }
.op .op-guarantee { background: var(--hl-soft); border-color: #e3d3a0; }
.op .op-btn {
  font-family: var(--op-head);
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(44, 110, 73, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
.op .op-dealline .op-fill { color: var(--hl); }
@media (max-width: 480px) {
  .op .op-pricebox { box-shadow: 5px 5px 0 var(--op-deep); }
}

/* 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. Upsell and downsell show it in
   .op-disclaimer already. */
body:not(:has(.op-disclaimer)) .site-foot::after {
  content: "Results vary. The Klaviyo Segment Agent is a working tool. It does not promise a result for your account or your client's. This page is not connected to Klaviyo or Anthropic.";
  display: block; max-width: 640px; margin: 10px auto 0; font-size: 13px; line-height: 1.5; color: #b9c2b4;
}
