/* ==========================================================================
   Logic Konnect Solutions — design system
   Modern, futuristic, systems-engineering aesthetic.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --bg-soft: #eef4f8;
  --ink: #08192b;
  --ink-900: #06111c;
  --ink-800: #0a1b2b;
  --body: #33465c;
  --muted: #64748b;
  --line: #dbe4ec;
  --line-strong: #c3d2df;
  --accent: #10b981;
  --accent-dark: #059669;
  --accent-light: #06b6d4;
  --accent-violet: #7c6cf6;
  --accent-soft: #e6faf3;
  --accent2-soft: #e6f7fc;
  --gradient: linear-gradient(120deg, var(--accent) 0%, var(--accent-light) 58%, var(--accent-violet) 120%);
  --gradient-text: linear-gradient(100deg, #34d399 0%, #22d3ee 55%, #a78bfa 100%);
  --ring: conic-gradient(from -45deg, var(--accent) 0deg, var(--accent-light) 150deg, var(--accent-violet) 270deg, var(--accent) 360deg);
  --footer-bg: #06111c;
  --footer-body: rgba(255, 255, 255, 0.66);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(6, 17, 28, 0.05), 0 10px 30px -18px rgba(6, 17, 28, 0.18);
  --shadow-lg: 0 28px 70px -32px rgba(6, 17, 28, 0.35);
  --shadow-glow: 0 20px 50px -22px rgba(6, 182, 212, 0.55);
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --space-section: clamp(44px, 5.5vw, 68px);
  color-scheme: light;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

::selection { background: rgba(16, 185, 129, 0.24); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); max-width: 30ch; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
h4 { font-size: 0.95rem; font-weight: 600; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }
ul li { margin-bottom: 7px; }
ul li::marker { color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.18);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  animation: dot-pulse 2.6s ease-in-out infinite;
}

.lede { font-size: 1.06rem; line-height: 1.7; color: var(--muted); max-width: 62ch; margin-bottom: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(219, 228, 236, 0.8);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), transparent);
  opacity: 0.6;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px -30px rgba(6, 17, 28, 0.4);
}

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

.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-mark { flex-shrink: 0; height: 38px; width: 38px; display: block; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .lk-logic { color: var(--accent); }
.logo-text .lk-konnect { color: var(--ink); }
.logo-text small {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.logo-text.small { font-size: 0.92rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.site-footer .logo-mark { height: 34px; width: 34px; }
.site-footer .logo-text .lk-konnect { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) {
  position: relative;
  color: var(--body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.18s ease;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:not(.btn):hover { color: var(--accent-dark); text-decoration: none; }
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--accent-dark); }
.nav-dropdown-menu a::after { content: none; }
.footer-grid nav a[aria-current="page"] { color: #fff; }

.nav-cta { padding: 11px 20px; font-size: 0.86rem; }
.nav-links a.nav-tool:not(.btn) {
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.84rem;
  white-space: nowrap;
}
.nav-links a.nav-tool::after { display: none; }
.nav-links a.nav-tool:hover { color: var(--accent-dark); background: #d6f6e9; text-decoration: none; }

.has-dropdown { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  margin: 0;
  color: var(--muted);
  cursor: pointer;
}
.nav-dropdown-chevron { width: 14px; height: 14px; transition: transform 0.18s ease; }
.has-dropdown:hover .nav-dropdown-chevron,
.has-dropdown.open .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 292px;
  display: none;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  z-index: 200;
  animation: dropdown-in 0.16s ease both;
}
.has-dropdown:hover .nav-dropdown-menu,
.has-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  padding: 9px 12px !important;
  border-radius: 9px;
  font-size: 0.86rem !important;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--accent-dark);
  text-decoration: none !important;
  transform: translateX(2px);
}
.nav-dropdown-menu .nav-dropdown-viewall {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 12px !important;
  color: var(--accent-dark) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  width: 42px; height: 42px;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient);
  color: #04121c;
  box-shadow: 0 12px 28px -14px rgba(6, 182, 212, 0.65);
}
.btn-primary:hover { box-shadow: 0 18px 36px -14px rgba(6, 182, 212, 0.8); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-primary:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { display: none; }
}

.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }

.hero .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.7); }
.hero .btn-primary::after { display: none; }
.hero .btn-primary:hover { background: #ecfff8; }
.hero .btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

.cta-band .btn-primary,
.signup-actions .btn-primary,
.inline-signup .btn-primary,
.feature-card .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 16px 36px -20px rgba(0, 0, 0, 0.6); }
.cta-band .btn-primary:hover,
.signup-actions .btn-primary:hover,
.inline-signup .btn-primary:hover,
.feature-card .btn-primary:hover { background: #ecfff8; }
.signup-actions .btn-ghost,
.inline-signup .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.signup-actions .btn-ghost:hover,
.inline-signup .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

/* ---------- hero (homepage) ---------- */
.hero.cover {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(56px, 7vw, 96px) 0 0;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(6, 182, 212, 0.32), transparent 62%),
    radial-gradient(720px 480px at -6% 108%, rgba(124, 108, 246, 0.24), transparent 62%),
    linear-gradient(140deg, #06111c 0%, #081a2b 48%, #0a2436 100%);
}
.hero.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 55% 18%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 55% 18%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero.cover::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -140px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 65%);
  filter: blur(18px);
  pointer-events: none;
}
.hero.cover .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero .eyebrow { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #e8feff; }
.hero .eyebrow-dot { background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18), 0 0 14px rgba(52, 211, 153, 0.8); }
.hero h1 {
  color: #fff;
  max-width: 15ch;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.hero .lede { color: rgba(255, 255, 255, 0.82); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 50ch; }
.grad-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 26px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero-points li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-points li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.9);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero-proof strong { color: #fff; font-weight: 700; }
.page-hero .hero-proof { color: var(--muted); }
.page-hero .hero-proof strong { color: var(--ink); }

.hero-visual { position: relative; display: flex; justify-content: flex-end; }
.ops-console {
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 18px;
}
.ops-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
}
.ops-lights { display: inline-flex; gap: 6px; }
.ops-lights i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.ops-lights i:nth-child(1) { background: #ff6b6b; }
.ops-lights i:nth-child(2) { background: #ffd166; }
.ops-lights i:nth-child(3) { background: #34d399; }
.ops-title { font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.ops-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #a7f3d0; font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.ops-status i { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: dot-pulse 2.4s ease-in-out infinite; }
.ops-body { display: grid; gap: 15px; padding: 20px 2px 16px; }
.ops-row { display: grid; grid-template-columns: minmax(0, 1fr) 74px auto; align-items: center; gap: 12px; }
.ops-label { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.86); white-space: nowrap; }
.ops-bullet { width: 8px; height: 8px; border-radius: 3px; background: var(--gradient); box-shadow: 0 0 10px rgba(6, 182, 212, 0.7); flex-shrink: 0; }
.ops-meter { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.ops-meter span {
  display: block;
  height: 100%;
  width: var(--v, 70%);
  border-radius: inherit;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
  transform-origin: left;
  animation: meter-in 1.1s ease both;
}
.ops-meter .ops-meter-92 { width: 92%; }
.ops-meter .ops-meter-78 { width: 78%; }
.ops-meter .ops-meter-100 { width: 100%; }
.ops-meter .ops-meter-86 { width: 86%; }
.ops-meter .ops-meter-74 { width: 74%; }
.ops-chip {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c7f9ea;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}
.ops-foot { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.72rem; color: rgba(255, 255, 255, 0.56); letter-spacing: 0.02em; }
.float-chip {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: float-y 6s ease-in-out infinite;
}
.float-chip--a { top: -16px; left: -16px; }
.float-chip--b { bottom: 22px; left: -24px; animation-delay: -2s; }

.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(48px, 6vw, 76px);
  padding: 26px 24px 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.stat { display: flex; flex-direction: column; gap: 4px; padding: 4px 24px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-n { font-family: var(--font-display); font-size: clamp(1.55rem, 2.6vw, 2rem); font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.stat-l { font-size: 0.78rem; color: rgba(255, 255, 255, 0.66); }

/* ---------- sections ---------- */
.section { padding: var(--space-section) 0; }
.section-alt { background: linear-gradient(180deg, #f6f9fc, #eef4f8); }

/* ---------- cards & interactive surfaces ---------- */
.card,
.preview-item,
.highlight,
.case,
.case-preview,
.service-card,
.contact-card,
.founder-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.service-card,
.highlight,
.preview-item,
.case,
.case-preview,
.contact-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover,
.service-card:hover,
.highlight:hover,
.preview-item:hover,
.case:hover,
.case-preview:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(6, 182, 212, 0.5);
}

.highlight,
.preview-item { overflow: hidden; }
.highlight::before,
.preview-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.highlight:hover::before,
.preview-item:hover::before { opacity: 1; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 8px;
}
.highlights + .two-col { margin-top: 40px; }
.two-col + .two-col { margin-top: 22px; }

.card { padding: clamp(22px, 3vw, 30px); }
.card p:last-child { margin-bottom: 0; }

/* ---------- numbered badges ---------- */
.service-num,
.h-num,
.preview-num {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--gradient);
  color: #04121c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 10px 24px -10px rgba(6, 182, 212, 0.6);
  animation: badge-glow 4.2s ease-in-out infinite;
}
.h-num { margin-bottom: 14px; }
.preview-num { margin-bottom: 12px; }

/* ---------- services (accordion) ---------- */
.services { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }

.service-card { overflow: hidden; }
.service-card[open] { border-color: rgba(6, 182, 212, 0.45); box-shadow: var(--shadow-lg); }

.service-summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  gap: 20px;
  align-items: start;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  cursor: pointer;
  list-style: none;
}
.service-summary::-webkit-details-marker { display: none; }
.service-summary::marker { content: ""; }

.service-num { width: 40px; height: 40px; }
.service-kicker {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.service-summary h3 { margin-bottom: 6px; }
.service-teaser { margin: 0; color: var(--muted); font-size: 0.92rem; }
.service-card[open] .service-teaser { display: none; }

.service-chevron {
  width: 18px; height: 18px;
  color: var(--muted);
  margin-top: 10px;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.service-card[open] .service-chevron { transform: rotate(180deg); color: var(--accent-dark); }

.service-body { padding: 0 clamp(20px, 3vw, 32px) clamp(24px, 3vw, 32px) calc(clamp(20px, 3vw, 32px) + 60px); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  margin: 18px 0;
}
.service-grid .k {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.service-grid ul { margin: 0; padding-left: 1.1em; font-size: 0.92rem; }

.callout {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 18px;
  font-size: 0.92rem;
  color: var(--ink);
  margin: 18px 0;
}

.best-for {
  font-size: 0.87rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 6px;
  margin-bottom: 0;
}

/* ---------- feature callout ---------- */
.feature-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(6, 182, 212, 0.25), transparent 60%),
    linear-gradient(135deg, #06111c 0%, #0a2436 100%);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
}
.two-col + .feature-card { margin-top: 30px; }
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 90% 10%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 90% 10%, #000 10%, transparent 75%);
  pointer-events: none;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card .eyebrow { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.feature-card h2, .feature-card h3 { color: #fff; }
.feature-card p { color: rgba(255, 255, 255, 0.8); margin-bottom: 0; }

/* ---------- track record ---------- */
.case-list { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.case {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: clamp(22px, 3vw, 30px);
}
.case-kicker {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
}
.case-main { max-width: 64ch; }
.case-main p { margin-bottom: 0; color: var(--body); font-size: 0.94rem; }
.case-metrics { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; align-items: flex-end; }
.case-metrics span,
.case-preview-metric {
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

/* ---------- why us ---------- */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 36px 0 0; }
.highlight { padding: 24px; }
.highlight h3 { font-size: 1rem; }
.highlight p { font-size: 0.88rem; margin-bottom: 0; color: var(--muted); }

.ratings { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ratings td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ratings td:last-child { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ratings tr:last-child td { border-bottom: none; }

.plain-list { list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.9rem; }
.plain-list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: none; }
.fine-print { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }

.founder-card { display: flex; gap: 24px; align-items: flex-start; padding: 30px; margin-top: 28px; }
.founder-label {
  flex-shrink: 0;
  width: 90px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  padding-top: 4px;
}
.leadership-eyebrow { margin-top: 42px; }

/* ---------- mini stats ---------- */
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 44px; }
.mini-stats > div {
  font-size: 0.84rem;
  color: var(--muted);
  background: linear-gradient(180deg, #fff, var(--bg-alt));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.mini-n {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

/* ---------- homepage preview grids ---------- */
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.preview-item { padding: 26px 28px; }
.preview-item h3 { font-size: 1.04rem; margin-bottom: 8px; }
.preview-item p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0; }

.preview-item.is-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(6, 182, 212, 0.25), transparent 60%),
    linear-gradient(135deg, #06111c, #0a2436);
  border-color: transparent;
  color: #fff;
  text-decoration: none;
}
.preview-item.is-cta::before { opacity: 1; }
.preview-item.is-cta h3 { color: #fff; }
.preview-item.is-cta p { color: rgba(255, 255, 255, 0.72); }
.preview-item.is-cta .preview-num { background: #fff; color: var(--ink); box-shadow: none; }
.preview-item.is-cta:hover { border-color: rgba(6, 182, 212, 0.5); text-decoration: none; }
.preview-item.is-cta .preview-num { animation: none; }
.preview-item.is-cta .cta-arrow { margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: #6ee7b7; }

.case-preview-list { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.case-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
}
.case-preview h3 { font-size: 1.02rem; margin-bottom: 0; }
.case-preview .case-kicker { margin-bottom: 4px; }

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-dark);
  transition: gap 0.18s ease, color 0.18s ease;
}
.section-link:hover { gap: 10px; text-decoration: none; color: var(--accent); }

/* ---------- contact ---------- */
.offer-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(6, 182, 212, 0.2), transparent 60%),
    linear-gradient(135deg, #06111c, #0a2436);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  margin: 0 0 56px;
}
.offer-box h3 { color: #fff; margin-bottom: 10px; }
.offer-box p { color: rgba(255, 255, 255, 0.8); margin-bottom: 0; }
.offer-box .eyebrow { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; }

.inline-signup {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(6, 182, 212, 0.22), transparent 60%),
    radial-gradient(400px 260px at 0% 100%, rgba(124, 108, 246, 0.16), transparent 60%),
    linear-gradient(135deg, #06111c, #0a2436);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  margin: 0 0 56px;
  box-shadow: var(--shadow-lg);
}
.inline-signup::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 90% 10%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 90% 10%, #000 10%, transparent 75%);
  pointer-events: none;
}
.inline-signup > * { position: relative; z-index: 1; }
.inline-signup .eyebrow { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.inline-signup h2 { color: #fff; max-width: 22ch; }
.inline-signup h3 { color: #fff; }
.inline-signup .lede { color: rgba(255, 255, 255, 0.8); }
.inline-signup .signup-actions { margin-top: 24px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.contact-aside { position: sticky; top: 96px; }
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.contact-card .k {
  font-family: var(--font-display);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-card a, .contact-card span { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact-card a { display: block; }
.contact-card a + a { margin-top: 8px; }
.contact-card address { color: var(--ink); font-style: normal; font-weight: 600; line-height: 1.5; }

.contact-steps { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-steps h3 { font-size: 1rem; margin-bottom: 14px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { position: relative; padding-left: 38px; font-size: 0.86rem; color: var(--muted); }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { display: block; color: var(--ink); font-size: 0.9rem; }

#contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
}
.form-head { margin-bottom: 22px; }
.form-head h3 { margin-bottom: 4px; font-size: 1.25rem; }
.form-head p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.client-logo img.client-logo-wide { max-width: 170px; }
.field:last-child { margin-bottom: 0; }
.field label, fieldset.field legend { font-size: 0.82rem; font-weight: 600; color: var(--ink); padding: 0; }
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field input[type="password"],
.field input[type="number"],
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f7fafc;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field select { cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
fieldset.field { border: none; margin: 4px 0 20px; padding: 0; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--body);
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.checkbox-grid label:hover { border-color: var(--line-strong); }
.checkbox-grid label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.checkbox-grid input[type="checkbox"],
.field-consent input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.field-consent label { display: flex; align-items: flex-start; gap: 9px; font-size: 0.84rem; font-weight: 400; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-more { margin: 2px 0 20px; }
.form-more summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-dark);
  padding: 12px 2px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}
.form-more[open] summary { border-bottom-color: var(--line); margin-bottom: 4px; }
.form-more[open] summary::before { content: "\2212"; }
.form-more summary .form-more-hint { font-weight: 400; color: var(--muted); }
.form-more-body { padding-top: 16px; }
.form-more-body .form-grid { margin-bottom: 16px; }

.lead-form button[type="submit"],
#contact-form button[type="submit"] {
  width: 100%;
  border: none;
  background: var(--gradient);
  color: #04121c;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 16px 34px -16px rgba(6, 182, 212, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.lead-form button[type="submit"]:hover,
#contact-form button[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 20px 40px -16px rgba(6, 182, 212, 0.75);
}
.lead-form button[type="submit"]:disabled,
#contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: default; transform: none; }
#form-status { color: #dc2626; font-size: 0.84rem; min-height: 1.2em; margin: 10px 0 0; }
.form-success {
  color: #059669;
  font-weight: 600;
  margin: 14px 0 0;
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 12px 14px;
  border-radius: 10px;
}
.form-trust { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--muted); margin: 12px 0 0; }
.form-trust svg { width: 14px; height: 14px; color: var(--accent-dark); flex-shrink: 0; }

/* ---------- page hero (subpages) ---------- */
.page-hero.cover {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(6, 182, 212, 0.14), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, rgba(124, 108, 246, 0.1), transparent 60%),
    linear-gradient(180deg, #f6fafc, #eef4f8);
  color: var(--ink);
  padding: clamp(52px, 6vw, 84px) 0 clamp(46px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
}
.page-hero.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 25, 43, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 25, 43, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 10%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 80% 10%, #000 10%, transparent 75%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-dark); text-decoration: none; }
.page-hero h1 { color: var(--ink); max-width: 22ch; margin-bottom: 14px; }
.page-hero .eyebrow { background: var(--accent-soft); color: var(--accent-dark); }
.page-hero .lede { color: var(--muted); max-width: 64ch; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: clamp(58px, 7vw, 88px) 0;
  background:
    radial-gradient(700px 380px at 50% -10%, rgba(6, 182, 212, 0.28), transparent 65%),
    linear-gradient(140deg, #06111c, #0a2436);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 10%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 10%, #000 10%, transparent 78%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  left: 50%; bottom: -270px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 108, 246, 0.28), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .eyebrow { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.cta-band h2 { color: #fff; max-width: 24ch; margin-left: auto; margin-right: auto; }
.cta-band .lede { color: rgba(255, 255, 255, 0.8); margin: 0 auto 28px; max-width: 58ch; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- signup band (homepage) ---------- */
.signup-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(800px 500px at 85% -10%, rgba(6, 182, 212, 0.28), transparent 62%),
    radial-gradient(600px 400px at 0% 110%, rgba(124, 108, 246, 0.24), transparent 62%),
    linear-gradient(140deg, #06111c, #081a2b 50%, #0a2436);
}
.signup-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 55% 10%, #000 15%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 80% at 55% 10%, #000 15%, transparent 80%);
  pointer-events: none;
}
.signup-band .wrap { position: relative; z-index: 1; }

.signup-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.signup-copy .eyebrow { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.signup-copy h2 { color: #fff; max-width: 20ch; }
.signup-copy .lede { color: rgba(255, 255, 255, 0.8); }
.signup-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.signup-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  margin: 24px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
.signup-trust li { display: flex; align-items: center; gap: 7px; margin: 0; }
.signup-trust li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.9);
}

.signup-panel {
  background: rgba(4, 14, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
}
.signup-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.signup-panel-head h3 { color: #fff; margin: 0; font-size: 1rem; }
.signup-badge {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}
.signup-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.signup-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); margin: 0; }
.signup-list .ic {
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signup-list .ic svg { width: 11px; height: 11px; }
.signup-list strong { color: #fff; font-weight: 600; }

.signup-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.signup-steps .step { font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); }
.signup-steps .step .n { display: block; font-family: var(--font-display); font-size: 0.8rem; color: #6ee7b7; margin-bottom: 3px; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--footer-bg); color: var(--footer-body); padding: 56px 0; }
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 15% -20%, rgba(6, 182, 212, 0.14), transparent 60%);
  pointer-events: none;
}
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text small { color: var(--footer-body); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 32px;
  align-items: start;
  font-size: 0.85rem;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 14px;
}
.footer-grid p { margin-top: 8px; margin-bottom: 0; }
.footer-grid nav { display: flex; flex-direction: column; gap: 9px; }
.footer-grid nav a { color: var(--footer-body); text-decoration: none; transition: color 0.16s ease; }
.footer-grid nav a:hover { color: #fff; }
.footer-meta { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; text-align: right; }
.footer-meta a { color: var(--footer-body); text-decoration: none; transition: color 0.16s ease; }
.footer-meta a:hover { color: #fff; }
.footer-address-label { margin-top: 4px; color: var(--footer-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-meta address { color: var(--footer-body); font-size: 0.78rem; font-style: normal; line-height: 1.5; }

/* ---------- reveal / motion ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .reveal.is-visible > * { animation: stagger-up 0.55s ease both; }
@keyframes stagger-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.js .reveal.is-visible > *:nth-child(1) { animation-delay: 0s; }
.js .reveal.is-visible > *:nth-child(2) { animation-delay: 0.06s; }
.js .reveal.is-visible > *:nth-child(3) { animation-delay: 0.12s; }
.js .reveal.is-visible > *:nth-child(4) { animation-delay: 0.18s; }
.js .reveal.is-visible > *:nth-child(5) { animation-delay: 0.24s; }
.js .reveal.is-visible > *:nth-child(6) { animation-delay: 0.3s; }
.js .reveal.is-visible > *:nth-child(7) { animation-delay: 0.36s; }
.js .reveal.is-visible > *:nth-child(8) { animation-delay: 0.42s; }

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes meter-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 10px 24px -10px rgba(6, 182, 212, 0.55); }
  50% { box-shadow: 0 12px 30px -8px rgba(16, 185, 129, 0.65); }
}
@keyframes dropdown-in {
  from { opacity: 0; transform: translate(-50%, -4px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- case study metrics ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--accent-dark);
}
.metric span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9rem; }
.metric-grid + .lede { margin-top: 26px; }

/* ---------- article / insights ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: 0.88rem; }
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 { margin-top: 44px; }
.article-body h3 { margin-top: 30px; }
.article-body p, .article-body li { color: var(--body); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; }
.article-body th, .article-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { color: var(--ink); font-family: var(--font-display); }
.article-callout {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.article-callout p:last-child { margin-bottom: 0; }
.article-toc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 28px 0; }
.article-toc h2 { margin: 0 0 10px; font-size: 1rem; }
.article-toc ol { margin: 0; padding-left: 20px; }
.article-toc li { margin-bottom: 6px; }
a.preview-item { text-decoration: none; color: inherit; }
a.preview-item:hover { border-color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; margin-top: 26px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--accent-dark); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 10px 0 0; color: var(--muted); }

/* ---------- client logo marquee ---------- */
.logo-band { padding: 34px 0 10px; }
.logo-band-label {
  margin: 0 0 22px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 42s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-set {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
  padding-right: clamp(30px, 4vw, 58px);
}
.client-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--muted);
  opacity: 0.82;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.client-logo svg { width: 21px; height: 21px; flex-shrink: 0; }
.client-logo img {
  height: 24px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.client-logo:hover img { filter: none; opacity: 1; }
.client-logo:hover { color: var(--ink); opacity: 1; text-decoration: none; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .logo-set { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .logo-set[aria-hidden="true"] { display: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- mobile sticky CTA ---------- */
.mobile-cta { display: none; }

@media (max-width: 760px) {
  .metric-grid { grid-template-columns: 1fr; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--gradient);
    box-shadow: 0 18px 40px -16px rgba(6, 17, 28, 0.55);
    text-decoration: none;
  }
  .mobile-cta:hover { text-decoration: none; }
  .site-header.nav-open ~ .mobile-cta { display: none; }
}

/* ---------- responsive ---------- */
html.nav-lock { overflow: hidden; }

@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { font-size: 0.85rem; }
  .nav-cta { padding: 10px 16px; font-size: 0.82rem; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    animation: nav-in 0.2s ease both;
  }
  .site-header.nav-open .nav-links a:not(.btn) { padding: 10px 4px; font-size: 0.95rem; }
  .site-header.nav-open .nav-links a.nav-tool { align-self: flex-start; padding: 8px 12px; }
  .site-header.nav-open .nav-cta { width: 100%; margin-top: 10px; }
  .site-header.nav-open .nav-links a:not(.btn)::after { display: none; }
  .has-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    min-width: 0;
    width: 100%;
    margin: 2px 0 6px 12px;
    padding: 0;
    display: flex !important;
    animation: none;
  }
  .nav-dropdown-menu a { padding: 7px 0 !important; color: var(--muted) !important; white-space: normal; }
  .nav-dropdown-toggle { display: none; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: none; }
  .hero h1 { max-width: 16ch; }
  .hero-visual { justify-content: flex-start; }
  .ops-console { max-width: 560px; }
  .signup-card, .inline-signup { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { align-items: flex-start; text-align: left; }
}

@media (max-width: 760px) {
  .preview-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat { padding: 0; border-left: 0; }
  .two-col { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .case { flex-direction: column; }
  .case-metrics { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
  .case-preview { flex-direction: column; align-items: flex-start; gap: 10px; }
  .feature-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; }
  .service-summary { grid-template-columns: 1fr 20px; padding: 22px 20px; }
  .service-num { display: none; }
  .service-body { padding: 0 20px 24px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .stat-bar { grid-template-columns: 1fr; }
  .highlights, .mini-stats { grid-template-columns: 1fr; }
  .signup-steps { grid-template-columns: 1fr; }
  .hero-actions .btn, .signup-actions .btn { width: 100%; }
  .float-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.is-visible > * { animation: none; }
}


/* ---------- self-hosted fonts ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- inline assessment form ---------- */
.assessment-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3.5vw, 42px);
}
.assessment-copy h2 { margin-bottom: 12px; }
.assessment-copy p { color: var(--muted); }
.assessment-copy .plain-list { margin: 18px 0 0; }
.assessment-form-wrap { background: #f7fafc; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 2.6vw, 28px); }
.assessment-form-wrap .form-grid { gap: 14px 16px; }

/* ---------- cloud waste calculator ---------- */
.calc-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(22px, 3.5vw, 44px);
  align-items: start;
  margin-top: 34px;
}
.calc-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 34px);
}
.calc-panel h2 { font-size: 1.2rem; margin-bottom: 18px; }
.calc-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.calc-field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.calc-field .calc-hint { font-size: 0.76rem; color: var(--muted); margin: 0; }
.calc-input-row { display: flex; align-items: center; gap: 12px; }
.calc-input-row input[type="number"] {
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f7fafc;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.calc-input-row input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
  background: #fff;
}
.calc-input-row input[type="range"] { flex: 1; accent-color: var(--accent); }
.calc-input-row output { min-width: 56px; text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--accent-dark); }
.calc-result {
  position: sticky;
  top: 96px;
  background: linear-gradient(155deg, #06111c, #0b2438 60%, #07302c);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  color: #eaf6ff;
  box-shadow: var(--shadow-lg);
}
.calc-result .eyebrow { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.calc-result h2 { color: #fff; font-size: 1.15rem; margin: 12px 0 4px; }
.calc-amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; margin: 14px 0 4px; color: #fff; }
.calc-amount small { display: block; font-size: 0.8rem; font-weight: 500; color: rgba(234, 246, 255, 0.65); letter-spacing: 0.04em; margin-top: 8px; }
.calc-annual { font-size: 0.9rem; color: rgba(234, 246, 255, 0.78); margin: 0 0 20px; }
.calc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.calc-bars li { font-size: 0.8rem; color: rgba(234, 246, 255, 0.8); }
.calc-bar-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; min-width: 0; }
.calc-bar-head span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calc-bar-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.calc-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22d3ee, #34d399); width: 0; transition: width 0.3s ease; }
.calc-note { font-size: 0.72rem; color: rgba(234, 246, 255, 0.55); margin: 18px 0 0; }
.calc-capture { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 20px; }
.calc-capture h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.calc-capture p { color: rgba(234, 246, 255, 0.72); font-size: 0.82rem; margin-bottom: 14px; }
.calc-capture .field label { color: rgba(234, 246, 255, 0.8); }
.calc-capture .field input[type="text"],
.calc-capture .field input[type="email"] { background: rgba(4, 12, 22, 0.6); border-color: rgba(255, 255, 255, 0.18); color: #eaf6ff; }
.calc-capture .field input:focus { background: rgba(4, 12, 22, 0.85); }
.calc-capture .field-consent label { color: rgba(234, 246, 255, 0.7); }
.calc-capture .form-success { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.32); color: #6ee7b7; }
.calc-capture .form-status { color: #fca5a5; }

/* ---------- related links ---------- */
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.related-link {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.related-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.related-link strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; }
.related-link span { font-size: 0.84rem; color: var(--muted); }

@media (max-width: 900px) {
  .assessment-card,
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}
@media (max-width: 620px) {
  .related-links { grid-template-columns: 1fr; }
}

/* ---------- lead magnet (exit-intent / deep-scroll capture) ---------- */
html.lk-magnet-lock { overflow: hidden; }
.lk-magnet {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 20px;
}
.lk-magnet[hidden] { display: none; }
.lk-magnet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 17, 28, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: lk-magnet-fade 0.2s ease both;
}
.lk-magnet-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--shadow-lg);
  animation: lk-magnet-rise 0.25s ease both;
}
.lk-magnet-card h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 10px; max-width: none; }
.lk-magnet-lede { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.lk-magnet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.lk-magnet-close:hover { border-color: var(--accent); color: var(--ink); }
.lk-magnet-points {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}
.lk-magnet-points li {
  position: relative;
  padding-left: 24px;
  font-size: 0.88rem;
  color: var(--body);
  margin: 0;
}
.lk-magnet-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.lk-magnet-form .field { margin-bottom: 12px; }
.lk-magnet-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.lk-magnet-form .form-status { color: #b91c1c; font-size: 0.82rem; margin: 10px 0 0; }
.lk-magnet-success { display: grid; gap: 12px; }
.lk-magnet-success[hidden] { display: none; }
.lk-magnet-success .btn { width: 100%; justify-content: center; }
.lk-magnet-success-title { font-weight: 600; color: var(--ink); margin: 0; }
.lk-magnet-checklist {
  list-style: none;
  counter-reset: lk-magnet-step;
  margin: 0;
  padding: 0;
  max-height: 46vh;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.lk-magnet-checklist li {
  counter-increment: lk-magnet-step;
  position: relative;
  margin: 0;
  padding: 10px 14px 10px 46px;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}
.lk-magnet-checklist li:last-child { border-bottom: 0; }
.lk-magnet-checklist li::before {
  content: counter(lk-magnet-step, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 11px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.lk-magnet-checklist strong { display: block; color: var(--ink); font-size: 0.88rem; margin-bottom: 2px; }
.lk-magnet-checklist span { color: var(--muted); }
.lk-magnet-fineprint { font-size: 0.74rem; color: var(--muted); margin: 12px 0 0; }
@keyframes lk-magnet-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lk-magnet-rise { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (max-width: 620px) {
  .lk-magnet { padding: 12px; align-items: end; }
  .lk-magnet-card { max-height: calc(100vh - 24px); border-radius: var(--radius); }
}
@media (prefers-reduced-motion: reduce) {
  .lk-magnet-backdrop, .lk-magnet-card { animation: none; }
}

/* Contact clarity: keep location understated and make map directions easy to open. */
.footer-map-link { margin-top: -4px; font-size: 0.72rem; }
.contact-location-card { display: block; }
.contact-location-card .k { margin-bottom: 8px; }
.contact-location-card address { margin-bottom: 10px; }
.contact-map-link { display: inline-flex !important; align-items: center; gap: 5px; color: var(--accent) !important; font-size: 0.82rem; font-weight: 700 !important; text-decoration: none; }
.contact-map-link:hover, .footer-map-link:hover { text-decoration: underline; text-underline-offset: 3px; }
