/* Marketing v3 — refined SaaS look with audience switcher + ROI calc */

:root {
  --hero-grad-1: #2563eb;
  --hero-grad-2: #7c3aed;
  --hero-grad-3: #ec4899;
  --hero-grad-4: #06b6d4;
}
:root.dark {
  --hero-grad-1: #3b82f6;
  --hero-grad-2: #8b5cf6;
  --hero-grad-3: #f472b6;
  --hero-grad-4: #22d3ee;
}

body.mkt { background: var(--bg); }
body.mkt-v3 { overflow-x: hidden; }

/* Reset the global h3 rule from style.css (which is meant for dashboard sidebars).
   Marketing-Seite verwendet h3 für Section-Sub-Heads — daher full text, kein Uppercase. */
body.mkt h3 { text-transform: none; color: var(--text); letter-spacing: -0.01em; }

/* Swiss flag — inline SVG so it renders consistently across OS (Windows-Emoji-Set has no proper flag) */
.ch-flag { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -3px; border-radius: 3px;
  flex-shrink: 0; }

/* ============== TOPNAV ============== */
.mkt-nav { display: flex; align-items: center; gap: 32px; padding: 16px 32px; max-width: 1280px; margin: 0 auto;
  position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); z-index: 30; }
.mkt-nav .brand { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.mkt-nav .brand span { color: var(--brand); margin-left: 4px; font-weight: 500; }
.mkt-nav nav { display: flex; gap: 2px; flex: 1; margin-left: 24px; }
.mkt-nav nav a { padding: 8px 14px; border-radius: 6px; color: var(--muted); font-weight: 500; text-decoration: none; font-size: 14px; transition: color .12s, background .12s; }
.mkt-nav nav a:hover { background: var(--surface-soft); color: var(--text); }
.mkt-nav nav a.for-msp { color: var(--hero-grad-3); }
.mkt-nav-cta { display: flex; gap: 8px; align-items: center; }
.theme-toggle-mkt { background: transparent; border: 1px solid var(--border); padding: 6px; border-radius: 6px; cursor: pointer; color: var(--text); display: inline-flex; }
.theme-toggle-mkt:hover { background: var(--surface-soft); }
.theme-toggle-mkt .icon-moon { display: none; }
:root.dark .theme-toggle-mkt .icon-sun { display: none; }
:root.dark .theme-toggle-mkt .icon-moon { display: inline-block; }

/* ============== RIBBON ============== */
.ribbon { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 24px;
  background: linear-gradient(90deg, var(--hero-grad-1), var(--hero-grad-3));
  color: white; font-size: 13px; font-weight: 500; }
.ribbon-pulse { width: 8px; height: 8px; border-radius: 50%; background: white; animation: ribbonPulse 2s ease-in-out infinite; }
@keyframes ribbonPulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.ribbon strong { font-weight: 700; }

/* ============== CONTAINER ============== */
.container-mkt { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section-h { font-size: 42px; letter-spacing: -0.035em; text-align: center; margin: 0 0 12px 0; line-height: 1.08; font-weight: 800; }
.section-sub { color: var(--muted); text-align: center; font-size: 17px; max-width: 660px; margin: 0 auto 48px auto; line-height: 1.6; }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 96px 0; margin: 0; }
/* avoid doubled hairlines when two .band sections sit next to each other */
.band + .band { border-top: 0; }
/* Container-only sections (without .band) get vertical breathing-room */
section.container-mkt { padding: 96px 32px; max-width: 1180px; margin: 0 auto; }
section.container-mkt + section.container-mkt { padding-top: 0; }
.audience-band + section.container-mkt,
.band + section.container-mkt { padding-top: 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-soft);
  background: var(--bg-elev); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; margin-bottom: 24px; }
.eyebrow.inverted { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: white; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: ring 1.6s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.grad-text { background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============== HERO v3 ============== */
.hero-v3 { position: relative; padding: 80px 0 96px 0; overflow: hidden; }
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: orbFloat 18s ease-in-out infinite; }
.orb-1 { width: 480px; height: 480px; background: var(--hero-grad-1); top: -120px; right: -60px; animation-delay: 0s; }
.orb-2 { width: 420px; height: 420px; background: var(--hero-grad-3); bottom: -180px; left: -120px; animation-delay: -6s; }
.orb-3 { width: 320px; height: 320px; background: var(--hero-grad-4); top: 40%; left: 50%; animation-delay: -12s; opacity: 0.35; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }

.hero-v3 h1 { font-size: 68px; font-weight: 900; letter-spacing: -0.045em; line-height: 1.0; margin: 0 0 24px 0; }
.lede { font-size: 19px; color: var(--text-soft); line-height: 1.55; margin: 0 0 32px 0; max-width: 560px; }
.lede code { font-size: 15px; background: var(--surface-soft); padding: 1px 8px; border: 1px solid var(--border); border-radius: 4px; color: var(--text); }
.hero-cta { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
.btn.big, .btn-primary.big { padding: 14px 26px; font-size: 15px; font-weight: 600; }
.btn-ghost-arrow { background: transparent; border: 0; padding: 14px 6px; font-size: 14.5px; font-weight: 500; color: var(--text-soft); text-decoration: none; cursor: pointer; transition: color .12s; }
.btn-ghost-arrow:hover { color: var(--brand); text-decoration: none; }
.btn-ghost-arrow span { display: inline-block; transition: transform .15s; }
.btn-ghost-arrow:hover span { transform: translateX(4px); }
.hero-trust { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.hero-trust .sep { opacity: .4; }

/* Window-frame faux preview */
.hero-visual { position: relative; }
.window-frame { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 36px 80px -20px color-mix(in srgb, var(--brand) 40%, transparent),
              0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent);
  overflow: hidden; transform: rotate(-2deg) translateZ(0);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.window-frame:hover { transform: rotate(0deg) translateY(-4px); }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--surface-soft); border-bottom: 1px solid var(--border); }
.window-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.window-bar .red { background: #ef4444; }
.window-bar .yellow { background: #eab308; }
.window-bar .green { background: #22c55e; }
.window-url { margin-left: 10px; font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.window-body { padding: 0; }
.window-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.wkpi { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; border-left: 3px solid var(--border-strong); }
.wkpi.pass { border-left-color: var(--ok); }
.wkpi.warn { border-left-color: var(--warn); }
.wkpi span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.wkpi strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.window-chart { display: flex; align-items: flex-end; gap: 5px; height: 110px; padding: 0 16px 14px 16px; }
.window-chart .bar { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; min-height: 8px;
  animation: barGrow .9s cubic-bezier(.4, 0, .2, 1) backwards; }
.window-chart .bar.a { background: linear-gradient(180deg, var(--ok), color-mix(in srgb, var(--ok) 60%, white)); }
.window-chart .bar.b { background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 60%, white)); }
.window-chart .bar:nth-child(1) { animation-delay: .05s }
.window-chart .bar:nth-child(2) { animation-delay: .1s }
.window-chart .bar:nth-child(3) { animation-delay: .15s }
.window-chart .bar:nth-child(4) { animation-delay: .2s }
.window-chart .bar:nth-child(5) { animation-delay: .25s }
.window-chart .bar:nth-child(6) { animation-delay: .3s }
.window-chart .bar:nth-child(7) { animation-delay: .35s }
.window-chart .bar:nth-child(8) { animation-delay: .4s }
.window-chart .bar:nth-child(9) { animation-delay: .45s }
.window-chart .bar:nth-child(10) { animation-delay: .5s }
.window-chart .bar:nth-child(11) { animation-delay: .55s }
.window-chart .bar:nth-child(12) { animation-delay: .6s }
@keyframes barGrow { from { height: 0; } to { height: var(--h); } }

.window-row { display: flex; gap: 6px; padding: 0 16px 14px 16px; flex-wrap: wrap; }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; background: var(--surface-soft); border: 1px solid var(--border); color: var(--muted); }
.pill.brand { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.pill.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.pill.bad { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 30%, transparent); }
.advisor-flag { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: color-mix(in srgb, var(--ok) 8%, transparent); border-top: 1px solid var(--border); font-size: 13px; }
.advisor-check { color: var(--ok); font-weight: 800; font-size: 16px; }

/* Trust strip */
.trust-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 64px; padding-top: 28px; max-width: 980px; margin-left: auto; margin-right: auto;
  border-top: 1px solid var(--border); }
.trust-pill { font-size: 12.5px; color: var(--text-soft); padding: 6px 12px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 6px; font-weight: 500; }

/* ============== AUDIENCE SWITCHER ============== */
.audience-band { padding: 96px 0 64px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.audience-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 800px; margin: 0 auto 40px auto; }
.aud-tab { background: var(--bg-elev); border: 2px solid var(--border); border-radius: 14px; padding: 18px 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center;
  cursor: pointer; font: inherit; text-align: left; transition: border-color .15s, transform .12s, box-shadow .15s; }
.aud-tab:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.aud-tab.active { border-color: var(--brand); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--brand) 30%, transparent); }
.aud-tab .aud-icon { grid-row: span 2; font-size: 32px; }
.aud-tab strong { font-size: 16px; font-weight: 700; color: var(--text); display: block; }
.aud-tab .muted { display: block; }

.aud-pane { display: none; }
.aud-pane.active { display: block; animation: fadeUp .35s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.aud-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; max-width: 1100px; margin: 0 auto; }
.aud-text h3 { font-size: 26px; letter-spacing: -0.025em; margin: 0 0 16px 0; line-height: 1.2; }
.aud-text p { color: var(--text-soft); font-size: 15.5px; line-height: 1.6; margin: 0 0 20px 0; }
.aud-bullets { list-style: none; padding: 0; margin: 0 0 28px 0; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.aud-bullets li { padding-left: 26px; position: relative; }
.aud-bullets li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700; }

.visual-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 22px;
  box-shadow: 0 16px 48px -16px color-mix(in srgb, var(--brand) 25%, transparent); }
.visual-card.msp { background: linear-gradient(180deg, #0f172a, #1e1b4b); color: white; border-color: rgba(255,255,255,0.15); }
.visual-card-h { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; font-weight: 600; }
.visual-card.msp .visual-card-h { color: rgba(255,255,255,0.6); }

.advisor-list { display: grid; gap: 8px; }
.advisor-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px;
  background: var(--surface-soft); border: 1px solid var(--border); border-left-width: 3px; border-radius: 8px; font-size: 13.5px; }
.advisor-row.ok { border-left-color: var(--ok); }
.advisor-row.warn { border-left-color: var(--warn); }
.advisor-row.info { border-left-color: var(--brand); }
.advisor-row .ico { font-weight: 700; font-size: 18px; }
.advisor-row.ok .ico { color: var(--ok); }
.advisor-row.warn .ico { color: var(--warn); }
.advisor-row.info .ico { color: var(--brand); }

/* MSP customer rows */
.visual-customers { display: grid; gap: 10px; }
.cust { display: grid; grid-template-columns: 90px 1fr 50px; gap: 12px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.85); }
.cust.muted { color: rgba(255,255,255,0.4); }
.cust-name { font-weight: 500; }
.cust-bar { display: block; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.cust-bar > span { display: block; height: 100%; background: #4ade80; border-radius: 3px; transition: width .4s; }
.cust-rate { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.cust-rate.ok { color: #4ade80; }
.cust-rate.bad { color: #f87171; }

/* ============== STEPS ============== */
.steps-mkt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: transform .12s, border-color .12s; }
.step:hover { border-color: var(--brand); transform: translateY(-3px); }
.step .step-num { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2)); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin: 0 0 8px 0; font-weight: 600; letter-spacing: -0.01em; }
.step p { color: var(--muted); margin: 0; line-height: 1.6; font-size: 14px; }
.step code { font-size: 12.5px; background: var(--surface-soft); padding: 1px 6px; border: 1px solid var(--border); border-radius: 4px; }

/* ============== FEATURES (Bento) ============== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.feature { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 22px; transition: border-color .15s, transform .12s, box-shadow .15s; position: relative; overflow: hidden; }
.feature:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-ico { width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--c, var(--brand)) 16%, transparent); color: var(--c, var(--brand)); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; font-weight: 700; }
.feature h3 { font-size: 16px; margin: 0 0 6px 0; font-weight: 600; letter-spacing: -0.01em; }
.feature p { color: var(--muted); margin: 0; font-size: 13.5px; line-height: 1.55; }

/* large hero feature — col-span 2, with mockup */
.feature.feat-large { grid-column: span 2; padding: 32px; background: linear-gradient(135deg, var(--bg-elev) 0%, color-mix(in srgb, var(--brand) 6%, var(--bg-elev)) 100%); display: grid; grid-template-rows: auto auto 1fr; gap: 0; }
.feature.feat-large h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.feature.feat-large p { font-size: 15px; line-height: 1.6; max-width: 480px; margin-bottom: 24px; }

/* mini Sankey mock inside hero feature */
.sankey-mock { display: grid; grid-template-columns: 90px 1fr 90px; gap: 18px; align-items: center; margin-top: auto; padding-top: 8px; }
.sankey-mock-col { display: grid; gap: 6px; }
.sankey-mock-node { padding: 7px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 600; text-align: center; }
.sankey-mock-node.src { background: var(--surface-soft); border: 1px solid var(--border); color: var(--text); }
.sankey-mock-node.disp-pass { background: color-mix(in srgb, var(--ok) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); color: var(--ok); }
.sankey-mock-node.disp-quar { background: color-mix(in srgb, var(--warn) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); color: var(--warn); }
.sankey-mock-node.disp-fail { background: color-mix(in srgb, var(--bad) 14%, transparent); border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); color: var(--bad); }
.sankey-mock-svg { width: 100%; height: 110px; }

/* wide accent feature — col-span 3, dark with mock */
.feature.feat-wide { grid-column: span 3; padding: 32px 36px; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #4a1d63 100%); color: white; border: 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.feature.feat-wide:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -20px color-mix(in srgb, var(--hero-grad-2) 40%, transparent); }
.feature.feat-wide h3 { color: white; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.feature.feat-wide p { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.feature.feat-wide .feature-ico { background: rgba(255,255,255,0.12); color: white; }
.feature.feat-wide .feat-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,0.72); }
.feature.feat-wide .feat-meta strong { color: white; font-weight: 600; }
.feature.feat-wide .feat-meta-dot { opacity: .4; }

/* mini whitelabel mock */
.wl-mock { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 14px 16px; backdrop-filter: blur(6px); }
.wl-mock-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 12.5px; }
.wl-mock-row:last-child { border-bottom: 0; }
.wl-mock-name { color: rgba(255,255,255,0.85); font-weight: 500; }
.wl-mock-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; }
.wl-mock-logo .dot { width: 8px; height: 8px; border-radius: 50%; }
.wl-mock-row.r1 .dot { background: #60a5fa; }
.wl-mock-row.r2 .dot { background: #f472b6; }
.wl-mock-row.r3 .dot { background: #34d399; }
.wl-mock-row.r4 .dot { background: #fbbf24; }
.wl-mock-rate { font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.6); font-size: 11.5px; }

/* small inline indicator inside Advisor card */
.feat-mini-flag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); border-radius: 8px; font-size: 12.5px; color: var(--ok); font-weight: 600; margin-top: 12px; }
.feat-mini-flag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ============== ROI BAND ============== */
.roi-band { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #831843 100%); color: white; padding: 96px 0; margin: 0; position: relative; overflow: hidden; }
.roi-band::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 80% 30%, color-mix(in srgb, var(--hero-grad-3) 18%, transparent) 0%, transparent 60%),
  radial-gradient(50% 40% at 20% 70%, color-mix(in srgb, var(--hero-grad-1) 22%, transparent) 0%, transparent 60%);
  pointer-events: none; }
.roi-band > .container-mkt { position: relative; z-index: 1; }
.roi-band .section-h { color: white; }

.roi-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; max-width: 980px; margin: 0 auto; align-items: stretch; }

.roi-controls { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 14px; padding: 28px; backdrop-filter: blur(12px); display: flex; flex-direction: column; gap: 24px; }
.roi-slider { display: grid; gap: 10px; }
.roi-slider span:first-child { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }
.roi-slider output { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: white; line-height: 1; }
.roi-slider input[type="range"] { width: 100%; appearance: none; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--hero-grad-1), var(--hero-grad-3));
  outline: none; padding: 0; cursor: pointer; }
.roi-slider input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: white; border: 2px solid var(--hero-grad-3); cursor: grab; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.roi-slider input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: white; border: 2px solid var(--hero-grad-3); cursor: grab; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.roi-plan-pick { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.12); }
.roi-plan-pick .muted { color: rgba(255,255,255,0.6); }
.roi-plan-badge { padding: 6px 14px; background: rgba(255,255,255,0.12); border-radius: 999px; font-size: 13px; font-weight: 600; }

.roi-result { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 14px; padding: 28px; backdrop-filter: blur(12px); display: flex; flex-direction: column; gap: 0; }
.roi-result-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.roi-result-row:first-child { padding-top: 0; }
.roi-result-row strong { font-size: 18px; font-weight: 700; color: white; font-variant-numeric: tabular-nums; }
.roi-result-row.total { padding-top: 18px; }
.roi-result-row.total span { color: white; font-weight: 600; font-size: 14px; }
.roi-result-row.total strong { font-size: 32px; font-weight: 800; letter-spacing: -0.025em; color: #4ade80; }
.roi-result-row.total-year { border-bottom: 0; padding-bottom: 8px; }
.roi-result-row.total-year strong { font-size: 18px; }
.roi-cta { margin-top: 20px; text-align: center; }

.roi-note { text-align: center; color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 28px; }

/* ============== COMPARE TABLE ============== */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--surface-soft); font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.compare thead th:first-child { width: 40%; }
.compare thead th:nth-child(2) { background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); }
.compare tbody tr:hover { background: var(--surface-soft); }
.compare tbody td { font-size: 14px; }
.compare tbody td:first-child { color: var(--text); font-weight: 500; }
.compare tbody td:nth-child(2) { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.compare .ok { color: var(--ok); font-weight: 700; }
.compare tbody tr:last-child td { font-size: 15px; }

/* ============== PRICING ============== */
.pricing-toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 8px; margin: 0 auto 32px auto; display: flex; justify-content: center; width: fit-content; }
.pricing-toggle button { background: transparent; color: var(--muted); border: 0; padding: 8px 18px; border-radius: 6px; cursor: pointer; font-weight: 500; font-size: 14px; transition: background .12s, color .12s; }
.pricing-toggle button.active { background: var(--bg-elev); color: var(--text); box-shadow: var(--shadow); }
.save-badge { background: var(--ok); color: white; font-size: 10.5px; padding: 2px 6px; border-radius: 4px; margin-left: 4px; font-weight: 600; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; max-width: 1280px; margin: 0 auto; }
.pricing-grid-5 { grid-template-columns: repeat(5, 1fr); }
.plan { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 28px 22px; display: flex; flex-direction: column; position: relative; transition: transform .15s, border-color .15s; }
.plan:hover { border-color: var(--brand); transform: translateY(-3px); }
.plan.featured { border-color: var(--brand); border-width: 2px; box-shadow: 0 16px 48px -16px color-mix(in srgb, var(--brand) 35%, transparent); transform: translateY(-8px); }
.plan.plan-dark { background: linear-gradient(180deg, #0f172a, #1e1b4b); color: white; border-color: rgba(255,255,255,0.15); }
.plan.plan-dark .plan-name { color: rgba(255,255,255,0.65); }
.plan.plan-dark .plan-features li { color: rgba(255,255,255,0.85); }
.plan.plan-dark .plan-features li.muted { color: rgba(255,255,255,0.5); }
.plan.plan-dark .plan-bill { color: rgba(255,255,255,0.6); }
.plan.plan-dark .btn-primary { background: var(--hero-grad-3); border-color: var(--hero-grad-3); }
.plan.plan-dark .btn-primary:hover { filter: brightness(0.92); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: white; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.plan-badge.dark { background: var(--hero-grad-3); }
.plan-name { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price .amt { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price .per { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan-bill { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 22px 0; flex: 1; display: grid; gap: 9px; font-size: 13px; line-height: 1.45; }
.plan-features li.muted { color: var(--muted); }
.plan-features strong { font-weight: 600; }
.plan .btn, .plan .btn-primary { text-align: center; text-decoration: none; padding: 11px 16px; font-weight: 600; }
.pricing-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 32px; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ============== SERVICES PAGE ============== */
.hero-services { padding: 64px 0 32px 0; text-align: center; }
.services-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 48px auto 0; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; text-align: center; }
.why-num { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; }
.why-card strong { color: var(--text); }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1180px; margin: 0 auto; }
.pkg { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; transition: transform .12s, border-color .15s, box-shadow .15s; }
.pkg:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pkg.featured { border-color: var(--brand); border-width: 2px; box-shadow: 0 16px 48px -16px color-mix(in srgb, var(--brand) 35%, transparent); transform: translateY(-8px); }
.pkg.pkg-dark { background: linear-gradient(180deg, #0f172a, #1e1b4b); color: white; border-color: rgba(255,255,255,0.15); }
.pkg.pkg-dark .pkg-features li { color: rgba(255,255,255,0.85); }
.pkg.pkg-dark .pkg-bill { color: rgba(255,255,255,0.6); }
.pkg.pkg-dark .pkg-tag { color: rgba(255,255,255,0.7); }
.pkg-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: white; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.pkg-tag { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.pkg h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 8px 0; }
.pkg-price { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; margin-bottom: 4px; }
.pkg-bill { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.pkg-features { list-style: none; padding: 0; margin: 0 0 22px 0; flex: 1; display: grid; gap: 9px; font-size: 13.5px; line-height: 1.5; color: var(--text-soft); }
.pkg-features strong { color: var(--text); font-weight: 600; }
.pkg .btn, .pkg .btn-primary { text-align: center; text-decoration: none; padding: 11px 16px; font-weight: 600; }

.msp-partner-band { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); color: white; padding: 96px 0; margin: 0;
  background-image: radial-gradient(60% 50% at 80% 30%, color-mix(in srgb, var(--hero-grad-3) 18%, transparent) 0%, transparent 60%),
                    radial-gradient(50% 40% at 20% 70%, color-mix(in srgb, var(--hero-grad-1) 22%, transparent) 0%, transparent 60%),
                    linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); }
.msp-partner-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.msp-partner-grid .section-h { font-size: 38px; }
.msp-partner-quote { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 14px; padding: 28px; backdrop-filter: blur(8px); position: relative; }
.quote-icon { font-size: 80px; line-height: 1; color: var(--hero-grad-3); position: absolute; top: -10px; left: 18px; opacity: 0.4; font-family: Georgia, serif; }
.msp-partner-quote p { font-size: 16px; line-height: 1.55; font-style: italic; margin: 24px 0 18px 0; color: white; }

/* MSP-Partner-Band — Bullets and lede */
.msp-lede { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.85); margin: 0 0 24px 0; }
.msp-bullets { list-style: none; padding: 0; margin: 0 0 28px 0; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.85); }
.msp-bullets li { padding-left: 26px; position: relative; }
.msp-bullets li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #4ade80; font-weight: 800; font-size: 16px; }
.msp-bullets strong { color: white; font-weight: 600; }
.msp-partner-band .btn-primary { background: white; color: #1e1b4b; border-color: white; margin-top: 8px; }
.msp-partner-band .btn-primary:hover { background: #f8fafc; }
.quote-meta strong { display: block; color: white; font-size: 14px; }

/* Services teaser on marketing index */
.services-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1080px; margin: 32px auto 0; }
.svc-tile { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 20px; transition: border-color .15s, transform .12s; }
.svc-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.svc-tile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.svc-tile-tag { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.svc-tile-price { font-size: 14px; font-weight: 700; color: var(--brand); }
.svc-tile h4 { font-size: 16px; font-weight: 600; margin: 0 0 6px 0; }
.svc-tile p { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.5; }

/* ============== Marketing-Nav-Flyout (Tools-Dropdown) ============== */
.mkt-nav-group { position: relative; display: inline-flex; outline: none; }
.mkt-nav-trigger { padding: 8px 14px; border-radius: 6px; color: var(--muted); font-weight: 500; font-size: 14px; cursor: pointer; transition: color .12s, background .12s; user-select: none; text-decoration: none; }
.mkt-nav-trigger:hover { color: var(--text); background: var(--surface-soft); text-decoration: none; }
.mkt-nav-flyout { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 16px 48px -12px rgba(0,0,0,0.18), 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .15s, transform .15s; z-index: 50; }
.mkt-nav-group:hover .mkt-nav-flyout, .mkt-nav-group:focus-within .mkt-nav-flyout { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mkt-nav-flyout a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 8px; color: var(--text); text-decoration: none; transition: background .12s; }
.mkt-nav-flyout a:hover { background: var(--surface-soft); text-decoration: none; }
.mkt-nav-flyout a strong { font-size: 13.5px; font-weight: 600; }
.mkt-nav-flyout a span { font-size: 11.5px; color: var(--muted); line-height: 1.3; }

/* ============== SERVICE LANDING PAGES ============== */
.svc-hero { padding: 56px 0 40px 0; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 6%, var(--surface)) 0%, var(--surface) 100%); border-bottom: 1px solid var(--border); }
.svc-breadcrumb { margin: 0 0 14px 0; font-size: 13px; }
.svc-breadcrumb a { color: var(--muted); text-decoration: none; }
.svc-breadcrumb a:hover { color: var(--brand); }
.svc-h1 { font-size: 52px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin: 12px 0 18px 0; max-width: 880px; }
.svc-hero .lede { max-width: 760px; margin-bottom: 28px; }
.svc-hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.svc-hero-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed var(--border); }
.svc-hero-meta strong { color: var(--text); font-weight: 600; }
.svc-hero-meta .sep { opacity: .4; }

.svc-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.svc-pain { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 22px 22px; }
.svc-pain-ico { font-size: 28px; margin-bottom: 10px; }
.svc-pain h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px 0; letter-spacing: -0.01em; }
.svc-pain p { font-size: 13.5px; line-height: 1.55; color: var(--text-soft); margin: 0; }

.svc-phase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.svc-phase { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; position: relative; }
.svc-phase-num { position: absolute; top: -14px; left: 22px; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2)); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.svc-phase h3 { font-size: 16px; font-weight: 700; margin: 4px 0 12px 0; }
.svc-phase ul { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.7; color: var(--text-soft); }
.svc-phase ul li strong { color: var(--text); }

.svc-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.svc-comparison-cell { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; }
.svc-comparison-tool { opacity: 0.85; }
.svc-comparison-us { border-color: color-mix(in srgb, var(--ok) 35%, var(--border)); background: color-mix(in srgb, var(--ok) 4%, var(--bg-elev)); }
.svc-comparison-cell h3 { font-size: 17px; font-weight: 700; margin: 0 0 12px 0; }
.svc-comparison-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; }
.svc-comparison-list li { padding-left: 22px; position: relative; }
.svc-comparison-bad li::before { content: "—"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }
.svc-comparison-ok li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

.svc-feature-list { display: grid; gap: 14px; margin-top: 18px; }
.svc-feature-row { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; }
.svc-feature-row h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px 0; }
.svc-feature-row p { font-size: 13.5px; line-height: 1.6; color: var(--text-soft); margin: 0; }
.svc-feature-row code { font-size: 12.5px; }

.svc-combo-card { background: linear-gradient(135deg, color-mix(in srgb, var(--hero-grad-3) 10%, var(--bg-elev)), var(--bg-elev)); border: 1px solid color-mix(in srgb, var(--hero-grad-3) 25%, var(--border)); border-radius: 14px; padding: 28px 32px; margin: 18px 0; }

.svc-deep-link { display: inline-block; margin-left: 8px; font-size: 11.5px; padding: 2px 9px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: 999px; text-decoration: none; font-weight: 600; letter-spacing: 0; text-transform: none; transition: background .12s; }
.svc-deep-link:hover { background: var(--brand); color: white; text-decoration: none; }
.svc-combo-card h2 { font-size: 22px; }

/* --- Service-Page: Hero-Eyebrow-Icon, Anchor-Nav, Stats-Strip --- */
.svc-eyebrow-ico { display: inline-flex; align-items: center; gap: 6px; }
.svc-eyebrow-ico-glyph { display: inline-flex; width: 18px; height: 18px; border-radius: 5px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); align-items: center; justify-content: center; font-size: 11px; font-weight: 800; line-height: 1; }

.svc-anchor-nav { position: sticky; top: 56px; z-index: 30; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--border); margin-bottom: 0; }
.svc-anchor-nav-inner { display: flex; gap: 6px; padding: 10px 0; align-items: center; flex-wrap: wrap; font-size: 13px; }
.svc-anchor-nav-inner a { color: var(--text-soft); text-decoration: none; padding: 5px 11px; border-radius: 6px; transition: background .12s, color .12s; white-space: nowrap; }
.svc-anchor-nav-inner a:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.svc-anchor-nav-label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-right: 4px; }

.svc-stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 8px 0; }
.svc-stat { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 18px 18px; text-align: center; }
.svc-stat-num { display: block; font-size: 30px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.svc-stat-label { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* --- Out-of-Scope Block --- */
.svc-scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.svc-scope { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; }
.svc-scope-in { border-color: color-mix(in srgb, var(--ok) 35%, var(--border)); background: color-mix(in srgb, var(--ok) 4%, var(--bg-elev)); }
.svc-scope-out { opacity: 0.92; }
.svc-scope h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px 0; display: flex; align-items: center; gap: 8px; }
.svc-scope ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 13.5px; line-height: 1.5; color: var(--text-soft); }
.svc-scope ul li { padding-left: 22px; position: relative; }
.svc-scope-in ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.svc-scope-out ul li::before { content: "—"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }

/* --- Quote / Testimonial Card (single, on detail pages) --- */
.svc-quote-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 28px 32px; max-width: 760px; margin: 24px auto; position: relative; }
.svc-quote-card::before { content: "\201C"; position: absolute; top: 4px; left: 18px; font-size: 80px; line-height: 1; color: color-mix(in srgb, var(--brand) 20%, transparent); font-family: Georgia, serif; }
.svc-quote-card p { font-size: 16px; line-height: 1.65; margin: 0 0 14px 0; color: var(--text); position: relative; z-index: 1; }
.svc-quote-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.svc-quote-meta strong { color: var(--text); font-weight: 600; }
.svc-quote-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2)); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }

/* --- Related Services (cross-sell footer block) --- */
.svc-related { margin: 24px 0 4px 0; }
.svc-related h2 { font-size: 22px; font-weight: 800; margin: 0 0 14px 0; text-align: center; letter-spacing: -0.02em; }
.svc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-related-grid.svc-related-grid-4 { grid-template-columns: repeat(4, 1fr); }
.svc-related-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .12s, box-shadow .15s; }
.svc-related-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.svc-related-card-head { display: flex; align-items: center; gap: 10px; }
.svc-related-ico { width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent); color: var(--c, var(--brand)); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.svc-related-card h3 { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.25; }
.svc-related-card p { font-size: 13px; line-height: 1.55; color: var(--text-soft); margin: 0; }
.svc-related-card-arrow { font-size: 12px; color: var(--brand); font-weight: 700; margin-top: 4px; letter-spacing: .04em; }

/* --- Sticky-Bottom CTA (detail pages) --- */
.svc-sticky-cta { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 0 8px 32px -8px rgba(0,0,0,.25); display: flex; align-items: center; gap: 14px; z-index: 40; transition: transform .25s ease-out, opacity .2s; opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); }
.svc-sticky-cta.visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.svc-sticky-cta-text { font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.svc-sticky-cta .btn-primary { padding: 8px 18px; font-size: 13.5px; }

/* --- Service-Page: SVG-Diagram for DMARC Reise --- */
.svc-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; margin: 24px 0 8px 0; position: relative; }
.svc-flow-step { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 18px 18px; position: relative; text-align: center; }
.svc-flow-step + .svc-flow-step { margin-left: 8px; }
.svc-flow-step-h { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.svc-flow-step h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px 0; }
.svc-flow-step p { font-size: 12px; color: var(--muted); line-height: 1.4; margin: 0; }
.svc-flow-step .arrow { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); z-index: 2; font-weight: 700; }
.svc-flow-step:last-child .arrow { display: none; }

/* --- Service-Page: Mini-Card-Grid (used for small inline groupings) --- */
.svc-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.svc-mini { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.svc-mini-ico { font-size: 22px; margin-bottom: 4px; }
.svc-mini h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px 0; }
.svc-mini p { font-size: 12.5px; line-height: 1.5; color: var(--text-soft); margin: 0; }

@media (max-width: 980px) {
  .svc-h1 { font-size: 36px; }
  .svc-pain-grid, .svc-phase-grid, .svc-comparison { grid-template-columns: 1fr; }
  .svc-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .svc-scope-grid { grid-template-columns: 1fr; }
  .svc-related-grid, .svc-related-grid.svc-related-grid-4 { grid-template-columns: 1fr; }
  .svc-flow { grid-template-columns: 1fr; gap: 8px; }
  .svc-flow-step + .svc-flow-step { margin-left: 0; }
  .svc-flow-step .arrow { display: none; }
  .svc-mini-grid { grid-template-columns: 1fr; }
  .svc-anchor-nav { display: none; }
  .svc-sticky-cta { left: 16px; right: 16px; transform: translateY(120%); border-radius: 14px; flex-direction: column; padding: 12px; gap: 8px; max-width: none; }
  .svc-sticky-cta.visible { transform: translateY(0); }
  .svc-sticky-cta-text { white-space: normal; text-align: center; }
}

/* ============== WIKI / WISSEN ============== */
.wiki-hero { position: relative; padding: 64px 0 32px 0; overflow: hidden; }
.wiki-h1 { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; text-align: center; margin: 0 0 16px 0; }

.wiki-toc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1180px; margin: 0 auto; }
.wiki-toc-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .12s, box-shadow .15s; position: relative; }
.wiki-toc-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.wiki-toc-card.highlight { border-color: color-mix(in srgb, var(--hero-grad-3) 50%, var(--border)); background: linear-gradient(135deg, var(--bg-elev), color-mix(in srgb, var(--hero-grad-3) 5%, var(--bg-elev))); }
.wiki-toc-num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; color: var(--muted); font-weight: 700; }
.wiki-toc-card strong { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.wiki-toc-card .muted { line-height: 1.45; }

.wiki-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 64px 32px 80px 32px; max-width: 1180px; margin: 0 auto; align-items: start; }
.wiki-sidebar { position: sticky; top: 24px; align-self: start; }
.wiki-sidebar-inner { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 18px 16px; }
.wiki-sidebar-h { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; padding-left: 8px; }
.wiki-sidebar-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-size: 13.5px; color: var(--text-soft); text-decoration: none; border-radius: 6px; transition: background .12s, color .12s; line-height: 1.3; }
.wiki-sidebar-link span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; color: var(--muted); flex-shrink: 0; }
.wiki-sidebar-link:hover { background: var(--surface-soft); color: var(--text); }
.wiki-sidebar-link.active { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-weight: 600; }
.wiki-sidebar-link.active span { color: var(--brand); }
.wiki-sidebar-cta { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }

.wiki-main { min-width: 0; }

.wiki-topic { padding: 0 0 56px 0; margin-bottom: 56px; border-bottom: 1px solid var(--border); scroll-margin-top: 24px; }
.wiki-topic:last-of-type { border-bottom: 0; }
.wiki-topic-highlight { background: linear-gradient(135deg, color-mix(in srgb, var(--hero-grad-3) 4%, transparent), transparent 60%); padding: 32px 32px 56px 32px; margin: 0 -32px 56px -32px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--hero-grad-3) 18%, var(--border)); border-bottom: 1px solid color-mix(in srgb, var(--hero-grad-3) 18%, var(--border)); }

.wiki-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 999px; margin-bottom: 14px; }
.wiki-eyebrow-highlight { background: color-mix(in srgb, var(--hero-grad-3) 12%, transparent); border-color: color-mix(in srgb, var(--hero-grad-3) 35%, transparent); color: var(--hero-grad-3); }

.wiki-topic h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 14px 0; }
.wiki-topic h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin: 28px 0 12px 0; }
.wiki-topic h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px 0; }
.wiki-topic p { font-size: 15px; line-height: 1.65; color: var(--text-soft); margin: 0 0 14px 0; }
.wiki-topic p strong { color: var(--text); font-weight: 600; }
.wiki-topic code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; background: var(--surface-soft); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--border); }

.wiki-hook { font-size: 17px !important; line-height: 1.55 !important; padding: 14px 18px; background: color-mix(in srgb, var(--brand) 5%, var(--surface-soft)); border-left: 3px solid var(--brand); border-radius: 6px; margin-bottom: 24px !important; }

.wiki-analogy { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 20px 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--hero-grad-1) 6%, var(--bg-elev)), var(--bg-elev)); border: 1px solid var(--border); border-radius: 14px; margin: 18px 0 24px 0; }
.wiki-analogy-icon { font-size: 36px; line-height: 1; flex-shrink: 0; }
.wiki-analogy > div:last-child { font-size: 15px; line-height: 1.65; color: var(--text); }
.wiki-analogy strong { color: var(--text); font-weight: 700; }

.wiki-aha { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--warn) 8%, transparent), color-mix(in srgb, var(--warn) 3%, transparent)); border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); border-radius: 10px; margin: 18px 0; font-size: 14px; line-height: 1.6; }
.wiki-aha-icon { font-size: 22px; line-height: 1; flex-shrink: 0; padding-top: 1px; }
.wiki-aha strong { color: var(--text); font-weight: 700; }
.wiki-aha em { color: var(--text-soft); font-style: italic; }

.wiki-svg-wrap { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin: 18px 0 24px 0; overflow-x: auto; }
.wiki-svg { width: 100%; max-width: 100%; height: auto; display: block; }

.wiki-list { font-size: 14.5px; line-height: 1.7; color: var(--text-soft); padding-left: 22px; margin: 0 0 18px 0; }
.wiki-list li { margin-bottom: 6px; }
.wiki-list strong { color: var(--text); font-weight: 600; }
.wiki-list code { font-size: 12.5px; }

.wiki-code { font-size: 12.5px !important; padding: 14px 16px; line-height: 1.6; margin: 0 0 18px 0; word-break: break-all; white-space: pre-wrap; }

.wiki-issues { display: grid; gap: 14px; margin: 16px 0 24px 0; }
.wiki-issue { padding: 16px 18px; background: var(--bg-elev); border: 1px solid var(--border); border-left: 3px solid var(--warn); border-radius: 8px; }
.wiki-issue strong { display: block; font-size: 14.5px; color: var(--text); margin-bottom: 6px; }
.wiki-issue p { margin: 0; font-size: 13.5px; line-height: 1.6; }

/* Alignment-Diagramm (responsive HTML statt SVG) */
.wiki-align-diagram { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin: 18px 0 24px 0; }
.wiki-align-verdict { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: color-mix(in srgb, var(--bad) 10%, transparent); border: 1px solid color-mix(in srgb, var(--bad) 25%, transparent); border-radius: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.wiki-align-verdict strong { font-size: 15px; color: var(--bad); white-space: nowrap; }
.wiki-align-verdict span { font-size: 13.5px; color: var(--text); flex: 1; min-width: 220px; line-height: 1.5; }
.wiki-align-verdict code { font-size: 12.5px; background: var(--bg-elev); padding: 1px 6px; border-radius: 4px; }

.wiki-align-grid { display: grid; gap: 8px; }
.wiki-align-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; background: var(--bg-elev); border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: 8px; }
.wiki-align-row-bad { border-left-color: var(--bad); }
.wiki-align-row-ok { border-left-color: var(--ok); }
.wiki-align-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wiki-align-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wiki-align-label .muted { text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: 4px; }
.wiki-align-value { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; padding: 0; background: transparent; border: 0; color: var(--text); word-break: break-all; }
.wiki-align-judge { font-size: 12.5px; font-weight: 600; color: var(--text-soft); white-space: nowrap; }
.wiki-align-row-bad .wiki-align-judge { color: var(--bad); }
.wiki-align-row-ok .wiki-align-judge { color: var(--ok); }
.wiki-align-conclusion { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 13.5px; line-height: 1.55; color: var(--text-soft); }

@media (max-width: 740px) {
  .wiki-align-row { grid-template-columns: 1fr; gap: 8px; }
  .wiki-align-judge { white-space: normal; }
}

.wiki-policy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 24px 0; }
.wiki-policy-card { padding: 18px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; }
.wiki-policy-tag { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 600; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 10px; }
.wiki-policy-card h4 { margin-top: 0; }
.wiki-policy-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-soft); }
.wiki-policy-card p strong { color: var(--text); }

.wiki-final-cta { padding: 40px 32px; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #4a1d63 100%); border-radius: 18px; color: white; text-align: center; margin-top: 56px; position: relative; overflow: hidden; }
.wiki-final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 30%, color-mix(in srgb, var(--hero-grad-3) 22%, transparent), transparent 60%); pointer-events: none; }
.wiki-final-cta > * { position: relative; z-index: 1; }
.wiki-final-cta h2 { color: white; font-size: 28px; margin: 0 0 10px 0; font-weight: 800; letter-spacing: -0.02em; }
.wiki-final-cta > p { color: rgba(255,255,255,0.78); font-size: 15px; margin: 0 0 24px 0; }
.wiki-final-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wiki-final-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; text-decoration: none; color: white; transition: background .15s, transform .12s; backdrop-filter: blur(6px); }
.wiki-final-card:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.wiki-final-ico { font-size: 28px; line-height: 1; }
.wiki-final-card strong { font-size: 15px; }
.wiki-final-card .muted { color: rgba(255,255,255,0.7); }

@media (max-width: 980px) {
  .wiki-toc-grid { grid-template-columns: repeat(2, 1fr); }
  .wiki-layout { grid-template-columns: 1fr; gap: 24px; padding: 48px 24px; }
  .wiki-sidebar { position: relative; top: 0; }
  .wiki-sidebar-inner { display: flex; flex-wrap: wrap; gap: 4px; }
  .wiki-sidebar-h { width: 100%; padding-left: 0; }
  .wiki-sidebar-link { padding: 6px 10px; }
  .wiki-sidebar-cta { width: 100%; }
  .wiki-h1 { font-size: 38px; }
  .wiki-topic h2 { font-size: 28px; }
  .wiki-policy-cards { grid-template-columns: 1fr; }
  .wiki-final-grid { grid-template-columns: 1fr; }
  .wiki-topic-highlight { margin: 0 0 56px 0; padding: 24px; }
}
@media (max-width: 600px) {
  .wiki-toc-grid { grid-template-columns: 1fr; }
  .wiki-h1 { font-size: 30px; }
  .wiki-topic h2 { font-size: 22px; }
  .wiki-analogy { grid-template-columns: 1fr; gap: 10px; }
  .wiki-aha { grid-template-columns: 1fr; gap: 6px; }
}

/* ============== MAIL-CHECK LOADER OVERLAY ============== */
.mc-loader-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .25s ease-out; }
.mc-loader-overlay.mc-loader-visible { opacity: 1; }
.mc-loader-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 32px 80px -16px rgba(0,0,0,0.25), 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent); padding: 32px 36px; max-width: 560px; width: 100%; }
.mc-loader-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.mc-loader-spinner { flex-shrink: 0; }
.mc-loader-spinner svg { display: block; }
.mc-loader-spinner-arc { transform-origin: 25px 25px; animation: mcSpin 1s linear infinite; }
@keyframes mcSpin { to { transform: rotate(360deg); } }
.mc-loader-eyebrow { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mc-loader-title { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin-top: 2px; }
.mc-loader-title code { font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); padding: 1px 8px; border-radius: 4px; font-size: 16px; }
.mc-loader-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.mc-loader-phases { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mc-loader-phase { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; transition: background .15s, opacity .2s; opacity: 0.45; }
.mc-loader-phase-ico { font-size: 18px; line-height: 1; }
.mc-loader-phase-text strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.mc-loader-phase-text .muted { display: block; font-size: 12px; margin-top: 1px; line-height: 1.4; }
.mc-loader-phase-status { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; border: 2px solid var(--border); background: var(--surface-soft); transition: background .2s, border-color .2s, color .2s; }

.mc-loader-phase-active { opacity: 1; background: color-mix(in srgb, var(--brand) 6%, transparent); }
.mc-loader-phase-active .mc-loader-phase-status { border-color: var(--brand); background: var(--bg-elev); position: relative; }
.mc-loader-phase-active .mc-loader-phase-status::after { content: ""; position: absolute; inset: 2px; border: 2px solid var(--brand); border-top-color: transparent; border-radius: 50%; animation: mcSpin .9s linear infinite; }

.mc-loader-phase-done { opacity: 0.85; }
.mc-loader-phase-done .mc-loader-phase-status { background: color-mix(in srgb, var(--ok) 14%, transparent); border-color: var(--ok); color: var(--ok); }
.mc-loader-phase-done .mc-loader-phase-status::before { content: "✓"; font-weight: 800; font-size: 14px; }

.mc-loader-foot { text-align: center; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--border); }

@media (max-width: 600px) {
  .mc-loader-card { padding: 22px 22px; }
  .mc-loader-head { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .mc-loader-spinner { margin: 0 auto; }
  .mc-loader-title code { font-size: 14px; }
}

/* ============== DOMAIN CHECK BAND (Marketing-Hero) ============== */
.domain-check-band { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 6%, var(--surface)) 0%, var(--surface) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; position: relative; overflow: hidden; }
.domain-check-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 80% 50%, color-mix(in srgb, var(--hero-grad-3) 10%, transparent), transparent 60%); pointer-events: none; }
.domain-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.domain-check-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }
.domain-check-bullets li { padding-left: 0; }
.domain-check-bullets strong { color: var(--text); font-weight: 600; }

.domain-check-form-wrap { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: 0 32px 80px -24px color-mix(in srgb, var(--brand) 35%, transparent), 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent); }
.domain-check-form-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.domain-check-form-inner { display: flex; gap: 8px; padding: 6px; background: var(--surface-soft); border: 2px solid var(--border); border-radius: 12px; transition: border-color .15s; }
.domain-check-form-inner:focus-within { border-color: var(--brand); }
.domain-check-form-inner input { flex: 1; padding: 12px 14px; font-size: 15px; border: 0; background: transparent; outline: none; font-family: inherit; color: var(--text); }
.domain-check-form-inner button { white-space: nowrap; }

.domain-check-quick { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.domain-check-quick a { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; padding: 3px 9px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 5px; color: var(--text-soft); text-decoration: none; transition: border-color .12s, color .12s; }
.domain-check-quick a:hover { border-color: var(--brand); color: var(--brand); }

.domain-check-mock { margin-top: 18px; padding: 14px 16px; background: var(--surface-soft); border: 1px dashed var(--border); border-radius: 10px; font-size: 12.5px; }
.dcm-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.dcm-row:last-of-type { border-bottom: 0; }
.dcm-name { font-weight: 600; color: var(--text); font-size: 12.5px; }
.dcm-status { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; padding: 2px 8px; border-radius: 4px; font-weight: 500; }
.dcm-row-ok .dcm-status { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.dcm-row-warn .dcm-status { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.dcm-row-fail .dcm-status { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.dcm-grade { display: flex; align-items: center; gap: 12px; padding: 12px 0 4px 0; margin-top: 8px; border-top: 1px solid var(--border); }
.dcm-grade-letter { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; color: white; flex-shrink: 0; }
.dcm-grade-b .dcm-grade-letter { background: linear-gradient(135deg, #16a34a, #65a30d); }
.dcm-grade-label { font-size: 12.5px; color: var(--text-soft); font-weight: 500; }

/* ============== MAIL HEALTH CHECK ============== */
.check-hero { position: relative; padding: 80px 0 48px 0; overflow: hidden; }
.check-hero-compact { padding: 40px 0 24px 0; }
.check-h1 { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; text-align: center; margin: 0 0 18px 0; }
.check-form { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.check-form-inner { display: flex; gap: 8px; padding: 8px; background: var(--bg-elev); border: 2px solid var(--border); border-radius: 14px; box-shadow: 0 16px 48px -16px color-mix(in srgb, var(--brand) 25%, transparent); transition: border-color .15s, box-shadow .15s; }
.check-form-inner:focus-within { border-color: var(--brand); box-shadow: 0 16px 48px -8px color-mix(in srgb, var(--brand) 35%, transparent); }
.check-form-inner input { flex: 1; padding: 14px 18px; font-size: 16px; border: 0; background: transparent; outline: none; font-family: inherit; color: var(--text); }
.check-form-inner button { white-space: nowrap; }
.check-form-hint { text-align: center; margin-top: 12px; }

.check-result { padding: 16px 0 80px 0; }
.check-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.check-domain { font-size: 32px; font-weight: 800; letter-spacing: -0.025em; margin: 4px 0 0 0; line-height: 1; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.check-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.check-actions .btn { white-space: nowrap; }

/* Score hero */
.score-hero { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding: 36px 40px; border-radius: 18px; color: white; margin-bottom: 36px; position: relative; overflow: hidden; }
.score-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 30% 30%, rgba(255,255,255,0.18), transparent 60%), radial-gradient(50% 40% at 80% 70%, rgba(255,255,255,0.12), transparent 60%); pointer-events: none; }
.score-grade-a { background: linear-gradient(135deg, #16a34a 0%, #059669 100%); }
.score-grade-b { background: linear-gradient(135deg, #16a34a 0%, #65a30d 100%); }
.score-grade-c { background: linear-gradient(135deg, #d97706 0%, #ca8a04 100%); }
.score-grade-d { background: linear-gradient(135deg, #dc2626 0%, #d97706 100%); }
.score-grade-f { background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%); }
.score-circle { position: relative; width: 160px; height: 160px; flex-shrink: 0; }
.score-circle svg { display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); }
.score-circle-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-grade { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.score-num { font-size: 13px; font-weight: 600; opacity: 0.85; margin-top: 2px; }
.score-num span { opacity: 0.6; }
.score-meta { position: relative; z-index: 1; }
.score-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: 0.85; margin-bottom: 6px; }
.score-meta h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 14px 0; line-height: 1.2; color: white; }
.score-actions { list-style: none; padding: 0; margin: 0 0 18px 0; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.5; }
.score-actions li { padding-left: 22px; position: relative; }
.score-actions li::before { content: "→"; position: absolute; left: 0; top: 0; opacity: 0.85; font-weight: 700; }
.score-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-on-dark { background: rgba(255,255,255,0.18); color: white; border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-on-dark:hover { background: rgba(255,255,255,0.28); }

/* Check cards grid */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 36px; }
.check-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; border-left: 4px solid var(--border); transition: transform .12s, box-shadow .15s; }
.check-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.check-card.check-status-ok { border-left-color: var(--ok); }
.check-card.check-status-warn { border-left-color: var(--warn); }
.check-card.check-status-fail { border-left-color: var(--bad); }
.check-card.check-status-info { border-left-color: var(--brand); opacity: 0.92; }
.check-card-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-bottom: 12px; }
.check-card-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--surface-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.check-card-tag { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.check-card h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin: 2px 0 0 0; line-height: 1.25; }
.check-status-pill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: .04em; }
.check-status-pill.check-status-ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.check-status-pill.check-status-warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.check-status-pill.check-status-fail { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.check-status-pill.check-status-info { background: var(--surface-soft); color: var(--muted); }
.check-card-sum { font-size: 13.5px; line-height: 1.55; color: var(--text-soft); margin: 4px 0 10px 0; }
.check-card-sum.check-success { color: var(--ok); font-weight: 600; }
.check-card-sum strong { color: var(--text); }
.check-card .cat-badge { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 6px; vertical-align: middle; font-weight: 600; }
.cat-cloud { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.cat-selfhost { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.cat-marketing { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.cat-small { background: var(--surface-soft); color: var(--muted); }

.check-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 8px; }
.check-table th { text-align: left; padding: 6px 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; border-bottom: 1px solid var(--border); }
.check-table td { padding: 6px 10px; border-bottom: 1px solid var(--border); }
.check-table tr:last-child td { border-bottom: 0; }

.check-raw { margin-top: 8px; }
.check-raw summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.check-raw summary:hover { color: var(--text); }
.check-raw pre.code { font-size: 11.5px; padding: 10px 12px; margin-top: 6px; word-break: break-all; white-space: pre-wrap; }

.check-issues { margin: 8px 0 0 0; padding-left: 22px; font-size: 13px; color: var(--warn); display: grid; gap: 4px; }
.check-issues li { line-height: 1.5; }

.dkim-selectors { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dkim-pill { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; padding: 4px 10px; background: color-mix(in srgb, var(--brand) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); color: var(--brand); border-radius: 6px; font-weight: 500; }

.check-fix-link { display: inline-block; margin-top: 8px; color: var(--brand); font-weight: 600; text-decoration: none; font-size: 14px; }
.check-fix-link:hover { text-decoration: underline; }

.check-wiki-link { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-soft); border: 1px solid var(--border); color: var(--muted); font-size: 10px; font-weight: 700; text-decoration: none; margin-left: 6px; vertical-align: middle; transition: background .12s, color .12s, border-color .12s; }
.check-wiki-link:hover { background: var(--brand); color: white; border-color: var(--brand); }

/* Big CTA after results */
.check-cta-block { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #4a1d63 100%); color: white; border-radius: 18px; padding: 48px 40px; text-align: center; position: relative; overflow: hidden; margin-top: 24px; }
.check-cta-block::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 30%, color-mix(in srgb, var(--hero-grad-3) 22%, transparent), transparent 60%); pointer-events: none; }
.check-cta-block > * { position: relative; z-index: 1; }
.check-cta-block h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 12px 0; color: white; }
.check-cta-block p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto 24px; }
.check-cta-block .btn { background: rgba(255,255,255,0.14); color: white; border-color: rgba(255,255,255,0.35); }
.check-cta-block .btn:hover { background: rgba(255,255,255,0.24); }
.check-cta-block .btn-primary { background: white; color: #1e1b4b; border-color: white; }
.check-cta-block .btn-primary:hover { background: #f8fafc; }

/* Explainer when no result yet */
.check-explain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; margin: 32px auto 0; }
.check-explain { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; text-align: center; }
.check-explain-ico { font-size: 28px; margin-bottom: 10px; }
.check-explain h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px 0; }
.check-explain p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.check-quick-examples { text-align: center; margin: 32px 0 0 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; align-items: center; }
.check-example-pill { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; padding: 5px 12px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 6px; color: var(--text-soft); text-decoration: none; transition: border-color .12s, color .12s; }
.check-example-pill:hover { border-color: var(--brand); color: var(--brand); }

/* ============== CAPABILITY MAP ============== */
.svc-cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; }
.svc-cap { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: border-color .15s, transform .12s, box-shadow .15s; display: flex; flex-direction: column; }
.svc-cap:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-cap-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 14px; }
.svc-cap-icon { width: 56px; height: 56px; border-radius: 14px; background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent); color: var(--c, var(--brand)); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; flex-shrink: 0; }
.svc-cap-tag { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.svc-cap h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.2; }
.svc-cap > p { color: var(--text-soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px 0; }
.svc-cap-list { list-style: none; padding: 0; margin: 0 0 22px 0; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.55; color: var(--text-soft); }
.svc-cap-list li { padding-left: 22px; position: relative; }
.svc-cap-list li::before { content: "▸"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700; }
.svc-cap-list strong { color: var(--text); font-weight: 600; }
.svc-stack { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--border); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.svc-stack-label { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.svc-stack-pill { font-size: 12px; padding: 4px 10px; border-radius: 6px; background: var(--surface-soft); border: 1px solid var(--border); color: var(--text-soft); font-weight: 500; font-family: 'JetBrains Mono', ui-monospace, monospace; }

.svc-subhead { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 10px 0; padding-top: 16px; border-top: 1px dashed var(--border); }

/* Featured capability card (z.B. M365 EOP) — col-span 2 with blueprint section */
.svc-cap-featured { grid-column: span 2; position: relative; border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); background: linear-gradient(135deg, var(--bg-elev) 0%, color-mix(in srgb, var(--brand) 4%, var(--bg-elev)) 100%); box-shadow: 0 16px 48px -16px color-mix(in srgb, var(--brand) 25%, transparent); }
.svc-cap-pin { position: absolute; top: -12px; left: 24px; background: var(--brand); color: white; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

/* Best-Practice Blueprint */
.svc-blueprint { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin: 12px 0 18px 0; }
.svc-blueprint-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--border); flex-wrap: wrap; }
.svc-blueprint-h strong { display: block; font-size: 13.5px; font-weight: 700; font-family: 'JetBrains Mono', ui-monospace, monospace; line-height: 1.5; }
.svc-blueprint-h .muted { display: block; margin-top: 4px; line-height: 1.45; max-width: 460px; }
.svc-blueprint-tools { display: flex; flex-wrap: wrap; gap: 6px; flex-shrink: 0; }
.svc-blueprint-pill { font-size: 11.5px; padding: 4px 10px; border-radius: 6px; background: color-mix(in srgb, var(--brand) 12%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); color: var(--brand); font-weight: 600; }
.svc-blueprint-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.svc-blueprint-tile { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 14px 14px; display: flex; flex-direction: column; gap: 4px; transition: border-color .12s, transform .12s; }
.svc-blueprint-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.svc-blueprint-tile-ico { width: 32px; height: 32px; border-radius: 8px; background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent); color: var(--c, var(--brand)); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 6px; }
.svc-blueprint-tile strong { font-size: 13px; font-weight: 700; }
.svc-blueprint-tile .muted { font-size: 11.5px; line-height: 1.45; }

@media (max-width: 980px) {
  .svc-cap-featured { grid-column: span 1; }
  .svc-blueprint-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-blueprint-head { flex-direction: column; gap: 10px; }
}
@media (max-width: 600px) {
  .svc-blueprint-grid { grid-template-columns: 1fr; }
}

/* ============== ENGAGEMENT MODELS ============== */
.engage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1180px; margin: 0 auto; }
.engage-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; display: flex; flex-direction: column; position: relative; transition: border-color .15s, transform .12s, box-shadow .15s; }
.engage-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.engage-card.featured { border-color: var(--brand); border-width: 2px; box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--brand) 30%, transparent); }
.engage-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: white; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.engage-icon { width: 42px; height: 42px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 12%, transparent); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.engage-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 6px 0; }
.engage-price { font-size: 16px; font-weight: 700; color: var(--brand); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.engage-card p { color: var(--text-soft); font-size: 13.5px; line-height: 1.55; margin: 0 0 14px 0; }
.engage-list { list-style: none; padding: 0; margin: 0 0 18px 0; display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); flex: 1; }
.engage-list li { padding-left: 18px; position: relative; }
.engage-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 700; }
.engage-card .btn, .engage-card .btn-primary { text-align: center; text-decoration: none; padding: 10px 14px; font-size: 13px; font-weight: 600; }

/* ============== TECH STACK STRIP ============== */
.tech-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.tech-cat { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; }
.tech-cat h4 { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px 0; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-pill { font-size: 12.5px; padding: 5px 11px; border-radius: 6px; background: var(--surface-soft); border: 1px solid var(--border); color: var(--text-soft); font-weight: 500; transition: border-color .12s, background .12s; }
.tech-pill:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); color: var(--text); }

/* ============== PROCESS PHASES ============== */
.process-phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1100px; margin: 0 auto; position: relative; }
.process-phases::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--hero-grad-1), var(--hero-grad-3)); opacity: 0.3; z-index: 0; }
.process-phase { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 22px 18px; text-align: center; position: relative; z-index: 1; transition: border-color .15s, transform .12s; }
.process-phase:hover { border-color: var(--brand); transform: translateY(-2px); }
.process-num { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2)); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 12px; box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--brand) 40%, transparent); }
.process-phase h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px 0; }
.process-phase p { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0; }

/* ============== PDF REPORT SHOWCASE ============== */
.report-show { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; max-width: 1100px; margin: 0 auto; }
.report-show-mock { perspective: 1200px; }
.rep-mock { background: white; border: 1px solid #e5e7eb; border-radius: 8px; padding: 32px 28px; box-shadow: 0 32px 64px -16px rgba(15,23,42,0.18), 0 0 0 1px color-mix(in srgb, var(--brand) 6%, transparent);
  transform: rotateY(-6deg) rotateX(2deg) translateZ(0); transform-origin: 70% 50%;
  transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.rep-mock:hover { transform: rotateY(0) rotateX(0); }
:root.dark .rep-mock { background: #fafbfd; color: #1f2937; }
.rep-mock-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 14px; border-bottom: 3px solid var(--brand); margin-bottom: 18px; }
.rep-mock-brand { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; color: #1f2937; }
.rep-mock-brand span { color: var(--brand); }
.rep-mock-meta { text-align: right; font-size: 10px; color: #9ca3af; line-height: 1.5; }
.rep-mock-meta strong { color: #1f2937; font-size: 11px; display: block; }
.rep-mock-title { font-size: 22px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.rep-mock-period { font-size: 11px; color: #9ca3af; margin-bottom: 14px; }
.rep-mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.rep-mock-kpi { background: #fafbfd; border: 1px solid #e5e7eb; border-radius: 6px; padding: 8px 10px; border-left: 2px solid #d1d5db; }
.rep-mock-kpi.pass { border-left-color: #16a34a; }
.rep-mock-kpi.fail { border-left-color: #dc2626; }
.rep-mock-kpi.warn { border-left-color: #d97706; }
.rep-mock-kpi span { display: block; font-size: 8px; text-transform: uppercase; color: #9ca3af; font-weight: 600; letter-spacing: .04em; }
.rep-mock-kpi strong { display: block; font-size: 14px; font-weight: 700; color: #1f2937; }
.rep-mock-bars { display: flex; align-items: flex-end; gap: 3px; height: 60px; padding: 8px 0 12px; border-bottom: 1px solid #f1f5f9; margin-bottom: 14px; }
.rep-mock-bars > div { flex: 1; height: var(--h); background: linear-gradient(180deg, #16a34a, #4ade80); border-radius: 1px 1px 0 0; min-height: 4px; }
.rep-mock-bars > div:nth-child(even) { background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 60%, white)); }
.rep-mock-adv { background: #ecfdf5; border-left: 3px solid #16a34a; padding: 10px 12px; border-radius: 4px; font-size: 11px; color: #1f2937; }
.rep-mock-adv.ok { color: #166534; }
.report-show-text h3 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 18px 0; line-height: 1.2; font-weight: 700; }
.report-bullets { list-style: none; padding: 0; margin: 0 0 24px 0; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.55; }
.report-bullets li { padding-left: 28px; position: relative; color: var(--text-soft); }
.report-bullets li::before { content: "📄"; position: absolute; left: 0; top: 0; }
.report-bullets li strong { color: var(--text); }

/* ============== COMPLIANCE ============== */
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.comp-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: border-color .15s, transform .12s, box-shadow .15s; position: relative; }
.comp-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.comp-badge { position: absolute; top: 16px; right: 16px; background: var(--surface-soft); border: 1px solid var(--border); color: var(--muted); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.comp-card h3 { font-size: 17px; margin: 0 0 8px 0; font-weight: 700; letter-spacing: -0.01em; max-width: calc(100% - 70px); }
.comp-card p { color: var(--muted); margin: 0 0 14px 0; font-size: 13.5px; line-height: 1.55; }
.comp-card em { color: var(--text-soft); }
.comp-link { color: var(--brand); font-size: 13px; font-weight: 600; text-decoration: none; }
.comp-link:hover { text-decoration: underline; }
.comp-cta { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Compliance detail page */
.hero-compliance { padding: 64px 0 48px 0; }
.hero-compliance h1 { font-size: 56px; }
.active-mkt { color: var(--brand) !important; background: var(--primary-soft); }
.comp-toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 1100px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.comp-toc a { padding: 10px 14px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: 13.5px; text-decoration: none;
  display: flex; justify-content: space-between; align-items: center; transition: background .12s; }
.comp-toc a:hover { background: var(--surface-soft); }
.comp-section { padding: 64px 32px; max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--border); }
.comp-section:first-of-type { border-top: 0; }
.comp-section-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.comp-section-head h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0; line-height: 1.25; font-weight: 700; }
.comp-section-head h2 .muted { font-weight: 400; color: var(--muted); font-size: 22px; }
.comp-section-head .comp-badge { position: static; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.comp-lede { color: var(--text-soft); font-size: 16px; line-height: 1.65; max-width: 880px; margin: 0 0 24px 0; }
.comp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.comp-half { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.comp-half h4 { font-size: 14px; margin: 0 0 12px 0; font-weight: 700; color: var(--text); }
.comp-half ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.55; }
.comp-half ul li { padding-left: 20px; position: relative; color: var(--text-soft); }
.comp-half ul li::before { content: "•"; position: absolute; left: 4px; top: 0; color: var(--muted); font-weight: 700; }
.comp-half ul li strong { color: var(--text); }
.comp-todo { background: color-mix(in srgb, var(--warn) 8%, transparent); border-left: 3px solid var(--warn); padding: 14px 18px;
  border-radius: 8px; font-size: 13.5px; line-height: 1.55; color: var(--text); }
.comp-todo strong { color: var(--text); }

@media (max-width: 980px) {
  .comp-toc { grid-template-columns: repeat(2, 1fr); }
  .comp-split { grid-template-columns: 1fr; }
  .hero-compliance h1 { font-size: 36px; }
  .comp-section-head h2 { font-size: 22px; }
  .comp-section-head h2 .muted { font-size: 18px; }
}
@media (max-width: 600px) {
  .comp-toc { grid-template-columns: 1fr; }
}

/* ============== SECURITY ============== */
/* trust-section now uses default container-mkt padding */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.sec-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 22px; transition: border-color .12s; }
.sec-card:hover { border-color: var(--brand); }
.sec-card h4 { font-size: 14px; margin: 0 0 8px 0; font-weight: 600; }
.sec-card p { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.55; }

/* ============== FAQ ============== */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; transition: border-color .12s; }
.faq details:hover { border-color: var(--border-strong); }
.faq details > summary { cursor: pointer; font-weight: 600; padding: 4px 0; font-size: 15px; list-style: none; position: relative; padding-right: 28px; }
.faq details > summary::-webkit-details-marker { display: none; }
.faq details > summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 22px; font-weight: 300; transition: transform .12s; }
.faq details[open] > summary::after { content: "−"; }
.faq details[open] > summary { margin-bottom: 8px; }
.faq details p { color: var(--text-soft); margin: 0; line-height: 1.65; font-size: 14.5px; }

/* ============== CTA BAND ============== */
.cta-band { background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2)); color: white; padding: 96px 0; margin-top: 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 30%, rgba(255,255,255,0.15) 0%, transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: 56px; letter-spacing: -0.04em; margin: 0 0 14px 0; line-height: 1.0; font-weight: 900; }
.cta-band p { font-size: 18px; opacity: 0.92; margin: 0 0 32px 0; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: white; color: var(--hero-grad-1); border-color: white; }
.cta-band .btn-primary:hover { background: #f8fafc; }
.cta-band .btn { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.cta-band .btn:hover { background: rgba(255,255,255,0.1); }

/* ============== STICKY ============== */
.sticky-cta { position: fixed; bottom: 24px; right: 24px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 32px -8px color-mix(in srgb, var(--brand) 30%, transparent); z-index: 50; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.sticky-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta .btn-primary { padding: 8px 18px; border-radius: 999px; font-size: 13px; }

/* ============== FOOTER ============== */
.mkt-footer { background: var(--surface); padding: 56px 0 32px 0; border-top: 1px solid var(--border); margin-top: 0; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-cols h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 14px 0; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-cols ul a { color: var(--text-soft); text-decoration: none; }
.footer-cols ul a:hover { color: var(--brand); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .pricing-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-v3 h1 { font-size: 44px; }
  .audience-tabs { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-mkt { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature.feat-large { grid-column: span 2; }
  .feature.feat-wide { grid-column: span 2; grid-template-columns: 1fr; gap: 22px; padding: 28px; }
  .roi-grid { grid-template-columns: 1fr; gap: 24px; }
  .pricing-grid, .pricing-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: translateY(0); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section-h { font-size: 32px; }
  .cta-band h2 { font-size: 38px; }
  .compare { min-width: 580px; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: 1fr; }
  .ribbon { font-size: 12px; padding: 8px 14px; text-align: center; }
  .report-show { grid-template-columns: 1fr; gap: 36px; }
  .rep-mock { transform: none; }
  .services-why { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .pkg.featured { transform: translateY(0); }
  .msp-partner-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-teaser { grid-template-columns: 1fr; }
  .svc-cap-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-strip { grid-template-columns: 1fr; }
  .process-phases { grid-template-columns: repeat(2, 1fr); }
  .process-phases::before { display: none; }
  .domain-check-grid { grid-template-columns: 1fr; gap: 36px; }
  .check-grid { grid-template-columns: 1fr; }
  .score-hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 28px; text-align: center; }
  .score-circle { margin: 0 auto; }
  .score-actions { text-align: left; }
  .score-cta { justify-content: center; }
  .check-h1 { font-size: 38px; }
  .check-explain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid, .pricing-grid-5 { grid-template-columns: 1fr; }
  .mkt-nav nav { display: none; }
  .mkt-nav { gap: 12px; padding: 14px 16px; }
  .container-mkt { padding: 0 18px; }
  .hero-v3 { padding: 48px 0 64px 0; }
  .hero-v3 h1 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature.feat-large, .feature.feat-wide { grid-column: span 1; }
  .feature.feat-large .sankey-mock { grid-template-columns: 70px 1fr 70px; gap: 10px; }
  .security-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .process-phases { grid-template-columns: 1fr; gap: 10px; }
  .svc-cap { padding: 24px; }
  .svc-cap-head { gap: 14px; }
  .check-explain-grid { grid-template-columns: 1fr; }
  .check-form-inner { flex-direction: column; }
  .check-form-inner button { width: 100%; padding: 12px; }
  .check-h1 { font-size: 32px; }
  .check-domain { font-size: 22px; }
  .sticky-cta { bottom: 12px; right: 12px; }
  .cta-band h2 { font-size: 30px; }
  .roi-result-row.total strong { font-size: 26px; }
}
