/* RaisePilot Marketing — self-contained stylesheet */
/* Brand: Midnight Navy #0A1628, Signal Red #E53E3E, White #FFFFFF, Light Gray #F7FAFC, Text Gray #4A5568, Muted #718096, Border #e2e8f0 */

/* Reset + base typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: #4A5568;
  background: #FFFFFF;
}

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

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

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* Layout */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.narrow-container {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #e2e8f0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-logo img {
  width: 140px;
  height: 32px;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: #4A5568;
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-links a:hover {
  color: #0A1628;
}

.nav-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #4A5568;
}

.nav-hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #4A5568;
  position: relative;
}

.nav-hamburger::before,
.nav-hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #4A5568;
}

.nav-hamburger::before {
  top: -8px;
}

.nav-hamburger::after {
  top: 8px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #E53E3E;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #C53030;
  text-decoration: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4A5568;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

.btn-ghost:hover {
  color: #0A1628;
  text-decoration: none;
}

.btn-large {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0A1628;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.subhead {
  font-size: 1.1875rem;
  color: #4A5568;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.social-proof {
  font-size: 0.875rem;
  color: #718096;
  margin-top: 1.5rem;
}

.cta-note {
  font-size: 0.75rem;
  color: #A0AEC0;
  margin-top: 0.75rem;
}

/* Feature sections */
.feature-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

section:nth-child(even) .feature-section {
  background: #F7FAFC;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #e2e8f0;
}

.comparison-table th {
  background: #0A1628;
  color: #FFFFFF;
  font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) {
  background: #F7FAFC;
}

.comparison-table tbody tr:hover {
  background: #EDF2F7;
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.8125rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem 0.75rem;
  }
}

/* FAQ */
.faq-section {
  padding: 4rem 0;
}

details.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

details.faq-item summary {
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 600;
  color: #0A1628;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: #718096;
}

details.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 0 1rem 0;
  color: #4A5568;
}

/* CTA section */
.cta-section {
  background: #0A1628;
  color: #FFFFFF;
  text-align: center;
  padding: 4rem 2rem;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.cta-section p {
  color: #E2E8F0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.cta-section .btn-primary {
  background: #E53E3E;
}

.cta-section .btn-primary:hover {
  background: #C53030;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 4rem 0;
}

.pricing-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2rem;
  background: #FFFFFF;
}

.pricing-card.featured {
  border-color: #E53E3E;
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.15);
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: #0A1628;
}

.pricing-period {
  font-size: 0.875rem;
  color: #718096;
}

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

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8125rem;
  color: #718096;
  padding: 1rem 0;
}

.breadcrumb a {
  color: #718096;
}

.breadcrumb a:hover {
  color: #4A5568;
}

/* Investor hub grid */
.investor-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}

.investor-hub-grid a {
  color: #0A1628;
  font-weight: 500;
}

.investor-hub-grid a:hover {
  color: #E53E3E;
}

/* Investor card */
.investor-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  background: #FFFFFF;
  margin-bottom: 1rem;
}

.investor-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0A1628;
  margin-bottom: 0.5rem;
}

.investor-card .thesis {
  font-size: 0.9375rem;
  color: #4A5568;
  margin-bottom: 0.75rem;
}

.investor-card .details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  color: #718096;
}

/* Blog */
.blog-post-meta {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 1rem;
}

.blog-post-body {
  font-size: 1rem;
  line-height: 1.7;
}

.blog-post-body p {
  margin-bottom: 1rem;
}

.blog-list {
  padding: 2rem 0;
}

.blog-list-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
}

.blog-list-item:last-child {
  border-bottom: none;
}

.blog-list-item a {
  color: #0A1628;
  font-weight: 600;
}

.blog-list-item a:hover {
  color: #E53E3E;
}

/* Site footer */
.site-footer {
  background: #0A1628;
  color: #E2E8F0;
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #A0AEC0;
  font-size: 0.875rem;
}

.footer-col a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.footer-entity {
  font-size: 0.8125rem;
  color: #718096;
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: #718096;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-container {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #FFFFFF;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    gap: 0;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-actions {
    display: none;
  }
}
