/* Planespotting — shared dark-mode theme.
   Colors mirror the app (src/theme/colors.ts): charcoal + green accent. */

:root {
  color-scheme: dark;

  --bg: #121212;
  --bg-2: #1a1a1a;
  --surface: #1e1e1e;
  --card: #2c2c2e;
  --border: #3a3a3a;

  --text: #ffffff;
  --text-2: rgba(235, 235, 245, 0.85);
  --text-3: rgba(235, 235, 245, 0.62);

  --accent: #34d399;
  --accent-strong: #10b981;

  --radius-chip: 8px;
  --radius-btn: 12px;
  --radius-card: 20px;

  --maxw: 680px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-wrap: break-word;
  background-color: var(--bg);
  /* subtle green glow behind the top of the page */
  background-image: radial-gradient(
    120% 60% at 50% -10%,
    rgba(52, 211, 153, 0.1) 0%,
    rgba(52, 211, 153, 0) 60%
  );
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 24px 56px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Header ---------- */

.site-header {
  padding: 8px 0 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}
.brand:hover {
  text-decoration: none;
}
.brand-name {
  font-size: 17px;
  letter-spacing: -0.2px;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 72px 0 48px;
}
.hero-title {
  margin: 0;
  font-size: clamp(34px, 8vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.05;
}
.hero-tagline {
  margin: 14px 0 0;
  font-size: clamp(17px, 4.5vw, 20px);
  font-weight: 500;
  color: var(--accent);
}
.hero-desc {
  margin: 18px auto 0;
  max-width: 46ch;
  color: var(--text-2);
  font-size: 16px;
}

/* Coming-soon badge (intentionally not a link) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  cursor: default;
  user-select: none;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

/* ---------- Features ---------- */

.features {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
}
.feature-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.feature p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}

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

.site-footer {
  margin-top: auto;
  padding-top: 44px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}
.site-footer .copyright {
  margin: 0 0 8px;
}
.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer-links a {
  color: var(--text-2);
}
.footer-links .sep {
  color: var(--text-3);
}

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

.legal {
  padding-top: 12px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 28px;
}
.legal h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 700;
  letter-spacing: -0.6px;
}
.legal .updated {
  margin: 8px 0 32px;
  color: var(--text-3);
  font-size: 14px;
}
.legal-body {
  color: var(--text-2);
}
.legal-body h2 {
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 32px 0 10px;
}
.legal-body p {
  margin: 0 0 16px;
}
.legal-body a {
  color: var(--accent);
}
.placeholder {
  border: 1px dashed var(--border);
  border-radius: var(--radius-btn);
  padding: 20px;
  color: var(--text-3);
  text-align: center;
  font-style: italic;
}
