/* Skyvora — shared styles. Same palette as the Android app so the site and the
   product read as one thing. Dark-only, no external assets, no build step. */

:root {
  --bg-top: #0a1024;
  --bg-bottom: #060912;
  --surface: #141c33;
  --surface-hi: #1d2743;
  --accent: #38bdf8;
  --green: #10b981;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.14);
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(6, 9, 18, 0.8);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14.5px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--green);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.2px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.12; font-weight: 750; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), #818cf8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.18rem);
  max-width: 620px; margin: 0 auto 34px;
}

/* ---------- buttons ---------- */
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 14px 24px; border-radius: 14px;
  font-weight: 620; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-primary {
  background: var(--accent); color: #06121f;
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(56, 189, 248, 0.4); }
.btn-ghost { background: var(--surface-hi); color: var(--text); border-color: var(--border); }
.btn-soon { background: var(--surface); color: var(--muted); border-color: var(--border); cursor: default; }
.btn-soon:hover { transform: none; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; line-height: 1.2; }
.btn b { display: block; font-size: 15px; line-height: 1.2; }
.note { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin: 56px 0 8px;
}
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.stat b { display: block; font-size: 1.7rem; font-weight: 700; color: var(--accent); letter-spacing: -0.01em; }
.stat span { color: var(--muted); font-size: 13.5px; }

/* ---------- sections ---------- */
section { padding: 68px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.card .ico {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(56, 189, 248, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 15px;
}
.card .ico svg { width: 21px; height: 21px; stroke: var(--accent); }
.card h3 { font-size: 16.5px; font-weight: 640; margin-bottom: 7px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #06121f;
  font-weight: 700; font-size: 15px; margin-bottom: 14px;
}
.step h3 { font-size: 16px; font-weight: 640; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 17px 20px; margin-bottom: 11px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--muted); font-size: 14.5px; margin-top: 11px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0 52px; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a, footer span { color: var(--muted); font-size: 14px; }

/* ---------- legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 0 20px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 720; margin-bottom: 8px; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 1.22rem; font-weight: 660; margin: 34px 0 10px; }
.legal p, .legal li { color: #cbd5e1; font-size: 15.5px; }
.legal ul { margin: 10px 0 10px 22px; }
.legal li { margin-bottom: 7px; }
.legal .callout {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0; padding: 18px 20px; margin: 22px 0;
}
.legal .callout p { color: var(--text); font-size: 15px; }

@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a.hide-sm { display: none; }
  .hero { padding: 60px 0 48px; }
  section { padding: 52px 0; }
}
