/* Overhead web — shared styles. Mirrors the mobile app color system. */

:root {
  --bg: #071c36;
  --card: #0c2d5f;
  --grid: rgba(56, 150, 255, 0.13);
  --border: rgba(56, 150, 255, 0.30);
  --text: #f8fafc;
  --text-2: #8fb0c8;
  --text-3: #7a9ab0;
  --label: #5a7a9a;
  --accent: #38bdf8;
  --warning: #fbbf24;
  --max: 760px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text);
  font-family: "Barlow Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 80px;
}
/* Landing page uses a wider container so the four feature cards sit on one row. */
.wrap--wide { max-width: 1080px; }

/* Header / nav */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0 28px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: block;
}
.brand .name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.3px;
}
.nav a:hover { color: var(--accent); }

/* Hero (landing) */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 36px 0 28px;
}
/* Dashed flight path arcing across the hero, with a plane riding it. */
.flightpath {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.hero-text {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
}
.hero-text img.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 54px;
  line-height: 1.04;
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.hero p.tagline {
  font-size: 23px;
  color: var(--text-2);
  margin: 0 0 30px;
  max-width: 520px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta {
  display: inline-block;
  background: var(--accent);
  color: #04233f;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.4px;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 12px;
}
.cta:hover { filter: brightness(1.06); }
.cta.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

/* Phone screenshot */
.hero-shot {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
/* Radar / radius rings behind the phone — echoes the app's radius circle. */
.hero-shot .radar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.hero-shot::before {
  content: "";
  position: absolute;
  inset: -16% -22%;
  background: radial-gradient(
    ellipse at 50% 46%,
    rgba(249, 115, 22, 0.34) 0%,
    rgba(249, 115, 22, 0.12) 42%,
    rgba(249, 115, 22, 0) 70%
  );
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
}
.hero-shot img.phone {
  position: relative;
  z-index: 1;
  display: block;
  width: 270px;
  max-width: 60vw;
  border-radius: 40px;
  border: 10px solid #2a2e35;
  box-shadow:
    0 0 0 1px rgba(190, 205, 225, 0.18),
    0 28px 70px rgba(0, 0, 0, 0.6);
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 44px 0;
}
@media (max-width: 880px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}
.feature p {
  margin: 0;
  color: var(--text-3);
  font-size: 17px;
}

/* Legal / content pages */
.doc h1 {
  font-size: 40px;
  font-weight: 600;
  margin: 8px 0 4px;
  letter-spacing: 0.4px;
}
.doc .effective {
  color: var(--label);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 30px;
}
.doc h2 {
  font-size: 25px;
  font-weight: 600;
  color: var(--text);
  margin: 34px 0 10px;
}
.doc h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-2);
  margin: 22px 0 6px;
}
.doc p, .doc li {
  color: var(--text-2);
  font-size: 18px;
}
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--accent); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
}
.doc th, .doc td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-2);
  vertical-align: top;
}
.doc th { color: var(--label); text-transform: uppercase; letter-spacing: 0.6px; font-size: 13px; }
.callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
  color: var(--text-2);
  font-size: 17px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--grid);
  margin-top: 56px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .links a {
  color: var(--text-3);
  text-decoration: none;
  margin-right: 18px;
  font-size: 16px;
}
.site-footer .links a:hover { color: var(--accent); }
.site-footer .copy { color: var(--label); font-size: 15px; }

@media (max-width: 820px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    gap: 36px;
  }
  .flightpath { display: none; }
  .hero-text img.app-icon { display: none; }
  .hero p.tagline { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 40px; }
}
