/* Fleet of One — mobile-first stylesheet, black + neon theme.
   Base styles target small screens (~360-430px); layers add up at
   768px (tablet) and 1080px (desktop). Near-black mission-control palette:
   neon green = brand/primary, cyan = links, magenta = accents. Georgia
   display headings, neon proof bars, dark terminal code panels. */

:root {
  color-scheme: dark;
  --bg: #0a0b0e;
  --paper: #0a0b0e;      /* page background */
  --panel: #14161d;      /* cards, board */
  --panel-2: #1b1e27;    /* board header */
  --ink: #eef0f5;        /* primary text */
  --muted: #949bab;      /* secondary text */
  --line: #262b36;       /* borders */
  --accent: #3dffa5;     /* neon green — brand + primary CTA */
  --accent-2: #34e7ff;   /* neon cyan — links, eyebrow */
  --accent-3: #ff3d9a;   /* neon magenta — proof bars, highlights */
  --neon-yellow: #ffe14d;
  --neon-red: #ff5470;
  /* legacy names still referenced by the markup/rules */
  --citrus: #ff3d9a;
  --moss: #34e7ff;
  --steel: #14161d;
  --gold: #ffe14d;
}

* {
  box-sizing: border-box;
}

/* Safety net: root causes are fixed below, but never allow a stray
   element to introduce horizontal scroll on small screens. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/* ---------- Shell padding (mobile base) ---------- */

.site-header,
.site-footer,
.section {
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 11, 14, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  min-height: 56px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 14px;
  min-width: 0;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent-2);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-weight: 800;
  background: var(--accent);
  color: #05070b;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: 0 0 24px rgba(61, 255, 165, 0.28);
  transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.button:hover {
  background: #5affb8;
  box-shadow: 0 0 36px rgba(61, 255, 165, 0.55);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: transparent;
  color: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 20px rgba(52, 231, 255, 0.18);
  transform: none;
}

/* ---------- Type scale (mobile base) ---------- */

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  margin: 0;
  overflow-wrap: break-word;
  color: var(--ink);
}

h1 {
  font-size: 38px;
  max-width: 760px;
}

h2 {
  font-size: 27px;
}

h3 {
  font-size: 21px;
}

p {
  color: var(--muted);
  margin: 0;
  overflow-wrap: break-word;
}

/* Inline/contextual links glow cyan */
.lede a,
.card a,
.legal-page a,
.fine-print a,
.footer-inner a,
p a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.lede a:hover,
.card a:hover,
.legal-page a:hover,
.fine-print a:hover,
.footer-inner a:hover,
p a:hover {
  color: var(--accent);
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  font-size: 17px;
  max-width: 680px;
  margin-top: 16px;
}

/* ---------- Hero (single column base) ---------- */

.hero {
  padding-top: 36px;
  padding-bottom: 48px;
}

.hero-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions .button {
  width: 100%;
}

.proof-strip {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  max-width: 650px;
}

.proof-strip span {
  display: block;
  padding-left: 14px;
  border-left: 3px solid var(--accent-3);
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Fleet board ---------- */

.fleet-board {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(52, 231, 255, 0.05);
  overflow: hidden;
  min-width: 0;
}

.board-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.lane {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.lane:last-child {
  border-bottom: 0;
}

.lane small {
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lane strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  color: var(--ink);
}

.lane code {
  display: block;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #05070b;
  border: 1px solid var(--line);
  color: #baffe1;
  font-size: 13px;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

/* ---------- Sections & cards ---------- */

.section {
  padding-top: 52px;
  padding-bottom: 52px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  min-width: 0;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: rgba(52, 231, 255, 0.35);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--ink);
}

.price-note {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.card p {
  margin-top: 10px;
}

.card ul {
  color: var(--muted);
  margin: 14px 0 0;
  padding-left: 20px;
}

.card ul li {
  margin-bottom: 6px;
}

.card .button {
  width: 100%;
  margin-top: 16px;
}

/* ---------- Waitlist (legacy, unused on live page) ---------- */

.waitlist {
  background: var(--panel);
}

.waitlist p {
  color: var(--muted);
}

.waitlist-form {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 640px;
}

label {
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #101219;
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
}

input::placeholder {
  color: #5b616f;
}

.fine-print {
  margin-top: 12px;
  font-size: 13px;
}

/* ---------- Legal pages ---------- */

.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 44px;
  padding-bottom: 60px;
}

.legal-page h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.legal-page h2 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--accent-2);
}

.legal-page ul {
  color: var(--muted);
  padding-left: 22px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner span {
  overflow-wrap: anywhere;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= Tablet: 768px and up ================= */

@media (min-width: 768px) {
  .site-header,
  .site-footer,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav {
    min-height: 68px;
    padding: 0;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .brand {
    font-size: 22px;
  }

  .nav-links {
    gap: 18px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 22px;
  }

  .lede {
    font-size: 19px;
    margin-top: 18px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 36px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: auto;
  }

  .proof-strip {
    margin-top: 28px;
  }

  .board-top {
    padding: 14px 16px;
  }

  .lane {
    padding: 18px;
  }

  .lane strong {
    font-size: 18px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-head {
    margin-bottom: 28px;
  }

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

  .card {
    padding: 22px;
  }

  .card .button {
    width: auto;
    display: inline-flex;
  }

  .waitlist-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .legal-page {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .legal-page h1 {
    font-size: 38px;
  }

  .legal-page h2 {
    font-size: 24px;
    margin-top: 34px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ================= Desktop: 1080px and up ================= */

@media (min-width: 1080px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 34px;
  }

  .lede {
    font-size: 20px;
    margin-top: 20px;
  }

  .hero {
    min-height: calc(100vh - 68px);
    display: grid;
    align-items: center;
  }

  .hero-grid {
    gap: 44px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .legal-page {
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .legal-page h1 {
    font-size: 42px;
  }
}
