:root {
  --pink: #e91e6a;
  --pink-50: #fff0f5;
  --pink-100: #ffd9e4;
  --pink-700: #c41057;
  --bg: #fafafa;
  --bg-2: #ffffff;
  --bg-3: #f3f3f5;
  --ink: #16181d;
  --ink-2: #2b303b;
  --muted: #5a6172;
  --line: #e7e8ec;
  --shadow: 0 1px 3px rgba(20,20,30,0.04), 0 8px 24px rgba(20,20,30,0.06);
  --shadow-lg: 0 4px 12px rgba(20,20,30,0.08), 0 20px 50px rgba(20,20,30,0.10);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", Roboto, "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-700); }

code {
  background: var(--bg-3);
  padding: 0.08em 0.35em;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Consolas", monospace;
  font-size: 0.9em;
  border: 1px solid var(--line);
}

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

h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin: 0 0 0.6em 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin: 0 0 0.4em 0; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.4em 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em 0; color: var(--ink-2); }

/* ===== top nav ===== */
.topnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 36px);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  background: rgba(250,250,250,0.78);
  border-bottom: 1px solid var(--line);
}
.topnav .brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.topnav .brand img {
  border-radius: 8px;
}
.topnav nav { display: flex; gap: 6px; }
.topnav nav a {
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.topnav nav a:hover { background: var(--bg-3); color: var(--pink); }
@media (max-width: 640px) {
  .topnav nav a:not(:last-child) { display: none; }
}

/* ===== hero ===== */
.hero {
  position: relative;
  padding: clamp(40px, 8vw, 100px) 24px clamp(60px, 8vw, 120px) 24px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -80px -80px auto -80px;
  height: 480px;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(233, 30, 106, 0.18), transparent 70%),
    radial-gradient(closest-side at 80% 20%, rgba(233, 30, 106, 0.10), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
}
.hero-icon {
  width: 160px; height: 160px;
  border-radius: 32px;
  margin: 0 auto 24px auto;
  box-shadow: var(--shadow-lg);
  background: white;
}
.badge {
  display: inline-block;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.lede { font-size: 1.18rem; color: var(--muted); max-width: 640px; margin: 0 auto 36px auto; }
.hero-cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 28px;
}
.trust { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.trust strong { color: var(--ink); }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn-lg { padding: 16px 26px; font-size: 1.04rem; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1em;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.18);
  border-radius: 6px;
}
.btn small { display: block; font-weight: 500; opacity: 0.85; font-size: 0.78rem; margin-top: 2px; }
.btn-primary {
  background: var(--pink);
  color: white;
  box-shadow: 0 4px 14px rgba(233, 30, 106, 0.36);
}
.btn-primary:hover {
  background: var(--pink-700);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(233, 30, 106, 0.5);
}
.btn-ghost {
  background: var(--bg-2);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.btn-ghost:hover {
  background: var(--bg-3);
  color: var(--ink);
  transform: translateY(-1px);
}

/* ===== sections ===== */
.section-head {
  max-width: 720px;
  margin: 0 auto 48px auto;
  text-align: center;
  padding: 0 24px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== explainer (video) ===== */
.explainer {
  padding: clamp(50px, 7vw, 90px) 24px clamp(20px, 3vw, 40px) 24px;
  background: var(--bg);
}
.explainer-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.explainer-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-50);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.explainer h2 { margin-bottom: 28px; }
.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(20,20,30,0.06),
    0 16px 40px rgba(20,20,30,0.18),
    0 0 0 1px var(--line);
  background: #0c0d12;
  aspect-ratio: 16 / 9;
}
.video-frame video,
.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0c0d12;
  border: 0;
}
.video-facade {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.video-facade:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 3px rgba(20,20,30,0.08),
    0 24px 48px rgba(20,20,30,0.22),
    0 0 0 1px var(--line);
}
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 20px rgba(233, 30, 106, 0.45),
    0 0 0 6px rgba(233, 30, 106, 0.18);
  transition: transform 0.18s ease, background 0.18s ease;
  pointer-events: none;
}
.video-play-btn svg {
  margin-left: 4px; /* nudge the triangle to look optically centered */
}
.video-facade:hover .video-play-btn {
  background: var(--pink-700);
  transform: translate(-50%, -50%) scale(1.06);
}

/* ===== features ===== */
.features {
  padding: clamp(60px, 9vw, 100px) 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--pink-100);
}
.card-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pink-50);
  border-radius: 10px;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.card p { margin-bottom: 0; font-size: 0.96rem; }

/* ===== how it works ===== */
.how {
  padding: clamp(60px, 9vw, 100px) 24px;
}
.steps {
  max-width: var(--max);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.steps li {
  display: flex; gap: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pink);
  color: white;
  border-radius: 999px;
  font-weight: 700;
}
.steps p { margin-bottom: 0; font-size: 0.96rem; }

/* ===== download ===== */
.download {
  padding: clamp(60px, 9vw, 100px) 24px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--pink-50) 100%);
  border-top: 1px solid var(--line);
}
.download-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.dl-card {
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.dl-card:hover {
  transform: translateY(-2px);
  border-color: var(--pink);
  box-shadow: 0 12px 30px rgba(233, 30, 106, 0.16);
  color: var(--ink);
}
.dl-card.recommended {
  border-color: var(--pink);
  border-width: 2px;
  padding: 23px;
}
.dl-card.recommended::after {
  content: "Recommended";
  position: absolute;
  top: -10px; right: 16px;
  background: var(--pink);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.dl-os {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.dl-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.dl-meta { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; flex: 1; }
.dl-cta {
  display: inline-block;
  align-self: flex-start;
  background: var(--pink);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 600;
}
.dl-card:hover .dl-cta { background: var(--pink-700); }
.release-link {
  text-align: center;
  margin: 32px 0 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== license ===== */
.license {
  padding: clamp(60px, 9vw, 100px) 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.license-inner { max-width: var(--max); margin: 0 auto; }
.license-inner h2 { margin-bottom: 36px; text-align: center; }
.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.license-grid > div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.license-grid h3 { color: var(--pink); }
.contact a { font-size: 1.08rem; font-weight: 600; }

/* ===== footer ===== */
.foot {
  padding: 36px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.foot p { margin: 0 0 8px 0; font-size: 0.9rem; color: var(--muted); }
.foot .disclaimer { font-size: 0.78rem; opacity: 0.8; }
