:root {
  --bg: #ffffff;
  --ink: #16161a;
  --muted: #6b6d75;
  --record: #ee4b4b;
  --play: #40cc73;
  --reverse: #598cff;
  --slot: #292933;
  --yellow: #ffcc33;
  --purple: #996bf2;
  --key: #dbdee6;
  --key-side: #999ca6;
  --radius: 22px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Barlow", -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--reverse); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 22px; }

/* Header */
header { padding: 28px 0 8px; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 900; font-size: 28px; letter-spacing: .5px; color: var(--ink); text-transform: uppercase; }
.brand:hover { text-decoration: none; }
nav a { font-weight: 600; color: var(--muted); margin-left: 18px; font-size: 15px; }
nav a.active { color: var(--ink); }

/* Keys (3D buttons from the app) */
.key {
  display: inline-block; position: relative; border: 0; cursor: pointer;
  font: inherit; font-weight: 900; font-size: 18px; color: #fff; text-transform: uppercase; letter-spacing: .6px;
  padding: 16px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%, rgba(0,0,0,.06)), var(--c, var(--record));
  box-shadow: 0 10px 0 0 color-mix(in srgb, var(--c, var(--record)) 62%, black), 0 14px 18px rgba(0,0,0,.16);
  transition: none; margin-bottom: 10px;
}
.key:hover { text-decoration: none; filter: brightness(1.04); }
.key:active { transform: translateY(8px); box-shadow: 0 2px 0 0 color-mix(in srgb, var(--c, var(--record)) 62%, black), 0 4px 8px rgba(0,0,0,.16); }
.key.record { --c: var(--record); }
.key.play { --c: var(--play); }
.key.reverse { --c: var(--reverse); }
.key.slot { --c: var(--slot); }
.key.gray { --c: var(--key); color: var(--ink); }

/* Hero */
.hero { padding: 44px 0 30px; }
.hero h1 { font-size: clamp(40px, 8vw, 74px); line-height: .98; font-weight: 900; margin: 0 0 18px; letter-spacing: -1px; }
.hero h1 span { display: inline-block; padding: 0 .18em; border-radius: .22em; color: #fff; }
.hero h1 .r { background: var(--record); }
.hero h1 .p { background: var(--play); }
.hero h1 .b { background: var(--reverse); }
.hero p.lead { font-size: 21px; color: var(--muted); max-width: 560px; margin: 0 0 28px; font-weight: 500; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta .soon { font-size: 14px; color: var(--muted); font-weight: 600; }

/* App Store badge */
.badge img { display: block; height: 60px; width: auto; }
.badge:hover { text-decoration: none; opacity: .9; }

/* Screenshot slider */
.slider { position: relative; margin: 40px auto 0; max-width: 820px; }
.track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 16px 0 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.track::-webkit-scrollbar { display: none; }
.track figure { flex: 0 0 auto; margin: 0; scroll-snap-align: center; text-align: center; }
.track figure:first-child { margin-left: calc(50% - 135px); }
.track figure:last-child { margin-right: calc(50% - 135px); }
.phone {
  width: 270px; border-radius: 44px; padding: 8px; background: #111;
  box-shadow: 0 0 0 2px #3a3a40 inset, 0 24px 50px rgba(0,0,0,.22);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 37px; }
.track figcaption { margin-top: 14px; font-weight: 700; color: var(--muted); font-size: 15px; }
.arrow {
  position: absolute; top: 46%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--key); color: var(--ink); font-size: 30px; line-height: 1; font-weight: 700;
  box-shadow: 0 5px 0 var(--key-side), 0 8px 14px rgba(0,0,0,.15);
}
.arrow:active { transform: translateY(calc(-50% + 4px)); box-shadow: 0 1px 0 var(--key-side), 0 3px 6px rgba(0,0,0,.15); }
.arrow.prev { left: 0; } .arrow.next { right: 0; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 2px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #d5d7de; cursor: pointer; }
.dots button[aria-selected="true"] { background: var(--play); box-shadow: 0 0 10px var(--play); }
@media (max-width: 600px) {
  .phone { width: 220px; }
  .track figure:first-child { margin-left: calc(50% - 110px); }
  .track figure:last-child { margin-right: calc(50% - 110px); }
  .arrow { display: none; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding: 40px 0 10px; }
.feature { padding: 22px; border-radius: var(--radius); background: #f4f5f8; }
.feature .dot { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 12px; box-shadow: 0 0 12px var(--c); background: var(--c); }
.feature h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.feature p { margin: 0; color: var(--muted); }

/* Content pages */
.page { padding: 20px 0 40px; }
.page h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 900; margin: 10px 0 6px; letter-spacing: -.5px; }
.page .meta { color: var(--muted); font-weight: 500; margin-bottom: 30px; }
.page h2 { font-size: 24px; font-weight: 800; margin: 34px 0 8px; }
.page p, .page li { font-size: 17px; }
.page ul { padding-left: 22px; }
.card { padding: 22px 24px; border-radius: var(--radius); background: #f4f5f8; margin: 18px 0; }
.card strong { display: block; font-size: 19px; margin-bottom: 4px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e6e8ee; vertical-align: top; }
th { font-weight: 800; }

/* Footer */
footer { padding: 40px 0 50px; color: var(--muted); font-size: 14px; font-weight: 500; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { color: var(--muted); }
footer a + a::before { content: "·"; margin: 0 8px; color: #c5c7cf; }

@media (max-width: 520px) {
  nav a { margin-left: 12px; font-size: 14px; }
  .slots div { height: 52px; font-size: 20px; }
  .transport div { height: 76px; font-size: 32px; }
}
