/* The website. Dark by default, in black, white and the greys between: plain type on a flat background, no borders or ornaments. Inter throughout. The light theme and the system setting are chosen in the settings menu
   (theme.js sets data-theme before the page is drawn). */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #060606;
  --ink: #f5f5f5;
  --secondary: #b3b3b3;
  --muted: #737373;
  --line: color-mix(in srgb, var(--ink) 11%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 22%, transparent);
  --card: color-mix(in srgb, var(--ink) 5%, var(--paper));
  --raised: #242424;
  --shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
  --font-display: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ok: #3ddc97;
  --bad: #ff6b6b;
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

:root[data-theme="light"] {
  --paper: #f5f5f5;
  --ink: #171717;
  --secondary: #555555;
  --muted: #777777;
  --raised: #eeeeee;
  --shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.35);
  --ok: #0a8f5a;
  --bad: #d63636;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:where(button,
a):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  overflow: hidden;
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main,
footer {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* ---- header: a floating bar that stays on top while the page scrolls ---- */
.top {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(1120px, 100% - 28px);
  margin: 14px auto 0;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.brand {
  justify-self: start;
  display: inline-flex;
  color: var(--ink);
}

.wordmark {
  height: 21px;
  width: auto;
}

.menu {
  justify-self: center;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}

.menu a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 140ms, background 140ms;
}

.menu a:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.menu a[aria-current="page"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 11%, transparent);
}

.switchers {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.switcher {
  position: relative;
}

.auth {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 2px;
}

.auth[hidden] {
  display: none;
}

.auth-link,
.auth-button {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms, opacity 140ms, color 140ms;
}

.auth-link {
  color: var(--secondary);
}

.auth-link:hover {
  color: var(--ink);
}

.auth-button {
  background: var(--ink);
  color: var(--paper);
}

.auth-button:hover {
  opacity: 0.86;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 120ms, transform 160ms;
}

.icon-button:hover,
.icon-button[aria-expanded="true"] {
  background: var(--raised);
}

.icon-button:active {
  transform: scale(0.9);
}

.icon-button .i {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
}

/* The theme button shows the mode that is chosen. */
.mode-auto,
.mode-dark,
.mode-light {
  display: none;
}

:root[data-mode="auto"] .mode-auto,
:root[data-mode="dark"] .mode-dark,
:root[data-mode="light"] .mode-light {
  display: block;
}

.menu-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 168px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--raised);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  transform-origin: top right;
  animation: pop-in 160ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.menu-pop[hidden] {
  display: none;
}

.menu-pop button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--secondary);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 120ms, color 120ms;
}

.menu-pop button:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink);
}

.menu-pop button[aria-checked="true"] {
  color: var(--ink);
}

.menu-pop .tick {
  width: 14px;
  height: 14px;
  visibility: hidden;
}

.menu-pop button[aria-checked="true"] .tick {
  visibility: visible;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(-4px);
  }
}


/* ---- buttons ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 140ms, background 140ms, border-color 140ms, transform 200ms var(--ease);
}

.button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.button:active {
  opacity: 0.72;
  transform: none;
}

.button[aria-disabled="true"] {
  opacity: 0.35;
  pointer-events: none;
}

.button.ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button.ghost:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  opacity: 1;
}

.dl-icon {
  transition: transform 200ms;
}

.button:hover .dl-icon {
  animation: nudge 700ms ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateY(3px);
  }
}

/* ---- pages ---- */
main {
  flex: 1;
}

.page[hidden] {
  display: none;
}

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 8.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.display:focus {
  outline: none;
}

.eyebrow {
  margin: 0;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
}

/* A row of a track and its small cover: the mock, the queue and the import card use them. */
.art {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 18%, var(--paper));
}

.meta {
  display: grid;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}

.meta b {
  overflow: hidden;
  font-size: 14.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta small {
  color: var(--muted);
  font-size: 12.5px;
}

/* ---- blocks ---- */
.block {
  padding: clamp(64px, 9vw, 124px) 0 0;
}

.block[hidden] {
  display: none;
}

.label {
  margin: 64px 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.block .label {
  margin-top: 0;
}

.lead {
  margin: 0 0 clamp(28px, 4vw, 44px);
  max-width: 17em;
  color: var(--ink);
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  transition: border-color 200ms, background 200ms;
}

.card:hover {
  border-color: var(--line-strong);
  background: var(--raised);
}

.card h3,
.step h3 {
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card p,
.step p {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.55;
}

.ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
  transition: transform 300ms cubic-bezier(0.3, 1.4, 0.5, 1);
}

.card:hover .ico {
  transform: rotate(-8deg) scale(1.08);
}

.step {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.num {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

/* ---- status and numbers ---- */
.status-page {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px) 0 80px;
}

.st-head {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.st-title {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.st-title:focus {
  outline: none;
}

.st-sub {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.error {
  margin: 0 0 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  font-weight: 600;
}

.error[hidden],
.st-banner[hidden] {
  display: none;
}

/* the answer to the only question: green when it works, red when something stopped */
.st-banner {
  --tone: var(--ok);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 16px 20px;
  border: 1px solid color-mix(in srgb, var(--tone) 32%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tone) 8%, var(--paper));
  color: var(--tone);
  font-size: 16px;
  font-weight: 650;
}

.st-banner.bad {
  --tone: var(--bad);
}

.st-banner .i {
  width: 20px;
  height: 20px;
}

.st-banner .mono {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.status-page .label {
  margin: 28px 0 12px;
}

.st-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.st-cell {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 18px 10px;
}

.st-cell + .st-cell {
  border-left: 1px solid var(--line);
}

.st-cell b {
  font-size: clamp(19px, 3vw, 25px);
  line-height: 1.1;
  white-space: nowrap;
}

.st-cell span {
  color: var(--muted);
  font-size: 12.5px;
}

.st-cell .dot {
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.4s ease-in-out infinite;
}

.svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
}

.svc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.svc + .svc {
  border-top: 1px solid var(--line);
}

.svc .ico {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.svc .name {
  flex: 1;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 600;
}

.svc .state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 500 12.5px/1 var(--mono);
  white-space: nowrap;
}

.svc .state::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
}

.svc.stopped .state {
  color: var(--bad);
}

.svc.stopped .state::after {
  background: var(--bad);
}

.stat {
  display: grid;
  gap: 8px;
  padding: 26px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.stat b {
  font-size: clamp(32px, 5.4vw, 72px);
  line-height: 1.05;
}

.stat span {
  color: var(--muted);
  font: 500 13px/1.3 var(--mono);
}

/* ---- plans ---- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.plan h3 {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.price b {
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.plan-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 6px;
}

.plan-period {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: var(--raised);
  color: var(--secondary);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease-out, color 150ms ease-out;
}

.plan-period small {
  color: var(--ok);
  font-size: 12px;
  font-weight: 700;
}

.plan-period:hover {
  color: var(--ink);
}

.plan-period[aria-checked="true"] {
  background: var(--ink);
  color: var(--paper);
}

.plan-period[aria-checked="true"] small {
  color: inherit;
  opacity: 0.7;
}

.plan-eq {
  margin: -4px 0 0;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
}

.plan-note {
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 16px;
  font-weight: 600;
}

.plan-list {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  font-size: 15px;
  font-weight: 600;
}

.plan-list .i {
  width: 17px;
  height: 17px;
  stroke-width: 3;
}

.plan-plus {
  border-color: var(--ink);
  background: linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 50%, var(--paper)) 100%);
  color: var(--paper);
}

.plan-plus h3,
.plan-plus .price span {
  color: color-mix(in srgb, var(--paper) 55%, var(--ink));
}

.plan-plus .plan-note {
  color: color-mix(in srgb, var(--paper) 68%, var(--ink));
}

.plan-plus .plan-list li {
  border-color: color-mix(in srgb, var(--paper) 18%, var(--ink));
  background: color-mix(in srgb, var(--paper) 10%, var(--ink));
}

.plan-button {
  align-self: flex-start;
  margin-top: auto;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.plans-fine {
  margin: 18px 0 0;
  text-align: left;
}

.plans-fine a {
  text-underline-offset: 3px;
}

/* ---- the closing call ---- */
.cta {
  display: grid;
  justify-items: center;
  gap: 30px;
  margin: clamp(64px, 9vw, 124px) 0 0;
  padding: clamp(56px, 9vw, 112px) 24px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--card);
  text-align: center;
}

.cta .display {
  max-width: 9em;
  font-size: clamp(38px, 6.4vw, 80px);
}

/* ---- footer ---- */
footer {
  margin-top: clamp(56px, 8vw, 100px);
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding: 44px 0 36px;
  border-top: 1px solid var(--line);
}

.foot-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.foot-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 120ms;
}

.foot-col a:hover {
  color: var(--ink);
}

.foot-col a .i {
  width: 15px;
  height: 15px;
}

.foot-head {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.foot-brand .mark {
  width: 18px;
  height: 18px;
}

.foot-tag {
  margin: 0;
  max-width: 22em;
  color: var(--muted);
  font-size: 14px;
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.foot-legal {
  min-width: 0;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  text-decoration: none;
}

.to-top:hover {
  color: var(--ink);
}

.to-top .i {
  width: 15px;
  height: 15px;
  transition: transform 200ms;
}

.to-top:hover .i {
  transform: translateY(-3px);
}

/* ---- motion ---- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: clip;
}

/* Elements fade in as they scroll into view. Without script they simply stay visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--n, 0) * 90ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* A page fades in when it is opened. */
.page:not([hidden]) {
  animation: page-in 500ms var(--ease);
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* The title arrives word by word. */
.word {
  display: inline-block;
  animation: word-in 800ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  animation-delay: calc(var(--w) * 80ms + 100ms);
}

@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.45em);
    filter: blur(8px);
  }
}



/* ---- blocks an admin switched off (the panel's Site tab) ---- */
/* theme.js and site.js keep the ids in <html data-off="…">. One rule per block id in site/text.js; a test keeps the two lists equal. */
html[data-off~="hero"] [data-block="hero"],
html[data-off~="features"] [data-block="features"],
html[data-off~="plus"] [data-block="plus"],
html[data-off~="status-services"] [data-block="status-services"],
html[data-off~="status-uptime"] [data-block="status-uptime"],
html[data-off~="status-users"] [data-block="status-users"],
html[data-off~="footer"] footer[data-block="footer"] {
  display: none;
}

/* A first visit has no saved answer yet: the page stays blank for a moment rather than showing a block that is about to vanish.
   The animation shows it again after 1.5 s even if the script never runs. */
@keyframes cfg-reveal {
  to {
    visibility: visible;
  }
}

html.cfg-wait main,
html.cfg-wait footer {
  visibility: hidden;
  animation: cfg-reveal 0s linear 0.3s forwards;
}


/* ---- page three: the account. Same shapes as the status page: solid cards, no shadows or gradients. ---- */
.account-page {
  padding: 36px 0 70px;
}

.account-page .display {
  margin-bottom: 36px;
  font-size: clamp(40px, 8vw, 96px);
}

.ac-grid {
  display: grid;
  gap: 12px;
}

.ac-card {
  display: grid;
  gap: 14px;
  padding: 26px 28px;
  border-radius: 8px;
  background: var(--card);
}

.ac-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.ac-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ac-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 400;
}

.ac-h {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.ac-intro {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.ac-notice {
  margin: 0 0 4px;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--raised);
  font-size: 14px;
  font-weight: 600;
}

.ac-notice[hidden] {
  display: none;
}

.ac-error {
  min-height: 1.2em;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.ac-error:empty {
  display: none;
}

.ac-badge {
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--raised);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ac-badge.on {
  background: var(--ink);
  color: var(--paper);
}

.ac-form {
  display: grid;
  gap: 14px;
}

.ac-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.ac-field small {
  color: var(--muted);
  font-weight: 500;
}

.ac-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--raised);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.ac-field input:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.ac-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.ac-submit {
  border: 0;
  cursor: pointer;
}

.ac-submit:disabled {
  opacity: 0.4;
  cursor: default;
}

.ac-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.ac-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--raised);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 120ms;
}

.ac-button:hover {
  opacity: 0.8;
}

.ac-button:disabled {
  opacity: 0.4;
  cursor: default;
}

.ac-button.danger {
  background: none;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.ac-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--raised);
}

.ac-row:first-of-type {
  border-top: 0;
}

.ac-row-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ac-row-text b {
  font-size: 15px;
}

.ac-row-text span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.ac-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ac-row-actions.wide {
  justify-content: flex-start;
}

.ac-tg {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.ac-code {
  padding: 14px 22px;
  border-radius: 8px;
  background: var(--raised);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ac-mfa {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.ac-qr {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  background: #fff;
  image-rendering: pixelated;
}

.ac-secret {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--raised);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.ac-codes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.ac-codes li {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--raised);
}

.ac-history {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-history li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 10px 0;
  border-top: 1px solid var(--raised);
  font-size: 14px;
  font-weight: 600;
}

.ac-history li:first-child {
  border-top: 0;
}

.ac-history small {
  color: var(--muted);
  font-weight: 500;
}

.ac-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 26px 28px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

.ac-dialog::backdrop {
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}

.ac-dialog > * + * {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .ac-card {
    padding: 20px 20px;
  }

  .ac-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .ac-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ac-codes {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ---- page four: the documents ---- */
.legal-page {
  padding: 36px 0 70px;
}

.legal-page .display {
  margin-bottom: 36px;
  font-size: clamp(40px, 8vw, 96px);
}

.legal-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-item {
  display: block;
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--card);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms;
}

.legal-item:hover {
  background: var(--raised);
}

.legal-back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.legal-doc {
  max-width: 46em;
}

.legal-title {
  margin: 0 0 6px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
}

.legal-meta,
.legal-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.legal-doc h3 {
  margin: 32px 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.legal-doc p,
.legal-doc li {
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.65;
}

.legal-doc p {
  margin: 0 0 10px;
}

.legal-doc ul {
  margin: 0 0 10px;
  padding-left: 22px;
}

.legal-others {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.legal-others a {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.legal-others a:hover {
  color: var(--ink);
}


/* a row of a track: a square cover, two lines of text */
.queue {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.queue li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 4%, var(--paper));
}

.queue li:nth-child(2) .art {
  background: color-mix(in srgb, var(--ink) 30%, var(--paper));
}

.queue li:nth-child(3) .art {
  background: color-mix(in srgb, var(--ink) 11%, var(--paper));
}

.queue em {
  flex: none;
  padding: 4px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 11%, transparent);
  color: var(--secondary);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.file {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  animation: drop-in 8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.file.f2 { animation-delay: 0.3s; }
.file.f3 { animation-delay: 0.6s; }

@keyframes drop-in {
  0% {
    opacity: 0;
    transform: translateY(-48px) rotate(-6deg);
  }
  7%,
  92% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

.status {
  position: relative;
  height: 24px;
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
  font-weight: 600;
}

.status span {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.status .s4 { opacity: 1; color: var(--ink); animation: stage-4 8s step-end infinite; }

@keyframes stage-1 { 0% { opacity: 1; } 22%, 100% { opacity: 0; } }
@keyframes stage-2 { 0%, 21.9% { opacity: 0; } 22% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes stage-3 { 0%, 43.9% { opacity: 0; } 44% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes stage-4 { 0%, 65.9% { opacity: 0; } 66%, 100% { opacity: 1; } }

.found li {
  animation: found-in 8s ease-out infinite;
}

.found li:nth-child(2) { animation-delay: 0.3s; }

@keyframes found-in {
  0%,
  66% {
    opacity: 0;
    transform: translateY(10px);
  }
  74%,
  96% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

/* ---- the account page wears the same borders as the rest ---- */
.ac-card,
.ac-notice {
  border: 1px solid var(--line);
}

.account-page .display,
.legal-page .display {
  letter-spacing: -0.05em;
}

/* ---- smaller screens ---- */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  /* the bar keeps the brand and the buttons on one row; the three links get a row of their own so nothing runs off the screen */
  .top {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 6px;
    padding: 8px 8px 8px 18px;
    border-radius: 8px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .switchers {
    grid-column: 2;
    grid-row: 1;
    gap: 4px;
  }

  .menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .auth {
    margin-right: 0;
  }

  .auth-link,
.auth-button {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .button {
    padding: 15px 26px;
  }


  .foot-bottom {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.account-page input {
  border: 1px solid var(--line);
}

.account-page input:focus {
  border-color: var(--line-strong);
  outline: none;
}

/* ---- signing in and up: a short pitch on the left, one card on the right ---- */
.account-page.signed-out {
  padding-top: clamp(16px, 4vw, 48px);
}

/* The page's own title is for the signed-in page; here the pitch on the left says it. It stays for screen readers. */
.account-page.signed-out > .display {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.auth-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 22px;
  min-height: min(680px, calc(100svh - 240px));
}

/* the card sits on a record: grooves in rings that fade out */
.auth-shell::before {
  content: "";
  position: absolute;
  inset: -12% 0;
  z-index: -1;
  background: repeating-radial-gradient(circle at 50% 46%, transparent 0 30px, var(--line) 30px 31px);
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 0, transparent 66%);
  mask-image: radial-gradient(circle at 50% 46%, #000 0, transparent 66%);
}

.auth-card {
  width: min(440px, 100%);
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.auth-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 24px;
  text-align: center;
}

.auth-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--raised);
}

.auth-mark .i {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.auth-title {
  margin: 6px 0 0;
  font-size: clamp(25px, 4vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.auth-lead {
  margin: 0;
  max-width: 24em;
  color: var(--secondary);
  font-size: 14.5px;
  line-height: 1.5;
  text-wrap: balance;
}

.auth-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}

.auth-perks .i {
  width: 14px;
  height: 14px;
  color: var(--ink);
  stroke-width: 3;
}

/* the sub-pages bring their own heading; the head above already says it */
.auth-card .ac-h {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.auth-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 4%, var(--paper));
}

.auth-seg-item {
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background 180ms, color 180ms;
}

.auth-seg-item:hover {
  color: var(--ink);
}

.auth-seg-item[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.auth-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  font-size: 15.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background 160ms, transform 200ms var(--ease);
}

.auth-tg:hover {
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  transform: translateY(-1px);
}

.auth-tg .i {
  width: 20px;
  height: 20px;
}

.auth-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.auth-or::before,
.auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-card .ac-h {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.auth-card .ac-intro {
  margin: 0 0 4px;
  color: var(--secondary);
  font-size: 14.5px;
}

.auth-card .ac-form {
  gap: 16px;
}

.auth-card .ac-field {
  font-size: 13px;
  font-weight: 650;
  color: var(--secondary);
}

.auth-card .ac-field input {
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 5%, var(--paper));
  transition: border-color 140ms, background 140ms;
}

.auth-card .ac-field input:focus-visible {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--ink) 8%, var(--paper));
}

.ac-input {
  position: relative;
  display: block;
}

.ac-input input {
  padding-right: 84px;
}

.ac-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  transform: translateY(-50%);
  cursor: pointer;
}

.ac-eye:hover {
  color: var(--ink);
}

.auth-card .ac-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 4px;
}

.auth-card .ac-submit {
  width: 100%;
  height: 52px;
  padding: 0 24px;
}

.auth-card .ac-actions > .ac-link {
  align-self: center;
}

.auth-card .ac-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 14px;
}

.auth-card .ac-error:empty {
  display: none;
}

.auth-card .ac-notice {
  margin: 0 0 16px;
  border: 1px solid var(--line);
}

.auth-card .ac-tg {
  justify-items: stretch;
  text-align: center;
}

.foot-head-gap {
  margin-top: 14px;
}

/* ==== the home page ====
   A big line and the download. Mono for the small print (versions, numbers), like the file names in a music folder. */
:root {
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, Menlo, monospace;
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* the word a title leans on */
.home {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(72px, 12vw, 152px) 0 clamp(56px, 9vw, 112px);
  text-align: center;
}

.home > :not(.covers) {
  position: relative;
  z-index: 1;
}

.home .display {
  max-width: 10em;
  font-size: clamp(48px, 8.4vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  font-size: 12.5px;
}

.eyebrow .mono:empty {
  display: none;
}

.eyebrow .mono::after {
  content: "·";
  margin-left: 10px;
  color: var(--muted);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.25;
    transform: scale(0.7);
  }
}

.hero-sub {
  margin: 0;
  max-width: 33em;
  color: var(--secondary);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  text-wrap: balance;
}

.get {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.note {
  margin: -8px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
}

.fine {
  margin: -14px 0 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 12.5px;
}

/* covers: the same little pictures the app draws for songs without one */
.covers {
  position: absolute;
  inset: 0 -3vw auto;
  height: min(78vw, 640px);
  pointer-events: none;
  z-index: 0;
}

.covers.on .cover-tile {
  opacity: 1;
}

.cover-tile {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--k, 1) * clamp(64px, 9.5vw, 138px));
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  rotate: var(--r);
  transform: translate(-50%, 0);
  transition: opacity 600ms ease-out;
  animation: drift var(--t, 9s) ease-in-out var(--o, 0s) infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .cover-tile {
    animation: none;
  }
}

@media (max-width: 900px) {
  .cover-tile:nth-child(n + 5) {
    display: none;
  }
}

@keyframes drift {
  from {
    translate: 0 -8px;
  }
  to {
    translate: 0 10px;
  }
}

.win {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #060606;
  box-shadow: var(--shadow);
  transform: rotateX(calc(var(--lean, 0) * 1deg)) translateY(calc(var(--rise, 0) * 1px));
  transform-origin: 50% 100%;
}

.win img {
  display: block;
  width: 100%;
  height: auto;
}

.panel {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* the closing line stands on a record: grooves in rings */
.cta {
  position: relative;
  overflow: hidden;
  background:
    repeating-radial-gradient(circle at 50% 130%, transparent 0 26px, var(--line) 26px 27px),
    var(--card);
}

.cta .display {
  max-width: none;
  font-size: clamp(60px, 13vw, 180px);
  line-height: 0.9;
}

@media (max-width: 900px) {
  .win {
    transform: none;
  }

  .covers {
    height: 360px;
  }

}

@media (max-width: 480px) {
  /* the brand, the sign-up button and two icons are all that fit on one row; signing in is one tap away on the sign-up page */
  .auth-link {
    display: none;
  }
}

@media (max-width: 640px) {
  .auth-perks {
    flex-direction: column;
    align-items: flex-start;
    width: min(340px, 100%);
    margin-inline: auto;
  }

  .get {
    flex-direction: column;
    width: min(340px, 100%);
  }

  .get .button {
    width: 100%;
  }

  .home .display {
    font-size: clamp(44px, 14vw, 72px);
  }
}

/* ==== Dela Gothic One: the app's own title face, for every big line ==== */
@font-face {
  font-family: "Dela Gothic One";
  src: url("/fonts/dela-gothic-one.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --dela: "Dela Gothic One", Inter, system-ui, sans-serif;
}

.display,
.lead,
.stat b,
.st-cell b,
.st-title,
.auth-title,
.price b,
.step .num {
  font-family: var(--dela);
  font-weight: 400;
}

/* it is wide and heavy by itself: looser tracking, a little smaller */
.display {
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.home .display {
  max-width: 12em;
  font-size: clamp(36px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.lead {
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.cta .display {
  font-size: clamp(48px, 11vw, 150px);
  line-height: 0.95;
}

@media (max-width: 640px) {
  .home .display {
    font-size: clamp(34px, 10.5vw, 56px);
  }

  .st-cell {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 6px;
  }

  .st-cell .dot {
    display: none;
  }

  .st-banner .mono {
    display: none;
  }
}

/* ==== plain: flat background, no borders, no boxes inside boxes, no ornaments ==== */
:root {
  --line: transparent;
  --line-strong: transparent;
  --shadow: none;
}

.top {
  position: static;
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
  padding: 20px 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.menu {
  padding: 0;
  gap: 22px;
  border: 0;
  background: none;
}

.menu a,
.menu a[aria-current="page"] {
  padding: 4px 0;
  background: none;
  color: var(--muted);
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--ink);
}

.menu a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.eyebrow {
  padding: 0;
  border: 0;
  background: none;
}

.pulse,
.st-cell .dot {
  display: none;
}

.button.ghost {
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.plans {
  gap: clamp(40px, 8vw, 96px);
}

.plan,
.plan-plus {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
}

.plan-plus h3,
.plan-plus .price span,
.plan-plus .plan-note {
  color: var(--muted);
}

.plan-plus .plan-note {
  color: var(--secondary);
}

.plan-list {
  gap: 0;
}

.plan-list li,
.plan-plus .plan-list li {
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-weight: 500;
}

.plan-list .i {
  display: none;
}

.plan-button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.st-banner,
.error,
.st-strip,
.svc-list {
  border: 0;
  border-radius: 0;
  background: none;
}

.st-banner {
  padding: 0;
  margin-bottom: 8px;
}

.st-cell {
  justify-content: flex-start;
  padding: 10px 28px 10px 0;
}

.account-page input,
.ac-field input,
.auth-card .ac-field input,
.ac-input input {
  border: 0;
  border-radius: 6px;
  background: var(--raised);
}

.auth-card,
.ac-card {
  border: 0;
  background: none;
}

/* The period picked on the plans, on the account page's Plus card. */
.ac-pick {
  border-radius: 6px;
  background: var(--raised);
  outline: 1px solid var(--line-strong);
  outline-offset: 6px;
}

/* ==== One design language with the app ==========================================================================================
   The app's palette (set at the top), its rounded surfaces and pills, Dela Gothic One for titles and Inter for the rest. The header, the
   sign-in and sign-up pages and the account page below are drawn the way the app's own login and settings screens are. ============ */

/* ---- header: a flat bar like the app's, tabs in the middle, small round controls on the right ---- */
.top {
  top: 0;
  width: 100%;
  margin: 0;
  padding: 10px max(20px, calc((100% - 1120px) / 2));
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.wordmark {
  height: 18px;
}

.menu {
  gap: 2px;
  padding: 0;
  border: 0;
  background: none;
}

.menu a {
  padding: 7px 14px;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.menu a:hover {
  background: none;
  color: var(--ink);
}

.menu a[aria-current="page"] {
  background: none;
  color: var(--ink);
  font-weight: 700;
}

.switchers {
  gap: 8px;
}

.auth-link,
.auth-button {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.auth-link {
  color: var(--muted);
}

.auth-button {
  padding: 0 16px;
  font-weight: 600;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 0;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.icon-button:hover,
.icon-button[aria-expanded="true"] {
  background: color-mix(in srgb, var(--ink) 13%, transparent);
}

.icon-button .i {
  width: 16px;
  height: 16px;
}

.menu-pop {
  min-width: 176px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--raised);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
}

.menu-pop button {
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 500;
}

/* ---- buttons: pills, as in the app's welcome and sign-in screens ---- */
.button {
  min-height: 48px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

/* ---- sign in and sign up: the app's sign-in screen ---- */
.account-page.signed-out {
  padding: clamp(24px, 7vh, 72px) 0 56px;
}

.auth-shell {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.auth-card {
  display: grid;
  gap: 18px;
  width: min(440px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.auth-head {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.auth-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.auth-mark .i {
  width: 22px;
  height: 22px;
  stroke: none;
  fill: currentColor;
}

.auth-title {
  margin: 0;
  font-family: var(--dela, "Dela Gothic One"), Inter, sans-serif;
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.auth-lead {
  max-width: 400px;
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.auth-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.auth-seg-item {
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms, color 160ms;
}

.auth-seg-item[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.ac-form {
  gap: 14px;
}

.ac-field {
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}

.ac-field > span:first-child {
  padding-left: 16px;
  color: var(--secondary);
}

.ac-field small {
  padding-left: 16px;
  font-size: 11px;
  font-weight: 400;
}

.ac-input {
  position: relative;
  display: block;
}

.ac-lead {
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  translate: 0 -50%;
  color: var(--muted);
  pointer-events: none;
  transition: color 200ms;
}

.ac-lead .i {
  width: 16px;
  height: 16px;
}

.ac-input:focus-within .ac-lead {
  color: var(--ink);
}

.ac-field input,
.account-page .ac-field input {
  width: 100%;
  height: 48px;
  padding: 0 20px 0 44px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 200ms;
}

.ac-field input::placeholder {
  color: var(--muted);
}

.ac-field input:focus,
.ac-field input:focus-visible,
.account-page .ac-field input:focus {
  border-color: color-mix(in srgb, var(--ink) 45%, transparent);
  outline: none;
}

.ac-input:has(.ac-eye) input {
  padding-right: 72px;
}

.ac-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  translate: 0 -50%;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.ac-eye:hover {
  color: var(--ink);
}

.ac-form .ac-actions {
  justify-content: center;
}

.ac-form .ac-submit {
  order: -1;
  width: 100%;
}

.ac-link {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 500;
  text-underline-offset: 4px;
}

.ac-link:hover {
  color: var(--ink);
}

.auth-perks {
  max-width: 440px;
  color: var(--muted);
  font-size: 12px;
}

.ac-error {
  margin: 0;
  color: var(--bad);
  font-size: 12px;
  text-align: center;
}

/* ---- the account: the app's settings screen, a tree of tabs on the left and rounded cards on the right ---- */
.account-page:not(.signed-out) {
  padding: 28px 0 80px;
}

.account-page:not(.signed-out) > .display {
  margin: 0 0 24px;
  font-family: var(--dela, "Dela Gothic One"), Inter, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 0;
}

.ac-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.ac-nav {
  position: sticky;
  top: 72px;
  display: grid;
  gap: 2px;
}

.ac-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 150ms, background 150ms;
}

.ac-nav-item .i {
  width: 16px;
  height: 16px;
}

.ac-nav-item:hover {
  color: var(--ink);
}

.ac-nav-item[aria-current="page"] {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink);
}

.ac-grid {
  gap: 8px;
}

.ac-card {
  gap: 4px;
  padding: 20px;
  border: 0;
  border-radius: 16px;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}

.ac-h {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.ac-card > .ac-intro {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.ac-row {
  gap: 12px;
  padding: 12px 8px;
  border-top: 0;
}

.ac-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--secondary);
}

.ac-ico .i {
  width: 16px;
  height: 16px;
}

.ac-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e07a5f;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.ac-row-text {
  flex: 1 1 auto;
}

.ac-row-text b {
  font-size: 14px;
  font-weight: 500;
}

.ac-row-text span {
  color: var(--muted);
  font-size: 12px;
}

.ac-row-actions {
  flex: none;
}

.ac-button {
  height: 32px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--raised);
  font-size: 12px;
  font-weight: 500;
}

.ac-button.danger {
  background: color-mix(in srgb, var(--bad) 14%, transparent);
  box-shadow: none;
  color: var(--bad);
}

.ac-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.ac-notice {
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  font-size: 13px;
}

.ac-dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--raised);
}

.ac-pick {
  border-radius: 12px;
  outline: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  outline-offset: -1px;
}

@media (max-width: 760px) {
  .top {
    padding-inline: 14px;
  }

  .ac-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .ac-nav {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .ac-nav-item {
    flex: none;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ink) 6%, transparent);
    white-space: nowrap;
  }

  .ac-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding-inline: 0;
  }

  .ac-row-text {
    min-width: 0;
  }

  .ac-row-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

/* Specific enough to beat the older sign-in rules above. */
.auth-card .ac-field input,
.auth-card .ac-field input:focus,
.auth-card .ac-field input:focus-visible {
  height: 48px;
  padding: 0 20px 0 44px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 999px;
  background: transparent;
}

.auth-card .ac-field input:focus,
.auth-card .ac-field input:focus-visible {
  border-color: color-mix(in srgb, var(--ink) 45%, transparent);
}

.auth-card .ac-input:has(.ac-eye) input {
  padding-right: 72px;
}

.ac-eye {
  transform: none;
}

.ac-notice:empty,
.ac-error:empty {
  display: none;
}

.auth-perks {
  display: grid;
  gap: 8px;
  justify-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.auth-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-card {
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.menu a[aria-current="page"] {
  border-bottom-color: transparent;
  text-decoration: none;
}

.ac-nav {
  scrollbar-width: none;
}

.ac-nav::-webkit-scrollbar {
  display: none;
}

/* The browser's own autofill colour (the blue fill) is replaced by the field's usual transparent look. */
.ac-field input:-webkit-autofill,
.ac-field input:-webkit-autofill:hover,
.ac-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--paper) inset;
  transition: background-color 600000s 0s;
}

.auth-perks {
  justify-items: center;
  text-align: center;
}

.auth-perks li {
  justify-content: center;
}

.ac-link {
  border: 0;
  border-bottom: 0;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent);
  text-underline-offset: 4px;
}

.ac-link:hover {
  text-decoration-color: currentColor;
}

/* Every step of signing up (the email, "check your mail", choosing a password, resetting) is laid out like the sign-in. */
.auth-card .ac-h {
  margin: 0;
  font-family: var(--dela, "Dela Gothic One"), Inter, sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.auth-card .ac-intro,
.auth-card .ac-form > .ac-intro {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
  text-align: center;
}

.auth-card .ac-notice {
  text-align: center;
}

.auth-card .ac-link {
  justify-self: center;
}

.auth-card > .ac-link {
  display: block;
  margin-inline: auto;
}

/* The account page's header: the title on the left, who is signed in on the right, as at the top of the app's settings. */
.account-page:not(.signed-out) {
  position: relative;
}

.ac-who {
  position: absolute;
  top: 28px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 55%;
  height: 36px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  font-size: 13px;
}

.ac-who-text {
  overflow: hidden;
  color: var(--secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-avatar.sm {
  width: 24px;
  height: 24px;
  font-size: 11px;
}

@media (max-width: 760px) {
  .ac-who {
    top: 24px;
    max-width: 60%;
  }

  .ac-who-text {
    display: none;
  }
}

/* ---- a code as slots, like the app's ---- */
.code-box {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.code-slots {
  position: relative;
  display: block;
  width: 100%;
}

.code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.code-slot {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  transition: border-color 200ms;
}

.code-slot[data-filled] {
  border-color: color-mix(in srgb, var(--ink) 32%, transparent);
}

.code-slot[data-active] {
  border-color: color-mix(in srgb, var(--ink) 55%, transparent);
}

.code-slot[data-active]:empty::after {
  content: "";
  width: 1px;
  height: 20px;
  background: var(--ink);
  animation: code-caret 1s steps(1) infinite;
}

.code-dash {
  width: 8px;
  height: 1px;
  flex: none;
  background: color-mix(in srgb, var(--ink) 25%, transparent);
}

@keyframes code-caret {
  50% {
    opacity: 0;
  }
}

/* The real field lies over the boxes, invisible. */
.ac-field .code-slots:not(.plain) input.code-input,
.ac-field .code-slots:not(.plain) input.code-input:focus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  opacity: 0;
  cursor: text;
}

.code-slots.plain .code-row {
  display: none;
}

.code-slots.plain input.code-input {
  padding-left: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .code-slot[data-active]:empty::after {
    animation: none;
  }
}

/* No white frames: the dialog's own focus outline, the double border it made, and the heavy focus rings are gone. A keyboard user still
   gets a faint ring on buttons and links. */
.ac-dialog,
.ac-dialog:focus,
.ac-dialog:focus-visible {
  border: 0;
  outline: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.ac-pick {
  outline: 0;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.ac-who,
.ac-card,
.ac-nav-item {
  outline: 0;
}

:where(button, a, input, summary):focus {
  outline: none;
}

:where(button, a):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ink) 28%, transparent);
  outline-offset: 2px;
}

input:focus-visible,
dialog:focus-visible {
  outline: none;
}


/* ==== Redesign: the header, the home page (headline with a record, covers, plans) and the status page ====
   Black and white, hairline borders, big Dela Gothic titles with one serif italic word, mono for small print; the albums' covers are the only colour.
   Written as one layer on top of the older rules above (the account, documents and footer are left as they were). */
:root {
  --hair: color-mix(in srgb, var(--ink) 14%, transparent);
  --hair-soft: color-mix(in srgb, var(--ink) 8%, transparent);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

/* ---- header: one floating pill ---- */
.top {
  position: sticky;
  top: 12px;
  z-index: 30;
  width: min(1120px, 100% - 28px);
  margin: 12px auto 0;
  padding: 6px 6px 6px 24px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

.wordmark {
  height: 17px;
}

.menu {
  gap: 2px;
}

.top .menu a,
.top .menu a[aria-current="page"] {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.top .menu a:hover {
  background: var(--hair-soft);
  color: var(--ink);
}

.top .menu a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.auth-link,
.auth-button {
  height: 36px;
  border-radius: 999px;
}

.auth-button {
  padding: 0 18px;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--hair);
  background: none;
}

.icon-button:hover,
.icon-button[aria-expanded="true"] {
  background: var(--hair-soft);
}

.menu-pop {
  top: calc(100% + 14px);
  right: 0;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: color-mix(in srgb, var(--raised) 94%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

@media (max-width: 760px) {
  .top {
    padding-left: 18px;
  }

  .top .menu a {
    padding: 8px 11px;
  }
}

@media (max-width: 620px) {
  .top {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
    padding: 8px 8px 8px 18px;
  }

  .menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid var(--hair-soft);
  }

  .top .menu a {
    flex: 1;
    text-align: center;
  }
}

/* ---- buttons ---- */
.button {
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

.button.ghost {
  border: 1px solid var(--hair);
  background: none;
  color: var(--ink);
  text-decoration: none;
}

.button.ghost:hover {
  background: var(--hair-soft);
  opacity: 1;
}

/* ---- the home page ---- */
.home {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  justify-items: stretch;
  align-items: center;
  column-gap: clamp(24px, 5vw, 72px);
  row-gap: clamp(40px, 6vw, 72px);
  padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 5vw, 64px);
  text-align: left;
}

.home > :not(.covers) {
  position: static;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.hero-copy > * {
  margin-block: 0;
}

.eyebrow {
  padding: 7px 16px 7px 13px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: none;
  color: var(--secondary);
  font-size: 12.5px;
  font-weight: 500;
}

.pulse {
  display: inline-block;
  background: var(--ok);
}

.home .display {
  max-width: 9.5em;
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-sub {
  max-width: 28em;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.55;
  text-wrap: pretty;
}

.get {
  justify-content: flex-start;
  margin-top: 8px;
}

.note,
.fine {
  margin: 0;
}

.fine {
  max-width: 36em;
}

.fine a {
  text-underline-offset: 3px;
}

.note {
  margin-top: -6px;
}

/* the record: a black disc with grooves and a sheen, turning slowly, the mark on its label */
.disc {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background:
    conic-gradient(from 30deg, transparent 0 8%, rgba(255, 255, 255, 0.13) 13%, transparent 19% 58%, rgba(255, 255, 255, 0.1) 63%, transparent 69%),
    repeating-radial-gradient(circle, #0a0a0a 0 2px, #151515 2px 3px);
  box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.8);
  animation: spin 28s linear infinite;
}

.disc-label {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f5f5;
  color: #060606;
  box-shadow: 0 0 0 6px #0a0a0a;
}

.disc-label svg {
  width: 34%;
  height: auto;
}

@keyframes spin {
  to {
    rotate: 1turn;
  }
}

/* the covers: a slow strip under the headline; without covers it is empty and takes no room */
.covers {
  position: relative;
  inset: auto;
  grid-column: 1 / -1;
  height: auto;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.covers:empty {
  display: none;
}

.covers-track {
  --tile: clamp(96px, 12vw, 148px);
  display: flex;
  width: max-content;
  animation: strip calc(var(--count, 8) * 5s) linear infinite;
}

@keyframes strip {
  to {
    transform: translateX(-50%);
  }
}

.cover-tile {
  position: static;
  flex: none;
  width: var(--tile);
  margin-right: 14px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  box-shadow: none;
  opacity: 1;
  rotate: none;
  translate: none;
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .disc,
  .covers-track {
    animation: none;
  }
}

@media (max-width: 900px) {
  .home {
    grid-template-columns: minmax(0, 1fr);
  }

  .disc {
    justify-self: center;
    width: min(76vw, 340px);
    grid-row: 2;
  }

  .covers {
    grid-row: 3;
  }

  .cover-tile:nth-child(n + 5) {
    display: block;
  }
}

@media (max-width: 640px) {
  .home .display {
    font-size: clamp(36px, 11.5vw, 56px);
  }

  .get {
    width: 100%;
  }
}

/* ---- plans ---- */
.block {
  padding: clamp(56px, 8vw, 104px) 0 0;
}

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
}

.block .label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hair);
}

.lead {
  max-width: 16em;
  margin-bottom: clamp(32px, 5vw, 56px);
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.plans {
  gap: 16px;
  align-items: stretch;
}

.plan,
.plan-plus {
  gap: 14px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--hair);
  border-radius: 32px;
  background: none;
  color: var(--ink);
}

.plan h3 {
  color: var(--muted);
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
}

.price {
  margin-top: 4px;
}

.price b {
  font-size: clamp(44px, 6.4vw, 72px);
  letter-spacing: -0.03em;
}

.plan-note {
  margin: 0 0 6px;
  font-weight: 500;
}

.plan-list {
  margin: 0 0 18px;
  gap: 0;
}

.plan-list li,
.plan-plus .plan-list li {
  gap: 14px;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--hair-soft);
  border-radius: 0;
  background: none;
  font-size: 15px;
  font-weight: 500;
}

.plan-list .i {
  display: block;
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
  color: var(--muted);
}

/* Plus is the inverted card */
.plan-plus {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.plan-plus h3,
.plan-plus .price span,
.plan-plus .plan-note,
.plan-plus .plan-eq {
  color: color-mix(in srgb, var(--paper) 62%, var(--ink));
}

.plan-plus .plan-list li {
  border-top-color: color-mix(in srgb, var(--paper) 16%, var(--ink));
}

.plan-plus .plan-list .i {
  color: var(--paper);
}

.plan-periods[hidden],
#plan-currency[hidden],
.plan-eq[hidden] {
  display: none;
}

.plan-periods {
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 14%, var(--ink));
}

.plan-period {
  padding: 8px 14px;
  border-radius: 999px;
  background: none;
  color: color-mix(in srgb, var(--paper) 70%, var(--ink));
}

.plan-period:hover {
  color: var(--paper);
}

.plan-period[aria-checked="true"] {
  background: var(--paper);
  color: var(--ink);
}

.plan-period small {
  color: inherit;
  opacity: 0.7;
}

.plan-plus .plan-button {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.plans-fine {
  margin: 22px 0 0;
}

@media (max-width: 760px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan,
  .plan-plus {
    border-radius: 26px;
  }
}

/* ---- status ---- */
.status-page {
  width: min(880px, 100%);
  padding: clamp(40px, 7vw, 88px) 0 96px;
}

.st-head {
  margin-bottom: 28px;
  padding-bottom: 0;
  border-bottom: 0;
}

.st-title {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.st-sub {
  margin-top: 14px;
  font-size: 16px;
}

.st-banner,
.error {
  padding: 18px 24px;
  border: 1px solid color-mix(in srgb, var(--tone, var(--bad)) 40%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tone, var(--bad)) 9%, transparent);
  color: var(--tone, var(--bad));
}

.st-banner {
  margin-bottom: 36px;
}

.error {
  margin-bottom: 20px;
}

.status-page .label {
  margin: 36px 0 14px;
}

.status-page .label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hair);
}

.st-strip {
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: none;
}

.st-cell {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  min-height: 132px;
  padding: 22px 24px;
  border: 1px solid var(--hair);
  border-radius: 24px;
}

.st-cell + .st-cell {
  border-left: 1px solid var(--hair);
}

.st-cell b {
  font-size: clamp(26px, 4.2vw, 44px);
  letter-spacing: -0.02em;
}

.st-cell span {
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.04em;
}

.st-cell .dot {
  display: block;
  position: absolute;
  top: 22px;
  right: 22px;
}

.svc-list {
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: none;
}

.svc {
  gap: 16px;
  padding: 18px 24px;
}

.svc + .svc {
  border-top: 1px solid var(--hair-soft);
}

@media (max-width: 640px) {
  .st-banner,
  .error {
    border-radius: 24px;
  }

  .st-strip {
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }

  .st-cell,
  .st-cell + .st-cell {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    min-height: 0;
    padding: 18px 20px;
    border: 1px solid var(--hair);
    border-radius: 20px;
  }

  .st-cell .dot {
    display: none;
  }
}

/* ---- features: a grid of cards ---- */
.features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  grid-column: span 2;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 200px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--hair);
  border-radius: 28px;
  transition: border-color 200ms, background 200ms;
}

.feature.f-wide {
  grid-column: span 4;
}

.feature:last-child {
  grid-column: span 6;
}

.feature:hover {
  border-color: var(--line-strong, var(--hair));
  background: var(--hair-soft);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid var(--hair);
  border-radius: 50%;
}

.feature-icon .i {
  width: 18px;
  height: 18px;
}

.feature h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  max-width: 28em;
  color: var(--secondary);
  font-size: 14.5px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .feature,
  .feature.f-wide {
    grid-column: span 3;
  }

  .feature:last-child {
    grid-column: span 6;
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .feature,
  .feature.f-wide,
  .feature:last-child {
    grid-column: auto;
    min-height: 0;
    border-radius: 24px;
  }
}

/* ---- the download dialog: pick a system ---- */
.dl-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid var(--hair);
  border-radius: 28px;
  background: var(--raised);
  color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.7);
}

.dl-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.dl-dialog[open] {
  animation: page-in 260ms var(--ease);
}

.dl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dl-head h2 {
  margin: 0;
  font: 400 24px/1.1 var(--dela);
  letter-spacing: -0.02em;
}

.dl-options {
  display: grid;
  gap: 10px;
}

.dl-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--hair);
  border-radius: 20px;
  text-decoration: none;
  transition: background 150ms, color 150ms, border-color 150ms;
}

.dl-option:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.dl-option[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

.dl-option .i {
  width: 24px;
  height: 24px;
}

.dl-os {
  display: grid;
  flex: 1;
  line-height: 1.3;
}

.dl-os b {
  font-size: 16px;
  font-weight: 650;
}

.dl-os small {
  color: inherit;
  opacity: 0.6;
  font-size: 12.5px;
}

.dl-meta {
  font-size: 12px;
  opacity: 0.7;
}

/* ---- sign in and sign up: a page of its own, copied from the sign-in of the app's onboarding ---- */
.ap-bar {
  display: none;
}

body[data-auth] > .top,
body[data-auth] > footer,
body[data-auth] .account-page > .display {
  display: none;
}

body[data-auth] > .ap-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 24px;
}

.ap-logo {
  display: grid;
  color: var(--ink);
}

.ap-logo .i {
  width: 23px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.ap-bar .switchers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ap-bar .auth {
  display: none;
}

body[data-auth] main {
  display: flex;
  flex: 1;
  width: 100%;
  margin: 0;
}

body[data-auth] .account-page {
  display: flex;
  flex: 1;
  width: 100%;
  padding: 72px 24px 32px;
}

body[data-auth] .account-page[hidden] {
  display: none;
}

body[data-auth] #ac-root {
  display: flex;
  flex: 1;
  width: 100%;
}

.ap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: auto;
  animation: ap-in 360ms var(--ease) backwards;
}

@keyframes ap-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.ap-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(440px, 100%);
  text-align: center;
}

.ap-mark {
  display: grid;
  margin-bottom: 20px;
  color: var(--ink);
}

.ap-mark .i {
  width: 40px;
  height: 40px;
  fill: currentColor;
  stroke: none;
}

.ap-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ap-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ap-title {
  margin: 0;
  font-family: var(--dela, "Dela Gothic One"), Inter, sans-serif;
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--ink);
}

.ap-hint {
  max-width: 440px;
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.5;
}

.ap-notice {
  max-width: 440px;
  margin: 0 0 20px;
  color: var(--secondary);
  font-size: 13px;
  text-align: center;
}

.ap-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.ap-label {
  padding: 0 16px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
}

.ap-control {
  position: relative;
}

.ap-control > .i {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 16px;
  height: 16px;
  translate: 0 -50%;
  color: var(--muted);
  pointer-events: none;
  transition: color 200ms;
}

.ap-control:focus-within > .i {
  color: var(--ink);
}

.ap .ap-input {
  width: 100%;
  height: 48px;
  padding: 0 20px 2px 44px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  transition: border-color 200ms;
}

.ap .ap-secret {
  padding-right: 52px;
  padding-bottom: 4px;
}

.ap .ap-input::placeholder {
  color: var(--muted);
}

.ap .ap-input::-ms-reveal,
.ap .ap-input::-ms-clear {
  display: none;
}

.ap .ap-input:focus,
.ap .ap-input:focus-visible {
  border-color: color-mix(in srgb, var(--ink) 45%, transparent);
  outline: none;
}

.ap .ap-input[aria-invalid="true"] {
  border-color: color-mix(in srgb, var(--bad) 70%, transparent);
}

.ap-eye {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  translate: 0 -50%;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 200ms;
}

.ap-eye:hover {
  color: var(--ink);
}

.ap-eye .i {
  width: 16px;
  height: 16px;
}

.ap-note {
  margin: 0;
  padding: 0 16px;
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.45;
}

.ap-note[hidden] {
  display: none;
}

.ap-note.muted {
  color: var(--muted);
}

.ap-note.bad {
  color: var(--bad);
}

.ap-meter-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ap-meter {
  display: flex;
  gap: 4px;
}

.ap-bar-seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  transition: background-color 300ms;
}

.ap-bar-seg[data-level="1"] {
  background: var(--bad);
}

.ap-bar-seg[data-level="2"] {
  background: var(--secondary);
}

.ap-bar-seg[data-level="3"] {
  background: var(--ink);
}

/* the code as slots: six digits, three and three, a hairline each */
.ap-code {
  position: relative;
}

.ap-slots {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ap-slot {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  transition: border-color 200ms;
}

.ap-slot[data-filled] {
  border-color: color-mix(in srgb, var(--ink) 32%, transparent);
}

.ap-slot[data-active] {
  border-color: color-mix(in srgb, var(--ink) 55%, transparent);
}

.ap-slot[data-active]:empty::after {
  content: "";
  width: 1px;
  height: 20px;
  background: var(--ink);
  animation: ap-caret 1s steps(1) infinite;
}

.ap-dash {
  flex: none;
  width: 8px;
  height: 1px;
  background: color-mix(in srgb, var(--ink) 25%, transparent);
}

.ap .ap-code-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  opacity: 0;
  cursor: text;
  outline: none;
}

/* a recovery code is plain text: the field replaces the slots */
.ap-code.plain .ap-slots {
  display: none;
}

.ap .ap-code.plain .ap-code-input {
  position: static;
  height: 48px;
  padding: 0 20px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  border-radius: 999px;
  color: var(--ink);
  caret-color: var(--ink);
  font: inherit;
  font-size: 14px;
  opacity: 1;
}

.ap .ap-code.plain .ap-code-input:focus {
  border-color: color-mix(in srgb, var(--ink) 45%, transparent);
}

@keyframes ap-caret {
  50% {
    opacity: 0;
  }
}

.ap-error {
  margin: 0;
  color: var(--bad);
  font-size: 12px;
  text-align: center;
}

.ap-error:empty {
  display: none;
}

.ap-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 200ms, transform 120ms ease-out;
}

.ap-button.ap-alt {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line, color-mix(in srgb, var(--ink) 18%, transparent));
}

.ap-button.ap-alt .i {
  width: 18px;
  height: 18px;
}

.ap-button:hover:not(:disabled) {
  opacity: 0.86;
}

.ap-button:active:not(:disabled) {
  transform: scale(0.98);
}

.ap-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.ap-button[aria-busy="true"]::after {
  content: "";
  width: 1.1em;
  height: 1.1em;
  border: 2px solid color-mix(in srgb, currentColor 30%, transparent);
  border-top-color: currentColor;
  border-radius: 999px;
  animation: ap-spin 700ms linear infinite;
}

@keyframes ap-spin {
  to {
    transform: rotate(360deg);
  }
}

.ap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ap-row.center {
  justify-content: center;
}

.ap-link {
  padding: 2px 4px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--secondary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 200ms;
}

.ap-link:hover {
  color: var(--ink);
}

.ap-link.quiet {
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ap-link.quiet:hover {
  color: var(--ink);
}

.ap .ac-tg {
  margin: 8px 0;
}

@media (max-width: 520px) {
  body[data-auth] > .ap-bar {
    padding: 12px;
  }

  body[data-auth] .account-page {
    padding: 64px 16px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap,
  .ap-button[aria-busy="true"]::after,
  .ap-slot[data-active]:empty::after {
    animation: none;
  }
}

/* autofill: the browser's tinted fill is painted over with the page colour, and the text keeps ours */
.ap .ap-input:-webkit-autofill,
.ap .ap-input:-webkit-autofill:hover,
.ap .ap-input:-webkit-autofill:focus,
.ap .ap-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--paper) inset;
  transition: background-color 600000s 0s, color 600000s 0s, border-color 200ms;
}

.ap .ap-input:autofill {
  box-shadow: 0 0 0 1000px var(--paper) inset;
  -webkit-text-fill-color: var(--ink);
}

/* the code slots are squares, centred, not stretched across the card */
.ap-slots {
  justify-content: center;
  gap: 8px;
}

.ap-slot {
  flex: 0 1 48px;
}

/* ---- plans, second take: a centred heading, then the two plans as wide cards one under the other ---- */
.plans-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: clamp(28px, 5vw, 56px);
  text-align: center;
}

.plans-head > * {
  margin-block: 0;
}

.plans-kicker {
  color: var(--secondary);
  font-size: 15px;
}

.plans-title {
  margin-bottom: 8px;
  padding-bottom: 0.08em;
  font: 400 clamp(52px, 11vw, 132px)/1 var(--dela);
  letter-spacing: -0.03em;
}

.plans-lead {
  max-width: 34em;
  color: var(--muted);
  font-size: 14px;
  text-wrap: balance;
}

.plans {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.plan,
.plan-plus {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(24px, 6vw, 80px);
  align-content: center;
  align-items: start;
  grid-auto-rows: min-content;
  border-radius: 28px;
}

.plan > .plan-list {
  grid-column: 2;
  grid-row: 1 / span 8;
  margin: 0;
  align-self: center;
}

.plan > :not(.plan-list) {
  grid-column: 1;
}

.plan > .plan-button {
  justify-self: start;
  margin-top: 8px;
}

.plan-periods {
  margin: 4px 0;
}

/* Plus: white (the page's ink) with a gradient from the top, and a bright comet running round its edge */
@property --edge {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.plan-plus {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 84%, var(--paper)) 100%) padding-box,
    conic-gradient(from var(--edge), color-mix(in srgb, var(--ink) 16%, transparent) 0 55%, color-mix(in srgb, var(--ink) 60%, transparent) 78%, var(--ink) 88%, color-mix(in srgb, var(--ink) 16%, transparent) 100%) border-box;
  animation: edge 5s linear infinite;
  box-shadow: 0 30px 90px -50px color-mix(in srgb, var(--ink) 55%, transparent);
}

@keyframes edge {
  to {
    --edge: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-plus {
    animation: none;
  }
}

@media (max-width: 760px) {
  .plan,
  .plan-plus {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan > .plan-list {
    grid-column: 1;
    grid-row: auto;
    margin: 12px 0 8px;
  }

  .plan > .plan-button {
    justify-self: stretch;
  }
}

/* ---- plans, third take: a gradient title, and cards with a tag, a price, a one-row period switch and a two-column list ---- */
.plans-title {
  background: linear-gradient(180deg, var(--ink) 25%, color-mix(in srgb, var(--ink) 12%, transparent) 108%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.plan,
.plan-plus {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  row-gap: 12px;
  padding: clamp(26px, 4vw, 48px);
}

.plan h3 {
  justify-self: start;
  padding: 7px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 11px;
}

.price {
  margin-top: 8px;
}

.plan-eq {
  margin: 0;
  font: 500 12.5px/1.3 var(--mono);
}

.plan > .plan-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  align-self: center;
  margin: 0;
}

.plan-list li,
.plan-plus .plan-list li {
  align-items: flex-start;
  padding: 0;
  border: 0;
  font-size: 15px;
  line-height: 1.35;
}

.plan-list .i,
.plan-plus .plan-list .i {
  box-sizing: content-box;
  flex: none;
  width: 11px;
  height: 11px;
  margin-top: -1px;
  padding: 5px;
  border-radius: 50%;
  background: var(--hair-soft);
  color: var(--ink);
}

.plan-plus .plan-list .i {
  background: color-mix(in srgb, var(--paper) 14%, transparent);
  color: var(--paper);
}

.plan-plus h3 {
  border-color: color-mix(in srgb, var(--paper) 25%, transparent);
}

/* the period switch is one row of four, the saving under each name */
.plan-periods {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: 100%;
  max-width: 400px;
  gap: 2px;
}

.plan-period {
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 8px 6px;
  font-size: 13px;
  white-space: nowrap;
}

.plan-period small {
  font-size: 11px;
}

.plan-period:not(:has(small)) {
  align-content: center;
}

/* Plus: white with a glow at the top that fades to a soft grey below */
.plan-plus {
  background:
    radial-gradient(90% 70% at 50% -5%, #ffffff 0%, rgba(255, 255, 255, 0) 70%) padding-box,
    linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 80%, var(--paper)) 100%) padding-box,
    conic-gradient(from var(--edge), color-mix(in srgb, var(--ink) 16%, transparent) 0 55%, color-mix(in srgb, var(--ink) 60%, transparent) 78%, var(--ink) 88%, color-mix(in srgb, var(--ink) 16%, transparent) 100%) border-box;
}

:root[data-theme="light"] .plan-plus {
  background:
    radial-gradient(90% 70% at 50% -5%, #4a4a4a 0%, rgba(74, 74, 74, 0) 70%) padding-box,
    linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 80%, var(--paper)) 100%) padding-box,
    conic-gradient(from var(--edge), color-mix(in srgb, var(--ink) 16%, transparent) 0 55%, color-mix(in srgb, var(--ink) 60%, transparent) 78%, var(--ink) 88%, color-mix(in srgb, var(--ink) 16%, transparent) 100%) border-box;
}

@media (max-width: 900px) {
  .plan,
  .plan-plus {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan > .plan-list {
    grid-column: 1;
    grid-row: auto;
    margin: 12px 0 8px;
  }
}

@media (max-width: 560px) {
  .plan > .plan-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.plan,
.plan-plus {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.price {
  flex-wrap: wrap;
  row-gap: 0;
}

.price b {
  font-size: clamp(40px, 5.2vw, 64px);
  white-space: nowrap;
}

.plans-title {
  background-image: linear-gradient(180deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 30%, transparent) 105%);
}

/* ---- Plus: the gradient moves. A glow drifts along the top edge and the grey beneath it slowly shifts. ---- */
@property --gx {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 15%;
}

@property --gy {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.plan-plus {
  --glow: #ffffff;
  background:
    radial-gradient(70% 80% at var(--gx) -8%, var(--glow) 0%, transparent 70%) padding-box,
    linear-gradient(165deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 74%, var(--paper)) 50%, var(--ink) 100%) 50% var(--gy) / 100% 220% padding-box,
    conic-gradient(from var(--edge), color-mix(in srgb, var(--ink) 16%, transparent) 0 55%, color-mix(in srgb, var(--ink) 60%, transparent) 78%, var(--ink) 88%, color-mix(in srgb, var(--ink) 16%, transparent) 100%) border-box;
  animation: edge 5s linear infinite, glow 8s ease-in-out infinite alternate;
}

:root[data-theme="light"] .plan-plus {
  --glow: #5a5a5a;
  background:
    radial-gradient(70% 80% at var(--gx) -8%, var(--glow) 0%, transparent 70%) padding-box,
    linear-gradient(165deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 74%, var(--paper)) 50%, var(--ink) 100%) 50% var(--gy) / 100% 220% padding-box,
    conic-gradient(from var(--edge), color-mix(in srgb, var(--ink) 16%, transparent) 0 55%, color-mix(in srgb, var(--ink) 60%, transparent) 78%, var(--ink) 88%, color-mix(in srgb, var(--ink) 16%, transparent) 100%) border-box;
}

@keyframes glow {
  from {
    --gx: 12%;
    --gy: 0%;
  }
  to {
    --gx: 88%;
    --gy: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-plus {
    animation: none;
  }
}

/* the plus of the title: a sheen runs through it */
.plus-sign {
  display: inline-block;
  background: linear-gradient(105deg, color-mix(in srgb, var(--ink) 30%, transparent) 0%, var(--ink) 28%, #ffffff 40%, var(--ink) 52%, color-mix(in srgb, var(--ink) 30%, transparent) 80%, color-mix(in srgb, var(--ink) 30%, transparent) 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 3.2s ease-in-out infinite;
}

:root[data-theme="light"] .plus-sign {
  background-image: linear-gradient(105deg, color-mix(in srgb, var(--ink) 30%, transparent) 0%, var(--ink) 28%, #000000 40%, var(--ink) 52%, color-mix(in srgb, var(--ink) 30%, transparent) 80%, color-mix(in srgb, var(--ink) 30%, transparent) 100%);
}

@keyframes sheen {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plus-sign {
    animation: none;
    background-position: 50% 0;
  }
}

/* ==== Centered hero, flying covers, pill buttons, glass header, download card (the last layer; it wins over everything above) ==== */

/* ---- header: a glass pill with the menu in a tray in the middle ---- */
.top {
  top: 14px;
  padding: 6px 6px 6px 22px;
  border-color: var(--hair);
  background: color-mix(in srgb, var(--paper) 62%, transparent);
  box-shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
}

.top .menu {
  justify-self: center;
  padding: 3px;
  border-radius: 999px;
  background: var(--hair-soft);
}

.top .menu a,
.top .menu a[aria-current="page"] {
  padding: 7px 18px;
}

.switchers {
  justify-self: end;
}

/* ---- buttons: pills, one solid primary, quiet outlines ---- */
.button {
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  transition: opacity 140ms, background 140ms, transform 200ms var(--ease), box-shadow 200ms;
}

.button:not(.ghost) {
  box-shadow: 0 12px 34px -14px color-mix(in srgb, var(--ink) 70%, transparent);
}

.button:not(.ghost):hover {
  opacity: 1;
  transform: translateY(-2px);
}

.button.ghost {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--hair);
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  font-size: 14px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---- hero: everything on the middle line, covers drifting around it ---- */
.home {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  min-height: min(760px, 88vh);
  align-content: center;
  padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 100px);
  text-align: center;
  overflow-x: clip;
}

.hero-copy {
  position: relative;
  z-index: 1;
  justify-items: center;
  max-width: 760px;
}

.home .display {
  max-width: 10em;
  font-size: clamp(40px, 7vw, 96px);
}

.hero-sub {
  max-width: 32em;
}

.get {
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.get > .button:first-child {
  min-height: 56px;
  padding: 0 36px;
  font-size: 16px;
}

.fine {
  margin-inline: auto;
}

.disc {
  display: none;
}

.covers {
  position: absolute;
  inset: 0;
  grid-column: auto;
  overflow: visible;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.covers .cover-tile {
  --size: clamp(56px, 8vw, 118px);
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--size) * var(--s, 1));
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.6);
  rotate: var(--r, 0deg);
  opacity: 0;
  animation:
    cover-in 900ms var(--ease) forwards,
    cover-float calc(6s + var(--i, 0) * 0.8s) ease-in-out calc(var(--i, 0) * -1.1s) infinite;
  animation-delay: calc(var(--i, 0) * 90ms), 0s;
}

.covers .cover-tile:nth-child(1) { --x: 3%; --y: 8%; --r: -8deg; --s: 1.05; }
.covers .cover-tile:nth-child(2) { --x: 7%; --y: 30%; --r: 6deg; --s: 0.75; }
.covers .cover-tile:nth-child(3) { --x: 5%; --y: 52%; --r: 9deg; --s: 1.15; }
.covers .cover-tile:nth-child(4) { --x: 8%; --y: 76%; --r: -5deg; --s: 0.85; }
.covers .cover-tile:nth-child(5) { --x: 90%; --y: 6%; --r: 7deg; --s: 0.95; }
.covers .cover-tile:nth-child(6) { --x: 86%; --y: 28%; --r: -9deg; --s: 0.8; }
.covers .cover-tile:nth-child(7) { --x: 91%; --y: 50%; --r: -6deg; --s: 1.1; }
.covers .cover-tile:nth-child(8) { --x: 85%; --y: 76%; --r: 8deg; --s: 0.85; }
.covers .cover-tile:nth-child(9) { --x: 38%; --y: 3%; --r: 5deg; --s: 0.7; }
.covers .cover-tile:nth-child(10) { --x: 58%; --y: 86%; --r: -7deg; --s: 0.75; }
.covers .cover-tile:nth-child(11) { --x: 36%; --y: 88%; --r: 6deg; --s: 0.65; }
.covers .cover-tile:nth-child(12) { --x: 60%; --y: 2%; --r: -5deg; --s: 0.65; }

@keyframes cover-in {
  from {
    opacity: 0;
    scale: 0.6;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes cover-float {
  0%,
  100% {
    translate: 0 0;
    transform: rotate(0deg);
  }
  50% {
    translate: 6px -18px;
    transform: rotate(3deg);
  }
}

@media (max-width: 900px) {
  .home {
    min-height: 0;
    padding: 150px 0 126px;
  }

  .covers .cover-tile {
    --size: clamp(48px, 15vw, 84px);
  }

  .covers .cover-tile:nth-child(n + 7) {
    display: none;
  }

  .covers .cover-tile:nth-child(1) { --x: 4%; --y: 11%; }
  .covers .cover-tile:nth-child(2) { --x: 76%; --y: 12%; }
  .covers .cover-tile:nth-child(3) { --x: 40%; --y: 8%; }
  .covers .cover-tile:nth-child(4) { --x: 6%; --y: 90%; }
  .covers .cover-tile:nth-child(5) { --x: 78%; --y: 88%; }
  .covers .cover-tile:nth-child(6) { --x: 42%; --y: 93%; }
}

@media (prefers-reduced-motion: reduce) {
  .covers .cover-tile {
    animation: none;
    opacity: 1;
  }
}

/* ---- the download dialog: a centred card with big system tiles ---- */
.dl-dialog {
  width: min(600px, calc(100% - 32px));
  padding: 32px 28px 26px;
  border-radius: 32px;
  text-align: center;
}

.dl-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.dl-head {
  position: relative;
  justify-content: center;
  margin-bottom: 22px;
}

.dl-head h2 {
  font-size: 28px;
}

.dl-head .icon-button {
  position: absolute;
  top: -14px;
  right: -10px;
}

.dl-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dl-option {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px 12px 18px;
  border-radius: 22px;
  text-align: center;
}

.dl-option .i {
  width: 34px;
  height: 34px;
}

.dl-os {
  flex: none;
  justify-items: center;
}

.dl-meta:empty {
  display: none;
}

.dl-hint {
  margin: 20px 0 0;
  color: var(--secondary);
  font-size: 12.5px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .dl-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-option {
    flex-direction: row;
    justify-content: flex-start;
    padding: 16px 18px;
    text-align: left;
  }

  .dl-os {
    flex: 1;
    justify-items: start;
  }

  .dl-option .i {
    width: 24px;
    height: 24px;
  }
}

/* ==== Checkout: one page to choose a period, a way to pay, accept the terms and go to the payment page ==== */
.co {
  display: grid;
  gap: 16px;
  width: min(1040px, 100% - 28px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 8vw, 96px);
}

.co-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.co-back .i {
  rotate: -90deg;
}

.co-back:hover {
  color: var(--ink);
}

.co-title {
  margin: 8px 0 0;
  font: 400 clamp(30px, 5vw, 52px) / 1.05 var(--dela);
  letter-spacing: -0.025em;
}

.co-sub {
  max-width: 40em;
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.55;
}

.co-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.co-steps {
  display: grid;
  gap: 14px;
}

.co-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: var(--raised);
}

.co-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 17px;
  font-weight: 650;
}

.co-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.co-who {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-wrap: anywhere;
}

.co-hint {
  margin: 0;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.5;
}

.co-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.co-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
}

.co-option:hover {
  border-color: color-mix(in srgb, var(--ink) 45%, transparent);
}

.co-option:has(input:checked) {
  border-color: var(--ink);
  background: var(--hair-soft);
  box-shadow: 0 0 0 1px var(--ink);
}

.co-option:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.co-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.co-option-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.co-option-text small {
  color: var(--secondary);
  font-size: 12.5px;
  line-height: 1.4;
}

.co-price {
  font-weight: 700;
  white-space: nowrap;
}

.co-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
}

.co-agree input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.co-agree a {
  text-underline-offset: 3px;
}

.co-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: var(--raised);
}

.co-summary .ac-h {
  margin: 0 0 4px;
}

.co-line,
.co-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.co-line span {
  color: var(--secondary);
}

.co-total {
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-size: 16px;
}

.co-total b {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.co-pay {
  width: 100%;
  white-space: normal;
  text-align: center;
}

.co-pay:disabled,
.co-pay[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

@media (max-width: 860px) {
  .co-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .co-summary {
    position: static;
  }
}

/* the checkout has its own title; the page's own stays for screen readers */
.account-page[data-checkout] > .display {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- the 404 page (404.html) ---- */
.nf {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.nf-code {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.nf-title {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
}

.nf-text {
  margin: 18px 0 0;
  color: var(--secondary);
  font-size: 17px;
}

.nf-text-ru {
  margin-top: 6px;
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

/* ---- redesign: flat, tight, Inter, hairlines; a left-aligned hero and sections divided by lines (after donutbrowser.com) ---- */
:root {
  --rule: color-mix(in srgb, var(--ink) 13%, transparent);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
}

.display {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 560;
  letter-spacing: -0.045em;
}

/* header: a flat bar across the page, the menu next to the mark */
.top {
  top: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 10px max(20px, calc((100% - 1120px) / 2));
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.top .brand {
  gap: 9px;
  align-items: center;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.top .menu {
  justify-self: start;
  margin-left: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.top .menu a,
.top .menu a:hover,
.top .menu a[aria-current="page"] {
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-weight: 500;
}

.top .menu a[aria-current="page"] {
  background: none;
  color: var(--ink);
}

.top .auth-button,
.top .auth-link,
.top .icon-button {
  border-radius: var(--r-sm);
}

.button {
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--r-sm);
  font-weight: 560;
}

/* the hero: words on the left, the record and the covers on the right */
main .home {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  justify-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 9vw, 112px) 0 clamp(44px, 6vw, 80px);
  text-align: left;
}

main .home > .hero-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}

main .home .display {
  max-width: 11ch;
  font-size: clamp(42px, 6.4vw, 80px);
  line-height: 1;
  letter-spacing: -0.05em;
}

main .home .eyebrow {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 500;
}

main .home .hero-sub {
  max-width: 30em;
  font-size: clamp(16px, 1.6vw, 18px);
  text-wrap: pretty;
}

.hero-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--secondary);
  font-size: 14.5px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points .i {
  width: 15px;
  height: 15px;
  color: var(--ink);
}

main .home .get {
  justify-content: flex-start;
  margin-top: 6px;
}

main .home .get > .button:first-child {
  min-height: 46px;
  padding: 0 24px;
  font-size: 15px;
}

main .home .note,
main .home .fine {
  margin: 0;
  margin-inline: 0;
  text-align: left;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 500px);
  aspect-ratio: 1;
}

.hero-art .disc {
  display: block;
  position: absolute;
  inset: 7%;
  width: auto;
  justify-self: auto;
  grid-row: auto;
}

.hero-art .covers {
  position: absolute;
  inset: 0;
}

/* a row of four plain facts, divided by hairlines */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.facts li {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 24px 24px 24px 0;
}

.facts li + li {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

.facts b {
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.facts span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

/* sections: a small kicker, a large left-aligned line */
#home .block {
  padding: clamp(72px, 10vw, 128px) 0 0;
}

#home .block .label {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

#home .block .lead {
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-align: left;
  text-wrap: balance;
}

/* features: one frame, cells divided by lines */
#home .features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--rule);
}

#home .feature,
#home .feature.f-wide {
  grid-column: auto;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

#home .feature-icon {
  display: inline-flex;
  width: auto;
  height: auto;
  margin-bottom: 14px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
}

#home .feature-icon .i {
  width: 22px;
  height: 22px;
}

#home .feature h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

#home .feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* plans */
#home .plans-head {
  text-align: left;
  justify-items: start;
}

#home .plans {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#home .plan {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: none;
}

#home .plan-button,
#home .plan-period {
  border-radius: var(--r-sm);
}

/* the closing line */
.cta-end {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: clamp(72px, 10vw, 128px);
  padding: clamp(64px, 9vw, 112px) 0;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.cta-title {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.cta-sub {
  margin: 0;
  color: var(--secondary);
  font-size: 17px;
}

.cta-end .get {
  justify-content: center;
  margin-top: 8px;
}

/* the footer: quiet, divided from the page by one line */
footer {
  border-top: 1px solid var(--rule);
}

@media (max-width: 900px) {
  main .home {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    width: min(78vw, 360px);
    justify-self: center;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .facts li:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }

  #home .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #home .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .facts,
  #home .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts li,
  .facts li + li {
    padding: 18px 0;
    border-left: 0;
  }

  .facts li + li {
    border-top: 1px solid var(--rule);
  }

  .top .menu {
    margin-left: 4px;
  }
}

main .home > .hero-art {
  position: relative;
  z-index: 0;
}

#home .block .lead,
#home .plans-lead,
#home .plans-kicker {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

#home .plans-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#home .plans-title {
  display: none;
}

#home .plans-head {
  display: block;
}

#home .plans-lead {
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-align: left;
  text-wrap: balance;
}

#home .plans {
  margin-top: 44px;
  align-items: stretch;
}

#home .plan {
  display: grid;
  align-content: start;
  gap: 16px;
  background: transparent;
  color: var(--ink);
}

#home .plan h3 {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#home .plan .price b {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 560;
  letter-spacing: -0.045em;
}

#home .plan-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
}

#home .plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14.5px;
}

#home .plan-list .i {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
}

#home .plan-plus {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

#home .plan-plus .price span,
#home .plan-plus .plan-note,
#home .plan-plus .plan-eq {
  color: color-mix(in srgb, var(--paper) 62%, var(--ink));
}

#home .plan-plus .plan-button {
  background: var(--paper);
  color: var(--ink);
}

#home .plan-plus .plan-period {
  border-radius: var(--r-sm);
}

#home .plan,
#home .plan-plus {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: none;
}

#home .plan > * {
  grid-column: auto;
  grid-row: auto;
}

/* the record turns on its own layer, so the page does not repaint its grooves every frame */
.hero-art .disc {
  will-change: transform;
  animation-name: spin-disc;
  contain: paint;
}

@keyframes spin-disc {
  to {
    transform: rotate(1turn);
  }
}

/* ---- the download dialog, redesigned: a flat card, systems as ruled rows ---- */
.dl-dialog {
  width: min(460px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  text-align: left;
}

.dl-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.dl-dialog .dl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dl-dialog .dl-head h2 {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -0.03em;
  text-align: left;
}

.dl-dialog .dl-head .icon-button {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
}

.dl-dialog .dl-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.dl-dialog .dl-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 0;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  transition: border-color 140ms, background 140ms;
}

.dl-dialog .dl-option:hover,
.dl-dialog .dl-option:focus-visible {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
}

.dl-dialog .dl-option .i {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
}

.dl-dialog .dl-os {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.dl-dialog .dl-os b {
  font-size: 15px;
  font-weight: 560;
}

.dl-dialog .dl-os small {
  color: var(--muted);
  font-size: 13px;
}

.dl-dialog .dl-meta {
  flex: none;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.dl-dialog .dl-option[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.dl-dialog .dl-hint {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
}

.dl-dialog .dl-os,
.dl-dialog .dl-os b,
.dl-dialog .dl-os small {
  justify-items: start;
  justify-self: start;
  text-align: left;
}

/* The photo a new account may choose while it is made. */
.ap-photo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}

.ap-photo {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  color: var(--secondary);
  font: inherit;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.ap-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-photo-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.ap-photo-actions [hidden] {
  display: none;
}

/* ---- the plans on the home page (#tariffs): Free and Plus cards, the period, and the buy button ---- */
.tp {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) 20px clamp(64px, 9vw, 120px);
  scroll-margin-top: 72px;
}

.tp-title {
  margin: 0;
  font: 560 clamp(36px, 5vw, 60px) / 1.05 Inter, system-ui, sans-serif;
  letter-spacing: -0.045em;
}

.tp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

/* A card: lighter at the top and fading down, a hairline edge and a soft light along the top border. */
.tp-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 32px 32px 28px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 11%, transparent);
  border-radius: 22px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 9%, var(--paper)) 0%, color-mix(in srgb, var(--ink) 4%, var(--paper)) 45%, color-mix(in srgb, var(--ink) 2.5%, var(--paper)) 100%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent), 0 24px 60px -30px rgba(0, 0, 0, 0.6);
}

.tp-plus {
  border-color: color-mix(in srgb, var(--ink) 18%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 13%, var(--paper)) 0%, color-mix(in srgb, var(--ink) 5%, var(--paper)) 50%, color-mix(in srgb, var(--ink) 3%, var(--paper)) 100%);
}

/* A soft light in the Plus card's top corner, and the app's mark drawn large there as glass: a faint fill, a thin bright edge,
   fading out towards the card's middle. */
.tp-plus::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -140px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ink) 12%, transparent) 0%, transparent 65%);
  pointer-events: none;
}

.tp-art {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -46px;
  width: 270px;
  height: 236px;
  overflow: visible;
  transform: rotate(-10deg);
  -webkit-mask-image: linear-gradient(225deg, #000 40%, transparent 92%);
  mask-image: linear-gradient(225deg, #000 40%, transparent 92%);
  pointer-events: none;
}

.tp-art-a {
  stop-color: var(--ink);
  stop-opacity: 0.16;
}

.tp-art-edge-a {
  stop-color: var(--ink);
  stop-opacity: 0.8;
}

.tp-art-z {
  stop-color: var(--ink);
  stop-opacity: 0;
}

.tp-art path {
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}

.tp-art-shape path {
  fill: url(#tp-art-fill);
  stroke: url(#tp-art-edge);
  stroke-width: 1.3;
}

@media (max-width: 760px) {
  .tp-art {
    right: -70px;
    width: 220px;
    height: 192px;
  }
}

/* The app's mark on a rounded tile, as its icon has it; the Plus tile is inverted and carries a plus. */
.tp-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ink) 9%, var(--paper));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent), inset 0 1px 0 color-mix(in srgb, var(--ink) 10%, transparent);
  color: var(--ink);
}

.tp-icon .i {
  width: 26px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.tp-icon-plus {
  background: var(--ink);
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--ink) 45%, transparent);
  color: var(--paper);
}

.tp-icon-plus b {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid color-mix(in srgb, var(--ink) 12%, var(--paper));
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 700 13px/1 Inter, system-ui, sans-serif;
}

.tp-card h3 {
  margin: 0;
  font: 520 26px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.tp-desc {
  max-width: 24em;
  min-height: 3.2em;
  margin: 10px 0 0;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.6;
}

.tp-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 6px;
  margin-top: 26px;
}

.tp-periods[hidden] {
  display: none;
}

.tp-period {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 999px;
  background: none;
  color: var(--secondary);
  font: 500 13px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.tp-period small {
  color: var(--muted);
  font-size: 12px;
}

.tp-period:hover {
  color: var(--ink);
}

.tp-period[aria-checked="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.tp-period[aria-checked="true"] small {
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}

.tp-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0 0;
}

.tp-periods:not([hidden]) + .tp-price {
  margin-top: 18px;
}

.tp-price b {
  font: 520 clamp(38px, 4.4vw, 48px) / 1 Inter, system-ui, sans-serif;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.tp-price span {
  color: var(--muted);
  font-size: 15px;
}

.tp-eq {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

.tp-eq {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-height: 24px;
}

.tp-was {
  color: var(--muted);
  font-size: 17px;
  text-decoration-thickness: 1.5px;
}

.tp-was[hidden],
.tp-save[hidden] {
  display: none;
}

/* What the period saves: a small solid pill, the one bright thing under the price. */
.tp-save {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
}

/* The year's chip carries a "best value" tag above it. */
.tp-period.tp-best {
  position: relative;
}

.tp-period.tp-best::after {
  content: attr(data-best);
  position: absolute;
  top: -9px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tp-period.tp-best[aria-checked="true"]::after {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ink) 13%, var(--paper));
}

/* The card's button: a raised dark panel with a hairline, as in the app's secondary buttons. */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  margin-top: 26px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--ink) 10%, var(--paper));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink);
  font: 600 15px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.tp-btn:hover {
  background: color-mix(in srgb, var(--ink) 15%, var(--paper));
}

.tp-btn:active {
  transform: scale(0.98);
}

.tp-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.tp-spin {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid color-mix(in srgb, var(--ink) 30%, transparent);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: tp-spin 0.8s linear infinite;
}

.tp-buy[aria-busy="true"] {
  cursor: progress;
}

.tp-buy[aria-busy="true"] .tp-spin {
  display: inline-block;
}

@keyframes tp-spin {
  to {
    transform: rotate(360deg);
  }
}

.tp-pay {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 12px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.55;
}

.tp-pay[hidden] {
  display: none;
}

.tp-pay p {
  margin: 0;
}

.tp-pay a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 4px;
}

.tp-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

.tp-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  list-style: none;
}

.tp-note + .tp-list {
  margin-top: 12px;
}

.tp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--secondary);
  font-size: 14.5px;
  line-height: 1.45;
}

.tp-list .i {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--ink);
}

@media (max-width: 760px) {
  .tp-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tp-card {
    padding: 26px 22px 24px;
  }

  .tp-desc {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-spin {
    animation-duration: 2.4s;
  }
}

/* The flag before each language in the language menu (Noto's waving flags, /flag-*.svg). */
.lang .lang-pop button:has(.lang-flag) {
  grid-template-columns: 22px 1fr 16px;
}

.lang .lang-pop .lang-flag {
  display: block;
  width: 22px;
  height: 22px;
}

/* ---- the header as a floating pill, like the app's own capsules (the lyrics and search pills): a raised dark capsule with a
   hairline edge, the mark on the left, the links and the language on the right; it floats the same whether or not the page has
   scrolled ---- */
header#top.top,
header#top.top.scrolled {
  top: 12px;
  left: 0;
  right: 0;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  height: 52px;
  padding: 0 8px 0 20px;
  gap: 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, color-mix(in srgb, var(--ink) 8%, var(--paper)) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent), 0 14px 40px -18px rgba(0, 0, 0, 0.7);
}

header#top.top .brand-mark {
  width: 26px;
  height: 22px;
}

header#top.top .menu2 {
  margin-left: auto;
}

header#top.top .menu2 a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  /* Lowercase words sit lower to the eye than the capitals of the language pill: lifted 1px to look centred. */
  padding: 0 14px 2px;
  border-radius: 999px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

header#top.top .menu2 a:hover,
header#top.top .menu2 a[aria-current="page"] {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink);
}

header#top.top .lang-btn {
  height: 36px;
  padding: 0 12px 0 11px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
}

header#top.top .lang-btn:hover {
  background: color-mix(in srgb, var(--ink) 11%, transparent);
}

@media (max-width: 640px) {
  header#top.top,
  header#top.top.scrolled {
    top: 10px;
    width: calc(100% - 20px);
    height: 48px;
    padding: 0 6px 0 16px;
  }

  header#top.top .menu2 a {
    height: 34px;
    padding: 0 12px 2px;
    font-size: 13px;
  }

  header#top.top .lang-btn {
    height: 34px;
  }
}

/* ---- the page arrives word by word: every text marked data-split (site.js renderSplit) shows its words one after another once it
   is on screen; a line in a list starts a little after the one above ---- */
[data-split] .word {
  animation-delay: calc(var(--b, 0ms) + var(--w) * 70ms + 80ms);
}

[data-split]:not(.words-on) .word {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  [data-split] .word {
    animation: none;
  }
}
