:root {
  --brand-navy: #1A2B3C;
  --slate-blue: #5B7B9C;
  --accent-amber: #D4AF37;
  --off-white: #F8FAFC;
  --soft-alert-blue: #EFF6FF;
  --hero-dark: #0F2137;
  --footer-dark: #0A1625;
  --nav-dark: #0A1625;
  --accent-blue: #2563EB;
  --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: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-navy);
  background: #fff;
  line-height: 1.65;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  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(91, 123, 156, 0.28);
  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);
}

.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(37, 99, 235, 0.45);
  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: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
  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 { height: 28px; width: auto; display: block; }

.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(37, 99, 235, 0.25);
}

.btn-primary:hover { background: #1d4ed8; }

.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: #fff;
  color: var(--brand-navy);
}

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-blue);
  font-size: 0.75rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.15;
  margin: 0 0 24px;
  font-weight: 700;
}

.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(--slate-blue); font-size: 1.25rem; margin: 0; }
.section-header.light h2,
.section-header.light .section-subhead,
.section-header.light .form-intro { color: #fff; }

.blue-section .section-subhead {
  color: #93b4d4;
}

.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;
}

.problem-card {
  background: var(--soft-alert-blue);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 24px;
}

.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; }

.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 #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 33, 55, 0.08);
  min-height: 220px;
}

.mockup-sidebar {
  background: #f1f5f9;
  padding: 16px;
  border-right: 1px solid #e2e8f0;
}

.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 #e2e8f0;
}

.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 #bfdbfe;
  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;
}

.form-intro {
  color: rgba(255, 255, 255, 0.65);
  max-width: 40rem;
  margin: 16px auto 0;
}

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

.form-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

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

.form-section-title {
  font-family: "Plus Jakarta 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: rgba(255, 255, 255, 0.55);
  margin: -12px 0 20px;
  line-height: 1.5;
}

.form-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  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: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.form-input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #fff;
  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(255, 255, 255, 0.32);
}

.form-input-field:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.form-input-field:focus {
  outline: none;
  border-color: var(--accent-amber);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

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='rgba(255,255,255,0.6)' 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(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
}

.checkbox-label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  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 rgba(255, 255, 255, 0.08);
}

.form-microcopy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  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(212, 175, 55, 0.15);
  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: rgba(255, 255, 255, 0.9);
  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; }

@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 12px;
  }

  .brand { order: 1; }
  .nav-cta { order: 2; margin-left: auto; }

  .site-nav-menu {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-nav-menu::-webkit-scrollbar { display: none; }

  .hero-grid,
  .solution-grid,
  .cards-grid,
  .value-grid,
  .form-card {
    padding: 24px 20px;
  }

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

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