:root {
  --navy-950: #06111f;
  --navy-900: #081729;
  --navy-800: #0b1f3a;
  --navy-700: #13294b;
  --navy-600: #1d3a66;
  --gold: #c9a24b;
  --gold-dark: #a8832f;
  --gold-soft: #efe3c4;
  --ivory: #f8f6f1;
  --white: #ffffff;
  --ink: #16202f;
  --muted: #5b6477;
  --line: #e5e1d6;
  --success: #2f7d5b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .05), 0 8px 24px rgba(11, 31, 58, .06);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, .14);
  --header-h: 72px;
  --tabbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--navy-800); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
main:focus { outline: none; }

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 .9rem; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-600); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #d6b25f; box-shadow: 0 6px 18px rgba(201, 162, 75, .35); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost { background: var(--ivory); color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-link { background: none; border: 0; padding: 0; color: var(--gold-dark); font-weight: 600; }
.btn-link:hover { color: var(--navy-800); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--navy-800); }
.brand-sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-top: 3px; }
.desktop-nav { display: none; gap: 4px; margin-left: auto; }
.desktop-nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.desktop-nav a:hover { color: var(--navy-800); background: var(--ivory); }
.desktop-nav a[aria-current="page"] { color: var(--navy-800); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.header-actions { display: none; gap: 10px; align-items: center; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(201, 162, 75, .22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(29, 58, 102, .9), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; padding: 72px 20px 120px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { font-size: 1.1rem; color: rgba(255, 255, 255, .8); max-width: 60ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; color: rgba(255, 255, 255, .72); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Dashboard */
.dash { position: relative; z-index: 2; margin-top: -64px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dash-card {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dash-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.dash-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold); margin-bottom: 8px; }
.dash-title { font-weight: 600; color: var(--navy-800); }
.dash-desc { font-size: .86rem; color: var(--muted); flex: 1; }
.dash-link { font-size: .85rem; font-weight: 600; color: var(--gold-dark); margin-top: 6px; }
.latest-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--gold-soft); border-left: 4px solid var(--gold);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; margin-bottom: 14px;
}
.latest-card p { margin: 0; }
.latest-card .latest-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.latest-card .latest-value { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy-800); }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--ivory); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head-spaced { margin-top: 80px; }
.split { display: grid; gap: 24px; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.grid-3 { display: grid; gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.audience-card { position: relative; }
.audience-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.audience-card p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { padding: 24px; border-top: 2px solid var(--navy-800); background: linear-gradient(180deg, var(--ivory), #fff); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-dark); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }

.cta-band {
  margin: 0 0 72px; padding: 40px 28px; border-radius: 20px; color: #fff;
  background: radial-gradient(600px 300px at 100% 0, rgba(201, 162, 75, .25), transparent 60%), var(--navy-800);
  display: flex; flex-direction: column; gap: 22px;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .75); margin: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page head */
.page-head {
  color: #fff; padding: 56px 0 60px;
  background: radial-gradient(700px 300px at 90% 0, rgba(201, 162, 75, .18), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 20ch; }
.page-head p:not(.eyebrow) { color: rgba(255, 255, 255, .78); max-width: 62ch; margin: 0; font-size: 1.05rem; }

/* Panels & forms */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--navy-800); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; width: 100%;
  border: 1px solid #d6d2c6; border-radius: var(--radius-sm); padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b1f3a' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 20px 6px; }
.form-success p { color: var(--muted); }
.success-icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e7f3ed; color: var(--success); }
.success-icon svg { width: 28px; height: 28px; stroke-width: 2.2; }

.form-layout { display: grid; gap: 28px; align-items: start; }
.form-aside h3 { font-family: var(--serif); font-size: 1.6rem; }
.expect { padding-left: 1.2rem; margin: 0 0 24px; }
.expect li { margin-bottom: 14px; color: var(--muted); }
.expect strong { color: var(--navy-800); display: block; }
.aside-note { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--ivory); border-left: 3px solid var(--gold); font-size: .9rem; color: var(--muted); }
.aside-note p { margin: 0; }
.contact-list { display: grid; gap: 18px; margin-bottom: 28px; }
.contact-item { display: flex; gap: 14px; }
.contact-item h4 { margin-bottom: 2px; }
.contact-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.ci-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--ivory); color: var(--navy-800); border: 1px solid var(--line); }
.social-row { display: flex; gap: 10px; }
.social-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy-800); transition: background .2s, color .2s; }
.social-btn:hover { background: var(--navy-800); color: var(--gold); }
.social-btn svg { width: 18px; height: 18px; }

/* Services */
.services-grid { display: grid; gap: 18px; }
.service-card { display: flex; flex-direction: column; }
.service-card > p { color: var(--muted); }
.service-card .btn { align-self: flex-start; margin-top: auto; }
.svc-icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(140deg, var(--navy-800), var(--navy-600)); color: var(--gold); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; }
.checks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .93rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.ideal { font-size: .85rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); margin-bottom: 18px; }
.ideal strong { color: var(--navy-800); }
.engage-card p { color: var(--muted); }
.engage-tag { font-size: .72rem !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-dark) !important; margin-bottom: 10px; }
.engage-featured { background: var(--navy-800); border-color: var(--navy-800); }
.engage-featured h3 { color: #fff; }
.engage-featured p { color: rgba(255, 255, 255, .75); }
.engage-featured .engage-tag { color: var(--gold) !important; }
.engage-featured .btn-link { color: var(--gold); }

/* LEAD */
.lead-letters { display: flex; justify-content: center; gap: clamp(10px, 3vw, 28px); margin: -8px 0 48px; }
.lead-letters span { font-family: var(--serif); font-weight: 700; font-size: clamp(3.4rem, 12vw, 7rem); line-height: 1; color: var(--navy-800); position: relative; }
.lead-letters span::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: -6px; height: 3px; background: var(--gold); }
.lead-stages { display: grid; gap: 20px; }
.lead-stage { display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.lead-letter { flex-shrink: 0; width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold); background: linear-gradient(140deg, var(--navy-800), var(--navy-950)); }
.lead-body > p:not(.eyebrow) { color: var(--muted); }
.lead-cols { display: grid; gap: 16px; margin-top: 18px; }
.lead-cols > div { background: var(--ivory); border-radius: var(--radius-sm); padding: 16px 18px; }
.lead-cols h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.lead-cols ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; }
.lead-cols li { margin-bottom: 4px; }
.timeline { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 14px; }
.timeline li { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.timeline span { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--gold); line-height: 1; display: block; margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--muted); font-size: .92rem; }
.map-panel h3 { font-family: var(--serif); font-size: 1.6rem; }
.map-table { display: grid; gap: 8px; margin: 18px 0 20px; }
.map-table > div { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--ivory); }
.map-l { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }

/* Resources */
.featured-resource {
  display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: #fff; margin-bottom: 32px;
  padding: 30px 26px; border-radius: 18px;
  background: radial-gradient(500px 240px at 100% 0, rgba(201, 162, 75, .28), transparent 60%), var(--navy-800);
}
.featured-resource h3 { color: #fff; font-family: var(--serif); font-size: 1.8rem; }
.featured-resource p:not(.eyebrow) { color: rgba(255, 255, 255, .75); margin: 0; }
.featured-resource .btn { align-self: flex-start; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--gold); color: var(--navy-800); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.res-group { margin-top: 36px; }
.res-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.res-group-head h2 { font-size: 1.7rem; margin: 0; }
.res-group-head p { margin: 0; color: var(--muted); font-size: .88rem; }
.res-grid { display: grid; gap: 16px; }
.res-card { display: flex; flex-direction: column; padding: 22px; }
.res-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.res-type { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-dark); background: #faf4e4; padding: 4px 10px; border-radius: 999px; }
.res-time { font-size: .8rem; color: var(--muted); }
.res-card h3 { font-size: 1.08rem; }
.res-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.res-card .btn { align-self: flex-start; }

/* Assessment */
.assess-wrap { padding-top: 36px; padding-bottom: 72px; max-width: 880px; }
.assess-cats { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.assess-cats li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--ivory); font-size: .9rem; font-weight: 500; color: var(--navy-800); }
.assess-cats b { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold); font-size: .75rem; }
#assess-intro .field { max-width: 380px; margin-bottom: 12px; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.progress { height: 6px; border-radius: 999px; background: var(--ivory); overflow: hidden; margin-bottom: 18px; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); border-radius: inherit; transition: width .35s ease; }
.stepper { display: flex; gap: 6px; margin-bottom: 26px; }
.stepper span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.stepper span.done { background: var(--navy-800); }
.stepper span.current { background: var(--gold); }
.quiz-cat { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.quiz-blurb { color: var(--muted); margin-bottom: 24px; }
.q { border: 0; padding: 0; margin: 0 0 26px; }
.q legend { font-weight: 600; color: var(--navy-800); margin-bottom: 12px; font-size: 1rem; padding: 0; }
.q legend .qn { color: var(--gold-dark); margin-right: 6px; }
.likert { display: grid; grid-template-columns: 1fr; gap: 8px; }
.likert label { position: relative; }
.likert input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.likert span {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--muted); cursor: pointer; transition: all .15s; background: #fff;
}
.likert span::before { content: attr(data-n); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--navy-800); font-size: .78rem; font-weight: 600; flex-shrink: 0; }
.likert label:hover span { border-color: var(--gold); color: var(--navy-800); }
.likert input:checked + span { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.likert input:checked + span::before { background: var(--gold); color: var(--navy-900); }
.likert input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }

.results-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; margin-bottom: 18px; }
.results-hero h2 { margin-bottom: .25em; }
.results-hero .eyebrow { justify-content: center; }
.score-ring { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.score-ring svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 10; }
.score-ring .track { stroke: var(--ivory); }
.score-ring .val { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.score-ring .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-ring .num strong { font-family: var(--serif); font-size: 2.6rem; color: var(--navy-800); line-height: 1; display: block; }
.score-ring .num small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.results-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.results-grid h3, #assess-results > .panel h3 { font-family: var(--serif); font-size: 1.5rem; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; gap: 6px; }
.bar-label { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 500; color: var(--navy-800); }
.bar-track { height: 8px; border-radius: 999px; background: var(--ivory); overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: var(--navy-800); transition: width .8s ease; }
.bar-fill.hi { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.bar-fill.lo { background: #b4573f; }
.lead-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.lead-tile { text-align: center; padding: 16px 6px; border-radius: var(--radius-sm); background: var(--navy-800); color: #fff; }
.lead-tile b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1; }
.lead-tile span { display: block; font-size: 1.1rem; font-weight: 600; margin-top: 6px; }
.lead-tile small { display: block; font-size: .68rem; color: rgba(255, 255, 255, .65); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.insight-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.insight-list li { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ivory); font-size: .92rem; color: var(--muted); }
.insight-list strong { display: block; color: var(--navy-800); margin-bottom: 2px; }
.insight-good li { border-left: 3px solid var(--gold); }
.insight-grow li { border-left: 3px solid #b4573f; }
.next-step { background: var(--navy-800); border-color: var(--navy-800); color: #fff; margin-bottom: 18px; display: grid; gap: 18px; }
.next-step h3 { color: #fff; font-family: var(--serif); font-size: 1.8rem !important; }
.next-step p:not(.eyebrow) { color: rgba(255, 255, 255, .78); margin: 0; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 48px 0 28px; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { border-radius: 10px; }
.footer-name { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin: 0; font-weight: 600; }
.footer-tag { margin: 0; font-size: .88rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-nav a { text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: .8rem; }
.footer-bottom p { margin: 0; }

/* Mobile tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar a, .tabbar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: 0; text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 600; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.tabbar svg { width: 23px; height: 23px; }
.tabbar [aria-current="page"], .tabbar .is-active { color: var(--navy-800); }
.tabbar [aria-current="page"]::before, .tabbar .is-active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
/* Keep the chat widget bubble above the mobile tab bar */
.bot-widget-bubble { bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)) !important; }

.sheet-backdrop, .modal-backdrop { position: fixed; inset: 0; background: rgba(6, 17, 31, .5); z-index: 60; animation: fade .2s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: #fff; border-radius: 20px 20px 0 0;
  padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); animation: up .25s ease;
}
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 12px; }
.sheet a, .sheet button { display: flex; flex-direction: column; width: 100%; text-align: left; padding: 14px 12px; border-radius: 12px; text-decoration: none; background: none; border: 0; }
.sheet a:hover, .sheet button:hover, .sheet a[aria-current="page"] { background: var(--ivory); }
.sheet strong { color: var(--navy-800); font-size: 1rem; }
.sheet span { color: var(--muted); font-size: .85rem; }
.modal-backdrop { display: grid; place-items: center; padding: 20px; }
.modal { background: #fff; border-radius: 18px; padding: 26px; max-width: 400px; width: 100%; box-shadow: var(--shadow-lg); }
.modal h3 { font-family: var(--serif); font-size: 1.6rem; }
.modal ol { padding-left: 1.2rem; color: var(--muted); margin-bottom: 20px; }
.modal li { margin-bottom: 8px; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  background: var(--navy-800); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 70; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }

.js .view { display: none; }
.js .view.is-active { display: block; animation: viewIn .35s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }

/* Tablet */
@media (min-width: 640px) {
  .container { padding: 0 28px; }
  .dash-grid { gap: 18px; }
  .grid-3, .services-grid, .res-grid, .results-grid, .steps, .timeline { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
  .lead-stage { flex-direction: row; padding: 32px; }
  .lead-cols { grid-template-columns: 1fr 1fr; }
  .likert { grid-template-columns: repeat(5, 1fr); }
  .likert span { flex-direction: column; text-align: center; justify-content: center; min-height: 92px; font-size: .8rem; line-height: 1.25; padding: 12px 6px; }
  .results-hero { flex-direction: row; text-align: left; }
  .results-hero .eyebrow { justify-content: flex-start; }
  .panel { padding: 32px; }
  .featured-resource { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px; }
  .featured-resource .btn { align-self: center; }
  .cta-band { padding: 48px; }
}

/* Desktop */
@media (min-width: 1024px) {
  .desktop-nav, .header-actions { display: flex; }
  .header-actions { margin-left: 8px; }
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .bot-widget-bubble { bottom: 20px !important; }
  .toast { bottom: 28px; }
  .hero-inner { padding: 110px 28px 150px; }
  .dash { margin-top: -80px; }
  .dash-grid { grid-template-columns: repeat(4, 1fr); }
  .dash-card { padding: 26px 22px; }
  .section { padding: 96px 0; }
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .grid-3, .services-grid, .res-grid { grid-template-columns: repeat(3, 1fr); }
  .steps, .timeline { grid-template-columns: repeat(4, 1fr); }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 56px 60px; }
  .form-layout { grid-template-columns: 4fr 7fr; gap: 48px; }
  .page-head { padding: 80px 0 84px; }
  .next-step { grid-template-columns: 1fr auto; align-items: center; padding: 40px; }
  .next-step .btn-row { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-bottom { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .tabbar, .site-footer, .page-head, #assess-results form, #assess-results .btn-row, .toast { display: none !important; }
  body { padding: 0; }
  .panel, .next-step { box-shadow: none; break-inside: avoid; }
  .next-step { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .next-step h3, .next-step p:not(.eyebrow) { color: var(--ink) !important; }
}
