:root {
  color-scheme: dark;
  --background: #100d17;
  --surface: #191522;
  --border: #382d46;
  --text: #faf6ff;
  --muted: #c6bccf;
  --accent: #e1bbff;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 80% 0%, #2b1b3d 0%, transparent 40rem), var(--background);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
header, footer { border-block-end: 1px solid var(--border); }
nav, .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.3rem; padding-block: 1.2rem; }
nav a, .footer-links a { color: var(--muted); font-size: .93rem; text-decoration: none; }
nav a:hover, .footer-links a:hover { color: var(--text); }
nav .brand { color: var(--text); font-weight: 750; margin-right: auto; }
footer { margin-top: 4.5rem; border-block-start: 1px solid var(--border); border-block-end: 0; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 1rem; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 8vw, 6.2rem); }
h2 { font-size: clamp(1.45rem, 4vw, 2.45rem); }
h3 { font-size: 1.2rem; }
p, li { color: var(--muted); }
.intro { padding-block: clamp(3rem, 8vw, 6rem) 2.7rem; }
.lead { font-size: clamp(1.06rem, 2vw, 1.28rem); max-width: 40rem; }
.tile-grid, .features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tile, .panel {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--surface);
  padding: clamp(1.3rem, 4vw, 2.5rem);
}
.tile { color: var(--text); display: block; text-decoration: none; transition: border-color .2s, background .2s; }
.tile:hover { border-color: #9571af; background: #221931; }
.tile p, .panel p:last-child { margin-bottom: 0; }
.app-icon { width: 108px; aspect-ratio: 1; border-radius: 23%; margin-bottom: 1.5rem; box-shadow: 0 10px 30px #08051080; }
.tile h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.tile-title { display: flex; justify-content: space-between; align-items: baseline; gap: .7rem; }
.tile-title span { color: var(--accent); }
.promo { width: 100%; border: 1px solid var(--border); border-radius: 1.5rem; }
.effect { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.section { margin-top: clamp(2.8rem, 7vw, 5.5rem); }
.prose { max-width: 760px; }
.prose section { margin-top: 2rem; }
.prose li + li { margin-top: .7rem; }
.screens { display: flex; justify-content: center; gap: 1rem; margin: 2rem 0; }
.screens figure { flex: 1; max-width: 210px; margin: 0; min-width: 0; }
.screens img { border-radius: 1rem; border: 1px solid var(--border); }
.screens figcaption { color: var(--muted); text-align: center; margin-top: .5rem; }
@media (max-width: 620px) {
  .tile-grid, .features, .effect { grid-template-columns: 1fr; }
  nav .brand { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }
