/* ============================================================
   BlackHills.biz — Redesign base
   Philosophy: CALM CANVAS + DARK FOREST TYPE + ONE WARM ACCENT.
   Contrast, not color noise. Dark-green borders kept as the
   regional signature. System fonts only (CSP-friendly, portable
   straight into the PHP build).
   Per-direction accent is set by a body class (.dir-*) below.
   ============================================================ */

:root {
  /* ---- Canvas & surfaces (clean, high-contrast) ---- */
  --canvas:        #f5f8f0;   /* warm pale sage — page */
  --canvas-2:      #eef3e8;   /* banded sections */
  --surface:       #ffffff;   /* cards — pure white */
  --surface-tint:  #fbfdf8;

  /* ---- Ink (dark forest type — the contrast engine) ---- */
  --ink:           #1c2e1b;   /* headings — near-black forest */
  --ink-2:         #2c3f2a;   /* strong body */
  --ink-3:         #51624d;   /* secondary */
  --ink-4:         #7b8c76;   /* muted / captions */
  --inverse:       #ffffff;

  /* ---- Borders ---- */
  --line:          #d7e3cf;   /* hairline */
  --line-soft:     #e6eede;
  --forest:        #243d24;   /* THE dark-green signature border */
  --forest-2:      #2f5230;

  /* ---- Brand greens ---- */
  --green:         #2f7d2a;
  --green-deep:    #1f5a1d;
  --gold:          #b8741a;
  --biz:           #5cb030;   /* the .biz lime */

  /* ---- Accent (overridden per direction) ---- */
  --accent:         #d9772e;
  --accent-hover:   #c1641f;
  --accent-active:  #a85316;
  --accent-soft:    #fbe6d3;
  --accent-ink:     #8a4412;  /* readable accent-colored text */
  --accent-contrast:#ffffff;  /* text on accent fill */
  --dawn:          linear-gradient(100deg, #e8607a 0%, #f08a3c 55%, #f4b026 100%);

  /* ---- Platform identity (small accents only) ---- */
  --fb:      #1862a8;  --fb-bg:   #e4eefa;
  --ig:      #d9772e;  --ig-bg:   #fbe7d6;   /* true orange, reserved for IG */
  --google:  #b8841a;  --google-bg:#f8edd2;  /* amber/gold — off yellow */
  --gpt:     #5a7d6a;  --gpt-bg:  #e3ece6;
  --blog:    #7a5aa8;  --blog-bg: #ece4f5;

  /* ---- Status ---- */
  --good:    #2f8a1f;  --good-bg: #dcf0d2;
  --warn:    #b8741a;  --warn-bg: #f8e9cd;
  --bad:     #b8281b;  --bad-bg:  #fadbd6;

  /* ---- Type ---- */
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ---- Radius / shadow / space ---- */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(20,45,15,.05);
  --sh-2: 0 6px 22px rgba(20,45,15,.10);
  --sh-3: 0 18px 50px rgba(20,45,15,.16);
  --gutter: clamp(20px, 5vw, 40px);
}

/* ---- Per-direction accent themes ---- */
.dir-firstlight {            /* rose → gold dawn */
  --accent:#e8757f; --accent-hover:#dd5b67; --accent-active:#c5414e;
  --accent-soft:#fbe2e4; --accent-ink:#b23a47; --accent-contrast:#fff;
  --accent-grad: linear-gradient(100deg,#e8607a 0%, #f08a3c 60%, #f4b026 100%);
}
.dir-trailhead {             /* burnt orange */
  --accent:#d9772e; --accent-hover:#c1641f; --accent-active:#a85316;
  --accent-soft:#fbe6d3; --accent-ink:#8a4412; --accent-contrast:#fff;
  --accent-grad: linear-gradient(100deg,#e0651e 0%, #d9772e 100%);
}
.dir-summit {                /* deeper green */
  --accent:#2f7d2a; --accent-hover:#246420; --accent-active:#1b4d18;
  --accent-soft:#d8f0cf; --accent-ink:#1f5a1d; --accent-contrast:#fff;
  --accent-grad: linear-gradient(100deg,#2f7d2a 0%, #5cb030 100%);
  --wash:#d3ead0;            /* hero radial wash (forest) */
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(38px, 5.6vw, 66px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(21px, 2.2vw, 27px); letter-spacing: -0.01em; }
h4 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0; }
a  { color: var(--accent-ink); text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
strong { color: var(--ink); font-weight: 700; }

.wrap  { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow{ max-width: 760px;  margin: 0 auto; padding: 0 var(--gutter); }
.lede  { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--ink-3); }

/* ============================================================
   Icons
   ============================================================ */
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none;
      stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 26px; height: 26px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; letter-spacing: -0.01em;
  padding: 13px 22px; min-height: 50px;
  border-radius: var(--r-md); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color:#fff; }
.btn-primary:active { background: var(--accent-active); }
.btn-forest { background: var(--forest); color:#fff; border-color: var(--forest); }
.btn-forest:hover { background: var(--forest-2); border-color: var(--forest-2); color:#fff; }
.btn-outline { background: var(--surface); color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: #f0f5ec; }
.btn-ghost { background: transparent; color: var(--ink-3); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: var(--forest); }
.btn-lg { font-size: 18px; padding: 16px 28px; min-height: 58px; }
.btn-sm { font-size: 14px; padding: 9px 16px; min-height: 40px; border-width: 1.5px; }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px var(--gutter);
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hdr__brand img { height: 34px; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: 4px; }
.hdr__nav a:not(.btn) { color: var(--ink-3); text-decoration: none; font-weight: 600; font-size: 15px;
              padding: 8px 13px; border-radius: var(--r-sm); white-space: nowrap; }
.hdr__nav a:not(.btn):hover { background: #eef3e8; color: var(--ink); }
.hdr__sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
@media (max-width: 720px) { .hdr__nav .hide-sm { display: none; } }

/* ============================================================
   Eyebrow / kicker
   ============================================================ */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.kicker--forest { color: var(--forest-2); }
.kicker--forest .dot { background: var(--green); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--canvas-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.center { text-align: center; max-width: 680px; margin: 0 auto; }
.center .lede { margin-top: 14px; }
.stack > * + * { margin-top: 16px; }

/* ============================================================
   Cards
   ============================================================ */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.card--forest { border: 1.5px solid var(--forest); box-shadow: var(--sh-2); }   /* dark-green signature */
.card-pad { padding: clamp(22px, 3vw, 32px); }

/* ============================================================
   Bullets (low-reading audience — used everywhere)
   ============================================================ */
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.bullets li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
              font-size: 17px; color: var(--ink-2); line-height: 1.5; }
.bullets li .bx {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); margin-top: 1px;
}
.bullets li .bx .ic { width: 15px; height: 15px; stroke-width: 2.5; }
.bullets--forest li .bx { background: var(--good-bg); color: var(--green-deep); }

/* ============================================================
   Hero sun / mountain treatment
   ============================================================ */
.sun-stage { position: relative; overflow: hidden; }
.sun-stage__sky {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.sun {
  position: absolute; left: 50%; top: 16%; transform: translateX(-50%);
  width: min(620px, 86vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at center,
      var(--accent-soft) 0%, color-mix(in oklab, var(--accent-soft) 60%, transparent) 42%, transparent 70%);
  opacity: .9;
}
.ridge {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%;
  height: auto; z-index: 1; pointer-events: none;
}

/* ============================================================
   Platform chips
   ============================================================ */
.plats { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 12px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.chip .ic { width: 18px; height: 18px; }
.chip.fb     { border-color: color-mix(in oklab, var(--fb) 35%, var(--line)); }
.chip.fb     .ic { color: var(--fb); }
.chip.ig     { border-color: color-mix(in oklab, var(--ig) 35%, var(--line)); }
.chip.ig     .ic { color: var(--ig); }
.chip.google { border-color: color-mix(in oklab, var(--google) 40%, var(--line)); }
.chip.google .ic { color: var(--google); }
.chip.gpt    { border-color: color-mix(in oklab, var(--gpt) 40%, var(--line)); }
.chip.gpt    .ic { color: var(--gpt); }
.chip .tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
             background: var(--accent); color:#fff; border-radius: var(--r-pill); padding: 2px 7px; }

/* ============================================================
   Step cards
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 26px; }
.step__n {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; background: var(--forest); color: #fff; margin-bottom: 16px;
}
.step h4 { margin-bottom: 7px; }
.step p { color: var(--ink-3); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   Report preview card
   ============================================================ */
.report { overflow: hidden; }
.report__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--surface-tint);
}
.report__biz { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); }
.report__biz .ic { color: var(--forest-2); }
.report__vs { font-size: 14px; color: var(--ink-4); }
.report__grade { display: flex; gap: 20px; align-items: center; padding: 22px; }
.grade-badge {
  width: 86px; height: 86px; border-radius: 16px; flex: none; display: grid; place-items: center;
  font-size: 40px; font-weight: 800; letter-spacing: -.02em;
  background: var(--warn-bg); color: var(--warn); border: 1.5px solid color-mix(in oklab, var(--warn) 40%, transparent);
}
.report__sum { font-size: 16px; color: var(--ink-2); }
.rank {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 9px;
  font-size: 13px; font-weight: 700; color: var(--forest-2);
  background: #eef3e8; border-radius: var(--r-pill); padding: 4px 11px;
}
.rank .ic { width: 14px; height: 14px; color: var(--google); }
.findings { border-top: 1px solid var(--line); }
.finding { display: grid; grid-template-columns: 24px 1fr; gap: 13px; padding: 15px 22px; border-top: 1px solid var(--line-soft); }
.finding:first-child { border-top: none; }
.finding .ic { width: 22px; height: 22px; margin-top: 1px; }
.finding--good .ic { color: var(--good); }
.finding--warn .ic { color: var(--warn); }
.finding--next .ic { color: var(--fb); }
.finding .ft { font-weight: 700; color: var(--ink); }
.finding .fb-txt { font-size: 15px; color: var(--ink-3); }

/* ============================================================
   Offer card (the public price / "what you get")
   ============================================================ */
.offer { display: grid; grid-template-columns: 1.15fr .85fr; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; } }
.offer__main { padding: clamp(26px, 3.5vw, 40px); }
.offer__side {
  padding: clamp(26px, 3.5vw, 40px); background: var(--forest); color: #eaf3e6;
  display: flex; flex-direction: column; justify-content: center;
}
.offer__price { display: flex; align-items: baseline; gap: 6px; color: #fff; flex-wrap: nowrap; }
.offer__price .amt { font-size: 60px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.offer__price .per { font-size: 18px; color: #bcd6b6; font-weight: 600; white-space: nowrap; }
.offer__terms { color: #bcd6b6; font-size: 15px; margin-top: 8px; }
.offer__side .btn { margin-top: 22px; }
.offer__side .fine { color: #9cbf96; font-size: 13px; margin-top: 14px; }
.tagline { display:inline-flex; align-items:center; gap:8px; font-weight:700; color: var(--accent-ink);
           background: var(--accent-soft); border-radius: var(--r-pill); padding: 6px 14px; font-size: 14px; white-space: nowrap; }

/* ---- Upsell teaser ---- */
.upsell { display: flex; align-items: center; justify-content: space-between; gap: 18px;
          flex-wrap: wrap; padding: 20px 24px; }
.upsell p { color: var(--ink-3); }

/* ============================================================
   Run-report band
   ============================================================ */
.run { }
.run-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.input-wrap { position: relative; flex: 1 1 300px; min-width: 0; }
.input-wrap .ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-4); }
.input {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--forest); border-radius: var(--r-md);
  padding: 15px 16px 15px 44px; min-height: 58px; outline: none;
}
.input:focus { box-shadow: 0 0 0 4px var(--accent-soft); }
.input::placeholder { color: var(--ink-4); }
.pips { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; color: var(--ink-4); }
.pip { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.pip.used { background: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */
.ftr { background: var(--forest); color: #c4dbbe; padding: 44px 0; }
.ftr__in { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ftr__brand { display: flex; gap: 14px; align-items: flex-start; }
.ftr__brand img { height: 40px; background:#fff; border-radius: 8px; padding: 4px; }
.ftr strong { color: #fff; }
.ftr a { color: #dcead7; }
.ftr__links { display: flex; gap: 22px; flex-wrap: wrap; }
.ftr small { color: #98b692; }

/* ============================================================
   AI status dot
   ============================================================ */
.ai { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.ai .d { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-bg); }

/* reveal-on-scroll friendly default (visible by default for print/no-JS) */
[data-rise] { }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js [data-rise].in { opacity: 1; transform: none; }
}

/* ============================================================
   Nav compat — the app's auth_nav_links() emits .navlink /
   .nav-logout (from the legacy app.css). Style them to match the
   redesign header so the logged-in nav looks right on public pages.
   ============================================================ */
.hdr__nav .navlink {
  color: var(--ink-3); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 13px; border-radius: var(--r-sm); white-space: nowrap;
  background: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.4;
}
.hdr__nav .navlink:hover { background: #eef3e8; color: var(--ink); }
.hdr__nav .nav-logout { display: inline; margin: 0; }

/* ============================================================
   Home (Daybreak) — page-specific. Ported from the CD mock's
   inline <style> (the demo palette switcher is omitted in
   production; the accent comes from the .dir-summit body class).
   ============================================================ */
.db-hero { position: relative; overflow: hidden; padding: clamp(56px,9vw,118px) 0 clamp(40px,6vw,64px);
           background: radial-gradient(95% 70% at 50% -8%, var(--wash) 0%, transparent 58%); }
.db-hero__in { position: relative; z-index: 2; text-align: center; max-width: 880px; margin: 0 auto; }
.db-hero h1 { font-size: clamp(40px,6.4vw,76px); margin: 20px auto 0; max-width: 16ch; }
.db-hero h1 .warm { color: var(--accent-ink); }
.db-hero .lede { margin: 22px auto 0; max-width: 560px; }
.db-hero .run-form { max-width: 540px; margin: 30px auto 0; }
.db-trust { display:inline-flex; align-items:center; gap:9px; margin-top:14px; font-size:14px; color:var(--ink-3); font-weight:600; }
.db-trust .ic { color: var(--green); }
.seen { display:flex; align-items:center; justify-content:center; gap:10px 26px; flex-wrap:wrap; margin-top:40px; color:var(--ink-4); }
.seen .lbl { font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.seen .it { display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:15px; color:var(--ink-3); }
.seen .it.fb .ic{color:var(--fb)} .seen .it.ig .ic{color:var(--ig)} .seen .it.gg .ic{color:var(--google)} .seen .it.gpt .ic{color:var(--gpt)}

.promise { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:44px; }
@media (max-width:760px){ .promise{grid-template-columns:1fr;} }
.promise .p { text-align:center; padding:30px 24px; }
.promise .pIco { width:54px;height:54px;border-radius:15px;display:grid;place-items:center;margin:0 auto 16px;
                 background:var(--accent-soft);color:var(--accent-ink); }
.promise .pIco .ic{width:26px;height:26px;}
.promise h4{margin-bottom:6px;} .promise p{color:var(--ink-3);font-size:16px;}

.quote { max-width:760px;margin:0 auto;text-align:center; }
.quote .big{font-size:clamp(22px,2.8vw,30px);font-weight:700;color:var(--ink);line-height:1.4;letter-spacing:-.01em;}
.quote .who{margin-top:18px;color:var(--ink-3);font-weight:600;}
.quote .who strong{color:var(--ink);}

/* Layout hooks that replace the mock's inline style="" (CSP-clean) */
.db-fund { margin-top:26px; color:var(--ink-3); }
.db-report { max-width:720px; margin:34px auto 0; }
.db-offer { max-width:900px; margin:34px auto 0; }
.db-offer__h { margin:14px 0 16px; }
.db-upsell { max-width:900px; margin:18px auto 0; }
.db-ftr-ic { display:inline; vertical-align:-2px; }

/* small margin utilities (replace the mock's inline style="margin-top:…") */
.mt8 { margin-top:8px; }
.mt12 { margin-top:12px; }
.mt22 { margin-top:22px; }
.mt24 { margin-top:24px; }

/* ============================================================
   Running-your-report (report-prep) — page-specific.
   Ported from new-domain-report.html's inline <style>; the demo
   "Preview as Visitor/Member" control is omitted (production auth
   decides). body bg + the data-rise safety net are scoped to .rp
   so they don't affect other public pages.
   ============================================================ */
body.rp { background: var(--canvas-2); }
.rp [data-rise] { opacity: 1 !important; transform: none !important; }

.gen { padding: clamp(40px,6vw,72px) 0 clamp(24px,3vw,36px); }
.gen__card { max-width: 740px; margin: 0 auto; padding: clamp(28px,4vw,44px); text-align: center; }
.gen__dom { display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:14px;
            color: var(--forest-2); background:#eef3e8; border:1px solid var(--line);
            border-radius: var(--r-pill); padding:6px 14px 6px 12px; }
.gen__dom .ic { width:15px; height:15px; color: var(--green); }

/* progress ring */
.ring { position: relative; width: 132px; height: 132px; margin: 22px auto 4px; }
.ring svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.ring__track { stroke: var(--line); stroke-width: 10; fill: none; }
.ring__fill  { stroke: var(--accent); stroke-width: 10; fill: none; stroke-linecap: round;
               transition: stroke-dashoffset .25s linear; }
.ring__num { position:absolute; inset:0; display:grid; place-items:center;
             font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing:-.02em; }
.ring__sweep { position:absolute; inset:0; pointer-events:none; }
.ring__sweep svg { animation: spin 1.15s linear infinite; }
.ring__sweep .seg { stroke: var(--accent-ink); stroke-width: 10; fill:none; stroke-linecap:round; opacity:.85; }
@keyframes spin { to { transform: rotate(270deg); } }
@media (prefers-reduced-motion: reduce){ .ring__sweep svg { animation: none; } }

.gen h1 { font-size: clamp(28px,3.6vw,40px); margin: 14px auto 0; max-width: 18ch; }
.gen__status { display:flex; align-items:center; justify-content:center; gap:9px;
               margin-top: 12px; min-height: 26px; color: var(--ink-3); font-weight:600; font-size:16px; }
.gen__status .d { width:8px; height:8px; border-radius:50%; background:var(--accent); flex:none; }
.gen__hint { margin: 14px auto 0; max-width: 460px; color: var(--ink-4); font-size: 15px; }
.gen__skip { margin-top: 14px; }
.gen__skip a { font-size: 14px; color: var(--ink-4); font-weight:600; text-decoration: underline; cursor:pointer; }

/* ready state */
.ready { display:none; }
.ready.on { display:block; }
.gen.done .gen__live { display:none; }
.checkmark { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 6px;
             display:grid; place-items:center; background: var(--good-bg); color: var(--green-deep); }
.checkmark .ic { width: 38px; height: 38px; stroke-width: 2.6; }
.ready h1 { margin-top: 12px; }
.ready__sub { margin: 12px auto 0; max-width: 480px; color: var(--ink-3); }
.mailform { display:flex; gap:10px; flex-wrap:wrap; max-width: 520px; margin: 22px auto 0; }
.mailform .input-wrap { flex:1 1 260px; }

/* shared little section header */
.lead-c { text-align:center; max-width: 660px; margin: 0 auto; }

/* the journey flow */
.flow { display:grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 30px; }
.flow__step { position: relative; text-align:center; padding: 22px 12px; }
.flow__n { width: 38px; height: 38px; border-radius: 11px; display:grid; place-items:center;
           font-weight: 800; font-size: 16px; margin: 0 auto 12px; background: var(--forest); color:#fff; }
.flow__step.here .flow__n { background: var(--accent); }
.flow__t { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.25; }
.flow__d { font-size: 13px; color: var(--ink-4); margin-top: 5px; line-height: 1.4; }
.flow__tag { display:inline-block; margin-top: 8px; font-size: 10.5px; font-weight: 800; letter-spacing:.08em;
             text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft);
             padding: 2px 8px; border-radius: var(--r-pill); }
.flow__step:not(:last-child)::after { content:""; position:absolute; top: 41px; right: -5px; width: 10px; height: 2px; background: var(--line); }
@media (max-width: 900px){ .flow { grid-template-columns: repeat(3,1fr); } .flow__step:nth-child(3)::after{display:none;} }
@media (max-width: 560px){ .flow { grid-template-columns: 1fr 1fr; } .flow__step::after{display:none;} }

/* capability set */
.caps { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 30px; }
@media (max-width: 900px){ .caps { grid-template-columns: 1fr; } }
.capcol { padding: 0; overflow: hidden; display:flex; flex-direction:column; }
.capcol__h { padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface-tint); }
.capcol__k { display:inline-flex; align-items:center; gap:8px; font-size: 12px; font-weight: 800;
             letter-spacing:.08em; text-transform: uppercase; color: var(--accent-ink); }
.capcol__k .ic { width:16px; height:16px; }
.capcol__sub { font-size: 13.5px; color: var(--ink-4); margin-top: 4px; }
.capcol.analyze { --cap: var(--fb); }
.capcol.create  { --cap: var(--blog); }
.capcol.post    { --cap: var(--green); }
.capcol__k { color: color-mix(in oklab, var(--cap) 78%, var(--ink)); }
.capcol__k .ic { color: var(--cap); }
.mod { display:grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 20px; border-top: 1px solid var(--line-soft); }
.mod:first-of-type { border-top: none; }
.mod__ico { width: 34px; height: 34px; border-radius: 9px; display:grid; place-items:center;
            background: color-mix(in oklab, var(--cap) 13%, #fff); color: var(--cap); }
.mod__ico .ic { width: 18px; height: 18px; }
.mod__n { font-weight: 700; color: var(--ink); font-size: 15.5px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.mod__d { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }
.pill { font-size: 10px; font-weight: 800; letter-spacing:.06em; text-transform: uppercase;
        padding: 2px 8px; border-radius: var(--r-pill); white-space: nowrap; }
.pill--now { color: var(--accent-ink); background: var(--accent-soft); }
.pill--inc { color: var(--green-deep); background: var(--good-bg); }
.caps__note { text-align:center; margin-top: 20px; color: var(--ink-3); font-size: 15px; }
.caps__note strong { color: var(--ink); }

/* starter teaser */
.teaser { display:grid; grid-template-columns: 1.2fr .8fr; max-width: 920px; margin: 30px auto 0; }
@media (max-width: 760px){ .teaser { grid-template-columns: 1fr; } }
.teaser__l { padding: clamp(24px,3.2vw,36px); }
.teaser__r { padding: clamp(24px,3.2vw,36px); background: var(--forest); color:#eaf3e6;
             display:flex; flex-direction:column; justify-content:center; }
.teaser__price { display:flex; align-items:baseline; gap:6px; }
.teaser__r .amt { font-size: 52px; font-weight: 800; color:#fff; letter-spacing:-.03em; line-height:1; }
.teaser__r .per { font-size: 16px; color:#bcd6b6; font-weight: 600; }
.teaser__r .terms { font-size: 13px; color:#bcd6b6; margin-top: 7px; }
.teaser__h { margin: 14px 0 16px; }
.teaser__r .btn { margin-top: 18px; }
.teaser__r .fine { font-size: 12.5px; color:#9cbf96; margin-top: 12px; }
.teaser__finelink { color:#dcead7; text-decoration:underline; }

/* ============================================================
   Report (the analyzer result). Ported from Report.html's inline
   <style>. Reuses base.css .finding/.ft/.fb-txt and .rank. Driven
   by real report data; grade blocks are tone-colored by class.
   ============================================================ */
.rwrap { max-width:880px; margin:0 auto; padding:0 22px; }
.rtop { padding:26px 0 18px; }
.rtop__biz { display:flex; align-items:center; gap:9px; font-weight:800; color:var(--ink); font-size:20px; letter-spacing:-.01em; }
.rtop__biz .ic { color:var(--forest-2); }
.rtop__meta { font-size:13px; color:var(--ink-4); margin-top:3px; }

.overall { display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:center; padding:22px; }
@media (max-width:560px){ .overall { grid-template-columns:1fr; } }
.bigGrade { width:104px; height:104px; border-radius:18px; display:grid; place-items:center; font-size:48px; font-weight:800; letter-spacing:-.03em;
            background:var(--warn-bg); color:var(--warn); border:2px solid color-mix(in oklab,var(--warn) 40%,transparent); }
.bigGrade.g-a, .bigGrade.g-b { background:var(--good-bg); color:var(--green-deep); border-color:color-mix(in oklab,var(--good) 40%,transparent); }
.bigGrade.g-c { background:var(--warn-bg); color:var(--warn); border-color:color-mix(in oklab,var(--warn) 40%,transparent); }
.bigGrade.g-d, .bigGrade.g-f { background:var(--bad-bg); color:var(--bad); border-color:color-mix(in oklab,var(--bad) 40%,transparent); }
.overall__sum { font-size:17px; color:var(--ink-2); line-height:1.5; }
.overall__sum strong { color:var(--ink); }

.plat4 { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:14px; }
@media (max-width:640px){ .plat4 { grid-template-columns:1fr 1fr; } }
.pgrade { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:14px; border-top:3px solid var(--pc, var(--forest-2)); }
.pgrade.plat--facebook  { --pc:var(--fb); }
.pgrade.plat--instagram { --pc:var(--ig); }
.pgrade.plat--google    { --pc:var(--google); }
.pgrade.plat--chatgpt   { --pc:var(--gpt); }
.pgrade__h { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.pgrade__n { display:inline-flex; align-items:center; gap:7px; font-weight:700; font-size:14px; color:var(--ink); }
.pgrade__n .ic { width:16px; height:16px; color:var(--pc); }
.pgrade__g { font-weight:800; font-size:20px; color:var(--ink); }
.pgrade__t { font-size:12.5px; color:var(--ink-3); margin-top:6px; line-height:1.4; }

.sec-title { font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-4); margin:24px 0 10px; }

/* competitor comparison table (kept from the current report, restyled) */
.compare { width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); overflow:hidden; font-size:14px; }
.compare th, .compare td { padding:10px 12px; text-align:center; border-top:1px solid var(--line-soft); }
.compare thead th { background:var(--surface-tint); color:var(--ink-3); font-weight:700; font-size:12px; letter-spacing:.04em; text-transform:uppercase; border-top:none; }
.compare tbody th { text-align:left; font-weight:700; color:var(--ink); }
.compare .col-label { text-align:left; }
.compare .us { background:var(--accent-soft); color:var(--accent-ink); font-weight:800; }
.compare-note { margin-top:8px; }

.whatnext { margin:18px 0 36px; display:grid; grid-template-columns:1.2fr .8fr; }
@media (max-width:720px){ .whatnext { grid-template-columns:1fr; } }
.whatnext__l { padding:26px; }
.whatnext__r { padding:26px; background:var(--forest); color:#eaf3e6; display:flex; flex-direction:column; justify-content:center; }
.whatnext__r .amt { font-size:46px; font-weight:800; color:#fff; letter-spacing:-.03em; line-height:1; }
.whatnext__r .per { font-size:15px; color:#bcd6b6; font-weight:600; }
.whatnext__r .terms { font-size:13px; color:#bcd6b6; margin-top:6px; }
.wn-h { margin:14px 0 14px; }
.wn-altlink { display:block; text-align:center; margin-top:12px; color:#dcead7; font-weight:600; font-size:13.5px; text-decoration:underline; }
.secondary { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }

/* small utilities for the mock's remaining inline styles */
.p0 { padding:0; }
.mt18 { margin-top:18px; }
.mt40 { margin-top:40px; }

/* Icons rendered by the app's icon() helper carry .lucide-host (styled in the
   legacy app.css, not loaded here) — give them the same base sizing as .ic so
   they render correctly on redesign pages even without an explicit .ic class. */
.lucide-host { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:2;
               stroke-linecap:round; stroke-linejoin:round; flex:none; }

/* ============================================================
   Enroll ("What you get" / pricing). Ported from Enroll.html's
   inline <style>. Public page. Prices are placeholders (the real
   rate card / admin price menu is a separate feature).
   ============================================================ */
body.enroll { --canvas:#eef4ea; }
.ehero { text-align:center; padding:clamp(44px,7vw,84px) 0 8px; }
.ehero h1 { margin:18px auto 0; max-width:16ch; }
.ehero .lede { margin:18px auto 0; max-width:600px; }

.starter { display:grid; grid-template-columns:1.2fr .8fr; max-width:920px; margin:30px auto 0; }
@media (max-width:760px){ .starter { grid-template-columns:1fr; } }
.starter__l { padding:clamp(24px,3.4vw,38px); }
.starter__r { padding:clamp(24px,3.4vw,38px); background:var(--forest); color:#eaf3e6; display:flex; flex-direction:column; justify-content:center; }
.starter__r .amt { font-size:58px; font-weight:800; color:#fff; letter-spacing:-.03em; line-height:1; }
.starter__r .per { font-size:17px; color:#bcd6b6; font-weight:600; }
.starter__r .terms { font-size:14px; color:#bcd6b6; margin-top:8px; }
.starter__r .fine { font-size:12.5px; color:#9cbf96; margin-top:14px; }

.money { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:980px; margin:44px auto 0; }
@media (max-width:760px){ .money { grid-template-columns:1fr; } }
.money .m { padding:26px; text-align:center; }
.money .mi { width:50px;height:50px;border-radius:14px;display:grid;place-items:center;margin:0 auto 14px;background:var(--good-bg);color:var(--green-deep); }
.money .mi .ic{width:24px;height:24px;}
.money h4{margin-bottom:6px;} .money p{color:var(--ink-3);font-size:15px;}

.menu { max-width:980px; margin:44px auto 0; }
.menu-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:18px; }
@media (max-width:820px){ .menu-grid { grid-template-columns:1fr; } }
.mcard { padding:0; overflow:hidden; }
.mcard__head { display:flex; align-items:center; justify-content:space-between; padding:13px 16px; border-bottom:1px solid var(--line); background:var(--surface-tint); }
.mcard__head h4 { font-size:16px; }
.mcard__head .k { font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--accent-ink); background:var(--accent-soft); padding:3px 9px; border-radius:var(--r-pill); }
.prow { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:11px 16px; border-top:1px solid var(--line-soft); }
.prow:first-child { border-top:none; }
.prow__n { font-size:14.5px; color:var(--ink-2); }
.prow__n b { color:var(--ink); font-weight:700; }
.prow__n small { display:block; color:var(--ink-4); font-size:12.5px; }
.prow__p { font-weight:800; color:var(--ink); font-variant-numeric:tabular-nums; white-space:nowrap; }
.prow__p .u { font-size:12px; color:var(--ink-4); font-weight:600; }

.reassure { max-width:760px; margin:40px auto 0; text-align:center; }
.reassure .big { font-size:clamp(20px,2.6vw,26px); font-weight:700; color:var(--ink); line-height:1.4; }
.ecta { text-align:center; padding:44px 0 60px; }
.ecta__lede { margin:12px auto 22px; max-width:520px; }
.ecta__btns { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }

/* enroll inline-style utilities */
.mt10 { margin-top:10px; }
.mt20 { margin-top:20px; }

/* print / Save-as-PDF: drop the chrome, keep the report on white */
@media print {
  body.rp { background:#fff; }
  .hdr, .ftr, .secondary, .whatnext__r .btn, .wn-altlink { display:none !important; }
  .card, .card--forest, .pgrade, .compare { box-shadow:none !important; }
  .whatnext__r { background:#eef3e8; color:var(--ink-2); -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}
