/* ===== CoyotePack MSP — Design System ===== */
:root, :root[data-theme="dark"] {
  --cp-midnight: #07142F;
  --cp-deep-navy: #0B1F4D;
  --cp-coyote-blue: #123F7A;
  --cp-tech-teal: #21D6C5;
  --cp-circuit-green: #77FF4F;
  --cp-ice-white: #F5F7FA;
  --cp-charcoal: #212121;
  --cp-muted: #8C9BB5;
  --cp-mute-2: #6A7A95;
  --cp-surface: var(--cp-midnight);
  --cp-surface-alt: var(--cp-deep-navy);
  --cp-card-bg: rgba(245,247,250,0.03);
  --cp-card-border: rgba(245,247,250,0.1);
  --cp-card-border-strong: rgba(245,247,250,0.18);
  --cp-nav-bg: rgba(7,20,47,0.78);
  --cp-on-accent: #07142F;       /* ink color for text/icons that sit on bright accent fills — always dark, never themed */
  --cp-hairline: rgba(245,247,250,0.06);
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
}
:root[data-theme="light"] {
  --cp-midnight: #F4F6FA;       /* base background — was deep dark */
  --cp-deep-navy: #E6ECF3;      /* alt background */
  --cp-coyote-blue: #C9D7E8;    /* tinted band */
  --cp-tech-teal: #0FB0A1;      /* darker teal for AA contrast on light */
  --cp-circuit-green: #3FA61D;  /* darker green for contrast */
  --cp-ice-white: #0B1A3D;      /* primary foreground (text)  */
  --cp-charcoal: #DEE4EE;
  --cp-muted: #4A5365;
  --cp-mute-2: #5E6878;
  --cp-surface: #F4F6FA;
  --cp-surface-alt: #E6ECF3;
  --cp-card-bg: #FFFFFF;
  --cp-card-border: rgba(11,26,61,0.12);
  --cp-card-border-strong: rgba(11,26,61,0.22);
  --cp-nav-bg: rgba(255,255,255,0.85);
  --cp-on-accent: #07142F;       /* same — dark ink on accent fills */
  --cp-hairline: rgba(11,26,61,0.08);
}
html { color-scheme: light dark; }

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cp-midnight);
  color: var(--cp-ice-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-width: 0;
}
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 { overflow-wrap: anywhere; }

/* Typography helpers */
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
/* Display headings — base styling. Font-size comes from Tailwind text-Nxl utilities at ≥481px;
   mobile cap enforced in the @media (max-width:480px) block below. */
.display { font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--cp-tech-teal);
  font-weight: 700;
}

.teal { color: var(--cp-tech-teal); }
.green { color: var(--cp-circuit-green); }
.muted { color: var(--cp-muted); }
.mute-2 { color: var(--cp-mute-2); }
.ice { color: var(--cp-ice-white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn-teal {
  background: linear-gradient(135deg, var(--cp-tech-teal), #18a99c);
  color: var(--cp-on-accent);
}
.btn-teal:hover { filter: brightness(1.08); box-shadow: 0 0 32px rgba(33,214,197,0.5); }
.btn-green {
  background: var(--cp-circuit-green);
  color: var(--cp-on-accent);
  box-shadow: 0 0 24px rgba(119,255,79,0.35);
}
.btn-green:hover { filter: brightness(1.08); box-shadow: 0 0 36px rgba(119,255,79,0.55); }
.btn-outline {
  background: transparent;
  color: var(--cp-ice-white);
  border: 1.5px solid var(--cp-card-border-strong);
}
.btn-outline:hover { border-color: var(--cp-tech-teal); color: var(--cp-tech-teal); }
.btn-rescue {
  background: var(--cp-midnight);
  color: var(--cp-circuit-green);
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
}
.btn-rescue:hover { background: var(--cp-charcoal); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

/* Backgrounds */
.bg-midnight { background: var(--cp-midnight); }
.bg-navy { background: var(--cp-deep-navy); }
.bg-coyote { background: var(--cp-coyote-blue); }

/* Hex grid pattern overlay */
.hex-grid {
  background-image:
    linear-gradient(60deg, rgba(33,214,197,0.06) 25%, transparent 25.5%, transparent 75%, rgba(33,214,197,0.06) 75.5%),
    linear-gradient(120deg, rgba(33,214,197,0.06) 25%, transparent 25.5%, transparent 75%, rgba(33,214,197,0.06) 75.5%);
  background-size: 70px 121px;
}

/* Hero with photo background — heavy dark+teal overlay so any photo looks branded */
.hero-photo {
  position: relative;
  background-color: var(--cp-on-accent); /* fallback if photo fails to load */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(33,214,197,0.2), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(18,63,122,0.4), transparent 55%),
    linear-gradient(180deg, rgba(7,20,47,0.55) 0%, rgba(7,20,47,0.78) 70%, var(--cp-midnight) 100%);
  pointer-events: none;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(60deg, rgba(33,214,197,0.05) 25%, transparent 25.5%, transparent 75%, rgba(33,214,197,0.05) 75.5%),
    linear-gradient(120deg, rgba(33,214,197,0.05) 25%, transparent 25.5%, transparent 75%, rgba(33,214,197,0.05) 75.5%);
  background-size: 70px 121px;
  opacity: 0.35;
  pointer-events: none;
}

/* Feature section with photo background — for CTA bands like Five Nines */
.feature-photo {
  position: relative;
  background-color: var(--cp-on-accent);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.feature-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,20,47,0.92) 0%, rgba(7,20,47,0.6) 60%, rgba(7,20,47,0.3) 100%);
  pointer-events: none;
}
.feature-photo > * { position: relative; z-index: 2; }

/* Half-photo split layout */
.split-photo {
  background-color: var(--cp-deep-navy);
  background-size: cover;
  background-position: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
}
.split-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,20,47,0.45) 0%, rgba(33,214,197,0.2) 100%);
  pointer-events: none;
}

/* Subtle photo backdrop for content sections — visible texture */
.bg-photo-subtle {
  position: relative;
  background-color: var(--cp-deep-navy);
  background-size: cover;
  background-position: center;
}
.bg-photo-subtle::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(33,214,197,0.12), transparent 55%),
    linear-gradient(180deg, rgba(11,31,77,0.82) 0%, rgba(7,20,47,0.94) 100%);
  pointer-events: none;
}
.bg-photo-subtle > * { position: relative; z-index: 2; }

/* Medium-overlay photo backdrop — for full-bleed photo sections */
.bg-photo-medium {
  position: relative;
  background-color: var(--cp-on-accent);
  background-size: cover;
  background-position: center;
}
.bg-photo-medium::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(33,214,197,0.18), transparent 55%),
    linear-gradient(180deg, rgba(7,20,47,0.65) 0%, rgba(7,20,47,0.88) 100%);
  pointer-events: none;
}
.bg-photo-medium > * { position: relative; z-index: 2; }

/* Pattern strip — repeating subtle texture between sections */
.pattern-strip {
  height: 8px;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(33,214,197,0.25) 40px 42px),
    linear-gradient(180deg, var(--cp-midnight), var(--cp-deep-navy));
}
.hero-photo > * { position: relative; z-index: 2; }

/* Hero without photo (fallback) — pure gradient */
.hero-bg {
  position: relative;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(33,214,197,0.22), transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(18,63,122,0.55), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(119,255,79,0.06), transparent 50%),
    linear-gradient(135deg, var(--cp-midnight) 0%, var(--cp-deep-navy) 50%, var(--cp-coyote-blue) 100%);
}

/* Photo with treatment for industry/section cards */
.photo-card {
  position: relative;
  overflow: hidden;
  background-color: var(--cp-deep-navy);
  background-size: cover;
  background-position: center;
}
.photo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,20,47,0.4) 0%, rgba(7,20,47,0.92) 100%);
  pointer-events: none;
}
.photo-card > * { position: relative; z-index: 2; }

/* Cards */
.service-tile {
  background: var(--cp-card-bg);
  border: 1px solid var(--cp-card-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-tile:hover {
  border-color: var(--cp-tech-teal);
  background: rgba(33,214,197,0.08);
  transform: translateY(-2px);
}
.service-tile .icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cp-tech-teal), var(--cp-coyote-blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--cp-on-accent);
  margin-bottom: 1rem;
}

.pack-card {
  background: var(--cp-card-bg);
  border: 1px solid var(--cp-card-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.price-card {
  background: var(--cp-card-bg);
  border: 1px solid var(--cp-card-border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--cp-circuit-green);
  background: linear-gradient(180deg, rgba(119,255,79,0.06), rgba(33,214,197,0.02));
}
.price-card .badge {
  position: absolute; top: -0.75rem; left: 2rem;
  background: var(--cp-circuit-green);
  color: var(--cp-on-accent);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(119,255,79,0.5);
}

/* Pain card */
.pain-card {
  display: flex; gap: 0.75rem; align-items: flex-start;
  border: 1px solid var(--cp-card-border);
  background: var(--cp-card-bg);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  transition: border-color 0.15s;
}
.pain-card:hover { border-color: rgba(33,214,197,0.4); }
.pain-card .num {
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: 999px;
  background: var(--cp-deep-navy);
  color: var(--cp-circuit-green);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}

/* Paw bullet — real paw silhouette via CSS mask (inherits color from background-color) */
.paw-mark {
  width: 14px; height: 17px;
  display: inline-block;
  flex-shrink: 0;
  background-color: var(--cp-circuit-green);
  -webkit-mask: url('paw.png') no-repeat center / contain;
          mask: url('paw.png') no-repeat center / contain;
}
/* Top utility strip is teal — paw should be midnight there for contrast */
.top-strip .paw-mark { background-color: var(--cp-on-accent); }
.paw-list li { display: flex; gap: 0.55rem; align-items: flex-start; padding: 0.25rem 0; }
.paw-list li > .paw-mark { margin-top: 0.2rem; }

/* Top strip */
.top-strip {
  background: var(--cp-tech-teal);
  color: var(--cp-on-accent);
  font-size: 0.78rem;
  font-weight: 600;
}
.top-strip a { color: inherit; text-decoration: none; }
.top-strip a:hover { text-decoration: underline; }

/* Sticky nav */
.sticky-nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: var(--cp-nav-bg);
  border-bottom: 1px solid var(--cp-card-border);
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(128,140,165,0.3);
  background: transparent;
  color: var(--cp-ice-white);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--cp-tech-teal);
  color: var(--cp-tech-teal);
  background: rgba(33,214,197,0.08);
}
.theme-toggle svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }

/* Photo overlays: in light mode, dim less so the photos read brighter */
[data-theme="light"] .hero-photo::before {
  background:
    radial-gradient(ellipse at 25% 30%, rgba(33,214,197,0.18), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(11,26,61,0.35), transparent 55%),
    linear-gradient(180deg, rgba(11,26,61,0.62) 0%, rgba(11,26,61,0.78) 70%, var(--cp-surface) 100%);
}
[data-theme="light"] .hero-photo, [data-theme="light"] .feature-photo,
[data-theme="light"] .bg-photo-medium, [data-theme="light"] .bg-photo-subtle {
  /* Hero/photo sections stay tinted-dark so text remains light over them */
  color: var(--cp-ice-white);
}
[data-theme="light"] .hero-photo .ice, [data-theme="light"] .feature-photo .ice,
[data-theme="light"] .bg-photo-medium .ice, [data-theme="light"] .bg-photo-subtle .ice {
  color: #F5F7FA; /* keep heroes legible on dark photo overlays */
}
[data-theme="light"] .hero-photo .muted, [data-theme="light"] .feature-photo .muted,
[data-theme="light"] .bg-photo-medium .muted, [data-theme="light"] .bg-photo-subtle .muted {
  color: #B7C4D8;
}
[data-theme="light"] .site-footer {
  background: var(--cp-deep-navy);
}

/* Light-mode overrides for Tailwind border-white/N utility classes (white-alpha borders go invisible on light bg) */
[data-theme="light"] .border-white\/5,
[data-theme="light"] .border-white\/10,
[data-theme="light"] .border-white\/15,
[data-theme="light"] [class*="border-y"],
[data-theme="light"] [class*="border-t"],
[data-theme="light"] [class*="border-b"] {
  border-color: var(--cp-hairline) !important;
}

/* Industry cards / photo cards have dark photo overlays — text inside stays light in both modes */
[data-theme="light"] .industry-card,
[data-theme="light"] .photo-card,
[data-theme="light"] .split-photo {
  color: #F5F7FA;
}
[data-theme="light"] .industry-card .ice,
[data-theme="light"] .photo-card .ice,
[data-theme="light"] .split-photo .ice { color: #F5F7FA; }
[data-theme="light"] .industry-card .muted,
[data-theme="light"] .photo-card .muted,
[data-theme="light"] .split-photo .muted,
[data-theme="light"] .industry-card .eyebrow,
[data-theme="light"] .photo-card .eyebrow,
[data-theme="light"] .split-photo .eyebrow { color: #B7C4D8; }

/* Dropdown / mobile panel shadows are too heavy on light backgrounds */
[data-theme="light"] .nav-dropdown { box-shadow: 0 12px 28px rgba(11,26,61,0.12); }
[data-theme="light"] .mobile-menu-panel { box-shadow: 0 16px 36px rgba(11,26,61,0.18); }
[data-theme="light"] .nav-dropdown,
[data-theme="light"] .mobile-menu-panel { background: #FFFFFF; border-color: var(--cp-card-border); }

/* Pack-card with inline green border (featured cards) — restore visibility on light */
[data-theme="light"] .pack-card[style*="119,255,79"],
[data-theme="light"] .pack-card[style*="circuit-green"] {
  border-color: var(--cp-circuit-green) !important;
}

/* Theme-toggle + hamburger borders need stronger contrast on light */
[data-theme="light"] .theme-toggle,
[data-theme="light"] .mobile-hamburger { border-color: var(--cp-card-border-strong); }

/* Stat number — keep the teal but ensure contrast */
[data-theme="light"] .stat .num { color: var(--cp-tech-teal); }

/* Coyote watermark in hero */
.coyote-watermark {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 650px; height: 650px;
  pointer-events: none; opacity: 0.06; z-index: 1;
  color: var(--cp-tech-teal);
}

/* Section heading */
.section-heading { margin-bottom: 3rem; }
.section-heading.center { text-align: center; }

/* Container */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

/* Footer */
.site-footer {
  background: var(--cp-midnight);
  border-top: 1px solid rgba(245,247,250,0.06);
  padding: 4rem 0 2rem;
}
.site-footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cp-tech-teal);
  margin: 0 0 1rem;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin: 0.5rem 0; }
.site-footer a { color: var(--cp-muted); text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: var(--cp-tech-teal); }

/* FAQ details */
details.faq {
  border: 1px solid var(--cp-card-border);
  border-radius: var(--radius-xl);
  background: var(--cp-card-bg);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.15s;
}
details.faq[open] { border-color: var(--cp-tech-teal); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--cp-ice-white);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  color: var(--cp-tech-teal);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: var(--cp-muted); margin: 1rem 0 0; line-height: 1.6; }

/* Form */
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--cp-card-bg);
  border: 1px solid var(--cp-card-border-strong);
  color: var(--cp-ice-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--cp-tech-teal);
  background: rgba(33,214,197,0.06);
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--cp-ice-white);
}
.form-help { font-size: 0.78rem; color: var(--cp-muted); margin-top: 0.3rem; }

/* Stat */
.stat .num { font-family: Inter, sans-serif; font-weight: 800; font-size: 2.5rem; letter-spacing: -0.03em; color: var(--cp-tech-teal); }
.stat .num .small { font-size: 1.1rem; color: var(--cp-muted); margin-left: 0.1rem; }
.stat .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; margin-top: 0.5rem; }

/* Industry photo card */
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--cp-ice-white);
  background-color: var(--cp-deep-navy);
  background-size: cover;
  background-position: center;
  transition: transform 0.2s;
}
.industry-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,20,47,0.2) 30%, rgba(7,20,47,0.95) 100%);
}
.industry-card > * { position: relative; z-index: 2; }
.industry-card:hover { transform: translateY(-3px); }
.industry-card:hover::after { background: linear-gradient(180deg, rgba(7,20,47,0.1) 20%, rgba(7,20,47,0.85) 80%, rgba(33,214,197,0.3) 100%); }

/* Vendor strip */
.vendor-name {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--cp-muted);
  text-align: center;
  font-size: 1rem;
  transition: color 0.15s, transform 0.15s;
}
.vendor-name:hover { color: var(--cp-ice-white); transform: scale(1.05); }

/* Nav dropdown */
.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}
.nav-dropdown-wrap .nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -0.75rem;
  background: var(--cp-deep-navy);
  border: 1px solid rgba(33,214,197,0.18);
  border-radius: var(--radius-lg);
  min-width: 240px;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.45);
  z-index: 100;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Invisible hover bridge so dropdown stays open while moving down */
.nav-dropdown-wrap::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 0.6rem;
}
.nav-dropdown a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  color: var(--cp-ice-white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.nav-dropdown a:hover {
  background: rgba(33,214,197,0.1);
  color: var(--cp-tech-teal);
}
.nav-dropdown a .dd-sub {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cp-muted);
  margin-top: 0.15rem;
  font-weight: 600;
}
.nav-dropdown .dd-divider {
  height: 1px;
  background: rgba(245,247,250,0.08);
  margin: 0.4rem 0.5rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-only { display: block !important; }
}

/* Mobile heading cap — fluid between 1.35rem and 1.85rem, overrides Tailwind text-Nxl utilities.
   Small section headings stay readable, large hero headings shrink to fit. */
@media (max-width: 480px) {
  .display { font-size: clamp(1.35rem, 5.5vw + 0.2rem, 1.85rem) !important; line-height: 1.1; letter-spacing: -0.02em; }
  .display br { display: none; }
  .stat .num { font-size: 1.7rem; }
  .stat .num .small { font-size: 0.8rem; }
  .stat .label { font-size: 0.62rem; letter-spacing: 0.1em; }
  .price-card { padding: 1.5rem; }
  .industry-card { min-height: 220px; padding: 1.25rem; }
}

/* Mobile menu (hamburger) */
.mobile-nav-wrap { position: relative; }
.mobile-hamburger {
  list-style: none;
  cursor: pointer;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(245,247,250,0.25);
  color: var(--cp-ice-white);
  display: inline-flex;
  align-items: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.mobile-hamburger::-webkit-details-marker { display: none; }
.mobile-hamburger:hover { border-color: var(--cp-tech-teal); color: var(--cp-tech-teal); }
.mobile-nav-wrap[open] .mobile-hamburger {
  border-color: var(--cp-tech-teal);
  color: var(--cp-tech-teal);
  background: rgba(33,214,197,0.08);
}
.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: -0.5rem;
  width: min(92vw, 340px);
  background: var(--cp-deep-navy);
  border: 1px solid rgba(33,214,197,0.2);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.55);
  z-index: 100;
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-menu-panel > a {
  display: block;
  padding: 0.75rem 0.85rem;
  color: var(--cp-ice-white);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
}
.mobile-menu-panel > a:hover { background: rgba(33,214,197,0.1); color: var(--cp-tech-teal); }
.mobile-menu-panel details { margin: 0; }
.mobile-menu-panel details > summary {
  cursor: pointer;
  padding: 0.75rem 0.85rem;
  color: var(--cp-ice-white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-lg);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-panel details > summary::-webkit-details-marker { display: none; }
.mobile-menu-panel details > summary::after {
  content: "▾";
  font-size: 0.7em;
  transition: transform 0.15s;
  color: var(--cp-tech-teal);
}
.mobile-menu-panel details[open] > summary::after { transform: rotate(180deg); }
.mobile-menu-panel details > summary:hover { background: rgba(33,214,197,0.06); }
.mobile-menu-panel details > div {
  padding: 0.25rem 0 0.4rem 0.5rem;
  margin-left: 0.85rem;
  border-left: 2px solid rgba(33,214,197,0.22);
}
.mobile-menu-panel details > div > a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: var(--cp-ice-white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
}
.mobile-menu-panel details > div > a:hover { background: rgba(33,214,197,0.08); color: var(--cp-tech-teal); }
.mobile-menu-divider {
  height: 1px;
  background: rgba(245,247,250,0.08);
  margin: 0.7rem 0.5rem;
}
.mobile-menu-btn-outline,
.mobile-menu-btn-teal {
  display: block;
  text-align: center;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 700;
  margin-top: 0.4rem;
  font-size: 0.92rem;
}
.mobile-menu-btn-outline {
  border: 1.5px solid rgba(245,247,250,0.25);
  color: var(--cp-ice-white);
}
.mobile-menu-btn-outline:hover {
  border-color: var(--cp-tech-teal);
  color: var(--cp-tech-teal);
}
.mobile-menu-btn-teal {
  background: linear-gradient(135deg, var(--cp-tech-teal), #18a99c);
  color: var(--cp-on-accent);
}

/* Mobile container/spacing tightening */
@media (max-width: 640px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .top-strip { font-size: 0.7rem; }
  .top-strip .container { gap: 0.5rem; flex-wrap: nowrap; }
  body { font-size: 15px; }
  /* Hide the long Omaha-owned tagline on mobile — keep paw + phone only */
  .top-strip .container > span:first-child {
    flex: 0 1 auto; min-width: 0;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  /* Below 420 — strip the tagline entirely so phone gets full space */
  @media (max-width: 420px) {
    .top-strip .container > span:first-child > :not(.paw-mark) { display: none; }
  }
  .split-photo { min-height: 220px; }
}

/* Hide compact top-strip taglines on mobile to reduce crowding */
@media (max-width: 640px) {
  .top-strip-hide-mobile { display: none !important; }
}

/* Comparison table — visible scroll hint on small screens */
.compare-wrap { position: relative; }
.compare-wrap::after {
  content: "← scroll horizontally →";
  position: absolute;
  top: 0.45rem;
  right: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--cp-tech-teal);
  background: var(--cp-deep-navy);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(33,214,197,0.4);
  pointer-events: none;
  z-index: 6;
  display: none;
}
@media (max-width: 900px) {
  .compare-wrap::after { display: block; }
}

/* Comparison table */
.compare-wrap {
  border: 1px solid var(--cp-card-border);
  border-radius: var(--radius-2xl);
  overflow-x: auto;
  background: var(--cp-card-bg);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.compare-table th, .compare-table td {
  padding: 0.8rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(245,247,250,0.05);
  font-size: 0.9rem;
  vertical-align: middle;
}
.compare-table thead th {
  background: var(--cp-deep-navy);
  color: var(--cp-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1.3rem 1.1rem;
  border-bottom: 2px solid var(--cp-tech-teal);
  font-weight: 700;
  position: sticky; top: 0; z-index: 5;
}
.compare-table thead th.plan-h {
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 1.25rem;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--cp-tech-teal);
  font-weight: 800;
  width: 18%;
}
.compare-table thead th.plan-h .desc {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cp-muted);
  margin-top: 0.3rem;
  font-weight: 600;
}
.compare-table thead th.plan-h.featured { color: var(--cp-circuit-green); }
.compare-table tbody td.feat {
  color: var(--cp-ice-white);
  font-weight: 500;
}
.compare-table tbody td.cell {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  width: 18%;
}
.compare-table tbody td.cell.yes { color: var(--cp-tech-teal); }
.compare-table tbody td.cell.yes-green { color: var(--cp-circuit-green); }
.compare-table tbody td.cell.dollar { color: var(--cp-muted); font-size: 0.78rem; font-weight: 600; }
.compare-table tbody td.cell.no { color: var(--cp-mute-2); font-size: 1.3rem; font-weight: 300; }
.compare-table tbody tr.cat td {
  background: linear-gradient(90deg, rgba(33,214,197,0.08), rgba(33,214,197,0.02));
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cp-tech-teal);
  font-weight: 700;
  padding: 1.1rem 1.1rem 0.7rem;
  border-bottom: 1px solid rgba(33,214,197,0.15);
}
.compare-table tbody tr:hover:not(.cat) { background: rgba(33,214,197,0.03); }
.help-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(245,247,250,0.25);
  color: var(--cp-muted);
  font-size: 0.65rem;
  margin-left: 0.4rem;
  cursor: help;
  font-weight: 700;
  vertical-align: middle;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.help-tip:hover {
  color: var(--cp-on-accent);
  border-color: var(--cp-tech-teal);
  background: var(--cp-tech-teal);
}

/* Avatars */
.avatar {
  width: 5rem; height: 5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cp-tech-teal), var(--cp-coyote-blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cp-on-accent);
  flex-shrink: 0;
}

/* Photo treatment */
img.treated {
  filter: brightness(0.55) saturate(0.85) hue-rotate(170deg);
}
