/* =============================================================
   Aria OS — landing page stylesheet
   Tokens, layout primitives, sections. Mobile-first, accessible.
   ============================================================= */

/* ---------- design tokens ---------- */
:root {
  --bg: #0b0d12;
  --bg-elev: #11141b;
  --bg-soft: #161a23;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --fg: #e7eaf2;
  --fg-muted: #9aa3b6;
  --fg-dim: #6b7384;

  --accent: #7c5cff;
  --accent-soft: #a690ff;
  --accent-glow: rgba(124, 92, 255, 0.45);
  --accent-2: #28e0c4;

  --danger: #ff6b6b;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 80px -20px rgba(124, 92, 255, 0.35);

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas,
    monospace;

  --container: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------- reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 160ms ease;
}
a:hover,
a:focus-visible {
  color: var(--fg);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--bg-elev);
  color: var(--fg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  z-index: 1000;
}

/* ---------- layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(11, 13, 18, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0d12;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 20px -8px var(--accent-glow);
}
.brand-word {
  font-size: 17px;
}
.brand-os {
  color: var(--accent-soft);
  margin-left: 2px;
}
.nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover {
  color: var(--fg);
}
.nav .nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #5b3df0);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 24px -8px var(--accent-glow);
}
.nav .nav-cta:hover {
  filter: brightness(1.06);
}
@media (min-width: 820px) {
  .nav {
    display: flex;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease,
    border-color 160ms ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5b3df0);
  color: #fff;
  box-shadow: 0 14px 36px -12px var(--accent-glow);
}
.btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent-soft);
  color: var(--fg);
}
.btn-lg {
  padding: 16px 22px;
  font-size: 16px;
  border-radius: 12px;
}

/* ---------- shared section primitives ---------- */
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent-soft);
  margin: 0 0 16px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  font-weight: 700;
}
.section-lede {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 0 36px;
}
.section-foot {
  color: var(--fg-muted);
  margin-top: 28px;
  max-width: 760px;
}
.hl {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl-soft {
  color: var(--accent-soft);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 9vw, 120px);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}
.hero-title {
  font-size: clamp(36px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-weight: 800;
  max-width: 18ch;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--fg-muted);
  max-width: 660px;
  margin: 0 0 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 920px;
}
.hero-stats li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 18px;
}
.stat-num {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.stat-label {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.5;
}
.hero-glow {
  position: absolute;
  inset: -10% -20% auto auto;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(124, 92, 255, 0.45),
    rgba(124, 92, 255, 0)
  );
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}
@media (min-width: 720px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- proof ---------- */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  padding: clamp(56px, 7vw, 96px) 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 22px 0 36px;
}
.proof-card {
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.proof-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.proof-card blockquote {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--fg);
  line-height: 1.65;
}
.proof-card figcaption {
  color: var(--fg-dim);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}
@media (min-width: 800px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- moat ---------- */
.moat {
  padding: clamp(64px, 9vw, 120px) 0;
}
.moat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 8px;
}
.moat-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 160ms ease, box-shadow 200ms ease;
}
.moat-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 18px 50px -28px var(--accent-glow);
}
.moat-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 0.005em;
}
.moat-card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}
.moat-callout {
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid rgba(124, 92, 255, 0.3);
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.08),
    rgba(40, 224, 196, 0.05)
  );
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 15px;
  line-height: 1.7;
}
@media (min-width: 720px) {
  .moat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .moat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- economics ---------- */
.economics {
  padding: clamp(64px, 9vw, 120px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.econ-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.econ-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.econ-row:last-child {
  border-bottom: none;
}
.econ-row > span {
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--fg);
  border-right: 1px solid var(--line);
}
.econ-row > span:last-child {
  border-right: none;
}
.econ-head {
  background: rgba(124, 92, 255, 0.08);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent-soft);
}
.econ-head > span {
  font-size: 12px;
  color: var(--accent-soft);
}
.econ-total {
  background: rgba(40, 224, 196, 0.06);
}
@media (max-width: 720px) {
  .econ-row {
    grid-template-columns: 1fr;
  }
  .econ-row > span {
    border-right: none;
    border-bottom: 1px dashed var(--line);
  }
  .econ-row > span::before {
    content: attr(data-label) " · ";
    color: var(--accent-soft);
    font-weight: 600;
    margin-right: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
  }
  .econ-row.econ-head {
    display: none;
  }
}

/* ---------- fleet ---------- */
.fleet {
  padding: clamp(64px, 9vw, 120px) 0;
}
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 12px;
}
.fleet-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  overflow: hidden;
}
.fleet-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}
.fleet-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}
.fleet-card p {
  margin: 0;
  color: var(--fg-muted);
  line-height: 1.65;
}
@media (min-width: 760px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- cta ---------- */
.cta {
  padding: clamp(72px, 10vw, 140px) 0;
  background:
    radial-gradient(
      ellipse at top,
      rgba(124, 92, 255, 0.18),
      rgba(124, 92, 255, 0) 60%
    ),
    var(--bg);
  border-top: 1px solid var(--line);
}
.cta-inner {
  text-align: center;
  max-width: 760px;
}
.cta-title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}
.cta-sub {
  color: var(--fg-muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto 36px;
  max-width: 620px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}
.cta-fine {
  color: var(--fg-dim);
  font-size: 13px;
  margin: 0;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 28px 0 36px;
}
.footer-inner {
  display: grid;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-weight: 700;
  color: var(--fg);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.site-footer nav a {
  color: var(--fg-muted);
  font-size: 14px;
}
.site-footer nav a:hover {
  color: var(--fg);
}
.footer-fine {
  color: var(--fg-dim);
  font-size: 13px;
  margin: 0;
}
@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
  }
  .site-footer nav {
    justify-content: center;
  }
  .footer-fine {
    text-align: right;
  }
}

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