:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: auto;
  scroll-padding-top: 0;

  /* Invictus NextGen brand palette (sampled from the official logo) */
  --brand-navy: #0a2a66;
  --brand-blue: #1e63d6;
  --brand-royal: #2f74e6;
  --brand-sky: #4ea8ff;
  --brand-success: #22c55e;
  --brand-error: #f87171;
  --nav-clearance: 5.75rem;

  /* Phase 2 spacing & type tokens */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 2.75rem;
  --space-7: 3.5rem;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius: var(--radius-lg);
  --font-body: 1rem;
  --font-small: 0.875rem;
  --font-eyebrow: 0.78rem;
  --line-body: 1.68;
  --touch: 44px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #050814;
  font-size: var(--font-body);
  line-height: var(--line-body);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(78, 168, 255, 0.72);
  outline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site {
  color-scheme: dark;
  --bg: #050814;
  --bg-soft: #0b1020;
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --container: 1380px;
  --radius: var(--radius-lg);
  --text: #f7fbff;
  --muted: #b8c5d8;
  --line: rgba(255, 255, 255, 0.14);
  --accent: var(--brand-royal);
  --violet: var(--brand-blue);
  --mint: var(--brand-sky);
  --amber: var(--brand-sky);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.28);
  --shadow-deep: 0 34px 120px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 28px 90px rgba(78, 168, 255, 0.14);
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(78, 168, 255, 0.16), transparent 28rem),
    linear-gradient(240deg, rgba(139, 92, 246, 0.15), transparent 30rem),
    linear-gradient(180deg, var(--bg), #080c18 48%, #050814);
  color: var(--text);
}

.site.light {
  color-scheme: light;
  --bg: #f7f9fd;
  --bg-soft: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 24px 70px rgba(24, 44, 76, 0.12);
  --shadow-deep: 0 34px 110px rgba(24, 44, 76, 0.18);
  --shadow-glow: 0 0 0 1px rgba(12, 19, 36, 0.06), 0 26px 80px rgba(78, 168, 255, 0.14);
  --text: #0c1324;
  --muted: #3f5168;
  --line: rgba(11, 20, 38, 0.12);
  background:
    linear-gradient(120deg, rgba(78, 168, 255, 0.16), transparent 28rem),
    linear-gradient(240deg, rgba(139, 92, 246, 0.13), transparent 30rem),
    linear-gradient(180deg, #fbfdff, #eef4fb 52%, #ffffff);
}

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(var(--container), calc(100% - 2rem));
  min-height: 68px;
  margin: 0 auto;
  padding: 0 0.6rem;
  border-radius: var(--radius);
  background: transparent;
  transform: translateX(-50%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.brand,
.desktop-links,
.nav-actions,
.hero-actions,
.proof-row,
.contact-points,
.social-row,
.button,
.form-head {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.72rem;
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 5px;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 42, 102, 0.25), inset 0 0 0 1px rgba(10, 42, 102, 0.08);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 800;
  transition: top 160ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

.brand strong {
  display: grid;
  gap: 0.1rem;
  line-height: 1;
}

.brand strong b {
  color: var(--text);
  font-size: 1rem;
}

.brand strong em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-links {
  justify-content: center;
  gap: 0.35rem;
}

.desktop-links a {
  min-height: var(--touch);
  padding: 0.58rem 0.72rem;
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-links a:hover {
  background: var(--glass);
  color: var(--text);
}

.desktop-links a.active {
  position: relative;
  background: color-mix(in srgb, var(--brand-blue) 16%, transparent);
  color: var(--text);
}

.desktop-links a.active::after {
  content: "";
  position: absolute;
  left: 0.62rem;
  right: 0.62rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-sky));
}

.site.light .desktop-links a.active {
  background: color-mix(in srgb, var(--brand-blue) 12%, transparent);
  color: var(--brand-navy);
}

.mobile-drawer a.active {
  background: color-mix(in srgb, var(--brand-blue) 18%, transparent);
  color: var(--text);
}

.nav-actions {
  justify-content: flex-end;
  gap: 0.55rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  min-width: var(--touch);
  min-height: var(--touch);
  border: 0;
  border-radius: var(--radius-md);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.icon-button:hover {
  background: var(--glass-strong);
}

.menu-button {
  display: none;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  display: none;
  align-content: start;
  gap: 0.4rem;
  width: min(360px, 86vw);
  height: 100vh;
  padding: 1rem;
  background: color-mix(in srgb, var(--bg) 92%, black);
  box-shadow: -20px 0 80px rgba(0, 0, 0, 0.45);
  transform: translateX(110%);
  transition: transform 240ms ease;
  backdrop-filter: blur(22px);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer a {
  min-height: var(--touch);
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.mobile-drawer a:hover,
.mobile-drawer .drawer-cta {
  background: var(--glass);
  color: var(--text);
}

.mobile-drawer .drawer-cta {
  margin-top: var(--space-2);
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-blue) 52%, var(--brand-navy));
  color: #fff;
  font-weight: 800;
}

.close-button {
  justify-self: end;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
  width: min(var(--container), calc(100% - 2rem));
  min-height: calc(100vh - 86px);
  margin: -14px auto 0;
  padding: clamp(6.5rem, 9vw, 8.25rem) 0 clamp(2rem, 3.5vw, 3.25rem);
}

/* Tab panels: only one section visible at a time */
.tab-panels {
  width: 100%;
}

.tab-panel {
  display: none;
  box-sizing: border-box;
}

.tab-panel.is-active {
  display: block;
  animation: tabFadeIn 200ms ease;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-gradient {
  position: absolute;
  inset: -3rem -14vw auto -14vw;
  height: 60%;
  max-height: 560px;
  background:
    conic-gradient(from 160deg at 50% 50%, rgba(78, 168, 255, 0.22), rgba(30, 99, 214, 0.16), rgba(10, 42, 102, 0.1), rgba(78, 168, 255, 0.22));
  filter: blur(70px);
  opacity: 0.36;
  -webkit-mask: radial-gradient(120% 100% at 50% 32%, #000 38%, transparent 78%);
  mask: radial-gradient(120% 100% at 50% 32%, #000 38%, transparent 78%);
  animation: gradientShift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

.float-shape {
  position: absolute;
  z-index: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(78, 168, 255, 0.06));
  backdrop-filter: blur(16px);
  opacity: 0.7;
  pointer-events: none;
}

.float-shape-one {
  top: 19%;
  right: 42%;
  width: 112px;
  height: 112px;
  transform: rotate(18deg);
}

.float-shape-two {
  right: 4%;
  bottom: 18%;
  width: 142px;
  height: 90px;
  transform: rotate(-13deg);
}

.hero-copy,
.hero-console {
  position: relative;
  z-index: 1;
}

.hero-copy {
  grid-column: 1 / span 5;
}

.hero-console {
  grid-column: 6 / span 7;
}

.eyebrow,
.section-heading p {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: var(--brand-sky);
  font-size: var(--font-eyebrow);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-heading p::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-sky), var(--brand-blue));
}

.site.light .eyebrow,
.site.light .section-heading p {
  color: var(--brand-blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 1.15rem;
  font-size: clamp(2.15rem, 3.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.tagline {
  margin: 0 0 1.2rem;
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tagline span {
  background: linear-gradient(120deg, var(--brand-sky), var(--brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  border: 1px solid rgba(30, 99, 214, 0.45);
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-blue) 52%, var(--brand-navy));
  color: white;
  box-shadow: 0 16px 40px rgba(30, 99, 214, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.button.primary:hover {
  box-shadow: 0 20px 56px rgba(78, 168, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 36px rgba(0, 0, 0, 0.1);
}

.button.secondary:hover {
  background: var(--glass-strong);
  border-color: color-mix(in srgb, var(--brand-sky) 35%, var(--line));
}

.proof-row {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.proof-row span,
.tag-row span,
.industry-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.72rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--glass);
  color: var(--muted);
}

.proof-row span {
  gap: 0.45rem;
}

.hero-console {
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--glass-strong), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow-deep), var(--shadow-glow);
  backdrop-filter: blur(20px);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 0.9rem;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.console-top strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
}

.console-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.device-stage {
  --mock-surface: #f4f7fc;
  --mock-chrome: #e8eef8;
  --mock-ink: rgba(10, 42, 102, 0.14);
  --mock-ink-strong: rgba(10, 42, 102, 0.28);
  position: relative;
  min-height: 220px;
  padding: 0.35rem 0.55rem 1.45rem 0.2rem;
}

.device-desktop {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #eef3fb);
  box-shadow:
    0 22px 50px rgba(10, 42, 102, 0.28),
    0 0 0 1px rgba(10, 42, 102, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: deviceFloat 10s ease-in-out infinite;
}

.device-desktop-chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 34px;
  padding: 0 0.7rem;
  background: linear-gradient(180deg, #f8fafd, var(--mock-chrome));
  border-bottom: 1px solid rgba(10, 42, 102, 0.08);
}

.device-dots {
  display: flex;
  gap: 0.32rem;
  flex-shrink: 0;
}

.device-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d4dce8;
}

.device-dots i:nth-child(1) { background: #ff5f57; }
.device-dots i:nth-child(2) { background: #febc2e; }
.device-dots i:nth-child(3) { background: #28c840; }

.device-address {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
  height: 22px;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(10, 42, 102, 0.08);
  color: var(--brand-navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-address span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand-success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  flex-shrink: 0;
}

.device-desktop-screen {
  display: grid;
  gap: 0.7rem;
  padding: 0.75rem 0.8rem 0.9rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(78, 168, 255, 0.18), transparent 42%),
    linear-gradient(165deg, #ffffff 0%, var(--mock-surface) 55%, #e8f0fb 100%);
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.mock-logo {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-blue) 55%, var(--brand-navy));
  box-shadow: 0 4px 10px rgba(30, 99, 214, 0.28);
  flex-shrink: 0;
}

.mock-links {
  display: flex;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.mock-links b {
  display: block;
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: var(--mock-ink);
}

.mock-cta,
.mock-btn {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-blue));
  box-shadow: 0 6px 14px rgba(30, 99, 214, 0.28);
  flex-shrink: 0;
}

.mock-cta {
  width: 42px;
}

.mock-btn {
  width: 54px;
  height: 18px;
  margin-top: 0.15rem;
}

.mock-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.65rem;
  align-items: stretch;
  padding: 0.7rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(10, 42, 102, 0.92), rgba(30, 99, 214, 0.88) 55%, rgba(78, 168, 255, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.mock-hero-copy {
  display: grid;
  align-content: center;
  gap: 0.35rem;
}

.mock-line {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.mock-line-lg { width: 88%; height: 9px; }
.mock-line-md { width: 64%; background: rgba(255, 255, 255, 0.48); }
.mock-line-sm { width: 52%; background: rgba(255, 255, 255, 0.48); }

.mock-hero .mock-btn {
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(10, 42, 102, 0.22);
}

.mock-hero-panel {
  min-height: 58px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.mock-cards span {
  display: block;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #e7eef9);
  box-shadow:
    inset 0 0 0 1px rgba(10, 42, 102, 0.07),
    0 8px 18px rgba(10, 42, 102, 0.08);
}

.mock-cards span::after {
  content: "";
  display: block;
  width: 55%;
  height: 5px;
  margin: 12px 10px 0;
  border-radius: 999px;
  background: var(--mock-ink-strong);
}

.mock-cards span:nth-child(2)::before,
.mock-cards span:nth-child(3)::before {
  content: "";
  display: block;
  width: 18px;
  height: 4px;
  margin: 10px 10px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-sky), var(--brand-blue));
}

.mock-cards span:nth-child(2)::after,
.mock-cards span:nth-child(3)::after {
  margin-top: 6px;
}

.device-phone {
  position: absolute;
  right: 0.15rem;
  bottom: 0.15rem;
  z-index: 2;
  width: clamp(84px, 22%, 112px);
  aspect-ratio: 9 / 17.5;
  padding: 7px;
  border-radius: 18px;
  background: linear-gradient(160deg, #1a2744, #0a2a66 55%, #071833);
  box-shadow:
    0 24px 48px rgba(5, 8, 20, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: deviceFloat 10s ease-in-out infinite;
  animation-delay: -1.8s;
}

.device-phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 1;
  width: 34%;
  height: 5px;
  border-radius: 999px;
  background: rgba(5, 8, 20, 0.55);
  transform: translateX(-50%);
}

.device-phone-screen {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  height: 100%;
  padding: 0.7rem 0.35rem 0.4rem;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 70% 18%, rgba(78, 168, 255, 0.22), transparent 40%),
    linear-gradient(180deg, #f7f9fd, #e8f0fb);
}

.mock-nav-sm .mock-logo {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.mock-nav-sm .mock-cta {
  width: 22px;
  height: 8px;
  margin-left: auto;
}

.mock-hero-sm {
  display: grid;
  gap: 0.28rem;
  padding: 0.4rem;
  min-height: 0;
  grid-template-columns: 1fr;
}

.mock-hero-sm .mock-btn {
  width: 28px;
  height: 9px;
}

.mock-cards-sm {
  grid-template-columns: 1fr;
  gap: 0.28rem;
}

.mock-cards-sm span {
  height: 22px;
}

.mock-cards-sm span::after {
  width: 48%;
  height: 3px;
  margin: 8px 6px 0;
}

.mock-cards-sm span::before {
  display: none !important;
}

.site.light .device-desktop {
  box-shadow:
    0 22px 50px rgba(10, 42, 102, 0.16),
    0 0 0 1px rgba(10, 42, 102, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site.light .device-phone {
  box-shadow:
    0 22px 40px rgba(10, 42, 102, 0.22),
    0 0 0 1px rgba(10, 42, 102, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.metric-panel {
  z-index: 2;
  border: 0;
  border-radius: var(--radius);
  background: rgba(5, 8, 20, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.site.light .metric-panel {
  background: rgba(255, 255, 255, 0.85);
}

.metric-panel div {
  padding: 1rem;
}

.metric-panel div + div {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
}

.metric-panel strong {
  display: block;
  font-size: 1.08rem;
}

.metric-panel span {
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-band {
  width: min(var(--container), calc(100% - 2rem));
  margin: clamp(0.75rem, 2vw, 1.75rem) auto clamp(2.25rem, 4vw, 3.25rem);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 1.5vw, 1.35rem);
}

.trust-item {
  grid-column: auto;
  min-height: 150px;
  padding: clamp(1.15rem, 1.8vw, 1.5rem);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep), var(--shadow-glow);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.trust-item span {
  color: var(--muted);
  font-size: var(--font-body);
  line-height: var(--line-body);
}

.band {
  position: relative;
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) 0 clamp(2.5rem, 4vw, 3.5rem);
}

.band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(620px, 70vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 168, 255, 0.32), rgba(139, 92, 246, 0.28), transparent);
  transform: translateX(-50%);
  opacity: 0.72;
}

/* Tab active panels: clear sticky nav, top-align content, no scroll separators */
.tab-panel.band.is-active {
  padding-top: var(--nav-clearance);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  min-height: calc(100dvh - 1rem);
}

.tab-panel.band.is-active::before {
  display: none;
}

.tab-panel.contact-section.is-active {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  min-height: calc(100dvh - 1rem);
}

.tab-panel.contact-section.is-active > .band.contact {
  padding-top: var(--nav-clearance);
  padding-bottom: clamp(1.75rem, 3vw, 2.6rem);
  scroll-margin-top: var(--nav-clearance);
}

#discuss {
  scroll-margin-top: var(--nav-clearance);
}

.tab-panel.contact-section.is-active > .faq.band {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.tab-panel.contact-section.is-active > .faq.band::before {
  display: none;
}

.section-heading {
  max-width: 790px;
  margin-right: auto;
  margin-left: 0;
  margin-bottom: clamp(1.75rem, 2.8vw, 2.5rem);
  text-align: left;
}

.section-heading p {
  justify-content: flex-start;
}

/* Alias kept for existing markup; all section headings are left-aligned */
.section-heading.center {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-heading span {
  display: block;
  color: var(--muted);
  font-size: var(--font-body);
  line-height: var(--line-body);
  text-wrap: pretty;
}

.premium-grid,
.feature-grid {
  display: grid;
  gap: clamp(1rem, 1.5vw, 1.5rem);
}

.services-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.services-section {
  min-height: auto;
}

.services-section .section-heading {
  max-width: 900px;
  margin-bottom: clamp(1.35rem, 2vw, 1.85rem);
}

.services-section .section-heading h2 {
  max-width: none;
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
  line-height: 1.12;
  margin-bottom: 0.75rem;
  white-space: normal;
  text-wrap: balance;
}

.services-section .section-heading span {
  max-width: 980px;
  font-size: var(--font-body);
  line-height: var(--line-body);
}

.service-card,
.feature-card,
.faq-item,
.contact-card,
.contact-form,
.map-card {
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: span 6;
  min-height: 285px;
  overflow: hidden;
  padding: 1.4rem;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.card-glow {
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 160px;
  background: linear-gradient(90deg, rgba(78, 168, 255, 0.26), rgba(139, 92, 246, 0.24), rgba(52, 211, 153, 0.12));
  filter: blur(28px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover .card-glow {
  opacity: 1;
}

.service-card:hover,
.feature-card:hover,
.faq-item:hover {
  box-shadow: var(--shadow-deep), var(--shadow-glow);
}

.service-card:hover .service-icon,
.feature-card:hover .feature-icon,
.process-step:hover .step-icon {
  transform: scale(1.06);
}

.service-icon,
.feature-icon,
.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(78, 168, 255, 0.17), rgba(30, 99, 214, 0.13));
  color: var(--accent);
  transition: transform 180ms ease;
}

.services-section .service-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.service-arrow {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  z-index: 1;
  color: var(--muted);
}

.service-card h3,
.feature-card h3,
.process-step h3 {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0.65rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.services-section .service-card h3 {
  margin-top: 1.05rem;
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.service-card p,
.feature-card p,
.process-step p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: var(--font-body);
  line-height: var(--line-body);
}

.services-section .service-card p {
  max-width: 34rem;
  margin: 0;
  font-size: var(--font-body);
  line-height: var(--line-body);
}

.tag-row,
.industry-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-row {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  box-sizing: border-box;
}

.services-section .tag-row span {
  max-width: 100%;
  min-height: 30px;
  padding-inline: 0.64rem;
  font-size: 0.82rem;
  box-sizing: border-box;
}

.industries-section {
  position: relative;
}

.industries-section::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(78, 168, 255, 0.12), transparent 58%);
  filter: blur(30px);
}

.industries-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.5rem);
}

.industries-grid article {
  grid-column: span 4;
  display: grid;
  gap: 0.8rem;
  min-height: 190px;
  padding: clamp(1.15rem, 1.65vw, 1.55rem);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.industries-grid strong {
  color: var(--text);
  font-size: 1.04rem;
}

.industries-grid span {
  color: var(--muted);
  line-height: 1.62;
}

.why-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 2vw, 2rem);
  align-items: start;
}

.industry-cloud {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
}

.feature-grid {
  grid-column: 7 / span 6;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.why-layout > div:first-child {
  grid-column: 1 / span 5;
}

.feature-card {
  grid-column: span 2;
  min-height: 250px;
  padding: clamp(1.25rem, 2vw, 1.65rem);
}

.process-section::before,
.contact-bg {
  content: "";
  position: absolute;
  pointer-events: none;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.5rem);
  overflow-x: auto;
  padding: 1rem 0 0.6rem;
}

.timeline-line {
  position: absolute;
  top: 49px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--violet), transparent);
}

.process-step {
  position: relative;
  min-height: 250px;
  padding: 1.15rem;
  grid-column: span 2;
  border: 0;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg-soft) 74%, transparent);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep), var(--shadow-glow);
}

.step-number {
  color: var(--amber);
  font-weight: 900;
}

.process-step .step-icon {
  margin-top: 1rem;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: none;
  margin: 0 auto;
}

.faq-item {
  grid-column: 3 / span 8;
  width: 100%;
  min-height: var(--touch);
  padding: 1.15rem 1.35rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.faq-item > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section .band.contact {
  padding-top: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.6rem);
}

.contact-bg {
  inset: 8% -12% 4%;
  background: linear-gradient(135deg, rgba(78, 168, 255, 0.16), rgba(139, 92, 246, 0.14), rgba(52, 211, 153, 0.08));
  filter: blur(46px);
}

.contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 2vw, 2rem);
}

.contact-card,
.contact-form {
  padding: clamp(1.15rem, 1.85vw, 1.55rem);
}

.contact-card .section-heading {
  margin-bottom: 1.3rem;
}

.contact-card .section-heading h2 {
  max-width: 520px;
  font-size: clamp(1.7rem, 2.7vw, 2.8rem);
  line-height: 1.06;
}

.contact-card .section-heading span {
  font-size: 0.94rem;
  line-height: 1.6;
}

.contact-card {
  grid-column: 1 / span 5;
}

.contact-form {
  grid-column: 6 / span 7;
}

.contact-points,
.social-row {
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contact-points span,
.contact-points a,
.social-row a,
.social-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
}

.contact-points a,
.social-row span {
  min-height: 36px;
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.social-row {
  margin: 1rem 0;
}

.map-card {
  display: grid;
  gap: 0.35rem;
  min-height: 170px;
  margin-top: 1rem;
  padding: 1rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(78, 168, 255, 0.16), rgba(139, 92, 246, 0.12));
  background-size: 26px 26px, 26px 26px, auto;
}

.map-card strong {
  align-self: end;
  font-size: 1.05rem;
}

.map-card svg {
  color: var(--accent);
}

.map-card span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  align-items: start;
  gap: 0.8rem;
}

.form-head,
.contact-form textarea,
.contact-form select,
.contact-form button,
.hp-field,
.form-status {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-head {
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.form-head svg {
  color: var(--accent);
}

.form-head strong {
  display: block;
}

.form-head span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  height: 58px;
  min-height: 58px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  padding: 0.88rem 0.95rem;
  outline: none;
  font-size: 1rem;
}

.contact-form select {
  color-scheme: dark;
  background-color: #0f1528;
  color: #f7fbff;
  appearance: auto;
}

.contact-form select option,
.contact-form select optgroup {
  background-color: #0b1020;
  color: #f7fbff;
}

.site.light .contact-form input,
.site.light .contact-form select,
.site.light .contact-form textarea {
  background: white;
  color: #0c1324;
}

.site.light .contact-form select {
  color-scheme: light;
  background-color: #ffffff;
  color: #0c1324;
}

.site.light .contact-form select option,
.site.light .contact-form select optgroup {
  background-color: #ffffff;
  color: #0c1324;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(78, 168, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(78, 168, 255, 0.12);
}

.contact-form textarea {
  height: 150px;
  min-height: 150px;
  resize: vertical;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status.success {
  color: #dcfce7;
  background: rgba(34, 197, 94, 0.16);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.form-status.error {
  color: #fee2e2;
  background: rgba(248, 113, 113, 0.16);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.42);
}

.site.light .form-status.success {
  color: #166534;
}

.site.light .form-status.error {
  color: #991b1b;
}

footer,
.site-footer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
  color: var(--muted);
}

/* Footer visible across panels so Privacy/Terms remain reachable */
.site .site-footer {
  display: grid;
}

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

  .tab-panel.is-active {
    animation: none;
  }

  .hero-gradient,
  .device-desktop,
  .device-phone,
  .float-shape {
    animation: none !important;
  }

  .button:hover,
  .trust-item:hover,
  .service-card:hover {
    transform: none;
  }
}

.footer-brand {
  grid-column: 1 / span 4;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  padding: 4px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(10, 42, 102, 0.22);
  object-fit: contain;
}

.footer-brand strong {
  color: var(--text);
  font-size: 1.02rem;
}

footer small a {
  color: var(--muted);
  text-decoration: none;
}

footer small a:hover {
  color: var(--text);
}

footer p {
  grid-column: 1 / span 4;
  max-width: 360px;
}

footer div {
  grid-column: 6 / span 7;
  justify-content: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-cta {
  grid-column: 9 / span 4;
  justify-self: end;
  align-self: center;
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
  padding: 0.82rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-blue) 52%, var(--brand-navy));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(30, 99, 214, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

footer small {
  grid-column: 6 / span 7;
  justify-self: end;
}

@keyframes gradientShift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@media (max-width: 1080px) {
  .hero,
  .why-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-console,
  .why-layout > div:first-child,
  .feature-grid,
  .contact-card,
  .contact-form {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
  }

  .hero-console {
    max-width: 900px;
  }

  .device-stage {
    min-height: 200px;
    padding-bottom: 1.1rem;
  }

  .services-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .service-card,
  .industries-grid article {
    grid-column: span 6;
  }

  .services-section {
    min-height: auto;
  }

  .trust-item {
    grid-column: auto;
  }

  .process-step {
    grid-column: span 4;
  }
}

@media (max-width: 820px) {
  .desktop-links {
    display: none;
  }

  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: grid;
  }

  .mobile-drawer {
    display: grid;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .device-phone {
    width: clamp(76px, 24%, 98px);
  }

  .feature-grid,
  .services-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

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

  .services-section .section-heading h2 {
    white-space: normal;
  }

  .service-card,
  .feature-card,
  .industries-grid article,
  .process-step,
  .faq-item,
  .trust-item,
  .footer-brand,
  footer p,
  footer div,
  .footer-cta,
  footer small {
    grid-column: 1 / -1;
  }

  .service-card {
    min-height: 0;
  }

  .contact-form .field,
  .contact-form .field-full,
  .contact-form .consent,
  .contact-form .form-head,
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form button,
  .contact-form .form-status,
  .contact-form .hp-field {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
  }

  footer div,
  .footer-cta,
  footer small {
    justify-self: start;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand {
    gap: 0.48rem;
    min-width: 0;
    max-width: min(100%, calc(100vw - 7.5rem));
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .brand strong {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
  }

  .brand strong b {
    font-size: 0.86rem;
    line-height: 1.1;
  }

  .brand strong em {
    font-size: 0.58rem;
    line-height: 1.2;
    white-space: normal;
  }

  h1 {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 8.5vw, 2.35rem);
  }

  .button {
    width: 100%;
  }

  .float-shape {
    display: none;
  }

  .device-stage {
    min-height: 0;
    padding: 0.15rem 0 0.35rem;
  }

  .device-desktop {
    animation: none;
  }

  .device-phone {
    display: none;
  }

  .device-desktop-screen {
    gap: 0.55rem;
    padding: 0.65rem 0.7rem 0.75rem;
  }

  .mock-hero {
    grid-template-columns: 1fr;
  }

  .mock-hero-panel {
    min-height: 36px;
  }

  .mock-cards span {
    height: 36px;
  }
}

/* —— Phase 1 additions —— */
body.menu-open {
  overflow: hidden;
}

.nav-cta {
  min-height: var(--touch);
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
  white-space: nowrap;
  border-radius: var(--radius-md);
}

.trust-line {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-console-note {
  margin: 0;
  padding: 0.35rem 0.15rem 0.15rem;
  color: var(--muted);
  font-size: var(--font-small);
  line-height: 1.5;
  text-align: center;
}

.band-heading {
  width: 100%;
  margin: 0 0 1.5rem;
}

.response-note {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
}

.inquiry-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2vw, 1.65rem) clamp(1.25rem, 2.2vw, 1.75rem);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-blue) 14%, transparent), color-mix(in srgb, var(--brand-navy) 18%, transparent));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.inquiry-cta .eyebrow {
  margin-bottom: 0.45rem;
}

.inquiry-cta h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.inquiry-cta p {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: var(--font-body);
  line-height: var(--line-body);
}

.inquiry-cta .button {
  flex-shrink: 0;
  min-width: 12.5rem;
}

.site.light .inquiry-cta {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-sky) 12%, white), color-mix(in srgb, var(--brand-blue) 8%, white));
}

.deliverables {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

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

.about-block {
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.35rem);
}

.why-grid .feature-card {
  grid-column: auto;
  min-height: 0;
  padding: clamp(1.15rem, 1.6vw, 1.4rem);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.why-grid .feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.why-grid .feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: var(--line-body);
}

.contact-form {
  position: relative;
}

.contact-form .field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.contact-form .field > span,
.consent span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-form .field-full {
  grid-column: 1 / -1;
}

.contact-form abbr {
  text-decoration: none;
  color: var(--brand-sky);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  grid-column: 1 / -1;
  min-height: var(--touch);
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.consent input {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.consent a {
  color: var(--brand-sky);
  text-decoration: underline;
}

.footer-links {
  grid-column: 6 / span 7;
  justify-content: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-contact,
.footer-copy {
  grid-column: 6 / span 7;
  justify-self: end;
}

.legal-page .legal-content {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: clamp(7rem, 12vw, 8.5rem);
  padding-bottom: 2rem;
}

.legal-page .legal-content h1 {
  max-width: none;
  margin-bottom: 0.85rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.legal-prose {
  display: grid;
  gap: 0.35rem;
}

.legal-prose h2 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1.15rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-prose a {
  color: var(--brand-sky);
  text-decoration: underline;
}

.legal-prose ul {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.2rem;
}

.legal-disclaimer {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.service-card-modest {
  opacity: 0.98;
}

/* Outcomes (Home) */
.outcomes-band {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.35rem);
}

.outcome-card {
  min-height: 150px;
  padding: clamp(1.15rem, 1.8vw, 1.45rem);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.outcome-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep), var(--shadow-glow);
}

.outcome-card strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.outcome-card span {
  color: var(--muted);
  font-size: var(--font-body);
  line-height: var(--line-body);
}

@media (max-width: 1080px) {
  .outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .outcome-card:hover {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inquiry-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .inquiry-cta .button {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .nav-cta {
    display: none;
  }

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

  .footer-links,
  .footer-contact,
  .footer-copy {
    grid-column: 1 / -1;
    justify-self: start;
    justify-content: flex-start;
  }

  .industries-grid article:last-child {
    grid-column: 1 / -1;
  }

  .hero-actions .button {
    min-height: var(--touch);
  }

  .mobile-drawer {
    width: min(360px, 92vw);
    padding: 1.1rem;
    gap: 0.35rem;
  }
}

