/* Pilotdone marketing site — minimal, mobile-first, dark navy palette
   matching the app icon (#0B1426 + #5BA3F5 accent). */

:root {
  --bg: #0B1426;
  --bg-elevated: #142039;
  --border: #243650;
  --text: #E8F0FF;
  --text-muted: #8A9CC0;
  --accent: #5BA3F5;
  --accent-hover: #7BB7F7;
  --max-width: 760px;
  --radius: 12px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang TC',
               'Microsoft JhengHei', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(91, 163, 245, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(91, 163, 245, 0.05) 0%, transparent 50%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
a:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }

/* ── Header ────────────────────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  border-bottom: none;
}
.brand:hover { color: var(--accent); }

.site-header nav {
  display: flex;
  gap: 20px;
}
.site-header nav a {
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: none;
}
.site-header nav a:hover { color: var(--accent); }

/* ── Main content ─────────────────────────────────── */

.content {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

/* ── Headings ─────────────────────────────────────── */

h1, h2, h3, h4 {
  color: var(--text);
  line-height: 1.3;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.25rem; margin-top: 0; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

/* ── Landing-only ─────────────────────────────────── */

.landing .hero {
  text-align: center;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.landing .hero h1 {
  font-size: 3rem;
  background: linear-gradient(180deg, #ffffff 0%, #C9D9F2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.landing .tagline {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0;
}
.landing .subtagline {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 4px 0 28px;
}
.cta { margin-top: 16px; }
.coming-soon {
  display: inline-block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.cta-sub {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
}
.landing .feature-list,
.landing .legal-links ul,
.landing .contact ul {
  list-style: none;
  padding: 0;
}
.landing .feature-list li {
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.landing .feature-list strong { color: var(--accent); }
.landing .legal-links li,
.landing .contact li { padding: 6px 0; }

/* ── Text content (legal pages) ───────────────────── */

.content p { margin: 0.8em 0; }
.content ul, .content ol { padding-left: 1.5em; margin: 0.8em 0; }
.content li { margin: 0.3em 0; }
.content strong { color: var(--text); font-weight: 600; }
.content em { color: var(--text); }

.content blockquote {
  margin: 1em 0;
  padding: 8px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(91, 163, 245, 0.07);
  color: var(--text-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.content blockquote p { margin: 0.4em 0; }

.content code {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  color: var(--accent);
}
.content pre {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius);
  overflow-x: auto;
}
.content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.95em;
}
.content th, .content td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}
.content th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
}

.content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

/* ── Footer ───────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.site-footer p { margin: 4px 0; }
.footer-links a { color: var(--text-muted); border-bottom: none; }
.footer-links a:hover { color: var(--accent); }

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 600px) {
  .site-header { padding: 16px 18px; }
  .brand { font-size: 18px; }
  .content { padding: 32px 18px; }
  .landing .hero { padding: 16px 0 16px; }
  .landing .hero h1 { font-size: 2.25rem; }
  .landing .tagline { font-size: 1.05rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
}
