:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #ececf0;
  --text: #131316;
  --muted: #6e6e73;
  --line: rgba(19, 19, 22, 0.1);
  --accent: #f25820;
  --accent-hover: #d94a17;
  --glow: rgba(242, 88, 32, 0.22);
  --wallpaper: linear-gradient(135deg, #ffd7c4, #f8b4a0 40%, #c9b8ff);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0d;
    --surface: #161619;
    --surface-2: #1f1f23;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.1);
    --glow: rgba(242, 88, 32, 0.28);
    --wallpaper: linear-gradient(135deg, #3a1d14, #5a2413 40%, #2a2150);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; }

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px max(16px, calc((100% - 1080px) / 2));
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; letter-spacing: -0.01em; }
.brand img { color: var(--text); }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav nav a { color: var(--muted); text-decoration: none; }
.nav nav a:hover { color: var(--text); }
@media (max-width: 600px) { .nav nav { display: none; } .nav .button { margin-left: auto; } }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--glow);
  transition: background-color 0.15s;
}
.button:hover { background: var(--accent-hover); }
.button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; }
.button.secondary { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.button.secondary:hover { background: var(--surface-2); }
.button.small { padding: 8px 18px; font-size: 15px; box-shadow: none; }
.button.wide { width: 100%; }
.price:not(:empty)::before { content: "·"; margin-right: 8px; opacity: 0.7; }

/* Hero */

.hero {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 16px 40px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -120px 10% auto;
  height: 560px;
  background: radial-gradient(closest-side, var(--glow), transparent);
  z-index: -1;
  pointer-events: none;
}
.app-icon { margin: 0 auto 28px; border-radius: 25px; box-shadow: var(--shadow); }
h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.accent { color: var(--accent); }
.lead { max-width: 620px; margin: 24px auto 0; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.fineprint { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* Sections */

.section { max-width: 1080px; margin: 0 auto; padding: 96px 16px 0; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-weight: 650; font-size: 15px; letter-spacing: 0.02em; }
h2 { margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 720; }
.section-lead { max-width: 560px; margin: 16px 0 0; color: var(--muted); font-size: 19px; }
h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

.feature, .card, .price-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.feature { padding: 24px; }
.feature img { margin-bottom: 18px; }
.feature p, .card p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.feature.highlight { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface) 60%); }

/* Desktop switching spotlight */

.spotlight { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .spotlight { grid-template-columns: 1fr; } }
.spotlight-text p:not(.eyebrow) { color: var(--muted); font-size: 19px; margin: 16px 0 0; }

.desktops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.desktop { aspect-ratio: 16 / 10; border-radius: 10px; background: var(--wallpaper); }

/* Each desktop runs the same instant on/off cycle a third of a cycle apart, so exactly one is lit at a
   time and the highlight jumps between them with nothing in between. */
.desktop { animation: current-desktop 3.6s step-end infinite; }
.desktop:nth-child(2) { animation-delay: 1.2s; }
.desktop:nth-child(3) { animation-delay: 2.4s; }
@keyframes current-desktop {
  0% { opacity: 1; box-shadow: 0 0 0 3px var(--accent); }
  33.334%, 100% { opacity: 0.45; box-shadow: 0 0 0 3px transparent; }
}
.desktop:nth-child(n + 2) { opacity: 0.45; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .pair { grid-template-columns: 1fr; } }
.card { padding: 32px; }
.card h3 { font-size: 24px; }

/* Pricing */

.price-card { max-width: 440px; margin: 40px auto 0; padding: 36px; text-align: center; }
#pricing { text-align: center; }
.price-large { margin: 0; font-size: 56px; font-weight: 750; letter-spacing: -0.04em; line-height: 1.1; }
.price-note { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.price-card ul { list-style: none; padding: 0; margin: 28px 0; text-align: left; }
.price-card li { position: relative; padding: 8px 0 8px 32px; border-top: 1px solid var(--line); }
.price-card li:first-child { border-top: 0; }
.price-card li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* FAQ */

.faq { max-width: 760px; }
.faq h2 { margin-bottom: 24px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */

.footer {
  max-width: 1080px;
  margin: 120px auto 0;
  padding: 32px 16px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.footer nav { display: flex; gap: 20px; margin-left: auto; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer p { flex-basis: 100%; margin: 0; }
.footer .brand { color: var(--text); }

/* Legal pages */

.legal { max-width: 720px; margin: 0 auto; padding: 64px 16px 0; }
.legal h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); }
.legal .placeholder { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--text); padding: 0 4px; border-radius: 4px; }

/* Honor Reduce Motion: show the end state without animating. */

@media (prefers-reduced-motion: reduce) {
  .desktop { animation: none; }
  .desktop:first-child { box-shadow: 0 0 0 3px var(--accent); }
}
