:root {
  --color-navy: #0B2046;
  --color-navy-tint: #E6EAF0; /* Light navy tint */
  --color-green: #1B4D3E;
  --color-green-tint: #E8F0ED; /* Light green tint */
  --color-gold: #C5A059;
  --color-white: #FFFFFF;
  --color-tint: #E6EAF0; /* Soft navy tint */
  --color-bg: #F4F6F9; /* Matching light gray/blue tint */
  --color-text: #1C335A; 
  --color-border: #BCC7D9; /* Softened tonal grid lines */

  --font-display: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  /* visible grid layout on body */
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  max-width: 1440px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-navy);
}

a {
  color: var(--color-navy);
  text-decoration: none;
}

img, video {
  max-width: 100%;
  display: block;
}

.container {
  padding: 40px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding: 0 40px;
  text-transform: uppercase;
}

/* Header */
header {
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  padding: 24px 40px;
  background: var(--color-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 48px;
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid var(--color-navy);
  background: var(--color-navy);
  color: var(--color-white);
  cursor: pointer;
}

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

/* Hero */
.hero {
  position: relative;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: row;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.15;
}

.hero .container {
  max-width: 800px;
  margin: 0;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Split Screen Alternating (Features) */
.split-section {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid var(--color-border);
}

.split-section:nth-child(even) {
  flex-direction: row-reverse;
}

.split-content {
  flex: 1 1 50%;
  padding: 40px;
}

.split-visual {
  flex: 1 1 50%;
  border-left: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-tint);
  padding: 40px;
}

.split-section:nth-child(even) .split-visual {
  border-left: none;
  border-right: 1px solid var(--color-border);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

/* Pricing Grid */
.pricing-wrapper {
  border-bottom: 1px solid var(--color-border);
  padding-top: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
  padding: 40px;
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.pricing-card:last-child {
  border-right: none;
}

.price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

/* FAQ */
.faq-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.faq-item {
  padding: 40px;
  border-top: 1px solid var(--color-border);
}

.faq-item:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}

/* Final CTA */
.final-cta {
  padding: 40px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.final-cta h2 {
  font-size: 3rem;
}

/* Footer */
footer {
  padding: 40px;
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

footer h2, footer a {
  color: var(--color-white);
}

.legal-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.legal-links a, .legal-links span {
  margin: 0;
  line-height: 1.5;
  display: block;
}
.legal-links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  opacity: 0.8;
}

@media (max-width: 900px) {

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  header {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px;
    align-items: center;
    justify-content: space-between;
  }
  #menu-toggle {
    display: block !important;
  }
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    margin-top: 16px;
  }
  nav a.btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    white-space: normal;
    height: auto;
  }
  
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .legal-links {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .split-section, .split-section:nth-child(even) { flex-direction: column; }
  .split-visual { border: none !important; border-top: 1px solid var(--color-border) !important; width: 100%; }
  .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none; }
  .faq-item:nth-child(odd) { border-right: none; }
}

/* Focus states for accessibility */
a:focus, button:focus, .btn:focus, input:focus, textarea:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Removed hero-visual-container media query */
@media (max-width: 900px) {
  .legal-links {
    align-items: flex-start;
  }
}

/* Fix FAQ layout order */
#faq.split-section {
  flex-direction: row;
}
@media (max-width: 900px) {
  #faq.split-section {
    flex-direction: column;
  }
}
