/* Warm cream / brown / burnt-orange theme with serif headings.
   Loaded after theme-modern.css. Colours, fonts and surface styling only — no layout changes.
   Remove the <link> to theme-warm.css on a page to go back to the blue theme. */

:root {
  --blue: #b4531f;            /* accent: burnt orange */
  --gold: #b4531f;
  --gold-text: #b4531f;
  --accent-hover: #9c4517;
  --accent-soft: #f2b47c;     /* light orange (buttons on dark) */
  --cream: #fdeedd;           /* soft accent fill: pills, selected choices */
  --cream-line: #f0d3b4;
  --band: #fbeee0;            /* alternating section background */
  --page: #fdf6ee;            /* page background */
  --surface: #fffaf4;         /* cards */
  --ink: #2a1d15;
  --black: #2a1d15;
  --white: #ffffff;
  --muted: #7d6a5c;
  --muted-2: #4d3c30;
  --line: #f1e3d3;
  --line-2: #ecd9c4;
  --mist: #fffaf4;
  --heading: "Outfit", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

body { background: var(--page); color: var(--ink); font-family: var(--body); }
.stars { display: none; }

/* Headings: soft serif, normal tracking; highlighted words in italic orange */
h1, h2, h3, .hero__title, .h2, .conf-title, .step { font-family: var(--heading); letter-spacing: -0.025em; font-weight: 700; }
.hero__title { font-weight: 700; }
.h2 { font-weight: 700; }
.accent { color: var(--gold-text); font-style: normal; }
.hero__title .accent, .hero__title .accent--blue { color: var(--gold-text); font-style: normal; }
.hero__sub .accent { color: inherit; font-style: inherit; }
.lead { color: var(--muted); }
.eyebrow, .eyebrow--blue { color: var(--gold-text); }

/* Eyebrow pill */
.hero .badge { background: #ffffff; color: var(--gold-text); border: 1px solid var(--cream-line); border-radius: 999px; box-shadow: 0 4px 14px rgba(120, 60, 20, 0.06); }
.badge__alert { color: var(--gold-text); }

/* Buttons: rounded pill, burnt orange */
.cta {
  background: var(--gold); color: #ffffff; border-radius: 999px;
  box-shadow: 0 12px 26px rgba(180, 83, 31, 0.28); font-family: var(--body);
}
.cta:hover { background: var(--accent-hover); box-shadow: 0 16px 32px rgba(180, 83, 31, 0.34); }
.cta .cta__arrow { color: var(--gold); }
.cta .cta__arrow::after { border-color: rgba(255, 255, 255, 0.85); }
.audit-form .audit-form__submit.cta, .hero .cta { border-radius: 999px; }
@media (max-width: 760px) { .cta .cta__arrow { color: #ffffff; } }

/* Pills under the button */
.guarantee-pill { background: #ffffff; border-color: var(--cream-line); color: var(--ink); }
.guarantee-pill svg { stroke: var(--gold-text); }
.guarantee { background: var(--cream); border-color: var(--cream-line); }

/* Section bands */
.hero + .section, .section--band, .promise, .promise-mini, .footer { background: var(--band); }
main:has(.conf-hero) > section:nth-of-type(even) { background: var(--band); }
.section--stats { background: var(--page); }
.footer { border-top-color: var(--line-2); }

/* Cards and panels: warm surface, soft border, rounder corners */
.card, .panel, .story, .promise__card, .faq__card, .case, .audit-form, .audit-done, .invite, .framework .steps li, .result, .rating {
  background: var(--surface); border-color: var(--line-2);
}
.card, .panel, .story, .faq__card, .case, .framework .steps li { border-radius: 18px; }
.card--glow::before { background: linear-gradient(90deg, transparent, var(--accent-soft), transparent); }
.story { box-shadow: 0 14px 34px rgba(120, 60, 20, 0.06); }
.story__metric, .story__more, .case__result, .team-stats strong, .coach__name { color: var(--gold-text); }
.story__metric, .case__result { font-family: var(--heading); font-weight: 700; letter-spacing: -0.015em; }
.team-stats strong { font-family: var(--heading); font-weight: 700; color: var(--ink); }
.type-pill { background: var(--cream); border-color: var(--cream-line); color: var(--gold-text); }

/* Numbered badges, ticks, icons */
.steps__n, .num, .icon-box, .promise__icon, .confirmed__check { background: var(--gold); color: #ffffff; }
.promise__icon { box-shadow: 0 12px 28px rgba(180, 83, 31, 0.28); }
.rows--check li::before { background: var(--gold); }
.oncall li::before { color: var(--gold); }
.stat--main { background: var(--gold); box-shadow: 0 10px 24px rgba(180, 83, 31, 0.28); }
.stat--out { border-color: var(--cream-line); color: var(--gold-text); }
.result__label--paid { background: var(--gold); }

/* Placeholder image / video boxes: warm peach like the reference */
.vsl { background: #f6dcc0; border-radius: 18px; box-shadow: 0 24px 60px rgba(120, 60, 20, 0.14); }
.vsl-ph { background: linear-gradient(160deg, #f9e3cb 0%, #f3c99f 100%); }
.vsl-ph svg { stroke: #a8623a; }
.vsl-ph span { color: #8a5434; }

/* Confirmation page bits */
.conf-title .hl, mark.hl { background: var(--gold); color: #ffffff; }
.step__n { color: var(--gold-text); }
.confirmed { background: var(--surface); border-color: var(--line-2); }
.confirmed__eyebrow, .confirmed__cal svg { color: var(--gold-text); stroke: var(--gold-text); }
.case__tag { color: var(--gold-text); border-color: var(--cream-line); }
.invite__note, .invite__important, .invite__click { color: var(--gold-text); }
.invite__add { background: var(--gold); }

/* /audit form */
.audit-form input[type="text"], .audit-form input[type="email"], .audit-form input[type="tel"], .choice span { background: #ffffff; border-color: var(--line-2); }
.audit-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180, 83, 31, 0.15); }
.choice input:checked + span { background: var(--cream); border-color: var(--gold); }
.choice input[type="radio"]:checked + span::before, .choice input[type="checkbox"]:checked + span::before { border-color: var(--gold); background-color: var(--gold); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(180, 83, 31, 0.25); }

/* Popups */
.story-modal__panel, .tf-modal__panel { background: var(--page); }

/* Links */
.footer__links a:hover, .footer__copy a:hover { color: var(--gold-text); }

/* Big stat numbers in Outfit; buttons/labels in Inter */
.team-stats strong, .stat strong, .steps__n, .num { font-family: var(--heading); font-weight: 700; }
.cta, .badge, .guarantee-pill, .eyebrow, .type-pill, .oncall__title { font-family: var(--body); }

/* Backgrounds like the reference: cream gradient, soft "sun" circles top-right, layered waves at the bottom of the hero */
body { background: linear-gradient(180deg, #fdf4e9 0%, #fcefe1 100%); }
.hero, .conf-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fdf3e6 0%, #fcecdb 100%); }
.hero > .container, .conf-hero > .container { position: relative; z-index: 1; }
.hero::before, .conf-hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -240px; right: -210px; width: 560px; height: 560px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #f2c08b 0 47%, transparent 47.4%),
    radial-gradient(circle at 50% 50%, #f8ddc0 0 70%, transparent 70.4%);
  opacity: 0.85;
}
.hero::after, .conf-hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; left: 0; right: 0; bottom: 0; height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0 120 C 240 60 480 70 720 110 S 1200 170 1440 90 V220 H0Z' fill='%23f8e2cb' fill-opacity='0.75'/%3E%3Cpath d='M0 165 C 300 120 560 135 820 160 S 1260 190 1440 150 V220 H0Z' fill='%23f5d6b5' fill-opacity='0.7'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
@media (max-width: 760px) {
  .hero::before, .conf-hero::before { top: -150px; right: -150px; width: 320px; height: 320px; opacity: 0.7; }
  .hero::after, .conf-hero::after { height: 120px; }
}
.vsl { border: 7px solid #ffffff; box-shadow: 0 24px 60px rgba(120, 60, 20, 0.16); }
@media (max-width: 760px) { .vsl { border-width: 5px; } }
/* Eyebrow pill: dark brown like the reference CTA block, !! in its light peach */
.hero .badge { background: #2a1d15; color: #fdf3e6; border-color: #2a1d15; box-shadow: 0 8px 20px rgba(42, 29, 21, 0.18); }
.hero .badge .badge__alert { color: var(--accent-soft); }
/* Subheadline: plain Inter like the reference (no italic, medium weight) */
.hero__sub { font-family: var(--body); font-style: normal; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.hero__sub .accent { color: var(--ink); font-weight: 600; }
.section.section--stats { padding-top: 44px; padding-bottom: 44px; }
@media (max-width: 760px) { .section.section--stats { padding-top: 32px; padding-bottom: 32px; } }
@media (min-width: 761px) { .stories > .story:nth-child(5):last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); } .stories > .story:nth-child(3):not(:last-child) { grid-column: auto; justify-self: stretch; width: auto; } }
.result__soon { position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #8a5434; background: linear-gradient(160deg, #f9e3cb 0%, #f3c99f 100%); }
.stat.stat--main, .stat--out.stat--main { color: #ffffff; border-color: var(--gold); }
.stat--main strong { color: #ffffff; }
.stat--main span { color: rgba(255, 255, 255, 0.88); }
/* Proof cards: screenshots inside the card, between the title and the breakdown */
.story__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 4px; }
.story__shot { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #ffffff; border: 1px solid var(--line-2); }
.story__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 22px 6px 6px; box-sizing: border-box; }
.story__shot-label { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 2px 8px; border-radius: 999px; background: #2a1d15; color: #fdf3e6; font: 700 10px var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.story__shot + .story__shot .story__shot-label { background: var(--gold); color: #ffffff; }
.story__shots + .story__blurb { margin-top: 10px; }
.story__shots { width: 100%; align-self: stretch; box-sizing: border-box; }
/* stack screenshots full width at their natural shape so wide dashboards stay readable */
.story__shots { grid-template-columns: 1fr; gap: 8px; }
.story__shot { aspect-ratio: auto; padding: 30px 8px 8px; box-sizing: border-box; }
.story__shot img { position: static; display: block; width: 100%; height: auto; max-height: 200px; object-fit: contain; padding: 0; margin: 0 auto; }

/* ---- Liquid-glass buttons (inspired by Apple's Liquid Glass), same burnt orange ---- */
.cta, .hero .cta, .audit-form .audit-form__submit.cta {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38); border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.10) 38%, rgba(255, 255, 255, 0) 52%, rgba(60, 20, 0, 0.10) 100%),
    radial-gradient(120% 140% at 50% 120%, rgba(255, 170, 110, 0.55) 0%, rgba(255, 170, 110, 0) 60%),
    rgba(180, 83, 31, 0.90);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.75),      /* bright top rim */
    inset 0 -1.5px 0 rgba(255, 220, 190, 0.35),     /* soft bottom rim */
    inset 0 -10px 18px rgba(90, 30, 5, 0.22),       /* depth at the base */
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(90, 35, 5, 0.25),
    0 10px 26px rgba(180, 83, 31, 0.30),
    0 22px 44px -18px rgba(120, 50, 10, 0.45);
  text-shadow: 0 1px 1px rgba(90, 30, 5, 0.35);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, background-color 0.25s ease, filter 0.25s ease;
}
/* specular highlight sweep across the top, like light on curved glass */
.cta::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 6%; right: 6%; top: 2px; height: 48%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.10) 70%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.65; filter: blur(0.5px);
}
/* moving sheen on hover */
.cta::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg); transition: left 0.7s cubic-bezier(.2,.8,.2,1);
}
.cta:hover {
  transform: translateY(-2px) scale(1.01);
  background-color: transparent; filter: saturate(1.08) brightness(1.04);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1.5px 0 rgba(255, 220, 190, 0.4),
    inset 0 -10px 18px rgba(90, 30, 5, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 2px 4px rgba(90, 35, 5, 0.25),
    0 16px 34px rgba(180, 83, 31, 0.36),
    0 28px 52px -20px rgba(120, 50, 10, 0.5);
}
.cta:hover::after { left: 120%; }
.cta:active { transform: translateY(0) scale(0.985); }
/* arrow bubble: frosted white glass */
.cta .cta__arrow {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 236, 0.88));
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -2px 4px rgba(180, 83, 31, 0.18), 0 2px 6px rgba(90, 30, 5, 0.25);
  text-shadow: none;
}
@media (max-width: 760px) { .cta .cta__arrow { background: none; box-shadow: none; text-shadow: 0 1px 1px rgba(90, 30, 5, 0.35); } }

/* ---- Liquid glass on the other pills / buttons ---- */
/* Dark glass: eyebrow pill + "Before" tags */
.hero .badge, .story__shot-label {
  position: relative; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, 0.18) 100%),
    rgba(42, 29, 21, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 220, 190, 0.10),
    inset 0 -6px 12px rgba(0, 0, 0, 0.25),
    0 1px 2px rgba(42, 29, 21, 0.25),
    0 10px 24px -8px rgba(42, 29, 21, 0.35);
}
/* Orange glass: "After" tags */
.story__shot + .story__shot .story__shot-label {
  border-color: rgba(255, 255, 255, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0) 55%, rgba(60, 20, 0, 0.12) 100%),
    rgba(180, 83, 31, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -4px 8px rgba(90, 30, 5, 0.22), 0 4px 10px -4px rgba(180, 83, 31, 0.45);
}
/* Clear glass: guarantee pills, rating, card pills and tags, confirmation dropdown buttons */
.guarantee-pill, .rating, .type-pill, .case__tag, .case summary {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 244, 232, 0.45) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -1px 0 rgba(180, 83, 31, 0.10),
    inset 0 -6px 12px rgba(180, 83, 31, 0.06),
    0 0 0 1px rgba(180, 83, 31, 0.10),
    0 1px 2px rgba(120, 60, 20, 0.08),
    0 8px 22px -8px rgba(120, 60, 20, 0.22);
}
.type-pill, .case__tag { color: var(--gold-text); }
.case summary { color: var(--gold-text); border-radius: 999px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.case summary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #ffffff, inset 0 -6px 12px rgba(180, 83, 31, 0.08), 0 0 0 1px rgba(180, 83, 31, 0.16), 0 10px 24px -8px rgba(120, 60, 20, 0.28); }
