:root {
    --surface: #001136;
    --surface-low: #001c4e;
    --surface-high: #00245e;
    --surface-highest: #002d72;
    --orange: #F97316;
    --orange-dark: #ea6a0a;
    --on-surface: #e8edf8;
    --on-surface-dim: #8ea3c8;
    --outline: #1e3a6e;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--surface);
    color: var(--on-surface);
    font-family: 'Inter', sans-serif;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

/* Typography */
.headline {
    font-family: 'Public Sans', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.label-caps {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

/* Hero gradient */
.hero-bg {
    background: linear-gradient(135deg, #000b24 0%, #001c4e 100%);
}

/* Orange CTA */
.btn-primary {
    background: var(--orange);
    color: #fff;
    font-family: 'Public Sans', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(232, 237, 248, 0.25);
    color: var(--on-surface);
    font-family: 'Public Sans', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
    color: var(--orange);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.95rem;
}

.btn-ghost:hover {
    color: var(--orange-dark);
}

/* White nav with navy top accent */
.nav-glass {
    background: #FFFFFF;
    border-top: 3px solid #001136;
    border-bottom: 1px solid #E4E8F0;
}

/* Cards */
.card {
    background: var(--surface-low);
}

.card-raised {
    background: var(--surface-high);
}

.product-card-live {
    background: var(--surface-low);
    border-top: 3px solid var(--orange);
    transition: box-shadow 0.25s ease;
}

.product-card-live:hover {
    box-shadow: inset 0 0 0 1px rgba(249,115,22,0.45);
}

.product-card-soon {
    background: var(--surface-low);
    border-top: 3px solid var(--outline);
    opacity: 0.55;
}

/* Input fields */
.field {
    background: var(--surface-highest);
    color: var(--on-surface);
    border: none;
    border-bottom: 2px solid transparent;
    outline: none;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    width: 100%;
    transition: border-color 0.2s;
}

.field:focus {
    border-bottom-color: var(--orange);
}

.field option {
    background: var(--surface-highest);
    color: var(--on-surface);
}

/* FAQ */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

/* Section separator via tonal shift — no borders */
.section-a {
    background: var(--surface);
}

.section-b {
    background: var(--surface-low);
}

.section-c {
    background: var(--surface-high);
}

/* Light section variants — for content-heavy body sections */
/* These override the dark-theme CSS variables within the section scope */
.section-light {
    --surface: #7A92B0;
    --surface-low: #8DA3BE;
    --surface-high: #6B839E;
    --surface-highest: #5E7690;
    --on-surface: #FFFFFF;
    --on-surface-dim: #E0E8F0;
    --outline: #5E7690;
    background: #7A92B0;
    color: #FFFFFF;
}
.section-light-alt {
    --surface: #6E86A4;
    --surface-low: #7A92B0;
    --surface-high: #5E7690;
    --surface-highest: #506882;
    --on-surface: #FFFFFF;
    --on-surface-dim: #D8E0EA;
    --outline: #506882;
    background: #6E86A4;
    color: #FFFFFF;
}
/* Product cards in light sections */
.section-light .product-card-live,
.section-light-alt .product-card-live {
    background: rgba(255,255,255,0.12);
    border-top-color: var(--orange);
}
.section-light .product-card-soon,
.section-light-alt .product-card-soon {
    background: rgba(255,255,255,0.08);
    border-top-color: rgba(255,255,255,0.2);
}
/* Buttons in light sections */
.section-light .btn-secondary,
.section-light-alt .btn-secondary {
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.3);
}
/* FAQ in light sections */
.section-light .faq-item,
.section-light-alt .faq-item {
    background: rgba(255,255,255,0.1);
}
/* Spec table in light sections */
.section-light .spec-table tr:nth-child(odd) { background: rgba(255,255,255,0.1); }
.section-light .spec-table tr:nth-child(even) { background: rgba(255,255,255,0.05); }
.section-light .spec-table td:first-child { color: #FFFFFF; }
.section-light .spec-table td:last-child { color: #E0E8F0; }
/* Cards in light sections */
.section-light .card,
.section-light-alt .card {
    background: rgba(255,255,255,0.1);
}

#site-header {
  min-height: 56px;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Responsive typography — all headings use .headline class (Public Sans 900 uppercase) */
/* These size rules supplement the .headline class which sets font-family, weight, transform, tracking */
h1, .h1 { font-size: 56px; line-height: 1.1; }
h2, .h2 { font-size: 40px; line-height: 1.2; }
h3, .h3 { font-size: 28px; line-height: 1.3; }
h4, .h4 { font-size: 22px; line-height: 1.4; }
.lead    { font-size: 20px; line-height: 1.5; }

@media (max-width: 1024px) {
  h1, .h1 { font-size: 48px; }
  h2, .h2 { font-size: 34px; }
  h3, .h3 { font-size: 24px; }
  h4, .h4 { font-size: 20px; }
  .lead    { font-size: 18px; }
}

@media (max-width: 640px) {
  h1, .h1 { font-size: 36px; }
  h2, .h2 { font-size: 28px; }
  h3, .h3 { font-size: 22px; }
  h4, .h4 { font-size: 18px; }
  .lead    { font-size: 17px; }
}

/* Mobile body padding to prevent sticky CTA bar from covering content */
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
}

.spec-table { width: 100%; }
.spec-table tr:nth-child(odd) { background: var(--surface-low); }
.spec-table tr:nth-child(even) { background: var(--surface); }
.spec-table td { padding: 12px 16px; font-size: 0.95rem; }
.spec-table td:first-child {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--on-surface);
  white-space: nowrap;
}
.spec-table td:last-child { color: var(--on-surface-dim); }

.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--surface-high);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  display: none;
}
.mobile-cta-bar.visible { display: flex; }
@media (min-width: 768px) {
  .mobile-cta-bar { display: none !important; }
}

.product-card-soon a {
  pointer-events: auto;
  cursor: pointer;
}

/* Inner page hero — bottom-anchored text with blueprint grid */
.page-hero {
  background: linear-gradient(135deg, #000b24 0%, #001c4e 100%);
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249,115,22,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
@media (max-width: 640px) {
  .page-hero { min-height: 360px; }
}

/* Homepage stat strip */
.stat-strip {
  background: var(--surface-low);
  position: relative;
}
.stat-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease 0.3s;
}

.stat-strip.visible::before {
  transform: scaleX(1);
}
.stat-card {
  padding: 28px 20px;
  position: relative;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 20px; bottom: 20px; right: 0; width: 1px;
  background: var(--outline);
  opacity: 0.4;
}
.stat-card:last-child::after { display: none; }
@media (max-width: 767px) {
  .stat-card::after { display: none; }
}
.stat-number {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 4px;
}
.stat-unit {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface);
  margin-bottom: 6px;
}
.stat-desc {
  font-size: 0.78rem;
  color: var(--on-surface-dim);
  line-height: 1.5;
}

/* Inner page at-a-glance */
.inner-glance {
  background: var(--surface-low);
  position: relative;
}
.inner-glance::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
}
.glance-fact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
.glance-icon {
  width: 36px; height: 36px; min-width: 36px; min-height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(249,115,22,0.08);
}
.glance-icon .material-symbols-outlined {
  font-size: 20px;
  color: var(--orange);
}

/* ── Image zoom on hover ── */
.img-zoom-wrap {
  overflow: hidden;
}
.img-zoom-wrap img {
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-zoom-wrap:hover img {
  transform: scale(1.06);
}

/* ── Icon hover micro-animation ── */
.icon-hover {
  display: inline-block;
  transition: transform 0.2s ease;
}
.card:hover .icon-hover {
  transform: scale(1.15);
}

/* ── Process step number colour transition ── */
.step-number {
  transition: color 0.2s ease;
}
.card:hover .step-number {
  color: #ffffff !important;
}

/* ── Testimonial left border reveal ── */
.testimonial-card {
  border-left: 3px solid transparent;
  transition: border-color 0.25s ease;
}
.testimonial-card:hover {
  border-left-color: var(--orange);
}

/* ── FAQ open-state left border ── */
.faq-item {
  border-left: 3px solid transparent;
  transition: border-color 0.25s ease;
}
.faq-item.open {
  border-left-color: var(--orange);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile drawer slide-in ── */
#mobile-drawer {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
#mobile-drawer.open {
  transform: translateX(0);
}

/* ── Hero CTA pulse ── */
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(249,115,22,0); }
}
.btn-pulse {
  animation: btn-pulse 2.5s ease infinite;
}
