:root {
  --bg: #08080c;
  --bg-2: #0d0d13;
  --surface: #101017;
  --surface-2: #16161f;
  --border: #1f1f2b;
  --border-2: #2d2d3d;
  --text: #f3f3f6;
  --muted: #9e9eb0;
  --dim: #6d6d80;
  --violet: #7c5cff;
  --violet-2: #9d86ff;
  --blue: #4f7cff;
  --cyan: #22d3ee;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --grad: linear-gradient(120deg, #a78bfa 0%, #6d8bff 45%, #22d3ee 100%);
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Archivo", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
p { margin: 0; }
::selection { background: rgba(139, 108, 255, 0.4); }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }

/* background */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; 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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: absolute; z-index: -1; pointer-events: none; left: 50%; top: -300px; width: min(1000px, 100%); height: 640px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.2), transparent), radial-gradient(closest-side at 70% 60%, rgba(34, 211, 238, 0.09), transparent);
  filter: blur(30px);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: #6b49ff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: #3a3a4d; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* nav */
.nav { position: sticky; top: 14px; z-index: 50; padding-top: 14px; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 62px; padding: 0 12px 0 22px; border-radius: 999px; background: rgba(13,13,19,.82); border: 1px solid var(--border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: border-color .2s, background .2s; }
.nav.scrolled .nav-inner { border-color: var(--border-2); background: rgba(13,13,19,.95); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark { width: auto; height: 30px; flex: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s; }

/* hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-2); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); margin: 20px 0 22px; font-weight: 700; letter-spacing: -0.04em; }
.nowrap { white-space: nowrap; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 560px; }
.lead em { color: var(--text); font-style: normal; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(52,211,153,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2334d399' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.hero-visual { position: relative; }
.panel {
  position: relative; background: var(--surface);
  border: 1px solid var(--border-2); border-radius: 20px; padding: 18px 20px 22px; box-shadow: var(--shadow);
}
.panel::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; background: linear-gradient(140deg, rgba(167,139,250,.6), transparent 40%, rgba(34,211,238,.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.panel-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #3a3950; }
.lights i:first-child { background: #ff6b6b; } .lights i:nth-child(2) { background: #fbbf24; } .lights i:nth-child(3) { background: #34d399; }
.panel-title { font: 500 13px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--dim); }
.track { padding: 6px 0 10px; }
.track-label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 4px 0 8px; font-weight: 600; }
.step { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: var(--muted); }
.step b { width: 18px; text-align: center; color: var(--dim); font-weight: 600; }
.step.done { color: var(--text); } .step.done b { color: var(--good); }
.step.live { background: rgba(139,108,255,.1); border: 1px solid rgba(139,108,255,.25); color: var(--text); }
.step.live b { color: var(--violet-2); animation: pulse 1.6s ease-in-out infinite; }
.pill { margin-left: auto; font-size: 11.5px; padding: 3px 9px; border-radius: 99px; background: rgba(139,108,255,.2); color: #cfc3ff; font-weight: 600; }
.progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); margin-top: 8px; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
@keyframes pulse { 50% { opacity: .35; } }
.float-card { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(18,18,32,.85); border: 1px solid var(--border-2); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); animation: float 6s ease-in-out infinite; }
.fc-k { font-size: 11.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.fc-v { font-family: var(--display); font-weight: 600; font-size: 17px; }
.fc-1 { top: -22px; right: -14px; }
.fc-2 { bottom: -24px; left: -18px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.stack-strip { margin-top: 72px; display: flex; align-items: center; gap: 24px; padding: 18px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.stack-strip > span { font-size: 13px; color: var(--dim); white-space: nowrap; font-weight: 500; }
.stack-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; margin: 0; color: var(--muted); font-size: 14.5px; font-weight: 500; }

/* sections */
.section { padding: 110px 0 0; scroll-margin-top: 30px; }
#tools { scroll-margin-top: 0; }
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; font-weight: 700; }
.section-head .sub { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 640px; }
.section-head .eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }

/* pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; transition: border-color .25s, transform .25s; }
.pillar:hover { border-color: var(--border-2); transform: translateY(-3px); }
.pillar-top h3 { font-size: 26px; margin: 18px 0 8px; }
.pillar-top p { color: var(--muted); }
.icon-badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(139,108,255,.25), rgba(79,124,255,.12)); border: 1px solid rgba(139,108,255,.35); }
.icon-badge.alt { background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(79,124,255,.1)); border-color: rgba(34,211,238,.35); }
.icon-badge svg { width: 22px; height: 22px; fill: none; stroke: #e4defe; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 4px; }
.svc-list li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--border); }
.svc-list b { font-weight: 600; }
.svc-list span { color: var(--muted); font-size: 14.5px; }

/* tools */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-weight: 600; cursor: pointer; transition: all .2s; }
.tab:hover { color: var(--text); border-color: var(--border-2); }
.tab.active { color: var(--text); background: var(--surface-2); border-color: var(--violet); }
.tab-k { font: 600 12px/1 ui-monospace, Consolas, monospace; color: var(--violet-2); }
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px; }
.tool-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font-weight: 600; margin-bottom: 12px; font-size: 15.5px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; transition: all .15s; }
.choice:hover { border-color: var(--border-2); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { display: block; font-size: 14.5px; }
.choice small { color: var(--dim); font-size: 12.5px; }
.choice:has(input:checked) { border-color: rgba(139,108,255,.7); background: rgba(139,108,255,.12); box-shadow: 0 0 0 3px rgba(139,108,255,.12); }
.choice:has(input:focus-visible), .chip:has(input:focus-visible), .seg label:has(input:focus-visible) { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; cursor: pointer; color: var(--muted); transition: all .15s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip::before { content: "+"; font-weight: 600; color: var(--dim); }
.chip:has(input:checked) { color: var(--text); border-color: rgba(34,211,238,.55); background: rgba(34,211,238,.1); }
.chip:has(input:checked)::before { content: "✓"; color: var(--cyan); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: rgba(0,0,0,.25); border: 1px solid var(--border); border-radius: 12px; }
.seg label { position: relative; flex: 1 1 auto; text-align: center; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: all .15s; white-space: nowrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-2); }

.result-card { position: sticky; top: 100px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.result-k { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.result-big { font-family: var(--display); font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; margin: 8px 0 18px; letter-spacing: -0.02em; }
.result-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.result-row > div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.rk { font-size: 12px; color: var(--dim); }
.rv { font-weight: 600; font-size: 16px; }
.breakdown { display: grid; gap: 9px; margin-bottom: 16px; }
.bar { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.bar-track { height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .4s ease; }
.bar-v { text-align: right; font-variant-numeric: tabular-nums; }
.result-team { font-size: 14px; color: var(--muted); margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border-2); }
.result-team b { color: var(--text); }
.fine { font-size: 12.5px; color: var(--dim); margin-top: 12px; }
.fine.center { text-align: center; }

.quiz { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: q; }
.quiz li { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); counter-increment: q; }
.quiz .q { display: flex; gap: 10px; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.quiz .q::before { content: counter(q, decimal-leading-zero); font: 600 12px/1.9 ui-monospace, Consolas, monospace; color: var(--violet-2); }
.quiz .seg label { font-size: 13px; }
.score-wrap { position: relative; width: 150px; height: 150px; margin: 14px auto 10px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255,255,255,.07); }
.ring-fg { stroke: var(--violet); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .6s ease, stroke .3s; }
.score-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; }
.score-num small { font-size: 14px; color: var(--dim); font-weight: 500; margin-top: 4px; }
.stage { text-align: center; color: var(--muted); margin-bottom: 16px; }
.stage b { color: var(--text); display: block; font-family: var(--display); font-size: 19px; margin-bottom: 4px; }
.recs { display: grid; gap: 8px; margin-bottom: 18px; }
.rec { font-size: 14px; padding: 11px 13px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.rec b { color: var(--text); display: block; font-size: 14px; margin-bottom: 2px; }

.audit-bar { display: flex; gap: 10px; max-width: 640px; margin: 8px auto 0; padding: 6px; background: rgba(0,0,0,.3); border: 1px solid var(--border-2); border-radius: 16px; }
.audit-bar input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 10px 14px; font-size: 16px; }
.audit-out { margin-top: 28px; }
.audit-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px 24px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border-2); margin-bottom: 18px; }
.audit-summary .score-wrap { width: 110px; height: 110px; margin: 0; }
.audit-summary .score-num { font-size: 30px; }
.audit-summary h3 { font-size: 20px; margin-bottom: 4px; }
.audit-summary p { color: var(--muted); font-size: 14.5px; word-break: break-all; }
.audit-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audit-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.audit-group h4 { margin: 0 0 12px; font-family: var(--display); font-size: 15px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; }
.check:first-of-type { border-top: 0; padding-top: 0; }
.check i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #0b0b14; margin-top: 2px; }
.check.pass i { background: var(--good); } .check.warn i { background: var(--warn); } .check.fail i { background: var(--bad); }
.check b { display: block; font-weight: 600; }
.check span { color: var(--muted); font-size: 13px; word-break: break-word; }
.audit-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border-2); border-left: 3px solid var(--violet); }
.audit-cta p { color: var(--muted); font-size: 14.5px; }
.audit-cta b { color: var(--text); display: block; font-size: 16px; }
.audit-error { text-align: center; color: var(--bad); padding: 16px; }
.loader { display: flex; justify-content: center; gap: 6px; padding: 30px; }
.loader i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet-2); animation: pulse 1s infinite; }
.loader i:nth-child(2) { animation-delay: .15s; } .loader i:nth-child(3) { animation-delay: .3s; }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, transform .25s; }
.product:hover { border-color: var(--border-2); transform: translateY(-3px); }
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.prod-mark { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-family: var(--display); font-weight: 700; font-size: 20px; color: #0b0b14; }
.prod-mark.rolindip { background: linear-gradient(135deg, #a78bfa, #6d8bff); }
.prod-mark.skyhigh { background: linear-gradient(135deg, #22d3ee, #34d399); }
.prod-mark.automate { background: linear-gradient(135deg, #fbbf24, #f87171); }
.product h3 { font-size: 20px; }
.prod-url { font: 500 13px/1.4 ui-monospace, Consolas, monospace; color: var(--dim); margin-top: 2px; }
.status { margin-left: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 99px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--good); background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3); }
.status.soon { color: var(--warn); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.28); }
.prod-desc { color: var(--muted); font-size: 15px; }
.prod-tags { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 7px; flex: 1; align-content: flex-start; }
.prod-tags li { font-size: 12.5px; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); }
.prod-link { font-weight: 600; font-size: 14.5px; color: var(--violet-2); }
.prod-link:hover { color: var(--text); }
.muted-link { color: var(--dim); }

.rolindip-band { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; margin-top: 20px; padding: 40px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--cyan); }
.rolindip-band h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 12px 0 14px; }
.rolindip-band p { color: var(--muted); font-size: 16px; }
.rolindip-band b { color: var(--text); }
.band-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.band-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.band-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 13px; background: rgba(0,0,0,.28); border: 1px solid var(--border); font-size: 14.5px; color: var(--muted); }
.band-steps b { font: 600 12px/1 ui-monospace, Consolas, monospace; color: var(--violet-2); }

/* vibe coders */
.vibe-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding: 44px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--violet); }
.vibe-intro h2 { font-size: clamp(30px, 3.8vw, 44px); margin: 12px 0 18px; font-weight: 700; }
.sub-l { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.vibe-breaks { padding: 24px; border-radius: 18px; background: rgba(0,0,0,.28); border: 1px solid var(--border); }
.vibe-breaks ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.vibe-breaks li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; padding: 11px 0; border-top: 1px solid var(--border); }
.vibe-breaks li:first-child { border-top: 0; }
.vibe-breaks li::before { content: "!"; grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #0b0b14; background: var(--warn); margin-top: 2px; }
.vibe-breaks b { font-weight: 600; font-size: 15px; }
.vibe-breaks span { color: var(--muted); font-size: 14px; }
.vibe-plans { margin-top: 22px; }
.plan-when { font: 600 12px/1 ui-monospace, Consolas, monospace; color: var(--cyan); letter-spacing: .04em; margin-bottom: 12px; text-transform: uppercase; }
.checklist { display: grid; gap: 8px; }
.check-item { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 13px 15px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; font-size: 14.5px; color: var(--muted); font-weight: 400; margin: 0; transition: all .15s; }
.check-item:hover { border-color: var(--border-2); }
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.check-item .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-2); display: grid; place-items: center; margin-top: 1px; transition: all .15s; }
.check-item:has(input:checked) { color: var(--text); border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.06); }
.check-item:has(input:checked) .box { background: var(--good); border-color: var(--good); }
.check-item:has(input:checked) .box::after { content: "✓"; color: #0b0b14; font-size: 13px; font-weight: 700; }
.check-item:has(input:focus-visible) { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.crit { font-style: normal; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--bad); background: rgba(248,113,113,.12); padding: 2px 7px; border-radius: 99px; margin-left: 4px; white-space: nowrap; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 30px; transition: background .2s; }
.feature:hover { background: var(--bg-2); }
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.process li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.p-num { font: 600 13px/1 ui-monospace, Consolas, monospace; color: var(--violet-2); }
.process h3 { font-size: 21px; margin: 16px 0 2px; }
.p-time { font-size: 13px; color: var(--cyan); font-weight: 600; margin-bottom: 12px; }
.process p:last-child { color: var(--muted); font-size: 14.5px; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.plan.featured { background: var(--surface-2); border-color: rgba(124,92,255,.55); }
.plan-tag { position: absolute; top: -12px; left: 30px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: linear-gradient(135deg, #8b6cff, #5b7cff); }
.plan h3 { font-size: 22px; }
.plan-for { color: var(--muted); font-size: 14.5px; margin: 8px 0 20px; min-height: 44px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; }
.plan li::before { content: "✓"; color: var(--good); font-weight: 700; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--border-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--violet-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin-top: -6px; }

/* contact */
.cta-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px; border-radius: 20px; background: radial-gradient(120% 120% at 0% 0%, rgba(139,108,255,.22), transparent 55%), radial-gradient(100% 100% at 100% 100%, rgba(34,211,238,.12), transparent 50%), #0d0d19; border: 1px solid var(--border-2); }
.cta-copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 12px 0 16px; }
.cta-copy p { color: var(--muted); font-size: 17px; }
.book-alt { margin-top: 26px; }
.contact-lines { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; align-items: center; gap: 14px; }
.cl-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(139,108,255,.14); border: 1px solid rgba(139,108,255,.3); }
.cl-icon svg { width: 20px; height: 20px; fill: none; stroke: #e4defe; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-lines small { display: block; font-size: 12.5px; color: var(--dim); }
.contact-lines a { font-weight: 600; word-break: break-all; }
.contact-lines a:hover, .foot-tag a:hover { color: var(--violet-2); }
form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
form input:not([type=radio]):not([type=checkbox]), form textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; background: rgba(0,0,0,.35); border: 1px solid var(--border-2); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; resize: vertical;
}
form input:focus, form textarea:focus { border-color: rgba(139,108,255,.7); box-shadow: 0 0 0 3px rgba(139,108,255,.18); }
.audit-bar input:focus { box-shadow: none; border: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { color: var(--dim); font-weight: 400; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.form-msg { font-size: 14px; margin-top: 12px; min-height: 1em; }
.form-msg.ok { color: var(--good); } .form-msg.err { color: var(--bad); }

/* modal */
.modal { width: min(460px, 100% - 32px); padding: 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text); box-shadow: 0 40px 100px -20px rgba(0,0,0,.8); }
.modal::backdrop { background: rgba(4,4,10,.7); backdrop-filter: blur(4px); }
.modal h3 { font-size: 22px; margin-bottom: 6px; padding-right: 30px; }
.modal-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.modal-close-form { position: absolute; top: 14px; right: 14px; margin: 0; }
.modal-x { width: 34px; height: 34px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 20px; cursor: pointer; color: var(--muted); }

/* footer */
.footer { margin-top: 110px; border-top: 1px solid var(--border); padding: 44px 0 30px; }
.foot-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-tag { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { margin-top: 34px; color: var(--dim); font-size: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1000px) {
  .hero-grid, .tool-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .result-card { position: static; }
  .features, .plans, .products { grid-template-columns: 1fr 1fr; }
  .rolindip-band { grid-template-columns: 1fr; padding: 30px; }
  .process { grid-template-columns: 1fr 1fr; }
  .audit-groups { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 34px; }
}
@media (max-width: 920px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: rgba(7,7,13,.97); border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav-inner > .btn { margin-left: auto; }
  .nav-toggle { display: block; }
  .vibe-card { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 760px) {
  .vibe-card { padding: 22px; border-radius: 20px; }
  .hero { padding-top: 44px; }
  .pillars, .features, .plans, .products, .process, .two-col, .field-row { grid-template-columns: 1fr; }
  .rolindip-band { padding: 22px; border-radius: 20px; }
  .pillar, .tool { padding: 22px; }
  .tool { border-radius: 18px; }
  .tabs { justify-content: stretch; }
  .tab { flex: 1 1 100%; justify-content: center; }
  .stack-strip { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 56px; }
  .section { padding-top: 84px; }
  .fc-1 { right: -4px; } .fc-2 { left: -4px; }
  .audit-summary { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .audit-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .audit-bar { flex-direction: column; }
  .cta-card { padding: 24px; border-radius: 22px; }
  .bar { grid-template-columns: 90px 1fr 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* generated service & location pages */
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); margin: 18px 0 20px; font-weight: 700; letter-spacing: -0.035em; max-width: 16ch; }
.page-hero .lead { max-width: 680px; font-size: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 22px; }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { opacity: .5; }
.crumbs span[aria-current] { color: var(--muted); }

.link-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.link-grid.big { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.link-grid a { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, background .2s, transform .2s; height: 100%; }
.link-grid a:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.link-grid b { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.link-grid span { color: var(--muted); font-size: 14px; }

.outcomes { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.outcomes li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.outcomes li::before { content: "✓"; color: var(--good); font-weight: 700; }

.cta-side { align-self: center; }
.cta-side h3 { font-size: 18px; margin-bottom: 16px; }
.tool-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tool-links a { display: block; padding: 14px 18px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--border-2); font-weight: 600; font-size: 14.5px; transition: border-color .2s, background .2s; }
.tool-links a:hover { border-color: var(--violet); background: var(--surface-2); }

@media (max-width: 1000px) { .link-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .link-grid, .link-grid.big { grid-template-columns: 1fr; } .page-hero h1 { max-width: none; } }
.svc-list b a { color: inherit; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.svc-list b a:hover { color: var(--violet-2); border-bottom-color: currentColor; }
.est-pill { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 99px; background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.3); color: var(--warn); font-size: 10.5px; letter-spacing: .06em; vertical-align: middle; }
.fine b { color: var(--muted); }

/* booking */
.bk-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: 22px; align-items: start; }
/* grid children default to min-width:auto, which lets the scrolling day strip blow the column out */
.bk-wrap > * { min-width: 0; }
.bk-form { position: sticky; top: 100px; }
.bk-cal, .bk-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.bk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.bk-head h2 { font-size: 20px; }
.bk-head .muted { color: var(--dim); font-size: 13px; margin-top: 4px; }
.bk-dur { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--muted); white-space: nowrap; }
.bk-days { min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.bk-day { flex: none; padding: 10px 14px; border-radius: 10px; background: transparent; border: 1px solid var(--border); color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.bk-day:hover { border-color: var(--border-2); color: var(--text); }
.bk-day.on { background: var(--surface-2); border-color: var(--violet); color: var(--text); }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.bk-slot { padding: 11px 8px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.bk-slot:hover { border-color: var(--border-2); }
.bk-slot.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.bk-form h3 { font-size: 18px; margin-bottom: 6px; }
.bk-form .muted { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.bk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bk-table th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.bk-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.bk-table tr.off { opacity: .45; }
.bk-block { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.bk-block label { font-size: 12px; color: var(--muted); margin: 0; }
.bk-block input { margin-top: 5px; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
@media (max-width: 980px) { .bk-wrap { grid-template-columns: 1fr; } .bk-form { position: static; } }

/* enrichment tool */
.en-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.en-step { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); color: var(--dim); font-size: 13px; font-weight: 600; }
.en-step span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); font-size: 11px; }
.en-step.on { color: var(--text); border-color: rgba(124,92,255,.5); }
.en-step.on span { background: var(--violet); color: #fff; }
.en-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr); gap: 20px; align-items: start; }
.en-main { display: grid; gap: 16px; min-width: 0; }
.en-side { display: grid; gap: 16px; position: sticky; top: 100px; }
.en-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.en-card h2 { font-size: 18px; margin-bottom: 16px; }
.en-card h3 { font-size: 15px; margin-bottom: 12px; }
.en-drop { display: grid; gap: 4px; place-items: center; text-align: center; padding: 34px 20px; border: 1px dashed var(--border-2); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.en-drop:hover, .en-drop.over { border-color: var(--violet); background: var(--surface-2); }
.en-preview { overflow-x: auto; margin-top: 14px; }
.en-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.en-table th { text-align: left; padding: 8px 10px; color: var(--dim); font-weight: 600; border-bottom: 1px solid var(--border); white-space: nowrap; }
.en-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); color: var(--muted); white-space: nowrap; }
.en-table .new { color: var(--cyan); }
.chip-btn { padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; }
.chip-btn:hover { border-color: var(--violet); color: var(--text); }
.en-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.en-progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 16px; }
.en-progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .25s; }
.en-results { overflow-x: auto; margin-top: 16px; }
.en-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.en-meta div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.en-meta span { font-size: 11.5px; color: var(--dim); }
.en-ideas, .en-trust ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.en-ideas li, .en-trust li { font-size: 13px; color: var(--muted); padding-left: 16px; position: relative; }
.en-ideas li::before { content: "›"; position: absolute; left: 0; color: var(--violet-2); }
.en-trust li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-size: 11px; }
.en-trust { border-left: 3px solid var(--good); }
@media (max-width: 980px) { .en-grid { grid-template-columns: 1fr; } .en-side { position: static; } }
.tool-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 20px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--cyan); font-size: 14.5px; color: var(--muted); transition: border-color .2s; }
.tool-banner:hover { border-color: var(--border-2); border-left-color: var(--cyan); color: var(--text); }
.tool-banner b { color: var(--text); }
.tb-tag { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: rgba(34,211,238,.15); color: var(--cyan); }
.tb-go { margin-left: auto; color: var(--cyan); font-weight: 700; }
@media (max-width: 760px) { .tool-banner { align-items: flex-start; } .tb-go { display: none; } }

/* light mode (opt-in, used by the tools pages) */
:root[data-theme="light"] {
  --bg: #f7f8fa; --bg-2: #ffffff; --surface: #ffffff; --surface-2: #f1f3f7;
  --border: #e3e6ec; --border-2: #cfd5e0;
  --text: #11151d; --muted: #5a6478; --dim: #8089a0;
  --violet: #6b49ff; --violet-2: #5a37f0; --cyan: #0891b2;
  --shadow: 0 16px 40px -20px rgba(16, 24, 40, .35);
}
:root[data-theme="light"] body { background: var(--bg); }
:root[data-theme="light"] .bg-grid,
:root[data-theme="light"] .bg-glow { opacity: .35; }
:root[data-theme="light"] .nav-inner { background: rgba(255,255,255,.88); }
:root[data-theme="light"] .btn-primary { color: #fff; }
:root[data-theme="light"] .grad { background: linear-gradient(120deg, #6b49ff, #0891b2); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="light"] input, :root[data-theme="light"] textarea, :root[data-theme="light"] select { background-color: #fff; }
:root[data-theme="light"] .footer { background: transparent; }
:root[data-theme="light"] .foot-bottom, :root[data-theme="light"] .fine { color: var(--muted); }

.theme-btn {
  width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 15px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); margin-left: 8px;
}
.theme-btn:hover { color: var(--text); border-color: var(--border-2); }

/* enrichment tool v2 */
.en-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.en-head h2 { margin: 0; }
.en-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.en-head-actions select { padding: 7px 11px; font-size: 13px; border-radius: 8px; background-color: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.en-scroll { overflow: auto; max-height: 420px; margin-top: 14px; border-radius: 10px; }
.en-table thead th { position: sticky; top: 0; background: var(--bg-2); z-index: 1; }
.en-col { border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 10px; background: var(--surface-2); }
.en-col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.en-col-num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.en-col-name { flex: 1; padding: 8px 11px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; }
.en-col-prompt { width: 100%; padding: 10px 12px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); font: inherit; font-size: 13.5px; resize: vertical; margin-bottom: 10px; }
.en-x { width: 28px; height: 28px; border-radius: 8px; background: transparent; border: 1px solid var(--border); color: var(--dim); cursor: pointer; flex: none; }
.en-x:hover { color: var(--bad); border-color: var(--bad); }
.en-custom input { margin-top: 5px; }
.en-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 8px; }
.en-inline { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin: 0; }
.en-inline select { padding: 5px 9px; font-size: 12.5px; border-radius: 7px; background-color: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.en-spacer { flex: 1; }
.en-table td[contenteditable] { color: var(--cyan); cursor: text; }
.en-table td[contenteditable]:focus { outline: 2px solid var(--violet); outline-offset: -2px; background: var(--surface-2); }

/* ---------- nicer selects, both themes ---------- */
select {
  appearance: none; -webkit-appearance: none;
  padding-right: 34px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%239e9eb0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 11px;
  cursor: pointer;
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
select:hover { border-color: var(--border-2); }
select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,.18); outline: none; }
select option { background: var(--bg-2); color: var(--text); padding: 8px; }
.en-head-actions select, .en-inline select { background-position: right 10px center; }

/* ---------- light mode: surfaces that were hard-coded dark ---------- */
:root[data-theme="light"] .cta-card {
  background: linear-gradient(135deg, #f3f0ff 0%, #ffffff 55%, #eefaff 100%);
  border-color: var(--border);
}
:root[data-theme="light"] .cta-copy h2,
:root[data-theme="light"] .cta-side h3 { color: var(--text); }
:root[data-theme="light"] .cta-copy p { color: var(--muted); }
:root[data-theme="light"] .tool-links a {
  background: #fff; border-color: var(--border); color: var(--text);
}
:root[data-theme="light"] .tool-links a:hover { border-color: var(--violet); background: #faf9ff; }
:root[data-theme="light"] .result-card,
:root[data-theme="light"] .audit-summary,
:root[data-theme="light"] .modal { background: #fff; box-shadow: var(--shadow); }
:root[data-theme="light"] .panel { background: #fff; }
:root[data-theme="light"] .panel::before { opacity: .45; }
:root[data-theme="light"] .en-table thead th { background: #fff; }
:root[data-theme="light"] .progress,
:root[data-theme="light"] .en-progress { background: #e6e9f0; }
:root[data-theme="light"] .bg-grid {
  background-image: linear-gradient(rgba(16,24,40,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(16,24,40,.05) 1px, transparent 1px);
}
:root[data-theme="light"] .en-drop:hover,
:root[data-theme="light"] .en-drop.over { background: #faf9ff; }
:root[data-theme="light"] .chip-btn,
:root[data-theme="light"] .en-col { background: #fafbfd; }
:root[data-theme="light"] .en-col-name,
:root[data-theme="light"] .en-col-prompt { background: #fff; }
:root[data-theme="light"] .btn-ghost { color: var(--text); }
:root[data-theme="light"] .btn-ghost:hover { background: #f1f3f7; }
:root[data-theme="light"] .nav.scrolled .nav-inner { background: rgba(255,255,255,.96); }
:root[data-theme="light"] .theme-btn { background: #fff; }
:root[data-theme="light"] .en-trust { border-left-color: #10b981; }
:root[data-theme="light"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235a6478' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 11px;
}
:root[data-theme="light"] .form-msg { color: var(--muted); }
:root[data-theme="light"] code { background: #eef0f5; color: var(--text); }

/* ---------- tool-page form controls (they live outside a <form>) ---------- */
.en-card label { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.en-card label.en-inline { display: flex; align-items: center; gap: 8px; margin-bottom: 0; }
.en-card label.en-drop { gap: 4px; }
.en-card input[type="text"],
.en-card input[type="password"],
.en-card input:not([type]),
.en-card select,
.en-card textarea {
  width: 100%;
  padding: 11px 13px;
  background-color: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
}
.en-card textarea { resize: vertical; }
.en-card input:focus, .en-card textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 92, 255, .18);
}
.en-card .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.en-card .en-inline select { width: auto; min-width: 74px; padding: 7px 11px; font-size: 13px; }
.en-head-actions select { width: auto; padding: 8px 12px; font-size: 13px; background-color: var(--surface-2); }
.en-card .chips { margin-bottom: 0; }
.en-col .en-col-name { margin-bottom: 0; }
@media (max-width: 620px) { .en-card .two-col { grid-template-columns: 1fr; } }

/* column editor: types, sub-fields, conditions */
.en-col-type { width: auto !important; max-width: 180px; padding: 7px 30px 7px 10px !important; font-size: 12.5px !important; }
.en-run-one { width: 28px; height: 28px; border-radius: 8px; background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.4); color: var(--violet-2); cursor: pointer; flex: none; font-size: 11px; }
.en-run-one:hover { background: var(--violet); color: #fff; }
.en-sub-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 10px; }
.en-sub { display: grid; gap: 5px; font-size: 11.5px; color: var(--dim); margin: 0; }
.en-sub input, .en-sub select { width: 100%; padding: 8px 11px; font-size: 13px; border-radius: 8px; background-color: var(--bg-2); border: 1px solid var(--border); color: var(--text); font-family: inherit; }
.en-cond { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--dim); }
.en-cond select, .en-cond input { padding: 5px 9px; font-size: 12px; border-radius: 7px; background-color: var(--bg-2); border: 1px solid var(--border); color: var(--text); width: auto; font-family: inherit; }
.en-cond select { padding-right: 26px !important; background-position: right 8px center; }
.en-cond-val { min-width: 110px; }

/* grid children size to content by default, so a wide table blows the card past
   the sidebar. Constrain the track and the cards. */
.en-main { grid-template-columns: minmax(0, 1fr); }
.en-main > * { min-width: 0; max-width: 100%; }
.en-card { min-width: 0; max-width: 100%; }
.en-scroll { max-width: 100%; }
.en-table { max-width: none; }
.en-clean { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.en-clean select, .en-clean input { width: auto !important; padding: 7px 11px !important; font-size: 12.5px !important; min-width: 130px; }
.en-clean .btn-sm { padding: 7px 12px; font-size: 12.5px; }

/* ---------- light mode: the rest of the site ---------- */
:root[data-theme="light"] .float-card { background: #fff; border-color: var(--border); box-shadow: var(--shadow); }
:root[data-theme="light"] .vibe-breaks,
:root[data-theme="light"] .band-steps li,
:root[data-theme="light"] .seg,
:root[data-theme="light"] .note,
:root[data-theme="light"] .task-body { background: #f4f6fa; }
:root[data-theme="light"] form input:not([type=radio]):not([type=checkbox]),
:root[data-theme="light"] form textarea,
:root[data-theme="light"] .audit-bar { background: #fff; }
:root[data-theme="light"] .audit-bar { border-color: var(--border); }
:root[data-theme="light"] .step.live { background: rgba(124,92,255,.08); border-color: rgba(124,92,255,.3); }
:root[data-theme="light"] .pill { background: rgba(124,92,255,.14); color: #5a37f0; }
:root[data-theme="light"] .lights i { background: #d6dae4; }
:root[data-theme="light"] .lights i:first-child { background: #ff6b6b; }
:root[data-theme="light"] .lights i:nth-child(2) { background: #fbbf24; }
:root[data-theme="light"] .lights i:nth-child(3) { background: #34d399; }
:root[data-theme="light"] .prod-mark { color: #fff; }
:root[data-theme="light"] .plan.featured { background: #f6f3ff; }
:root[data-theme="light"] .tab.active { background: #f1eeff; border-color: var(--violet); }
:root[data-theme="light"] .chip:has(input:checked) { background: rgba(8,145,178,.1); }
:root[data-theme="light"] .choice:has(input:checked) { background: #f1eeff; }
:root[data-theme="light"] .en-table td[contenteditable] { color: #0e7490; }
:root[data-theme="light"] .hero-points li::before { background-color: rgba(16,185,129,.12); }
:root[data-theme="light"] .foot-tag a { color: var(--muted); }
:root[data-theme="light"] .vibe-card, :root[data-theme="light"] .rolindip-band { background: #fff; }
:root[data-theme="light"] .audit-cta { background: #f6f3ff; }
:root[data-theme="light"] .crit { background: rgba(239,68,68,.1); }
:root[data-theme="light"] .status.live { background: rgba(16,185,129,.12); }
:root[data-theme="light"] .status.soon { background: rgba(245,158,11,.12); }
:root[data-theme="light"] .result-team { background: #f6f3ff; border-color: #e0d9ff; }
:root[data-theme="light"] .progress span, :root[data-theme="light"] .bar-fill { background: linear-gradient(90deg,#6b49ff,#0891b2); }

/* Brew wordmark */
.brew-dot { color: var(--cyan); }

/* stats moved to a top strip so the table gets the full width */
.en-top { display: grid; grid-template-columns: 1.4fr repeat(4, 0.7fr) 1.6fr; gap: 12px; margin-bottom: 20px; }
.en-top-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: grid; gap: 3px; align-content: start; min-width: 0; }
.en-top-k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.en-top-v { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.en-top-trust { border-left: 3px solid var(--good); }
.en-top-trust .fine { margin-top: 2px; }
.en-grid { grid-template-columns: minmax(0, 1fr) !important; }
.en-side { display: none; }
@media (max-width: 1100px) { .en-top { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .en-top { grid-template-columns: repeat(2, 1fr); } .en-top-v { font-size: 20px; } }

/* ---------------- Brew: Clay-style two-pane workspace ---------------- */
.brew-wrap { padding: 26px 0 70px; }
.container-wide { width: min(1680px, 100% - 32px); margin-inline: auto; }
.brew-shell { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 18px; align-items: start; }

.brew-side { display: grid; gap: 14px; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.brew-side::-webkit-scrollbar { width: 8px; }
.brew-side::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 8px; }
.brew-block { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.brew-block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.brew-block-head h2 { font-size: 14px; letter-spacing: -.01em; margin: 0; }
.brew-block label { display: grid; gap: 5px; font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.brew-block input, .brew-block select, .brew-block textarea {
  width: 100%; padding: 9px 12px; border-radius: 9px; background-color: var(--bg-2);
  border: 1px solid var(--border); color: var(--text); font: inherit; font-size: 13px;
}
.brew-block > select, .brew-block > input { margin-bottom: 8px; }
.brew-block input:focus, .brew-block textarea:focus, .brew-block select:focus { outline: none; border-color: var(--violet); }
.brew-btn-row { display: flex; gap: 8px; margin-bottom: 8px; }
.brew-btn-row .btn { flex: 1; padding: 8px 10px; font-size: 12.5px; }
.brew-side .en-drop { padding: 20px 14px; }
.brew-side .en-col { padding: 11px; margin-bottom: 8px; }
.brew-side .en-col-head { gap: 7px; }
.brew-side .en-col-type { max-width: 118px; font-size: 11.5px !important; }
.brew-side .en-sub-row { grid-template-columns: 1fr; gap: 8px; }
.brew-side .chips { gap: 5px; }
.brew-side .chip-btn { padding: 4px 9px; font-size: 11px; }
.brew-side .en-cond { font-size: 11px; }

.brew-main { display: grid; gap: 10px; min-width: 0; }
.brew-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px;
}
.brew-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.brew-stats b { color: var(--text); font-size: 15px; }
.brew-cost i { font-style: normal; color: var(--dim); font-size: 11.5px; }
.brew-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.brew-table { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.brew-table-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.brew-table .en-scroll { max-height: calc(100vh - 290px); margin-top: 6px; }
.brew-table .en-table td { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1180px) {
  .brew-shell { grid-template-columns: 1fr; }
  .brew-side { position: static; max-height: none; overflow: visible; }
  .brew-table .en-scroll { max-height: 60vh; }
}
/* compact hero on the Brew workspace */
.brew-hero { padding: 26px 0 6px; }
.brew-hero h1 { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 10px; max-width: none; }
.brew-hero .lead { font-size: 15.5px; max-width: 860px; }

/* ---------- delivery tracks (estimator selector + rate cards) ---------- */
.seg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg .seg-rich { display: grid; gap: 2px; text-align: left; padding: 12px 14px; white-space: normal; line-height: 1.35; }
.seg .seg-rich b { font-size: 14.5px; font-weight: 600; color: var(--text); }
.seg .seg-rich small { font-size: 12.5px; color: var(--dim); }
.seg .seg-rich em { font-style: normal; font: 600 12.5px/1.4 ui-monospace, Consolas, monospace; color: var(--cyan); margin-top: 3px; }
.seg label:has(input:checked).seg-rich em { color: var(--violet-2); }

.rates { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.rate { min-width: 0; padding: 28px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.rate.feat { background: var(--surface-2); border-color: rgba(124,92,255,.45); }
.rate-k { font: 600 11.5px/1 ui-monospace, Consolas, monospace; letter-spacing: .07em; text-transform: uppercase; color: var(--cyan); }
.rate.feat .rate-k { color: var(--violet-2); }
.rate-v { font-family: var(--display); font-size: 38px; font-weight: 700; line-height: 1.15; margin: 12px 0 2px; color: var(--text); }
.rate-v span { color: var(--muted); font-weight: 600; }
.rate-v small { font-size: 15px; color: var(--dim); font-weight: 500; margin-left: 6px; font-family: var(--font); }
.rate-for { color: var(--muted); font-size: 14.5px; margin: 10px 0 18px; }
.rate ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rate li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.rate li::before { content: "\2713"; color: var(--good); font-weight: 700; }
@media (max-width: 860px) { .rates { grid-template-columns: 1fr; } .seg-2 { grid-template-columns: 1fr; } }
:root[data-theme="light"] .seg { background: #eef1f6; }
:root[data-theme="light"] .seg label:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 1px var(--border-2); }
:root[data-theme="light"] .seg .seg-rich em { color: #0e7490; }
:root[data-theme="light"] .seg label:has(input:checked).seg-rich em { color: var(--violet-2); }

/* mobile menu panel: was hard-coded dark, which made it unreadable in light mode */
@media (max-width: 920px) {
  .nav-links { background: var(--bg-2); box-shadow: 0 18px 40px -22px rgba(0,0,0,.55); }
  :root[data-theme="light"] .nav-links { background: #fff; border-bottom-color: var(--border); box-shadow: 0 18px 40px -26px rgba(16,24,40,.35); }
  :root[data-theme="light"] .nav-links a { color: var(--text); border-bottom-color: var(--border); }
}

/* ---------- free security scan ---------- */
.scan-form { display: flex; gap: 10px; margin-bottom: 10px; }
.scan-form input { flex: 1 1 auto; min-width: 0; }
.scan-form .btn { flex: 0 0 auto; }
.scan-out { margin-top: 26px; display: grid; gap: 16px; }
.scan-card { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.scan-head { display: flex; gap: 22px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border-2); }
.scan-grade { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 2px; border: 2px solid var(--border-2); }
.scan-grade b { font-family: var(--display); font-size: 34px; line-height: 1; }
.scan-grade small { font-size: 11.5px; color: var(--dim); }
.grade-A { border-color: var(--good); color: var(--good); }
.grade-B { border-color: #86cf9f; color: #86cf9f; }
.grade-C { border-color: var(--warn); color: var(--warn); }
.grade-D, .grade-F { border-color: var(--bad); color: var(--bad); }
.scan-sum { min-width: 0; }
.scan-url { font: 600 15px/1.3 ui-monospace, Consolas, monospace; word-break: break-all; margin: 4px 0 6px; }
.scan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.scan-item { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.scan-item.is-ok { opacity: .72; }
.scan-item-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.scan-item p { color: var(--muted); font-size: 14.5px; margin: 0; }
.sev { font: 600 10.5px/1 ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 6px; }
.sev-critical { background: rgba(248,113,113,.16); color: var(--bad); }
.sev-high { background: rgba(251,146,60,.16); color: #fb923c; }
.sev-medium { background: rgba(251,191,36,.16); color: var(--warn); }
.sev-low { background: rgba(148,163,184,.16); color: var(--dim); }
.sev-pass { background: rgba(52,211,153,.14); color: var(--good); }
.scan-cta { border-color: rgba(124,92,255,.45); background: var(--surface-2); }
.scan-cta .btn { margin-top: 14px; }
@media (max-width: 560px) { .scan-form { flex-direction: column; } .scan-head { flex-direction: column; align-items: flex-start; } }

/* ---------- feed ---------- */
.feed { display: grid; gap: 20px; margin-top: 22px; }
.fd-card { padding: 24px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.fd-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fd-avatar { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto; background: linear-gradient(135deg, #8b6cff, #4f7cff); }
.fd-meta { display: grid; line-height: 1.35; min-width: 0; }
.fd-meta b { font-size: 15px; }
.fd-meta span { font-size: 13px; color: var(--dim); }
.fd-title { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; margin: 0 0 6px; }
.fd-title a { color: var(--text); }
.fd-title a:hover { color: var(--violet-2); }
.fd-kicker { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.fd-excerpt { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.fd-img { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.fd-img img { display: block; width: 100%; height: auto; }
.fd-hero { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); margin-bottom: 30px; }
.fd-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.fd-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.fd-tag { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.fd-more { font-size: 14.5px; font-weight: 600; color: var(--violet-2); white-space: nowrap; }
.fd-body p { color: var(--muted); font-size: 17px; line-height: 1.72; margin-bottom: 20px; }
.fd-body p:first-child { font-size: 18.5px; color: var(--text); }
@media (max-width: 560px) { .fd-card { padding: 20px; } }
.fd-h { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.3; margin: 34px 0 14px; color: var(--text); }
.fd-body p:first-child { font-size: 18.5px; color: var(--text); }

/* link grid: the card moved from the <a> to the <li> so the anchor text is the
   label alone. Long anchors made of a label plus a sentence are poor anchors. */
.link-grid li { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, background .2s, transform .2s; height: 100%; }
.link-grid li:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.link-grid li > a { display: grid; gap: 4px; padding: 0; border: 0; background: none; border-radius: 0; height: auto; }
/* belt and braces: whichever side of the anchor the description sits on, the
   label and the description stack instead of running together */
.link-grid b { display: block; }
.link-grid span { display: block; color: var(--muted); font-size: 14px; }
.link-grid li > a:hover { background: none; transform: none; border: 0; }
.link-grid li > span { color: var(--muted); font-size: 14px; }

/* comparison tables on long service pages */
.tbl-wrap { overflow-x: auto; margin: 22px 0 6px; border-radius: var(--radius); border: 1px solid var(--border); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 580px; }
.tbl th { text-align: left; padding: 14px 16px; background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .02em; border-bottom: 1px solid var(--border); }
.tbl td { padding: 14px 16px; color: var(--muted); border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td b { color: var(--text); }
.answer-first { font-size: 17.5px; color: var(--text); }

/* table of contents on long service pages */
.toc-wrap { padding-top: 0; padding-bottom: 0; }
.toc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 22px 26px; }
.toc-k { font: 600 11.5px/1 ui-monospace, Consolas, monospace; letter-spacing: .07em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; columns: 2; column-gap: 32px; }
.toc li { counter-increment: toc; break-inside: avoid; margin-bottom: 9px; font-size: 14.5px; line-height: 1.45; }
.toc li::before { content: counter(toc, decimal-leading-zero); color: var(--dim); font: 600 11px/1 ui-monospace, Consolas, monospace; margin-right: 9px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--violet-2); }
main h2[id] { scroll-margin-top: 90px; }
@media (max-width: 760px) { .toc ol { columns: 1; } .toc { padding: 18px 20px; } }

/* numbered question lists in the audit framework */
.qlist { counter-reset: ql; list-style: none; padding: 0; margin: 20px 0 6px; display: grid; gap: 12px; }
.qlist li { counter-increment: ql; position: relative; padding: 14px 18px 14px 50px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.qlist li::before { content: counter(ql, decimal-leading-zero); position: absolute; left: 18px; top: 15px; font: 600 12px/1.4 ui-monospace, Consolas, monospace; color: var(--cyan); }

/* quoted review evidence */
.quotes { list-style: none; padding: 0; margin: 22px 0 6px; display: grid; gap: 14px; }
.quotes li { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--violet); }
.quotes blockquote { margin: 0 0 10px; color: var(--text); font-size: 16.5px; line-height: 1.6; }
.quotes cite { font-style: normal; font-size: 13px; color: var(--dim); }
.pull { margin: 20px 0; padding: 20px 24px; border-left: 3px solid var(--cyan); background: var(--surface-2); border-radius: 0 12px 12px 0; color: var(--text); font-size: 17px; line-height: 1.6; }

/* author byline */
.byline { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--dim); margin-top: 16px; }
.byline-dot { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; background: linear-gradient(135deg, #8b6cff, #4f7cff); }
.byline a { color: var(--muted); border-bottom: 1px solid var(--border-2); }
.byline a:hover { color: var(--violet-2); }


/* internal prospecting console */
.pcard { border: 1px solid var(--border); border-radius: 14px; padding: 22px; margin-bottom: 18px; background: var(--bg-2); }
.phd { font-size: 19px; margin: 0 0 6px; }
.pnote { font-size: 14px; color: var(--dim); margin: 6px 0 14px; line-height: 1.6; }
.prow { display: flex; gap: 10px; align-items: center; }
.prow-wrap { flex-wrap: wrap; row-gap: 12px; margin-top: 14px; }
.pin { flex: 1 1 260px; min-width: 0; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--border-2); background: var(--bg); color: inherit; font: inherit; }
.pin-sm { flex: 0 1 220px; padding: 7px 10px; font-size: 14px; }
.pnum { width: 72px; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--bg); color: inherit; font: inherit; margin-left: 8px; }
.psel { padding: 9px 11px; border-radius: 9px; border: 1px solid var(--border-2); background: var(--bg); color: inherit; font: inherit; }
.psel-sm { padding: 5px 7px; font-size: 13px; }
.pstate { font-size: 13px; color: var(--dim); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plab { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.plink { background: none; border: 0; color: var(--violet-2); font: inherit; font-size: 12px; cursor: pointer; padding: 0 4px; }
.pchecks { display: flex; flex-direction: column; gap: 7px; }
.pscroll { max-height: 230px; overflow-y: auto; padding-right: 8px; }
.pk { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.pprog { font-size: 14px; color: var(--violet-2); min-height: 22px; margin-top: 10px; }
.pcount { font-size: 14px; color: var(--dim); font-weight: 400; }
.ptbl { font-size: 14px; }
.ptbl td { vertical-align: top; }
.pdim { color: var(--dim); font-size: 12.5px; }
.pflag { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 5px; background: rgba(124,92,255,.16); color: var(--violet-2); margin-left: 5px; }
.pflag-r { background: rgba(255,90,90,.16); color: #ff8f8f; }
.plist { font-size: 14.5px; color: var(--muted); line-height: 1.75; padding-left: 20px; }
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr; } }


/* funnel and channel routing */
.fn { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.fn-row { display: grid; grid-template-columns: 230px 1fr 86px; gap: 14px; align-items: center; }
.fn-head { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.fn-head .pdim { font-size: 11.5px; line-height: 1.35; }
.fn-track { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; height: 34px; overflow: hidden; }
.fn-bar { width: 0; height: 100%; border-radius: 7px; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px;
  background: linear-gradient(90deg, #4f7cff, #8b6cff); color: #fff; font-size: 13px; font-weight: 600;
  transition: width 700ms cubic-bezier(.22,.8,.3,1); }
.fn-bar span { opacity: .95; }
.fn-side { font-size: 13px; color: var(--muted); text-align: right; }
.fn-lost { display: block; font-size: 11.5px; color: #ff8f8f; }
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 6px; }
.route { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: var(--bg); }
.route-n { font-size: 26px; font-weight: 700; margin: 0 0 2px; }
.route-t { font-size: 13.5px; font-weight: 600; margin: 0 0 6px; }
.route-d { font-size: 12px; color: var(--dim); line-height: 1.5; margin: 0; }
.route-ok .route-n { color: #34d399; }
.route-warn .route-n { color: var(--violet-2); }
.route-bad .route-n { color: #ff8f8f; }
@media (max-width: 900px) {
  .routes { grid-template-columns: repeat(2, 1fr); }
  .fn-row { grid-template-columns: 1fr; gap: 6px; }
  .fn-side { text-align: left; }
}


/* homepage hero: keyword subhead and the two audience routes */
.hero-sub { font-size: 17px; color: var(--muted); margin: 10px 0 4px; font-weight: 500; }
.hero-routes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 4px; max-width: 620px; }
.route-card { display: block; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--bg-2);
  text-decoration: none; color: inherit; transition: border-color .18s ease, transform .18s ease; }
.route-card:hover { border-color: var(--violet-2); transform: translateY(-1px); }
.route-card b { display: block; font-size: 15px; margin-bottom: 3px; }
.route-card span { display: block; font-size: 13px; color: var(--dim); line-height: 1.5; }
@media (max-width: 680px) { .hero-routes { grid-template-columns: 1fr; } }


/* homepage operations band */
.band-op { padding: 72px 0 0; }
.op-figure { margin: 0; display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.op-figure img { display: block; width: 100%; height: 100%; min-height: 220px; max-height: 268px; object-fit: cover; }
.op-figure figcaption { font-size: 15px; color: var(--muted); line-height: 1.65;
  padding: 26px 30px; align-self: center; }
.op-figure figcaption b { display: block; color: var(--text); font-size: 17px; margin-bottom: 8px; }
.op-figure figcaption a { color: var(--violet-2); }
@media (max-width: 860px) {
  .op-figure { grid-template-columns: 1fr; }
  .op-figure img { max-height: 200px; min-height: 0; }
  .op-figure figcaption { padding: 20px 22px 24px; font-size: 14.5px; }
}


/* inline SVG diagrams on service pages */
.dgm { margin: 26px 0 8px; border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 18px 14px; background: var(--bg-2); overflow: hidden; }
.dgm svg { max-width: 100%; }
.dgm figcaption { font-size: 13px; color: var(--dim); line-height: 1.6; margin-top: 12px;
  padding-top: 12px; border-top: 1px solid var(--border); }
@media (max-width: 720px) {
  .dgm { padding: 12px 12px 10px; overflow-x: auto; }
  /* Same convention as .tbl-wrap: keep it legible and let the reader swipe,
     rather than scaling 12px labels down to five. */
  .dgm svg { min-width: 560px; }
  .dgm figcaption { font-size: 12.5px; position: sticky; left: 0; }
}


/* photographs inside service page content */
.pfig { margin: 26px 0 10px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.pfig img { display: block; width: 100%; height: auto; max-height: 320px; object-fit: cover; }
.pfig figcaption { font-size: 13px; color: var(--dim); line-height: 1.6; padding: 12px 16px 14px; }
@media (max-width: 720px) { .pfig img { max-height: 210px; } .pfig figcaption { font-size: 12.5px; padding: 10px 14px 12px; } }


/* configurator demo */
.cfgd { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.cfgd-stage { border: 1px solid var(--border); border-radius: 16px; background: var(--bg-2); padding: 26px 26px 0; overflow: hidden; }
.cfgd-car { padding: 10px 0 18px; }
.cfgd-swatchbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--border); padding: 16px 0; }
.cfgd-swatchbar div { display: flex; flex-direction: column; gap: 2px; }
.cfgd-swatchbar span { font-size: 12px; color: var(--dim); }
.cfgd-swatchbar b { font-size: 19px; color: var(--text); }
.cfgd-panel { border: 1px solid var(--border); border-radius: 16px; background: var(--bg-2); padding: 18px; }
.cfgd-steps { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.cfgd-step { border: 1px solid var(--border); background: var(--bg); border-radius: 9px; padding: 7px 11px; cursor: pointer; text-align: left; color: inherit; font: inherit; }
.cfgd-step span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--dim); }
.cfgd-step b { display: block; font-size: 12.5px; color: var(--text); }
.cfgd-step.is-on { border-color: var(--violet-2); background: rgba(124,92,255,.12); }
.cfgd-options { display: flex; flex-direction: column; gap: 8px; }
.cfgd-opt { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg); border-radius: 11px; padding: 11px 13px; color: inherit; font: inherit; }
.cfgd-opt.is-on { border-color: var(--violet-2); background: rgba(124,92,255,.10); }
.cfgd-opt.is-off { opacity: .45; cursor: not-allowed; }
.cfgd-sw { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border-2); flex: none; }
.cfgd-opt-t { flex: 1; min-width: 0; }
.cfgd-opt-t b { display: block; font-size: 14px; color: var(--text); }
.cfgd-opt-t i { display: block; font-style: normal; font-size: 11.5px; color: var(--dim); line-height: 1.45; }
.cfgd-why { color: #ff8f8f !important; margin-top: 3px; }
.cfgd-opt-p { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.cfgd-alert { font-size: 12.5px; color: #ff8f8f; margin: 14px 0 0; }
.cfgd-alert.cfgd-ok { color: var(--good); }
.cfgd-proof { margin-top: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-2); overflow: hidden; }
.cfgd-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.cfgd-tab { border: 0; background: none; padding: 14px 18px; font: inherit; font-size: 13.5px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.cfgd-tab.is-on { color: var(--text); border-bottom-color: var(--violet-2); }
.cfgd-pane { padding: 20px; }
.cfgd-lead { font-size: 13.5px; color: var(--dim); margin: 0 0 14px; line-height: 1.6; }
.cfgd-pane .tbl { min-width: 0; }
.cfgd-json { font-size: 12px; line-height: 1.55; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px; overflow-x: auto; margin: 0; }
.cfgd-fire { color: var(--violet-2); }
.cfgd-idle { color: var(--dim); }
.cfgd-note { font-size: 12px; color: var(--dim); margin-top: 16px; line-height: 1.6; }
@media (max-width: 920px) {
  .cfgd { grid-template-columns: 1fr; }
  .cfgd-stage { padding: 18px 18px 0; }
  .cfgd-tab { padding: 12px 13px; font-size: 12.5px; }
}
