/* ==========================================================================
   APEX (apex-ai.io) — Bespoke Editorial Craft & Kinetic Speed-to-Lead
   Disciplined 3-Ink System: Warm Paper · Deep Navy Ink · Cobalt & Amber
   Zero generic SaaS gradients. Zero visual clutter.
   ========================================================================== */

:root {
  /* Disciplined Editorial Surfaces */
  --paper: #f6f5f0;
  --paper-deep: #eceae2;
  --white: #ffffff;
  --navy: #0e1628;
  --navy-2: #16223d;

  /* Ink */
  --ink: #0f172a;
  --ink-2: #434d60;
  --ink-3: #6c7689;
  --on-dark: #f7f6f1;
  --on-dark-2: #bcc6da;
  --on-dark-3: #8391ad;

  /* Two Intentional Accents Only */
  --blue: #1d4ed8;
  --blue-dark: #173fb2;
  --blue-tint: rgba(29, 78, 216, 0.075);
  --amber: #f5a623;
  --amber-hover: #e39512;
  --green: #0f9f6e;
  --emerald: #0f9f6e;
  --cyan: #38bdf8;

  /* Crisp Architectural Hairlines */
  --rule: #dfddd3;
  --rule-strong: #c9c6b9;
  --rule-dark: rgba(255, 255, 255, 0.11);
  --rule-dark-strong: rgba(255, 255, 255, 0.2);

  /* Grounded Elevation */
  --shadow-sm: 0 2px 8px rgba(14, 22, 40, 0.05);
  --shadow-md: 0 14px 36px -14px rgba(14, 22, 40, 0.12);
  --shadow-lg: 0 26px 60px -20px rgba(14, 22, 40, 0.18);
  --shadow-navy: 0 28px 64px -20px rgba(8, 13, 26, 0.48);

  /* Typography */
  --display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-w: 1200px;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(29, 78, 216, 0.16);
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 96px 0;
  position: relative;
  border-top: 1px solid var(--rule);
}

.section-paper-deep,
.section-tinted {
  background: var(--paper-deep);
}

.section-white {
  background: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

/* Editorial Typography */
.kicker,
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.kicker-light {
  color: var(--amber);
}

.h1, .h2, .h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.036em;
  line-height: 1.05;
  color: var(--ink);
}

.h1 {
  font-size: clamp(2.6rem, 4.9vw, 4.25rem);
}

.h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.5rem);
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.text-blue {
  color: var(--blue);
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 56ch;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* Buttons — Solid, Tactile, Uncluttered */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--display);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.985);
}

.btn-amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 8px 20px -8px rgba(227, 149, 18, 0.55);
}

.btn-amber:hover {
  background: var(--amber-hover);
  transform: translateY(-1.5px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-2);
  transform: translateY(-1.5px);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1.5px);
}

.btn-outline {
  background: var(--white);
  border-color: var(--rule-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-1.5px);
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--rule-dark-strong);
  color: var(--white);
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1.5px);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 25px;
  font-size: 0.98rem;
}

/* ==========================================================================
   1. Sticky Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--header-h);
  background: rgba(246, 245, 240, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 35px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 11px;
  border-radius: 8px;
  transition: background 0.18s ease;
}

.header-phone:hover {
  background: rgba(14, 22, 40, 0.06);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--rule-strong);
  background: var(--white);
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--paper);
  z-index: 68;
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

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

.mobile-drawer a {
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--rule);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

/* ==========================================================================
   2. Kinetic Hero Stage (Canvas Signal Motion + Live Dispatch Ticker + Form)
   ========================================================================== */
.hero {
  position: relative;
  padding: 62px 0 82px;
  background: var(--paper);
  overflow: hidden;
}

/* Subtle 60fps Architectural Signal Canvas behind Hero */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: start;
}

/* Hero Staggered Entrance Motion */
.hero-enter {
  opacity: 0;
  transform: translateY(16px);
  animation: heroRise 0.72s var(--ease) forwards;
}

.hero-enter-2 { animation-delay: 0.1s; }
.hero-enter-3 { animation-delay: 0.2s; }
.hero-enter-4 { animation-delay: 0.28s; }

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

.hero-loc-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid var(--rule-strong);
}

.hero-loc-tag span {
  color: var(--blue);
}

/* Kinetic underline sweep cleanly beneath italic accent */
.kinetic-underline {
  position: relative;
  display: inline-block;
  color: var(--blue);
  padding-bottom: 0.06em;
}

.kinetic-underline::after {
  content: '';
  position: absolute;
  left: -0.02em;
  right: -0.05em;
  bottom: -0.04em;
  height: 0.085em;
  background: var(--amber);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineDraw 0.9s var(--ease) 0.45s forwards;
}

@keyframes underlineDraw {
  to { transform: scaleX(1); }
}

.hero-sub {
  margin: 22px 0 0;
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.65;
}

.hero-direct-line {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.94rem;
  color: var(--ink-2);
}

.hero-direct-line a {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--amber);
}

/* Live Auto-Cycling Dispatch Motion Card in Hero */
.dispatch-card {
  margin-top: 30px;
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.dispatch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dispatch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}

.live-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: pulseRing 2.1s ease-out infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.75); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

.dispatch-next-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--rule-dark-strong);
  color: var(--on-dark-2);
  border-radius: 7px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  transition: background 0.18s ease, color 0.18s ease;
}

.dispatch-next-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.dispatch-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  transition: opacity 0.32s ease, transform 0.32s var(--ease);
}

.dispatch-stage.switching {
  opacity: 0;
  transform: translateY(6px);
}

.dispatch-step {
  padding: 12px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.38s var(--ease), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.dispatch-step.active-step {
  transform: translateY(-3px);
  background: rgba(29, 78, 216, 0.24);
  border-color: rgba(96, 165, 250, 0.72);
  box-shadow: 0 10px 24px -10px rgba(29, 78, 216, 0.7);
}

.dispatch-step.outcome {
  background: rgba(15, 159, 110, 0.14);
  border-color: rgba(15, 159, 110, 0.36);
}

.dispatch-step.outcome.active-step {
  background: rgba(15, 159, 110, 0.28);
  border-color: rgba(110, 231, 183, 0.85);
  box-shadow: 0 10px 24px -10px rgba(15, 159, 110, 0.65);
}

.dispatch-step small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-dark-3);
  margin-bottom: 4px;
}

.dispatch-step.outcome small {
  color: #6ee7b7;
}

.dispatch-step strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.dispatch-progress-track {
  margin-top: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  overflow: hidden;
}

.dispatch-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--amber);
  transition: width 0.1s linear;
}

/* Hero Assessment Form Card — Crisp Editorial White, Solid Navy Top Rule */
.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--rule-strong);
  border-top: 4px solid var(--navy);
}

/* Preferred Reply Segmented Toggle */
.reply-pref-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.reply-pref-btn {
  padding: 9px 10px;
  border-radius: 9px;
  border: 1.5px solid var(--rule-strong);
  background: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-2);
  text-align: center;
  transition: all 0.16s ease;
}

.reply-pref-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.reply-pref-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Compact Trust & Local Guarantee Strip beneath Hero Form */
.hero-trust-strip {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-trust-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.founder-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid var(--amber);
}

.hero-trust-top strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.25;
}

.hero-trust-top span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-2);
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

.trust-micro-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.trust-micro-pill b {
  color: var(--green);
}

/* Shared Status Pills (used on /assessment and /results) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--rule-strong);
  background: var(--blue-tint);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.pill-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--on-dark);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-emerald {
  background: #34d399;
}

.form-title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.form-sub {
  margin: 0 0 22px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

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

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--rule-strong);
  background: var(--paper);
  font-size: 0.94rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-footnote {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-3);
}

.form-footnote a {
  text-decoration: underline;
}

.form-alert {
  display: none;
  margin-bottom: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-alert.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.form-alert.info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--blue-tint);
  border: 1px solid rgba(29, 78, 216, 0.25);
  color: var(--blue-dark);
}

/* ==========================================================================
   3. Grounded West Georgia Strip & Architectural 3-Column Steps
   ========================================================================== */
/* ==========================================================================
   3. Kinetic Ticker Ribbon + Two Flagship Pillars + Local Work Showcase
   ========================================================================== */
.hero-marquee {
  background: var(--navy);
  color: var(--on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 0;
  overflow: hidden;
  display: flex;
  user-select: none;
}

.hero-marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  animation: apexMarquee 32s linear infinite;
}

.hero-marquee:hover .hero-marquee-track {
  animation-play-state: paused;
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

.marquee-pill b {
  color: var(--amber);
  font-weight: 700;
}

@keyframes apexMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pillars-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-sm);
}

.pillar-card.primary-dark {
  background: var(--navy);
  color: var(--on-dark);
  border-color: var(--navy);
  box-shadow: var(--shadow-navy);
}

.pillar-card.primary-dark h3 {
  color: var(--white);
}

.pillar-card.primary-dark p,
.pillar-card.primary-dark li {
  color: var(--on-dark-2);
}

.pillar-checklist {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
}

.pillar-card.primary-dark .pillar-checklist {
  border-top-color: var(--rule-dark);
}

.pillar-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pillar-checklist svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.pillar-card.primary-dark .pillar-checklist svg {
  color: var(--amber);
}

.edge-strip {
  margin-top: 22px;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Recent Local Websites Showcase (#work) */
.work-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.work-cards-demos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

.work-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.browser-frame-card {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: transform 0.24s var(--ease), box-shadow 0.24s ease;
}

.browser-frame-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Crisp Architectural Live-Demo Previews inside #work cards */
.demo-preview-canvas {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.demo-preview-hvac {
  background: linear-gradient(145deg, #0b1b36 0%, #102a52 60%, #163d73 100%);
  color: #f8fafc;
}

.demo-preview-roofing {
  background: linear-gradient(145deg, #1b1815 0%, #2b241d 60%, #3d2e1e 100%);
  color: #faf7f2;
}

.demo-mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-mini-pill {
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
}

.demo-mini-body {
  margin: 12px 0;
}

.demo-mini-body strong {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 6px;
}

.demo-mini-body p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.demo-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.demo-mini-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 7px 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: #e2e8f0;
}

.demo-mini-stat b {
  display: block;
  font-size: 11px;
  color: var(--amber);
}

.work-standards-strip {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-navy);
}

.work-standards-strip h3 {
  color: var(--white);
}

.work-standards-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 0.86rem;
  color: var(--on-dark-2);
}

.work-standards-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.work-standards-points svg {
  color: var(--amber);
  flex-shrink: 0;
}

/* Plan Pricing Model Anchor Tag */
.plan-price-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.plan-card.featured .plan-price-note {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--on-dark);
}

/* Exclusivity Inline Live Status Result */
.exclusivity-result {
  display: none;
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: 10px;
  background: rgba(15, 159, 110, 0.1);
  border: 1px solid rgba(15, 159, 110, 0.35);
  color: #065f46;
  font-size: 0.86rem;
  line-height: 1.45;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.exclusivity-result.show {
  display: flex;
}

/* Concrete Assessment Deliverable Preview Card */
.audit-preview-card {
  margin-top: 30px;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.audit-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.audit-preview-item {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.audit-preview-item strong {
  display: block;
  font-family: var(--display);
  font-size: 0.96rem;
  margin-bottom: 5px;
  color: var(--ink);
}

.audit-preview-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-2);
}

/* Local SEO Pages Layout Helpers */
.seo-town-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.seo-town-pill {
  padding: 7px 13px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.seo-town-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.browser-chrome {
  background: var(--navy);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  display: block;
}

.browser-url {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--on-dark-2);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 6px;
}

.browser-shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #080a14;
}

.browser-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.6s var(--ease);
}

.browser-frame-card:hover .browser-shot img {
  transform: scale(1.03);
}

.browser-meta {
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.website-standards-card {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-navy);
}

.website-standards-card h3 {
  color: var(--white);
}

.website-offer-banner {
  margin-top: 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-left: 4px solid var(--amber);
}

@media (max-width: 1060px) {
  .pillars-2col,
  .work-showcase-grid,
  .work-cards-3,
  .work-cards-demos,
  .work-standards-strip,
  .audit-preview-grid {
    grid-template-columns: 1fr;
  }
}

.trade-strip {
  background: var(--white);
  border-top: 1px solid var(--rule);
  padding: 20px 0;
}

.trade-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.trade-strip-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.trade-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-strong);
}

.step-col {
  padding: 32px 28px 16px 0;
  border-right: 1px solid var(--rule);
  margin-right: 28px;
}

.step-col:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.step-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 14px;
}

.step-col h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
}

.step-col p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* ==========================================================================
   4. What You Get (#services) — Clean Editorial Split
   ========================================================================== */
.services-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.service-lead-card {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-navy);
}

.service-lead-card h3 {
  color: var(--white);
  font-size: 1.72rem;
  margin: 8px 0 12px;
}

.service-lead-card p {
  color: var(--on-dark-2);
  margin: 0;
  font-size: 1rem;
}

.calldesk-note {
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.service-rows {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-row {
  padding: 24px 26px;
  border-bottom: 1px solid var(--rule);
  flex: 1;
}

.service-row:last-child {
  border-bottom: none;
}

.service-row-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
  display: block;
}

.service-row h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 800;
}

.service-row p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}

/* ==========================================================================
   5. Time & Money + Missed Calls Cost Calculator (#savings)
   ========================================================================== */
.calc-panel {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.trade-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.preset-btn {
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.18s ease;
}

.preset-btn.active,
.preset-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.slider-block {
  margin-bottom: 18px;
}

.slider-block label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.slider-block strong {
  font-family: var(--mono);
  color: var(--ink);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: var(--paper-deep);
  border: 1px solid var(--rule-strong);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(14, 22, 40, 0.35);
  cursor: pointer;
}

.calc-output {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 28px;
}

.calc-big {
  font-family: var(--display);
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--amber);
  margin: 6px 0 4px;
}

.calc-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 22px;
}

.calc-sub-cell {
  padding: 13px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rule-dark);
}

.calc-sub-cell strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.18rem;
  color: var(--white);
}

.calc-sub-cell span {
  font-size: 0.78rem;
  color: var(--on-dark-3);
}

.savings-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.savings-card {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-lg);
  padding: 28px;
}

.savings-card h3 {
  margin: 0 0 18px;
}

.savings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.savings-list li {
  padding-left: 14px;
  border-left: 2.5px solid var(--amber);
  font-size: 0.94rem;
  color: var(--ink-2);
}

.savings-list li strong {
  color: var(--ink);
}

/* ==========================================================================
   6. Interactive Real-World Examples (#examples)
   ========================================================================== */
.demo-studio {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 26px;
  align-items: stretch;
}

.demo-tabs {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.demo-tab {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s var(--ease);
}

.demo-tab:hover {
  border-color: var(--ink);
}

.demo-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.demo-tab-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  margin-right: 10px;
}

.demo-tab.active .demo-tab-num {
  color: var(--amber);
}

.demo-tab-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.96rem;
}

.demo-stage {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.demo-phone-mock {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: 16px;
  padding: 18px;
}

.demo-phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--on-dark-3);
}

.demo-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg-row {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.48;
}

.msg-row.incoming {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.msg-row.apex-reply {
  align-self: flex-end;
  background: var(--blue);
  color: var(--white);
}

.msg-row.system {
  align-self: center;
  max-width: 100%;
  background: rgba(15, 159, 110, 0.16);
  border: 1px solid rgba(15, 159, 110, 0.36);
  color: #6ee7b7;
  font-family: var(--mono);
  font-size: 11.5px;
  text-align: center;
}

.msg-meta {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.72;
  margin-bottom: 4px;
}

/* ==========================================================================
   7. Plans Hierarchy + West Georgia Territory Checker (#plans)
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.plan-card.featured {
  background: var(--navy);
  color: var(--on-dark);
  border-color: var(--navy);
  box-shadow: var(--shadow-navy);
}

.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 8px;
}

.plan-card.featured .plan-kicker {
  color: var(--amber);
}

.plan-card h3 {
  font-size: 1.48rem;
  margin: 0 0 8px;
}

.plan-card.featured h3 {
  color: var(--white);
}

.plan-desc {
  font-size: 0.92rem;
  color: var(--ink-2);
  margin: 0 0 20px;
}

.plan-card.featured .plan-desc {
  color: var(--on-dark-2);
}

.plan-list {
  list-style: none;
  padding: 20px 0 26px;
  margin: 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 11px;
}

.plan-card.featured .plan-list {
  border-top-color: var(--rule-dark);
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}

.plan-card.featured .plan-list li {
  color: var(--on-dark);
}

.plan-list svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.plan-card.featured .plan-list svg {
  color: var(--amber);
}

.plan-card .btn {
  width: 100%;
}

.exclusivity-bar {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: center;
}

.town-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.town-chip {
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-2);
  transition: all 0.18s ease;
}

.town-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.exclusivity-input-row {
  display: flex;
  gap: 10px;
}

.exclusivity-input-row input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--rule-strong);
  background: var(--paper);
  font-size: 0.92rem;
}

.good-to-know {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  font-size: 0.88rem;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.good-to-know strong {
  color: var(--ink);
}

/* ==========================================================================
   8. About Michael + FAQ + Floating CTA + Footer
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: start;
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about-cards-col {
  display: grid;
  gap: 18px;
}

.local-hub-card {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  padding: 26px;
}

.spotlight-sister-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 26px;
  border-left: 4px solid var(--amber);
}

.spotlight-sister-card p {
  color: var(--on-dark-2);
  font-size: 0.92rem;
  margin: 8px 0 18px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--rule-strong);
}

.faq-item {
  border-bottom: 1px solid var(--rule-strong);
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--display);
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--ink);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  transition: transform 0.25s var(--ease), background 0.18s ease, color 0.18s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}

.faq-body p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* Final CTA & Footer */
.cta-wrap {
  padding: 36px 0 88px;
  border-top: 1px solid var(--rule);
}

.cta-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 52px 46px;
  box-shadow: var(--shadow-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-card h2 {
  color: var(--white);
}

.site-footer {
  background: var(--navy);
  color: var(--on-dark-2);
  padding: 60px 0 84px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--on-dark-2);
  transition: color 0.18s ease;
}

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

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--on-dark-3);
}

/* ==========================================================================
   9. Understated "Quick Question" Desk Drawer (Wired to /api/chat)
   ========================================================================== */
.ai-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(14, 22, 40, 0.35);
  transition: transform 0.2s var(--ease);
}

.ai-launcher:hover {
  transform: translateY(-2px);
}

.ai-drawer {
  position: fixed;
  right: 22px;
  bottom: 78px;
  width: min(380px, calc(100vw - 28px));
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 78;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.ai-drawer.open {
  display: flex;
}

.ai-drawer-head {
  padding: 15px 18px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
}

.ai-messages {
  padding: 16px;
  max-height: 270px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
}

.ai-bubble {
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 0.87rem;
  line-height: 1.5;
  max-width: 90%;
}

.ai-bubble.bot {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--ink);
}

.ai-bubble.user {
  align-self: flex-end;
  background: var(--navy);
  color: var(--white);
}

.ai-quick-chips {
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--white);
  border-top: 1px solid var(--rule);
}

.ai-chip {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-2);
}

.ai-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ai-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--rule);
  background: var(--white);
}

.ai-input-row input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--rule-strong);
  font-size: 0.88rem;
  background: var(--paper);
  outline: none;
}

/* Scroll-Triggered Mobile Sticky Bar (Solid Opaque Navy) */
.mobile-sticky {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 74;
  padding: 8px;
  border-radius: 14px;
  background: #0e1628;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 54px rgba(8, 13, 28, 0.72);
  gap: 8px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: transform 0.28s var(--ease), opacity 0.24s ease;
}

.mobile-sticky.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-sticky .btn-outline-dark {
  background: #182545;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Subpages Shared Utilities */
.page-hero {
  padding: 58px 0 44px;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

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

.step-card {
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-lg);
  padding: 26px;
}

.step-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule-strong);
  background: var(--white);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  font-size: 0.9rem;
}

.compare-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
}

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

.report-mockup {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-navy);
}

.report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.report-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rule-dark);
  border-radius: 12px;
  padding: 18px;
}

.report-kpi strong {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--amber);
}

.report-kpi span {
  font-size: 0.8rem;
  color: var(--on-dark-2);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-family: var(--display);
  font-size: 1.38rem;
  margin: 30px 0 10px;
}

.prose p,
.prose li {
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* Understated Editorial Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-enter, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .kinetic-underline::after { transform: scaleX(1); animation: none; }
  .live-pulse::after { animation: none; }
}

/* Responsive */
@media (max-width: 1060px) {
  .hero-grid,
  .services-layout,
  .calc-grid,
  .demo-studio,
  .exclusivity-bar,
  .about-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .plans-grid,
  .steps-3 {
    grid-template-columns: 1fr;
  }

  .step-col {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    margin-right: 0;
    padding: 24px 0;
  }

  .step-col:last-child {
    border-bottom: none;
  }

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

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

@media (max-width: 820px) {
  .nav-links,
  .header-phone,
  .header-actions .btn-amber {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .section {
    padding: 72px 0;
  }

  .dispatch-stage,
  .form-grid-2,
  .savings-2col,
  .calc-sub-grid,
  .work-standards-points {
    grid-template-columns: 1fr;
  }

  .exclusivity-input-row {
    flex-direction: column;
  }

  .cta-card,
  .calc-panel,
  .hero-form-card {
    padding: 26px 20px;
  }

  body {
    padding-bottom: 84px;
  }

  .ai-launcher {
    display: none;
  }

  .mobile-sticky {
    display: flex;
  }

  .ai-drawer {
    left: 12px;
    right: 12px;
    bottom: 80px;
    width: auto;
  }
}

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

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