/* ==========================================================================
   WIMH OnAir — Static Marketing Site Stylesheet
   Dark-mode first (dusk sky, island water, warm horizon gold) + Light mode
   ========================================================================== */

:root {
  /* Dark Mode (Default) */
  --bg: #0C1A28;
  --bg-mid: #0F2433;
  --surface: #152A3A;
  --surface-2: #1B3548;
  --surface-glass: rgba(21, 42, 58, 0.84);
  --text: #F4F1E8;
  --text-muted: #B7C4CC;
  --water: #3BA8B0;
  --water-bright: #5EC8CF;
  --glow: #FFB547;
  --glow-hover: #FFC56A;
  --glow-text: #FFB547;
  --button-text: #0C1A28;
  --purple: #9B8CFF;
  --purple-deep: #673DE6;
  --blue: #4DA3FF;
  --border: #2A4A5C;
  --border-glow: rgba(255, 181, 71, 0.45);
  --focus: #FFB547;
  --danger: #FF8A80;
  --hero-glow: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 181, 71, 0.14), rgba(59, 168, 176, 0.09) 45%, transparent 75%);
  --card-shadow: 0 12px 32px rgba(4, 10, 18, 0.35);

  /* Typography & Layout */
  --font-heading: 'Plus Jakarta Sans', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
}

html[data-theme="light"] {
  --bg: #F3F7F8;
  --bg-mid: #EBF2F5;
  --surface: #FFFFFF;
  --surface-2: #F0F6F8;
  --surface-glass: rgba(255, 255, 255, 0.92);
  --text: #122033;
  --text-muted: #3A5160;
  --water: #146A72;
  --water-bright: #146A72;
  --glow: #FFB547;
  --glow-hover: #FFC56A;
  --glow-text: #8A5A00;
  --button-text: #0C1A28;
  --purple: #5B2FD4;
  --purple-deep: #5B2FD4;
  --blue: #0759C6;
  --border: #D5E3E8;
  --border-glow: rgba(138, 90, 0, 0.35);
  --focus: #5B2FD4;
  --danger: #B3261E;
  --hero-glow: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 181, 71, 0.18), rgba(20, 106, 114, 0.08) 50%, transparent 75%);
  --card-shadow: 0 8px 24px rgba(18, 32, 51, 0.07);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 55%, var(--bg) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Focus & Accessibility */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--glow);
  color: var(--button-text);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 16px;
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--text-muted);
}

.small-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

a {
  color: var(--water-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--glow-text);
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 48px 0;
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-tight { padding: 32px 0; }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  min-height: 44px;
}

.brand-link:hover {
  color: var(--glow-text);
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-link[aria-current="page"] {
  background: var(--surface-2);
  border-color: var(--purple);
  color: var(--text);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--surface-2);
  border-color: var(--water);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 16px 24px 24px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-list .nav-link {
  width: 100%;
}

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .header-cta-desktop { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--glow);
  color: var(--button-text);
  border-color: var(--glow);
}

.btn-primary:hover {
  background: var(--glow-hover);
  color: var(--button-text);
}

.btn-secondary {
  background: var(--purple-deep);
  color: #F4F1E8;
  border-color: var(--purple);
}

.btn-secondary:hover {
  opacity: 0.94;
  color: #F4F1E8;
}

.btn-outline {
  background: transparent;
  color: var(--water-bright);
  border-color: var(--water);
}

.btn-outline:hover {
  background: var(--surface-2);
  color: var(--text);
}

.btn-slurl {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--water);
}

.btn-slurl:hover {
  border-color: var(--glow);
  color: var(--glow-text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background-image: var(--hero-glow);
  border-bottom: 1px solid var(--border);
}

.hero-ripple {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--water-bright);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-subhead {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--text);
  margin-bottom: 20px;
}

.hero-intro {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Breadcrumbs */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-muted);
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: var(--water);
}

.card-immortal {
  border-color: var(--border-glow);
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
}

.card-immortal:hover {
  border-color: var(--glow);
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--purple);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.card-immortal .card-tag {
  color: var(--glow-text);
  border-color: var(--border-glow);
}

.price-block {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.price-usd {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--glow-text);
  line-height: 1.15;
}

.price-usd span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-linden {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--water-bright);
  font-weight: 600;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.spec-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--water-bright);
  font-weight: 700;
}

/* Info Wells & Callouts */
.well {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.well-accent {
  border-left: 4px solid var(--water);
}

.well-gold {
  border-left: 4px solid var(--glow);
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.steps-list li {
  counter-increment: step-counter;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 20px 60px;
  position: relative;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--water);
  color: var(--water-bright);
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Comparison Tables */
.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.scroll-cue {
  display: none;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .scroll-cue { display: block; }
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

thead th {
  background: var(--surface-2);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody th[scope="row"] {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  position: sticky;
  left: 0;
  background: var(--surface);
  z-index: 1;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  min-height: 44px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--water-bright);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--glow-text);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.faq-answer {
  padding: 18px 22px;
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 0 36px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

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

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
  padding: 4px 0;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Mobile Header Cleanup (< 480px) */
.mobile-theme-toggle {
  display: none;
}

@media (max-width: 480px) {
  .brand-sub {
    display: none;
  }

  .header-actions #theme-toggle {
    display: none;
  }

  .mobile-theme-toggle {
    display: inline-flex;
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Button elements that use .btn (live chat CTA) */
button.btn {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}
