/* Kestrel marketing site styles - v0.13.2 / Phase 0.
 *
 * Brand palette anchored on the desktop app's chrome: deep navy as the
 * trust colour, warm orange accent for CTAs and the AI sparkle motif,
 * off-white surface. Sans-serif system stack for performance + zero
 * font-loading flash. Phase 5d will polish copy + add screenshots; this
 * is the structural baseline.
 */

:root {
  --navy:        #0F1E33;
  --navy-deep:   #0A1424;
  --navy-soft:   #1F3454;
  --orange:      #D97757;
  --orange-soft: #F2A788;
  --bg:          #FAFAF9;
  --bg-card:     #FFFFFF;
  --border:      #E5E3DF;
  --text:        #1A1A1A;
  --text-muted:  #5A5A5A;
  --text-soft:   #8A8A8A;
  --radius:      8px;
  --radius-lg:   12px;
  --max-w:       1080px;
  --shadow-sm:   0 1px 2px rgba(15, 30, 51, 0.06), 0 1px 3px rgba(15, 30, 51, 0.08);
  --shadow-md:   0 4px 8px rgba(15, 30, 51, 0.08), 0 8px 24px rgba(15, 30, 51, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: 1.6rem; line-height: 1.2; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.1rem; line-height: 1.3; margin: 1.5rem 0 0.5rem; }

p { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.4rem; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Top nav ─────────────────────────────────────────────────────────── */
.nav {
  background: var(--navy);
  color: #FFFFFF;
  padding: 1rem 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: #FFFFFF;
}
.nav-brand:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.nav-links a:hover { color: #FFFFFF; text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  max-width: 22ch;
  margin: 0 auto 1rem;
}
.hero .lede {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.12s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--orange);
  color: #FFFFFF;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-card); }

/* ── Feature grid ────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.feature h3 { margin-top: 0; color: var(--navy); }
.feature p { color: var(--text-muted); margin: 0; }

/* ── Pricing card ────────────────────────────────────────────────────── */
.pricing {
  max-width: 24rem;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.pricing .tier { font-size: 0.85rem; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.05em; }
.pricing .price { font-size: 3rem; font-weight: 700; color: var(--navy); margin: 0.5rem 0; }
.pricing .price small { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing .annual { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing ul { text-align: left; margin: 1.5rem 0; padding-left: 1.2rem; color: var(--text); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
  margin-top: 4rem;
  font-size: 0.85rem;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer a { color: rgba(255, 255, 255, 0.85); }
.footer a:hover { color: #FFFFFF; }

/* ── Content pages (privacy, terms, faq) ─────────────────────────────── */
.content {
  background: var(--bg-card);
  max-width: 760px;
  margin: 2rem auto;
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.content h2:first-of-type { margin-top: 0; }

/* ── Download / thanks ───────────────────────────────────────────────── */
.center {
  text-align: center;
  padding: 4rem 0;
}
.center h1 { margin: 0 0 1rem; }
.center .lede { color: var(--text-muted); margin-bottom: 2rem; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 36rem;
  margin: 2rem auto;
}
@media (max-width: 560px) {
  .download-grid { grid-template-columns: 1fr; }
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}
.download-card .platform { font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.download-card .platform-note { font-size: 0.8rem; color: var(--text-muted); margin: 0.5rem 0 1.5rem; }
