/* Hover app landing page. --brand and --brand-dark come from the page. */
:root {
  --text: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgb(15 23 42 / 0.25);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--brand); }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.4rem; border-radius: 10px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px var(--brand); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { transform: translateY(-1px); }
.btn--lg { padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(255 255 255 / 0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand img { border-radius: 9px; }
.nav__links { display: none; gap: 1.5rem; margin-left: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav__links a:hover { color: var(--text); }
.nav .btn { margin-left: auto; }
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav .btn { margin-left: 0; }
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent),
              linear-gradient(180deg, color-mix(in srgb, var(--brand) 6%, #fff), #fff);
  padding: 3.5rem 0 3rem;
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; } .hero { padding: 5rem 0 4rem; } }
.eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; margin-bottom: 0.75rem; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.hero__lead { margin-top: 1.1rem; font-size: 1.1rem; color: #334155; max-width: 38rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__note { margin-top: 0.9rem; color: var(--muted); font-size: 0.9rem; }
.hero__phone { justify-self: center; width: min(300px, 80%); }
.hero__phone img {
  width: 100%; height: auto; border-radius: 28px; border: 8px solid #0f172a;
  box-shadow: var(--shadow);
}

/* Sections */
.section { padding: 4rem 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; letter-spacing: -0.01em; text-align: center; }
.section__lead { text-align: center; color: var(--muted); max-width: 40rem; margin: 0.75rem auto 0; }

.features { list-style: none; display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features li {
  padding: 1.25rem 1.25rem 1.25rem 3.25rem; position: relative;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
}
.features li::before {
  content: '✓'; position: absolute; left: 1.1rem; top: 1.15rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); font-weight: 800; font-size: 0.85rem;
}

.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  gap: 1.25rem; overflow-x: auto; margin-top: 2.5rem; padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}
.shots figure { scroll-snap-align: start; }
.shots img { border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 6px 20px -12px rgb(15 23 42 / 0.3); width: 100%; height: auto; }
.shots figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: #334155; text-align: center; }

.why { list-style: none; display: grid; gap: 0.75rem; max-width: 46rem; margin: 2rem auto 0; }
.why li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.05rem; }
.why li::before { content: '●'; color: var(--brand); font-size: 0.7rem; margin-top: 0.45rem; }

/* Pricing */
.plans { display: grid; gap: 1.25rem; margin: 2.5rem auto 0; max-width: 760px; }
@media (min-width: 700px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--border); background: #fff;
}
.plan h3 { font-size: 1.1rem; }
.plan__price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.plan__price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan__note { color: var(--muted); font-size: 0.9rem; }
.plan ul { list-style: none; display: grid; gap: 0.4rem; margin: 0.75rem 0 1.25rem; }
.plan li::before { content: '✓ '; color: var(--brand); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan--pro { background: var(--brand); color: #fff; border-color: var(--brand); }
.plan--pro .plan__price span, .plan--pro .plan__note { color: rgb(255 255 255 / 0.8); }
.plan--pro li::before { color: #fff; }

/* Downloads */
.downloads { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .downloads { grid-template-columns: repeat(3, 1fr); } }
.download {
  display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start;
  padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
}
.download__icon {
  width: 3.25rem; height: 3.25rem; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); margin-bottom: 0.5rem;
}
.download h3 { font-size: 1.2rem; }
.download__meta { color: var(--muted); font-size: 0.9rem; flex-grow: 1; margin-bottom: 0.75rem; }
.download .btn { width: 100%; }
.download__soon { color: var(--muted); font-size: 0.9rem; padding: 0.75rem; border: 1px dashed var(--border); border-radius: 10px; width: 100%; text-align: center; }
.download__help { margin-top: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.download__help summary { cursor: pointer; color: var(--text); }
.download__help p { margin-top: 0.5rem; }
.download__sha code { word-break: break-all; font-size: 0.75rem; }

/* Other apps */
.family { display: grid; gap: 0.75rem; margin-top: 2rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.family a {
  display: flex; gap: 0.75rem; align-items: center; padding: 0.75rem;
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  color: var(--text); text-decoration: none;
}
.family a:hover { border-color: var(--brand); }
.family img { border-radius: 10px; flex-shrink: 0; }
.family strong { display: block; font-size: 0.95rem; }
.family span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }

.footer { background: #0f172a; color: #cbd5e1; padding: 2.5rem 0; }
.footer__inner { display: grid; gap: 0.5rem; text-align: center; font-size: 0.9rem; }
.footer a { color: #93c5fd; }
.footer__copy { color: #64748b; font-size: 0.8rem; }
