/* ═══════════════════════════════════════════════════════════
   rabbiico production CSS — ported pixel-perfect from index.html
   DO NOT modify these values — they match the live site exactly.
   ═══════════════════════════════════════════════════════════ */

/* ─── VARIABLES ───────────────────────────── */
:root {
  --white:      #ffffff;
  --surface:    #f8fafc;
  --surface-2:  #f1f5f9;
  --dark-bg:    #020617;
  --dark-2:     #0f172a;
  --dark-3:     #1e293b;
  --text:       #0f172a;
  --text-2:     #334155;
  --muted:      #64748b;
  --border:     rgba(0,0,0,.08);
  --border-light: rgba(255,255,255,.1);
  --blue:       #2563eb;
  --blue-dark:  #1d4ed8;
  --violet:     #7c3aed;
  --electric:   #3b82f6;
  --grad:       linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #7c3aed 100%);
  --grad-text:  linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #60a5fa 100%);
  --grad-subtle:linear-gradient(135deg, rgba(37,99,235,.07) 0%, rgba(124,58,237,.07) 100%);
  --grad-glow:  radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.15) 0%, transparent 70%);
  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-s:   0 2px 8px rgba(0,0,0,.06);
  --shadow-m:   0 8px 24px rgba(0,0,0,.08);
  --shadow-l:   0 20px 60px rgba(0,0,0,.12);
  --shadow-blue:0 8px 32px rgba(37,99,235,.25);
  --r:          16px;
  --r-sm:       10px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --spring:     cubic-bezier(.34,1.56,.64,1);
  --max-w:      1200px;
}

/* ─── SCROLL PROGRESS ────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 1000;
  height: 3px; width: 0%;
  background: var(--grad);
  transition: width .1s linear;
}

/* ─── SCROLL TO TOP ──────────────────────────────── */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s, box-shadow .2s;
}
#scroll-top.show { opacity: 1; transform: translateY(0); }
#scroll-top:hover { box-shadow: 0 12px 40px rgba(37,99,235,.4); transform: translateY(-2px); }

/* ─── NAV ────────────────────────────────────────── */
.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(20px, calc((100vw - var(--max-w)) / 2));
  background: rgba(2,6,23,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, border-color .3s;
}
.main-nav.light {
  background: rgba(255,255,255,.88);
  border-bottom-color: rgba(0,0,0,.07);
}

.logo {
  display: flex; align-items: flex-start; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.logo:hover .logo-icon { transform: scale(1.08); }
.logo-wordmark {
  display: flex; flex-direction: column; gap: 0px;
  margin-top: 4px;
}
.logo-main {
  font-size: 27px; font-weight: 800; letter-spacing: -.6px; line-height: 1;
  display: flex; align-items: center;
}
.logo-tagline {
  font-size: 8.5px; font-weight: 400; line-height: 1;
  color: rgba(255,255,255,.42); margin-top: 5px;
  letter-spacing: .04em; text-align: right;
}
.main-nav.light .logo-tagline { color: rgba(0,0,0,.36); }
.wm-rabbii { color: var(--white); }
.wm-co     { color: #60a5fa; }
.main-nav.light .wm-rabbii { color: var(--text); }
.main-nav.light .wm-co     { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }

.nav-a {
  display: block; padding: 6px 14px;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.82); text-decoration: none;
  border-radius: 8px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-a.active { color: #fff; }
.main-nav.light .nav-a { color: var(--text-2); }
.main-nav.light .nav-a:hover { color: var(--text); background: rgba(0,0,0,.05); }
.main-nav.light .nav-a.active { color: var(--blue); }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 14px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.82); background: none; border: none; cursor: pointer;
  border-radius: 8px; transition: color .2s, background .2s;
  font-family: inherit;
}
.nav-drop-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav.light .nav-drop-btn { color: var(--text-2); }
.main-nav.light .nav-drop-btn:hover { color: var(--text); background: rgba(0,0,0,.05); }

.chevron {
  width: 14px; height: 14px; display: inline-flex;
  align-items: center; justify-content: center;
  transition: transform .2s;
  font-style: normal; font-size: 10px; opacity: .7;
}
.nav-drop.open .chevron { transform: rotate(180deg); }

.nav-submenu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 780px;
  background: rgba(15,23,42,.97);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 20px;
  padding-top: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
/* Invisible hover bridge — fills the gap between trigger and dropdown */
.nav-submenu::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.main-nav.light .nav-submenu {
  background: rgba(255,255,255,.98);
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 24px 64px rgba(0,0,0,.15);
}
.nav-drop.open .nav-submenu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.submenu-col { display: flex; flex-direction: column; gap: 2px; }
.submenu-label {
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  padding: 4px 10px 8px; margin-bottom: 2px;
}
.main-nav.light .submenu-label { color: var(--muted); }
.submenu-a {
  display: block; padding: 9px 10px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.8);
  text-decoration: none; transition: background .15s, color .15s;
}
.submenu-a:hover { background: rgba(255,255,255,.08); color: #fff; }
.main-nav.light .submenu-a { color: var(--text-2); }
.main-nav.light .submenu-a:hover { background: rgba(37,99,235,.07); color: var(--blue); }
.submenu-a small { display: block; font-size: 12px; color: rgba(255,255,255,.4); margin-top: 1px; }
.main-nav.light .submenu-a small { color: var(--muted); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad); color: #fff !important;
  font-size: 14px !important; font-weight: 700 !important;
  padding: 9px 20px; border-radius: 980px;
  text-decoration: none; border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.2),
    0 1px 3px rgba(0,0,0,.22),
    0 3px 10px rgba(37,99,235,.22),
    inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform 160ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 160ms ease, background 160ms ease;
}
.nav-cta:hover {
  transform: translateY(-1px) scale(1.03);
  background: linear-gradient(135deg, #3b7ef4 0%, #7071f3 50%, #8b49f0 100%);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.35),
    0 3px 8px rgba(0,0,0,.2),
    0 6px 20px rgba(37,99,235,.32),
    inset 0 1px 0 rgba(255,255,255,.22);
}
.nav-cta:active {
  transform: scale(0.97);
  background: linear-gradient(135deg, #1d5fdc 0%, #5254d8 50%, #6b30cc 100%);
  transition-duration: 70ms;
  transition-timing-function: linear;
}

/* Mobile toggle */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.8); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.main-nav.light .nav-burger span { background: var(--text-2); }

/* Mobile menu overlay */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 250;
  background: rgba(2,6,23,.97); backdrop-filter: blur(20px);
  flex-direction: column; padding: 80px 24px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  display: block; padding: 16px 0;
  font-size: 24px; font-weight: 700; color: #fff;
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav-sub {
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,.6);
  padding: 10px 0 10px 20px; display: block; text-decoration: none;
}
.mobile-cta { margin-top: 32px; text-align: center; }

/* ─── BUTTONS (shared) ────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff;
  font-size: 16px; font-weight: 700;
  padding: 14px 28px; border-radius: 980px;
  text-decoration: none; border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.2),
    0 1px 3px rgba(0,0,0,.22),
    0 3px 10px rgba(37,99,235,.22),
    inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform 160ms var(--spring), box-shadow 160ms ease;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.35),
    0 3px 8px rgba(0,0,0,.2),
    0 8px 24px rgba(37,99,235,.35),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,.85);
  font-size: 16px; font-weight: 600;
  padding: 14px 28px; border-radius: 980px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  transition: all .2s;
  cursor: pointer;
}
.btn-ghost-white:hover {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--dark-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative; overflow: hidden;
}
.hero-mesh, .hero-grid, .hero-orb { pointer-events: none; }
.hero-mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-grid {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(45deg);
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: orb-float 12s ease-in-out infinite alternate;
}
.hero-orb-1 {
  width: 500px; height: 500px; top: -10%; left: 20%;
  background: rgba(37,99,235,.18);
}
.hero-orb-2 {
  width: 400px; height: 400px; bottom: -5%; right: 15%;
  background: rgba(124,58,237,.15);
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 300px; height: 300px; top: 30%; right: 30%;
  background: rgba(99,102,241,.12);
  animation-delay: -8s;
}
@keyframes orb-float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.08); }
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 980px; padding: 8px 20px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7);
  letter-spacing: .03em; margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0; position: relative;
}
.badge-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.65); }
  70%  { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900; letter-spacing: -.04em;
  line-height: 1.05; color: #fff;
  margin-bottom: 16px; max-width: 800px;
}
.hero-grad-text {
  background: var(--grad-text); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: grad-shift 4s ease-in-out infinite alternate;
}
@keyframes grad-shift { 0%{background-position:0% 50%} 100%{background-position:100% 50%} }

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255,255,255,.55); max-width: 640px;
  line-height: 1.7; margin: 0 auto 36px;
}
.hero-sub strong { color: rgba(255,255,255,.9); font-weight: 600; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }

/* btn-primary shimmer */
.btn-primary { position: relative; overflow: hidden; font-family: inherit; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.13) 50%, transparent 75%);
  transform: translateX(-120%) skewX(-15deg);
}
.btn-primary:hover::after {
  transform: translateX(130%) skewX(-15deg);
  transition: transform 580ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── HERO STATS ─────────────────────────────────── */
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.stat { text-align: center; }
.stat-n {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 900;
  letter-spacing: -.03em; color: #fff;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-l { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 4px; font-weight: 500; }

/* ─── PATHFINDER ─────────────────────────────────── */
.pathfinder { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.pf-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px 22px; min-width: 116px;
  cursor: default;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms var(--spring);
  user-select: none;
}
.pf-item:hover, .pf-item:focus-visible {
  background: rgba(37,99,235,.13);
  border-color: rgba(99,102,241,.5);
  transform: translateY(-3px);
  outline: none;
}
.pf-icon { font-size: 22px; line-height: 1; }
.pf-label {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.65);
  letter-spacing: .03em; text-transform: uppercase;
}
.pf-tip {
  position: absolute; bottom: calc(100% + 12px);
  left: 50%; transform: translateX(-50%) translateY(6px);
  width: 210px;
  background: rgba(15,23,42,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(99,102,241,.35);
  border-radius: 10px; padding: 10px 14px;
  font-size: 12px; line-height: 1.55;
  color: rgba(255,255,255,.82);
  text-align: center; pointer-events: none;
  opacity: 0; transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20; white-space: normal;
}
.pf-item:hover .pf-tip, .pf-item:focus-visible .pf-tip {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.pf-tip::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: rgba(99,102,241,.35);
}
@media (max-width: 600px) {
  .pathfinder { gap: 8px; }
  .pf-item { min-width: 140px; }
  .pf-tip {
    position: static; opacity: 1; transform: none;
    width: auto; background: transparent;
    backdrop-filter: none; border: none; padding: 0;
    font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px;
  }
  .pf-tip::after { display: none; }
}

/* ─── TRUST BAR ──────────────────────────────────── */
.trust-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 32px;
  background: var(--surface); padding: 18px 24px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  white-space: nowrap;
}
.trust-item span { font-size: 16px; }
@media (max-width: 640px) {
  .trust-bar { gap: 16px 24px; }
  .trust-item { font-size: 12px; }
}
/* ─── VS BIG 4 COMPARISON ───────────────────────────── */
.vs-section {
  background: var(--dark-bg);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.vs-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-glow);
  pointer-events: none;
}
.vs-inner {
  max-width: 900px; margin: 0 auto;
  position: relative; z-index: 1;
}
.vs-head {
  text-align: center; margin-bottom: 44px;
}
.vs-section .sect-label { color: rgba(255,255,255,.4); }
.vs-section .sect-h { color: #fff; }
.vs-section .sect-sub { color: rgba(255,255,255,.45); }
.vs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.07);
}
.vs-table {
  width: 100%; border-collapse: collapse;
  font-size: 15px;
}
.vs-table thead tr {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.vs-table th {
  padding: 18px 24px;
  font-size: 11px; font-weight: 700;
  text-align: left; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.vs-col-feature { color: rgba(255,255,255,.35); width: 30%; }
.vs-col-them     { color: rgba(255,255,255,.35); width: 35%; }
.vs-col-us {
  color: #fff; width: 35%;
  background: rgba(37,99,235,.1);
  border-left: 1px solid rgba(37,99,235,.18);
}
.vs-eg {
  display: block; font-weight: 400;
  font-size: 10px; color: rgba(255,255,255,.3);
  text-transform: none; letter-spacing: 0; margin-top: 2px;
}
.vs-badge-best {
  display: inline-block;
  background: var(--grad); color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 2px 8px; border-radius: 980px;
  vertical-align: middle; margin-left: 8px;
  text-transform: none; letter-spacing: 0;
}
.vs-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background 140ms ease;
}
.vs-table tbody tr:last-child { border-bottom: none; }
.vs-table tbody tr:hover { background: rgba(255,255,255,.015); }
.vs-table td { padding: 16px 24px; vertical-align: middle; }
.vs-td-feature { font-weight: 600; font-size: 14px; color: rgba(255,255,255,.65); }
.vs-td-them     { color: rgba(255,255,255,.3); font-size: 14px; }
.vs-td-us {
  font-weight: 600; font-size: 14px; color: rgba(255,255,255,.9);
  background: rgba(37,99,235,.07);
  border-left: 1px solid rgba(37,99,235,.1);
}
.vs-cta { text-align: center; margin-top: 44px; }
@media (max-width: 640px) {
  .vs-section { padding: 60px 16px; }
  .vs-table th, .vs-table td { padding: 12px 14px; font-size: 13px; }
  .vs-eg, .vs-badge-best { display: none; }
}

/* ─── HOW WE WORK — VERTICAL TIMELINE ───────────────── */
.pt-timeline {
  position: relative;
  margin-top: 64px;
  padding-bottom: 8px;
}
.pt-spine {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.07);
  border-radius: 2px;
  pointer-events: none;
}
.pt-spine-fill {
  width: 100%; height: 0%;
  background: linear-gradient(to bottom, #2563eb, #7c3aed);
  border-radius: 2px;
  transition: height 2.4s cubic-bezier(.22,1,.36,1);
}
.pt-timeline.tl-active .pt-spine-fill { height: 100%; }
.pt-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}
.pt-item:last-child { margin-bottom: 0; }
.pt-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #080d1a;
  border: 2px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  font-size: 11px; font-weight: 900; letter-spacing: .08em;
  color: rgba(255,255,255,.3);
  position: relative; z-index: 3;
  transition: border-color .5s ease, color .5s ease, box-shadow .5s ease, background .5s ease;
}
.pt-item.tl-visible .pt-node {
  border-color: #2563eb;
  color: #fff;
  background: #0f172a;
  box-shadow: 0 0 0 6px rgba(37,99,235,.1), 0 0 28px rgba(37,99,235,.28);
}
.pt-card {
  background: rgba(255,255,255,.032);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  padding: 32px 28px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.pt-card:hover {
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 8px 32px rgba(37,99,235,.08);
}
/* ghost number */
.pt-card::before {
  content: attr(data-n);
  position: absolute;
  bottom: -20px; right: 12px;
  font-size: 110px; font-weight: 900; letter-spacing: -.06em;
  color: #2563eb; opacity: 0.045;
  line-height: 1; pointer-events: none; user-select: none;
}
.pt-step-num {
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  color: #60a5fa; text-transform: uppercase; margin-bottom: 12px;
}
.pt-card h3 {
  font-size: 20px; font-weight: 800; letter-spacing: -.03em;
  color: #fff; margin-bottom: 10px;
}
.pt-card > p {
  font-size: 14px; color: rgba(255,255,255,.47);
  line-height: 1.72; margin-bottom: 18px;
}
.pt-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.pt-tag {
  font-size: 11px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.38);
  letter-spacing: .01em;
}
.pt-spacer { /* intentional empty column */ }
/* slide-in from sides */
.pt-left .pt-card {
  transform: translateX(-36px); opacity: 0;
  transition: transform .65s cubic-bezier(.22,1,.36,1), opacity .6s ease;
}
.pt-right .pt-card {
  transform: translateX(36px); opacity: 0;
  transition: transform .65s cubic-bezier(.22,1,.36,1), opacity .6s ease;
}
.pt-item.tl-visible .pt-card { transform: translateX(0); opacity: 1; }
@media (max-width: 860px) {
  .pt-spine { left: 20px; }
  .pt-item { grid-template-columns: 40px 1fr; gap: 16px; margin-bottom: 52px; }
  .pt-node { width: 40px; height: 40px; font-size: 10px; }
  .pt-spacer { display: none; }
  .pt-left { direction: ltr; }
  .pt-left .pt-card { grid-column: 2; grid-row: 1; transform: translateX(20px); }
  .pt-left .pt-node { grid-column: 1; grid-row: 1; }
  .pt-right .pt-card { grid-column: 2; transform: translateX(20px); }
  .pt-right .pt-node { grid-column: 1; }
}
/* ─── WHAT TO EXPECT ─────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.result-card {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  padding: 32px 28px;
  background: rgba(255,255,255,.032);
  position: relative;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.result-card:hover {
  border-color: rgba(37,99,235,.3);
  box-shadow: 0 8px 28px rgba(37,99,235,.07);
}
.result-service {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 16px;
}
.result-stat {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.result-label {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}
.result-desc { font-size: 13px; color: rgba(255,255,255,.42); line-height: 1.6; margin-bottom: 12px; }
.result-source {
  font-size: 11px;
  color: rgba(255,255,255,.28);
}
/* ─── FREE OFFER CARDS ────────────────────────────── */
.free-offer-wrap {
  margin-bottom: 48px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(124,58,237,.06));
  border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.free-offer-wrap .free-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #22c55e;
  margin-bottom: 8px;
}
.free-offer-wrap h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.free-offer-wrap p { font-size: 14px; color: var(--muted); max-width: 520px; line-height: 1.6; }

@media (max-width: 860px) {
  .results-grid  { grid-template-columns: 1fr; }
  .free-offer-wrap { flex-direction: column; align-items: flex-start; }
}

/* ─── SECTIONS ───────────────────────────────────── */
.section {
  padding: 100px max(24px, calc((100vw - var(--max-w)) / 2));
}
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark-bg); color: #fff; }

.sect-label {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.section-dark .sect-label { color: #60a5fa; }

.sect-h {
  font-size: clamp(30px, 4vw, 48px); font-weight: 900;
  letter-spacing: -.03em; line-height: 1.1; margin-bottom: 18px;
}
.g-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ─── ABOUT HEADING ACCENTS ──────────────────────── */
.ah-ai  { color: var(--blue); }
.ah-sec { color: #dc2626; }
.ah-web { color: var(--violet); }

.sect-sub {
  font-size: 17px; color: var(--muted); max-width: 620px;
  line-height: 1.7; margin-bottom: 48px;
}
.section-dark .sect-sub { color: rgba(255,255,255,.5); }

/* ─── SERVICE BENTO GRID ─────────────────────────── */
.svc-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.svc-card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  padding: 24px 22px;
  position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  cursor: pointer;
}
/* Spotlight — mouse-tracking radial glow */
.svc-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 18px; z-index: 0;
  background: radial-gradient(500px circle at var(--mx, -200px) var(--my, -200px), rgba(255,255,255,.07), transparent 50%);
  pointer-events: none; opacity: 0; transition: opacity .3s;
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover {
  border-color: var(--svc-accent, rgba(255,255,255,.22));
  box-shadow: 0 0 0 1px var(--svc-accent, rgba(255,255,255,.1)), 0 24px 48px rgba(0,0,0,.25);
  transform: translateY(-3px);
}
/* Ambient glow orb in top-right corner */
.svc-glow-orb {
  position: absolute; width: 220px; height: 220px;
  border-radius: 50%; top: -80px; right: -80px; z-index: 0;
  background: var(--svc-orb, rgba(37,99,235,.18));
  filter: blur(64px); pointer-events: none;
}
.svc-card > *:not(.svc-glow-orb) { position: relative; z-index: 1; }
/* Per-service accent colours */
.svc-card--cyber { --svc-accent: rgba(59,130,246,.45); --svc-orb: rgba(37,99,235,.22); --svc-color: #60a5fa; }
.svc-card--ai    { --svc-accent: rgba(139,92,246,.45);  --svc-orb: rgba(124,58,237,.22); --svc-color: #a78bfa; }
.svc-card--seo   { --svc-accent: rgba(52,211,153,.45);  --svc-orb: rgba(13,148,136,.22); --svc-color: #34d399; }
.svc-card--web   { --svc-accent: rgba(251,191,36,.45);  --svc-orb: rgba(245,158,11,.22); --svc-color: #fbbf24; }
/* Icon badge */
.svc-icon {
  width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
}
/* Service label */
.svc-sub {
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--svc-color, #60a5fa); margin-bottom: 8px;
}
.svc-card h3 {
  font-size: 22px; font-weight: 900; letter-spacing: -.03em;
  line-height: 1.15; margin-bottom: 12px; color: #fff;
}
.svc-desc {
  font-size: 14px; color: rgba(255,255,255,.55);
  line-height: 1.65; margin-bottom: 20px; flex: 1;
}
.svc-bullets {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-bullets li {
  font-size: 13px; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 9px;
}
.svc-bullets li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--svc-color, #60a5fa); flex-shrink: 0;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--svc-color, #60a5fa);
  text-decoration: none; margin-top: auto; transition: gap .2s;
}
.svc-link:hover { gap: 10px; }
@media (max-width: 720px) {
  .svc-bento { grid-template-columns: 1fr; }
}

/* ─── ABOUT ──────────────────────────────────────── */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-copy p { font-size: 17px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
/* ─── ABOUT TRUST BADGES ─────────────────────────── */
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.about-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--border); border-radius: 20px; padding: 5px 12px;
}
.about-cards { display: flex; flex-direction: column; gap: 14px; }
.about-card {
  background: var(--white); border-radius: var(--r-sm);
  padding: 24px 26px; border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s, scale .28s var(--ease), opacity .28s var(--ease);
  scale: var(--sp, 1); opacity: var(--sp-o, 1);
}
.about-card:hover { transform: translateX(6px); box-shadow: var(--shadow-s); }
.about-card h4 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.about-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
/* ─── ABOUT CARD ACCENTS ─────────────────────────── */
.about-card--ai     { border-left: 3px solid var(--blue); }
.about-card--sec    { border-left: 3px solid #dc2626; }
.about-card--web    { border-left: 3px solid var(--violet); }
.about-card--global { border-left: 3px solid #059669; }
.about-card--ai  h4     { color: var(--blue); }
.about-card--sec h4     { color: #dc2626; }
.about-card--web h4     { color: var(--violet); }
.about-card--global h4  { color: #059669; }

/* ─── FAQ ────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
details {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm); overflow: hidden;
  transition: box-shadow .2s;
}
details:hover { box-shadow: var(--shadow-s); }
details[open] { border-color: rgba(37,99,235,.2); box-shadow: var(--shadow-s); }
details summary {
  padding: 20px 24px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; font-size: 20px; color: var(--blue);
  transition: transform .25s; flex-shrink: 0; margin-left: 12px;
}
details[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 24px 20px;
  font-size: 14.5px; color: var(--muted); line-height: 1.7;
}
.faq-body ul { padding-left: 18px; margin-top: 8px; }
.faq-body li { margin-bottom: 4px; }

/* ─── CTA BANNER ─────────────────────────────────── */
.banner {
  background: var(--dark-2); padding: 80px max(24px, calc((100vw - var(--max-w)) / 2));
  text-align: center; position: relative; overflow: hidden;
}
.banner::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.2) 0%, transparent 70%);
}
.banner > * { position: relative; z-index: 1; }
.banner h2 {
  font-size: clamp(28px, 4vw, 52px); font-weight: 900;
  letter-spacing: -.03em; color: #fff; margin-bottom: 16px;
}
.banner p { font-size: 18px; color: rgba(255,255,255,.6); max-width: 520px; margin: 0 auto 40px; }

/* ─── CONTACT ────────────────────────────────────── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start;
}
.contact-copy h2 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
  letter-spacing: -.03em; margin-bottom: 18px; line-height: 1.1;
}
.contact-copy p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; }
.c-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.c-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--grad-subtle); border: 1px solid rgba(37,99,235,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.c-text strong { display: block; font-size: 14px; font-weight: 700; }
.c-text span { font-size: 13.5px; color: var(--muted); }

.audit-highlight {
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  border: 1.5px solid rgba(37,99,235,.2); border-radius: var(--r);
  padding: 20px 24px; margin-top: 28px;
}
.audit-highlight h4 { font-size: 15px; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.audit-highlight p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin: 0; }

.form-card {
  background: var(--white); border-radius: var(--r);
  padding: 44px 40px;
  box-shadow: 0 2px 2px rgba(0,0,0,.03), 0 16px 56px rgba(0,0,0,.1);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 16px; }
.fg label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,.1); border-radius: var(--r-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: var(--white);
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.fg input::placeholder, .fg textarea::placeholder { color: #bbb; }
.fg textarea { resize: vertical; min-height: 120px; }
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}

.fg-website { display: none; }
.fg-website.show { display: block; }

.form-submit {
  width: 100%; padding: 16px; background: var(--grad); color: #fff;
  font-size: 16px; font-weight: 800; border: 1px solid rgba(255,255,255,.12); border-radius: 980px;
  cursor: pointer; font-family: inherit;
  box-shadow:
    0 0 0 1px rgba(37,99,235,.2),
    0 1px 2px rgba(0,0,0,.25),
    0 4px 14px rgba(37,99,235,.28),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform 160ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 160ms ease, background 160ms ease;
  position: relative; overflow: hidden;
}
.form-submit::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.13) 50%, transparent 75%);
  transform: translateX(-120%) skewX(-15deg);
}
.form-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3b7ef4 0%, #7071f3 50%, #8b49f0 100%);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.38),
    0 4px 8px rgba(0,0,0,.2),
    0 8px 24px rgba(37,99,235,.36),
    inset 0 1px 0 rgba(255,255,255,.24);
}
.form-submit:hover::after {
  transform: translateX(130%) skewX(-15deg);
  transition: transform 580ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.form-submit:active {
  transform: translateY(0) scale(0.97);
  background: linear-gradient(135deg, #1d5fdc 0%, #5254d8 50%, #6b30cc 100%);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.3),
    0 1px 3px rgba(0,0,0,.3),
    inset 0 2px 4px rgba(0,0,0,.1);
  transition-duration: 70ms;
  transition-timing-function: linear;
}
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* Form success state */
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; animation: fadeInUp .5s var(--ease); }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 24px;
  animation: pop .5s var(--spring);
}
@keyframes pop { 0%{transform:scale(0)} 100%{transform:scale(1)} }
@keyframes fadeInUp { 0%{opacity:0;transform:translateY(20px)} 100%{opacity:1;transform:translateY(0)} }
.form-success h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.form-success p { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 420px; margin: 0 auto; }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--dark-bg);
  padding: 64px max(24px, calc((100vw - var(--max-w)) / 2)) 32px;
  color: rgba(255,255,255,.5);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .logo-wordmark { margin-bottom: 14px; }
.footer-brand .wm-rabbii { color: #fff; }
.footer-brand .wm-co { color: #60a5fa; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 260px; }
.footer-col h5 {
  font-size: 12px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 14px; color: rgba(255,255,255,.5);
  text-decoration: none; margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px;
}
.footer-tagline { color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ─── REVEAL ANIMATIONS ──────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.on { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal-left.on { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal-right.on { opacity: 1; transform: translateX(0); }

.stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.stagger.on > *:nth-child(1){opacity:1;transform:none;transition-delay:.00s}
.stagger.on > *:nth-child(2){opacity:1;transform:none;transition-delay:.08s}
.stagger.on > *:nth-child(3){opacity:1;transform:none;transition-delay:.16s}
.stagger.on > *:nth-child(4){opacity:1;transform:none;transition-delay:.24s}
.stagger.on > *:nth-child(5){opacity:1;transform:none;transition-delay:.32s}
.stagger.on > *:nth-child(6){opacity:1;transform:none;transition-delay:.40s}
.stagger.on > *:nth-child(7){opacity:1;transform:none;transition-delay:.48s}

/* Ripple */
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.18);
  transform: scale(0); pointer-events: none;
  animation: ripple-anim .55s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes ripple-anim { to { transform: scale(1); opacity: 0; } }

/* ─── LOGO TAGLINE ───────────────────────────────── */
.logo-wordmark { display: flex; flex-direction: column; gap: 0px; }
.logo-main { font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 1; }
.logo-tagline {
  font-size: 8.5px; font-weight: 400; line-height: 1;
  color: rgba(255,255,255,.42); margin-top: 5px;
  letter-spacing: .04em; text-align: right;
}
nav.light .logo-tagline { color: rgba(0,0,0,.36); }
.footer-brand .logo-tagline { color: rgba(255,255,255,.28); text-align: right; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 900px) {
  .svc-grid   { grid-template-columns: 1fr 1fr; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row   { grid-template-columns: 1fr; }
  .faq-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-grid   { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
  .nav-links  { display: none; }
  .nav-burger { display: flex; }
  .form-card  { padding: 28px 20px; }
  .trust-bar  { gap: 20px; }
  .section    { padding: 64px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ─── MINI HERO (service/about pages) ────────────── */
.mini-hero {
  background: #020617;
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mini-hero > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.mini-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.18) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── TRUST BADGES ROW ──────────────────────────── */
.trust-badges-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 7px 16px;
}

/* ─── CERT GRID ─────────────────────────────────── */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cert-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 24px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.cert-icon { font-size: 32px; margin-bottom: 12px; }
.cert-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.cert-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cert-grid { grid-template-columns: 1fr; } }

/* ─── SECTION-INNER ─────────────────────────────── */
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.sect-head { margin-bottom: 48px; }


/* ═══════════════════════════════════════════════════════════
   SERVICE PAGE CSS — extracted from production HTML files
   ═══════════════════════════════════════════════════════════ */

/* ─── SHARED SERVICE PAGE COMPONENTS ─────────────── */

/* Stats Row (hero area) */
.stats-row {
  display: flex; gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); overflow: hidden; margin-bottom: 48px;
}
.stats-row-item {
  flex: 1; min-width: 160px; padding: 24px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stats-row-item:last-child { border-right: none; }
.stats-row-n {
  font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-row-l { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* Service Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tiers.tiers-four { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tiers-three { grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
.tier {
  background: var(--white); border-radius: var(--r);
  padding: 36px 30px; border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, scale .28s var(--ease), opacity .28s var(--ease);
  position: relative; scale: var(--sp, 1); opacity: var(--sp-o, 1);
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.tier.pop { border-color: var(--blue); box-shadow: 0 0 0 1px rgba(37,99,235,.08), var(--shadow-m); }
.tier.pop-gold { border-color: #f59e0b; box-shadow: 0 0 0 1px rgba(245,158,11,.12), var(--shadow-m); }
.pop-pill {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 16px; border-radius: 980px; white-space: nowrap;
}
.pop-pill-gold {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #d97706, #f59e0b); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 16px; border-radius: 980px; white-space: nowrap;
}
.tier-badge { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.tier h3 { font-size: 22px; font-weight: 900; letter-spacing: -.03em; margin-bottom: 10px; }
.tier-price { font-size: 38px; font-weight: 900; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 4px; }
.tier-price em { font-size: 15px; font-weight: 500; color: var(--muted); font-style: normal; }
.tier-note { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); line-height: 1.55; }
.tier-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.tier-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.tier-feats li::before { content: '\2713'; color: var(--blue); font-weight: 900; flex-shrink: 0; }
.tier .btn-primary { white-space: nowrap; font-size: clamp(0.75rem, 1.5vw, 0.9rem); }
.tier-best-for {
  background: rgba(37,99,235,.06); border-left: 3px solid var(--blue);
  padding: 10px 14px; border-radius: 0 8px 8px 0;
  font-size: 13px; color: var(--text-2); margin-bottom: 18px; line-height: 1.5;
}
.tier-best-for strong { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); margin-bottom: 4px; }
.tier-retainer {
  font-size: 12px; color: var(--blue); font-weight: 600;
  background: rgba(37,99,235,.07); padding: 8px 12px;
  border-radius: 8px; margin-bottom: 16px; display: flex; align-items: center; gap: 6px;
}

/* Free Tier Banner */
.free-tier-banner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 2px solid rgba(16,185,129,.25); border-radius: var(--r-lg);
  padding: 36px 40px; margin-bottom: 8px;
}
.free-tier-banner h3 { font-size: 24px; font-weight: 900; letter-spacing: -.03em; margin-bottom: 6px; }
.free-tier-banner > .free-tier-left > p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.free-tier-pill { display: inline-block; background: rgba(16,185,129,.15); color: #059669; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 5px 14px; border-radius: 980px; margin-bottom: 8px; }
.free-tier-feats { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.free-tier-feats li { font-size: 13.5px; color: var(--text-2); display: flex; align-items: center; gap: 7px; }
.free-tier-feats li::before { content: '\2713'; color: #10b981; font-weight: 900; flex-shrink: 0; }
.free-tier-right { text-align: center; flex-shrink: 0; }
.free-tier-price { font-size: 44px; font-weight: 900; letter-spacing: -.05em; color: var(--text); line-height: 1; margin-bottom: 18px; }
.free-tier-price em { font-size: 15px; font-weight: 500; color: var(--muted); font-style: normal; margin-left: 4px; }
.free-tier-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Results Grid */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.result-card {
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--r);
  padding: 32px 28px; background: rgba(255,255,255,.032);
  position: relative; transition: border-color .3s ease, box-shadow .3s ease;
}
.result-card:hover { border-color: rgba(37,99,235,.3); box-shadow: 0 8px 28px rgba(37,99,235,.07); }
.result-service { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #60a5fa; margin-bottom: 16px; }
.result-stat {
  font-size: 38px; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.result-label { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.result-desc { font-size: 13px; color: rgba(255,255,255,.42); line-height: 1.6; margin-bottom: 12px; }
.result-source { font-size: 11px; color: rgba(255,255,255,.28); }

/* Shared responsive — free tier banner */
@media (max-width: 720px) {
  .free-tier-banner { grid-template-columns: 1fr; text-align: center; }
  .free-tier-feats { justify-content: center; }
  .free-tier-right { border-top: 1px solid rgba(16,185,129,.2); padding-top: 24px; }
}
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .tiers-three { grid-template-columns: 1fr !important; }
  .results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-row { flex-direction: column; }
  .stats-row-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
}


/* ─── CYBERSECURITY SERVICE PAGE ──────────────── */

/* Two-Col Problem Layout */
.problem-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; max-width: var(--max-w); margin: 0 auto; }
.problem-wrap h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 900; letter-spacing: -.03em; color: #fff; margin-bottom: 20px; line-height: 1.15; }
.problem-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.problem-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.6; }
.problem-list li::before { content: '\26A0'; color: #fbbf24; flex-shrink: 0; margin-top: 1px; }

/* Terminal Card */
.terminal-card {
  background: #050709; border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.terminal-title { font-size: 11px; color: rgba(255,255,255,.35); margin-left: 8px; flex: 1; text-align: center; font-family: 'Courier New', monospace; letter-spacing: .04em; }
.terminal-body { padding: 20px; font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.85; }
.terminal-head { color: #60a5fa; font-weight: 700; margin-bottom: 8px; display: block; }
.terminal-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); }
.terminal-check { color: #4ade80; font-weight: 700; }

/* Terminal Lines */
.tl { display: block; padding: 1px 0; opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
.tl.show { opacity: 1; transform: none; }
.tl-prompt { color: rgba(255,255,255,.38); }
.tl-info { color: #4ade80; }
.tl-high { color: #fbbf24; }
.tl-critical { color: #f87171; font-weight: 700; }
.tl-result { color: #c084fc; font-weight: 700; }
.tl-tag-c { background:rgba(248,113,113,.15); border:1px solid rgba(248,113,113,.35); color:#f87171; padding:1px 6px; border-radius:4px; font-size:11px; font-weight:700; letter-spacing:.04em; margin-right:4px; }
.tl-tag-h { background:rgba(251,191,36,.12); border:1px solid rgba(251,191,36,.3); color:#fbbf24; padding:1px 6px; border-radius:4px; font-size:11px; font-weight:700; letter-spacing:.04em; margin-right:4px; }
.tl-tag-i { background:rgba(74,222,128,.1); border:1px solid rgba(74,222,128,.25); color:#4ade80; padding:1px 6px; border-radius:4px; font-size:11px; font-weight:700; letter-spacing:.04em; margin-right:4px; }
.term-cursor { display:inline-block; width:8px; height:13px; background:#60a5fa; vertical-align:middle; margin-left:2px; border-radius:1px; animation:term-blink .7s step-end infinite; }
@keyframes term-blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

/* Industry Cards Grid */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  padding: 20px 18px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.industry-icon { font-size: 26px; margin-bottom: 8px; }
.industry-card h3 { font-size: 14px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.industry-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Secure Code Review Card */
.code-review-card {
  background: var(--dark-2);
  border: 1px solid rgba(99,102,241,.35);
  border-radius: var(--r-lg);
  padding: 48px 48px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.code-review-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(124,58,237,.18) 0%, transparent 65%);
  pointer-events: none;
}
.code-review-card > * { position: relative; z-index: 1; }
.code-review-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.code-review-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #a78bfa; background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3); border-radius: 20px; padding: 6px 14px;
  margin-bottom: 16px;
}
.code-review-card h3 { font-size: clamp(22px,3vw,30px); font-weight: 900; letter-spacing: -.03em; color: #fff; margin-bottom: 12px; }
.code-review-card p { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 560px; margin-bottom: 0; }
.code-review-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.code-review-feat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 7px 13px;
}
.code-review-feat::before { content: '\2713'; color: #a78bfa; font-weight: 900; }
.code-review-cta { text-align: center; flex-shrink: 0; }
.code-review-price { font-size: 32px; font-weight: 900; color: #fff; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.code-review-price em { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.45); font-style: normal; display: block; margin-top: 4px; }

/* Button Violet */
.btn-violet {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 980px; font-size: 15px; font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  color: #fff; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(124,58,237,.35);
  transition: transform .2s var(--ease), box-shadow .2s;
  margin-top: 16px;
}
.btn-violet:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,.45); }

/* Compact Steps Row */
.steps-row {
  display: flex; align-items: flex-start;
  gap: 0; margin-top: 56px; position: relative;
}
.step-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; padding: 0 12px;
}
.step-node {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--dark-3); border: 2px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; letter-spacing: .06em; color: rgba(255,255,255,.4);
  margin-bottom: 20px; position: relative; z-index: 2;
  transition: border-color .4s, color .4s, box-shadow .4s, background .4s;
}
.step-item:hover .step-node {
  border-color: var(--blue); color: #fff; background: rgba(37,99,235,.15);
  box-shadow: 0 0 0 6px rgba(37,99,235,.1), 0 0 24px rgba(37,99,235,.25);
}
.step-connector {
  position: absolute; top: 26px; left: calc(50% + 26px);
  width: calc(100% - 52px); height: 2px;
  background: rgba(255,255,255,.08);
}
.step-item h4 {
  font-size: 15px; font-weight: 800; letter-spacing: -.02em;
  color: #fff; margin-bottom: 8px; line-height: 1.3;
}
.step-item p {
  font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; margin: 0;
}

/* PT Timeline */
.pt-timeline { position: relative; margin-top: 64px; padding-bottom: 8px; }
.pt-spine {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; transform: translateX(-50%);
  background: rgba(255,255,255,.07); border-radius: 2px; pointer-events: none;
}
.pt-spine-fill {
  width: 100%; height: 0%;
  background: linear-gradient(to bottom, #2563eb, #7c3aed);
  border-radius: 2px; transition: height 2.4s cubic-bezier(.22,1,.36,1);
}
.pt-timeline.tl-active .pt-spine-fill { height: 100%; }
.pt-item {
  display: grid; grid-template-columns: 1fr 80px 1fr;
  align-items: center; margin-bottom: 80px; position: relative;
}
.pt-item:last-child { margin-bottom: 0; }
.pt-node {
  width: 56px; height: 56px; border-radius: 50%;
  background: #080d1a; border: 2px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; font-size: 11px; font-weight: 900; letter-spacing: .08em;
  color: rgba(255,255,255,.3); position: relative; z-index: 3;
  transition: border-color .5s ease, color .5s ease, box-shadow .5s ease, background .5s ease;
}
.pt-item.tl-visible .pt-node {
  border-color: #2563eb; color: #fff; background: #0f172a;
  box-shadow: 0 0 0 6px rgba(37,99,235,.1), 0 0 28px rgba(37,99,235,.28);
}
.pt-card {
  background: rgba(255,255,255,.032); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r); padding: 32px 28px 26px;
  position: relative; overflow: hidden;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.pt-card:hover { border-color: rgba(37,99,235,.35); box-shadow: 0 8px 32px rgba(37,99,235,.08); }
.pt-card::before {
  content: attr(data-n); position: absolute;
  bottom: -20px; right: 12px;
  font-size: 110px; font-weight: 900; letter-spacing: -.06em;
  color: #2563eb; opacity: 0.045; line-height: 1; pointer-events: none; user-select: none;
}
.pt-step-num { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #60a5fa; text-transform: uppercase; margin-bottom: 12px; }
.pt-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: #fff; margin-bottom: 10px; }
.pt-card > p { font-size: 14px; color: rgba(255,255,255,.47); line-height: 1.72; margin-bottom: 18px; }
.pt-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.pt-tag {
  font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.38); letter-spacing: .01em;
}
.pt-spacer { }
.pt-left .pt-card { transform: translateX(-36px); opacity: 0; transition: transform .65s cubic-bezier(.22,1,.36,1), opacity .6s ease; }
.pt-right .pt-card { transform: translateX(36px); opacity: 0; transition: transform .65s cubic-bezier(.22,1,.36,1), opacity .6s ease; }
.pt-item.tl-visible .pt-card { transform: translateX(0); opacity: 1; }

/* Cybersecurity responsive */
@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .problem-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .code-review-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .steps-row { flex-direction: column; align-items: stretch; gap: 0; }
  .step-item { flex-direction: row; text-align: left; gap: 20px; padding: 0 0 32px; align-items: flex-start; }
  .step-item:last-child { padding-bottom: 0; }
  .step-node { margin-bottom: 0; flex-shrink: 0; }
  .step-connector { display: none !important; }
  .step-item > div:not(.step-node):not(.step-connector) { flex: 1; }
}
@media (max-width: 860px) {
  .pt-spine { left: 20px; }
  .pt-item { grid-template-columns: 40px 1fr; gap: 16px; margin-bottom: 52px; }
  .pt-node { width: 40px; height: 40px; font-size: 10px; }
  .pt-spacer { display: none; }
  .pt-left .pt-card { grid-column: 2; grid-row: 1; transform: translateX(20px); }
  .pt-left .pt-node { grid-column: 1; grid-row: 1; }
  .pt-right .pt-card { grid-column: 2; transform: translateX(20px); }
  .pt-right .pt-node { grid-column: 1; }
}
@media (max-width: 640px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
}


/* ─── AI SERVICE PAGE ────────────────────────── */

/* GEO Compare Cards */
.geo-compare-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: var(--max-w); margin: 0 auto; }
.geo-compare-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 36px 32px; }
.geo-compare-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.geo-compare-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.geo-compare-card ul li { font-size: 14px; color: var(--text-2); display: flex; align-items: flex-start; gap: 10px; }
.geo-compare-card ul li::before { font-weight: 900; flex-shrink: 0; }
.geo-trad li::before { content: '\1F4C8'; }
.geo-ai li::before { content: '\1F916'; }

/* GEO Visual */
.geo-visual { background: var(--dark-3); border-radius: var(--r); padding: 32px; text-align: center; }
.geo-visual p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.7; }
.geo-visual .geo-stat { font-size: 56px; font-weight: 900; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; margin-bottom: 8px; }

/* AI Split Hero */
.ai-split-hero { display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center;max-width:var(--max-w);margin:0 auto; }

/* AI Cursor Animation */
.ai-cursor { display:inline-block;width:2px;height:.9em;background:#60a5fa;margin-left:1px;vertical-align:middle;border-radius:1px;animation:ai-blink .65s step-end infinite; }
@keyframes ai-blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

/* AI Typing Dots */
.ai-typing-dots { display:inline-flex;gap:4px;align-items:center;padding:4px 0; }
.ai-typing-dots span { width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.35);animation:ai-dot 1.2s ease-in-out infinite; }
.ai-typing-dots span:nth-child(2){animation-delay:.2s;}
.ai-typing-dots span:nth-child(3){animation-delay:.4s;}
@keyframes ai-dot { 0%,80%,100%{transform:scale(.7);opacity:.4;} 40%{transform:scale(1);opacity:1;} }

/* AI responsive */
@media (max-width:960px) { .ai-split-hero { grid-template-columns:1fr;gap:48px; } }
@media (max-width: 900px) { .geo-compare-wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .tiers[style] { grid-template-columns: 1fr !important; } }


/* ─── SEO SERVICE PAGE ───────────────────────── */

/* SEO+GEO Compare Cards */
.seo-geo-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: var(--max-w); margin: 0 auto; }
.seo-geo-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 36px 32px; }
.seo-geo-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.seo-geo-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.seo-geo-card ul li { font-size: 14px; color: var(--text-2); display: flex; align-items: flex-start; gap: 10px; }
.seo-geo-card ul li::before { font-weight: 900; flex-shrink: 0; }
.seo-li::before { content: '\1F4C8'; }
.geo-li::before { content: '\1F916'; }

/* Extra Card (add-on) */
.extra-card { background: linear-gradient(135deg, #eff6ff, #f5f3ff); border: 2px solid rgba(37,99,235,.18); border-radius: var(--r); padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 28px; }
.extra-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.extra-card p { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 560px; }

/* SEO Tiers Four */
.tiers-four .tier { padding: 26px 20px; }
.tiers-four .tier h3 { font-size: 18px; }
.tiers-four .tier-price { font-size: 30px; }
.comp-pill { position: absolute; top: -13px; right: 18px; background: linear-gradient(135deg,#f59e0b,#d97706); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 20px; letter-spacing: .06em; white-space: nowrap; }

/* SEO Split Hero */
.seo-split { display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center;max-width:var(--max-w);margin:0 auto; }

/* Rank Tracker Card */
.rank-card { background:#0a0f1e;border:1px solid rgba(255,255,255,.1);border-radius:16px;overflow:hidden;font-family:'Courier New',monospace;font-size:13px; }
.rank-bar { display:flex;align-items:center;gap:6px;padding:11px 16px;background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.07); }
.rank-dot { width:10px;height:10px;border-radius:50%;flex-shrink:0; }
.rank-title { flex:1;text-align:center;font-size:11px;color:rgba(255,255,255,.3);letter-spacing:.04em; }
.rank-body { padding:18px 20px;display:flex;flex-direction:column;gap:2px; }

/* Rank Lines */
.rl { display:flex;align-items:center;gap:0;padding:5px 0;border-bottom:1px solid rgba(255,255,255,.04);opacity:0;transform:translateX(-6px);transition:opacity .2s ease,transform .2s ease; }
.rl:last-child { border-bottom:none; }
.rl.show { opacity:1;transform:none; }
.rl-prompt { color:rgba(255,255,255,.32);white-space:nowrap;margin-right:8px; }
.rl-kw { color:rgba(255,255,255,.7);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.rl-was { color:rgba(255,255,255,.28);font-size:12px;margin-right:6px;white-space:nowrap; }
.rl-arrow { color:#4ade80;margin-right:6px;font-size:14px; }
.rl-pos { font-weight:700;white-space:nowrap;font-size:13px; }
.rl-pos.p1 { color:#4ade80; }
.rl-pos.p3 { color:#34d399; }
.rl-pos.p6 { color:#60a5fa; }
.rl-pos.new { color:#a78bfa; }

/* Rank Badges */
.rl-badge { font-size:10px;font-weight:700;padding:2px 7px;border-radius:4px;margin-left:8px;white-space:nowrap; }
.badge-up { background:rgba(74,222,128,.12);border:1px solid rgba(74,222,128,.3);color:#4ade80; }
.badge-ai { background:rgba(96,165,250,.12);border:1px solid rgba(96,165,250,.3);color:#60a5fa; }
.badge-new { background:rgba(167,139,250,.12);border:1px solid rgba(167,139,250,.3);color:#a78bfa; }

/* Rank Footer */
.rank-footer { padding:10px 20px 16px;display:flex;flex-direction:column;gap:4px; }
.rf { display:flex;align-items:center;gap:8px;font-family:'Courier New',monospace;font-size:12px;opacity:0;transform:translateX(-6px);transition:opacity .2s ease,transform .2s ease; }
.rf.show { opacity:1;transform:none; }
.rf-icon { font-size:13px; }
.rf-text { color:rgba(255,255,255,.55); }
.rf-val { color:#4ade80;font-weight:700;margin-left:auto; }
.seo-rank-cursor { display:inline-block;width:7px;height:12px;background:#60a5fa;vertical-align:middle;margin-left:4px;border-radius:1px;animation:term-blink .7s step-end infinite; }

/* FAQ body adjacent paragraphs */
.faq-body p + p { margin-top: 10px; }

/* SEO responsive */
@media (max-width:960px) { .seo-split { grid-template-columns:1fr;gap:48px; } }
@media (max-width: 1100px) { .tiers-four { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 900px) { .tiers-four { grid-template-columns: 1fr !important; } .seo-geo-wrap { grid-template-columns: 1fr; } }


/* ─── WEB DESIGN SERVICE PAGE ────────────────── */

/* Why Cards Grid */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 36px 28px; transition: transform .3s var(--ease), box-shadow .3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.why-icon { font-size: 36px; margin-bottom: 16px; }
.why-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Process Steps */
.process-steps { display: flex; flex-wrap: wrap; gap: 0; counter-reset: process; margin-top: 48px; }
.process-step { flex: 1; min-width: 180px; padding: 28px 24px; position: relative; border-right: 1px solid var(--border); }
.process-step:last-child { border-right: none; }
.process-step::before { counter-increment: process; content: counter(process, decimal-leading-zero); font-size: 36px; font-weight: 900; letter-spacing: -.04em; color: var(--blue); opacity: .18; display: block; margin-bottom: 12px; }
.process-step h4 { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Web Split Hero */
.web-split { display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center;max-width:var(--max-w);margin:0 auto; }

/* Build Card (terminal-style) */
.build-card { background:#0a0f1e;border:1px solid rgba(255,255,255,.1);border-radius:16px;overflow:hidden;font-family:'Courier New',monospace;font-size:13px; }
.build-bar { display:flex;align-items:center;gap:6px;padding:11px 16px;background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.07); }
.build-dot { width:10px;height:10px;border-radius:50%;flex-shrink:0; }
.build-title { flex:1;text-align:center;font-size:11px;color:rgba(255,255,255,.3);letter-spacing:.04em; }
.build-body { padding:18px 20px;display:flex;flex-direction:column;gap:3px; }

/* Build Lines */
.bl { display:flex;align-items:center;gap:8px;padding:3px 0;opacity:0;transform:translateX(-6px);transition:opacity .18s ease,transform .18s ease; }
.bl.show { opacity:1;transform:none; }
.bl-tick { color:#4ade80;font-weight:700;flex-shrink:0;width:14px; }
.bl-tick.prompt { color:rgba(255,255,255,.3); }
.bl-text { color:rgba(255,255,255,.7);flex:1; }
.bl-tag { font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px;margin-left:auto;white-space:nowrap; }
.bt-green { background:rgba(74,222,128,.12);border:1px solid rgba(74,222,128,.28);color:#4ade80; }
.bt-blue  { background:rgba(96,165,250,.12);border:1px solid rgba(96,165,250,.28);color:#60a5fa; }
.bt-violet{ background:rgba(167,139,250,.12);border:1px solid rgba(167,139,250,.28);color:#a78bfa; }

/* Lighthouse Scores Row */
.lh-row { display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.07);border-top:1px solid rgba(255,255,255,.07); }
.lh-cell { background:#0f172a;padding:14px 8px;text-align:center; }
.lh-score { font-size:28px;font-weight:900;line-height:1;color:#4ade80; }
.lh-label { font-size:10px;color:rgba(255,255,255,.35);margin-top:5px;line-height:1.3;font-family:'Courier New',monospace; }
.build-cursor { display:inline-block;width:7px;height:12px;background:#60a5fa;vertical-align:middle;margin-left:3px;border-radius:1px;animation:build-blink .7s step-end infinite; }
@keyframes build-blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

/* Web Design responsive */
@media (max-width:960px) { .web-split { grid-template-columns:1fr;gap:48px; } }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .process-step { border-right: none; border-bottom: 1px solid var(--border); } }


/* ═══════════════════════════════════════════════════════════
   Knowledge Centre + Contact Page + Legal Pages
   Extracted from production HTML files
   ═══════════════════════════════════════════════════════════ */

/* ─── KNOWLEDGE HUB ──────────────────────────────── */

/* Knowledge nav */
.kn-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 max(24px, calc((100vw - var(--max-w)) / 2));
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.kn-logo {
  font-size: 20px; font-weight: 900; letter-spacing: -.04em;
  display: flex; align-items: center; gap: 1px;
}
.kn-logo .rabbii { color: var(--text); }
.kn-logo .co { color: var(--blue); }
.kn-nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.kn-nav-a {
  display: block; padding: 6px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2); border-radius: 8px;
  transition: color .2s, background .2s;
}
.kn-nav-a:hover { color: var(--text); background: rgba(0,0,0,.05); }
.kn-nav-a.active { color: var(--blue); }
.kn-nav-cta {
  margin-left: 8px; padding: 8px 18px;
  background: var(--blue); color: #fff;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  transition: background .2s, transform .2s;
}
.kn-nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Category badges */
.cat-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}
.cat-badge.ai       { background: rgba(37,99,235,.1);  color: #1d4ed8; }
.cat-badge.analysis { background: rgba(79,70,229,.1);  color: #4338ca; }
.cat-badge.auto     { background: rgba(124,58,237,.1); color: #6d28d9; }
.cat-badge.web      { background: rgba(5,150,105,.1);  color: #047857; }
.cat-badge.security { background: rgba(220,38,38,.1);  color: #b91c1c; }

/* Hub hero */
.hub-hero {
  background: var(--dark-bg);
  padding: 72px max(24px, calc((100vw - var(--max-w)) / 2)) 64px;
  text-align: center;
}
.hub-hero-label {
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #60a5fa; margin-bottom: 16px;
}
.hub-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900; letter-spacing: -.04em;
  line-height: 1.1; color: #fff; margin-bottom: 20px;
}
.hub-hero h1 span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hub-hero p {
  font-size: 18px; color: rgba(255,255,255,.55);
  max-width: 560px; margin: 0 auto 36px; line-height: 1.65;
}
.hub-search {
  max-width: 480px; margin: 0 auto;
  display: flex; gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; overflow: hidden;
}
.hub-search input {
  flex: 1; padding: 14px 18px;
  background: transparent; border: none; outline: none;
  color: #fff; font-size: 15px; font-family: inherit;
}
.hub-search input::placeholder { color: rgba(255,255,255,.3); }
.hub-search button {
  padding: 12px 20px; background: var(--blue);
  border: none; color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .2s;
}
.hub-search button:hover { background: var(--blue-dark); }

/* Hub body & filters */
.hub-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.hub-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px;
}
.hub-filter-btn {
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(0,0,0,.13);
  background: var(--white); color: var(--muted);
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.hub-filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.hub-filter-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Category sections */
.hub-category { margin-bottom: 64px; }
.hub-category-title {
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.hub-category-title::before {
  content: ''; width: 3px; height: 16px; border-radius: 2px;
  background: var(--cat-color, var(--blue));
}

/* Article card grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
}
.article-card:hover {
  border-color: rgba(37,99,235,.3);
  box-shadow: 0 8px 28px rgba(37,99,235,.08);
  transform: translateY(-3px);
}
.article-card-meta {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.article-card-time {
  font-size: 11px; color: var(--muted); font-weight: 500;
}
.article-card h3 {
  font-size: 16px; font-weight: 700; letter-spacing: -.02em;
  line-height: 1.4; color: var(--text);
  transition: color .2s;
}
.article-card:hover h3 { color: var(--blue); }
.article-card p {
  font-size: 13px; color: var(--muted); line-height: 1.6;
  flex: 1;
}
.article-card-link {
  font-size: 13px; font-weight: 700; color: var(--blue);
  display: flex; align-items: center; gap: 5px;
  margin-top: auto;
}
.article-card-link::after { content: '\2192'; }
.article-card:hover .article-card-link::after { transform: translateX(3px); }

/* Comparison card variant */
.article-card.comparison {
  background: linear-gradient(135deg, rgba(37,99,235,.03), rgba(124,58,237,.03));
  border-color: rgba(37,99,235,.12);
}

/* Knowledge footer */
.kn-footer {
  background: var(--dark-bg);
  padding: 48px max(24px, calc((100vw - var(--max-w)) / 2));
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.kn-footer-logo {
  font-size: 18px; font-weight: 900; letter-spacing: -.04em;
}
.kn-footer-logo .rabbii { color: #fff; }
.kn-footer-logo .co { color: #60a5fa; }
.kn-footer p { font-size: 13px; color: rgba(255,255,255,.35); }
.kn-footer-links { display: flex; gap: 20px; }
.kn-footer-links a { font-size: 13px; color: rgba(255,255,255,.4); transition: color .2s; }
.kn-footer-links a:hover { color: #fff; }

/* ─── KNOWLEDGE ARTICLE ──────────────────────── */

/* Breadcrumb */
.breadcrumb {
  padding: 14px max(24px, calc((100vw - var(--max-w)) / 2));
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: .4; }

/* Article header */
.article-header {
  background: var(--dark-bg);
  padding: 56px max(24px, calc((100vw - var(--max-w)) / 2)) 52px;
}
.article-header-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.article-read-time {
  font-size: 12px; color: rgba(255,255,255,.4); font-weight: 500;
}
.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; letter-spacing: -.04em;
  line-height: 1.15; color: #fff; margin-bottom: 18px;
  max-width: 820px;
}
.article-header h1 span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.article-intro {
  font-size: 18px; color: rgba(255,255,255,.55);
  max-width: 680px; line-height: 1.7;
}

/* Article layout */
.article-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.article-content { min-width: 0; }
.article-content h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -.03em;
  color: var(--text); margin: 40px 0 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
  font-size: 17px; font-weight: 700; letter-spacing: -.02em;
  color: var(--text); margin: 24px 0 10px;
}
.article-content p {
  font-size: 16px; color: var(--text-2);
  line-height: 1.8; margin-bottom: 16px;
}
.article-content ul, .article-content ol {
  padding-left: 22px; margin-bottom: 18px;
}
.article-content li {
  font-size: 16px; color: var(--text-2); line-height: 1.75;
  margin-bottom: 6px;
}
.article-content strong { color: var(--text); font-weight: 700; }
.article-content a { color: var(--blue); }
.article-content a:hover { text-decoration: underline; }
.article-content .btn-primary,
.article-content .btn-primary:hover { color: #fff; text-decoration: none; }

/* Callout boxes */
.callout {
  border-radius: 8px;
  padding: 18px 20px; margin: 24px 0;
  display: flex; gap: 14px;
}
.callout.info {
  background: rgba(37,99,235,.06);
  border: 1px solid rgba(37,99,235,.15);
}
.callout.warning {
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.18);
}
.callout-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.callout-body { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.callout-body strong { color: var(--text); }

/* Definition box */
.definition-box {
  background: var(--surface); border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 20px 22px; margin: 24px 0;
}
.definition-box p {
  font-size: 16px; font-style: italic;
  color: var(--text); margin: 0; line-height: 1.65;
}

/* Comparison table */
.compare-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 14px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border);
}
.compare-table th {
  background: var(--dark-bg); color: #fff;
  padding: 12px 16px; text-align: left; font-weight: 700;
}
.compare-table td {
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-2); vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--surface); }

/* Article FAQ section */
.faq-section { margin-top: 48px; }
.faq-section h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -.03em;
  margin-bottom: 20px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%; padding: 16px 20px;
  background: var(--surface);
  border: none; outline: none;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer; font-family: inherit; text-align: left;
  gap: 16px;
}
.faq-q:hover { background: var(--surface-2); }
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--blue); transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 1000px;
  padding: 14px 20px 18px;
}

/* Article bottom CTA */
.article-cta-box {
  margin-top: 48px; padding: 32px 28px;
  background: linear-gradient(135deg, #020617, #0f172a);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; text-align: center;
}
.article-cta-box h3 {
  font-size: 20px; font-weight: 800; color: #fff;
  margin-bottom: 10px; letter-spacing: -.03em;
}
.article-cta-box p { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 20px; }

/* Knowledge btn-ghost */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7);
  border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.4); color: #fff; }

/* Related articles */
.related-section {
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.related-section h2 {
  font-size: 18px; font-weight: 800; margin-bottom: 20px;
  border: none; padding: 0;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.related-card {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 20px 18px; transition: border-color .2s, transform .2s;
}
.related-card:hover { border-color: rgba(37,99,235,.3); transform: translateY(-2px); }
.related-card h4 {
  font-size: 14px; font-weight: 700; color: var(--text);
  line-height: 1.4; margin-bottom: 6px;
  transition: color .2s;
}
.related-card:hover h4 { color: var(--blue); }
.related-card p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* Article sidebar */
.article-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 24px; }

.sidebar-toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
}
.sidebar-toc h4 {
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.sidebar-toc ol { padding-left: 16px; }
.sidebar-toc li { margin-bottom: 8px; }
.sidebar-toc a {
  font-size: 13px; color: var(--text-2); line-height: 1.4;
  transition: color .2s;
}
.sidebar-toc a:hover { color: var(--blue); }

.sidebar-cta {
  background: linear-gradient(135deg, #020617, #0f172a);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 24px 20px; text-align: center;
}
.sidebar-cta-icon { font-size: 28px; margin-bottom: 10px; }
.sidebar-cta h4 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.sidebar-cta p { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 16px; line-height: 1.55; }
.sidebar-cta-btn {
  display: block; padding: 10px 16px;
  background: var(--blue); color: #fff;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  transition: background .2s; text-align: center;
}
.sidebar-cta-btn:hover { background: var(--blue-dark); }

.sidebar-links {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
}
.sidebar-links h4 {
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.sidebar-link-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-2); transition: color .2s;
}
.sidebar-link-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-link-item:hover { color: var(--blue); }
.sidebar-link-item::before { content: '\2192'; color: var(--blue); flex-shrink: 0; }

/* Reading progress bar (knowledge article variant) */
.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  transition: width .1s linear;
}

/* Knowledge responsive */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .kn-nav-links { display: none; }
}
@media (max-width: 640px) {
  .article-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .hub-filters { gap: 6px; }
  .hub-filter-btn { font-size: 12px; padding: 7px 14px; }
}

/* ─── CONTACT PAGE ───────────────────────────────── */

/* Contact methods grid */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.contact-method-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r); padding: 32px 28px; text-align: center;
  transition: border-color .3s, box-shadow .3s;
}
.contact-method-card:hover { border-color: rgba(37,99,235,.35); box-shadow: 0 8px 28px rgba(37,99,235,.07); }
.cm-icon { font-size: 36px; margin-bottom: 16px; }
.cm-title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -.02em; }
.cm-desc { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 16px; }
.cm-link { font-size: 14px; font-weight: 600; color: #60a5fa; text-decoration: none; transition: color .2s; }
.cm-link:hover { color: #fff; }

/* Contact layout */
.contact-page-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contact-info ul li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.contact-info ul li::before { content: '\2713'; color: var(--blue); font-weight: 900; flex-shrink: 0; margin-top: 1px; }
.contact-guarantee {
  background: rgba(37,99,235,.06); border-left: 3px solid var(--blue);
  padding: 16px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14px; color: var(--text-2); line-height: 1.6;
}
.contact-guarantee strong { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); margin-bottom: 6px; }

/* Calendly placeholder */
.calendly-wrap {
  background: var(--surface); border: 2px dashed rgba(37,99,235,.2);
  border-radius: var(--r); padding: 48px 32px; text-align: center;
  margin-bottom: 60px;
}
.calendly-wrap p { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* CTA banner (contact page) */
.banner {
  background: var(--dark-2); padding: 80px max(24px, calc((100vw - var(--max-w)) / 2));
  text-align: center; position: relative; overflow: hidden;
}
.banner::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.2) 0%, transparent 70%);
}
.banner > * { position: relative; z-index: 1; }
.banner h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 900; letter-spacing: -.03em; color: #fff; margin-bottom: 16px; }
.banner p { font-size: 18px; color: rgba(255,255,255,.6); max-width: 520px; margin: 0 auto 40px; }

/* Contact responsive */
@media (max-width: 1024px) {
  .contact-methods { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 900px) {
  .contact-page-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .contact-methods { grid-template-columns: 1fr; }
}

/* ─── LEGAL PAGES (Privacy / Terms) ──────────── */

/* Legal page hero */
.page-hero {
  background: var(--dark-2);
  padding: 72px max(20px, calc((100vw - 900px) / 2)) 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 400px at 40% 60%, rgba(37,99,235,.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(37,99,235,.4), transparent);
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: #60a5fa;
  background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.2);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px); font-weight: 900;
  letter-spacing: -.04em; color: #fff; line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero h1 span {
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.hero-date {
  font-size: 14px; color: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: 6px;
}
.hero-toc-btn {
  font-size: 13px; font-weight: 600; color: #60a5fa;
  background: rgba(37,99,235,.1); border: 1px solid rgba(37,99,235,.2);
  padding: 6px 14px; border-radius: 20px; cursor: pointer;
  text-decoration: none; transition: background .2s, color .2s;
  display: flex; align-items: center; gap: 6px;
}
.hero-toc-btn:hover { background: rgba(37,99,235,.2); color: #93c5fd; }

/* Legal page layout */
.page-wrap {
  max-width: 900px; margin: 0 auto;
  padding: 48px 20px 80px;
  display: grid; grid-template-columns: 1fr 260px; gap: 40px;
  align-items: start;
}
@media (max-width: 768px) { .page-wrap { grid-template-columns: 1fr; } }

/* Legal sidebar TOC */
.toc-sidebar {
  position: sticky; top: 84px;
  background: var(--white); border-radius: var(--r);
  padding: 24px; border: 1px solid var(--border);
  box-shadow: var(--shadow-s);
}
.toc-title {
  font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  font-size: 13px; color: var(--text-2); text-decoration: none;
  padding: 6px 10px; border-radius: 8px; display: block;
  transition: background .15s, color .15s;
  line-height: 1.4;
}
.toc-list a:hover, .toc-list a.active {
  background: rgba(37,99,235,.07); color: var(--blue);
}
.toc-sidebar hr { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.terms-link-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  text-decoration: none; padding: 8px 10px; border-radius: 8px;
  background: rgba(37,99,235,.06); transition: background .2s;
}
.terms-link-btn:hover { background: rgba(37,99,235,.12); }
.oaic-badge {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(99,102,241,.06));
  border: 1px solid rgba(37,99,235,.12); border-radius: 10px;
  padding: 10px 12px; margin-top: 12px;
}
.oaic-badge span { font-size: 20px; }
.oaic-badge p { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 768px) { .toc-sidebar { display: none; } }

/* Legal main content */
.legal-content { min-width: 0; }

/* Highlight box */
.highlight-box {
  background: var(--white);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--r);
  padding: 28px 32px;
  margin-bottom: 32px;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 24px rgba(37,99,235,.08), 0 0 0 1px rgba(37,99,235,.06);
}
.highlight-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
}
.highlight-box::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(37,99,235,.08), transparent 70%);
  pointer-events: none;
}
.highlight-box .hb-label {
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.highlight-box p {
  font-size: 14.5px; color: var(--text-2); line-height: 1.75; margin: 0;
}
.highlight-box p + p { margin-top: 10px; }
.highlight-box strong { color: var(--text); }

/* Rights grid */
.rights-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 16px 0;
}
@media (max-width: 600px) { .rights-grid { grid-template-columns: 1fr; } }
.rights-item {
  background: linear-gradient(135deg, rgba(37,99,235,.04), rgba(99,102,241,.04));
  border: 1px solid rgba(37,99,235,.1); border-radius: var(--r-sm);
  padding: 16px; display: flex; gap: 10px; align-items: flex-start;
}
.rights-item .ri-icon { font-size: 20px; flex-shrink: 0; }
.rights-item p { font-size: 13px; color: var(--text-2); line-height: 1.5; margin: 0; }
.rights-item strong { font-size: 13px; color: var(--text); display: block; margin-bottom: 2px; }

/* Section cards */
.section-card {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); padding: 32px;
  margin-bottom: 20px; box-shadow: var(--shadow-s);
  transition: box-shadow .25s, border-color .25s;
}
.section-card:hover {
  box-shadow: var(--shadow-m); border-color: rgba(37,99,235,.1);
}
.section-card h2 {
  font-size: 18px; font-weight: 800; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(99,102,241,.12));
  font-size: 12px; font-weight: 800; color: var(--blue);
  flex-shrink: 0;
}
.section-card h3 {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 20px 0 10px;
}
.section-card p {
  font-size: 14.5px; color: var(--text-2); line-height: 1.75; margin-bottom: 14px;
}
.section-card p:last-child { margin-bottom: 0; }

/* Legal lists */
.legal-list {
  list-style: none; display: flex; flex-direction: column;
  gap: 10px; margin: 0 0 14px;
}
.legal-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; color: var(--text-2); line-height: 1.65;
}
.legal-list li::before {
  content: ''; flex-shrink: 0; margin-top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad);
}
.legal-list li strong { color: var(--text); }
.legal-list:last-child { margin-bottom: 0; }

/* Security shield card */
.security-card {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  border: 1px solid rgba(99,102,241,.25); border-radius: var(--r-sm);
  padding: 20px 24px; margin: 16px 0;
}
.security-card .sc-title {
  font-size: 13px; font-weight: 700; color: #a5b4fc; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.security-card ul {
  list-style: none; display: flex; flex-direction: column; gap: 7px;
}
.security-card li {
  font-size: 13.5px; color: rgba(255,255,255,.7);
  display: flex; gap: 10px; align-items: center;
}
.security-card li::before { content: '\2713'; color: #60a5fa; font-weight: 800; flex-shrink: 0; }

/* Glass callout */
.glass-callout {
  background: rgba(255,255,255,.7); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--r-sm); padding: 20px 24px; margin: 16px 0;
  box-shadow: 0 4px 16px rgba(37,99,235,.08);
  display: flex; gap: 12px; align-items: flex-start;
}
.glass-callout .icon { font-size: 18px; flex-shrink: 0; }
.glass-callout p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; margin: 0; }
.glass-callout p strong { color: var(--text); }

/* Disclaimer card */
.disclaimer-card {
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  border: 1px solid rgba(37,99,235,.18); border-radius: var(--r-sm);
  padding: 18px 20px; margin: 16px 0;
  display: flex; gap: 12px; align-items: flex-start;
}
.disclaimer-card .icon { font-size: 18px; flex-shrink: 0; }
.disclaimer-card p { font-size: 13.5px; color: #1e3a8a; line-height: 1.65; margin: 0; }

/* Back to top (legal pages) */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 4px 20px rgba(99,102,241,.4);
  opacity: 0; transform: translateY(20px) scale(.9);
  transition: opacity .3s, transform .3s;
  z-index: 500;
}
#back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); }
#back-to-top:hover { transform: translateY(-3px) scale(1.05); }

/* Legal nav helpers */
.back-link {
  color: rgba(255,255,255,.7); text-decoration: none;
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.back-link:hover { color: #fff; }
.nav-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  padding: 3px 8px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
}

/* Legal page footer (simplified) */
.footer-links {
  display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.28); }

/* ═══════════════════════════════════════════════════════════
   AUTH PAGES — sign-in / sign-up
   ═══════════════════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0f 0%, #111827 50%, #0a0a0f 100%);
  padding: 40px 20px;
}
.auth-container {
  width: 100%;
  max-width: 440px;
}

/* ═══════════════════════════════════════════════════════════
   PORTAL LAYOUT — authenticated client area
   ═══════════════════════════════════════════════════════════ */
.portal-shell {
  display: flex;
  min-height: 100vh;
  background: #0a0a0f;
  color: #e5e7eb;
}

/* Sidebar */
.portal-sidebar {
  width: 260px;
  background: #111827;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
}
.portal-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  letter-spacing: -0.03em;
}
.portal-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px;
  flex: 1;
}
.portal-nav-link {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.portal-nav-link:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.portal-sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Main content */
.portal-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
}
.portal-header {
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(17,24,39,.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.portal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}
.portal-header-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.portal-content {
  flex: 1;
  padding: 32px;
  max-width: 1200px;
  width: 100%;
}

/* Dashboard cards */
.portal-welcome {
  margin-bottom: 32px;
}
.portal-welcome h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.portal-welcome p {
  color: rgba(255,255,255,.5);
  font-size: 15px;
  max-width: 600px;
}
.portal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.portal-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 24px;
}
.portal-card h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px;
}
.portal-card-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.portal-card-sub {
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* Intake section */
.portal-intake-section {
  margin-top: 16px;
}
.portal-intake-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.portal-intake-section > p {
  color: rgba(255,255,255,.5);
  font-size: 14px;
  margin-bottom: 20px;
}
.portal-intake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.portal-intake-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .2s, background .2s;
}
.portal-intake-card:hover {
  border-color: rgba(139,92,246,.4);
  background: rgba(139,92,246,.06);
}
.portal-intake-icon {
  font-size: 24px;
}

/* ------------------------------------------------------------------ */
/*  Documents page                                                     */
/* ------------------------------------------------------------------ */

.portal-documents {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.portal-documents-header {
  margin-bottom: 8px;
}
.portal-documents-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.portal-documents-subtitle {
  color: rgba(255,255,255,.5);
  font-size: 15px;
}

/* Filter tabs */
.portal-documents-filters {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
}
.portal-documents-tab {
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.portal-documents-tab:hover {
  color: rgba(255,255,255,.8);
}
.portal-documents-tab--active {
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* Empty state */
.portal-documents-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.01);
}
.portal-documents-empty-icon {
  color: rgba(255,255,255,.2);
  margin-bottom: 16px;
}
.portal-documents-empty-text {
  color: rgba(255,255,255,.4);
  font-size: 14px;
  max-width: 420px;
  line-height: 1.6;
}

/* Document cards grid */
.portal-documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* Document card */
.portal-doc-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portal-doc-card--skeleton {
  opacity: 0.45;
  pointer-events: none;
}
.portal-doc-card-badge {
  display: inline-block;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
}
.portal-doc-card-title-skel {
  height: 18px;
  width: 75%;
  background: rgba(255,255,255,.06);
  border-radius: 4px;
}
.portal-doc-card-meta-skel {
  height: 13px;
  width: 50%;
  background: rgba(255,255,255,.04);
  border-radius: 4px;
}
.portal-doc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.portal-doc-card-status-skel {
  height: 12px;
  width: 60px;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
}
.portal-doc-card-dl-skel {
  height: 12px;
  width: 40px;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
}

/* ------------------------------------------------------------------ */
/*  Settings page                                                      */
/* ------------------------------------------------------------------ */

.portal-settings {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.portal-settings-header {
  margin-bottom: 0;
}
.portal-settings-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.portal-settings-subtitle {
  color: rgba(255,255,255,.5);
  font-size: 15px;
}
.portal-settings-profile {
  max-width: 880px;
}
/* Override Clerk default card white background in dark portal */
.portal-settings-profile .cl-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: none;
}

/* Portal responsive */
@media (max-width: 768px) {
  .portal-sidebar {
    display: none;
  }
  .portal-main {
    margin-left: 0;
  }
  .portal-content {
    padding: 20px 16px;
  }
  .portal-documents-filters {
    width: 100%;
    overflow-x: auto;
  }
  .portal-documents-grid {
    grid-template-columns: 1fr;
  }
}

/* Duplicate intake/docs/settings CSS removed — agent-authored versions below */

/* ═══════════════════════════════════════════════════════════
   INTAKE FORMS
   ═══════════════════════════════════════════════════════════ */

.intake-page {
  max-width: 720px;
}

.intake-back-link {
  display: inline-block;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 24px;
  transition: color .15s;
}
.intake-back-link:hover {
  color: #fff;
}

.intake-header {
  margin-bottom: 32px;
}
.intake-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.intake-header p {
  color: rgba(255,255,255,.5);
  font-size: 15px;
  line-height: 1.6;
  max-width: 600px;
}

/* Form layout */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Error banner */
.intake-error-banner {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 14px;
}

/* Field group */
.intake-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Labels */
.intake-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
.intake-required {
  color: #a78bfa;
}

/* Text inputs */
.intake-input,
.intake-select,
.intake-textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.intake-input::placeholder,
.intake-textarea::placeholder {
  color: rgba(255,255,255,.25);
}
.intake-input:focus,
.intake-select:focus,
.intake-textarea:focus {
  border-color: rgba(139,92,246,.5);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}

/* Select arrow colour fix */
.intake-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Textarea */
.intake-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

/* Fieldset / checkbox group */
.intake-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.intake-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 4px;
}
.intake-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  user-select: none;
}
.intake-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.intake-checkbox:checked {
  background: #8b5cf6;
  border-color: #8b5cf6;
}
.intake-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.intake-checkbox:focus-visible {
  box-shadow: 0 0 0 3px rgba(139,92,246,.3);
}

/* Field-level errors */
.intake-field-error {
  color: #fca5a5;
  font-size: 13px;
}

/* Submit button */
.intake-submit {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  align-self: flex-start;
  margin-top: 8px;
}
.intake-submit:hover {
  opacity: 0.9;
}
.intake-submit:active {
  transform: scale(0.98);
}
.intake-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success state */
.intake-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 24px;
  max-width: 520px;
  margin: 0 auto;
}
.intake-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(139,92,246,.15);
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}
.intake-success h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.intake-success p {
  color: rgba(255,255,255,.5);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 640px) {
  .intake-checkbox-group {
    flex-direction: column;
    gap: 10px;
  }
  .intake-submit {
    width: 100%;
    text-align: center;
  }
}

/* ===================================================================
   ADMIN PANEL
   Same dark theme as portal with amber/orange accent.
   =================================================================== */

.admin-shell {
  display: flex;
  min-height: 100vh;
  background: #0a0a0f;
  color: #e5e7eb;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  background: #111827;
  border-right: 1px solid rgba(245,158,11,.12);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
}
.admin-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0a0a0f;
  background: #f59e0b;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.4;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px;
  flex: 1;
}
.admin-nav-link {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.admin-nav-link:hover {
  background: rgba(245,158,11,.08);
  color: #f59e0b;
}
.admin-sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Main content */
.admin-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
}
.admin-header {
  height: 64px;
  border-bottom: 1px solid rgba(245,158,11,.1);
  background: rgba(17,24,39,.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}
.admin-header-title {
  font-size: 16px;
  font-weight: 600;
  color: #f59e0b;
}
.admin-content {
  flex: 1;
  padding: 32px;
  max-width: 1200px;
  width: 100%;
}

/* Admin page structure */
.admin-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.admin-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.admin-page-subtitle {
  color: rgba(255,255,255,.5);
  font-size: 15px;
}
.admin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f59e0b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color .15s;
}
.admin-back-link:hover {
  color: #fbbf24;
}

/* Admin cards grid */
.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.admin-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 24px;
}
.admin-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.admin-card-value {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}
.admin-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.admin-card-top h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0;
}
.admin-card-badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  color: #f59e0b;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.2);
  padding: 2px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.admin-card-description {
  color: rgba(255,255,255,.5);
  font-size: 14px;
  line-height: 1.6;
}
.admin-card--playbook {
  border-color: rgba(245,158,11,.08);
}
.admin-placeholder-note {
  color: rgba(255,255,255,.35);
  font-size: 14px;
  font-style: italic;
  padding-top: 8px;
}

/* Admin table */
.admin-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: rgba(255,255,255,.7);
}
.admin-table tbody tr:last-child td {
  border-bottom: none;
}
.admin-table tbody tr:hover {
  background: rgba(245,158,11,.04);
}
.admin-table-link {
  color: #f59e0b;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
}
.admin-table-link:hover {
  color: #fbbf24;
  text-decoration: underline;
}
.admin-table-empty {
  text-align: center;
  color: rgba(255,255,255,.35);
  padding: 32px 16px !important;
}

/* Admin invite section */
.admin-invite-section {
  margin-bottom: 8px;
}
.admin-invite-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f59e0b;
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.admin-invite-toggle:hover {
  background: #d97706;
}
.admin-invite-form-wrapper {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(245,158,11,.15);
  border-radius: 12px;
  padding: 24px;
  max-width: 480px;
}
.admin-invite-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.admin-invite-form-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.admin-invite-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  font-size: 24px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color .15s;
}
.admin-invite-close:hover {
  color: #fff;
}
.admin-invite-success {
  font-size: 14px;
  color: #22c55e;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  margin-bottom: 12px;
}
.admin-invite-error {
  font-size: 14px;
  color: #ef4444;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  margin-bottom: 12px;
}

/* Admin detail (client detail page) */
.admin-detail-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 32px;
}
.admin-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-detail-avatar {
  border-radius: 50%;
  border: 2px solid rgba(245,158,11,.3);
}
.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.admin-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-detail-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.admin-detail-value {
  font-size: 15px;
  color: #fff;
  word-break: break-all;
}
.admin-detail-meta {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.admin-detail-meta-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.admin-detail-meta-pre {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

/* ===================================================================
   ADMIN ONBOARD FORM
   =================================================================== */

.admin-onboard-form {
  max-width: 720px;
}
.admin-onboard-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(245,158,11,.08);
  border-radius: 12px;
}
.admin-onboard-section-title {
  font-size: 15px;
  font-weight: 600;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.admin-onboard-required {
  color: #f59e0b;
}
.admin-onboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .admin-onboard-row {
    grid-template-columns: 1fr;
  }
}

/* Dynamic list (scope items / deliverables) */
.admin-onboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-onboard-list-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-onboard-list-row .intake-input {
  flex: 1;
}
.admin-onboard-list-remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 6px;
  color: #f87171;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.admin-onboard-list-remove:hover {
  background: rgba(239,68,68,.2);
  border-color: rgba(239,68,68,.35);
}
.admin-onboard-list-add {
  align-self: flex-start;
  background: none;
  border: 1px dashed rgba(245,158,11,.25);
  border-radius: 6px;
  color: #f59e0b;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.admin-onboard-list-add:hover {
  background: rgba(245,158,11,.06);
  border-color: rgba(245,158,11,.4);
}

/* Submit button — amber gradient */
.admin-onboard-submit {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0a0f;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  align-self: flex-start;
  margin-top: 8px;
}
.admin-onboard-submit:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}
.admin-onboard-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Admin onboard — focus states (amber) */
.admin-onboard-form .intake-input:focus,
.admin-onboard-form .intake-select:focus {
  border-color: rgba(245,158,11,.5);
  box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}

/* Success state */
.admin-onboard-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}
.admin-onboard-success-icon {
  color: #22c55e;
}
.admin-onboard-success-text {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  max-width: 400px;
}

/* ===================================================================
   PORTAL DOCUMENT STATUS BADGES
   =================================================================== */

.portal-doc-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: capitalize;
}
.portal-doc-status-icon {
  flex-shrink: 0;
}
.portal-doc-status-draft {
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.portal-doc-status-sent {
  color: #60a5fa;
  background: rgba(96,165,250,.1);
  border: 1px solid rgba(96,165,250,.2);
}
.portal-doc-status-viewed {
  color: #fbbf24;
  background: rgba(251,191,36,.1);
  border: 1px solid rgba(251,191,36,.2);
}
.portal-doc-status-signed {
  color: #4ade80;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.2);
}
.portal-doc-status-expired {
  color: #f87171;
  background: rgba(248,113,113,.1);
  border: 1px solid rgba(248,113,113,.2);
}

/* Document card — real data additions */
.portal-doc-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.portal-doc-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.portal-doc-card-service {
  color: rgba(255,255,255,.55);
}
.portal-doc-card-date {
  color: rgba(255,255,255,.35);
}
.portal-doc-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Review & Sign button */
.portal-doc-sign-btn {
  padding: 6px 16px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.portal-doc-sign-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Download link */
.portal-doc-download-link {
  color: rgba(255,255,255,.45);
  font-size: 13px;
  text-decoration: none;
  transition: color .15s;
}
.portal-doc-download-link:hover {
  color: #a78bfa;
}

/* ===================================================================
   PORTAL SIGN AGREEMENT MODAL
   =================================================================== */

.portal-sign-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  padding: 24px;
}
.portal-sign-modal {
  background: #111827;
  border: 1px solid rgba(139,92,246,.15);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Header */
.portal-sign-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.portal-sign-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.portal-sign-close-x {
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.portal-sign-close-x:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* Details */
.portal-sign-details {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.portal-sign-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.portal-sign-detail-label {
  color: rgba(255,255,255,.45);
}
.portal-sign-detail-value {
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

/* Content area */
.portal-sign-content {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.portal-sign-content-note {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin: 0 0 12px;
}
.portal-sign-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a78bfa;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.portal-sign-download-link:hover {
  color: #c4b5fd;
}

/* Signature form */
.portal-sign-form {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Formal signature box */
.portal-sign-box {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(139,92,246,.15);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.portal-sign-box-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
}

/* Checkbox */
.portal-sign-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  user-select: none;
  line-height: 1.5;
}
.portal-sign-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background .15s, border-color .15s;
}
.portal-sign-checkbox:checked {
  background: #8b5cf6;
  border-color: #8b5cf6;
}
.portal-sign-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.portal-sign-checkbox:focus-visible {
  box-shadow: 0 0 0 3px rgba(139,92,246,.3);
}

/* Signature input */
.portal-sign-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.portal-sign-input-label {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.portal-sign-input {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 16px;
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.portal-sign-input:focus {
  border-color: rgba(139,92,246,.5);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}
.portal-sign-input::placeholder {
  color: rgba(255,255,255,.2);
  font-style: italic;
}

/* Date display */
.portal-sign-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.portal-sign-date-label {
  color: rgba(255,255,255,.4);
}
.portal-sign-date-value {
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* Sign button */
.portal-sign-submit {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  align-self: stretch;
}
.portal-sign-submit:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}
.portal-sign-submit:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Close button */
.portal-sign-close-btn {
  padding: 10px 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}
.portal-sign-close-btn:hover {
  background: rgba(255,255,255,.08);
}

/* Success state */
.portal-sign-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}
.portal-sign-success-icon {
  color: #4ade80;
  animation: portal-sign-pop .4s ease-out;
}
@keyframes portal-sign-pop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.portal-sign-success-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.portal-sign-success-text {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  max-width: 360px;
  line-height: 1.5;
}

/* ===================================================================
   RESPONSIVE — ADMIN
   =================================================================== */

/* Admin responsive */
@media (max-width: 768px) {
  .admin-sidebar {
    display: none;
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-content {
    padding: 20px 16px;
  }
  .admin-cards {
    grid-template-columns: 1fr;
  }
  .admin-table-wrapper {
    font-size: 13px;
  }
  .admin-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-onboard-form {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   COMMAND PALETTE — Cmd+K global search overlay
   ═══════════════════════════════════════════════════════════ */

/* ── Overlay backdrop ─────────────────────────────────────── */
.cmd-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: cmdFadeIn 0.15s ease;
}

/* ── Modal container ──────────────────────────────────────── */
.cmd-modal {
  width: 100%;
  max-width: 640px;
  margin: 0 16px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: cmdScaleIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Search input area ────────────────────────────────────── */
.cmd-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cmd-search-icon {
  flex-shrink: 0;
  color: #64748b;
}

.cmd-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #f1f5f9;
  font-size: 16px;
  font-family: inherit;
  caret-color: #3b82f6;
}

.cmd-input::placeholder {
  color: #475569;
}

.cmd-close-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ── Keyboard hint badges ─────────────────────────────────── */
.cmd-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: #94a3b8;
  font-size: 11px;
  font-family: inherit;
  line-height: 1;
}

.cmd-kbd--sm {
  min-width: 20px;
  height: 18px;
  font-size: 10px;
  padding: 0 4px;
}

/* ── Results area ─────────────────────────────────────────── */
.cmd-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.cmd-results::-webkit-scrollbar {
  width: 6px;
}

.cmd-results::-webkit-scrollbar-track {
  background: transparent;
}

.cmd-results::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* ── Result groups ────────────────────────────────────────── */
.cmd-group {
  margin-bottom: 4px;
}

.cmd-group-label {
  padding: 8px 12px 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Individual result ────────────────────────────────────── */
.cmd-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  color: #e2e8f0;
  font-size: 14px;
  font-family: inherit;
  transition: background 0.1s ease;
}

.cmd-result:hover,
.cmd-result--active {
  background: rgba(255, 255, 255, 0.06);
}

.cmd-result-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 12px;
}

/* ── Category badges ──────────────────────────────────────── */
.cmd-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cmd-badge--page {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
}

.cmd-badge--service {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
}

.cmd-badge--knowledge {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
}

/* ── Empty state ──────────────────────────────────────────── */
.cmd-empty {
  padding: 32px 16px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.cmd-empty--hint {
  color: #475569;
}

/* ── Footer ───────────────────────────────────────────────── */
.cmd-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cmd-footer-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #475569;
  font-size: 11px;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes cmdFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cmdScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ── Responsive: smaller screens ──────────────────────────── */
@media (max-width: 640px) {
  .cmd-overlay {
    padding-top: 8vh;
  }
  .cmd-modal {
    border-radius: 12px;
  }
  .cmd-results {
    max-height: 50vh;
  }
  .cmd-footer {
    gap: 10px;
    flex-wrap: wrap;
  }
}


/* ═══════════════════════════════════════════════════════════
   PRINT STYLESHEET
   Optimised for paper: light theme, no decoration, readable.
   ═══════════════════════════════════════════════════════════ */

@media print {

  /* ── Hide non-content elements ─────────────────────────── */
  header,
  nav,
  footer,
  .navbar,
  .nav,
  .site-header,
  .site-footer,
  .footer,
  #progress-bar,
  #scroll-top,
  .scroll-progress,
  .sticky-cta,
  .sticky-mobile-cta,
  .exit-popup,
  .exit-popup-overlay,
  .cmd-overlay,
  .cmd-modal,
  .particle-canvas,
  .particles,
  .glow-orb,
  .bg-glow,
  .hero-particles,
  .floating-orb,
  .decorative-blur,
  .cookie-banner,
  .chat-widget,
  .back-to-top,
  .social-proof-bar,
  .scroll-indicator,
  .animated-bg,
  .gradient-bg,
  .noise-overlay,
  [data-noprint],
  .no-print {
    display: none !important;
  }

  /* ── Force light theme ─────────────────────────────────── */
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    margin: 0;
    padding: 0;
  }

  /* ── Typography for paper ──────────────────────────────── */
  h1 { font-size: 22pt; margin: 0 0 8pt; }
  h2 { font-size: 18pt; margin: 16pt 0 6pt; }
  h3 { font-size: 14pt; margin: 12pt 0 4pt; }
  h4, h5, h6 { font-size: 12pt; margin: 10pt 0 4pt; }

  p, li, td, th {
    font-size: 11pt;
    line-height: 1.6;
  }

  /* ── Full-width content ────────────────────────────────── */
  main,
  article,
  section,
  .container,
  .wrapper,
  .content,
  .article-content,
  .service-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
  }

  /* ── Remove dark backgrounds and gradients ─────────────── */
  [class*="dark"],
  [class*="bg-"],
  [class*="gradient"],
  [style*="background"] {
    background: #fff !important;
    background-image: none !important;
  }

  /* ── Links: show URL ───────────────────────────────────── */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
    word-break: break-all;
  }

  /* Don't show URL for internal anchors or javascript links */
  a[href^="#"]::after,
  a[href^="javascript"]::after,
  a[href^="mailto"]::after,
  a[href^="tel"]::after {
    content: none;
  }

  /* ── Images ────────────────────────────────────────────── */
  img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
  }

  /* ── Knowledge articles: single-column layout ──────────── */
  .article-layout,
  .article-grid,
  .knowledge-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  .article-sidebar,
  .sidebar {
    margin-top: 16pt;
    border-top: 1pt solid #ccc;
    padding-top: 8pt;
  }

  /* ── Service pages: linearise ──────────────────────────── */
  .service-grid,
  .features-grid,
  .pricing-grid,
  .cards-grid,
  .benefits-grid {
    display: block !important;
  }

  .service-card,
  .feature-card,
  .pricing-card,
  .benefit-card {
    page-break-inside: avoid;
    margin-bottom: 12pt;
    border: 1pt solid #ddd;
    padding: 8pt;
  }

  /* ── Remove animations ─────────────────────────────────── */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* ── Contact form: hide, show contact details ──────────── */
  form,
  .contact-form,
  .form-section {
    display: none !important;
  }

  .contact-info,
  .contact-details {
    display: block !important;
  }

  /* ── Page break control ────────────────────────────────── */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }

  table, figure, img, pre, blockquote {
    page-break-inside: avoid;
  }

  .card,
  .service-card,
  .feature-card,
  .pricing-card,
  .knowledge-card {
    page-break-inside: avoid;
  }

  /* ── Tables ────────────────────────────────────────────── */
  table {
    border-collapse: collapse;
    width: 100%;
  }

  th, td {
    border: 1pt solid #ccc !important;
    padding: 4pt 8pt;
    text-align: left;
  }

  /* ── Code blocks ───────────────────────────────────────── */
  pre, code {
    font-size: 9pt;
    border: 1pt solid #ddd;
    padding: 4pt;
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  /* ── Decorative spans (gradient text) ──────────────────── */
  span[class*="gradient"],
  .gradient-text,
  [style*="background-clip: text"],
  [style*="-webkit-background-clip: text"] {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
  }

  /* ── Ensure enough contrast ────────────────────────────── */
  .muted, .text-muted, [class*="muted"] {
    color: #333 !important;
  }

  /* ── Add print header ──────────────────────────────────── */
  @page {
    margin: 2cm;
    size: A4;
  }
}


/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY & MOBILE RESPONSIVENESS FIXES
   Added: 2026-03-19
   ═══════════════════════════════════════════════════════════ */

/* ─── PREVENT HORIZONTAL OVERFLOW ────────────────────── */
html { overflow-x: hidden; }
body { overflow-x: hidden; min-width: 320px; }

/* ─── SKIP NAVIGATION LINK ──────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ─── GLOBAL FOCUS-VISIBLE STYLES ───────────────────── */
:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}
/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}
/* Specific overrides for elements with custom focus rings */
.fg input:focus-visible,
.fg select:focus-visible,
.fg textarea:focus-visible,
.intake-input:focus-visible,
.intake-select:focus-visible,
.intake-textarea:focus-visible,
.portal-sign-input:focus-visible {
  outline: none;
}

/* ─── COLOUR CONTRAST FIXES (WCAG AA) ──────────────── */
/* Muted text on dark backgrounds: raised to >=4.5:1 ratio */
.stat-l { color: rgba(255,255,255,.65); }
.submenu-label { color: rgba(255,255,255,.6); }
.submenu-a small { color: rgba(255,255,255,.6); }
.hero-sub { color: rgba(255,255,255,.7); }
.hero-badge { color: rgba(255,255,255,.78); }
.pf-label { color: rgba(255,255,255,.75); }
.pt-card > p { color: rgba(255,255,255,.62); }
.pt-tag { color: rgba(255,255,255,.6); }
.result-desc { color: rgba(255,255,255,.62); }
.result-source { color: rgba(255,255,255,.55); }
.svc-desc { color: rgba(255,255,255,.68); }
.step-item p { color: rgba(255,255,255,.62); }
.footer-col h5 { color: rgba(255,255,255,.55); }
.footer-tagline { color: rgba(255,255,255,.55); }
.footer-legal a { color: rgba(255,255,255,.55); }
.vs-col-feature { color: rgba(255,255,255,.6); }
.vs-col-them { color: rgba(255,255,255,.6); }
.vs-td-them { color: rgba(255,255,255,.6); }
.vs-td-feature { color: rgba(255,255,255,.75); }
.vs-eg { color: rgba(255,255,255,.55); }
.logo-tagline { color: rgba(255,255,255,.6); }
.footer-brand .logo-tagline { color: rgba(255,255,255,.55); }
.cm-desc { color: rgba(255,255,255,.65); }
.banner p { color: rgba(255,255,255,.7); }
.hub-hero p { color: rgba(255,255,255,.68); }
.article-read-time { color: rgba(255,255,255,.6); }
.article-intro { color: rgba(255,255,255,.68); }
.sidebar-cta p { color: rgba(255,255,255,.6); }
.hero-date { color: rgba(255,255,255,.6); }
.kn-footer p { color: rgba(255,255,255,.55); }
.kn-footer-links a { color: rgba(255,255,255,.6); }
.portal-welcome p { color: rgba(255,255,255,.65); }
.portal-card h3 { color: rgba(255,255,255,.6); }
.portal-card-sub { color: rgba(255,255,255,.6); }
.portal-intake-section > p { color: rgba(255,255,255,.65); }
.portal-doc-card-meta { color: rgba(255,255,255,.6); }
.portal-doc-card-date { color: rgba(255,255,255,.55); }
.intake-header p { color: rgba(255,255,255,.65); }
.intake-success p { color: rgba(255,255,255,.65); }

/* ─── TOUCH TARGET SIZES (minimum 44px) ──────────────── */
.nav-burger {
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.mobile-nav-link { min-height: 44px; display: flex; align-items: center; }
.mobile-nav-sub { min-height: 44px; display: flex; align-items: center; }
.footer-col a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal a { min-height: 44px; display: inline-flex; align-items: center; }
.hub-filter-btn { min-height: 44px; }
.toc-list a { min-height: 44px; display: flex; align-items: center; }

/* ─── HAMBURGER MENU ANIMATION ──────────────────────── */
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── 404 PAGE ──────────────────────────────────────── */
.page-404 {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.page-404::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(37,99,235,.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-404 > * { position: relative; z-index: 1; }
.four-oh-four {
  font-size: clamp(100px, 20vw, 200px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .15;
  margin-bottom: -20px;
  user-select: none;
}
.page-404 h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 16px;
}
.page-404 p {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 980px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  transition: all .2s;
  cursor: pointer;
}
.btn-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
}

/* ─── ERROR PAGE ────────────────────────────────────── */
.page-error {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.page-error::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(239,68,68,.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-error > * { position: relative; z-index: 1; }
.error-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 28px;
}
.page-error h1 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 14px;
}
.page-error p {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.btn-error-retry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,.15);
  color: #fca5a5;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 980px;
  text-decoration: none;
  border: 1px solid rgba(239,68,68,.25);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.btn-error-retry:hover {
  background: rgba(239,68,68,.22);
  color: #fff;
  border-color: rgba(239,68,68,.4);
}

/* ─── ADDITIONAL MOBILE BREAKPOINTS ─────────────────── */

/* Small mobile: buttons stack vertically */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost-white { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; align-items: center; }
  .btn-row .btn-primary,
  .btn-row .btn-secondary { width: 100%; justify-content: center; }
  .pathfinder { gap: 6px; }
  .pf-item { min-width: 0; flex: 1 1 calc(50% - 6px); }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .contact-methods { gap: 12px; }
  .free-tier-banner { padding: 24px 20px; }
  .tier { padding: 28px 20px; }
}

/* Ensure form fields and sections don't overflow on mobile */
@media (max-width: 640px) {
  .form-card { padding: 24px 16px; }
  .mini-hero { padding: 120px 16px 60px; }
  .contact-page-wrap { gap: 32px; }
  .vs-table-wrap { margin: 0 -16px; border-radius: 0; border-left: none; border-right: none; }
}

/* Knowledge hub sticky nav padding on mobile */
@media (max-width: 860px) {
  .kn-nav { padding: 0 16px; }
}

/* ─── TIER CARE DETAIL (Retainer expandable sections) ── */
.tier-care-detail {
  margin-top: auto;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
}
.tier-care-detail summary {
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--blue);
  background: rgba(37,99,235,.04);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
}
.tier-care-detail summary::-webkit-details-marker { display: none; }
.tier-care-detail summary::after {
  content: '\25B6';
  font-size: 9px;
  margin-left: auto;
  transition: transform .2s;
  color: var(--muted);
}
.tier-care-detail[open] summary::after {
  transform: rotate(90deg);
}
.tier-care-detail summary:hover {
  background: rgba(37,99,235,.08);
}
.tier-care-body {
  padding: 10px 14px 14px;
  border-top: 1px solid var(--border);
}
.tier-care-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.tier-care-body li {
  font-size: 12.5px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.tier-care-body li::before {
  content: '\2713';
  color: var(--blue);
  font-weight: 900;
  flex-shrink: 0;
  font-size: 11px;
}
/* Dark variant for code-review card */
.tier-care-detail--dark {
  border-color: rgba(255,255,255,.12);
}
.tier-care-detail--dark summary {
  color: #a78bfa;
  background: rgba(124,58,237,.08);
}
.tier-care-detail--dark summary:hover {
  background: rgba(124,58,237,.14);
}
.tier-care-detail--dark summary::after {
  color: rgba(255,255,255,.35);
}
.tier-care-detail--dark .tier-care-body {
  border-top-color: rgba(255,255,255,.1);
}
.tier-care-detail--dark .tier-care-body li {
  color: rgba(255,255,255,.55);
}
.tier-care-detail--dark .tier-care-body li::before {
  color: #a78bfa;
}

/* ─── PREFERS REDUCED MOTION ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .reveal-left { opacity: 1; transform: none; }
  .reveal-right { opacity: 1; transform: none; }
  .stagger > * { opacity: 1; transform: none; }
  .pt-left .pt-card { opacity: 1; transform: none; }
  .pt-right .pt-card { opacity: 1; transform: none; }
  .tl { opacity: 1; transform: none; }
  .bl { opacity: 1; transform: none; }
  .rl { opacity: 1; transform: none; }
  .rf { opacity: 1; transform: none; }
  .hero-orb { animation: none; }
  .hero-grad-text { animation: none; }
  .badge-dot::after { animation: none; }
  .term-cursor { animation: none; opacity: 1; }
  .ai-cursor { animation: none; opacity: 1; }
  .build-cursor { animation: none; opacity: 1; }
  .seo-rank-cursor { animation: none; opacity: 1; }
}


/* ══════ PRICING CARDS (PREMIUM) ══════ */

.pricing-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #0a0a0f 0%, #0f1225 40%, #0f1225 60%, #0a0a0f 100%) !important;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.08);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}

/* Most Popular — purple glow + scale up */
.pricing-card--popular {
  border-color: rgba(139,92,246,.4);
  box-shadow: 0 0 30px rgba(139,92,246,.15);
  background: rgba(139,92,246,.08);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card--popular:hover {
  transform: scale(1.03) translateY(-4px);
  background: rgba(139,92,246,.11);
  box-shadow: 0 0 40px rgba(139,92,246,.25), 0 20px 40px rgba(0,0,0,.3);
}

/* Most Comprehensive — amber glow */
.pricing-card--comprehensive {
  border-color: rgba(245,158,11,.3);
  box-shadow: 0 0 20px rgba(245,158,11,.1);
}
.pricing-card--comprehensive:hover {
  box-shadow: 0 0 30px rgba(245,158,11,.18), 0 20px 40px rgba(0,0,0,.3);
}

/* Add-on — dashed border */
.pricing-card--addon {
  border-style: dashed;
  opacity: .85;
}
.pricing-card--addon:hover { opacity: 1; }

/* Badge — floating pill at top */
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 980px;
  white-space: nowrap;
  color: #fff;
  z-index: 2;
}
.pricing-badge--popular {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
}
.pricing-badge--comprehensive {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.pricing-badge--addon {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
}

/* Tier label — small caps category */
.pricing-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 8px;
}

/* Tier name */
.pricing-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

/* Price — large and bold */
.pricing-price {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.pricing-price .pricing-from {
  font-size: 0.45em;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  letter-spacing: .02em;
  vertical-align: middle;
}
.pricing-price .pricing-currency {
  color: #a78bfa;
}
.pricing-price em {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  font-style: normal;
}

/* 1-line description */
.pricing-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  line-height: 1.55;
}

/* Feature list — max 5 bullets */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
  padding: 0;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.45;
}
.pricing-features li::before {
  content: '\2713';
  color: #a78bfa;
  font-weight: 900;
  flex-shrink: 0;
}

/* CTA button — consistent gradient purple */
.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
  margin-top: auto;
  white-space: nowrap;
}
.pricing-cta:hover {
  opacity: .9;
  transform: translateY(-1px);
}

/* ── Feature Comparison Table ── */
.pricing-compare {
  overflow-x: auto;
  margin-top: 60px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.pricing-compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.pricing-compare th {
  background: rgba(139,92,246,.15);
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 16px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  text-align: left;
  border-bottom: 2px solid rgba(139,92,246,.3);
}
.pricing-compare th:first-child {
  color: rgba(255,255,255,.6);
}
.pricing-compare td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
}
.pricing-compare td:first-child {
  color: rgba(255,255,255,.7);
  font-weight: 600;
}
.pricing-compare tr:nth-child(even) td {
  background: rgba(255,255,255,.02);
}
.pricing-compare tr:hover td {
  background: rgba(255,255,255,.04);
}
.pricing-compare .check {
  color: #4ade80;
  font-weight: 700;
}
.pricing-compare .cross {
  color: rgba(255,255,255,.15);
}

/* ── Cyber Shield Banner ── */
.pricing-shield-banner {
  margin-top: 40px;
  padding: 24px 32px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pricing-shield-banner p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  margin: 0;
  line-height: 1.5;
}
.pricing-shield-banner strong {
  color: #fff;
  font-weight: 800;
}
.pricing-shield-details {
  margin-top: 16px;
}
.pricing-shield-details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #a78bfa;
  list-style: none;
}
.pricing-shield-details summary::-webkit-details-marker { display: none; }
.pricing-shield-details summary::after {
  content: ' +';
  font-weight: 400;
}
.pricing-shield-details[open] summary::after {
  content: ' -';
}
.pricing-shield-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.pricing-shield-tier {
  padding: 16px;
  background: rgba(255,255,255,.02);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.04);
}
.pricing-shield-tier h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.pricing-shield-tier .shield-price {
  font-size: 13px;
  color: #a78bfa;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-shield-tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pricing-shield-tier li {
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.pricing-shield-tier li::before {
  content: '\2713 ';
  color: #4ade80;
  font-weight: 700;
}

/* ── Pricing Responsive ── */
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .pricing-shield-banner { flex-direction: column; text-align: center; }
  .pricing-shield-body { grid-template-columns: 1fr; }
  .pricing-compare { margin-top: 40px; }
}
