:root {
  /* Core palette — refined dark navy */
  --navy: #060b18;
  --navy2: #0d1527;
  --navy3: #111d35;
  --navy4: #192641;
  --navy5: #1e2f4e;

  /* Amber gold — primary accent */
  --amber: #d4913a;
  --amber2: #e8ab5c;
  --amber3: #f5c878;
  --amberg: linear-gradient(135deg, #d4913a 0%, #f5c878 100%);
  --amberfg: linear-gradient(135deg, #c47d28 0%, #e8ab5c 100%);

  /* Emerald — secondary accent */
  --emerald: #10b981;
  --emerald2: #34d399;

  /* Accent blue */
  --blue: #3d7aed;
  --blue2: #60a5fa;

  /* Text */
  --text: #e8edf5;
  --text2: #c4cdd8;
  --muted: #6b7a95;
  --muted2: #4a5568;

  /* Borders */
  --border: rgba(255, 255, 255, .06);
  --border2: rgba(255, 255, 255, .10);

  /* WhatsApp */
  --wa: #25d366;

  /* Fonts */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-body: 'Outfit', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  /* Radii */
  --r: 10px;
  --r2: 18px;
  --r3: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .3);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 20px 80px rgba(0, 0, 0, .6);
  --shadow-amber: 0 12px 48px rgba(212, 145, 58, .28);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ── Layout ──────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  text-decoration: none;
}

.btn-amber {
  background: var(--amberg);
  color: #0a0e1a;
  box-shadow: 0 4px 20px rgba(212, 145, 58, .25);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .18);
}

.btn-outline:hover {
  border-color: var(--amber2);
  color: var(--amber2);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  background: var(--wa);
  color: #fff;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  transition: all .25s;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .35);
}

.btn-wa svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  flex-shrink: 0;
}

/* ── Pill badge ──────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(212, 145, 58, .1);
  border: 1px solid rgba(212, 145, 58, .25);
  color: var(--amber3);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: blink 1.8s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .25
  }
}

/* ── Tag chip ────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all .3s ease;
}

#navbar.scrolled {
  background: rgba(6, 11, 24, .92);
  backdrop-filter: blur(24px) saturate(180%);
  padding: 26px 0;
  border-bottom: 1px solid var(--border2);
  box-shadow: 0 4px 40px rgba(0, 0, 0, .4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 900;
  background: var(--amberg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hide on mobile */
@media (max-width: 767px) {
  .nav-cta {
    display: none;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1002;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .2s;
}

.mobile-nav a:hover {
  color: var(--amber2);
}

.mobile-close {
  display: none;
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Background effects */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .6;
}

.hero-bg-orb.o1 {
  width: 700px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: radial-gradient(ellipse, rgba(212, 145, 58, .12), transparent 70%);
}

.hero-bg-orb.o2 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -150px;
  background: radial-gradient(ellipse, rgba(61, 122, 237, .1), transparent 70%);
}

.hero-bg-orb.o3 {
  width: 300px;
  height: 300px;
  top: 40%;
  right: 30%;
  background: radial-gradient(ellipse, rgba(16, 185, 129, .06), transparent 70%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--f-body);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 22px;
}

.hero-title .italic {
  font-family: var(--f-display);
  font-style: italic;
  background: var(--amberg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-social-proof {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--navy4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber3);
  margin-left: -8px;
}

.avatar-stack .av:first-child {
  margin-left: 0;
}

.sp-divider {
  width: 1px;
  height: 36px;
  background: var(--border2);
}

.sp-text {
  font-size: 13px;
  color: var(--muted);
}

.sp-text strong {
  color: var(--text);
}

/* ── CRM DASHBOARD MOCKUP ───────────────────────────── */
.crm-mockup {
  position: relative;
}

/* Main dashboard window */
.crm-window {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .04);
  position: relative;
}

.crm-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 145, 58, .5), transparent);
}

/* Window chrome */
.crm-chrome {
  background: var(--navy3);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.crm-dots {
  display: flex;
  gap: 6px;
}

.crm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.crm-dot.r {
  background: #ff5f57;
}

.crm-dot.y {
  background: #febc2e;
}

.crm-dot.g {
  background: #28c840;
}

.crm-url {
  flex: 1;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--f-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.crm-url svg {
  width: 10px;
  height: 10px;
  stroke: var(--emerald);
  fill: none;
  stroke-width: 2;
}

.crm-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
}

/* Dashboard header */
.dash-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.dash-greeting {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.dash-greeting span {
  color: var(--amber2);
}

.dash-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .2);
  font-size: 10px;
  font-weight: 700;
  color: var(--emerald2);
}

.live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: livepulse 1.4s ease infinite;
}

@keyframes livepulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.8)
  }
}

/* KPI row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.kpi-cell {
  background: var(--navy2);
  padding: 14px 16px;
  text-align: center;
}

.kpi-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3px;
  font-family: var(--f-body);
}

.kpi-num.amber {
  color: var(--amber3);
}

.kpi-num.green {
  color: var(--emerald2);
}

.kpi-num.blue {
  color: var(--blue2);
}

.kpi-num.white {
  color: var(--text);
}

.kpi-lbl {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Pipeline kanban */
.pipe-board {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pipe-col {}

.pipe-col-head {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.pipe-col-head .count {
  padding: 1px 6px;
  border-radius: 50px;
  font-size: 8px;
  font-weight: 700;
}

.ch-new {
  background: rgba(61, 122, 237, .12);
  color: #60a5fa;
}

.ch-new .count {
  background: rgba(61, 122, 237, .2);
  color: #60a5fa;
}

.ch-fol {
  background: rgba(245, 158, 11, .12);
  color: #fbbf24;
}

.ch-fol .count {
  background: rgba(245, 158, 11, .2);
  color: #fbbf24;
}

.ch-clo {
  background: rgba(16, 185, 129, .12);
  color: #34d399;
}

.ch-clo .count {
  background: rgba(16, 185, 129, .2);
  color: #34d399;
}

.ch-jnk {
  background: rgba(100, 100, 100, .1);
  color: #9ca3af;
}

.ch-jnk .count {
  background: rgba(100, 100, 100, .15);
  color: #9ca3af;
}

.lead-card-mini {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 10px;
  margin-bottom: 6px;
  transition: all .2s;
  cursor: default;
}

.lead-card-mini:hover {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(212, 145, 58, .2);
  transform: translateY(-1px);
}

.lcm-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.lcm-phone {
  font-size: 9px;
  color: var(--muted);
}

.lcm-src {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  background: rgba(212, 145, 58, .1);
  color: var(--amber3);
}

.lcm-src.fb {
  background: rgba(59, 130, 246, .12);
  color: #93c5fd;
}

.lcm-src.wa {
  background: rgba(37, 211, 102, .1);
  color: #6ee7b7;
}

.lcm-src.ref {
  background: rgba(167, 139, 250, .1);
  color: #c4b5fd;
}

.lcm-src.web {
  background: rgba(212, 145, 58, .1);
  color: var(--amber3);
}

/* Activity bar at bottom of mockup */
.crm-activity {
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy3);
}

.act-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
  animation: blink 1.8s ease infinite;
}

.act-text {
  font-size: 10px;
  color: var(--muted);
  flex: 1;
}

.act-text strong {
  color: var(--emerald2);
}

.act-time {
  font-size: 9px;
  color: var(--muted2);
  font-family: var(--f-mono);
}

/* Floating notification bubble */
.float-notif {
  position: absolute;
  bottom: -18px;
  right: -16px;
  background: var(--navy2);
  border: 1px solid rgba(16, 185, 129, .3);
  border-radius: 14px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  animation: floatY 3.5s ease-in-out infinite;
  min-width: 220px;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.fn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fn-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--emerald2);
  fill: none;
  stroke-width: 2.5;
}

.fn-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

.fn-sub {
  font-size: 9px;
  color: var(--emerald2);
  margin-top: 1px;
}

/* Second floating card (stat) */
.float-stat {
  position: absolute;
  top: -16px;
  left: -16px;
  background: var(--navy3);
  border: 1px solid rgba(212, 145, 58, .25);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  animation: floatY 4s ease-in-out infinite;
  animation-delay: -.8s;
}

.fs-label {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.fs-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--amber3);
  line-height: 1;
}

.fs-trend {
  font-size: 9px;
  color: var(--emerald2);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   CLIENT STRIP
═══════════════════════════════════════════════════════ */
#clients {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--navy2);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 28px;
}

.clients-track-wrap {
  overflow: hidden;
  position: relative;
}

.clients-track-wrap::before,
.clients-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.clients-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy2), transparent);
}

.clients-track-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--navy2), transparent);
}

.clients-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.client-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  opacity: .45;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: opacity .3s;
}

.client-name:hover {
  opacity: .9;
}

/* ═══════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════ */
#stats {
  background: var(--navy2);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 48px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--amberg);
  border-radius: 0 0 4px 4px;
}

.stat-num {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  line-height: 1;
  background: var(--amberg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 8px;
}

.stat-lbl {
  font-size: 13px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════
   SECTION HEAD
═══════════════════════════════════════════════════════ */
.sec-head {
  text-align: center;
  margin-bottom: 72px;
}

.sec-head .pill {
  margin-bottom: 16px;
}

.sec-title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.sec-title .italic {
  font-family: var(--f-display);
  font-style: italic;
  background: var(--amberg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sec-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════ */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.feat-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}

.feat-card:hover {
  border-color: rgba(212, 145, 58, .25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.feat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 145, 58, .35), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.feat-card:hover::after {
  opacity: 1;
}

.feat-card.span2 {
  grid-column: span 2;
}

.feat-card.span3 {
  grid-column: span 3;
}

.feat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(212, 145, 58, .08);
  border: 1px solid rgba(212, 145, 58, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feat-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--amber2);
  fill: none;
  stroke-width: 1.5;
}

.feat-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feat-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.feat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Wide card inner layout */
.feat-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Tenant diagram inside wide card */
.tenant-diagram {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.tenant-diagram-title {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.tenant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 7px;
  border: 1px solid transparent;
  transition: all .2s;
}

.tenant-row.t1 {
  background: rgba(61, 122, 237, .07);
  border-color: rgba(61, 122, 237, .15);
}

.tenant-row.t2 {
  background: rgba(212, 145, 58, .06);
  border-color: rgba(212, 145, 58, .12);
}

.tenant-row.t3 {
  background: rgba(255, 255, 255, .025);
  border-color: var(--border);
}

.tenant-name {
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}

.tenant-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
}

.badge-active {
  background: rgba(16, 185, 129, .12);
  color: var(--emerald2);
}

.badge-trial {
  background: rgba(245, 158, 11, .12);
  color: #fbbf24;
}

/* ═══════════════════════════════════════════════════════
   PIPELINE SECTION
═══════════════════════════════════════════════════════ */
#pipeline {
  background: var(--navy2);
  border-top: 1px solid var(--border);
}

.pipeline-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.pipeline-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 18px;
}

.pipeline-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(212, 145, 58, .1);
  border: 1px solid rgba(212, 145, 58, .25);
  color: var(--amber3);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.step-body p {
  font-size: 13px;
  color: var(--muted);
}

/* Full-size pipeline board visual */
.pipe-visual {
  background: var(--navy);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pipe-topbar {
  background: var(--navy3);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pipe-topbar h5 {
  font-size: 12px;
  font-weight: 600;
}

.pipe-count {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(212, 145, 58, .1);
  color: var(--amber2);
}

.pipe-body {
  padding: 14px;
}

.pipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pipe-col-label {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 6px;
  border-radius: 5px;
  margin-bottom: 8px;
}

.pipe-lead {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px;
  margin-bottom: 5px;
  transition: all .2s;
}

.pipe-lead:hover {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(212, 145, 58, .15);
}

.pl-name {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pl-phone {
  font-size: 9px;
  color: var(--muted);
}

.pl-src {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  background: rgba(212, 145, 58, .08);
  color: var(--amber2);
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.how-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 40px 32px;
  text-align: center;
  transition: border-color .3s;
}

.how-card:hover {
  border-color: rgba(212, 145, 58, .2);
}

.how-num {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: rgba(212, 145, 58, .07);
  margin-bottom: 14px;
  font-family: var(--f-body);
}

.how-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.how-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.svc-card:hover {
  border-color: rgba(212, 145, 58, .2);
  transform: translateY(-5px);
}

.svc-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: rgba(212, 145, 58, .07);
  margin-bottom: 18px;
}

.svc-title {
  font-size: 19px;
  margin-bottom: 10px;
}

.svc-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber2);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: gap .2s;
}

.svc-link:hover {
  gap: 9px;
}

.svc-link svg {
  width: 12px;
  height: 12px;
  stroke: var(--amber2);
  fill: none;
  stroke-width: 2.5;
}

/* ═══════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════ */
#pricing {
  background: var(--navy2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  background: linear-gradient(160deg, rgba(212, 145, 58, .08), rgba(212, 145, 58, .02));
  border-color: rgba(212, 145, 58, .3);
}

.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amberg);
}

.price-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--amberg);
  color: #0a0e1a;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.price-plan {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 12px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 22px;
}

.price-currency {
  font-size: 22px;
  color: var(--amber2);
  font-weight: 700;
}

.price-num {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--muted);
}

.price-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}

.pf-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.pf-row.off {
  color: var(--muted);
}

.pf-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-check svg {
  width: 8px;
  height: 8px;
  stroke: var(--emerald);
  fill: none;
  stroke-width: 3;
}

.pf-x {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(107, 114, 128, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-x svg {
  width: 8px;
  height: 8px;
  stroke: #6b7280;
  fill: none;
  stroke-width: 3;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s;
}

.testi-card:hover {
  border-color: rgba(212, 145, 58, .2);
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.testi-stars svg {
  width: 13px;
  height: 13px;
  fill: var(--amber3);
}

.testi-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text2);
  margin-bottom: 24px;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ta-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber3);
  flex-shrink: 0;
}

.ta-name {
  font-size: 13px;
  font-weight: 600;
}

.ta-role {
  font-size: 11px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════ */
#faq {
  background: var(--navy2);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.faq-text h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.faq-text p {
  color: var(--muted);
  margin-bottom: 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .3s;
}

.faq-item.open {
  border-color: rgba(212, 145, 58, .25);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  gap: 14px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s;
}

.faq-item.open .faq-icon {
  background: rgba(212, 145, 58, .1);
  border-color: rgba(212, 145, 58, .3);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 10px;
  height: 10px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2.5;
}

.faq-item.open .faq-icon svg {
  stroke: var(--amber2);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-item.open .faq-body {
  max-height: 220px;
}

.faq-body p {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.cd-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(212, 145, 58, .07);
  border: 1px solid rgba(212, 145, 58, .15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--amber2);
  fill: none;
  stroke-width: 1.5;
}

.cd-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  margin-bottom: 3px;
}

.cd-val {
  font-size: 14px;
  color: var(--text);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.soc-btn {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--navy2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  color: var(--muted);
}

.soc-btn:hover {
  border-color: rgba(212, 145, 58, .3);
  color: var(--amber2);
}

.soc-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* Contact form */
.cf-wrap {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.cf-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 145, 58, .45), transparent);
}

.cf-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.cf-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 14px;
  outline: none;
  transition: border-color .25s;
  resize: none;
}

.form-input::placeholder {
  color: var(--muted2);
}

.form-input:focus {
  border-color: rgba(212, 145, 58, .4);
}

.form-select {
  width: 100%;
  padding: 12px 15px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 14px;
  outline: none;
  transition: border-color .25s;
  appearance: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: rgba(212, 145, 58, .4);
}

.form-select option {
  background: var(--navy2);
}

/* ═══════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════ */
#cta {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.cta-box {
  background: linear-gradient(135deg, rgba(212, 145, 58, .09), rgba(212, 145, 58, .02));
  border: 1px solid rgba(212, 145, 58, .2);
  border-radius: var(--r3);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 145, 58, .55), transparent);
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 14px;
}

.cta-box p {
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--navy2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.fb-logo {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 900;
  background: var(--amberg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 270px;
  margin-bottom: 22px;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}

.footer-col ul a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted2);
}

/* ═══════════════════════════════════════════════════════
   FLOATING WHATSAPP
═══════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-tip {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all .25s;
  pointer-events: none;
}

.wa-float:hover .wa-tip {
  opacity: 1;
  transform: translateX(0);
}

.wa-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37, 211, 102, .4);
  transition: transform .25s;
  flex-shrink: 0;
  position: relative;
}

.wa-btn:hover {
  transform: scale(1.08);
}

.wa-btn::before {
  content: '';
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wa);
  opacity: .4;
  animation: wa-pulse 2.5s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: .4
  }

  100% {
    transform: scale(2.2);
    opacity: 0
  }
}

.wa-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media(max-width:1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .crm-mockup {
    display: none;
  }

  .pipeline-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-bento {
    grid-template-columns: 1fr 1fr;
  }

  .feat-card.span2,
  .feat-card.span3 {
    grid-column: span 2;
  }

  .feat-card-inner {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .testi-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell {
    border-bottom: 1px solid var(--border);
  }

  .stat-cell:nth-child(2n) {
    border-right: none;
  }

  .stat-cell:last-child,
  .stat-cell:nth-last-child(2) {
    border-bottom: none;
  }
}

@media(max-width:768px) {
  .section {
    padding: 72px 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(34px, 9vw, 54px);
  }

  .hero-sub {
    font-size: 15px;
  }

  .features-bento {
    grid-template-columns: 1fr;
  }

  .feat-card.span2,
  .feat-card.span3 {
    grid-column: span 1;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 36px 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn,
  .cta-actions .btn-wa {
    justify-content: center;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .pipe-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:480px) {
  .container {
    padding: 0 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    border-right: none;
  }

  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipe-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: .1s;
}

.reveal-d2 {
  transition-delay: .2s;
}

.reveal-d3 {
  transition-delay: .3s;
}

/* ═══════════════════════════════════════════════════════
   LIGHT MODE — warm cream × deep amber × slate
═══════════════════════════════════════════════════════ */
[data-theme="light"] {
  --navy: #faf8f4;
  --navy2: #f2ede4;
  --navy3: #ebe4d8;
  --navy4: #ddd4c3;
  --navy5: #cfc4b0;

  --text: #1a1a2e;
  --text2: #2d3748;
  --muted: #6b6357;
  --muted2: #9b8e80;

  --border: rgba(0, 0, 0, .08);
  --border2: rgba(0, 0, 0, .12);

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, .12);
  --shadow-lg: 0 20px 80px rgba(0, 0, 0, .18);
}

/* Light mode — specific overrides */
[data-theme="light"] body {
  background: var(--navy);
}

[data-theme="light"] #navbar.scrolled {
  background: rgba(250, 248, 244, .95);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

[data-theme="light"] .mobile-nav {
  background: rgba(250, 248, 244, .99);
}

[data-theme="light"] .hero-bg-orb.o1 {
  background: radial-gradient(ellipse, rgba(212, 145, 58, .15), transparent 70%);
}

[data-theme="light"] .hero-bg-orb.o2 {
  background: radial-gradient(ellipse, rgba(61, 122, 237, .08), transparent 70%);
}

[data-theme="light"] .hero-bg-orb.o3 {
  background: radial-gradient(ellipse, rgba(16, 185, 129, .06), transparent 70%);
}

[data-theme="light"] .hero-grid-lines {
  background-image:
    linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .04) 1px, transparent 1px);
}

[data-theme="light"] .chip {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(0, 0, 0, .1);
  color: var(--muted);
}

[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, .2);
  color: var(--text);
}

[data-theme="light"] .btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

[data-theme="light"] .crm-window {
  background: #fff;
  border-color: rgba(0, 0, 0, .1);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .05);
}

[data-theme="light"] .crm-chrome {
  background: #f5f0e8;
  border-bottom-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .crm-url {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .dash-header {
  border-bottom-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .kpi-row {
  background: rgba(0, 0, 0, .06);
}

[data-theme="light"] .kpi-cell {
  background: #fff;
}

[data-theme="light"] .kpi-num.white {
  color: var(--text);
}

[data-theme="light"] .lead-card-mini {
  background: rgba(0, 0, 0, .025);
  border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .lead-card-mini:hover {
  background: rgba(0, 0, 0, .05);
}

[data-theme="light"] .crm-activity {
  background: #f5f0e8;
  border-top-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .float-notif {
  background: #fff;
  border-color: rgba(16, 185, 129, .3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .12);
}

[data-theme="light"] .float-stat {
  background: #f5f0e8;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .12);
}

[data-theme="light"] .clients-track-wrap::before {
  background: linear-gradient(90deg, var(--navy2), transparent);
}

[data-theme="light"] .clients-track-wrap::after {
  background: linear-gradient(-90deg, var(--navy2), transparent);
}

[data-theme="light"] .feat-card {
  background: #fff;
}

[data-theme="light"] .feat-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, .1);
}

[data-theme="light"] .tenant-diagram {
  background: var(--navy3);
}

[data-theme="light"] .tenant-row.t3 {
  background: rgba(0, 0, 0, .03);
}

[data-theme="light"] .pipe-visual {
  background: #fff;
}

[data-theme="light"] .pipe-topbar {
  background: #f5f0e8;
  border-bottom-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .pipe-lead {
  background: rgba(0, 0, 0, .025);
  border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .pipe-lead:hover {
  background: rgba(0, 0, 0, .05);
}

[data-theme="light"] .how-card {
  background: #fff;
}

[data-theme="light"] .how-num {
  color: rgba(212, 145, 58, .12);
}

[data-theme="light"] .svc-card {
  background: #fff;
}

[data-theme="light"] .svc-num {
  color: rgba(212, 145, 58, .12);
}

[data-theme="light"] .price-card {
  background: #fff;
}

[data-theme="light"] .price-card.featured {
  background: linear-gradient(160deg, rgba(212, 145, 58, .06), rgba(212, 145, 58, .01));
}

[data-theme="light"] .testi-card {
  background: #fff;
}

[data-theme="light"] .testi-quote {
  color: var(--text2);
}

[data-theme="light"] .ta-av {
  background: var(--navy4);
}

[data-theme="light"] .faq-item {
  background: #fff;
}

[data-theme="light"] .cf-wrap {
  background: #fff;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select {
  background: #faf8f4;
  border-color: rgba(0, 0, 0, .12);
  color: var(--text);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus {
  border-color: rgba(212, 145, 58, .5);
}

[data-theme="light"] .form-input::placeholder {
  color: var(--muted2);
}

[data-theme="light"] .form-select option {
  background: #fff;
}

[data-theme="light"] .soc-btn {
  background: #fff;
  border-color: rgba(0, 0, 0, .1);
}

[data-theme="light"] .cta-box {
  background: linear-gradient(135deg, rgba(212, 145, 58, .07), rgba(212, 145, 58, .02));
}

[data-theme="light"] footer {
  background: var(--navy2);
}

[data-theme="light"] .wa-tip {
  background: #fff;
  border-color: rgba(0, 0, 0, .1);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

/* Light mode — hero orbs slightly stronger */
[data-theme="light"] .feat-card::after {
  background: linear-gradient(90deg, transparent, rgba(212, 145, 58, .25), transparent);
}

/* ── Theme Toggle Button ────────────────────────────── */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy3);
  border: 1px solid var(--border2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: rgba(212, 145, 58, .4);
  background: var(--navy4);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: all .3s ease;
  width: 18px;
  height: 18px;
  stroke: var(--amber2);
  fill: none;
  stroke-width: 1.8;
}

/* Dark mode: show moon, hide sun */
[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Light mode: show sun, hide moon */
[data-theme="light"] .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* Light mode transition */
*,
*::before,
*::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}

/* Exclude animation-heavy elements from the color transition */
.clients-track,
.float-notif,
.float-stat,
.lead-card-mini,
.crm-window,
.wa-btn::before,
.live-pulse,
.pill-dot,
.act-dot {
  transition: none !important;
}

.lead-card-mini {
  transition: background .2s, border-color .2s, transform .2s !important;
}

.feat-card,
.svc-card,
.how-card,
.testi-card,
.price-card,
.faq-item,
.pipe-lead {
  transition: background-color .25s, border-color .25s, transform .3s, box-shadow .3s !important;
}


/* lega- document */
/* ── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 9, 26, .9);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border2);
  padding: 14px 0;
  transition: background .25s, border-color .25s;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 900;
  background: var(--amberg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.01em;
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text2);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.back-btn:hover {
  border-color: var(--amber2);
  color: var(--amber2);
}

.back-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}



/* ── HERO ────────────────────────────────────────────── */
.hero {
  padding: 120px 0 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .65;
  pointer-events: none;
}

.hero-bg-orb.o1 {
  width: 700px;
  height: 400px;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(212, 145, 58, .1), transparent 70%);
}

.hero-bg-orb.o2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -50px;
  background: radial-gradient(ellipse, rgba(61, 122, 237, .07), transparent 70%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 60px 60px;
}

[data-theme="light"] .hero-grid-lines {
  background-image:
    linear-gradient(rgba(0, 0, 0, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .03) 1px, transparent 1px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(212, 145, 58, .1);
  border: 1px solid rgba(212, 145, 58, .22);
  color: var(--amber3);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.hero-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: blink 1.8s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .25
  }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 14px;
  line-height: 1.1;
}

.hero h1 em {
  font-family: var(--f-display);
  font-style: italic;
  background: var(--amberg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r);
  background: rgba(212, 145, 58, .08);
  border: 1px solid rgba(212, 145, 58, .18);
  font-size: 12px;
  color: var(--amber2);
  font-family: var(--f-mono);
}

/* ── TAB NAVIGATION ──────────────────────────────────── */
.tab-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 40px;
  position: relative;
  z-index: 1;
}

.tab-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--navy2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  transition: background .25s, border-color .25s;
}

.tab-btn {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text2);
}

.tab-btn.active {
  background: var(--navy3);
  color: var(--amber2);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .35);
  font-weight: 600;
}

.tab-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.tab-count {
  background: rgba(212, 145, 58, .15);
  color: var(--amber2);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
  font-family: var(--f-mono);
}

/* ── MAIN LAYOUT ─────────────────────────────────────── */
.content-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── TOC SIDEBAR ─────────────────────────────────────── */
.toc-sidebar {
  background: var(--navy2);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  padding: 24px;
  position: sticky;
  top: 90px;
  transition: background .25s, border-color .25s;
}

.toc-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.toc-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.toc-link.active {
  color: var(--amber2);
  background: rgba(212, 145, 58, .08);
  font-weight: 600;
}

.toc-link::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: .6;
}

.toc-link.active::before {
  opacity: 1;
}

/* ── POLICY CARD ─────────────────────────────────────── */
.policy-card {
  background: var(--navy2);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: background .25s, border-color .25s;
}

.policy-card::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--amberg);
}

/* Tab pane */
.tab-pane {
  display: none;
  padding: 48px 56px 64px;
}

.tab-pane.active {
  display: block;
  animation: fadeIn .35s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ── POLICY TYPOGRAPHY ───────────────────────────────── */
.policy-section {
  margin-bottom: 52px;
  scroll-margin-top: 100px;
}

.section-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--amber);
  margin-bottom: 8px;
  font-family: var(--f-mono);
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(212, 145, 58, .12);
  border: 1px solid rgba(212, 145, 58, .22);
  color: var(--amber3);
  font-size: 11px;
  font-weight: 700;
  margin-right: 10px;
  flex-shrink: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-divider {
  height: 1px;
  background: var(--border2);
  margin-bottom: 20px;
}

.policy-text {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 14px;
}

.policy-text:last-child {
  margin-bottom: 0;
}

.policy-list {
  list-style: none;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

.policy-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 8px;
}

.policy-list.check li::before {
  content: '✓';
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--em2);
  font-size: 13px;
  font-weight: 700;
  margin-top: 0;
  line-height: 1.7;
}

.policy-list.cross li::before {
  content: '✗';
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #ef4444;
  font-size: 13px;
  font-weight: 700;
  margin-top: 0;
  line-height: 1.7;
}

.policy-list.numbered {
  counter-reset: pcnt;
}

.policy-list.numbered li::before {
  counter-increment: pcnt;
  content: counter(pcnt);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(212, 145, 58, .12);
  color: var(--amber3);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Callout boxes */
.info-box,
.warn-box,
.note-box,
.success-box {
  padding: 16px 18px;
  border-radius: var(--r);
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.info-box {
  background: rgba(212, 145, 58, .07);
  border: 1px solid rgba(212, 145, 58, .2);
  color: var(--amber3);
}

.warn-box {
  background: rgba(239, 68, 68, .06);
  border: 1px solid rgba(239, 68, 68, .2);
  color: #fca5a5;
}

.note-box {
  background: rgba(61, 122, 237, .06);
  border: 1px solid rgba(61, 122, 237, .2);
  color: var(--blue2);
}

.success-box {
  background: rgba(16, 185, 129, .06);
  border: 1px solid rgba(16, 185, 129, .2);
  color: var(--em2);
}

.box-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

code {
  background: rgba(212, 145, 58, .1);
  color: var(--amber2);
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Table */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.policy-table th {
  background: rgba(212, 145, 58, .08);
  padding: 11px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--amber2);
  border-bottom: 1px solid rgba(212, 145, 58, .2);
}

.policy-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  vertical-align: top;
}

.policy-table tr:last-child td {
  border-bottom: none;
}

.policy-table tr:hover td {
  background: rgba(212, 145, 58, .03);
}

.policy-table .td-label {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.policy-table .badge-y {
  color: var(--em2);
  font-weight: 600;
}

.policy-table .badge-n {
  color: #ef4444;
  font-weight: 600;
}

.policy-table .badge-p {
  color: var(--amber2);
  font-weight: 600;
}

/* Contact card */
.contact-card {
  background: var(--navy3);
  border: 1px solid rgba(212, 145, 58, .2);
  border-radius: var(--r2);
  padding: 28px 32px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-card h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14px;
  color: var(--muted);
}

.contact-card a.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--amberg);
  color: #0a0e1a;
  font-size: 13px;
  font-weight: 700;
  transition: all .25s;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(212, 145, 58, .25);
}

.contact-card a.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 145, 58, .35);
}

.wa-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  background: rgba(37, 211, 102, .1);
  border: 1px solid rgba(37, 211, 102, .25);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 600;
  transition: all .25s;
  flex-shrink: 0;
}

.wa-contact:hover {
  background: rgba(37, 211, 102, .18);
  color: #a7f3d0;
}

.wa-contact svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Sub-heading inside section */
.sub-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 10px;
}

/* ── FOOTER ──────────────────────────────────────────── */
.legal-footer {
  background: var(--navy2);
  border-top: 1px solid var(--border2);
  padding: 40px 0;
  margin-top: 60px;
  transition: background .25s;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 900;
  background: var(--amberg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
}

.footer-links a:hover,
.footer-links a.active-page {
  color: var(--amber2);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted2);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .toc-sidebar {
    display: none;
  }

  .tab-pane {
    padding: 32px 28px 48px;
  }
}

@media (max-width: 768px) {
  .tab-btn {
    font-size: 12px;
    padding: 10px 12px;
  }

  .tab-count {
    display: none;
  }

  .tab-pane {
    padding: 24px 20px 40px;
  }

  .section-heading {
    font-size: 17px;
  }

  .contact-card {
    flex-direction: column;
  }

  .hero h1 {
    font-size: clamp(26px, 7vw, 40px);
  }
}

@media (max-width: 480px) {
  .tab-section {
    padding: 0 16px 32px;
  }

  .tab-btn span {
    display: none;
  }

  .tab-btn svg {
    width: 18px;
    height: 18px;
  }

  .nav-inner {
    padding: 0 16px;
  }
}

/* Progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  z-index: 2000;
  background: var(--amberg);
  transform-origin: left;
  transition: width .1s linear;
  width: 0%;
}

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy3);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  color: var(--amber2);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--navy4);
  border-color: rgba(212, 145, 58, .3);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* Smooth color transitions */
body,
.navbar,
.policy-card,
.toc-sidebar,
.toc-link,
.info-box,
.warn-box,
.note-box,
.success-box,
.tab-nav,
.tab-btn,
.contact-card,
.legal-footer {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: .25s;
  transition-timing-function: ease;
}