/* ==========================================================================
   Scheetz Consulting Group — design system
   Palette, type and motion carried over from the original site.
   Tweak the tokens in :root and every page follows.
   ========================================================================== */

:root {
  /* brand */
  --accent:        #38B6FF;
  --accent-soft:   rgba(56, 182, 255, 0.10);
  --accent-line:   rgba(56, 182, 255, 0.30);
  --accent-deep:   #0369A1;

  /* neutrals */
  --bg:            #191919;
  --surface:       #111111;
  --surface-2:     #1A1A1A;
  --border:        #252525;
  --border-soft:   rgba(255, 255, 255, 0.07);

  /* text */
  --fg:            #FFFFFF;
  --muted:         #ABABAB;
  --muted-2:       #888888;
  --faint:         #555555;

  /* accents */
  --good:          #4ADE80;
  --gold:          #F59E0B;
  --red:           #DC2626;

  /* type */
  --font-h:        'Poppins', system-ui, -apple-system, Arial, sans-serif;
  --font-b:        'Open Sans', system-ui, -apple-system, Arial, sans-serif;

  /* shape */
  --radius:        14px;
  --radius-sm:     10px;
  --radius-lg:     20px;

  --nav-h:         78px;
  --maxw:          1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--accent); text-decoration: none; }
button { font: inherit; cursor: pointer; }

[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── Animated neural background ─────────────────────────────────────────── */
#scg-bg-canvas {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: -2; display: block; pointer-events: none;
}
#scg-bg-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, transparent 40%, rgba(25,25,25,0.5) 100%);
}

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
/* Sections are opaque: the fixed neural canvas is revealed only by the hero,
   the single transparent region on the page. Keeps body copy fully legible. */
.section { padding: 5.5rem 0; position: relative; background: var(--bg); }
.section-sm { padding: 3.5rem 0; }
.section-tint { background: #141414; border-block: 1px solid var(--border); }

.eyebrow {
  font-family: var(--font-b);
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .7rem;
}
.eyebrow.center, .center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; line-height: 1.2; }

.h2 {
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 700; line-height: 1.24; margin-bottom: .85rem;
}
.h2 span, .accent { color: var(--accent); }

.lede {
  font-size: 15.5px; color: var(--muted); line-height: 1.8;
  max-width: 620px;
}
.lede.center { margin-inline: auto; }

.section-head { margin-bottom: 3rem; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-h); font-size: 15px; font-weight: 600;
  padding: 13px 30px; border-radius: var(--radius-sm);
  border: 1px solid transparent;
  /* Long labels wrap rather than forcing the page wider on small screens. */
  white-space: normal; text-align: center; max-width: 100%;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: #191919; }
.btn-primary:hover {
  background: #FFFFFF; color: #191919;
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(56,182,255,0.3);
}
.btn-ghost { background: transparent; color: var(--fg); border-color: #333; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.cta-note { font-size: 13px; color: var(--muted-2); margin-top: 1rem; }

/* ── Header / nav ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(25,25,25,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
  height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
/* Two-line wordmark: needs more height than the old hexagon lockup. */
.nav-logo img { height: 54px; width: auto; }

.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-link {
  font-family: var(--font-h); font-size: 14px; font-weight: 500;
  color: #EEF2F6; padding: 8px 14px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: #2A2A2A; color: var(--accent); }
.nav-link[aria-current="page"] { color: var(--accent); }

/* dropdown */
.nav-item { position: relative; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; color: #EEF2F6;
  font-family: var(--font-h); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
}
.nav-toggle:hover, .nav-item[data-open="true"] .nav-toggle { background: #2A2A2A; color: var(--accent); }
.nav-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-item[data-open="true"] .nav-toggle svg { transform: rotate(180deg); }

.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  background: #141414; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  display: none; flex-direction: column;
}
.nav-item[data-open="true"] .nav-menu { display: flex; }
.nav-menu a {
  font-family: var(--font-h); font-size: 14px; font-weight: 500;
  color: #EEF2F6; padding: 9px 12px; border-radius: 7px;
  display: flex; justify-content: space-between; gap: 1rem;
}
.nav-menu a:hover { background: #232323; color: var(--accent); }
.nav-menu a span { color: var(--muted-2); font-size: 12px; }

.nav-cta { margin-left: .5rem; }

.nav-burger {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 10px; color: var(--fg);
}
.nav-burger svg { width: 20px; height: 20px; display: block; }

.nav-mobile {
  display: none; border-top: 1px solid var(--border);
  background: rgba(20,20,20,0.98); padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile[data-open="true"] { display: block; }
.nav-mobile a {
  display: block; font-family: var(--font-h); font-size: 15px; font-weight: 500;
  color: #EEF2F6; padding: 11px 0; border-bottom: 1px solid var(--border);
}
.nav-mobile a.sub { padding-left: 1rem; font-size: 14px; color: var(--muted); }
.nav-mobile .btn { margin-top: 1.25rem; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: min(88vh, 780px);
  display: flex; align-items: center; padding: 5rem 0;
  background: transparent;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to right,
    rgba(25,25,25,0.92) 0%, rgba(25,25,25,0.65) 38%,
    rgba(25,25,25,0.08) 65%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: 99px;
  padding: 6px 14px; margin-bottom: 1.75rem;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(56,182,255,.7); animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(56,182,255,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(56,182,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,182,255,0); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -.01em;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.02rem; color: rgba(255,255,255,0.65);
  line-height: 1.7; max-width: 520px; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.fade-up { opacity: 0; transform: translateY(16px); animation: scgFadeUp .9s ease forwards; }
.d1 { animation-delay: .15s } .d2 { animation-delay: .35s }
.d3 { animation-delay: .55s } .d4 { animation-delay: .75s }
@keyframes scgFadeUp { to { opacity: 1; transform: none; } }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: #3A3A3A; transform: translateY(-3px); }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 1.1rem;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: .55rem; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
/* Grid children must be allowed to shrink below their min-content width,
   otherwise a wide child forces the track past the container. */
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

/* ── Service rows (services page + home) ────────────────────────────────── */
.svc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  min-width: 0;
}
.svc > * { min-width: 0; }
@media (min-width: 900px) { .svc { grid-template-columns: 1.15fr 1fr; gap: 2.5rem; } }
.svc-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: 99px;
  padding: 4px 12px; margin-bottom: 1rem;
}
.svc h3 { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: .75rem; }
.svc-sub { font-size: 15px; color: var(--accent); margin-bottom: 1rem; font-weight: 500; }
.svc p { font-size: 14.5px; color: var(--muted); line-height: 1.8; margin-bottom: .9rem; }
.svc-panel {
  background: rgba(0,0,0,0.35); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.4rem;
}
.svc-panel h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}

/* ── Check lists ────────────────────────────────────────────────────────── */
.checks { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.checks li {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: 14px; color: #D8DEE4; line-height: 1.6;
}
.checks li::before {
  content: ''; flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px;
  border-radius: 50%; background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338B6FF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 11px;
}

/* ── Stats ──────────────────────────────────────────────────────────────── */
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.stat-num {
  font-family: var(--font-h); font-size: clamp(26px, 4vw, 36px);
  font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: .5rem;
}
.stat-label { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── Timeline (a day / week after go-live) ──────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.tl-item {
  display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem;
  padding: 1.5rem 0; border-top: 1px solid var(--border);
}
.tl-item:last-child { border-bottom: 1px solid var(--border); }
.tl-time {
  font-family: var(--font-h); font-size: 13px; font-weight: 700;
  color: var(--accent); letter-spacing: .04em; padding-top: 2px;
}
.tl-body { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
@media (max-width: 620px) {
  .tl-item { grid-template-columns: 1fr; gap: .5rem; }
}

/* ── Pricing ────────────────────────────────────────────────────────────── */
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  display: flex; flex-direction: column; position: relative;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-line), 0 18px 40px rgba(56,182,255,.08); }
.plan-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #101010;
  font-family: var(--font-h); font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px; white-space: nowrap;
}
.plan-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .6rem;
}
.plan h3 { font-size: 19px; margin-bottom: .9rem; }
.plan-price {
  font-family: var(--font-h); font-size: 34px; font-weight: 700;
  line-height: 1; margin-bottom: .35rem;
}
.plan-price small { font-size: 15px; font-weight: 500; color: var(--muted-2); }
.plan-terms { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; margin-bottom: 1.25rem; }
.plan .checks { margin-bottom: 1.5rem; }
.plan .btn { margin-top: auto; }

.toggle-row { display: flex; justify-content: center; gap: 8px; margin-bottom: 2.5rem; flex-wrap: wrap; }
.toggle {
  padding: 8px 20px; border-radius: 99px; border: 1px solid #333;
  background: transparent; color: var(--muted-2);
  font-family: var(--font-h); font-size: 13.5px; font-weight: 500;
  transition: background .15s, color .15s, border-color .15s;
}
.toggle:hover { color: var(--accent); border-color: var(--muted); }
.toggle.active, .toggle[aria-selected="true"] {
  background: var(--accent-soft); color: var(--accent); border-color: var(--accent);
}

/* progression steps */
.steps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }
.step {
  display: flex; align-items: center; gap: .6rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 99px; padding: 8px 18px;
  font-family: var(--font-h); font-size: 13.5px; font-weight: 500;
}
.step b { color: var(--accent); font-weight: 700; }
.step-arrow { color: var(--faint); }

/* comparison table */
.compare { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th {
  font-family: var(--font-h); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: rgba(0,0,0,0.35);
}
.compare thead th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 110px; }
.compare thead th.pop { color: var(--accent); }
.compare td:first-child { color: #D8DEE4; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--faint); }
.compare-scroll { overflow-x: auto; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-h); font-size: 15.5px; font-weight: 500; color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex-shrink: 0;
  font-family: var(--font-h); font-size: 22px; font-weight: 400;
  color: var(--accent); line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--accent); }
.faq-a { padding: 0 0 1.4rem; font-size: 14.5px; color: var(--muted); line-height: 1.85; max-width: 780px; }

/* ── ROI calculator ─────────────────────────────────────────────────────── */
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.roi-grid > * { min-width: 0; }
@media (max-width: 860px) { .roi-grid { grid-template-columns: 1fr; } }

.roi-group {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem;
}
.roi-group:last-child { margin-bottom: 0; }
.roi-group-title {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 8px;
}
.roi-group-title svg { width: 18px; height: 18px; flex-shrink: 0; }
.roi-field { margin-bottom: 1.15rem; }
.roi-field:last-child { margin-bottom: 0; }
.roi-label {
  font-size: 12.5px; color: var(--muted-2); font-weight: 500; margin-bottom: 7px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.roi-val { font-size: 13px; font-weight: 700; color: var(--accent); }

.roi-slider {
  width: 100%; height: 4px; -webkit-appearance: none; appearance: none;
  background: var(--border); border-radius: 99px; outline: none; cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg); cursor: pointer;
}
.roi-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg); cursor: pointer;
}
.roi-slider:focus-visible { box-shadow: 0 0 0 3px var(--accent-line); }

.roi-results { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.roi-total {
  background: var(--surface); border: 1px solid var(--accent-line);
  border-radius: var(--radius); padding: 2rem; text-align: center; margin-bottom: 1rem;
  box-shadow: 0 0 0 1px rgba(56,182,255,.06), 0 20px 50px rgba(0,0,0,.35);
}
.roi-total-label {
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: .75rem;
}
.roi-total-num {
  font-family: var(--font-h); font-size: clamp(34px, 6vw, 48px);
  font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: .5rem;
}
.roi-total-sub { font-size: 13px; color: var(--muted-2); }
.roi-break {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1rem;
}
.roi-break-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: .9rem;
}
.roi-row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 13.5px; padding: .45rem 0; color: var(--muted);
}
.roi-row b { color: var(--fg); font-weight: 600; }
.roi-row.total { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: .8rem; }
.roi-row.total b { color: var(--accent); }
.roi-fine { font-size: 11.5px; color: var(--faint); line-height: 1.7; margin-top: 1.5rem; }

/* ── Market comparison chart ────────────────────────────────────────────── */
.chart-legend { display: flex; gap: 18px; margin-bottom: 1.5rem; flex-wrap: wrap; justify-content: center; }
.legend-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.bar-row {
  display: grid; grid-template-columns: 170px 1fr 90px;
  align-items: center; gap: 12px; margin-bottom: 14px;
}
@media (max-width: 640px) { .bar-row { grid-template-columns: 96px 1fr 62px; gap: 8px; } }
.bar-label { font-size: 12px; color: var(--muted); text-align: right; line-height: 1.4; }
.bars { display: flex; flex-direction: column; gap: 5px; }
.bar-track {
  height: 26px; background: #1E1E1E; border-radius: 4px;
  display: flex; align-items: center; overflow: hidden;
}
.bar-out {
  margin-left: 8px; font-size: 11px; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
}
.bar-out.mkt { color: #8899AA; }
.bar-out.scg { color: var(--accent); }
.bar-fill {
  height: 100%; border-radius: 4px; display: flex; align-items: center;
  padding: 0 10px; font-size: 11px; font-weight: 600; white-space: nowrap;
  min-width: 9%; flex-shrink: 0; transition: width .4s ease;
}
.bar-fill.mkt { background: #2E4057; color: #8899AA; }
.bar-fill.scg { background: var(--accent); color: #00111A; }
.bar-save { font-size: 12px; font-weight: 700; color: var(--accent); text-align: right; white-space: nowrap; }

.chart-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 2rem 0 1.75rem; }
.chart-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .9rem 1rem; }
.chart-stat-label { font-size: 11px; color: var(--muted-2); margin-bottom: 4px; font-weight: 500; }
.chart-stat-val { font-size: 17px; font-weight: 700; color: var(--accent); font-family: var(--font-h); }
.chart-stat-sub { font-size: 11px; color: var(--faint); margin-top: 3px; }

.savings-box {
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.savings-num {
  font-family: var(--font-h); font-size: clamp(20px, 3vw, 26px);
  font-weight: 700; color: var(--accent); white-space: nowrap;
}
.savings-txt { font-size: 13.5px; color: var(--muted); line-height: 1.75; flex: 1 1 320px; }
.chart-src { font-size: 11px; color: var(--faint); margin-top: 1.25rem; line-height: 1.7; text-align: center; }

/* ── Upgrade / tier ladder ──────────────────────────────────────────────── */
.ladder { display: flex; flex-direction: column; gap: .75rem; }
.rung {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem 1.6rem;
}
.rung.here { border-color: var(--accent); background: rgba(56,182,255,.05); }
.rung h4 { font-size: 16px; margin-bottom: .3rem; }
.rung h4 a { color: inherit; }
.rung h4 a:hover { color: var(--accent); }
.rung p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.rung-price {
  font-family: var(--font-h); font-size: 17px; font-weight: 700;
  color: var(--accent); white-space: nowrap; text-align: right;
}
.rung-price small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 560px) { .rung { grid-template-columns: 1fr; } .rung-price { text-align: left; } }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(180deg, rgba(56,182,255,.07), rgba(56,182,255,.02));
  border: 1px solid var(--accent-line); border-radius: var(--radius-lg);
  padding: 3.5rem 2rem; text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.24; margin-bottom: 1rem; }
.cta-band h2 span { color: var(--accent); }
.cta-band p { font-size: 15.5px; color: var(--muted); line-height: 1.8; max-width: 620px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: #D8DEE4; margin-bottom: .5rem;
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; background: #0D0D0D; color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: var(--font-b); font-size: 14.5px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input::placeholder, .field textarea::placeholder { color: #5A5A5A; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form-consent { font-size: 11.5px; color: var(--faint); line-height: 1.75; margin-top: 1.25rem; }
.form-status {
  margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  font-size: 14px; display: none;
}
.form-status[data-state="ok"] { display: block; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3); color: #86EFAC; }
.form-status[data-state="err"] { display: block; background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.35); color: #FCA5A5; }
.form-status[data-state="busy"] { display: block; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }

/* contact detail cards */
.contact-detail {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.15rem 0; border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: 0; }
.contact-detail svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-detail-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .25rem; }
.contact-detail a, .contact-detail p { font-size: 14.5px; color: #D8DEE4; }
.contact-detail a:hover { color: var(--accent); }

/* ── Legal / prose ──────────────────────────────────────────────────────── */
.prose { max-width: 780px; }
.prose h2 { font-size: 21px; margin: 2.5rem 0 .85rem; }
.prose h3 { font-size: 17px; margin: 1.75rem 0 .6rem; }
.prose p, .prose li { font-size: 14.5px; color: var(--muted); line-height: 1.85; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.35rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: #D8DEE4; }
.prose .updated { font-size: 13px; color: var(--muted-2); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0D0D0D;
  padding: 3.5rem 0 2rem; margin-top: 4rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 13.5px; color: var(--muted); line-height: 1.8; max-width: 320px; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a, .footer-col p { font-size: 13.5px; color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; color: var(--muted);
  transition: color .15s, border-color .15s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted-2);
}
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ── Contact layout ─────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: 2rem; align-items: start;
}
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Scroll reveal ───────────────────────────────────────────────────────────
   Content is visible by default so it never depends on JavaScript. The hidden
   start state applies only after scg.js adds .reveal-on to <html>, and the
   script removes that class again if the observer never fires. */
html.reveal-on [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
html.reveal-on [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
}
