/* Air Gravity, airgravity.ai
   Same family as gravityir.com: near-black ground, silver type, Space Grotesk for display, Inter for reading,
   JetBrains Mono for the few things that are data (the route). One accent, used once: the route arrow.
   Logo files live in assets/ under stable names; a new logo round overwrites them and nothing here changes. */

:root {
  --bg: #050506;
  --bg-raised: #0b0c10;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #d4d8df;
  --text-strong: #f3f4f6;
  --text-muted: #8b919c;
  --accent: #d4d8df;          /* the logo is monochrome silver, so the one accent is too; the AIT gold was #feaf41 */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1080px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text-strong); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

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

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(5, 5, 6, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 34px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--text); }
.top-nav a:not(.btn):hover { color: var(--text-strong); }
@media (max-width: 640px) { .top-nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; transition: background-color 150ms, border-color 150ms, color 150ms; }
.btn-primary { background: var(--text-strong); color: var(--bg); }
.btn-primary:hover { background: #ffffff; }
.btn-ghost { border-color: var(--line-strong); color: var(--text-strong); background: transparent; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 72px 100%;
  background-color: var(--bg);
}
.hero::before {
  /* a few stars, the family's signature on gravityir.com */
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 12%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 64% 38%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 62%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 58%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 20% 84%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 50% 90%, rgba(255,255,255,.35) 50%, transparent 51%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px; pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.hero-inner { position: relative; text-align: center; max-width: 760px; }
.hero-lockup { display: block; width: min(560px, 88vw); height: auto; margin: -24px auto 20px; }

h1, h2 { font-family: var(--font-display); color: var(--text-strong); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.04; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; font-weight: 600; text-wrap: balance; }

.lede { font-size: 18px; line-height: 1.6; color: var(--text); margin: 24px auto 0; max-width: 640px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* The quote card: the one memorable thing on the page */
.quote { position: relative; margin: 64px auto 0; max-width: 640px; background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 14px; padding: 0; overflow: hidden; }
.quote-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.route { font-family: var(--font-mono); font-size: 15px; font-weight: 500; letter-spacing: 0.06em; color: var(--text-strong); }
.route .arrow { color: var(--accent); padding: 0 4px; }
.quote-meta { font-size: 13px; color: var(--text-muted); text-align: right; }
.quote-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.quote-table td { padding: 11px 20px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.quote-table tbody tr:last-child td { border-bottom: 0; }
.quote-table .rule { color: var(--text-muted); font-size: 13px; }
.quote-table .amt { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-strong); white-space: nowrap; }
.quote-table tfoot td { border-top: 1px solid var(--line-strong); border-bottom: 0; background: rgba(255, 255, 255, 0.025); font-weight: 500; color: var(--text-strong); }
.quote-table tfoot .rule { font-weight: 400; }
.quote-note { margin: 0; padding: 12px 20px 16px; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .quote-table .rule { display: none; }
  .quote-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .quote-meta { text-align: left; }
}

/* Sections */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-raised); }
.section-lede { max-width: 620px; margin: 16px 0 0; color: var(--text); font-size: 17px; }

.coverage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 40px 0 0; }
.coverage > div { padding: 22px 0; border-top: 1px solid var(--line); }
.coverage dt { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text-strong); margin: 0 0 6px; }
.coverage dd { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; max-width: 48ch; }
@media (max-width: 760px) { .coverage { grid-template-columns: 1fr; gap: 0; } }

.fit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.fit p { margin: 18px 0 0; font-size: 17px; max-width: 46ch; }
.fit-list { list-style: none; margin: 8px 0 0; padding: 0; }
.fit-list li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.fit-list li:last-child { border-bottom: 1px solid var(--line); }
.fit-list strong { display: block; color: var(--text-strong); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 820px) { .fit { grid-template-columns: 1fr; gap: 28px; } }

.demo { text-align: center; }
.demo-inner { max-width: 560px; }
.demo p { margin: 16px auto 28px; font-size: 17px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--text-muted); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { display: block; height: 24px; width: auto; opacity: .8; }
