:root {
  --brand: #2152fd;
  --bg: #fff; --bg-alt: #f6f9fc; --card: #fff;
  --ink: #0a2540; --ink-soft: #425466; --muted: #6b7c93;
  --line: rgba(230, 235, 241, .9);
  --night: #0a1433;
  --grad: linear-gradient(90deg, #2152fd, #6b00d1 50%, #f94da7);
  --shadow-card: 0 2px 24px 0 rgba(114, 138, 150, .12);
  --shadow-float: 0 30px 60px -12px rgba(50, 50, 93, .25), 0 18px 36px -18px rgba(0, 0, 0, .3);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1433; --bg-alt: #0d1a40; --card: #101c45;
    --ink: #f4f7fb; --ink-soft: #b7c2d6; --muted: #8b97b0;
    --line: rgba(255, 255, 255, .09); --night: #050b22;
    --shadow-card: 0 2px 24px 0 rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.frame { max-width: 72rem; margin: 0 auto; padding: 0 2rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 15px; font-weight: 600; }
h1 { margin: 0; font-size: clamp(38px, 5.6vw, 62px); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; }
h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { margin: 18px 0 0; max-width: 40rem; color: var(--ink-soft); font-size: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 0; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #1a43d4; }
.btn-soft { background: color-mix(in srgb, var(--brand) 9%, transparent); color: var(--brand); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }

header.top { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(20px); }
header.top nav { display: flex; align-items: center; gap: 28px; max-width: 72rem; height: 68px; margin: 0 auto; padding: 0 2rem; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.logo i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad); color: #fff; font-style: normal; font-size: 15px; }
.logo span { color: var(--muted); font-weight: 500; }
.navlinks { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.navlinks a:hover { color: var(--brand); }

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; right: -160px; top: -220px; z-index: -1; width: 620px; height: 620px; border-radius: 50%; background: conic-gradient(from 200deg, #8aa4ff, #9f7bff, #d95cf0, #f94da7, #ff7a3d, #ffc46b, #8aa4ff); filter: blur(90px); opacity: .35; }
.hero .frame { padding-top: 96px; padding-bottom: 80px; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; }
.badge b { padding: 2px 9px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.section { padding: 80px 0; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 40px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.card .shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card .body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.card h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; font-weight: 600; }
.card p { margin: 6px 0 16px; color: var(--ink-soft); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 2px 9px; border-radius: 6px; background: color-mix(in srgb, var(--brand) 9%, transparent); color: var(--brand); font-size: 12px; font-weight: 600; }
.price { font-size: 15px; font-weight: 600; }
.price small { color: var(--muted); font-weight: 500; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.card .foot .btns { display: flex; gap: 6px; }
.card .foot .btn { padding: 8px 14px; font-size: 14px; }
.empty { padding: 48px; border-radius: 14px; background: var(--bg-alt); color: var(--ink-soft); text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step { padding: 26px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.step b { display: block; font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.step h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 600; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

details { border-bottom: 1px solid var(--line); }
summary { padding: 18px 0; font-size: 17px; font-weight: 600; cursor: pointer; }
details p { margin: -4px 0 18px; color: var(--ink-soft); }

/* Cover page */
.cover-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.buybox { padding: 24px; min-width: 280px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.buybox .big { font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
.buybox p { margin: 4px 0 18px; color: var(--muted); font-size: 14px; }
.buybox .btn { width: 100%; margin-top: 8px; }
.shots { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; margin-top: 48px; align-items: start; }
.shots img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.desc { max-width: 46rem; color: var(--ink-soft); font-size: 17px; white-space: pre-line; }
.versions { margin: 0; padding: 0; list-style: none; }
.versions li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.versions b { margin-right: 10px; }
.versions span { color: var(--muted); font-size: 14px; }
.versions p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; white-space: pre-line; }

footer { border-top: 1px solid var(--line); }
footer .frame { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
footer a:hover { color: var(--ink); }

@media (max-width: 800px) {
  .frame { padding-left: 16px; padding-right: 16px; border: 0; }
  header.top nav { padding: 0 16px; gap: 16px; }
  .navlinks { gap: 16px; font-size: 14px; }
  .navlinks .wide { display: none; }
  .hero .frame { padding-top: 64px; padding-bottom: 56px; }
  .steps, .cover-head, .shots { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .buybox { min-width: 0; }
}
