/* Leave On Time landing — dark, bold, gradient-accented.
   Scope: marketing-site/index.html only. Legal pages use /styles.css.
   Fonts served via Bunny Fonts (privacy-friendly Google Fonts mirror). */

:root {
  --bg: #0b1020;
  --bg-elev: #131a30;
  --bg-card: #1a2240;
  --fg: #f5f7fb;
  --fg-muted: #99a3c4;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.16);
  --accent: #6c8cff;
  --accent-bright: #9ab2ff;
  --accent-glow: rgba(108,140,255,.35);
  --pill-bg: rgba(108,140,255,.18);
  --pill-fg: #c5d2ff;
  --pill-alt-bg: rgba(255,138,76,.18);
  --pill-alt-fg: #ffc09a;
  --grad: linear-gradient(135deg, #6c8cff 0%, #b076ff 50%, #ff6cae 100%);
  --radius: 12px;
  --radius-lg: 24px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.text-link { color: var(--accent-bright); }
.text-link:hover { color: #fff; }

/* Background orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,140,255,.5), transparent 70%);
}
.orb-2 {
  top: 200px; right: -300px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,108,174,.35), transparent 70%);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Nav */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
}
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--fg-muted); }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border-strong);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s;
}
.nav-cta:hover { background: rgba(255,255,255,.14); }
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* Main */
main { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero {
  text-align: center;
  padding: 80px 0 60px;
  position: relative;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border-strong);
  color: var(--accent-bright);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0 0 28px;
}
.lede {
  font-size: 20px;
  color: var(--fg-muted);
  margin: 0 auto 40px;
  max-width: 58ch;
}
.lede strong { color: var(--fg); font-weight: 600; }

.signup {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px;
}
.signup input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--fg);
  padding: 12px 20px;
  font: inherit;
  outline: none;
  min-width: 0;
}
.signup input::placeholder { color: #6b7596; }
.signup input:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-bright);
  border-radius: 999px;
}
.signup button {
  background: var(--grad);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 24px var(--accent-glow);
  transition: transform .15s, box-shadow .15s;
}
.signup button:hover { transform: translateY(-1px); box-shadow: 0 8px 28px var(--accent-glow); }
.microcopy { font-size: 13px; color: var(--fg-muted); margin: 16px 0 0; }
@media (max-width: 480px) {
  .signup { flex-direction: column; border-radius: var(--radius); padding: 8px; gap: 6px; }
  .signup button { width: 100%; }
}

/* Hero visual */
.hero-visual {
  position: relative;
  margin: 80px auto 0;
  width: fit-content;
}
.device {
  width: 300px;
  background: #000;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px -16px rgba(108,140,255,.4), 0 0 0 1px rgba(255,255,255,.06);
}
.device-screen {
  background: var(--bg-elev);
  border-radius: 34px;
  padding: 22px 18px;
  font-size: 13px;
  min-height: 540px;
}
.status-bar { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-muted); margin-bottom: 26px; }
.screen-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.event {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  text-align: left;
}
.event:first-of-type { border-top: 0; }
.event-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.event-time { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.event-pill {
  background: var(--pill-bg);
  color: var(--pill-fg);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.event-pill.alt { background: var(--pill-alt-bg); color: var(--pill-alt-fg); }
.event-title { font-weight: 500; margin-bottom: 2px; }
.event-meta { font-size: 12px; color: var(--fg-muted); }

/* Floating notification */
.notif {
  position: absolute;
  right: -120px;
  top: 90px;
  width: 300px;
  background: rgba(26,34,64,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 12px;
  text-align: left;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.5);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.notif-icon img { border-radius: 8px; }
.notif-body { flex: 1; min-width: 0; }
.notif-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-muted); margin-bottom: 3px; }
.notif-app { font-weight: 700; letter-spacing: 0.04em; color: var(--accent-bright); }
.notif-title { font-weight: 600; font-size: 14px; color: var(--fg); margin-bottom: 2px; }
.notif-text { font-size: 13px; color: var(--fg-muted); }
@media (max-width: 1080px) {
  .notif { display: none; }
}

/* Reduce motion: kill ambient animations */
@media (prefers-reduced-motion: reduce) {
  .pill-dot, .notif { animation: none; }
}

/* Sections */
section { padding: 120px 0; position: relative; }
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}
section h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 64px;
  max-width: 22ch;
}

/* How */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }
.step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color .2s, transform .2s;
}
.step:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.step-n {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.step h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.step p { color: var(--fg-muted); margin: 0; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,140,255,.06), transparent 50%);
  pointer-events: none;
}
.feature-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.feature h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.feature p { color: var(--fg-muted); margin: 0; font-size: 15px; position: relative; }

/* Privacy card */
.privacy-card {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  text-align: center;
  margin: 80px 0;
}
.privacy-card h2 { font-size: clamp(32px, 4.5vw, 48px); margin: 0 0 20px; line-height: 1.05; max-width: none; }
.privacy-card p { color: var(--fg-muted); margin: 0 auto 28px; max-width: 56ch; font-size: 18px; }
@media (max-width: 640px) { .privacy-card { padding: 56px 28px; } }

/* FAQ */
.faq-list {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq details {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
}
.faq details:first-of-type { border-top: 0; }
.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-bright); font-size: 24px; font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--fg-muted); margin: 14px 0 0; max-width: 64ch; }
@media (max-width: 640px) { .faq details { padding: 20px 22px; } }

/* Closer */
.closer { text-align: center; padding: 120px 0 80px; }
.closer h2 { font-size: clamp(40px, 6vw, 72px); margin: 0 auto 40px; line-height: 1.05; max-width: none; }
.signup-large { margin: 0 auto; max-width: 480px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0 64px; position: relative; z-index: 1; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.footer-brand img { border-radius: 6px; }
.footer-nav { display: flex; gap: 24px; font-size: 14px; color: var(--fg-muted); }
.footer-nav a:hover { color: var(--fg); }
.footer-legal { font-size: 13px; color: var(--fg-muted); margin: 0; }
