 :root {
  --navy: #102542;
  --coral: #F87060;
  --coral-ink: #C2412B;
  --coral-tint: #FDE9E6;
  --line: #E1E2E8;
  --bg: #F4F5F8;
  --white: #FFFFFF;
  --body: #475569;
  --muted: #5B6577;
  --radius: 16px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
a:hover { color: var(--coral-ink); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 10px;
}

img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
  font-size: 20px; font-weight: 800; letter-spacing: -0.02em;
}
.brand-mark { height: 40px; width: auto; }
.site-nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; }

/* Hero */
.hero { max-width: 860px; margin: 0 auto; padding: 72px 24px 48px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px;
  padding: 6px 14px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-size: 14px; font-weight: 600;
}
.badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
}
h1 {
  margin: 0; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.05;
  font-weight: 800; letter-spacing: -0.035em;
}
.lede {
  margin: 24px auto 0; max-width: 600px;
  font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.6; color: var(--body);
}
.actions {
  margin-top: 36px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 12px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px;
  padding: 0 24px; border-radius: 12px; font-size: 16px; font-weight: 600;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--coral); color: var(--navy); font-size: 17px; font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(248,112,96,.8);
}
.btn-primary:hover { color: var(--navy); box-shadow: 0 14px 28px -10px rgba(248,112,96,.9); }
.btn-secondary { background: var(--white); border: 1px solid var(--line); }
.btn-secondary:hover { color: var(--navy); border-color: #C8CBD6; }
.meta { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.btn-icon { flex: none; width: 20px; height: 20px; }

/* Screenshots */
.shots { padding-bottom: 24px; }
.theme-switch-row { display: flex; justify-content: center; margin-bottom: 28px; }
.theme-switch {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--line);
}
.theme-switch button {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 9px;
  background: transparent; color: #3B4658; font: 600 15px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.theme-switch button[aria-pressed="true"] {
  background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(16,37,66,.15);
}
.shot {
  position: relative; max-width: 1120px; margin: 0 auto; padding-bottom: 6%;
}
.shot-window {
  width: 100%; border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(16,37,66,.45), 0 0 0 1px rgba(16,37,66,.08);
}
.shot-popover {
  position: absolute; right: -3%; bottom: 0; width: 31%; border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(16,37,66,.45), 0 0 0 1px rgba(16,37,66,.08);
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}
[data-theme="light"] .dark-only, [data-theme="dark"] .light-only { display: none; }

/* Features */
.features { padding-top: 96px; padding-bottom: 32px; }
h2 {
  margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.03em; text-align: center;
}
.features h2 { margin-bottom: 40px; }
.feature-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.feature {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--coral-tint);
  display: flex; align-items: center; justify-content: center; color: var(--coral-ink);
}
.feature h3 { margin: 20px 0 8px; font-size: 18px; font-weight: 700; }
.feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* CTA */
.cta-wrap { padding-top: 64px; padding-bottom: 96px; }
.cta {
  background: var(--navy); color: var(--white); border-radius: 24px;
  padding: clamp(40px, 6vw, 72px) 24px; text-align: center;
}
.cta p { margin: 14px auto 0; max-width: 460px; font-size: 17px; line-height: 1.6; color: #C9D2E0; }
.cta .actions { margin-top: 32px; }
.cta .meta { color: #C9D2E0; margin-top: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-block: 28px; font-size: 14px; color: var(--muted);
}
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--navy); }

@media (max-width: 720px) {
  .shot { padding-bottom: 0; }
  .shot-popover { display: none; }
  .hero { padding-top: 40px; }
  .features { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}