/* ── Airolytix marketing site ──────────────────────────────────────────
   Palette (brand, shared with product portal):
     --ink        #071120  page background (deep navy)
     --panel      #0d1520  raised surfaces
     --line       rgba(255,255,255,0.07)
     --light      #dce8f2  primary text
     --muted      #7d90ae  secondary text
     --dim        #46608a  labels / structure
     --teal       #1fd4b0  primary accent
     --violet     #b78af7  secondary accent (roaming / featured)
   Type:
     Display  Space Grotesk
     Body     IBM Plex Sans
     Utility  IBM Plex Mono (labels, channel markers, specs)
─────────────────────────────────────────────────────────────────────── */

:root {
  --ink: #071120;
  --panel: #0d1520;
  --line: rgba(255, 255, 255, 0.07);
  --light: #dce8f2;
  --muted: #7d90ae;
  --dim: #46608a;
  --teal: #1fd4b0;
  --violet: #b78af7;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--ink);
  color: var(--light);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.01em; }
.mono { font-family: "IBM Plex Mono", monospace; }

a { color: var(--teal); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ── Shared structure ── */
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}
h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.section-sub {
  color: var(--muted);
  max-width: 560px;
  font-size: 17px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: "IBM Plex Sans", sans-serif;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 12px; }
.btn-primary {
  background: var(--teal);
  color: #04211a;
}
.btn-primary:hover { transform: translateY(-1px); background: #2ee4c1; }
.btn-ghost {
  color: var(--light);
  border-color: rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 32, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--light);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.wordmark-mark { color: var(--teal); display: inline-flex; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--light); }
.nav-cta { display: flex; gap: 10px; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 24px 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(38px, 6.5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  max-width: 820px;
  margin: 0 auto 24px;
}
.hero h1 .accent { color: var(--teal); }
.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-note {
  font-size: 12.5px;
  color: var(--dim);
  letter-spacing: 0.06em;
}
.hero-note a { color: var(--teal); }

/* Spectrum signature */
.spectrum {
  position: relative;
  height: 190px;
  margin-top: 8px;
}
#spectrum-canvas {
  display: block;
  width: 100%;
  height: 160px;
}
.spectrum-labels {
  display: flex;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6px 24px 0;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

/* ── Problem ── */
.problem { border-bottom: 1px solid var(--line); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.problem-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}
.problem-item p:last-child { color: var(--muted); }

/* ── How it works ── */
.how { border-bottom: 1px solid var(--line); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 44px;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}
.step-num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--teal);
  border: 1px solid rgba(31, 212, 176, 0.35);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 16px;
}
.step p { color: var(--muted); font-size: 15px; }

/* ── The lab ── */
.lab { border-bottom: 1px solid var(--line); }
.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.lab-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
}
.lab-card p:last-child { color: var(--muted); font-size: 15px; }
.lab-card-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.lab-card-featured { border-color: rgba(183, 138, 247, 0.35); }
.lab-card-featured .lab-card-label { color: var(--violet); }

/* ── Use cases ── */
.usecases { border-bottom: 1px solid var(--line); }
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.usecase {
  background: var(--ink);
  padding: 28px 26px;
}
.usecase p { color: var(--muted); font-size: 15px; }

/* ── Security ── */
.security { border-bottom: 1px solid var(--line); }
.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}
.security-list li {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 15.5px;
}
.tick { color: var(--teal); font-weight: 600; }

/* ── Plans ── */
.plans { border-bottom: 1px solid var(--line); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.plan p { color: var(--muted); font-size: 15px; }
.plan-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.plan-featured { border-color: rgba(31, 212, 176, 0.4); }
.plan-featured .plan-label { color: var(--teal); }
.plan-price {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--light) !important;
}
.plans-note {
  margin-top: 28px;
  color: var(--dim);
  font-size: 14px;
}

/* ── Waitlist ── */
.waitlist-inner { text-align: center; }
.waitlist .section-sub { margin: 0 auto 36px; }
.waitlist-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.waitlist-form input[type="email"] {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--light);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15.5px;
  padding: 14px 18px;
  width: min(340px, 100%);
}
.waitlist-form input[type="email"]::placeholder { color: var(--dim); }

/* ── Footer ── */
.footer { padding: 48px 0 40px; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-wordmark { font-size: 15px; }
.footer-tag { color: var(--dim); font-size: 11.5px; letter-spacing: 0.1em; margin-top: 6px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--light); }
.footer-legal { width: 100%; color: var(--dim); font-size: 12.5px; margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .security-inner { grid-template-columns: 1fr; gap: 32px; }
  .section-inner { padding: 72px 20px; }
  .hero-inner { padding-top: 80px; }
  .spectrum-labels span:nth-child(even) { display: none; }
}
@media (max-width: 520px) {
  .nav-cta .btn-ghost { display: none; }
}
