@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ground: #d81b60;
  --shadow: #bf0f4d;
  --pink: #ff5c8d;
  --pale: #ffc7d8;
  --white: #ffffff;

  --bg: #ffffff;
  --surface: #fff3f7;
  --text: #2a0a16;
  --muted: #6e4a58;
  --line: #f6d3df;
  --link: #bf0f4d;

  --width: 1040px;
  --reading: 680px;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17060d;
    --surface: #240c16;
    --text: #fbe9ef;
    --muted: #c7a2b0;
    --line: #3f1626;
    --link: #ff8fb1;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Rubik", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

.wrap {
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--white);
  color: var(--ground);
  border-radius: 8px;
}

/* Top bar */

.bar {
  background: var(--ground);
  color: var(--white);
}
.bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.bar nav {
  display: flex;
  gap: 20px;
  font-weight: 600;
  font-size: 16px;
}
.bar nav a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.85;
}
.bar nav a:hover,
.bar nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Hero, with the icon's long flat shadow */

.hero {
  position: relative;
  background: var(--ground);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 46%;
  top: 0;
  width: 200%;
  height: 200%;
  background: var(--shadow);
  transform-origin: 0 0;
  transform: rotate(32deg);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 88px;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--pale); }
.hero p.lead {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: 21px;
  color: var(--white);
  opacity: 0.92;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ground);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--shadow);
}
.store svg { width: 20px; height: 20px; flex: none; }
.platforms {
  margin: 18px 0 0;
  font-size: 15px;
  opacity: 0.85;
}

/* The mixer mock-up */

.mixer {
  background: var(--shadow);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.12);
  color: var(--white);
}
.mixer-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.mixer-title strong { font-size: 18px; }
.mixer-title span { font-size: 14px; opacity: 0.8; }
.wave {
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}
.faders {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.fader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.fader .track {
  position: relative;
  width: 100%;
  height: 150px;
  background: var(--ground);
  border-radius: var(--radius);
}
.fader .track::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  bottom: 14px;
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}
.fader .cap {
  position: absolute;
  left: 18%;
  right: 18%;
  height: 22px;
  margin-top: -11px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}
.fader.muted .cap { background: var(--pink); }
.fader.mine .track { background: var(--pink); }
.fader.mine .track::before { background: rgba(255, 255, 255, 0.45); }
.fader small {
  display: block;
  font-weight: 500;
  opacity: 0.75;
}

/* Sections */

section { padding: 88px 0; }
section.alt { background: var(--surface); }

h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
}
h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
}
.intro {
  max-width: 36em;
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 28px;
  background: var(--surface);
  border-radius: 20px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ground);
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  box-shadow: 4px 4px 0 var(--shadow);
}
.steps p,
.features p {
  margin: 0;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
}
.feature {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}
.feature .glyph {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ground);
  color: var(--white);
}
.feature .glyph svg { width: 26px; height: 26px; }

.private {
  background: var(--ground);
  color: var(--white);
}
.private .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.private svg.star {
  width: 160px;
  height: 160px;
}
.private p {
  margin: 0 0 12px;
  max-width: 38em;
  font-size: 19px;
  opacity: 0.92;
}
.private a { color: var(--white); font-weight: 600; }

/* Reading pages: privacy and support */

.page-head {
  background: var(--ground);
  color: var(--white);
}
.page-head .wrap {
  max-width: calc(var(--reading) + 40px);
  padding-top: 56px;
  padding-bottom: 56px;
}
.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-head p {
  margin: 0;
  font-size: 19px;
  opacity: 0.9;
}

.prose {
  max-width: calc(var(--reading) + 40px);
  padding-top: 56px;
  padding-bottom: 88px;
}
.prose h2 {
  margin-top: 48px;
  font-size: 26px;
}
.prose h2:first-child { margin-top: 0; }
.prose p,
.prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 700; }

.summary {
  margin: 0 0 40px;
  padding: 24px 28px;
  background: var(--surface);
  border-left: 6px solid var(--ground);
  border-radius: var(--radius);
}
.summary p:last-child { margin-bottom: 0; }

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 48px;
  padding: 24px 28px;
  background: var(--surface);
  border-radius: 20px;
}
.contact p { margin: 0; }
.contact .store {
  box-shadow: 5px 5px 0 var(--shadow);
  background: var(--ground);
  color: var(--white);
}

.prose details {
  border-bottom: 1px solid var(--line);
}
.prose details:first-of-type { border-top: 1px solid var(--line); }
.prose summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-weight: 700;
  font-size: 19px;
  cursor: pointer;
  list-style: none;
}
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ground);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}
.prose details[open] summary::after { content: "−"; }
.prose details > div { padding: 0 0 16px; color: var(--muted); }
.prose details > div p { margin: 0 0 12px; }

/* Footer */

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 15px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer a { color: var(--muted); }

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .hero::before { left: 70%; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 32px; }
  .private .wrap { grid-template-columns: 1fr; gap: 24px; }
  .private svg.star { width: 96px; height: 96px; }
  section { padding: 64px 0; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .bar nav { gap: 14px; font-size: 15px; }
  .brand span { display: none; }
  .hero p.lead { font-size: 19px; }
  .mixer { padding: 16px; }
  .faders { gap: 6px; }
  .fader { font-size: 12px; }
  .fader .track { height: 120px; }
  .steps li { padding: 22px; }
  .summary, .contact { padding: 20px; }
}

/* Language menu */

.bar nav { align-items: center; }
.langs { position: relative; }
.langs summary {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px 1px 10px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -3px 0 0 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.langs[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.langs summary:hover,
.langs[open] summary { background: var(--white); color: var(--ground); }
.langs ul {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--shadow);
}
.bar nav .langs a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ground);
  opacity: 1;
  text-decoration: none;
  font-size: 16px;
}
.bar nav .langs a:hover { background: #fff0f5; }
.bar nav .langs a[aria-current="true"] { font-weight: 800; }
.bar nav .langs a[aria-current="true"]::after { content: " ✓"; }
