:root {
  --ground: #0f0b1e;
  --panel: #1b1438;
  --line: #3a2c86;
  --magenta: #ff3ea5;
  --cyan: #2de2e6;
  --paper: #f4f0ff;
  --mute: #c9c2f0;
  --green: #3ddc84;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--paper); font: 1rem/1.6 var(--sans); }
a { color: var(--cyan); }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); color: var(--ground); padding: .5rem 1rem; z-index: 9; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .6rem; font: 700 1.1rem var(--mono); color: var(--paper); text-decoration: none; }
.brand img { width: 1.4rem; height: auto; }
nav a { margin-left: 1rem; font-size: .95rem; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.1rem; }
h1 em, h2 em { font-style: normal; color: var(--magenta); }
p { margin: 0 0 1rem; max-width: 40rem; }
.lead { font-size: 1.15rem; color: var(--mute); }
.eyebrow { font: .85rem var(--mono); color: var(--cyan); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }

section { padding-block: clamp(2.5rem, 7vw, 5rem); }
section + section { border-top: 1px solid var(--line); }

.hero .wrap { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .hero .wrap { grid-template-columns: 1.3fr 1fr; } }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem auto 0; }
.btn { display: inline-block; padding: .8rem 1.4rem; border-radius: .25rem; font-weight: 700; text-decoration: none; background: var(--magenta); color: var(--ground); border: 2px solid var(--magenta); }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn:hover { filter: brightness(1.1); }
.note { font-size: .9rem; color: var(--mute); margin-top: .75rem; }

/* slots for the real screenshots and video; swap the .slot div for an <img> or <video> */
.slot { display: grid; place-items: center; text-align: center; padding: 1rem; background: var(--panel); border: 2px dashed var(--line); color: var(--mute); font: .85rem var(--mono); }
.slot.watch { aspect-ratio: 184 / 224; max-width: 14rem; border-radius: 2.2rem; margin-inline: auto; width: 100%; }
.slot.video { aspect-ratio: 16 / 9; border-radius: .5rem; }
img.shot, video.shot { display: block; max-width: 100%; height: auto; }
img.shot.watch { width: 100%; max-width: 14rem; margin-inline: auto; border-radius: 2.2rem; border: 2px solid var(--line); }
video.demo { width: 100%; max-width: 20rem; border-radius: 2.2rem; border: 2px solid var(--line); margin: 1.5rem auto 0; }
figure { margin: 0; }
figcaption { margin-top: .6rem; font-size: .9rem; color: var(--mute); text-align: center; }

.gap { display: grid; gap: 1rem; margin: 1.5rem auto 0; }
@media (min-width: 48rem) { .gap { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: .5rem; padding: 1.25rem; }
.card p { margin: 0; color: var(--mute); }
.card h3 { color: var(--paper); }
.tag { font: .8rem var(--mono); color: var(--green); }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { ol.steps { grid-template-columns: repeat(3, 1fr); } }
ol.steps li { counter-increment: s; }
ol.steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--cyan); color: var(--ground); font: 700 1rem var(--mono); margin-bottom: .6rem; }
.shots { display: grid; gap: 1.5rem; margin: 1.5rem auto 0; }
@media (min-width: 48rem) { .shots { grid-template-columns: repeat(3, 1fr); } }

details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 700 1.2rem var(--mono); color: var(--magenta); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--mute); }

footer { border-top: 1px solid var(--line); padding-block: 2rem; font-size: .9rem; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
footer a { margin-right: 1rem; }

.btn.store { display: inline-flex; flex-direction: column; line-height: 1.15; padding: .55rem 1.4rem; background: var(--paper); border-color: var(--paper); }
.btn.store span { font-size: .75rem; font-weight: 500; }
.btn.store strong { font-size: 1.35rem; }
.btn[aria-disabled="true"] { cursor: default; }
