/* Orbeat — "night + sunset" identity. Colors mirror the app's Theme.swift exactly. */
:root {
  --bg-top: #120A1C;
  --bg-bottom: #241531;
  --bg-base: #160E20;
  --accent: #FF7A5A;          /* sunset coral — the single interactive accent */
  --accent-soft: #ff9b80;
  --ink: #ffffff;
  --ink-70: rgba(255,255,255,.72);
  --ink-55: rgba(255,255,255,.55);
  --ink-40: rgba(255,255,255,.40);
  --surface: rgba(255,255,255,.06);
  --surface-hi: rgba(255,255,255,.10);
  --hairline: rgba(255,255,255,.12);
  /* lane spectrum */
  --pink:#FF4F7A; --gold:#FFC24B; --teal:#34D9BE; --verm:#FB5A45; --violet:#B07CFF; --tang:#FF8A3D;
  --emerald:#3FD58A;
  --radius: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
/* the shared sunset glow pooling behind the hero, echoing OrbeatBackground */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 22%, rgba(255,122,90,.16), transparent 70%);
}
a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: var(--accent); }

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

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(18,10,28,.55);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: -.5px; color: var(--ink); }
.wordmark .o { color: var(--accent); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink-70); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* ---- hero ---- */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.04; letter-spacing: -1.5px; margin: 0 0 18px; font-weight: 800; }
.hero h1 .glow { background: linear-gradient(90deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-70); max-width: 30ch; margin: 0 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 16px; padding: 14px 22px; border-radius: 14px;
  background: var(--accent); color: #1a0f0a; border: 0; cursor: pointer; transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); color: #1a0f0a; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); }
.btn.ghost:hover { background: var(--surface-hi); color: var(--ink); }
.btn small { font-weight: 600; opacity: .7; font-size: 12px; }

/* ---- orbital hero mark ---- */
.orbit { width: 100%; max-width: 440px; margin: 0 auto; display: block; }
.orbit .ring { fill: none; stroke: rgba(255,255,255,.10); stroke-width: 1.4; }
.orbit .dots { transform-origin: 200px 200px; animation: spin 70s linear infinite; }
.orbit .dots.rev { animation-duration: 95s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit .dots { animation: none; } }
.orbit .hub { fill: var(--bg-base); stroke: var(--hairline); stroke-width: 1.5; }
.orbit .play { fill: #fff; }

/* ---- sections ---- */
section { padding: 56px 0; }
.section-title { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.8px; margin: 0 0 8px; }
.section-sub { color: var(--ink-55); margin: 0 0 36px; font-size: 17px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 24px; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,122,90,.45); background: var(--surface-hi); }
.card .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 14px; font-size: 16px; }
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--ink-55); font-size: 15px; }

/* showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.phone {
  width: 280px; margin: 0 auto; border-radius: 38px; padding: 10px;
  background: #0c0712; border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.phone img { width: 100%; display: block; border-radius: 30px; }
.showcase ul { list-style: none; padding: 0; margin: 18px 0 0; }
.showcase li { padding: 9px 0 9px 30px; position: relative; color: var(--ink-70); }
.showcase li::before { content: "●"; position: absolute; left: 0; color: var(--accent); font-size: 12px; top: 12px; }

/* pro band */
.pro { text-align: center; background: var(--surface); border: 1px solid var(--hairline); border-radius: 24px; padding: 44px 28px; }
.pro h2 { margin: 0 0 10px; font-size: 28px; font-weight: 800; }
.pro p { color: var(--ink-70); margin: 0 auto; max-width: 52ch; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.pill { background: rgba(255,122,90,.14); color: var(--accent-soft); border: 1px solid rgba(255,122,90,.35); padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }

/* ---- prose (support / privacy) ---- */
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 8px; letter-spacing: -1px; font-weight: 800; }
.page-head .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; }
.prose { max-width: 760px; padding-bottom: 64px; }
.prose h2 { font-size: 22px; margin: 38px 0 10px; font-weight: 700; }
.prose h3 { font-size: 17px; margin: 26px 0 6px; font-weight: 700; color: var(--ink); }
.prose p, .prose li { color: var(--ink-70); font-size: 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .muted { color: var(--ink-40); font-size: 14px; }
.faq { border-top: 1px solid var(--hairline); padding: 20px 0; }
.faq h3 { margin: 0 0 6px; }
.contact-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; margin: 8px 0 28px; }
.contact-card a.btn { margin-top: 12px; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--hairline); padding: 36px 0; margin-top: 24px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .links { display: flex; gap: 22px; }
footer a { color: var(--ink-55); font-weight: 600; font-size: 14px; }
footer a:hover { color: var(--ink); }
footer .copy { color: var(--ink-40); font-size: 14px; }

/* ---- responsive ---- */
@media (max-width: 820px) {
  .hero .wrap, .showcase { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 24px; }
  .orbit { max-width: 320px; order: -1; }
  .features { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  .nav-links a.hide-sm { display: none; }
}
