@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");

/* The Conscious Parenting Hub's look on the engine's own pages: the checkout, the one-click offer page,
   the thank-you page, the legal pages and the 404. Linked after the engine's brand.css through
   brand.stylesheet, so these rules win. Fonts and colours match the sales page and her own page:
   orange buttons with white text, near black for the dark bands, a yellow highlight, a cream page.
   The sales page itself carries its own inline styles. */

:root {
  --accent: #d4512b;
  --ink: #17170f;
  --muted: #55554b;
  --bg: #faf8f1;
  --panel: #FFFFFF;
  --line: #e6e2d4;
  --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: #141414;
  --night-2: #0a0a0a;
  --night-line: #3a3a3a;
  --accent-hover: #b03f1d;
  --accent-soft: #feefd0;
  --accent-ring: #e8b13c;
  --hl: #e8b13c;
  --hl-soft: #fff8e8;
  --hl-ink: #b03f1d;
  --sand: #f1eee3;
  --body: #2b2b22;
}

/* 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: #17170f;
  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: #d4512b; }
::selection { background: #fdd57f; color: #17170f; }

.site-head {
  background: #fdd57f;
  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: #2b2b2b;
}

/* 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: #d4512b; 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 #fdd57f;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15.5px;
}
.when strong { color: #17170f; }
.item-access { border-top-color: var(--line); }
.offer-image, .media-frame { border-radius: 14px; }
.tap { color: #d4512b; 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(0, 122, 61, 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: #ece6d8; 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: #17170f; }

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

/* the checkout, in the Sell While You Sleep 2.0 layout the engine draws */
main.co {
  --co-accent: #d4512b;
  --co-accent-hover: #b03f1d;
  --co-deep: #17170f;
  --co-gold: #d4512b;
  --co-gold-ink: #b03f1d;
  --co-tint: #feefd0;
  --co-ring: #e8b13c;
  --co-cream: #faf8f1;
  --co-ink: #17170f;
  --co-text: #2b2b22;
  --co-muted: #55554b;
  --co-line: #e6e2d4;
  --co-card-line: #ece6d8;
  --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: #f1eee3; }
.co-eyebrow { background: var(--night); color: var(--hl); }
.co-head .when { background: var(--hl-soft); }
.co-bump { border-color: var(--co-gold); background: #f4faf6; }
.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: #d4512b; }
.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(0, 122, 61, 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: #d4512b;
  --op-accent-hover: #b03f1d;
  --op-deep: #17170f;
  --op-deepest: #0a0a0a;
  --op-gold: #e8b13c;
  --op-cream: #faf8f1;
  --op-ink: #17170f;
  --op-text: #2b2b22;
  --op-muted: #55554b;
  --op-line: #e6e2d4;
  --op-card-line: #ece6d8;
  --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 .op-kicker, .op .op-eyebrow, .op .op-exit-kicker { color: #d4512b; }
.op .op-card::before { background: var(--hl); }
.op .op-check { color: #d4512b; }
.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: #fdd57f; }
.op .op-btn {
  font-family: var(--op-head);
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 122, 61, 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. Every page carries the results line. */
body:not(:has(.op-disclaimer)) .site-foot::after {
  content: "Every child is different, and results vary. This is general parenting education. It is not medical or psychological advice.";
  display: block; max-width: 640px; margin: 10px auto 0; font-size: 13px; line-height: 1.5; color: #d9cfb8;
}

/* Order bumps in the Get Set Parenting layout: big image on top, "Yes! Add ..." headline with an underlined benefit half, "+ $9.00" pill under it. */
.co-bump-img{order:-1;width:100%;max-width:none;height:auto;box-sizing:border-box;margin:0 0 10px;padding:14px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid #e6e2d4}
.co-bump label{flex-wrap:wrap}
.co-bump label>span{flex:1 1 0;min-width:0}
.co-bump-title{position:relative;padding-bottom:36px}
.co-bump-price{display:block;width:max-content;position:absolute;left:0;bottom:0;margin:0}
.co-bump-price::before{content:"+ "}
.co-bump-title::after{text-decoration:underline;text-underline-offset:3px}
.co-bump:has(input[data-id="routine-system"]) .co-bump-title::after{content:" So You Don't Have to Manage Every Step"}
.co-bump:has(input[data-id="calm-kit"]) .co-bump-title::after{content:" to Calm Down Fast and Fix It If You Lose It"}
.co-bump:has(input[data-id="both-kits"]) .co-bump-title::after{content:" And Save $3"}

/* No logo band above the checkout. */
body:has(main.co) .site-head { display: none; }

/* Checkout recap shows the same mock-up as the top of the sales page. */
.co-recap .co-shot { content: url("/img/reclaim-your-calm-hero.jpg"); }

/* Upsell page redesign (one-click offer pages only) */
body:has(main.op) { background: #fffbf1; }
body:has(main.op) .site-head { background: #fffbf1; border-bottom: 1px solid #eee3c8; padding: 10px 16px; }
main.op { background: #fffbf1; }
main.op #offer { display: flex; flex-direction: column; }
main.op .op-warn { order: -2; background: #feefd0; color: #7a2d14; font-size: 14px; padding: 8px 14px; }
main.op .op-warn strong { color: #7a2d14; }
main.op .op-progress { order: -1; background: transparent; padding: 14px 16px 0; }
main.op .op-step-bar { height: 4px; background: #eee3c8; }
main.op .op-done .op-step-bar, main.op .op-here .op-step-bar { background: #d4512b; }
main.op .op-step-text { color: #8a867a; font-size: 12px; }
main.op .op-here .op-step-text { color: #d4512b; }
main.op .op-step-note { display: none; }
main.op .op-image { border-radius: 24px; }
main.op .op-dealline { background: #feefd0; color: #17170f; }
main.op .op-dealline .op-fill { color: #b03f1d; }
main.op .op-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
main.op .op-card { --g: #e8a317; display: flex; flex-direction: column; border-top: 8px solid var(--g); border-radius: 18px; }
main.op .op-card:nth-child(2) { --g: #d4512b; }
main.op .op-card:nth-child(3) { --g: #1f4e5a; }
main.op .op-card::before { display: none; }
main.op .op-check { color: var(--g); }
main.op .op-card p { margin-bottom: 14px; }
main.op .op-card::after { content: ""; display: block; margin-top: auto; aspect-ratio: 700 / 760; border: 1px solid #e6e2d4; border-radius: 8px; box-shadow: 0 8px 18px rgba(60,40,0,.12); background: #fff url("/img/upsell-sheet-toddlers.jpg") top center / 100% auto no-repeat; }
main.op .op-card:nth-child(2)::after { background-image: url("/img/upsell-sheet-little.jpg"); }
main.op .op-card:nth-child(3)::after { background-image: url("/img/upsell-sheet-bigger.jpg"); }
main.op .op-pricebox { background: #fff; border: 2px solid #17170f; border-radius: 20px; box-shadow: 6px 6px 0 #f8d889; }
main.op .op-guarantee { background: #feefd0; border: 0; border-radius: 20px; text-align: center; }
main.op .op-btn { border-radius: 14px; box-shadow: 0 5px 0 #9c3417; }
@media (max-width: 760px) { main.op .op-cards { grid-template-columns: minmax(0, 1fr); } }

/* Simple card layout for the upsell page */
main.op #offer .op-hero { display: contents; }
main.op .op-hero > * { order: 0; text-align: center; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
main.op .op-kicker { margin-top: 26px; }
main.op .op-hero h1 { font-size: clamp(27px, 3.6vw, 40px); max-width: 760px; }
main.op .op-dealline { width: calc(100% - 32px); max-width: 560px; margin-top: 8px; font-weight: 700; }
main.op .op-image { order: 1; padding: 0; width: calc(100% - 32px); max-width: 480px; }
main.op .op-sec.op-wide { order: 2; padding: 18px 16px 0; width: 100%; max-width: 520px; }
main.op .op-cards { display: block; }
main.op .op-card, main.op .op-card:nth-child(n) { border: 0; background: none; box-shadow: none; padding: 0; margin: 0 0 12px; border-radius: 0; }
main.op .op-card::after, main.op .op-card::before { display: none; }
main.op .op-card p { margin: 0 0 0 26px; }
main.op .op-sec:has(.op-pricebox) { order: 3; padding: 4px 16px 0; width: 100%; max-width: 520px; }
main.op .op-pricebox { border: 0; box-shadow: none; background: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 14px; }
main.op .op-priceline, main.op .op-onetime, main.op .op-life, main.op .op-leave, main.op .op-anchor { display: none; }
main.op .op-receipt { border: 0; padding: 0; margin: 0; width: auto; }
main.op .op-receipt .op-row { display: none; }
main.op .op-receipt .op-row:first-child { display: block; margin: 0; border: 0; padding: 0; }
main.op .op-receipt .op-row:first-child span:first-child { display: none; }
main.op .op-receipt .op-row:first-child span:last-child { font-size: 26px; color: #8a867a; text-decoration: line-through; }
main.op .op-big { margin: 0; font-size: 56px; }
main.op .op-close { order: 4; padding: 6px 16px 10px; width: 100%; max-width: 520px; }
main.op .op-bridge { order: 5; }
main.op .op-bridge .op-eyebrow { display: none; }
main.op .op-bridge h2, main.op .op-bridge p { text-align: center; }
main.op .op-bridge h2 { font-size: 24px; }
main.op .op-bridge::after { content: ""; display: block; aspect-ratio: 3 / 1.1; margin-top: 20px;
  background: url("/img/upsell-sheet-toddlers.jpg") left top / 32% auto no-repeat, url("/img/upsell-sheet-little.jpg") center top / 32% auto no-repeat, url("/img/upsell-sheet-bigger.jpg") right top / 32% auto no-repeat; }
main.op .op-sec:has(.op-faq) { order: 6; }
main.op .op-sec:has(.op-guarantee) { order: 7; }
main.op .op-disclaimer { order: 8; }
main.op .op-sec.op-wide, main.op .op-sec:has(.op-pricebox), main.op .op-close { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) {
  main.op #offer { display: grid; grid-template-columns: 1fr 460px 460px 1fr; align-content: start; }
  main.op #offer > *, main.op .op-hero > * { grid-column: 1 / -1; }
  main.op .op-warn { grid-row: 1; } main.op .op-progress { grid-row: 2; }
  main.op .op-kicker { grid-row: 3; } main.op .op-hero h1 { grid-row: 4; } main.op .op-sub { grid-row: 5; } main.op .op-dealline { grid-row: 6; }
  main.op #offer::before { content: ""; grid-column: 2 / 4; grid-row: 7 / 10; margin-top: 22px; background: #fff; border: 1px solid #eee3c8; border-radius: 22px; box-shadow: 0 16px 40px rgba(60,40,0,.10); }
  main.op #offer .op-image { grid-column: 2; grid-row: 7 / 10; align-self: center; justify-self: center; width: 400px; margin: 22px 0 0; position: relative; }
  main.op #offer > .op-sec.op-wide { grid-column: 3; grid-row: 7; margin: 22px 0 0; padding: 34px 30px 0 0; position: relative; }
  main.op #offer > .op-sec:has(.op-pricebox) { grid-column: 3; grid-row: 8; margin: 0; padding: 6px 30px 0 0; position: relative; }
  main.op #offer > .op-close { grid-column: 3; grid-row: 9; margin: 0; padding: 6px 30px 24px 0; position: relative; }
  main.op #offer > .op-bridge { grid-row: 10; justify-self: center; width: 100%; }
  main.op #offer > .op-sec:has(.op-faq) { grid-row: 11; justify-self: center; width: 100%; }
  main.op #offer > .op-sec:has(.op-guarantee) { grid-row: 12; justify-self: center; width: 100%; }
  main.op #offer > .op-disclaimer { grid-row: 13; justify-self: center; }
  main.op #offer > .op-exit { position: fixed; }
}

body:has(main.op) .site-head { display: none; }
main.op .op-progress { order: -2; background: #eeeff1; padding: 18px max(16px, calc(50% - 414px)) 0; }
main.op .op-progress::before { content: "YOUR ORDER IS 60% COMPLETE"; float: left; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #17170f; }
main.op .op-progress::after { content: "Step 2 of 3"; float: right; font-size: 12px; color: #55554b; }
main.op .op-steps { display: block; clear: both; max-width: none; height: 6px; margin: 0; padding: 0; border-radius: 99px; position: relative; top: 8px; margin-bottom: 8px; background: linear-gradient(90deg, #f6c453 60%, #dfe3e8 60%); }
main.op .op-steps li { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
main.op .op-warn { order: -1; background: #eeeff1; text-align: left; padding: 8px max(16px, calc(50% - 414px)) 14px; font-size: 11.5px; border-bottom: 1px solid #e2e4e8; }
main.op .op-warn strong { color: #55554b; font-weight: 400; }
main.op .op-kicker { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; color: #55554b; max-width: 760px; }
@media (min-width: 900px) { main.op .op-progress { grid-row: 1; } main.op .op-warn { grid-row: 2; } }

main.op .op-progress { position: relative; }
main.op .op-progress::after { float: none; position: absolute; top: 18px; right: max(16px, calc(50% - 414px)); }

main.op .op-bridge p:nth-of-type(n+4) { margin-bottom: 4px; }
main.op .op-bridge p:nth-of-type(4) { font-weight: 700; margin-top: 22px; }

/* Price line with saving */
main.op .op-pricebox { row-gap: 8px; }
main.op .op-big { order: 1; }
main.op .op-receipt.op-deal:not([hidden]) { display: contents; }
main.op .op-receipt .op-row:first-child { order: 2; }
main.op .op-receipt .op-row-credit { order: 3; display: flex; gap: 5px; margin: 0; padding: 0; border: 0; font-size: 0; text-transform: uppercase; }
main.op .op-receipt .op-row-credit > span { font-size: 0; font-weight: 800; color: #17170f; }
main.op .op-receipt .op-row-credit > span:first-child::after { content: "Save"; font-size: 15px; }
main.op .op-receipt .op-row-credit .op-fill { font-size: 15px; }
main.op .op-leave.op-deal:not([hidden]) { display: block; order: 4; flex-basis: 100%; font-size: 13px; color: #6b675c; text-align: center; margin: 0; }
/* Three-point "why this pairs" */
main.op .op-bridge { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto auto auto; grid-auto-flow: column; column-gap: 28px; max-width: 920px; width: 100%; }
main.op .op-bridge h2 { grid-column: 1 / -1; grid-row: 1; margin-bottom: 10px; }
main.op .op-bridge p:nth-of-type(n) { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.5; color: #55554b; }
main.op .op-bridge p:nth-of-type(even) { font-size: 18px; font-weight: 700; color: #17170f; margin-bottom: 8px; }
main.op .op-bridge p:nth-of-type(even)::before { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; background: #feefd0; font-size: 26px; }
main.op .op-bridge p:nth-of-type(2)::before { content: "\1F9E0"; }
main.op .op-bridge p:nth-of-type(4)::before { content: "\1F49B"; }
main.op .op-bridge p:nth-of-type(6)::before { content: "\1F9E9"; }
main.op .op-bridge::after { grid-column: 1 / -1; grid-row: 5; width: 100%; max-width: 660px; justify-self: center; margin-top: 30px; }
@media (max-width: 759px) {
  main.op .op-bridge { display: block; }
  main.op .op-bridge p:nth-of-type(odd) { margin-bottom: 24px; }
}
main.op .op-bridge p:nth-of-type(1) { grid-column: 1 / -1; grid-row: 2; max-width: 620px; justify-self: center; margin: 0 auto 28px; font-size: 18px; font-weight: 400; color: #2b2b22; }

/* Upsell headline with "Parenting Toolkit" highlighted. To change the other words, edit the two content lines. */
main.op .op-hero h1 { text-decoration: underline; text-decoration-color: #ffe14d; text-decoration-thickness: .52em; text-underline-offset: -.3em; text-decoration-skip-ink: none; }
main.op .op-hero h1::before, main.op .op-hero h1::after { display: inline-block; width: 100%; }
main.op .op-hero h1::before { content: "Now Complete Your"; }
main.op .op-hero h1::after { content: "For Ages 1\2013 12"; }

/* Box with a slight shadow around the offer (covers, guides, price, button), on every screen size */
@media (min-width: 900px) {
  main.op #offer::before { border-color: #e6e2d4; box-shadow: 0 18px 44px rgba(40,30,0,.14), 0 2px 8px rgba(40,30,0,.06); }
}
@media (max-width: 899px) {
  main.op #offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 536px) minmax(0, 1fr); align-content: start; }
  main.op #offer > *, main.op .op-hero > * { grid-column: 1 / -1; }
  main.op .op-progress { grid-row: 1; } main.op .op-warn { grid-row: 2; }
  main.op .op-kicker { grid-row: 3; } main.op .op-hero h1 { grid-row: 4; } main.op .op-sub { grid-row: 5; } main.op .op-dealline { grid-row: 6; }
  main.op #offer::before { content: ""; grid-column: 2; grid-row: 7 / 11; margin: 8px 10px 0; background: #fff; border: 1px solid #e6e2d4; border-radius: 20px; box-shadow: 0 12px 30px rgba(40,30,0,.14), 0 2px 8px rgba(40,30,0,.06); }
  main.op #offer .op-image, main.op #offer > .op-sec.op-wide, main.op #offer > .op-sec:has(.op-pricebox), main.op #offer > .op-close { grid-column: 2; position: relative; width: auto; max-width: none; margin: 0 10px; }
  main.op #offer .op-image { grid-row: 7; justify-self: center; width: calc(100% - 44px); max-width: 440px; height: auto; min-width: 0; margin: 22px 0 0; padding: 0; }
  main.op #offer .op-image img { width: 100%; height: auto; }
  main.op #offer > .op-sec.op-wide { grid-row: 8; padding: 18px 14px 0; }
  main.op #offer > .op-sec:has(.op-pricebox) { grid-row: 9; padding: 4px 14px 0; }
  main.op #offer > .op-close { grid-row: 10; padding: 6px 14px 22px; }
  main.op #offer > .op-bridge { grid-row: 11; justify-self: center; }
  main.op #offer > .op-sec:has(.op-faq) { grid-row: 12; }
  main.op #offer > .op-sec:has(.op-guarantee) { grid-row: 13; }
  main.op #offer > .op-disclaimer { grid-row: 14; }
  main.op #offer > .op-exit { position: fixed; }
}
