/* Sordina homepage, new design: grainy marshmallow-and-bubblegum stages, chunky display type, white hairline cards on a warm ground. */

:root {
  --bg: #faf6f7;
  --surface: #fff;
  --surface-2: #fafaf9;
  --ink: #0d0b12;
  --ink-2: #4a4752;
  --ink-3: #6e6b75;
  --hairline: #00000014;
  --hairline-strong: #00000024;
  --violet: #e83f8f;
  --violet-ui: #ff5fa8;
  --fill-dark: #ff8cc2;
  --stage-ink: #1c1018;
  --pink: #ff68ad;
  --lift-1: 0 1px 2px #0000000d, 0 8px 24px #0000000d;
  --lift-2: 0 2px 4px #0000000f, 0 24px 60px #0000001a;
  --chip: linear-gradient(180deg, #fff 0%, #f1f0ee 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(16px, 4vw, 32px);
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --text: "Geist", -apple-system, system-ui, sans-serif;
  /* Fine white grain. A small image, not an SVG noise filter: Safari ran the filter again on every redraw. */
  --grain: url(/assets/grain.webp) 0 0 / 220px 220px;
  --stage: var(--grain),
    radial-gradient(60% 55% at 18% 18%, #ffffff 0%, transparent 70%),
    radial-gradient(55% 60% at 90% 18%, #ffb0d4 0%, transparent 70%),
    radial-gradient(50% 50% at 72% 100%, #ff6fb1 0%, transparent 70%),
    radial-gradient(60% 60% at 8% 92%, #fbe8f0 0%, transparent 70%),
    #fdf3f6;
  --desk: var(--grain),
    radial-gradient(60% 55% at 18% 20%, #fff 0%, transparent 70%),
    radial-gradient(55% 60% at 85% 25%, #f6dbe7 0%, transparent 70%),
    radial-gradient(70% 60% at 70% 95%, #fbeef3 0%, transparent 70%),
    radial-gradient(60% 60% at 10% 90%, #ead9e1 0%, transparent 70%),
    #f3e9ed;
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
/* The page's grain and bubblegum washes sit still behind the page as it scrolls. Drawn down the whole length of the
   page, they had to be drawn again for every strip that scrolled into view, which made scrolling stutter, most of all
   in Safari. Fixed, they're drawn once. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    var(--grain),
    radial-gradient(60vw 70vh at 0% 22%, #ffa6cf 0%, transparent 72%),
    radial-gradient(56vw 70vh at 100% 78%, #ffb0d4 0%, transparent 72%),
    radial-gradient(40vw 40vh at 100% 0%, #ffd2e6 0%, transparent 72%),
    var(--bg);
  background-blend-mode: soft-light, normal, normal, normal, normal;
  transform: translateZ(0);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Stages: the grainy gradient used for the hero, Pro card and sign-up ---------- */
.stage {
  background: var(--stage);
  background-blend-mode: soft-light, normal, normal, normal, normal, normal;
  color: var(--stage-ink);
}
.stage-desk {
  background: var(--desk);
  background-blend-mode: soft-light, normal, normal, normal, normal, normal;
  color: var(--ink);
}

/* ---------- Buttons, chips, keys ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-dark {
  background: linear-gradient(180deg, #2e2c33 0%, #121116 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff2b, inset 0 -1px 0 #00000080, 0 1px 1px #13131659, 0 4px 10px #0000002e;
}
.btn-dark:hover { background: linear-gradient(180deg, #3a3840 0%, #1a191f 100%); }
.btn-light {
  background: var(--chip); color: #0d0b12;
  box-shadow: inset 0 -1px 0 #0000000f, 0 0 0 1px #00000012, 0 4px 10px #0000001f;
}
.stage .btn-light { background: linear-gradient(180deg, #fff 0%, #f3f1f7 100%); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 17px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible, .seg button:focus-visible, .pill-btn:focus-visible, .tabs button:focus-visible, summary:focus-visible { outline: 2px solid var(--violet-ui); outline-offset: 3px; }

.chip {
  display: inline-block; padding: 1px 10px; border-radius: 8px;
  background: #ffffff2e; box-shadow: inset 0 1px 0 #ffffff47, inset 0 -1px 0 #0000001a;
  font-weight: 600;
}
.keys { display: inline-flex; gap: 4px; vertical-align: 1px; }
kbd {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 7px; font: 600 13px/1 var(--text);
  background: var(--chip); color: var(--ink);
  box-shadow: inset 0 -1px 0 #00000014, 0 0 0 1px var(--hairline-strong), 0 1px 1px #0000000f;
}
.hero kbd { background: #ffffff2e; color: #fff; box-shadow: inset 0 1px 0 #ffffff47, inset 0 -1px 0 #0000001f; }

.tag {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  font: 600 11px/1.4 var(--text); font-style: normal; letter-spacing: .02em; vertical-align: 2px;
  background: #ff5fa81f; color: var(--violet);
}
.tag-free { background: #1aa36b1f; color: #138556; }

/* ---------- Floating pill nav ---------- */
.nav-wrap { position: fixed; inset: 12px 0 auto; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 820px; margin: 0 auto; height: 52px; padding: 0 8px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-radius: 999px;
  background: #ffffff8c; backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 1px 0 #ffffff99, 0 0 0 1px #ffffff26, 0 8px 30px #0000001a;
  transition: background .25s ease;
}
.nav.on-light { background: #fbfaf8d9; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--hairline), 0 8px 30px #00000014; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 700 19px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 6px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: inherit; opacity: .78;
  transition: background .15s ease, opacity .15s ease;
}
.nav-links a:hover, .nav-links a.is-current { opacity: 1; background: #0000000d; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 920px);
  display: grid; align-items: center;
  padding: 120px var(--gutter) 96px;
  overflow: hidden; isolation: isolate;
}
/* The stage fades out at the bottom, so the hero melts into the page instead of ending on a hard line */
.hero.stage { background: none; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 -1px; z-index: -1; pointer-events: none;
  background: var(--stage);
  background-blend-mode: soft-light, normal, normal, normal, normal, normal;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, #0000 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, #0000 100%);
}
.hero-inner {
  width: 100%; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #ffffff24; box-shadow: inset 0 1px 0 #ffffff40; font-size: 14px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7dffc4; box-shadow: 0 0 0 4px #7dffc433; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px #7dffc400; } }
h1 {
  font: 800 clamp(44px, 6.4vw, 84px)/.98 var(--display);
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 2px 30px #2a0f8a33;
}
.lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 32ch; color: #ffffffe6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 18px; font-size: 13.5px; opacity: .82; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-size: 13px; text-decoration: none; opacity: .85; }
.mouse { width: 22px; height: 34px; border-radius: 11px; border: 1.5px solid #ffffffcc; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
@media (max-height: 760px) { .scroll-cue { display: none; } }

/* The menu bar strip and panel */
.hero-panel { position: relative; justify-self: end; width: min(100%, 420px); }
.menubar {
  display: flex; align-items: center; gap: 16px; height: 30px; padding: 0 14px; margin-bottom: 10px;
  border-radius: 10px; background: #ffffff2b; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 #ffffff40; font-size: 13px; color: #fff;
}
.menubar span:not(.mb-right) { opacity: .9; }
.mb-apple { width: 13px; height: 15px; flex: none; color: #fff; margin-top: -2px; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.mb-icon {
  display: grid; place-items: center; width: 32px; height: 22px; padding: 0; border: 0; border-radius: 6px; cursor: pointer;
  color: inherit; background: #ffffff40; transition: background .15s ease;
}
.mb-icon:hover { background: #ffffff66; }
.mb-icon svg { width: 17px; height: 17px; }
.mb-icon.is-muted svg { opacity: .45; }
.mb-icon:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.glass {
  border-radius: 22px;
  background: #fbfaffeb;
  color: #17151d;
  backdrop-filter: blur(30px) saturate(1.5); -webkit-backdrop-filter: blur(30px) saturate(1.5);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #ffffff80, 0 30px 80px #1d0a6b4d, 0 8px 20px #1d0a6b26;
}
.panel { padding: 14px; transform-origin: top right; }
.hero .panel { animation: drop .7s cubic-bezier(.2,.9,.25,1.15) .15s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 6px 12px; }
.panel-title { font-weight: 600; font-size: 15px; }
.panel-sub { font-size: 12.5px; opacity: .6; transition: color .2s ease; }
.panel-sub.is-call { color: #1aa36b; opacity: 1; font-weight: 600; }
.panel-foot { display: flex; justify-content: space-between; padding: 12px 8px 2px; font-size: 13px; opacity: .6; border-top: 1px solid #0000000f; margin-top: 8px; }

.rows { display: grid; gap: 8px; }
.row {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 12px; align-items: center;
  padding: 10px 12px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px #0000000d, 0 1px 2px #0000000a;
  transition: opacity .3s ease;
}
.row.is-muted { opacity: .62; }
.app-ico {
  grid-row: span 2; width: 34px; height: 34px; border: 0; padding: 0; border-radius: 9px; cursor: pointer;
  display: grid; place-items: center; color: #fff; font: 700 15px/1 var(--text);
  box-shadow: inset 0 1px 0 #ffffff59, inset 0 -1px 0 #0000001f, 0 1px 2px #00000026;
  position: relative;
}
.app-ico svg { width: 18px; height: 18px; }
.row.is-muted .app-ico::after {
  content: ""; position: absolute; inset: -3px; border-radius: 11px; border: 2px solid #ff5c7a;
}
.app-name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.app-state { font-size: 12px; opacity: .55; font-weight: 500; margin-left: 6px; }
.app-val { font-size: 13px; font-variant-numeric: tabular-nums; opacity: .65; text-align: right; min-width: 4ch; }
.row input[type=range] { grid-column: 2 / 4; }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; margin: 0; cursor: pointer;
  --p: 50%;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--violet-ui) var(--p), #0000001a var(--p));
}
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #0000001a; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--violet-ui); }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 .5px #00000026, 0 2px 5px #00000040; transition: transform .12s ease;
}
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px #00000026, 0 2px 5px #00000040; }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type=range]:focus-visible { outline: 2px solid var(--violet-ui); outline-offset: 4px; border-radius: 4px; }

/* Mixer layout: upright faders side by side */
.rows.is-mixer { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.rows.is-mixer .row { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 14px 8px 12px; gap: 10px; }
.rows.is-mixer .app-ico { grid-row: auto; }
.rows.is-mixer .app-state { display: block; margin: 2px 0 0; min-height: 1.4em; }
.rows.is-mixer .app-val { order: 3; text-align: center; }
.rows.is-mixer input[type=range] {
  grid-column: auto; order: 2;
  writing-mode: vertical-lr; direction: rtl; width: 20px; height: 150px;
}
.rows.is-mixer input[type=range]::-webkit-slider-runnable-track { width: 6px; height: auto; background: linear-gradient(0deg, var(--violet-ui) var(--p), #0000001a var(--p)); }
.rows.is-mixer input[type=range]::-webkit-slider-thumb { margin-top: 0; margin-left: -6px; }

/* ---------- Sections ---------- */
.section { max-width: 1080px; margin: 0 auto; padding: clamp(80px, 11vw, 136px) var(--gutter) 0; }
.section:last-of-type { padding-bottom: clamp(80px, 10vw, 120px); }
.h2 { font: 700 clamp(32px, 4.2vw, 48px)/1.05 var(--display); letter-spacing: -.04em; text-align: center; text-wrap: balance; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.sub { margin-top: 16px; font-size: 18px; line-height: 1.5; color: var(--ink-2); text-wrap: balance; }

.steps { list-style: none; padding: 0; margin: 44px 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps h3 { font: 600 17px/1.3 var(--text); display: flex; align-items: center; gap: 10px; }
.steps h3::before {
  content: counter(s); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px;
  font: 600 12.5px/1 var(--text); background: var(--chip); box-shadow: inset 0 -1px 0 #00000014, 0 0 0 1px var(--hairline-strong);
}
.steps p { margin-top: 6px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; gap: 18px; } }

.demo { border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--lift-2), 0 0 0 1px var(--hairline); }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #ffffffa6; box-shadow: inset 0 0 0 1px var(--hairline); }
.seg button { border: 0; background: none; color: inherit; font: 500 14px/1 var(--text); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--surface); box-shadow: var(--lift-1), 0 0 0 1px var(--hairline); font-weight: 600; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 14px/1 var(--text); color: #fff; background: #1aa36b; box-shadow: inset 0 1px 0 #ffffff40, 0 4px 12px #1aa36b4d;
}
.pill-btn[aria-pressed=true] { background: #e5484d; box-shadow: inset 0 1px 0 #ffffff40, 0 4px 12px #e5484d4d; }
.demo-body { display: grid; place-items: center; padding: clamp(28px, 6vw, 64px) 0; }
.panel-big { width: min(100%, 460px); transition: width .35s ease; }
.panel-big.is-wide { width: min(100%, 560px); }
.demo-hint { text-align: center; font-size: 14px; color: var(--ink-3); }

.keys-legend { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; font-size: 14.5px; color: var(--ink-2); }
.keys-legend li { display: inline-flex; align-items: center; gap: 10px; }

/* Feature grid */
.grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.card {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 0 0 1px var(--hairline), 0 1px 2px #0000000a;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--hairline-strong), var(--lift-1); }
.ico {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--hairline-strong); background: var(--surface-2); color: var(--ink);
}
.ico svg { width: 19px; height: 19px; }
.card.pro .ico { color: var(--violet); }
.card h3 { font: 600 16px/1.3 var(--text); }
.card .tag { white-space: nowrap; }
.card p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 15px; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust svg { width: 17px; height: 17px; color: var(--ink-3); }
/* Phones: a tidy left-aligned list, centred as a block */
@media (max-width: 560px) { .trust { flex-direction: column; align-items: flex-start; width: fit-content; max-width: 100%; margin-inline: auto; gap: 12px; } .trust li { align-items: flex-start; } .trust svg { flex: none; margin-top: 3px; } }

/* Tour */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 36px auto 18px; padding: 4px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--hairline); }
.tabs button { border: 0; background: none; color: var(--ink-2); font: 500 14.5px/1 var(--text); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected=true] { background: linear-gradient(180deg, #2e2c33, #121116); color: #fff; box-shadow: inset 0 1px 0 #ffffff2b, 0 2px 6px #00000033; }
/* Phones: one row of tabs that scrolls sideways, rather than three ragged rows */
@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: 4px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
}
.tour {
  border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 44px); box-shadow: var(--lift-2), 0 0 0 1px var(--hairline);
  display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(20px, 4vw, 48px); align-items: center;
}
.tour-copy h3 { font: 700 clamp(24px, 2.6vw, 30px)/1.12 var(--display); letter-spacing: -.03em; }
.tour-copy p { margin-top: 12px; font-size: 16.5px; color: var(--ink-2); }
.tour-shot img { filter: drop-shadow(0 24px 40px #0000002e); transition: opacity .25s ease; }
.tour-shot img.is-swapping { opacity: 0; }
@media (max-width: 820px) { .tour { grid-template-columns: 1fr; } }

/* Pricing */
.prices { margin: 44px auto 0; max-width: 860px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.price-card { border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 0 0 1px var(--hairline), var(--lift-1); }
.price-card:not(.stage) { background: var(--surface); }
.price-pro { box-shadow: var(--lift-2), 0 30px 70px #ff5fa840; }
.plan { font-weight: 600; font-size: 15px; opacity: .8; }
.amount { margin-top: 6px; font: 800 56px/1 var(--display); letter-spacing: -.045em; }
.note { margin-top: 8px; font-size: 14px; opacity: .72; }
.note.small { margin-top: 14px; text-align: center; font-size: 13px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; font-size: 15.5px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--violet); }
.price-pro .ticks svg { color: #fff; }
@media (max-width: 720px) { .prices { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin: 44px auto 0; max-width: 760px; display: grid; gap: 8px; }
.faq details { border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 600; font-size: 16.5px; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }
.faq-more { margin-top: 24px; text-align: center; color: var(--ink-3); }

/* Launch sign-up */
.launch { border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 72px) var(--gutter); text-align: center; box-shadow: var(--lift-2), 0 30px 70px #ff5fa840; }
.launch .h2 { color: #fff; }
.launch > p { margin: 14px auto 0; max-width: 44ch; color: #ffffffe0; }
.launch-row { display: flex; gap: 8px; max-width: 460px; margin: 28px auto 0; padding: 6px; border-radius: 999px; background: #ffffff2b; box-shadow: inset 0 1px 0 #ffffff47, 0 8px 24px #1d0a6b33; }
.launch-row input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: 500 16px var(--text); padding: 0 16px; outline: none; }
.launch-row input::placeholder { color: #ffffffb3; }
.launch-row .btn { height: 44px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.launch-status { min-height: 1.5em; margin-top: 14px !important; font-weight: 500; }
.launch-status.is-error { color: #ffd1dc; }
.launch .fine { margin-top: 6px; }
@media (max-width: 480px) {
  .launch-row { flex-direction: column; border-radius: 20px; }
  .launch-row input[type=email] { height: 44px; text-align: center; }
}

/* Footer */
/* ---------- Footer: link columns, then the name, getting quieter from left to right like a fader pulled down ---------- */
.footer { max-width: 1180px; margin: clamp(80px, 11vw, 136px) auto 0; padding: 0 var(--gutter) var(--gutter); font-size: 14px; color: var(--ink-3); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 32px 24px; }
.foot-brand { display: grid; align-content: start; gap: 14px; justify-items: start; }
.foot-brand p { max-width: 230px; color: var(--ink-2); }
.footer .brand { color: var(--ink); font: 700 20px/1 var(--display); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.foot-cta { height: 40px; padding: 0 18px; font-size: 14px; }
.footer nav { display: grid; align-content: start; gap: 9px; }
.footer nav h3 { font: 600 12px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.footer nav a { text-decoration: none; color: var(--ink-3); transition: color .15s ease; }
.footer nav a:hover { color: var(--violet); }
.footer .foot-all { color: var(--violet); font-weight: 600; }
.footer .foot-all::after { content: " →"; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 13px; }
.foot-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px) 0;
  background: var(--grain), radial-gradient(70% 60% at 50% 110%, #ffc9e0 0%, transparent 70%), linear-gradient(180deg, #fffdfd 0%, #fdf1f6 100%);
  background-blend-mode: soft-light, normal, normal;
  box-shadow: 0 0 0 1px #00000010, 0 2px 4px #0000000a, 0 40px 90px -20px #ff6fb159, 0 -30px 80px -40px #ffb0d466;
}
/* The name, huge and soft, fading into the card like it's being turned down. */
.foot-word { margin-top: clamp(40px, 6vw, 72px); text-align: center; user-select: none; pointer-events: none; line-height: 0; }
.foot-name {
  position: relative; display: inline-block; font: 800 clamp(96px, 21vw, 280px)/.78 -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif; letter-spacing: -.055em;
  margin-bottom: -.06em; padding-top: .34em;
  background: var(--grain), linear-gradient(180deg, #ff86bd 0%, #ffb3d4 45%, #ffd9e9 72%, #fff0f600 96%);
  background-blend-mode: soft-light, normal;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* Hero on small screens */
@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-panel { justify-self: center; }
}
@media (max-width: 420px) {
  .cta-row .btn { width: 100%; }
  .menubar span:nth-child(n+4):not(.mb-right) { display: none; }
}

/* ---------- Live demo pieces ---------- */
.play-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 9px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 12.5px/1 var(--text); color: #fff; background: var(--violet-ui); box-shadow: inset 0 1px 0 #ffffff40, 0 2px 6px #ff5fa84d;
}
.play-btn svg { width: 13px; height: 13px; }
.play-btn[aria-pressed=true] { background: #2b2933; }
.demo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-play { background: var(--violet-ui); box-shadow: inset 0 1px 0 #ffffff40, 0 4px 12px #ff5fa84d; }
.pill-play[aria-pressed=true] { background: #2b2933; box-shadow: inset 0 1px 0 #ffffff26, 0 4px 12px #0000004d; }
.pill-btn svg { width: 15px; height: 15px; }

.demo-mac { position: relative; width: min(100%, 560px); display: grid; justify-items: end; }
.menubar-demo { width: 100%; background: #00000014; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); }
.menubar-demo .mb-apple { color: var(--ink); }
.menubar-demo .mb-icon { background: #0000001a; }
.menubar-demo .mb-icon:hover { background: #0000002e; }
.demo-mac .panel-big { justify-self: end; }
.panel.is-pulse { animation: pulse-panel .45s ease; }
@keyframes pulse-panel { 40% { transform: scale(1.015); } }

.hud {
  position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%) scale(.94);
  padding: 14px 22px; border-radius: 16px; font: 600 17px/1.2 var(--text); color: #fff; white-space: nowrap;
  background: #17151dd9; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 12px 40px #00000059;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.hud.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.row { cursor: default; }
.row.is-front { box-shadow: 0 0 0 1.5px var(--violet-ui), 0 1px 2px #0000000a; }
.hero .row.is-front { box-shadow: 0 0 0 1px #0000000d, 0 1px 2px #0000000a; }
input[type=range]:disabled { cursor: not-allowed; }

.keys-legend button {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; margin: -6px -10px; border: 0; border-radius: 12px;
  background: none; color: inherit; font: inherit; cursor: pointer; transition: background .15s ease;
}
.keys-legend button:hover { background: #0000000a; }
.keys-legend button.is-flash kbd { animation: key-flash .5s ease; }
@keyframes key-flash { 30% { background: var(--violet-ui); color: #fff; transform: translateY(1px); } }
.keys-note { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--ink-3); }

/* ---------- Light stages: ink type and quiet chrome on the marshmallow ground ---------- */
:root .stage .lede, :root .launch > p { color: #121016cc; }
:root .stage .chip, :root .hero kbd, :root .eyebrow,
:root .menubar:not(.menubar-demo), :root .launch-row { background: #0000000d; box-shadow: inset 0 0 0 1px #00000014; color: #121016; }
:root .hero .mb-apple { color: #121016; }
:root .hero .mb-icon { background: #00000014; }
:root .mouse { border-color: #121016aa; }
:root .mouse::after { background: #121016; }
:root h1 { text-shadow: none; }
:root .launch .h2 { color: #121016; }
:root .launch-row input[type=email] { color: #121016; }
:root .launch-row input::placeholder { color: #12101680; }
:root .price-pro .ticks svg { color: #121016; }
:root .nav { background: #ffffffa6; color: #121016; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #00000014, 0 8px 30px #0000001a; }
:root .nav-links a:hover, :root .nav-links a.is-current { background: #0000000d; }



/* ---------- Sordina's panel, as drawn by the app in its Marshmallow theme with the Bubblegum accent ---------- */
.sp {
  --sp-ink: #1c1018; --sp-2: #1c101880; --sp-fill: #ef61a6; --sp-tint: #fce2ef; --sp-mac: #e8559e;
  --sp-quiet: #d12929; --sp-louder: #e07a10; --sp-calls: #c98f00;
  width: 320px; max-width: 100%; padding: 12px; display: grid; gap: 12px;
  border-radius: 16px; color: var(--sp-ink);
  font: 400 13px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", system-ui, sans-serif;
  letter-spacing: -.003em; text-align: left;
  position: relative; isolation: isolate;
  box-shadow: 0 0 0 .5px #0000001f, 0 24px 60px #99205c38, 0 6px 16px #0000001a;
  -webkit-user-select: none; user-select: none;
}
.sp::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  /* On its own layer, so moving a slider doesn't make the browser blend the grain again. The app's MarshmallowStage: white and bubblegum glows on the ground, under grain */
  background: var(--grain),
    radial-gradient(70% 50% at 18% 12%, #fff 0%, transparent 70%),
    radial-gradient(100% 55% at 100% 5%, #ffb0d4 0%, transparent 70%),
    radial-gradient(100% 45% at 70% 100%, #ff70b099 0%, transparent 70%),
    radial-gradient(70% 50% at 5% 85%, #fbe8f0 0%, transparent 70%),
    #fdf3f6;
  background-blend-mode: soft-light, normal, normal, normal, normal, normal;
  box-shadow: inset 0 0 0 1px #ffffffb3;
  transform: translateZ(0);
}
/* Each card repaints on its own, and nothing eases while a slider is being dragged or scrolled */
.sp { will-change: transform; } /* its own layer, so a moving slider never redraws the page behind it */
.sp-card { contain: layout paint; }
.sp.is-live .sp-fill { transition: none; }
.hero .sp { animation: drop .7s cubic-bezier(.2,.9,.25,1.15) .15s both; justify-self: end; }
.sp svg { width: 1em; height: 1em; }
.sp-head { display: flex; align-items: center; gap: 8px; }
.sp-head img { width: 18px; height: 18px; border-radius: 4px; }
.sp-title { font-weight: 600; }
.sp-output {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 11px; background: #fff; box-shadow: 0 0 0 .5px #0000001f, 0 1px 2px #0000000d; white-space: nowrap; overflow: hidden;
}
.sp-output svg:first-child { color: var(--sp-2); font-size: 12px; }
.sp-output svg:last-child { color: var(--sp-2); font-size: 9px; }
.sp-cards { display: grid; gap: 8px; }
.sp-card {
  --v: .5; display: grid; gap: 8px; padding: 10px; border-radius: 12px;
  background: #fff; box-shadow: 0 0 0 .5px #0000001a, 0 2px 6px #99205c14; transition: box-shadow .2s ease;
}
.sp-card.is-front { box-shadow: 0 0 0 .5px #0000001a, 0 2px 6px #99205c14, 0 0 0 1.5px #ef61a666; }
.hero .sp-card.is-front { box-shadow: 0 0 0 .5px #0000001a, 0 2px 6px #99205c14; }
.sp-top { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.sp-tile {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: #fff; font-size: 12px;
  box-shadow: inset 0 .5px 0 #ffffff59, 0 .5px 1px #00000040;
}
.sp-mac { background: var(--sp-mac); font-size: 11px; transition: background .25s ease; }
.sp-card.is-muted .sp-mac { background: var(--sp-quiet); }
.sp-text { display: grid; gap: 1px; min-width: 0; }
.sp-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-status { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--sp-2); white-space: nowrap; overflow: hidden; }
.sp-status[hidden] { display: none; }
.sp-wave { color: var(--sp-fill); display: inline-flex; }
.sp-wave svg { animation: sp-wave 1.2s ease-in-out infinite; }
@keyframes sp-wave { 50% { opacity: .45; } }
.sp-call { color: var(--sp-calls); display: inline-flex; }
.sp-muted { color: var(--sp-quiet); }
.sp-cluster { margin-left: auto; display: flex; gap: 6px; padding: 6px; margin-block: -6px; margin-right: -6px; }
.sp-round {
  display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--sp-2); background: #fff; box-shadow: inset 0 0 0 .5px #00000029; font-size: 11px; transition: background .12s ease, transform .12s ease;
  animation: sp-pop .18s ease both;
}
.sp-round:hover { background: #f8f2f5; }
.sp-round.is-muted { color: var(--sp-quiet); background: #d129291a; }
.sp-round.is-louder { color: var(--sp-louder); background: #e07a101f; }
.sp-round.is-on { color: var(--sp-fill); background: var(--sp-tint); }
@keyframes sp-pop { from { transform: scale(.6); opacity: 0; } }
.sp-bottom { display: flex; align-items: center; gap: 8px; }
.sp-track {
  position: relative; flex: 1; height: 20px; border-radius: 999px; background: var(--sp-tint); cursor: pointer; touch-action: none; outline: none;
}
.sp-track:focus-visible { box-shadow: 0 0 0 2px #ef61a680; }
.sp-fill {
  position: absolute; inset: 0 auto 0 0; width: calc(20px + (100% - 20px) * var(--v)); border-radius: 999px; background: var(--sp-fill);
  transition: width .12s ease-out, background .2s ease;
}
.sp-card.is-muted .sp-fill { background: #cdbcc5; }
.sp-card.is-ducked .sp-fill { transition: width .5s ease; }
.sp-card.is-ducked .sp-track { cursor: default; }
.sp-knob {
  position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 .5px #00000033, 0 1px 2px #00000040;
}
.sp-val { width: 36px; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--sp-2); }
.sp-card.is-louder .sp-val { color: var(--sp-louder); }
.sp-quiet { display: grid; gap: 8px; padding-top: 4px; }
.sp-quiet-head { display: flex; justify-content: space-between; padding: 0 2px; font-size: 11px; color: var(--sp-2); }
.sp-quiet-row { display: flex; gap: 6px; }
.sp-quiet-row .sp-tile { margin: 4px; opacity: .6; }
.sp-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--sp-2); padding: 0 2px; }
.sp-foot-right { display: inline-flex; align-items: center; gap: 10px; }

/* Mixer: a fader for the Mac and one for every app, side by side */
.sp.is-mixer { width: 440px; }
.sp.is-mixer .sp-cards { grid-auto-flow: column; grid-auto-columns: 1fr; }
.sp.is-mixer .sp-card { justify-items: center; text-align: center; padding: 12px 6px 10px; }
.sp.is-mixer .sp-top { flex-direction: column; gap: 6px; }
.sp.is-mixer .sp-text { justify-items: center; }
.sp.is-mixer .sp-name { font-size: 12px; }
.sp.is-mixer .sp-name, .sp.is-mixer .sp-status { max-width: 88px; }
.sp.is-mixer .sp-status { min-height: 14px; }
.sp.is-mixer .sp-cluster { margin: 0; padding: 0; }
.sp.is-mixer .sp-bottom { flex-direction: column-reverse; gap: 8px; }
.sp.is-mixer .sp-track { flex: none; width: 20px; height: 150px; }
.sp.is-mixer .sp-fill { inset: auto 0 0 0; width: auto; height: calc(20px + (100% - 20px) * var(--v)); transition: height .12s ease-out; }
.sp.is-mixer .sp-knob { top: 3px; right: 3px; }
.sp.is-mixer .sp-val { width: auto; text-align: center; }
.sp-demo { justify-self: end; transition: width .3s ease; }

.hero-play {
  justify-self: end; margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px;
  border: 0; border-radius: 999px; cursor: pointer; font: 600 14px/1 var(--text); color: inherit;
  background: #ffffff2b; box-shadow: inset 0 1px 0 #ffffff47, 0 6px 16px #0000001f;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hero-play svg { width: 14px; height: 14px; }
.hero-play:hover { background: #ffffff3d; }
.hero-panel { display: grid; justify-items: end; }
:root .hero-play { background: #0000000f; box-shadow: inset 0 0 0 1px #00000014; }
/* Centre the panel on small screens, but leave its cards full width */
@media (max-width: 900px) { .hero-panel { justify-self: center; justify-items: center; } .hero .sp, .hero-play { justify-self: center; } }
@media (max-width: 560px) { .sp.is-mixer { width: 100%; } .sp.is-mixer .sp-name { font-size: 11px; } }

/* Directory badges (MacBase, DanielLaunches, MacPip, TinyShelf) get their own row under the footer's base line; their links verify the listings. */
.foot-badges { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.foot-badge { display: inline-flex; align-items: center; }
.foot-badge img { display: block; height: 40px; width: auto; }
