@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/eb-garamond-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/eb-garamond-italic-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); }

/* Midnight navy and champagne gold, matching the firm's website. */
:root {
  --bg: #090c18;
  --bg-2: #0d1121;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --text: #f2ede3;
  --muted: rgba(242, 237, 227, .62);
  --faint: rgba(242, 237, 227, .4);
  --line: rgba(242, 237, 227, .1);
  --line-2: rgba(242, 237, 227, .2);
  --gold: #c9a96e;
  --gold-2: #e0c690;
  --gold-3: #f0dfb8;
  --good: #8fc9a2;
  --warn: #e3b86b;
  --bad: #e38b7a;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --r: 16px;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --head: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(201, 169, 110, .35); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

/* Ambient light: two slow gold glows behind everything. */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.glow::before, .glow::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform;
}
.glow::before { width: 62vmax; height: 62vmax; left: -18vmax; top: -30vmax; background: radial-gradient(circle, rgba(201, 169, 110, .16), transparent 62%); animation: drift 26s var(--ease-io) infinite alternate; }
.glow::after { width: 50vmax; height: 50vmax; right: -20vmax; bottom: -26vmax; background: radial-gradient(circle, rgba(70, 80, 160, .18), transparent 62%); animation: drift 32s var(--ease-io) infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); } }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--head); padding: 0 var(--gut);
  background: rgba(9, 12, 24, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand-name { font: 500 19px/1.1 var(--serif); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); }
.top-link { font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; position: relative; transition: color .3s; }
.top-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.top-link:hover { color: var(--text); }
.top-link:hover::after { transform: scaleX(1); }

main { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* Type */
.eyebrow, .kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; margin: 18px 0 22px; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 30em; margin: 0; }
.sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.note { margin: 0; color: var(--faint); font-size: 13px; }

/* Reveal on load / scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Hero + intake */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px);
  align-items: center; min-height: calc(100vh - 140px); padding: clamp(40px, 7vh, 88px) 0;
}
.proof { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.proof li { display: flex; align-items: center; gap: 9px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 169, 110, .14); }

.intake {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition-delay: .15s;
}
.steps-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.step-count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.step-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.step-bar span { display: block; height: 100%; width: 33.4%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .7s var(--ease); }

.panes { position: relative; transition: height .5s var(--ease); }
.pane { border: 0; padding: 0; margin: 0; min-width: 0; }
.pane.enter { animation: paneIn .55s var(--ease) both; }
.pane.enter.back { animation-name: paneBack; }
@keyframes paneIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
legend { padding: 0; margin-bottom: 18px; display: block; }
.q { display: block; font: 500 clamp(24px, 2.6vw, 30px)/1.15 var(--serif); }
.hint { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.label { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 8px; }
.opt { color: var(--faint); font-size: 12px; margin-left: 4px; }

textarea, input:not([type=checkbox]), select {
  width: 100%; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(5, 7, 15, .55); padding: 14px 16px; font-size: 16px; line-height: 1.5;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
textarea { resize: vertical; min-height: 120px; }
textarea::placeholder, input::placeholder { color: var(--faint); }
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 169, 110, .14); background: rgba(5, 7, 15, .75); }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
select option { background: #11152a; color: var(--text); }
.field-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 10px; }
.counter { color: var(--faint); font-size: 12px; white-space: nowrap; padding-top: 6px; font-variant-numeric: tabular-nums; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.try { font-size: 12px; color: var(--faint); align-self: center; margin-right: 2px; }
.chip {
  border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 5px 12px;
  font-size: 13px; color: var(--muted); cursor: pointer; transition: color .25s, border-color .25s, background .25s;
}
.chip:hover { color: var(--text); border-color: var(--gold); background: rgba(201, 169, 110, .08); }

.choices { display: grid; gap: 10px; }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice {
  position: relative; text-align: left; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 14px; background: rgba(5, 7, 15, .4);
  padding: 14px 16px 14px 46px; transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.choice:hover { border-color: rgba(201, 169, 110, .6); transform: translateY(-1px); }
.choice::before {
  content: ''; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--line-2); transition: border-color .3s, box-shadow .3s;
}
.choice[aria-checked=true] { border-color: var(--gold); background: rgba(201, 169, 110, .09); }
.choice[aria-checked=true]::before { border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 8px var(--gold); }
.choice strong { display: block; font-weight: 500; font-size: 15px; }
.choice span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.form-error { min-height: 22px; margin: 14px 0 0; color: var(--bad); font-size: 14px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 24px; font-size: 15px; font-weight: 500; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap; overflow: hidden;
  transition: transform .35s var(--ease), background .3s, border-color .3s, color .3s, box-shadow .35s, opacity .3s;
}
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn.gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #15110a; box-shadow: 0 10px 30px -12px rgba(201, 169, 110, .7); }
.btn.gold::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transition: transform .9s var(--ease);
}
.btn.gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(201, 169, 110, .8); color: #15110a; }
.btn.gold:hover::after { transform: translateX(120%); }
.btn.line { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.btn.line:hover { background: rgba(201, 169, 110, .1); color: var(--gold-3); transform: translateY(-2px); }
.btn.ghost { border-color: var(--line-2); color: var(--muted); background: transparent; }
.btn.ghost:hover { border-color: var(--text); color: var(--text); }
.btn:disabled, .btn[aria-disabled=true] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.link { background: none; border: 0; padding: 0; color: var(--gold-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(224, 198, 144, .4); font-size: inherit; }
.link:hover { text-decoration-color: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Blueprint */
.blueprint { padding: clamp(28px, 5vh, 56px) 0 40px; }
.bp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.bp-head > div:first-child { min-width: 0; flex: 1 1 420px; }
.bp-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; margin: 10px 0 14px; overflow-wrap: anywhere; }
.bp-title.long { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; max-width: 46em; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; }
.bp-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.progress { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.progress li { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 15px; transition: color .4s; }
.progress li.active { color: var(--text); }
.progress li.done { color: var(--muted); }
.tick { position: relative; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; transition: border-color .4s, background .4s; }
.progress li.active .tick { border-color: var(--gold); border-right-color: transparent; animation: spin .9s linear infinite; }
.progress li.done .tick { border-color: var(--gold); background: var(--gold); }
.progress li.done .tick::after { content: ''; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.progress.finished { display: none; }

.error-box { margin-top: 24px; padding: 18px 20px; border: 1px solid rgba(227, 139, 122, .4); background: rgba(227, 139, 122, .07); border-radius: var(--r); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.error-box p { margin: 0; }

.card {
  margin-top: 22px; padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); border-radius: 20px;
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head > div { min-width: 0; flex: 1 1 280px; }
.rise { animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.industry-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.industry-row > div { min-width: 0; }
.codes { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.codes li { font-size: 15px; overflow-wrap: anywhere; }
.business { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.business:empty { display: none; }
.why { margin-top: 3px; color: var(--faint); font-size: 13px; }
.finder { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.finder .label { margin-top: 10px; }
.sic-results .div-head { cursor: default; padding: 14px 12px 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: none; }
.sic-results .div-head:hover { background: none; color: var(--gold); }
.adjust-actions { justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.codes b { font-weight: 600; color: var(--gold-2); font-variant-numeric: tabular-nums; margin-right: 8px; }
.adjust { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sic-results { list-style: none; margin: 12px 0 0; padding: 0; max-height: 340px; overflow: auto; border-radius: 12px; border: 1px solid var(--line); overscroll-behavior: contain; }
.sic-results li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 10px; cursor: pointer; font-size: 14px; color: var(--muted); }
.sic-results li:hover, .sic-results li[aria-selected=true] { background: var(--panel-2); color: var(--text); }
.sic-results li[aria-selected=true]::before { content: '✓'; color: var(--gold); }
.sic-results b { color: var(--gold-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.sic-results em { margin-left: auto; padding-left: 12px; font-style: normal; font-size: 12px; color: var(--faint); white-space: nowrap; }
.adjust-actions { margin-top: 12px; display: flex; justify-content: flex-end; }

/* Score */
.score-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.score-grid .card { margin-top: 0; }
.score-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.score-card .kicker { align-self: stretch; text-align: left; }
.ring-wrap { position: relative; width: 196px; height: 196px; margin: 22px 0 12px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 1.6s var(--ease); filter: drop-shadow(0 0 8px rgba(201, 169, 110, .45)); }
.ring-num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 66px; }
.ring-num strong { font: 500 60px/1 var(--serif); font-variant-numeric: tabular-nums; }
.ring-num span { color: var(--faint); margin-left: 4px; }
.band { margin: 0 0 14px; font: 500 21px/1.3 var(--serif); color: var(--gold-3); }
.how { margin-top: 14px; text-align: left; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.how p { margin: 0 0 8px; }

.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.metric { margin-top: 0; display: flex; flex-direction: column; }
.metric .val { font: 500 clamp(30px, 3.4vw, 40px)/1.05 var(--serif); margin: 12px 0 4px; font-variant-numeric: tabular-nums; }
.metric .lab { font-size: 14px; color: var(--gold-3); font-weight: 500; }
.metric p { margin: 8px 0 0; color: var(--muted); font-size: 14px; flex: 1; }
.meter { margin-top: 14px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 4px; transition: width 1.4s var(--ease); }

/* Trend chart */
.legend { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.sw.full { background: var(--gold); }
.sw.part { background: repeating-linear-gradient(135deg, var(--gold) 0 2px, transparent 2px 5px); border: 1px solid var(--gold); }
.bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 2vw, 22px); align-items: end; height: 230px; padding-top: 10px; }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.bar .num { font-size: 13px; color: var(--text); margin-bottom: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar .col { width: 100%; max-width: 72px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--gold-2), rgba(201, 169, 110, .35)); height: 0; transition: height 1.2s var(--ease); }
.bar.part .col { background: repeating-linear-gradient(135deg, rgba(201, 169, 110, .75) 0 3px, rgba(201, 169, 110, .2) 3px 7px); border: 1px solid var(--gold); }
.bar .yr { margin-top: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Competitors */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px; background: rgba(5, 7, 15, .45); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; }
.tab { border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: background .3s, color .3s; white-space: nowrap; }
.tab[aria-selected=true] { background: var(--gold); color: #15110a; }
.tab .n { opacity: .7; margin-left: 6px; font-variant-numeric: tabular-nums; }
.companies { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.co { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; animation: rise .6s var(--ease) both; }
.co > div { min-width: 0; }
.co a { text-decoration: none; font-weight: 500; font-size: 15px; display: block; overflow-wrap: anywhere; transition: color .25s; }
.co a:hover { color: var(--gold-2); }
.co .meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.co .age { text-align: right; font-size: 13px; color: var(--faint); white-space: nowrap; }
.co .age strong { display: block; color: var(--text); font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; }
.comp-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.empty { color: var(--muted); padding: 18px 0; grid-column: 1 / -1; }

/* Gap analysis */
.ai-tag { font-size: 12px; color: var(--gold-2); border: 1px solid rgba(201, 169, 110, .45); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.gaps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gap { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: rgba(5, 7, 15, .35); display: flex; flex-direction: column; animation: rise .7s var(--ease) both; }
.gap .lens { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.gap h4 { font: 500 21px/1.2 var(--serif); margin: 10px 0 10px; }
.gap p { margin: 0; color: var(--muted); font-size: 14px; }
.gap .move { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text); }
.gap .move::before { content: 'How to stand out'; display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.skel { border-radius: 8px; height: 12px; margin: 10px 0; background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 40%, var(--panel) 80%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.skel.h { height: 20px; width: 70%; margin-bottom: 16px; }
.skel.s { width: 55%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.unavailable { color: var(--muted); font-size: 15px; margin: 0; grid-column: 1 / -1; }

/* Roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.road { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; animation: rise .7s var(--ease) both; }
.road:last-child { padding-bottom: 0; }
.road::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font: 500 19px/1 var(--serif); color: var(--gold-2); background: var(--bg-2); position: relative; z-index: 1; }
.road::after { content: ''; position: absolute; left: 21.5px; top: 44px; bottom: 0; width: 1px; background: linear-gradient(var(--gold), rgba(201, 169, 110, .1)); }
.road:last-child::after { display: none; }
.road h4 { font: 500 21px/1.25 var(--serif); margin: 9px 0 6px; }
.road p { margin: 0; color: var(--muted); font-size: 15px; }
.road .for { margin-top: 10px; color: var(--text); font-size: 14px; padding-left: 12px; border-left: 2px solid var(--gold); }
.road .for:empty { display: none; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lk { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-decoration: none; border-radius: 999px; padding: 6px 13px; border: 1px solid var(--line-2); color: var(--muted); transition: border-color .25s, color .25s, background .25s; }
.lk:hover { color: var(--text); border-color: var(--text); }
.lk.service { border-color: rgba(201, 169, 110, .55); color: var(--gold-2); }
.lk.service:hover { background: rgba(201, 169, 110, .1); color: var(--gold-3); }
.lk::after { content: '↗'; font-size: 12px; opacity: .8; }

/* Footer, credit */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: 40px; }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 26px var(--gut) 70px; color: var(--faint); font-size: 13px; }
.foot-inner p { margin: 0 0 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px; }
.foot-links a, .foot-links .link { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .25s; }
.foot-links a:hover, .foot-links .link:hover { color: var(--gold-2); }
.foot-inner strong { color: var(--muted); font-weight: 500; }
.credit {
  position: fixed; right: 14px; bottom: 12px; z-index: 30; font-size: 11px; letter-spacing: .04em;
  color: var(--faint); text-decoration: none; padding: 5px 10px; border-radius: 999px;
  background: rgba(9, 12, 24, .7); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: color .3s, border-color .3s;
}
.credit:hover { color: var(--gold-2); border-color: rgba(201, 169, 110, .5); }

/* Dialogs */
.dialog {
  width: min(480px, calc(100vw - 32px)); border: 1px solid var(--line-2); border-radius: 20px; padding: 0;
  background: #0f1326; color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8);
}
.dialog[open] { animation: pop .45s var(--ease) both; }
.dialog::backdrop { background: rgba(3, 4, 10, .66); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog form { padding: 26px; }
.dialog h3 { font-size: 28px; }
.dialog .label { margin-top: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.prose { color: var(--muted); font-size: 14px; max-height: 60vh; overflow: auto; margin-top: 12px; }
.prose p { margin: 0 0 10px; }
.prose strong { color: var(--text); font-weight: 500; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 40; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #151a33; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-size: 14px;
  transition: opacity .35s var(--ease), transform .35s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }


/* How it works */
.how-it-works { padding: 10px 0 clamp(40px, 7vh, 80px); }
.hiw-head h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin-top: 12px; max-width: 22em; }
.hiw-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hiw-steps li {
  padding: 22px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  transition: border-color .4s, transform .5s var(--ease);
}
.hiw-steps li:hover { border-color: rgba(201, 169, 110, .45); transform: translateY(-3px); }
.hiw-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); font: 500 17px/1 var(--serif); }
.hiw-steps h3 { font-size: 20px; margin: 16px 0 8px; }
.hiw-steps p { margin: 0; color: var(--muted); font-size: 14px; }
.allowance { margin-top: 22px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5, 7, 15, .4); }
.allowance p { margin: 0; color: var(--muted); font-size: 14px; }
.allowance strong { color: var(--text); font-weight: 500; }
.allow-meter { flex: none; width: 120px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.allow-meter span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width 1.2s var(--ease); }
@media (max-width: 980px) { .hiw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .hiw-steps { grid-template-columns: minmax(0, 1fr); }
  .allowance { flex-direction: column; align-items: flex-start; }
}

/* View entrance */
.view-in { animation: viewIn .7s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Section bar */
.section-nav {
  position: sticky; top: var(--head); z-index: 15; margin: 18px calc(var(--gut) * -1) 0; padding: 10px var(--gut);
  display: flex; gap: 6px; background: rgba(9, 12, 24, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.section-nav a {
  font-size: 13.5px; color: var(--muted); text-decoration: none; padding: 7px 14px; border-radius: 999px;
  transition: color .3s, background .3s; white-space: nowrap;
}
.section-nav a:hover { color: var(--text); background: var(--panel-2); }
.section-nav a[aria-current] { color: #15110a; background: var(--gold); }
.sec { scroll-margin-top: calc(var(--head) + 70px); }

/* At a glance */
.glance { margin: 26px 0 0; font: 400 clamp(19px, 2vw, 23px)/1.45 var(--serif); color: var(--text); max-width: 60em; }

/* Loading placeholders */
.skel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.skel-card { margin-top: 0; min-height: 150px; }

/* Verify links */
.metric-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.verify { font-size: 12px; color: var(--faint); text-decoration: none; white-space: nowrap; transition: color .25s; }
.verify::after { content: ' ↗'; }
.verify:hover { color: var(--gold-2); }
a.bar { text-decoration: none; color: inherit; border-radius: 10px; transition: background .3s; }
a.bar:hover { background: rgba(201, 169, 110, .06); }
a.bar:hover .col { filter: brightness(1.12); }
.verify-note { margin-top: 12px; }
.verify-note:empty { display: none; }

/* Talk to us */
.talk {
  margin-top: 22px; padding: clamp(24px, 4vw, 44px); border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(201, 169, 110, .2), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(201, 169, 110, .35);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start;
}
.talk h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; margin-top: 10px; }
.talk-main > p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); max-width: 34em; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.facts a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font-size: 14px; transition: color .25s; }
.facts a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.facts a:hover { color: var(--text); }
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channels a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease); }
.channels a::after { content: '→'; color: var(--gold); transition: transform .35s var(--ease); }
.channels a:hover { padding-left: 6px; }
.channels a:hover::after { transform: translateX(4px); }
.ch-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.ch-v { flex: 1; text-align: right; color: var(--text); font-size: 15px; overflow-wrap: anywhere; }

/* Sources */
.sources-card { padding-top: 22px; padding-bottom: 22px; }
.src-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 13.5px; }
.src-list strong { color: var(--text); font-weight: 500; }
.src-list a { color: var(--gold-2); text-underline-offset: 3px; text-decoration-color: rgba(224, 198, 144, .4); }

/* Phone booking bar */
.mobile-bar { display: none; }

@media (max-width: 980px) {
  .talk { grid-template-columns: minmax(0, 1fr); }
  .skel-grid { grid-template-columns: minmax(0, 1fr); }
  .skel-grid .skel-card:nth-child(n + 2) { display: none; }
}
@media (max-width: 860px) {
  .top-link { display: none; }
}
@media (max-width: 720px) {
  .section-nav { display: none; }
  .top-nav .btn { padding: 7px 14px; font-size: 13px; }
  .mobile-bar:not([hidden]) {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(9, 12, 24, .92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn.gold { flex: 1; }
  body:has(.mobile-bar:not([hidden])) .credit { bottom: 74px; }
  body:has(.mobile-bar:not([hidden])) .foot-inner { padding-bottom: 120px; }
  .ch-v { font-size: 14px; }
}
.top-nav .short, .channels .short { display: none; }
@media (max-width: 520px) {
  .top-nav .long, .channels .long { display: none; }
  .top-nav .short, .channels .short { display: inline; }
}
@media (max-width: 520px) {
  .brand-name { font-size: 16px; white-space: normal; line-height: 1.08; max-width: 11em; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 34px; }
  .score-grid { grid-template-columns: minmax(0, 1fr); }
  .gaps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .metrics { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .companies { grid-template-columns: minmax(0, 1fr); }
  .tabs { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-radius: 16px; }
  .tab { padding: 8px 6px; font-size: 13px; border-radius: 12px; white-space: normal; line-height: 1.25; }
  .tab .n { display: block; margin: 2px 0 0; font-size: 12px; }
  .choices.two { grid-template-columns: minmax(0, 1fr); }
  .bars { height: 190px; }
  .bar .num { font-size: 11px; }
  .bp-actions { width: 100%; }
  .bp-actions .btn { flex: 1 1 auto; }
  .industry-row { flex-direction: column; align-items: flex-start; }
  .finder { grid-template-columns: minmax(0, 1fr); }
  .top-link { display: none; }
  .brand-name { font-size: 17px; }
  .credit { bottom: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .glow, .top, .credit, .bp-actions, .cta-actions, .toast, #adjustBtn, .section-nav, .mobile-bar { display: none !important; }
}

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; max-width: 640px; margin: 0 auto; padding: 0 var(--gut); }
.notfound h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); }
.notfound .lede { margin-bottom: 10px; }
