/* websites with bootsy: the home page. Every color is a variable here; dark mode follows the
   system setting. Palette from the owner's style board: deep teal (trust), terracotta (action),
   sand and cream (warmth), sage (calm checks). When this file changes, bump ?v= in index.html. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/home/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/home/fonts/figtree.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #faf6ef;          /* cream */
  --surface: #ffffff;
  --band: #f1e8da;        /* sand panels */
  --ink: #1e2a32;         /* deep slate text */
  --muted: #56636b;
  --line: #e2d6c3;
  --brand: #1f4d5c;       /* deep teal: headings, trust */
  --brand-ink: #ffffff;
  --accent: #b4532a;      /* terracotta: the buttons that sell (4.99:1 with white) */
  --accent-hover: #9b4522;
  --accent-ink: #ffffff;
  --hl: #a54a24;          /* highlighted words */
  --sage: #3f6b5c;        /* ticks */
  --sage-soft: #e3ece6;
  --foot: #1c3440;        /* footer */
  --foot-ink: #e8e1d5;
  --foot-accent: #eda07a;  /* "with" in the footer name */
  --shadow: 0 1px 2px rgb(30 42 50 / .06), 0 10px 30px rgb(30 42 50 / .08);
  --radius: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11181d;
    --surface: #18222a;
    --band: #1c2931;
    --ink: #ece5d9;
    --muted: #a9b3b9;
    --line: #2b3a44;
    --brand: #8cc3cf;
    --brand-ink: #0f1a1f;
    --accent: #e48b5b;
    --accent-hover: #f09d70;
    --accent-ink: #1b0f09;
    --hl: #f0a273;
    --sage: #94bba9;
    --sage-soft: #1f3330;
    --foot: #0c1317;
    --foot-ink: #cfc8bc;
    --foot-accent: #e48b5b;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--brand); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.small { font-size: .9rem; color: var(--muted); }
.hl { color: var(--hl); }
/* The name, wherever it's written (src/brand.mjs wraps it): always in the accent color. */
.bws { color: var(--hl); font-weight: 650; }
h1 .bws, h2 .bws, h3 .bws { font-weight: inherit; }
.foot .bws { color: var(--foot-accent); }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
section { padding: clamp(56px, 8vw, 104px) 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
/* Hidden with the editor's Hide/show: gone for visitors. */
html:not(.ed-on) [data-hidden] { display: none !important; }
/* Words only the owner can give: dashed and tinted so they can't go unnoticed. */
.todo { background: color-mix(in srgb, var(--accent) 12%, transparent); outline: 1px dashed var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.button { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .4em; font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent); border-radius: 999px; padding: .85em 1.35em; transition: background .15s, border-color .15s, transform .15s; }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button:active { transform: translateY(1px); }
.button:focus-visible, a:focus-visible, .chip:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.button.big { font-size: 1.08rem; padding: 1em 1.6em; }
.button.small { font-size: .92rem; padding: .65em 1.1em; }
.button.ghost { background: transparent; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.button.ghost:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font: 650 1.2rem/1 var(--serif); margin-right: auto; }
.brand em, .brand-foot em { font-style: normal; color: var(--hl); }
.brand .mark { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; }
.nav a { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 940px) { .nav { display: none; } }
@media (max-width: 440px) {
  .top-in { gap: 10px; min-height: 58px; }
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand .mark { width: 24px; height: 24px; }
  .top .button.small { font-size: .85rem; padding: .6em .95em; }
}

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 84px); background: radial-gradient(1200px 500px at 85% 10%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.kicker { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: .9em; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); color: var(--muted); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1.4em; }
.assure { list-style: none; padding: 0; margin: 0; display: grid; gap: .45em; }
.assure li, .keep li { position: relative; padding-left: 1.9em; }
.assure li::before, .keep li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.2em; height: 1.2em; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%233f6b5c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
@media (prefers-color-scheme: dark) {
  .assure li::before, .keep li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%2394bba9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } .hero-photo { max-width: 520px; } }
@media (max-width: 560px) { .actions .button { flex: 1 1 100%; } }

/* Photo and graphic spaces (the editor's Photos mode replaces their pictures) */
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius); }
.photo img[src$=".jpg"], .photo img[src$=".webp"], .photo img[src^="/photos/"] { box-shadow: var(--shadow); object-fit: cover; }
.portrait { max-width: 420px; }

/* Cost strip */
.costs { padding: clamp(40px, 6vw, 64px) 0; background: var(--band); }
.costs h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); text-align: center; }
.cost-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.5em 0 1em; }
.cost { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.cost p { margin: 0; }
.cost-name { font-weight: 700; color: var(--muted); }
.cost-num { font: 600 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1.2 var(--serif); color: var(--ink); margin: .2em 0 !important; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); text-decoration-thickness: 2px; }
.cost.ours { border: 2px solid var(--sage); box-shadow: var(--shadow); }
.cost.ours .cost-name { color: var(--sage); }
.cost.ours .cost-num { text-decoration: none; color: var(--sage); }
.note { text-align: center; margin: 0; }
/* The bill drawing beside the yearly costs; the costs stack in one column there. */
.costs-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.costs-in h2, .costs-in .note { text-align: left; }
.costs-in .cost-row { grid-template-columns: 1fr; gap: 10px; margin: 1em 0; }
.costs-in .cost { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; text-align: left; padding: 16px 20px; }
.costs-in .cost .small { flex-basis: 100%; }
@media (max-width: 860px) { .costs-in { grid-template-columns: 1fr; } .bill-photo { max-width: 460px; } }
@media (max-width: 680px) { .cost-row { grid-template-columns: 1fr; } }

/* Two columns: words and a picture */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } }
.lead-in { font-size: 1.15rem; color: var(--muted); }
/* Try the editor (owner E4, 2026-10-12): the public demo, under the editor's list. */
.try-it { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.5rem; }
.try-it .muted { color: var(--muted); font-size: .95rem; }
.keep { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: .8em; }
.band { background: var(--band); }
/* Real screenshots: a thin frame so they read as screens. */
.photo.shot img { border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.how-proof { margin-top: clamp(32px, 5vw, 56px); grid-template-columns: 1fr 1fr; }
.checklist-photo { max-width: 420px; justify-self: center; }
.checklist-photo img { max-height: 560px; object-fit: cover; object-position: top; }

/* How it works */
.how h2 { text-align: center; }
.steps { list-style: none; padding: 0; margin: 2em 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px;
  background: var(--brand); color: var(--brand-ink); font: 700 1.1rem/1 var(--serif); }
.steps p { margin: 0; color: var(--muted); }
.after { text-align: center; margin: 2em auto 0; max-width: 40rem; color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Price */
.price { background: var(--band); }
.price h2 { text-align: center; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 2em auto 1.2em; }
.opt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.opt:first-child { border: 2px solid var(--accent); }
.opt p { margin: 0; }
.opt-name { font-weight: 700; color: var(--muted); }
.amount { font: 600 clamp(2.4rem, 2rem + 1.6vw, 3.2rem)/1.1 var(--serif); color: var(--ink); margin: .2em 0 .3em !important; }
.per { font-size: 1.1rem; color: var(--muted); font-family: var(--sans); font-weight: 600; }
.promise { text-align: center; font-weight: 600; max-width: 40rem; margin: 0 auto 2em; }
@media (max-width: 620px) { .pay { grid-template-columns: 1fr; } }
.payback { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: .6em 0 1em; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chip { cursor: pointer; border: 1.5px solid var(--line); border-radius: 999px; padding: .5em 1em; font-weight: 600; background: var(--bg); }
.chips input:checked + .chip { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chips input:focus-visible + .chip { outline: 3px solid var(--brand); outline-offset: 2px; }
.result { display: none; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--sage-soft); }
.payback:has(.paid-150:checked) .res-150, .payback:has(.paid-250:checked) .res-250,
.payback:has(.paid-350:checked) .res-350, .payback:has(.paid-450:checked) .res-450 { display: block; }
html.ed-on .result { display: block; margin-bottom: 8px; }

/* Questions */
.faq h2 { margin-bottom: .2em; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 18px 2.2em 18px 0; font-weight: 700; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--brand); }
.qa[open] summary::after { content: "−"; }
.qa p { color: var(--muted); padding-bottom: 8px; }

/* The free preview form */
.cta { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--brand) 8%, var(--bg))); }
.cta h2 { text-align: center; }
.cta .lead-in { text-align: center; }
.interest { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); margin-top: 1.5em; }
.interest label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.interest .wide { grid-column: 1 / -1; margin: 0; }
.interest input, .interest textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: .75em .9em; width: 100%; }
.interest input:focus, .interest textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.interest .button { width: 100%; }
.interest .trap { position: absolute; left: -9999px; }
@media (max-width: 600px) { .interest { grid-template-columns: 1fr; } }

/* Footer */
.foot { background: var(--foot); color: var(--foot-ink); padding: 48px 0; }
.foot a { color: var(--foot-ink); }
.foot-in { display: grid; gap: .3em; text-align: center; }
.foot p { margin: 0; }
.foot .small { color: color-mix(in srgb, var(--foot-ink) 70%, transparent); margin-top: .6em; }
.brand-foot { font: 650 1.3rem/1.2 var(--serif); }
.brand-foot em { color: var(--foot-accent); }
