/* ============================================================
   Amisora — Redesign layer (2026)
   Loaded AFTER style.css. Two parts:
     1) Design token overrides (recolors all Tailwind utilities)
     2) New component classes used by the redesigned pages
   ============================================================ */

/* ── 1. Token overrides ───────────────────────────────────
   These are the variables the compiled Tailwind utilities
   reference, so most of the site recolors automatically.   */
:root {
  --color-navy-950:       #06070d;  /* page background      */
  --color-surface:        #0d1019;  /* card surface         */
  --color-surface-light:  #141826;  /* lighter surface      */
  --color-brand-indigo:   #7c5cff;  /* primary violet       */
  --color-brand-purple:   #8b5cf6;  /* secondary violet     */
  --color-brand-emerald:  #3ddc97;  /* success / accent     */
  --color-brand-sky:      #38e0d4;  /* teal accent          */
  --color-text-secondary: rgba(255,255,255,.62);
  --color-text-muted:     rgba(255,255,255,.42);
  --color-border-subtle:  rgba(255,255,255,.06);
  --color-border-medium:  rgba(255,255,255,.10);
}

html { overflow-x: clip; }
body { background: #06070d; }

/* Display font for headings site-wide (falls back to Inter) */
h1, h2, .h-display { font-family: 'Space Grotesk', 'Inter', sans-serif; }

/* ── 2. New components ─────────────────────────────────── */

/* Eyebrow / section label */
.eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b9a8ff;
}

/* Pill badge */
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: #b9a8ff; background: rgba(139,92,246,.10);
  border: 1px solid rgba(139,92,246,.28);
  padding: .45rem .9rem; border-radius: 999px;
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #38e0d4; box-shadow: 0 0 8px #38e0d4;
}

/* Gradient headline text */
.text-gradient-2 {
  background: linear-gradient(100deg,#a78bfa 0%,#7c8cff 45%,#38e0d4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  color: #fff; font-weight: 600; font-size: .9375rem;
  background: linear-gradient(135deg,#7c5cff,#6d7cff);
  box-shadow: 0 4px 24px rgba(124,92,255,.35), inset 0 1px 0 rgba(255,255,255,.18);
  border-radius: .8rem; padding: .9rem 1.6rem;
  transition: transform .18s, box-shadow .18s;
  border: none; cursor: pointer; text-decoration: none;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(124,92,255,.5), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  color: #fff; font-weight: 600; font-size: .9375rem;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08);
  border-radius: .8rem; padding: .9rem 1.6rem;
  transition: background .18s, border-color .18s;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }

/* Audit card (hero) */
.audit-card {
  position: relative; border-radius: 1.4rem; padding: 1.6rem;
  background: linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.02);
  backdrop-filter: blur(8px);
}
.audit-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 1.45rem; padding: 1px;
  background: linear-gradient(140deg,rgba(139,92,246,.5),transparent 40%,transparent 65%,rgba(56,224,212,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.ac-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; flex-wrap: wrap; gap: .5rem; }
.ac-head .url { font-family: 'JetBrains Mono', monospace; font-size: .78rem; color: rgba(255,255,255,.42); overflow: hidden; text-overflow: ellipsis; }
.ac-head .live {
  display: flex; align-items: center; gap: .45rem;
  font-family: 'JetBrains Mono', monospace; font-size: .7rem; letter-spacing: .08em; color: #3ddc97;
}
.ac-head .live i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; animation: ac-pulse 1.6s infinite; }
@keyframes ac-pulse { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(61,220,151,.5)} 50%{opacity:.6;box-shadow:0 0 0 6px rgba(61,220,151,0)} }

.ac-score { display: flex; align-items: center; gap: 1.6rem; margin-bottom: 1.4rem; }
.ring { position: relative; width: 128px; height: 128px; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .val b { font-family: 'Space Grotesk', sans-serif; font-size: 2.25rem; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.ring .val small { font-size: .62rem; letter-spacing: .14em; color: rgba(255,255,255,.42); text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }
.ac-bars { flex: 1; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }

.bar-row { display: grid; grid-template-columns: 96px 1fr 30px; align-items: center; gap: .75rem; font-size: .78rem; }
.bar-row label { color: rgba(255,255,255,.62); white-space: nowrap; }
.bar-row .track { height: 6px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; position: relative; }
.bar-row .fill { height: 100%; border-radius: 4px; }
.bar-row b { font-family: 'JetBrains Mono', monospace; font-weight: 500; text-align: right; color: rgba(255,255,255,.62); }

.ac-lift {
  display: flex; align-items: center; gap: .65rem; margin-bottom: 1.2rem;
  background: rgba(61,220,151,.07); border: 1px solid rgba(61,220,151,.22);
  border-radius: .8rem; padding: .7rem .95rem; font-size: .82rem; color: #b9f4dd;
}
.ac-lift b { font-family: 'JetBrains Mono', monospace; color: #3ddc97; }

.ac-pages { display: flex; flex-direction: column; gap: .5rem; }
.page-row {
  display: flex; align-items: center; gap: .75rem; font-size: .82rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05);
  border-radius: .7rem; padding: .65rem .9rem;
}
.page-row .path { font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: rgba(255,255,255,.62); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-row .score { font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 500; padding: .2rem .55rem; border-radius: .45rem; white-space: nowrap; }
.score.bad  { color: #ffb26b; background: rgba(245,181,74,.12); }
.score.ok   { color: #8fd8ff; background: rgba(56,189,248,.10); }
.score.good { color: #3ddc97; background: rgba(61,220,151,.12); }
.page-row .gain { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: #3ddc97; white-space: nowrap; }

/* Floating chips */
.float-chip {
  position: absolute; font-size: .75rem; font-weight: 600; z-index: 5;
  background: rgba(16,18,30,.92); border: 1px solid rgba(255,255,255,.08);
  border-radius: .8rem; padding: .55rem .9rem; backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px rgba(0,0,0,.45); display: flex; align-items: center; gap: .5rem;
}
.fc1 { top: -18px; right: -14px; animation: float1 5s ease-in-out infinite; }
.fc2 { bottom: -26px; left: -30px; animation: float2 6.4s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* Stat strip (dark) */
.stats-dark { border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); background: rgba(255,255,255,.015); }
.stat-dark b { font-family: 'Space Grotesk', sans-serif; font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; display: block; color: #fff; }
.stat-dark span { font-size: .84rem; color: rgba(255,255,255,.62); }

/* Trusted-by logo row */
.logo-row { display: flex; justify-content: center; align-items: center; gap: 2rem 3.25rem; flex-wrap: wrap; }
.logo-row .lg {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em;
  color: #c3c8da; opacity: .5; transition: opacity .2s;
  display: flex; align-items: center; gap: .5rem; white-space: nowrap;
}
.logo-row .lg:hover { opacity: .85; }

/* Bento tiles */
.tile {
  border-radius: 1.1rem; padding: 1.75rem; position: relative; overflow: hidden;
  background: linear-gradient(165deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .25s, transform .25s;
}
.tile:hover { border-color: rgba(139,92,246,.4); transform: translateY(-3px); }
.tile .icon {
  width: 42px; height: 42px; border-radius: .75rem; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: rgba(139,92,246,.13); border: 1px solid rgba(139,92,246,.25);
}
.tile h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.19rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .5rem; color: #fff; }
.tile p { font-size: .875rem; color: rgba(255,255,255,.62); }
.tile .viz { margin-top: 1.4rem; }

/* Code block visual */
.code {
  font-family: 'JetBrains Mono', monospace; font-size: .72rem; line-height: 1.75; color: #a5acc4;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.05); border-radius: .75rem;
  padding: .9rem 1rem; overflow: hidden; white-space: pre;
}
.code .k { color: #8fd8ff; } .code .s { color: #b9f4dd; } .code .c { color: #5b6178; }
.diff-add { color: #3ddc97; }
.diff-del { color: #ff8f8f; text-decoration: line-through; opacity: .7; }

/* Sparkline */
.spark { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.spark i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg,rgba(139,92,246,.75),rgba(139,92,246,.15)); min-height: 8px; }

/* Steps */
.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg,transparent,rgba(139,92,246,.4),rgba(56,224,212,.35),transparent);
}
.step .num {
  width: 52px; height: 52px; border-radius: .95rem; display: grid; place-items: center; margin-bottom: 1.25rem;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.06rem;
  background: linear-gradient(160deg,rgba(139,92,246,.22),rgba(139,92,246,.06));
  border: 1px solid rgba(139,92,246,.35); color: #cbb8ff; position: relative; z-index: 1;
}
.step h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.09rem; font-weight: 600; margin-bottom: .5rem; color: #fff; }
.step p { font-size: .875rem; color: rgba(255,255,255,.62); }

/* Showcase cards */
.show-card {
  border-radius: 1.1rem; overflow: hidden;
  background: linear-gradient(170deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08); transition: border-color .25s, transform .25s;
}
.show-card:hover { border-color: rgba(56,224,212,.35); transform: translateY(-3px); }
.show-card .shot { padding: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.05); background: rgba(0,0,0,.22); }
.show-card .body { padding: 1.5rem; }
.show-card .tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
  color: #8fd8ff; background: rgba(56,189,248,.09); border: 1px solid rgba(56,189,248,.22);
  padding: .25rem .65rem; border-radius: 999px; margin-bottom: .75rem;
}
.show-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.12rem; font-weight: 600; margin-bottom: .5rem; color: #fff; }
.show-card p { font-size: .875rem; color: rgba(255,255,255,.62); }
.table-mock { display: flex; flex-direction: column; gap: .5rem; }
.table-mock .trow { display: flex; align-items: center; gap: .65rem; font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: rgba(255,255,255,.62); }
.table-mock .tdot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.table-mock .tline { flex: 1; height: 7px; border-radius: 4px; background: rgba(255,255,255,.07); }
.mock-ring { display: flex; align-items: center; gap: 1rem; }
.mock-rows { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.mock-rows .mrow { height: 8px; border-radius: 5px; background: rgba(255,255,255,.09); }
.mock-rows .mrow.s { width: 72%; } .mock-rows .mrow.m { width: 88%; }
.dash-mock { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.dash-mock .dcell { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.05); border-radius: .55rem; padding: .65rem; font-family: 'JetBrains Mono', monospace; font-size: .62rem; color: rgba(255,255,255,.42); }
.dash-mock .dcell b { display: block; font-size: .95rem; color: #fff; font-weight: 500; margin-bottom: 2px; }

/* Results stats */
.rstat {
  border-radius: 1.1rem; padding: 1.6rem;
  background: linear-gradient(165deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
}
.rstat b { font-family: 'Space Grotesk', sans-serif; font-size: 2.35rem; font-weight: 700; letter-spacing: -.02em; display: block; line-height: 1.1; color: #fff; }
.rstat b em { font-style: normal; font-size: 1.35rem; color: rgba(255,255,255,.42); }
.rstat span { font-size: .84rem; color: rgba(255,255,255,.62); display: block; margin-top: .4rem; }
.rstat .up { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: #3ddc97; display: inline-block; margin-top: .65rem; }

/* Case card */
.case-card {
  border-radius: 1.1rem; padding: 1.9rem; position: relative;
  background: linear-gradient(160deg,rgba(139,92,246,.10),rgba(255,255,255,.02));
  border: 1px solid rgba(139,92,246,.28);
}
.case-card .cc-tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase;
  color: #b9a8ff; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.30);
  padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.case-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 600; margin-bottom: .4rem; color: #fff; }
.case-card .cc-sub { font-size: .84rem; color: rgba(255,255,255,.62); margin-bottom: 1.4rem; }
.cc-bars { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.4rem; }
.cc-bar { display: grid; grid-template-columns: 88px 1fr 58px; align-items: center; gap: .75rem; font-size: .78rem; }
.cc-bar label { color: rgba(255,255,255,.62); white-space: nowrap; }
.cc-bar .track { height: 7px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; position: relative; }
.cc-bar .before { position: absolute; top: -3px; bottom: -3px; width: 2px; border-radius: 2px; background: rgba(245,181,74,.8); }
.cc-bar .after { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: linear-gradient(90deg,#8b5cf6,#38e0d4); }
.cc-bar b { font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 500; text-align: right; color: rgba(255,255,255,.62); }
.cc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.05); font-size: .82rem; color: rgba(255,255,255,.62); }
.cc-foot b { color: #3ddc97; font-family: 'JetBrains Mono', monospace; }

/* Testimonials */
.quote {
  border-radius: 1.1rem; padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem;
  background: linear-gradient(165deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08); transition: border-color .25s, transform .25s;
}
.quote:hover { border-color: rgba(56,224,212,.3); transform: translateY(-3px); }
.quote .stars { display: flex; gap: 3px; }
.quote p { font-size: .9rem; color: #c9cdd9; line-height: 1.7; flex: 1; margin: 0; }
.quote p b { color: #fff; }
.quote .who { display: flex; align-items: center; gap: .75rem; }
.quote .ava {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .85rem; color: #fff;
}
.quote .who b { display: block; font-size: .84rem; font-weight: 600; color: #fff; }
.quote .who span { font-size: .75rem; color: rgba(255,255,255,.42); }

/* CTA band */
.cta-band {
  border-radius: 1.6rem; padding: 4.5rem 2.5rem; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(150deg,rgba(124,92,255,.22),rgba(109,124,255,.10) 55%,rgba(56,224,212,.10));
  border: 1px solid rgba(139,92,246,.30);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% -20%,rgba(139,92,246,.35),transparent 70%);
}
.cta-band h2 { position: relative; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.9rem,3.6vw,2.75rem); letter-spacing: -.025em; line-height: 1.12; font-weight: 700; margin-bottom: 1rem; color: #fff; }
.cta-band p { position: relative; color: #c6c9da; max-width: 30rem; margin: 0 auto 2rem; }
.cta-band .btn-white {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.9rem; font-size: .97rem; font-weight: 600; border-radius: .8rem;
  background: #fff; color: #1a1430; box-shadow: 0 10px 40px rgba(0,0,0,.35);
  text-decoration: none; transition: transform .18s;
}
.cta-band .btn-white:hover { transform: translateY(-2px); }
.cta-band small { position: relative; display: block; margin-top: 1.1rem; font-size: .82rem; color: rgba(255,255,255,.42); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  .ac-head .live i { animation: none; }
}

/* ── Responsive fixes for new components ── */
@media (max-width: 560px) {
  .ac-score { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .ac-bars { width: 100%; }
  .bar-row { grid-template-columns: 88px 1fr 28px; gap: .55rem; }
  .page-row { flex-wrap: wrap; gap: .5rem; }
  .page-row .path { flex: 1 1 100%; }
  .float-chip { padding: .45rem .7rem; font-size: .68rem; }
  .fc1 { right: 0; } .fc2 { left: 0; }
  .cc-bar { grid-template-columns: 76px 1fr 52px; gap: .5rem; font-size: .72rem; }
  .cta-band { padding: 3.25rem 1.25rem; }
  .cta-band .btn-white { width: 100%; justify-content: center; }
  .steps::before { display: none; }
}
@media (max-width: 980px) {
  .fc1 { right: 0; } .fc2 { left: 0; }
  .steps::before { display: none; }
}

/* --- Utilities missing from the pre-compiled Tailwind bundle (used by new markup) --- */
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
}

/* ══════════════════════════════════════════════════════════════
   PART 3 — Global dark re-skin for legacy light pages
   Maps the old light utility palette onto the dark theme.
   Unlayered rules win over Tailwind's @layer utilities.
   ══════════════════════════════════════════════════════════════ */

/* Text */
.text-slate-900 { color: #ffffff; }
.text-slate-800 { color: #e6e9f2; }
.text-slate-700 { color: rgba(255,255,255,.72); }
.text-slate-600 { color: rgba(255,255,255,.62); }
.text-slate-500 { color: rgba(255,255,255,.55); }
.text-slate-400 { color: rgba(255,255,255,.42); }
body { color: #e6e9f2; }

/* Backgrounds — sections vs cards */
.bg-white { background-color: #06070d; }
.bg-white:is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl) { background-color: #0d1019; }
.bg-white\/90 { background-color: rgba(6,7,13,.92); }
.bg-slate-50 { background-color: #0a0d16; }
.bg-slate-50\/50 { background-color: rgba(255,255,255,.025); }
.bg-slate-100 { background-color: rgba(255,255,255,.05); }
.bg-slate-200 { background-color: rgba(255,255,255,.09); }

/* Borders / dividers / placeholders */
.border-slate-100 { border-color: rgba(255,255,255,.07); }
.border-slate-200 { border-color: rgba(255,255,255,.10); }
.divide-slate-100 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(255,255,255,.07); }
.placeholder-slate-400::placeholder, .placeholder-slate-500::placeholder { color: rgba(255,255,255,.35); }

/* Status tints (light-only variants) */
.border-red-100 { border-color: rgba(248,113,113,.22); }
.bg-red-50\/50 { background-color: rgba(248,113,113,.07); }

/* Softer shadows read better on dark */
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.shadow-lg { box-shadow: 0 12px 32px rgba(0,0,0,.45); }

/* Legacy components in style.css */
.card { background: #0d1019; border-color: rgba(255,255,255,.07); box-shadow: 0 1px 3px rgba(0,0,0,.35); }

.page-header { background-color: #06070d; }
.page-header .ambient-glow .glow-1 { background: rgba(124,92,255,.16); }
.page-header .ambient-glow .glow-2 { background: rgba(139,92,246,.11); }
.page-header .ambient-glow .glow-3 { background: rgba(61,220,151,.08); }
.page-header__badge { border-color: rgba(124,92,255,.3); background: rgba(124,92,255,.1); color: #38e0d4; }

.content-body h3 { color: #ffffff; }
.content-body li { color: rgba(255,255,255,.62); }
.content-body blockquote {
  border-left-color: #7c5cff;
  background: #0d1019;
  color: rgba(255,255,255,.75);
}

.cta { background: linear-gradient(to bottom right, #7c5cff, #8b5cf6); }

/* Light-tint callouts (amber/red/emerald/indigo -50 backgrounds, any opacity) */
[class*="bg-slate-50/"] { background-color: rgba(255,255,255,.03); }
.bg-amber-50, [class*="bg-amber-50/"] { background-color: rgba(245,181,74,.08); }
.bg-red-50, [class*="bg-red-50/"] { background-color: rgba(248,113,113,.07); }
.bg-emerald-50, [class*="bg-emerald-50/"] { background-color: rgba(61,220,151,.08); }
.bg-indigo-50, [class*="bg-indigo-50/"] { background-color: rgba(124,92,255,.09); }
.border-amber-100 { border-color: rgba(245,181,74,.22); }
.border-emerald-100 { border-color: rgba(61,220,151,.22); }
.border-indigo-100 { border-color: rgba(124,92,255,.24); }
.text-emerald-700 { color: #3ddc97; }
.text-red-600, .text-red-700 { color: #f87171; }

/* White CTA buttons on dark sections (bg-white + font-bold + rounded + brand text)
   stay light — they were foreground elements, not containers */
.bg-white.font-bold:is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-full),
.bg-white.font-semibold:is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-full) {
  background-color: #ffffff;
}
.bg-white:is(.font-bold, .font-semibold):is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-full).text-brand-indigo {
  color: #6d4de0;
}
.bg-white:is(.font-bold, .font-semibold):is(.rounded-lg, .rounded-xl, .rounded-2xl, .rounded-full):hover {
  background-color: #f1efff;
}

/* ══════════════════════════════════════════════════════════════
   PART 4 — Page template blocks
   Used by template-product.php, template-article.php,
   template-tool.php, template-hub.php, template-simple.php.
   ══════════════════════════════════════════════════════════════ */

/* Page hero (all templates) */
.t-hero { position: relative; overflow: hidden; padding: 5.5rem 0 4.5rem; }
.t-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 420px at 18% 8%, rgba(124,92,255,.14), transparent 65%),
    radial-gradient(480px 380px at 85% 20%, rgba(56,224,212,.07), transparent 65%);
}
.t-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0H0v40' fill='none' stroke='white' stroke-width='.5'/%3E%3C/svg%3E");
}
.t-hero > .wrap { position: relative; z-index: 1; }
.t-hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; color: #fff; margin: 0 0 1.1rem;
}
.t-hero .lede { font-size: 1.075rem; line-height: 1.7; color: rgba(255,255,255,.62); max-width: 36rem; margin: 0; }
.t-hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: 1.9rem; }
.t-hero--center { text-align: center; }
.t-hero--center .lede { margin-inline: auto; }
.t-hero--center .cta-row { justify-content: center; }
.t-hero--compact { padding: 4.25rem 0 3.25rem; }
.meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-top: 1.4rem;
  font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: rgba(255,255,255,.42);
}
.meta-row i { font-style: normal; color: rgba(255,255,255,.18); }
.meta-row .dot { width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; display: inline-block; margin-right: .45rem; vertical-align: 1px; }

/* Section heading pattern */
.section-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; color: #fff; margin: 0 0 .8rem;
}
.section-head p { color: rgba(255,255,255,.62); font-size: 1rem; margin: 0; }

/* Alternating feature rows */
.feat-row { display: grid; gap: 2.75rem; align-items: center; padding: 2.75rem 0; }
.feat-row + .feat-row { border-top: 1px solid rgba(255,255,255,.05); }
@media (min-width: 1024px) {
  .feat-row { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .feat-row--flip .feat-row__media { order: 2; }
}
.feat-row h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 0 0 .9rem; }
.feat-row p { color: rgba(255,255,255,.62); font-size: .95rem; line-height: 1.75; margin: 0 0 1rem; }
.feat-row ul.tick { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.feat-row ul.tick li { display: flex; gap: .6rem; align-items: baseline; font-size: .92rem; color: rgba(255,255,255,.75); }
.feat-row ul.tick li::before { content: "✓"; color: #3ddc97; font-weight: 700; flex-shrink: 0; }
.feat-row__media { border-radius: 1.25rem; border: 1px solid rgba(255,255,255,.08); background: #0d1019; padding: 1.5rem; overflow: hidden; }

/* Score-row mock (feat-row media slot) */
.score-rows { display: flex; flex-direction: column; gap: .75rem; }
.score-rows .srow { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(60px,.8fr) auto; align-items: center; gap: .9rem; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-radius: .8rem; padding: .85rem 1rem; }
.score-rows .spath { font-family: 'JetBrains Mono', monospace; font-size: .76rem; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-rows .sbar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.score-rows .sbar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg,#7c5cff,#38e0d4); }
.score-rows .spts { font-family: 'JetBrains Mono', monospace; font-size: .76rem; font-weight: 600; color: #3ddc97; }

/* Comparison table */
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 1.1rem; overflow: hidden; font-size: .92rem; }
.cmp-table th, .cmp-table td { padding: .95rem 1.25rem; text-align: left; }
.cmp-table thead th {
  font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08);
}
.cmp-table tbody td { color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.05); }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody td:first-child { color: #fff; font-weight: 600; }
.cmp-table .yes { color: #3ddc97; font-weight: 600; }
.cmp-table .no { color: #f87171; }
.cmp-table .hl { background: rgba(124,92,255,.07); }
.cmp-wrap { overflow-x: auto; border-radius: 1.1rem; }

/* Article layout: sticky TOC + prose */
.art-layout { display: grid; gap: 3rem; }
@media (min-width: 1100px) { .art-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 4.5rem; } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: 96px; align-self: start; }
}
.toc p {
  font-family: 'JetBrains Mono', monospace; font-size: .68rem; text-transform: uppercase; letter-spacing: .18em;
  color: rgba(255,255,255,.42); margin: 0 0 1rem;
}
.toc a {
  display: block; padding: .45rem 0 .45rem .9rem; font-size: .84rem; color: rgba(255,255,255,.55);
  border-left: 2px solid rgba(255,255,255,.08); text-decoration: none; transition: color .15s, border-color .15s;
}
.toc a:hover, .toc a.on { color: #fff; border-left-color: #7c5cff; }

/* Prose (article + legal body) */
.prose { max-width: 44rem; font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,.7); }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em;
  color: #fff; margin: 3.25rem 0 1rem; scroll-margin-top: 96px;
}
.prose h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 600; color: #fff; margin: 2.25rem 0 .75rem; scroll-margin-top: 96px; }
.prose p { margin: 0 0 1.15rem; }
.prose a { color: #38e0d4; text-decoration: none; border-bottom: 1px solid rgba(56,224,212,.3); transition: border-color .15s; }
.prose a:hover { border-bottom-color: #38e0d4; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5rem; padding-left: .2rem; }
.prose li::marker { color: #7c5cff; font-weight: 600; }
.prose strong { color: #fff; }
.prose code {
  font-family: 'JetBrains Mono', monospace; font-size: .84em; padding: .15em .45em; border-radius: .4rem;
  background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.22); color: #cdb9ff;
}
.prose blockquote {
  margin: 1.75rem 0; padding: 1.1rem 1.4rem; border-left: 3px solid #7c5cff;
  background: rgba(124,92,255,.07); border-radius: 0 .9rem .9rem 0; color: rgba(255,255,255,.82);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: 1rem; border: 1px solid rgba(255,255,255,.08); margin: 1.75rem 0; }
.prose hr { border: 0; border-top: 1px solid rgba(255,255,255,.07); margin: 2.75rem 0; }

/* Callouts */
.callout { display: flex; gap: .85rem; border-radius: 1rem; padding: 1.05rem 1.25rem; margin: 1.75rem 0; font-size: .92rem; line-height: 1.65; border: 1px solid; }
.callout svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: .15rem; }
.callout p { margin: 0; }
.callout b { display: block; margin-bottom: .15rem; }
.callout--info { background: rgba(56,224,212,.06); border-color: rgba(56,224,212,.2); color: #b9ece8; }
.callout--info b, .callout--info svg { color: #38e0d4; }
.callout--good { background: rgba(61,220,151,.07); border-color: rgba(61,220,151,.22); color: #b9f4dd; }
.callout--good b, .callout--good svg { color: #3ddc97; }
.callout--warn { background: rgba(245,181,74,.07); border-color: rgba(245,181,74,.24); color: #f4dfb8; }
.callout--warn b, .callout--warn svg { color: #f5b54a; }
.callout--bad { background: rgba(248,113,113,.07); border-color: rgba(248,113,113,.22); color: #f3c1c1; }
.callout--bad b, .callout--bad svg { color: #f87171; }

/* Weak/strong example pair */
.ex-pair { display: grid; gap: 1rem; margin: 1.75rem 0; }
@media (min-width: 768px) { .ex-pair { grid-template-columns: 1fr 1fr; } }
.ex-card { border-radius: 1rem; padding: 1.25rem 1.4rem; border: 1px solid; font-size: .92rem; line-height: 1.65; }
.ex-card span {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .66rem; text-transform: uppercase;
  letter-spacing: .14em; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .7rem;
}
.ex-card p { margin: 0; font-style: italic; }
.ex-card--weak { background: rgba(248,113,113,.06); border-color: rgba(248,113,113,.2); color: rgba(255,255,255,.72); }
.ex-card--weak span { background: rgba(248,113,113,.14); color: #f87171; }
.ex-card--strong { background: rgba(61,220,151,.06); border-color: rgba(61,220,151,.22); color: rgba(255,255,255,.78); }
.ex-card--strong span { background: rgba(61,220,151,.14); color: #3ddc97; }

/* FAQ accordion (no JS needed — native details/summary) */
.faq-acc { display: grid; gap: .8rem; }
.faq-acc details {
  border: 1px solid rgba(255,255,255,.08); border-radius: 1rem; background: #0d1019;
  transition: border-color .2s;
}
.faq-acc details[open] { border-color: rgba(124,92,255,.35); }
.faq-acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .95rem; color: #fff; min-height: 44px;
}
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::after {
  content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-top: -4px;
  border-right: 2px solid rgba(255,255,255,.45); border-bottom: 2px solid rgba(255,255,255,.45);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-acc details[open] summary::after { transform: rotate(225deg); margin-top: 2px; }
.faq-acc details > div { padding: 0 1.35rem 1.2rem; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.62); }

/* Related content cards */
.rel-grid { display: grid; gap: 1.1rem; }
@media (min-width: 768px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }
.rel-card {
  display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem; border-radius: 1.1rem;
  border: 1px solid rgba(255,255,255,.08); background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  text-decoration: none; transition: transform .2s, border-color .2s;
}
.rel-card:hover { transform: translateY(-3px); border-color: rgba(124,92,255,.4); }
.rel-card .tag {
  font-family: 'JetBrains Mono', monospace; font-size: .64rem; text-transform: uppercase; letter-spacing: .14em;
  color: #38e0d4;
}
.rel-card b { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600; color: #fff; line-height: 1.35; }
.rel-card p { font-size: .85rem; color: rgba(255,255,255,.55); margin: 0; flex: 1; }
.rel-card .go { font-size: .8rem; font-weight: 600; color: #a78bfa; }

/* Hub cards (resources / glossary listing) */
.hub-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
.hub-card {
  display: flex; flex-direction: column; padding: 1.6rem; border-radius: 1.1rem; text-decoration: none;
  border: 1px solid rgba(255,255,255,.08); background: #0d1019; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.hub-card:hover { transform: translateY(-3px); border-color: rgba(56,224,212,.35); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.hub-card .icon {
  width: 40px; height: 40px; border-radius: .7rem; display: grid; place-items: center; margin-bottom: 1rem;
  background: rgba(56,224,212,.1); border: 1px solid rgba(56,224,212,.22);
}
.hub-card b { font-family: 'Space Grotesk', sans-serif; font-size: 1.08rem; font-weight: 600; color: #fff; margin-bottom: .45rem; }
.hub-card p { font-size: .86rem; color: rgba(255,255,255,.55); line-height: 1.65; margin: 0 0 1rem; flex: 1; }
.hub-card .go { font-size: .8rem; font-weight: 600; color: #38e0d4; }
.hub-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.75rem; }
.hub-filters span {
  font-size: .8rem; font-weight: 600; padding: .5rem 1.05rem; border-radius: 999px; cursor: default;
  border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); background: rgba(255,255,255,.03);
}
.hub-filters span.on { background: rgba(124,92,255,.16); border-color: rgba(124,92,255,.4); color: #fff; }

/* Interactive checklist widget (tool template) */
.check-widget {
  display: grid; gap: 0; border-radius: 1.4rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,.09); background: #0d1019;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
@media (min-width: 1024px) { .check-widget { grid-template-columns: 1.35fr 1fr; } }
.check-widget .cw-left { padding: 2rem; }
.check-widget .cw-right {
  padding: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  background: rgba(255,255,255,.025); border-top: 1px solid rgba(255,255,255,.07); text-align: center;
}
@media (min-width: 1024px) { .check-widget .cw-right { border-top: 0; border-left: 1px solid rgba(255,255,255,.07); } }
.cw-item {
  display: flex; align-items: center; gap: .9rem; padding: .95rem 1.1rem; margin-bottom: .65rem; cursor: pointer;
  border: 1px solid rgba(255,255,255,.07); border-radius: .9rem; background: rgba(255,255,255,.02); transition: border-color .15s, background .15s;
}
.cw-item:hover { border-color: rgba(124,92,255,.35); }
.cw-item input { accent-color: #7c5cff; width: 17px; height: 17px; flex-shrink: 0; }
.cw-item .lbl { flex: 1; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.8); }
.cw-item .pts { font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: #3ddc97; white-space: nowrap; }
.cw-item.done { background: rgba(61,220,151,.05); border-color: rgba(61,220,151,.2); }
.cw-item.done .lbl { color: rgba(255,255,255,.45); text-decoration: line-through; }
.cw-verdict { font-size: .86rem; color: rgba(255,255,255,.55); max-width: 24rem; }
.cw-verdict b { color: #fff; }

/* Legal / narrow prose page */
.legal { max-width: 46rem; margin: 0 auto; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.42); margin-bottom: 1.75rem; }
.crumbs a { color: rgba(255,255,255,.55); text-decoration: none; }
.crumbs a:hover { color: #38e0d4; }
.crumbs i { font-style: normal; color: rgba(255,255,255,.2); }
.crumbs b { font-weight: 500; color: rgba(255,255,255,.8); }

/* Template responsive touches */
@media (max-width: 640px) {
  .t-hero { padding: 4rem 0 3.25rem; }
  .t-hero .cta-row .btn-primary, .t-hero .cta-row .btn-ghost { width: 100%; justify-content: center; }
  .cmp-table th, .cmp-table td { padding: .75rem .9rem; font-size: .84rem; }
  .check-widget .cw-left, .check-widget .cw-right { padding: 1.35rem; }
  .feat-row { padding: 2.25rem 0; }
}


/* ============================================================
   PART 5 — V2 page designs
   Premium designs for the 4 core page types:
   content (dc-), contact (ct-), audit landing (al-).
   ============================================================ */

/* ── Shared v2 bits ─────────────────────────────────────── */

/* Glass panel */
.panel {
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.25rem;
}
.panel-hover { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.panel-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,255,.35);
  box-shadow: 0 20px 50px -20px rgba(124,92,255,.25);
}

/* XL CTA button */
.btn-xl { padding: 1.05rem 2.1rem !important; font-size: 1.02rem !important; border-radius: 1rem !important; }

/* Inline trust ticks */
.tick-inline { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.tick-inline li { display: flex; align-items: center; gap: .55rem; font-size: .86rem; color: rgba(255,255,255,.6); }
.tick-inline li::before {
  content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  font-size: .62rem; font-weight: 700; color: #3ddc97;
  background: rgba(61,220,151,.12); border: 1px solid rgba(61,220,151,.3);
}

/* Reading progress bar (content pages) */
.progressbar {
  position: fixed; top: 0; left: 0; z-index: 60;
  height: 2px; width: 0;
  background: linear-gradient(90deg, #7c5cff, #38e0d4);
  box-shadow: 0 0 12px rgba(124,92,255,.6);
  transition: width .08s linear;
}

/* ══════════════════════════════════════════════════════════
   CONTENT PAGE (dc-)
   ══════════════════════════════════════════════════════════ */

/* Hero */
.dc-hero {
  position: relative; overflow: hidden;
  padding: 5rem 0 3.75rem;
  text-align: center;
}
.dc-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 300px at 22% 0%, rgba(124,92,255,.16), transparent 65%),
    radial-gradient(560px 320px at 78% 8%, rgba(56,224,212,.10), transparent 65%);
}
.dc-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 65% 75% at 50% 0%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 50% 0%, #000 25%, transparent 72%);
}
.dc-hero > .wrap { position: relative; }
.dc-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.12;
  color: #fff; margin: 1.15rem auto 0; max-width: 21ch;
}
.dc-hero .lede {
  margin: 1.35rem auto 0; max-width: 42rem;
  font-size: 1.08rem; line-height: 1.75; color: rgba(255,255,255,.62);
}
.dc-hero .lede strong { color: rgba(255,255,255,.88); font-weight: 600; }

/* Meta row with avatar */
.dc-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .7rem 1.1rem; margin-top: 1.75rem;
  font-family: 'JetBrains Mono', monospace; font-size: .76rem; color: rgba(255,255,255,.45);
}
.dc-meta .who { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.7); }
.dc-ava {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 600; color: #fff; letter-spacing: .02em;
  background: linear-gradient(135deg, #7c5cff, #38e0d4);
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 4px 14px -4px rgba(124,92,255,.5);
}
.dc-meta .sep { color: rgba(255,255,255,.2); }

/* Layout: TOC + prose */
.dc-layout { display: grid; gap: 3rem; padding: 3rem 0 4.5rem; }
@media (min-width: 1100px) {
  .dc-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 4.5rem; }
}

/* TOC */
.dc-toc { display: none; }
@media (min-width: 1100px) {
  .dc-toc { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 130px); overflow-y: auto; }
}
.dc-toc .toc-label {
  font-family: 'JetBrains Mono', monospace; font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.38);
  margin-bottom: .9rem;
}
.dc-toc a {
  display: block; padding: .42rem 0 .42rem 1rem;
  border-left: 2px solid rgba(255,255,255,.08);
  font-size: .83rem; line-height: 1.45; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .15s, border-color .15s;
}
.dc-toc a:hover { color: rgba(255,255,255,.9); border-left-color: rgba(124,92,255,.5); }
.dc-toc a.on { color: #fff; border-left-color: #7c5cff; }

/* Prose */
.dc-prose { max-width: 46rem; font-size: 1.02rem; line-height: 1.85; color: rgba(255,255,255,.72); }
.dc-prose > *:first-child { margin-top: 0; }
.dc-prose h2 {
  font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; color: #fff;
  margin: 3.75rem 0 1.1rem; scroll-margin-top: 96px; line-height: 1.25;
}
.dc-prose h3 { font-size: 1.18rem; font-weight: 600; color: #fff; margin: 2.4rem 0 .7rem; scroll-margin-top: 96px; }
.dc-prose p { margin: 0 0 1.2rem; }
.dc-prose a { color: #38e0d4; text-decoration: none; border-bottom: 1px solid rgba(56,224,212,.3); transition: border-color .15s; }
.dc-prose a:hover { border-bottom-color: #38e0d4; }
.dc-prose strong { color: #fff; font-weight: 600; }
.dc-prose ul, .dc-prose ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.dc-prose ul { list-style: disc; }
.dc-prose ol { list-style: decimal; }
.dc-prose li { margin-bottom: .55rem; padding-left: .25rem; }
.dc-prose li::marker { color: #7c5cff; font-weight: 600; }
.dc-prose code {
  font-family: 'JetBrains Mono', monospace; font-size: .82em;
  background: rgba(124,92,255,.13); border: 1px solid rgba(124,92,255,.22);
  padding: .14em .42em; border-radius: .4rem; color: #d6c9ff;
}
.dc-prose blockquote {
  margin: 2rem 0; padding: 1.35rem 1.6rem;
  background: linear-gradient(120deg, rgba(124,92,255,.09), rgba(56,224,212,.05));
  border: 1px solid rgba(124,92,255,.2); border-left: 3px solid #7c5cff;
  border-radius: .9rem; color: rgba(255,255,255,.85); font-size: 1.05rem;
}
.dc-prose blockquote p:last-child { margin-bottom: 0; }
.dc-prose img { border-radius: 1rem; border: 1px solid rgba(255,255,255,.08); margin: 1.75rem 0; }
.dc-prose hr { border: 0; border-top: 1px solid rgba(255,255,255,.07); margin: 3rem 0; }

/* Definition cards (SEO / AEO / GEO style blocks) */
.def-grid { display: grid; gap: 1.1rem; margin: 1.9rem 0 2.2rem; }
@media (min-width: 820px) { .def-grid { grid-template-columns: repeat(3, 1fr); } }
.def-card {
  position: relative; overflow: hidden;
  padding: 1.5rem 1.4rem 1.4rem;
  background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.08); border-radius: 1.1rem;
  transition: transform .25s, border-color .25s;
}
.def-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.16); }
.def-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.def-card:nth-child(1)::before { background: linear-gradient(90deg, transparent, #7c8cff, transparent); }
.def-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, #7c5cff, transparent); }
.def-card:nth-child(3)::before { background: linear-gradient(90deg, transparent, #38e0d4, transparent); }
.def-card .tag {
  font-family: 'JetBrains Mono', monospace; font-size: .66rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}
.def-card:nth-child(1) .tag { color: #9aa8ff; }
.def-card:nth-child(2) .tag { color: #b9a8ff; }
.def-card:nth-child(3) .tag { color: #7de8df; }
.def-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.12rem; font-weight: 600; color: #fff; margin: .55rem 0 .6rem; }
.def-card p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); margin: 0; }
.def-card p strong { color: rgba(255,255,255,.85); }

/* Key takeaway band */
.takeaway {
  position: relative; margin: 2.5rem 0; padding: 1.7rem 1.8rem;
  border-radius: 1.15rem; overflow: hidden;
  background: linear-gradient(135deg, rgba(124,92,255,.13), rgba(56,224,212,.07));
  border: 1px solid rgba(124,92,255,.3);
}
.takeaway::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 190px; height: 190px;
  background: radial-gradient(circle, rgba(124,92,255,.28), transparent 70%); pointer-events: none;
}
.takeaway .tk-label {
  display: flex; align-items: center; gap: .55rem;
  font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: #b9a8ff; margin-bottom: .65rem;
}
.takeaway p { margin: 0; font-size: 1.04rem; line-height: 1.7; color: rgba(255,255,255,.9); }

/* Situation / scenario cards */
.sc-grid { display: grid; gap: 1rem; margin: 1.9rem 0 2.2rem; }
@media (min-width: 760px) { .sc-grid { grid-template-columns: 1fr 1fr; } }
.sc-card {
  padding: 1.35rem 1.4rem;
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(255,255,255,.07); border-radius: 1rem;
  transition: border-color .2s, background .2s;
}
.sc-card:hover { border-color: rgba(56,224,212,.28); background: rgba(56,224,212,.035); }
.sc-card h4 { display: flex; align-items: baseline; gap: .6rem; font-size: .98rem; font-weight: 600; color: #fff; margin: 0 0 .5rem; }
.sc-card h4 .n { font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 600; color: #38e0d4; }
.sc-card p { margin: 0; font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.58); }

/* Strategy steps (numbered flow) */
.dc-steps { list-style: none; margin: 2rem 0 2.4rem; padding: 0; display: grid; gap: 1rem; counter-reset: dstep; }
.dc-steps li {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(165deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.07); border-radius: 1rem;
}
.dc-steps li::before {
  counter-increment: dstep; content: counter(dstep, decimal-leading-zero);
  font-family: 'JetBrains Mono', monospace; font-size: 1.3rem; font-weight: 600;
  background: linear-gradient(135deg, #a78bfa, #38e0d4);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.3;
}
.dc-steps h4 { font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 .4rem; }
.dc-steps p { margin: 0; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.58); }

/* Related cards — v2 hover polish */
.rel-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.rel-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.35); box-shadow: 0 18px 44px -18px rgba(124,92,255,.28); }

/* Comparison table — highlighted column glow */
.cmp-table .hl { background: linear-gradient(180deg, rgba(124,92,255,.12), rgba(124,92,255,.05)); }
.cmp-table thead th.hl { color: #d6c9ff; }
.cmp-wrap { overflow-x: auto; border-radius: 1.1rem; margin: 1.9rem 0 2.2rem; }

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE (ct-)
   ══════════════════════════════════════════════════════════ */

.ct-grid { display: grid; gap: 2.5rem; padding: 1rem 0 5rem; }
@media (min-width: 1024px) { .ct-grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; } }

.ct-info { display: grid; gap: 1.1rem; }
.info-panel {
  display: grid; grid-template-columns: auto 1fr; gap: 1.05rem; align-items: start;
  padding: 1.45rem 1.5rem;
  background: linear-gradient(165deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.08); border-radius: 1.1rem;
  transition: border-color .2s;
}
.info-panel:hover { border-color: rgba(124,92,255,.3); }
.info-panel .ic {
  width: 42px; height: 42px; border-radius: .8rem; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.25); color: #b9a8ff;
}
.info-panel h3 { font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 .4rem; }
.info-panel p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.58); margin: 0; }
.info-panel a { color: #38e0d4; text-decoration: none; border-bottom: 1px solid rgba(56,224,212,.3); }
.info-panel a:hover { border-bottom-color: #38e0d4; }

/* Form */
.form-panel {
  position: relative; overflow: hidden;
  padding: 2.1rem; border-radius: 1.35rem;
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 30px 70px -35px rgba(0,0,0,.7);
}
.form-panel::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,92,255,.7), rgba(56,224,212,.5), transparent);
}
.form-panel h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; color: #fff; margin: 0 0 .35rem; }
.form-panel .sub { font-size: .9rem; color: rgba(255,255,255,.55); margin: 0 0 1.8rem; }
.f-row { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
@media (min-width: 640px) { .f-row { grid-template-columns: 1fr 1fr; } }
.f-field { display: grid; gap: .45rem; }
.f-label { font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.f-label .opt { color: rgba(255,255,255,.3); text-transform: none; letter-spacing: 0; }
.f-input, .f-area {
  width: 100%; color: #fff; font-size: .94rem; font-family: 'Inter', sans-serif;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.11);
  border-radius: .8rem; padding: .85rem 1rem; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.f-input { height: 3.1rem; }
.f-area { min-height: 9rem; resize: vertical; line-height: 1.65; }
.f-input::placeholder, .f-area::placeholder { color: rgba(255,255,255,.28); }
.f-input:focus, .f-area:focus {
  border-color: rgba(124,92,255,.65); background: rgba(124,92,255,.06);
  box-shadow: 0 0 0 3px rgba(124,92,255,.18);
}
.f-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  margin-top: 1.5rem; min-height: 3.2rem; padding: 0 2rem; width: 100%;
  font-size: .98rem; font-weight: 600; color: #fff; cursor: pointer;
  background: linear-gradient(100deg, #7c5cff, #8b5cf6); border: 0; border-radius: .9rem;
  box-shadow: 0 14px 34px -12px rgba(124,92,255,.55);
  transition: transform .15s, box-shadow .15s;
}
@media (min-width: 640px) { .f-submit { width: auto; } }
.f-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(124,92,255,.65); }
.f-note { margin: 1.1rem 0 0; font-size: .8rem; color: rgba(255,255,255,.4); }
.f-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ══════════════════════════════════════════════════════════
   AUDIT LANDING (al-) — conversion page for paid traffic
   ══════════════════════════════════════════════════════════ */

.al-hero {
  position: relative; overflow: hidden;
  padding: 4.75rem 0 5rem;
}
.al-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 360px at 12% -5%, rgba(124,92,255,.2), transparent 65%),
    radial-gradient(600px 380px at 88% 10%, rgba(56,224,212,.11), transparent 65%);
}
.al-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 75% 80% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 0%, #000 20%, transparent 75%);
}
.al-hero > .wrap { position: relative; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .al-hero > .wrap { grid-template-columns: 11fr 9fr; gap: 4rem; } }
.al-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: #fff; margin: 1.15rem 0 0;
}
.al-hero .sub { margin: 1.35rem 0 0; max-width: 34rem; font-size: 1.06rem; line-height: 1.75; color: rgba(255,255,255,.64); }
.al-hero .cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* Dashboard mock */
.al-viz { position: relative; }
.al-dash {
  position: relative; z-index: 1;
  border-radius: 1.35rem; overflow: hidden;
  background: linear-gradient(170deg, #10131f, #0b0e17);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 90px -35px rgba(0,0,0,.85), 0 0 0 1px rgba(124,92,255,.08), 0 24px 70px -30px rgba(124,92,255,.3);
}
.al-dash__top {
  display: flex; align-items: center; gap: .5rem;
  padding: .85rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.07);
  font-family: 'JetBrains Mono', monospace; font-size: .68rem; color: rgba(255,255,255,.4);
}
.al-dash__top .d { width: 9px; height: 9px; border-radius: 50%; }
.al-dash__top .d:nth-child(1) { background: #ff5f57; }
.al-dash__top .d:nth-child(2) { background: #febc2e; }
.al-dash__top .d:nth-child(3) { background: #28c840; }
.al-dash__top .url { margin-left: .6rem; }
.al-dash__body { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; padding: 1.5rem 1.4rem; }
.al-ring { position: relative; width: 128px; height: 128px; flex-shrink: 0; }
.al-ring svg { transform: rotate(-90deg); }
.al-ring .ring-bg { stroke: rgba(255,255,255,.08); }
.al-ring .ring-val { stroke: url(#alg); stroke-linecap: round; }
.al-ring .num {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.al-ring .num b { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; }
.al-ring .num span { font-family: 'JetBrains Mono', monospace; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-top: .3rem; }
.al-dash__chips {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem;
  padding: 0 1.4rem 1.5rem;
}
.al-dash__chips .chip-cell {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-radius: .7rem; padding: .7rem .8rem;
  font-family: 'JetBrains Mono', monospace; font-size: .6rem; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.al-dash__chips .chip-cell b { display: block; font-size: 1.05rem; color: #fff; font-weight: 600; margin-bottom: 2px; letter-spacing: 0; text-transform: none; }
/* Floating accent card over the mock */
.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .65rem;
  padding: .8rem 1.05rem; border-radius: .95rem;
  background: rgba(18,22,35,.92); backdrop-filter: blur(8px);
  border: 1px solid rgba(61,220,151,.35);
  box-shadow: 0 18px 44px -14px rgba(0,0,0,.7), 0 0 24px -6px rgba(61,220,151,.25);
  font-size: .8rem; color: rgba(255,255,255,.8);
}
.float-card b { color: #3ddc97; font-family: 'JetBrains Mono', monospace; }
.float-card .fc-ic {
  width: 30px; height: 30px; border-radius: .6rem; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(61,220,151,.14); color: #3ddc97;
}
.fc-a { top: -20px; right: -14px; }
.fc-b { bottom: -22px; left: -18px; border-color: rgba(124,92,255,.4); box-shadow: 0 18px 44px -14px rgba(0,0,0,.7), 0 0 24px -6px rgba(124,92,255,.3); }
.fc-b .fc-ic { background: rgba(124,92,255,.16); color: #b9a8ff; }
.fc-b b { color: #b9a8ff; }

/* Mono strip band */
.al-strip { border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.015); }
.al-strip .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .7rem 2.2rem; padding-top: 1.15rem; padding-bottom: 1.15rem;
  font-family: 'JetBrains Mono', monospace; font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
}
.al-strip .it { display: flex; align-items: center; gap: .6rem; }
.al-strip .it i { width: 5px; height: 5px; border-radius: 50%; background: #38e0d4; box-shadow: 0 0 8px #38e0d4; }

/* Flow steps (1-2-3) */
.flow { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; gap: 2.2rem; counter-reset: fl; }
@media (min-width: 860px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .flow li::after {
    content: ""; position: absolute; top: 1.55rem; left: calc(100% - 1.2rem); width: 1.4rem; height: 1px;
    background: linear-gradient(90deg, rgba(124,92,255,.6), transparent);
  }
  .flow li:last-child::after { display: none; }
}
.flow li { position: relative; padding: 0 .4rem; }
.flow .fl-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.1rem; height: 3.1rem; border-radius: .95rem; margin-bottom: 1.1rem;
  font-family: 'JetBrains Mono', monospace; font-size: 1.05rem; font-weight: 600; color: #d6c9ff;
  background: linear-gradient(150deg, rgba(124,92,255,.22), rgba(124,92,255,.06));
  border: 1px solid rgba(124,92,255,.35);
  box-shadow: 0 8px 24px -10px rgba(124,92,255,.4);
}
.flow h3 { font-size: 1.08rem; font-weight: 600; color: #fff; margin: 0 0 .5rem; }
.flow p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.56); margin: 0; }

/* Split section (report) */
.split2 { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split2 { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.inc-list { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: .9rem; }
.inc-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.inc-list .inc-ic {
  width: 34px; height: 34px; border-radius: .7rem; flex-shrink: 0; margin-top: .1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(56,224,212,.1); border: 1px solid rgba(56,224,212,.28); color: #38e0d4;
}
.inc-list h4 { font-size: .97rem; font-weight: 600; color: #fff; margin: 0 0 .25rem; }
.inc-list p { font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.55); margin: 0; }

/* Report mock (smaller, for split section) */
.report-mock {
  border-radius: 1.25rem; overflow: hidden;
  background: linear-gradient(170deg, #10131f, #0b0e17);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
  padding: 1.4rem;
  display: grid; gap: 1rem;
}
.report-mock .rm-row { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .8rem .95rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: .8rem; }
.report-mock .rm-dim { font-size: .84rem; color: rgba(255,255,255,.75); }
.report-mock .rm-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.report-mock .rm-bar i { display: block; height: 100%; border-radius: 3px; }
.report-mock .rm-score { font-family: 'JetBrains Mono', monospace; font-size: .8rem; font-weight: 600; width: 2.6rem; text-align: right; }
.rm-good i { background: linear-gradient(90deg,#3ddc97,#38e0d4); } .rm-good { color: #3ddc97; }
.rm-mid i { background: linear-gradient(90deg,#f5c15c,#f5a15c); } .rm-mid { color: #f5c15c; }
.rm-bad i { background: linear-gradient(90deg,#f45c8a,#b45cf5); } .rm-bad { color: #f48ab0; }

/* Alternative link cards */
.alt-grid { display: grid; gap: 1.1rem; margin-top: 2rem; }
@media (min-width: 760px) { .alt-grid { grid-template-columns: 1fr 1fr; } }
.alt-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.6rem; text-decoration: none;
  background: linear-gradient(165deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.08); border-radius: 1.1rem;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.alt-card:hover { transform: translateY(-3px); border-color: rgba(56,224,212,.35); box-shadow: 0 18px 44px -18px rgba(56,224,212,.2); }
.alt-card h3 { font-size: 1.02rem; font-weight: 600; color: #fff; margin: 0 0 .35rem; }
.alt-card p { font-size: .86rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.6; }
.alt-card .arr { flex-shrink: 0; color: #38e0d4; transition: transform .2s; }
.alt-card:hover .arr { transform: translateX(4px); }

/* Small note with inline links */
.mini-note { margin-top: 2.25rem; font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.5); }
.mini-note a { color: #38e0d4; text-decoration: none; border-bottom: 1px solid rgba(56,224,212,.3); }
.mini-note a:hover { border-bottom-color: #38e0d4; }

/* ── V2 responsive ──────────────────────────────────────── */
@media (max-width: 1023px) {
  .al-viz { max-width: 34rem; margin: 0 auto; }
  .fc-a { right: 0; }
  .fc-b { left: 0; }
}
@media (max-width: 640px) {
  .dc-hero { padding: 3.5rem 0 2.75rem; }
  .al-hero { padding: 3.25rem 0 3.5rem; }
  .al-hero .cta-row .btn-primary, .al-hero .cta-row .btn-ghost { width: 100%; justify-content: center; }
  .al-dash__body { grid-template-columns: 1fr; justify-items: center; }
  .al-dash__chips { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
  .form-panel { padding: 1.5rem; }
  .dc-prose h2 { font-size: 1.45rem; }
  .takeaway { padding: 1.3rem 1.35rem; }
}


/* ============================================================
   PART 6 — Conversion-first content page (cv-)
   The article supports the conversion elements, not the
   other way round: hero URL capture, sticky CTA sidebar,
   inline CTA bands between sections.
   ============================================================ */

/* Hero URL capture bar */
.audit-bar {
  display: flex; align-items: center; gap: .5rem;
  max-width: 34rem; margin: 2.1rem auto 0; padding: .45rem .45rem .45rem 1.15rem;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(124,92,255,.35); border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(124,92,255,.08), 0 18px 44px -18px rgba(124,92,255,.35);
}
.audit-bar .ab-ic { flex-shrink: 0; color: rgba(255,255,255,.35); }
.audit-bar input {
  flex: 1; min-width: 0; height: 2.6rem;
  background: transparent; border: 0; outline: none;
  color: #fff; font-size: .95rem; font-family: 'Inter', sans-serif;
}
.audit-bar input::placeholder { color: rgba(255,255,255,.3); }
.audit-bar button {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .5rem;
  height: 2.75rem; padding: 0 1.4rem; cursor: pointer;
  font-size: .9rem; font-weight: 600; color: #fff; font-family: 'Inter', sans-serif;
  background: linear-gradient(100deg, #7c5cff, #8b5cf6);
  border: 0; border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(124,92,255,.6);
  transition: transform .15s, box-shadow .15s;
}
.audit-bar button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(124,92,255,.7); }
.audit-bar-note {
  margin: .8rem 0 0; text-align: center;
  font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: rgba(255,255,255,.38);
}

/* Layout: content + conversion sidebar */
.cv-layout { display: grid; gap: 3.5rem; padding: 3.25rem 0 4.5rem; }
.cv-layout .dc-prose { min-width: 0; max-width: none; }
@media (min-width: 1100px) { .cv-layout .dc-prose { max-width: 46rem; } }
@media (min-width: 1100px) {
  .cv-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 4.5rem; align-items: start; }
}
.cv-side { display: flex; flex-direction: column; gap: 1.4rem; }
@media (min-width: 1100px) {
  .cv-side { position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: none; }
  .cv-side::-webkit-scrollbar { display: none; }
}
@media (max-width: 1099px) {
  .cv-side { order: -1; max-width: 34rem; margin: 0 auto; width: 100%; }
}

/* Sidebar CTA card — the money block */
.cv-cta {
  position: relative; overflow: hidden;
  padding: 1.75rem 1.6rem; border-radius: 1.25rem; text-align: center;
  background: linear-gradient(170deg, rgba(124,92,255,.14), rgba(56,224,212,.06) 70%, rgba(255,255,255,.02));
  border: 1px solid rgba(124,92,255,.4);
  box-shadow: 0 24px 60px -25px rgba(124,92,255,.4);
}
.cv-cta::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,224,212,.8), transparent);
}
.cv-cta .cv-ring { position: relative; width: 92px; height: 92px; margin: 0 auto 1rem; }
.cv-cta .cv-ring svg { transform: rotate(-90deg); }
.cv-cta .cv-ring .num {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.cv-cta .cv-ring .num b { font-family: 'Space Grotesk', sans-serif; font-size: 1.55rem; font-weight: 700; color: #fff; line-height: 1; }
.cv-cta .cv-ring .num span { font-family: 'JetBrains Mono', monospace; font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: .25rem; }
.cv-cta h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; color: #fff; margin: 0 0 .5rem; }
.cv-cta > p { font-size: .85rem; line-height: 1.65; color: rgba(255,255,255,.6); margin: 0 0 1.2rem; }
.cv-cta .btn-primary { width: 100%; justify-content: center; }
.cv-get { list-style: none; margin: 1.15rem 0 0; padding: 0; display: grid; gap: .5rem; text-align: left; }
.cv-get li { display: flex; align-items: center; gap: .55rem; font-size: .78rem; color: rgba(255,255,255,.55); }
.cv-get li::before {
  content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  font-size: .55rem; font-weight: 700; color: #3ddc97;
  background: rgba(61,220,151,.12); border: 1px solid rgba(61,220,151,.3);
}

/* Sidebar: TOC (secondary, compact) */
.cv-toc { padding: 1.3rem 1.4rem; border-radius: 1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); }
.cv-toc .toc-label {
  font-family: 'JetBrains Mono', monospace; font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: .7rem;
}
.cv-toc a {
  display: block; padding: .34rem 0 .34rem .85rem;
  border-left: 2px solid rgba(255,255,255,.08);
  font-size: .8rem; line-height: 1.4; color: rgba(255,255,255,.48);
  text-decoration: none; transition: color .15s, border-color .15s;
}
.cv-toc a:hover { color: rgba(255,255,255,.9); border-left-color: rgba(124,92,255,.5); }
.cv-toc a.on { color: #fff; border-left-color: #7c5cff; }
@media (max-width: 1099px) { .cv-toc { display: none; } }

/* Sidebar: tools links */
.cv-tools { padding: 1.3rem 1.4rem; border-radius: 1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); }
.cv-tools .toc-label {
  font-family: 'JetBrains Mono', monospace; font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: .7rem;
}
.cv-tools a {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .5rem 0; font-size: .83rem; color: rgba(255,255,255,.65);
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .15s;
}
.cv-tools a:last-child { border-bottom: 0; padding-bottom: .1rem; }
.cv-tools a:hover { color: #38e0d4; }
.cv-tools a svg { flex-shrink: 0; color: rgba(255,255,255,.3); transition: transform .15s, color .15s; }
.cv-tools a:hover svg { transform: translateX(3px); color: #38e0d4; }

/* Inline CTA band — sits between article sections */
.inline-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin: 3rem 0; padding: 1.6rem 1.8rem;
  border-radius: 1.15rem;
  background: linear-gradient(120deg, rgba(124,92,255,.18), rgba(56,224,212,.08));
  border: 1px solid rgba(124,92,255,.35);
}
.inline-cta::before {
  content: ""; position: absolute; top: -70px; right: 15%; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(124,92,255,.3), transparent 70%); pointer-events: none;
}
.inline-cta .ic-copy { position: relative; }
.inline-cta h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; color: #fff; margin: 0 0 .3rem; }
.inline-cta p { font-size: .87rem; color: rgba(255,255,255,.62); margin: 0; line-height: 1.6; }
.inline-cta .btn-primary { position: relative; flex-shrink: 0; white-space: nowrap; }

/* V2 prose is reused from PART 5 (.dc-prose etc.) */

/* ── PART 6 responsive ──────────────────────────────────── */
@media (max-width: 640px) {
  .audit-bar { flex-direction: column; padding: .7rem; border-radius: 1.1rem; gap: .6rem; }
  .audit-bar .ab-ic { display: none; }
  .audit-bar input { width: 100%; text-align: center; height: 2.4rem; }
  .audit-bar button { width: 100%; justify-content: center; height: 2.9rem; }
  .inline-cta { flex-direction: column; align-items: flex-start; padding: 1.4rem; }
  .inline-cta .btn-primary { width: 100%; justify-content: center; }
}
