:root {
  /* CommsPliant palette — aligned with app.commspliant.com */
  --brand-primary: #5B7B9C;
  --brand-primary-hover: #4E6D8C;
  --soft-bg-blue: #EEF2F6;
  --border-blue: rgba(51, 78, 104, 0.14);
  --border-blue-subtle: rgba(51, 78, 104, 0.08);
  --deep-text-blue: #334E68;
  --pale-blue: #F3F5F7;
  --text-muted: #667788;
  --text-on-dark-muted: rgba(255, 255, 255, 0.68);
  --text-on-dark-subtle: rgba(255, 255, 255, 0.42);

  /* Semantic tokens */
  --brand-navy: var(--deep-text-blue);
  --slate-blue: var(--brand-primary);
  --accent-amber: #C9A227;
  --accent-amber-hover: #B8921F;
  --off-white: var(--pale-blue);
  --soft-alert-blue: var(--soft-bg-blue);
  --hero-dark: #3A5168;
  --footer-dark: #334A5E;
  --nav-dark: #3E566D;
  --accent-blue: #5A7A96;
  --color-surface: #FFFFFF;
  --color-surface-muted: #F7F8FA;
  --focus-ring: 0 0 0 3px rgba(91, 123, 156, 0.22);
  --container: 1140px;
  --nav-height: 64px;
}

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

html { scroll-behavior: smooth; }

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

/* Scroll reveal — subtle fade + lift */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-navy);
  background: var(--off-white);
  line-height: 1.65;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

h1, h2, h3 {
  font-family: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  letter-spacing: -0.015em;
  font-weight: 600;
}

img { max-width: 100%; height: auto; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease;
}

.sticky-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

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

.nav-panel {
  display: contents;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sticky-nav.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sticky-nav.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.sticky-nav.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--accent-amber);
  border-radius: 999px;
}

.sticky-nav .nav-cta {
  flex-shrink: 0;
  background: var(--accent-blue);
  border: 2px solid var(--accent-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(91, 123, 156, 0.35);
  font-weight: 700;
  padding: 0.625rem 1.125rem;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sticky-nav .nav-cta:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  color: #fff;
  box-shadow: 0 6px 20px rgba(91, 123, 156, 0.45);
  transform: translateY(-1px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  padding: 6px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.brand-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: none;
  shape-rendering: geometricPrecision;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-outline {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand-navy);
  color: #fff;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 10px 25px rgba(91, 123, 156, 0.22);
}

.btn-primary:hover { background: var(--brand-primary-hover); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-full { width: 100%; padding: 1rem; font-size: 1rem; }

/* Alternating section backgrounds: blue → white → blue → white → blue */
.blue-section {
  position: relative;
  background-color: var(--hero-dark);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #fff;
}

.blue-section > .container {
  position: relative;
  z-index: 1;
}

.light-section {
  background: var(--pale-blue);
  color: var(--brand-navy);
}

.hero {
  padding: 96px 0 128px;
}

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

.video-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 40px rgba(51, 78, 104, 0.1);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-on-dark-muted);
  font-size: 0.75rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(1.875rem, 3.25vw, 3.125rem);
  line-height: 1.2;
  margin: 0 0 24px;
  font-weight: 700;
}

.hero h1 em {
  color: var(--accent-amber);
  font-style: normal;
}

.hero-subhead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 36rem;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-microcopy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 28rem;
  font-style: italic;
  margin: 0;
}

.timeline-graphic { width: 100%; max-width: 420px; margin-inline: auto; }

.section-header.center { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 8px; }
.section-subhead { color: var(--text-muted); font-size: 1.25rem; margin: 0; max-width: 42rem; margin-inline: auto; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  font-size: 0.75rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  margin: 0 0 12px;
}
.section-eyebrow.light { color: var(--accent-amber); }
.section-header.light h2,
.section-header.light .section-subhead,
.section-header.light .form-intro { color: #fff; }

.blue-section .section-subhead {
  color: var(--text-on-dark-muted);
}

.problem { padding: 96px 0; }

.narrative {
  max-width: 680px;
  margin: 0 auto 64px;
  color: #334155;
}

.narrative p { margin: 0 0 16px; }

.pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  position: relative;
}

.pipeline-step {
  padding: 8px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 999px;
  font-size: 0.8125rem;
  background: #fff;
}

.pipeline-step.alert { border-color: var(--accent-amber); color: #92400e; }
.pipeline-arrow { color: #94a3b8; }
.pipeline-badge {
  width: 100%;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 8px;
}

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

.cards-grid.four-col {
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

.cards-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.problem-card {
  background: var(--soft-alert-blue);
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-icon { font-size: 1.5rem; margin-bottom: 12px; color: var(--slate-blue); }
.card-icon.accent { color: var(--accent-amber); }
.problem-card h3 { margin: 0 0 8px; font-size: 1.125rem; }
.problem-card p { margin: 0; color: #475569; font-size: 0.9375rem; }

.step-card,
.team-card {
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.step-card h3,
.team-card h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.step-card p,
.team-card p {
  margin: 0;
  color: #475569;
  font-size: 0.9375rem;
}

.step-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-blue);
  background: var(--soft-alert-blue);
  border: 1px solid var(--border-blue);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  color: #fff;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
}

.feature-card .card-icon {
  color: var(--accent-amber);
}

.solution-box {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px 36px;
}

.solution-box p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.solution-box p:last-child { margin-bottom: 0; }
.solution-box strong { color: #fff; font-weight: 600; }

.workflow-diagram {
  display: block;
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(51, 78, 104, 0.1);
}

.workflow-diagram img {
  display: block;
  width: 100%;
  height: auto;
}

.team-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.team-badge-blue {
  background: var(--soft-alert-blue);
  color: var(--deep-text-blue);
  border: 1px solid var(--border-blue);
}

.team-badge-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.team-badge-purple {
  background: #f5f3ff;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}

.industry-pill {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.learn-more-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
  transition: color 0.2s ease;
  align-self: flex-start;
}

.learn-more-btn:hover { color: var(--brand-primary-hover); }

.learn-more-btn-light {
  color: var(--accent-amber);
}

.learn-more-btn-light:hover { color: var(--accent-amber-hover); }

.learn-more-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.learn-more-btn[aria-expanded="true"] .learn-more-chevron {
  transform: rotate(180deg);
}

.learn-more-body {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.65;
}

.learn-more-body:not([hidden]) {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-blue);
}

.learn-more-body-light:not([hidden]) {
  border-top-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
}

.features { padding: 96px 0; }
.teams { padding: 96px 0; }
.industries { padding: 96px 0 128px; }

.solution {
  padding: 96px 0;
}

.solution .section-header h2 {
  color: #fff;
}

.solution-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.solution .value-grid h3 {
  color: #fff;
}

.solution .check-list li,
.solution .tech-list li {
  color: rgba(255, 255, 255, 0.78);
}

.solution-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.ui-mockup {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: #fff;
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(51, 78, 104, 0.08);
  min-height: 220px;
}

.mockup-sidebar {
  background: #f1f5f9;
  padding: 16px;
  border-right: 1px solid var(--border-blue);
}

.mockup-version {
  font-size: 0.75rem;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  color: #64748b;
}

.mockup-version.live {
  background: #ecfdf5;
  color: #047857;
  font-weight: 600;
}

.mockup-main { padding: 24px; position: relative; }
.mockup-line { margin: 0 0 8px; font-size: 0.875rem; }
.mockup-line.muted { color: #64748b; }

.status-pill {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.75rem;
  font-weight: 600;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.value-grid h3 { margin-top: 0; font-size: 1.125rem; }
.check-list, .tech-list { padding-left: 0; list-style: none; margin: 0; }
.check-list li, .tech-list li { margin-bottom: 12px; padding-left: 1.5rem; position: relative; color: #334155; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-amber);
  font-weight: 700;
}
.tech-list .marker { color: var(--slate-blue); font-family: ui-monospace, monospace; margin-right: 8px; }

.workflow { padding: 96px 0; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 48rem;
  margin-inline: auto;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-left: 2px dashed var(--border-blue);
}

.steps li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--soft-alert-blue);
  color: var(--accent-blue);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 1.125rem;
  z-index: 1;
}

.steps h3 { margin: 0 0 4px; font-size: 1.25rem; }
.steps p { margin: 0; color: #475569; }

.site-footer {
  padding: 96px 0 32px;
  background: var(--off-white);
  color: var(--brand-navy);
}

.site-footer .section-header h2 {
  color: var(--brand-navy);
}

.site-footer .section-subhead,
.site-footer .form-intro {
  color: var(--text-muted);
}

.form-intro {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 16px auto 0;
}

.interest-form {
  max-width: 640px;
  margin: 48px auto 64px;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--border-blue);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 2px 10px rgba(51, 78, 104, 0.06);
}

.form-section {
  margin-bottom: 8px;
}

.form-section-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  margin: 0 0 20px;
}

.form-section-hint {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: -12px 0 20px;
  line-height: 1.5;
}

.form-divider {
  height: 1px;
  background: var(--border-blue-subtle);
  margin: 28px 0;
}

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

.form-grid.two-col .field {
  margin-bottom: 20px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--brand-navy);
  letter-spacing: 0.02em;
}

.form-input-field {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  color: var(--brand-navy);
  padding: 13px 16px;
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-input-field::placeholder {
  color: rgba(102, 119, 136, 0.55);
}

.form-input-field:hover {
  border-color: rgba(51, 78, 104, 0.22);
}

.form-input-field:focus {
  outline: none;
  border-color: var(--slate-blue);
  box-shadow: var(--focus-ring);
}

textarea.form-input-field {
  resize: vertical;
  min-height: 108px;
  line-height: 1.55;
}

.form-select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667788' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-select option {
  color: var(--brand-navy);
  background-color: #fff;
}

.form-consent-box {
  margin: 24px 0;
  padding: 16px 18px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 10px;
}

.checkbox-label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--brand-navy);
  cursor: pointer;
  line-height: 1.55;
}

.checkbox-label input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-amber);
  cursor: pointer;
}

.field-error {
  color: #fca5a5;
  font-size: 0.8125rem;
  margin: 8px 0 0;
}

.form-error {
  text-align: center;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.12);
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-submit {
  margin-top: 8px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.form-footer-notes {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-blue-subtle);
}

.form-microcopy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 32rem;
  margin: 8px auto 0;
  line-height: 1.55;
}

.form-card.form-success {
  max-width: 640px;
  margin: 48px auto 64px;
  text-align: center;
  padding: 48px 40px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  border: 2px solid var(--accent-amber);
  color: var(--accent-amber);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-card.form-success p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--brand-navy);
  line-height: 1.6;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--footer-dark);
  margin: 0 -24px -32px;
  padding: 32px 24px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bar a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.footer-bar a:hover { color: var(--accent-amber); }
.footer-bar p { margin: 0; text-align: center; flex: 1; }
.footer-links { display: flex; gap: 8px; align-items: center; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: var(--nav-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.22);
}

.cookie-banner[hidden] { display: none; }

.cookie-text {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.cookie-link {
  color: var(--accent-amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-link:hover { color: var(--accent-amber-hover); }

.cookie-dismiss {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--accent-amber);
  font-size: 0.8125rem;
  padding: 6px 18px;
  white-space: nowrap;
}

.cookie-dismiss:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--accent-amber);
}

/* Cookie policy modal */
.cookie-policy-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(51, 78, 104, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-policy-modal[hidden] { display: none; }

.cookie-policy-card {
  background: var(--brand-navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 36px 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.85);
}

.cookie-policy-card h2 {
  margin: 0 0 16px;
  font-size: 1.375rem;
  color: #fff;
}

.cookie-policy-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.75);
}

.cookie-policy-card code {
  font-family: ui-monospace, monospace;
  font-size: 0.875em;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

.cookie-policy-close { margin-top: 8px; }

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px 24px 20px;
    background: var(--nav-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  }

  .sticky-nav.nav-open .nav-panel {
    display: flex;
  }

  .site-nav-menu {
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 14px 12px 22px;
    font-size: 1rem;
  }

  .nav-link.is-active::after {
    left: 8px;
    right: auto;
    width: 3px;
    top: 8px;
    bottom: 8px;
    height: auto;
  }

  .sticky-nav .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  body.nav-menu-open {
    overflow: hidden;
  }

  .hero-grid,
  .solution-grid,
  .cards-grid,
  .cards-grid.four-col,
  .cards-grid.three-col,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px 20px;
  }

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

  .hero { padding-top: 64px; }
  .video-section { padding: 48px 0; }
  .pipeline { flex-direction: column; }
  .pipeline-arrow { transform: rotate(90deg); }
  .footer-bar { flex-direction: column; text-align: center; }
  .footer-bar p { order: -1; }
}
