:root {
  --night: #14152a;
  --night-2: #1d1d36;
  --violet: #3a3150;
  --plum: #5c3d5c;
  --plum-2: #8f4e68;
  --rose: #d97a93;
  --rose-soft: #f2c9d2;
  --ink: #29252b;
  --muted: #6e666f;
  --line: #e7e1dd;
  --surface: #fffdfa;
  --warm: #f8f6f3;
  --warm-2: #f1ebe5;
  --on-dark: #f4eff3;
  --on-dark-muted: #bdb3c4;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(30, 22, 40, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-2); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-2);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--rose-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--rose-soft); outline-offset: 3px; }
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 10px 26px rgba(217, 122, 147, 0.35); }
.btn-rose:hover { background: #cf6884; }
.btn-ghost { color: var(--on-dark); border: 1.5px solid rgba(244, 239, 243, 0.35); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn-large { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 21, 42, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); font-weight: 600; letter-spacing: 0.22em; font-size: 0.95rem; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--on-dark-muted); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: var(--on-dark); }

/* Hero */
.hero {
  background: radial-gradient(ellipse 70% 80% at 80% 40%, #262340 0%, var(--night) 60%);
  color: var(--on-dark);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; padding: 56px 0 40px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--rose-soft); font-weight: 500; }
.lede { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 34rem; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 0.88rem; color: var(--on-dark-muted); }
.hero-art img { width: 100%; max-width: 520px; margin-left: auto; mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 72%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 72%); }

/* Stats */
.stats { background: var(--night-2); color: var(--on-dark); border-top: 1px solid rgba(255,255,255,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 26px 0; gap: 16px; }
.stats strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--rose-soft); line-height: 1.1; }
.stats span { font-size: 0.85rem; color: var(--on-dark-muted); }

/* Sections */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f6dde3, #ead8ea);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--plum); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* Showcase */
.showcase { background: var(--night); color: var(--on-dark); padding: 96px 0; }
.showcase-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.showcase-copy > p { color: var(--on-dark-muted); margin: 18px 0 24px; font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.showcase-art { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: end; }
.card { margin: 0; border-radius: var(--radius); overflow: hidden; }
.card figcaption { font-size: 0.82rem; padding: 10px 16px 14px; }
.card-dark { background: #2a2540; }
.card-dark figcaption { color: var(--on-dark-muted); }
.card-light { background: var(--surface); color: var(--ink); }
.card-light figcaption { color: var(--muted); }
.map img { padding: 14px 14px 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--plum); color: #fff; font-weight: 700;
  margin-bottom: 16px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.privacy-note {
  display: flex; align-items: center; gap: 22px;
  margin-top: 28px; padding: 20px 26px 20px 20px;
  background: var(--warm-2); border-radius: var(--radius);
}
.privacy-note img { width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0; }
.privacy-note p { color: var(--muted); }
.privacy-note strong { color: var(--ink); }

/* Download */
.download {
  background:
    radial-gradient(ellipse 60% 70% at 10% 0%, rgba(217, 122, 147, 0.22), transparent 60%),
    linear-gradient(160deg, var(--violet), var(--night) 70%);
  color: var(--on-dark);
  padding: 96px 0;
}
.download-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.download-copy > p { color: var(--on-dark-muted); margin: 18px 0 30px; font-size: 1.07rem; max-width: 36rem; }
.download-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.download-pending { margin-top: 18px !important; font-size: 0.92rem; color: var(--rose-soft) !important; }
.install { padding: 30px; box-shadow: var(--shadow); }
.install h3 { margin-bottom: 14px; }
.install ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.install code { font-size: 0.88em; background: var(--warm-2); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.install-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 28px 18px 0; position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--plum-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* Footer */
.footer { background: var(--warm-2); border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-logo { width: 120px; }
.footer nav { display: flex; gap: 22px; margin-left: auto; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer nav a:hover { color: var(--plum); }
.footer p { color: var(--muted); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .showcase-grid, .download-grid, .faq-wrap { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 40px; text-align: left; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 320px; margin: 0 auto; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section, .showcase, .download { padding: 72px 0; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .features, .steps { grid-template-columns: 1fr; }
  .showcase-art { grid-template-columns: 1fr; }
  .map { max-width: 260px; justify-self: center; }
  .hero-ctas .btn, .download-ctas .btn { width: 100%; }
  .privacy-note { flex-direction: column; text-align: center; }
  .footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
