@font-face {
  font-family: "Space Grotesk";
  src: url("assets/type/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --paper: #fff;
  --panel: #fff;
  --ink: #202024;
  --muted: #616168;
  --accent: #385681;
  --accent-soft: #ebeff5;
  --edge: #e3e3eb;
  --line: #24243422;
  --focus: #2c63ac;
  --out: cubic-bezier(.22, 1, .36, 1);
  --snap: cubic-bezier(.2, .9, .25, 1.13);
  --radius: 30px;
  --gutter: clamp(22px, 5vw, 72px);
  --section-space: clamp(48px, 6.2vw, 88px);
  --scroll-inset: 104px;
  --glow: #f0c69a;
  --energy: .3;
  font: 100%/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--scroll-inset); }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a, summary, input[type="range"] { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
::selection { color: var(--ink); background: #d6e5ff; }
svg { display: block; }
[data-icon] { display: inline-grid; place-items: center; flex: none; }
[data-icon] svg, button > svg:not(.tonearm) {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[data-icon="apple"] svg { fill: currentColor; stroke: none; }
.wrap { width: min(1150px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 4; top: 12px; left: 16px; translate: 0 -160%;
  padding: 12px 16px; border-radius: 12px; background: var(--panel);
}
.skip-link:focus { translate: 0; }

.navigation {
  position: fixed; z-index: 3; top: 15px; left: 50%; translate: -50% 0;
  width: min(1150px, calc(100% - var(--gutter) * 2));
  margin: 0; min-height: 60px; padding: 7px 8px 7px 14px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  background: #fffffff0; border: 1px solid #e3e3ebd9; border-radius: 100px;
  backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 12px 32px #33334a0b, inset 0 1px #fff;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: "Space Grotesk", system-ui, sans-serif; font-size: 1.4rem; font-weight: 700; letter-spacing: -.05em; width: max-content; min-height: 44px; }
.brand-icon { width: 36px; height: 36px; object-fit: contain; transition: rotate 420ms var(--snap); }
.brand:hover .brand-icon { rotate: -10deg; }
.navigation nav { display: flex; gap: 4px; align-items: center; }
.navigation nav a {
  display: grid; place-items: center; min-height: 44px; padding: 0 13px;
  border-radius: 100px; font-size: .875rem; font-weight: 600; color: var(--muted);
  transition: background 200ms var(--out), color 200ms var(--out);
}
.navigation nav a:hover { background: var(--accent-soft); color: var(--ink); }
.navigation > .button { justify-self: end; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px;
  border: 1px solid transparent; border-radius: 100px; padding: 10px 18px;
  font-weight: 700; font-size: .9375rem; white-space: nowrap;
  transition: translate 210ms var(--out), scale 210ms var(--snap), background 200ms var(--out), box-shadow 200ms var(--out);
}
.button:hover:not(:disabled) { translate: 0 -2px; }
.button:active:not(:disabled) { scale: .97; translate: 0 0; }
.button-dark { color: #fafaff; background: #232327; box-shadow: inset 0 1px #ffffff24, 0 5px 12px #24243522; }
.button-dark:hover:not(:disabled) { background: #38383e; }
.button-glass { background: var(--panel); border-color: var(--edge); padding: 5px 5px 5px 16px; }
.button-small { min-height: 44px; padding-inline: 14px; font-size: .875rem; }
.button-end {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  transition: transform 260ms var(--snap);
}
.button:hover .button-end { transform: translateY(2px); }

.intro-scroll { position: relative; overflow-anchor: none; margin-bottom: calc(var(--section-space) / 2); }
.hero-sticky { position: relative; }
.hero {
  display: grid; place-items: center; position: relative; z-index: 1;
  min-height: min(680px, 95svh); padding: 112px var(--gutter) 38px; text-align: center;
}
.hero-content { max-width: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; color: var(--muted);
  font-size: .75rem; font-weight: 650; letter-spacing: .055em; text-transform: uppercase;
}
.hero-intro { margin-bottom: 20px; font-size: .8125rem; font-weight: 550; letter-spacing: .015em; text-transform: none; }
h1, h2, h3 { line-height: 1.06; }
.hero-heading { font-size: clamp(3.15rem, 7vw, 5.7rem); font-weight: 600; letter-spacing: -.043em; }
.hero-tagline { margin-top: 23px; font-weight: 580; font-size: 1.125rem; letter-spacing: -.025em; }
.hero-description { max-width: 36ch; margin: 9px auto 0; font-size: clamp(1rem, 1.38vw, 1.125rem); line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; margin-top: 23px; }
.availability { color: var(--muted); font-size: .8125rem; margin-top: 13px; }
.availability span { padding-inline: 3px; }
.hero-skip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 15px; padding: 3px 3px 3px 10px; border-radius: 100px; font-size: .8125rem; font-weight: 620; color: var(--muted); transition: background 200ms var(--out); }
.hero-skip:hover { color: var(--ink); background: #f4f4f7; }
.hero-skip:hover .button-end { transform: translateY(2px); }
.hero-orbit { position: absolute; inset: 0 0 auto; height: min(680px, 95svh); overflow: hidden; pointer-events: none; }
.orbit-piece { position: absolute; transform-origin: center; }
.orbit-piece img { width: clamp(52px, 8vw, 112px); height: auto; border-radius: 21%; box-shadow: 0 12px 30px #38385620; }
.orbit-one { left: 13%; top: 25%; rotate: -12deg; }
.orbit-two { right: 13%; top: 20%; rotate: 10deg; }
.orbit-three { left: 19%; top: 75%; rotate: -9deg; }
.orbit-four { right: 15%; top: 73%; rotate: 10deg; }
.orbit-four img { box-shadow: none; }
[data-enter] { animation: settle 700ms var(--out) both; }
@keyframes settle { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.motion-ready .intro-scroll::after { content: ""; display: block; height: var(--intro-travel); }
.motion-ready .hero-sticky { position: sticky; top: 0; padding-top: clamp(112px, 13svh, 134px); }
.motion-ready .hero { position: absolute; inset: 0; min-height: 0; padding-block: 86px 34px; }
.motion-ready .hero-orbit { height: 100svh; }
.motion-ready .orbit-piece { left: 50%; top: 50%; right: auto; rotate: none; }
.motion-ready .playground-section { margin-top: 0; opacity: 0; visibility: hidden; }
.motion-ready .stage { height: clamp(270px, 40svh, 380px); --sleeve: clamp(142px, 30svh, 232px); }

.playground-stop { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.playground-approach { scroll-snap-type: y proximity; }
  html:not(.motion-ready) .playground-section, .motion-ready .playground-stop {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  /* The animated card is sticky. Snap to its fixed position in the scroll track. */
  .motion-ready .playground-stop {
    display: block; position: absolute; inset-inline: 0;
    top: calc(var(--playground-stop) + var(--scroll-inset)); height: 1px;
    pointer-events: none;
  }
}

.playground-section {
  --demo-inset: clamp(8px, 1vw, 12px);
  --demo-radius: clamp(24px, 2.4vw, 32px);
  min-width: 0; margin-top: clamp(24px, 4vw, 44px); scroll-margin-top: 18px;
  padding: var(--demo-inset); border: 1px solid var(--edge); border-radius: var(--demo-radius);
  background: #f2f3f7; box-shadow: 0 28px 75px #36365315, inset 0 1px #ffffffd9;
}
.playground-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 5px 12px; }
.playground-heading h2 { font-size: 1.125rem; letter-spacing: -.04em; }
.demo-badge, .sample-heading span:last-child {
  font-size: .6875rem; font-weight: 600; letter-spacing: .045em; color: var(--muted);
}
.demo-badge { display: inline-flex; align-items: center; gap: 6px; }
.demo-badge i, .caption-dot { width: 6px; height: 6px; border-radius: 50%; background: #396c56; flex: none; }
.stage {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  height: clamp(300px, 29vw, 408px);
  border-radius: calc(var(--demo-radius) - var(--demo-inset));
  border: 1px solid #ffffff2c; background: #222735; color: #f3f5fb;
  --wall-start: #292663; --wall-mid: #474176; --wall-end: #213b62;
  --sleeve: clamp(142px, 37cqw, 232px);
  --menu-height: 34px;
  --camera-width: clamp(76px, 12cqw, 134px);
}
.stage::before, .stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage::before { background: linear-gradient(142deg, var(--wall-start), var(--wall-mid) 52%, var(--wall-end)); }
.stage::after {
  inset: auto -18% -76% 19%; height: 108%; border-radius: 50%;
  background: #ffffff0e; transform: rotate(-18deg);
}
.stage[data-track-theme="a-little-blue"] { --wall-start: #203253; --wall-mid: #375775; --wall-end: #214354; }
.stage[data-track-theme="after-dark"] { --wall-start: #2b234f; --wall-mid: #514360; --wall-end: #282845; }
.stage-menu {
  position: absolute; inset: 0 0 auto; height: var(--menu-height);
  display: flex; align-items: center; gap: 13px; padding-inline: 14px;
  font-size: .6875rem; background: #15182840;
}
.stage-menu svg { width: 12px; height: 12px; }
.stage-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.camera-notch {
  position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: var(--camera-width); height: var(--menu-height);
  border-radius: 0 0 12px 12px; background: #000; pointer-events: none;
}
.camera-notch::after {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 5px; height: 5px; border-radius: 50%; background: #17191d; box-shadow: inset 0 1px #ffffff14;
}
.notes-window {
  position: absolute; inset: calc(var(--menu-height) + 10px) 16px 64px; display: flex;
  overflow: hidden; opacity: 0; border-radius: 12px; background: #18181b;
  box-shadow: 0 14px 32px #11152a3d; transform: translateY(12px) scale(.97);
  transition: opacity 330ms var(--out), transform 420ms var(--out); pointer-events: none;
}
.stage[data-view="notch"] .notes-window { opacity: 1; transform: none; }
.notes-sidebar {
  display: flex; flex: 0 0 clamp(100px, 19cqw, 168px); flex-direction: column; gap: 11px;
  padding: 16px; color: #a6a6ab; background: #ffffff0a; font-size: .75rem; border-radius: inherit;
}
.traffic-lights { display: flex; gap: 5px; margin-bottom: 12px; }
.traffic-lights i { width: 7px; height: 7px; border-radius: 50%; background: #cc564d; }
.traffic-lights i:nth-child(2) { background: #c8a93c; }
.traffic-lights i:nth-child(3) { background: #44a56a; }
.notes-content { flex: 1; min-width: 0; padding: 64px clamp(14px, 4cqw, 30px) 14px; color: #d9d9df; }
.notes-content h3 { font-size: clamp(1.125rem, 3.6cqw, 1.4rem); margin-bottom: 10px; letter-spacing: -.04em; }
.notes-content p { font-size: .8125rem; color: #92929a; margin-bottom: 16px; }
.note-line { height: 4px; border-radius: 4px; background: #ffffff13; width: min(85%, 221px); margin-top: 10px; }
.note-line + .note-line { width: min(95%, 247px); }
.note-line.short { width: min(63%, 164px); }
@container (max-width: 420px) {
  .notes-sidebar { flex-basis: auto; padding: 13px; }
  .notes-sidebar > span { display: none; }
}
.player { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* The native 220pt sleeve, 10pt rim, and 156pt record scale together. */
.desktop-player {
  --sleeve-inset: calc(var(--sleeve) * .04545);
  --sleeve-radius: calc(var(--sleeve) * .12727);
  --art-radius: calc(var(--sleeve) * .0909);
  --label-inset: calc(var(--sleeve) * .11818);
  --record-reveal: calc(var(--sleeve) * .1);
  --controls-opacity: 0;
  --metadata-opacity: 1;
  --timeline-lift: 0px;
  --disc-offset: 0px;
  --control-events: none;
  position: absolute; left: 50%; top: calc(50% + 4px);
  width: calc(var(--sleeve) * 1.45455); height: var(--sleeve);
  translate: -50% -50%; transform-origin: 50% 0%;
  transition: opacity 240ms var(--out), transform 460ms var(--out);
}
.stage[data-playing="true"][data-metadata="false"] .desktop-player { --metadata-opacity: var(--controls-opacity); }
.desktop-player:is(:hover, :focus-within), .stage[data-scrubbing="true"] .desktop-player {
  --controls-opacity: 1;
  --metadata-opacity: 1;
  --timeline-lift: 32px;
  --disc-offset: var(--record-reveal);
  --control-events: auto;
}
.stage[data-view="notch"] .desktop-player { opacity: 0; transform: translateY(-32px) scale(.88); }
.sleeve {
  position: absolute; inset: 0 auto auto 0; z-index: 1; width: var(--sleeve); aspect-ratio: 1;
  padding: var(--sleeve-inset); border-radius: var(--sleeve-radius); overflow: hidden;
  background: linear-gradient(145deg, #ffffff2e, #cdd3e010 50%, #ffffff19), #1719218c;
  box-shadow: inset 0 0 0 1px #e9edf830, inset 0 1px 1px #fff5, 0 14px 32px #0006;
  backdrop-filter: blur(16px) saturate(135%);
  pointer-events: auto;
}
.stage[data-view="notch"] .sleeve, .stage[data-view="notch"] .vinyl { pointer-events: none; }
.sleeve > img, .sleeve-shade { border-radius: var(--art-radius); }
.sleeve > img { width: 100%; height: 100%; object-fit: cover; }
.sleeve > .sleeve-outgoing {
  position: absolute; inset: var(--sleeve-inset);
  width: calc(100% - var(--sleeve-inset) * 2); height: calc(100% - var(--sleeve-inset) * 2);
  pointer-events: none;
}
.sleeve-shade {
  position: absolute; inset: var(--sleeve-inset); pointer-events: none;
  background: linear-gradient(to top, #000c 0%, #0004 47%, transparent 78%);
  opacity: var(--metadata-opacity); transition: opacity 200ms var(--out);
}
.sleeve-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: var(--sleeve-inset);
  background: radial-gradient(ellipse at 50% 105%, var(--glow), transparent 66%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity 200ms var(--out);
}
.stage[data-playing="true"][data-glow="true"] .sleeve-glow { opacity: calc(var(--energy) * .65); }
.sleeve-copy {
  position: absolute; inset: auto var(--label-inset) var(--label-inset);
  color: #fff; pointer-events: none; opacity: var(--metadata-opacity);
  translate: 0 calc(-1 * var(--timeline-lift)); transition: opacity 200ms var(--out), translate 240ms var(--out);
}
.track-title { font-size: clamp(1rem, 3.1cqw, 1.125rem); font-weight: 650; line-height: 1.14; letter-spacing: -.025em; }
.sleeve-copy p:not(.track-title), .notch-details p:not(.track-title) {
  font-size: .75rem; margin-top: 4px; line-height: 1.25; color: #ffffffd1;
}
.sleeve-controls, .sleeve-transport { position: absolute; opacity: var(--controls-opacity); transition: opacity 180ms var(--out); }
.sleeve-controls { inset: auto var(--label-inset) calc(var(--label-inset) - 2px); color: #fff; }
.stage[data-switching="true"] .sleeve-copy { opacity: 0; }
.sleeve-controls .seek, .sleeve-transport button { pointer-events: var(--control-events); }
.sleeve-transport { inset: var(--sleeve-inset) var(--sleeve-inset) auto; justify-content: space-between; pointer-events: none; }
.track-times { display: flex; justify-content: space-between; gap: 5px; font-size: .625rem; font-weight: 550; font-variant-numeric: tabular-nums; color: #ffffffbf; }
.desktop-player .track-times { margin-top: -3px; }

.vinyl, .tonearm {
  position: absolute; left: calc(var(--sleeve) * .63636); top: calc(var(--sleeve) * .16364);
  width: calc(var(--sleeve) * .70909); aspect-ratio: 1; translate: var(--disc-offset) 0;
  transition: translate 360ms var(--snap);
}
.vinyl {
  display: block; padding: 0; border: 1px solid #ffffff38; border-radius: 50%; touch-action: none;
  pointer-events: auto; cursor: grab; overflow: hidden; background: #121212;
  box-shadow: 4px 10px 17px #0006, inset 0 1px #ffffff20;
}
.vinyl::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from -28deg, #ffffff26, transparent 22%, #ffffff0a 47%, transparent 66%, #ffffff30);
  mix-blend-mode: screen;
}
.vinyl:active, .expanded-disc:active, .stage[data-scrubbing="true"] [data-scrub-disc] { cursor: grabbing; }
.vinyl-grooves, .vinyl-label, .vinyl-hole { position: absolute; border-radius: 50%; pointer-events: none; }
.vinyl-grooves { inset: 0; }
.vinyl-grooves svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-opacity: .055; stroke-width: .8; }
.vinyl-label { inset: 32%; transform: rotate(var(--rotation, 0deg)); background: url("assets/golden-hour.webp") center/cover; }
.vinyl-hole { inset: 41.5%; background: #000a; }
.vinyl-hole::after { content: ""; position: absolute; inset: 36.7%; border-radius: 50%; background: #fffa; }
.vinyl:focus-visible { outline-color: #c9d8ff; outline-offset: 3px; }
.tonearm { overflow: visible; pointer-events: none; }
.record-play {
  position: absolute; z-index: 1; inset: 50% auto auto 50%; translate: -50% -50%;
  width: clamp(34px, calc(var(--sleeve) * .23636), 52px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(140deg, #d5dfff3d, #171921d9);
  box-shadow: inset 0 0 0 1px #ffffff36, inset 0 1px 3px #fff3;
  backdrop-filter: blur(8px); color: #fff; pointer-events: none;
  opacity: var(--controls-opacity); transition: opacity 180ms var(--out);
}

.notch-player {
  position: absolute; inset: 0; opacity: 0; transform: translateY(-8px); transform-origin: top center;
  transition: opacity 250ms var(--out), transform 360ms var(--out);
}
.stage[data-view="notch"] .notch-player { opacity: 1; transform: none; }
.notch-compact, .notch-expanded {
  position: absolute; top: 0; color: #fff; transform-origin: top center;
  transition: opacity 190ms var(--out), transform 340ms var(--out);
}
.notch-compact {
  right: calc((100% - var(--camera-width)) / 2);
  display: flex; align-items: center; gap: 2px; min-height: 44px;
  padding-inline: 7px calc(var(--camera-width) + 3px);
  border-radius: 0 0 18px 18px; background: #000;
}
.notch-expanded {
  left: 50%; translate: -50% 0; width: min(420px, calc(100% - 24px));
  padding: 12px clamp(12px, 3cqw, 20px) 9px;
  border-radius: 0 0 clamp(27px, 6cqw, 36px) clamp(27px, 6cqw, 36px);
  background:
    radial-gradient(ellipse at var(--glass-light-x, 22%) var(--glass-light-y, 80%), #ffffff12, transparent 55%),
    linear-gradient(to bottom, #000 0%, #000e 18%, #07070ba8 48%, #0a0a0e94);
  box-shadow: inset 0 -1px 1px #ffffff28, 0 10px 24px #0b101c56;
  backdrop-filter: blur(5px) saturate(130%);
  transform: translateY(-5px) scale(.96); opacity: 0;
}
.stage[data-view="notch"][data-expanded="false"] .notch-compact,
.stage[data-view="notch"][data-expanded="true"] .notch-expanded { pointer-events: auto; }
.stage[data-expanded="true"] .notch-compact { opacity: 0; transform: scale(.96); }
.stage[data-expanded="true"] .notch-expanded { opacity: 1; transform: none; }
.notch-disc {
  position: relative; display: block; flex: none; width: 24px; height: 24px;
  overflow: hidden; border: 1px solid #ffffff3a; border-radius: 50%; padding: 0; background: #121212;
}
.notch-cover { width: 100%; height: 100%; object-fit: cover; transform: rotate(var(--rotation, 0deg)); }
.notch-disc::before {
  content: ""; position: absolute; z-index: 1; inset: 0; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 2px, #0002 2.5px 3px);
  mask: radial-gradient(circle, transparent 0 31%, #000 33%);
}
.notch-disc::after {
  content: ""; position: absolute; inset: 41.5%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fffa 0 19%, #000a 21%);
}
.notch-expanded [data-desktop] svg { height: 15px; }
.notch-heading, .notch-heading > div { display: flex; align-items: center; gap: 4px; }
.notch-heading { justify-content: space-between; font-size: .75rem; font-weight: 650; color: #ffffffbf; }
.notch-content { display: flex; align-items: center; gap: clamp(10px, 3cqw, 20px); }
.notch-details { min-width: 0; }
.notch-details .track-title { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notch-details p:not(.track-title) { color: #ffffffba; font-size: .6875rem; }
.notch-details .transport { margin-left: -5px; }
.expanded-disc {
  width: clamp(48px, 14cqw, 68px); height: clamp(48px, 14cqw, 68px);
  cursor: grab; touch-action: none; box-shadow: 0 3px 6px #0006;
}
.notch-expanded .track-times { margin-top: -3px; }
@container (max-width: 620px) {
  .notch-compact {
    right: auto; left: 50%; translate: -50% 0;
    padding-inline: 7px; border-radius: 0 0 18px 18px;
  }
}
@container (max-width: 880px) {
  .stage[data-view="notch"] .stage-menu > :not(:first-child, .stage-time) { display: none; }
}
@container (max-width: 480px) {
  .stage-menu > :not(:first-child, #app-name, .stage-time) { display: none; }
}
@media (hover: none) {
  .stage .desktop-player {
    --controls-opacity: 1; --metadata-opacity: 1; --timeline-lift: 32px;
    --disc-offset: var(--record-reveal); --control-events: auto;
  }
}
.stage-caption, .app-switch {
  position: absolute; bottom: 11px; min-height: 42px; display: inline-flex; align-items: center; gap: 6px;
  padding: 0 10px; border-radius: 100px; font-size: .6875rem; font-weight: 700; line-height: 1.2;
  color: #f5f6fb; background: #191d2ae6; border: 1px solid #ffffff38;
}
.stage-caption { left: 10px; max-width: calc(100% - 151px); pointer-events: none; }
.app-switch { right: 10px; min-height: 44px; transition: transform 210ms var(--snap), background 210ms var(--out); }
.app-switch [data-icon] svg { width: 14px; height: 14px; }
.app-switch:hover { background: #373f54; transform: translateY(-2px); }
.app-switch:active { transform: scale(.96); }
.stage-caption .caption-dot { background: #93c9ab; }
.stage[data-playing="true"] .caption-dot { box-shadow: 0 0 0 3px #85c8a630; }

.playground-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-block: 10px 12px; }
.view-control {
  display: inline-flex; justify-self: start; flex: none; gap: 2px; padding: 2px; border-radius: 100px;
  border: 1px solid var(--edge); background: #e7e7ed;
}
.view-control button, .audio-controls button, .transport button, .expand-button, .notch-heading button {
  display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 5px;
  padding: 0; min-width: 44px; min-height: 44px; border: 0; border-radius: 100px;
  background: transparent; transition: background 180ms var(--out), scale 200ms var(--snap), color 180ms var(--out);
}
.view-control button:active, .audio-controls button:active, .transport button:active, .expand-button:active, .notch-heading button:active { scale: .91; }
.view-control button { padding-inline: 9px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.view-control button:hover { background: #ffffff86; }
.view-control button.selected { background: var(--panel); color: var(--ink); box-shadow: 0 2px 4px #25253b11, inset 0 1px #fff; }
.view-control svg { width: 15px; height: 15px; }
.transport, .audio-controls { display: flex; align-items: center; gap: 1px; }
.transport button:hover, .audio-controls button:hover { background: #30304412; }
.transport .deck-play { background: var(--ink); color: #fff; }
.transport .deck-play:hover { background: #42424b; }
.notch-artwork {
  display: grid; place-items: center; min-width: 40px; min-height: 44px;
  border: 0; border-radius: 50%; padding: 0; background: none;
}
@media (pointer: fine) {
  .notch-compact .transport button, .notch-compact .expand-button, .notch-artwork { min-width: 30px; }
}
.notch-compact button:hover { background: #ffffff18; }
.player .glass-control { position: relative; isolation: isolate; background: none; color: #fff; }
.player .glass-control::before {
  content: ""; position: absolute; inset: 6px; z-index: -1; border-radius: 50%;
  background: linear-gradient(145deg, #ffffff30, #13172469);
  box-shadow: inset 0 0 0 1px #fff2, inset 0 1px #ffffff25;
  backdrop-filter: blur(8px);
  transition: background 180ms var(--out);
}
.player .glass-control:hover::before { background: #ffffff3d; }
.player :focus-visible { outline-color: #c9d8ff; outline-offset: -3px; }
.audio-controls { gap: 3px; justify-self: end; }
.audio-controls .glow-control { font-size: .75rem; font-weight: 700; padding-inline: 8px; }
.glow-control[aria-checked="true"] { color: #344c75; background: #e0e8f4; }
.glow-control[aria-checked="true"]:hover { background: #d5e2f3; }
#volume, .seek { cursor: pointer; accent-color: var(--accent); min-width: 0; margin: 0; height: 32px; }
#volume { width: clamp(38px, 4vw, 66px); }
.seek { width: 100%; appearance: none; background: none; height: 24px; display: block; }
.seek::-webkit-slider-runnable-track { height: 3px; border-radius: 8px; background: linear-gradient(90deg, #fffe var(--progress, 0%), #fff4 var(--progress, 0%)); }
.seek::-moz-range-track { height: 3px; border-radius: 8px; background: #fff4; }
.seek::-moz-range-progress { height: 3px; border-radius: 8px; background: #fffe; }
.seek::-webkit-slider-thumb { appearance: none; width: 8px; height: 8px; margin-top: -2.5px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px #21151c8f; }
.seek::-moz-range-thumb { width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 0; }
.seek:focus-visible { outline-color: #c9d8ff; outline-offset: 2px; border-radius: 4px; }

.sample-heading {
  display: flex; justify-content: space-between; align-items: baseline; gap: 9px;
  padding-inline: 2px; margin: 8px 0 6px; font-size: .75rem; font-weight: 700; color: var(--muted);
}
.track-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.track-card {
  min-width: 0; min-height: 56px; display: flex; align-items: center; gap: 7px; text-align: left;
  padding: 6px; border: 1px solid #e1e1eb; border-radius: 13px; background: #f9f9fc; color: var(--ink);
  transition: translate 210ms var(--out), scale 210ms var(--snap), background 210ms var(--out), border-color 210ms var(--out);
}
.track-card.selected { background: #fff; border-color: #8398ba; }
.track-card:hover { translate: 0 -2px; background: #fff; }
.track-card:active { scale: .98; translate: 0; }
.track-card > img { flex: none; width: 36px; height: 36px; object-fit: cover; border-radius: 8px; transition: scale 280ms var(--snap); }
.track-card:hover > img { scale: 1.06; }
.track-card strong, .track-card small { display: block; }
.track-card strong { font-size: .8125rem; line-height: 1.14; letter-spacing: -.02em; }
.track-card small { font-size: .6875rem; color: var(--muted); margin-top: 3px; line-height: 1.15; }
.track-indicator { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; color: var(--accent); background: #eceff6; }
.track-indicator svg { width: 14px; height: 14px; }
.track-card.selected .track-indicator { color: #fff; background: var(--accent); }

.details-section { padding-block: calc(var(--section-space) / 2) var(--section-space); border-top: 1px solid var(--edge); }
.section-intro { max-width: 720px; margin-bottom: clamp(20px, 3vw, 36px); }
.section-intro h2, .pricing-copy h2, .faq-intro h2, .download-card h2 {
  font-size: clamp(2.6rem, 4.7vw, 4.625rem); font-weight: 620; letter-spacing: -.037em; margin-top: 10px;
}
.section-intro > p:last-child, .pricing-copy > p:not(.eyebrow), .faq-intro > p:last-child, .download-card > p {
  margin-top: 15px; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; max-width: 43ch;
}
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 28px); }
.story-card { min-width: 0; padding: 8px 8px 18px; border-radius: 24px; border: 1px solid var(--edge); background: #f4f4f7; }
.story-preview {
  display: grid; place-items: center; width: 100%; min-height: clamp(215px, 25vw, 285px);
  position: relative; overflow: hidden; padding: 0; border: 1px solid #fff7; border-radius: 16px;
  background: radial-gradient(ellipse at 30% 12%, #f4edf4, #dee5f1 92%); color: #31333d;
}
.notch-story { background: radial-gradient(ellipse at 22% 14%, #e8eefb, #a1b0cf 93%); }
.story-card > :not(.story-preview) { margin-inline: 13px; }
.story-card > .eyebrow { margin-top: 16px; }
.story-card h3 { font-size: clamp(1.22rem, 2.1vw, 1.7rem); font-weight: 700; letter-spacing: -.045em; margin-top: 5px; }
.story-card > p:last-child { color: var(--muted); line-height: 1.6; max-width: 46ch; margin-top: 8px; }
.preview-hint {
  position: absolute; right: 9px; bottom: 9px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 9px 6px 11px; border-radius: 100px; background: #fafaff; font-size: .75rem; font-weight: 700;
}
.preview-hint [data-icon] { width: 26px; height: 26px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); transition: translate 210ms var(--snap); }
.preview-hint svg { width: 13px; height: 13px; }
.story-preview:hover .preview-hint [data-icon] { translate: 2px -2px; }
.mini-player { position: relative; width: min(250px, 82%); height: 156px; translate: 0 -12px; }
.mini-sleeve {
  position: absolute; left: 0; top: 0; width: 155px; height: 155px; padding: 5px;
  border-radius: 18px; background: #3c414d9e; box-shadow: inset 0 0 0 1px #fff5, 0 11px 20px #17213145; overflow: hidden;
}
.mini-sleeve img { width: 100%; height: 100%; border-radius: 13px; object-fit: cover; }
.mini-sleeve::after { content: ""; position: absolute; inset: 5px; border-radius: 13px; background: linear-gradient(transparent 42%, #282026d9); }
.mini-sleeve > span { position: absolute; z-index: 1; left: 15px; bottom: 15px; text-align: left; color: white; }
.mini-sleeve strong, .mini-sleeve small { display: block; }
.mini-sleeve strong { font-size: .875rem; }
.mini-sleeve small { font-size: .625rem; }
.mini-record, .price-record {
  position: absolute; border-radius: 50%; background: repeating-radial-gradient(circle, #fff2 0 1px, transparent 1px 5px), conic-gradient(from 14deg, #171619, #48454a, #121216, #37333a, #171619);
  box-shadow: 0 10px 17px #26202735; transition: translate 420ms var(--snap), rotate 490ms var(--out);
}
.mini-record { width: 124px; height: 124px; left: min(112px, 47%); top: 16px; }
.mini-record::before { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: url("assets/golden-hour.webp") center/cover; }
.mini-record::after { content: ""; position: absolute; inset: 48%; border-radius: 50%; background: #38302f; }
.desktop-story:hover .mini-record, .desktop-story:focus-visible .mini-record, .pricing-section:hover .price-record { translate: 10px 0; rotate: 16deg; }
.mini-app {
  position: absolute; inset: 55px 14% 44px; padding: 14px; border: 1px solid #fff;
  border-radius: 14px; text-align: left; background: #f7f9ffef; box-shadow: 0 5px 25px #303e5b1d;
}
.mini-app > span { display: block; text-align: center; color: #5a667b; font-size: .6875rem; margin-bottom: 12px; }
.mini-app > strong { font-size: .8125rem; color: #4f5a6c; }
.mini-app i { display: block; width: 83%; height: 3px; background: #dfe5ef; margin-top: 8px; border-radius: 4px; }
.mini-app i:last-child { width: 60%; }
.mini-notch {
  position: absolute; top: 0; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 12px; height: 37px;
  padding-inline: 13px; border-radius: 0 0 14px 14px; color: #f9f5ed; background: #000;
  box-shadow: 0 5px 13px #26324e26; transition: scale 270ms var(--snap); transform-origin: top center;
}
.mini-notch img { width: 21px; height: 21px; border-radius: 50%; }
.mini-notch svg { width: 13px; height: 13px; }
.notch-story:hover .mini-notch, .notch-story:focus-visible .mini-notch { scale: 1.05; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(24px, 3.5vw, 44px); }
.feature-grid article { border-top: 1px solid var(--edge); padding-top: 20px; }
.feature-icon { width: 40px; height: 40px; border-radius: 12px; color: var(--accent); background: var(--accent-soft); margin-bottom: 12px; }
.feature-grid h3 { font-size: 1.18rem; letter-spacing: -.04em; }
.feature-grid p { color: var(--muted); margin-top: 7px; font-size: .9375rem; line-height: 1.6; }

.pricing-section {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(20px, 3.8vw, 48px); padding: clamp(12px, 1.6vw, 20px);
  border: 1px solid #e4e4ee; border-radius: var(--radius); background: #f1f2f6;
}
.pricing-art {
  position: relative; display: grid; place-items: center; min-height: clamp(265px, 27vw, 386px);
  border: 1px solid #ffffff4a; border-radius: calc(var(--radius) - 10px); isolation: isolate; overflow: hidden;
  background: radial-gradient(ellipse at 27% 17%, #f5eff3, #d8e1ed 73%, #c2cddd);
}
.pricing-art::before, .pricing-art::after { content: ""; position: absolute; width: 94%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #43436322; z-index: -1; }
.pricing-art::after { width: 78%; }
.price-sleeve {
  position: absolute; top: 50%; left: 43%; translate: -50% -50%;
  width: clamp(125px, 19vw, 244px); aspect-ratio: 1; padding: 7px; border-radius: 22px;
  background: #584348; box-shadow: 0 12px 22px #51333e34, inset 0 1px #fff4;
}
.price-sleeve img { width: 100%; height: 100%; border-radius: 15px; object-fit: cover; }
.price-record { top: 50%; left: 66%; width: clamp(110px, 16vw, 208px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.price-record-label { position: absolute; inset: 35%; border-radius: 50%; overflow: hidden; }
.price-record-label img { width: 100%; height: 100%; object-fit: cover; }
.pricing-copy { padding: 18px 20px 18px 0; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-block: 14px; }
.price-line strong { font-size: 2.25rem; letter-spacing: -.06em; }
.price-line span { color: var(--muted); font-size: .8125rem; }

.faq-section {
  display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: clamp(24px, 6vw, 78px); padding-block: var(--section-space);
}
.faq-intro h2 { font-size: clamp(2.55rem, 4.2vw, 4rem); }
.faq-list { border-top: 1px solid var(--edge); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--edge); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none;
  min-height: 56px; padding: 10px 2px; font-weight: 600; cursor: pointer;
  transition: color 220ms var(--out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--accent); }
.faq-item summary [data-icon] {
  width: 30px; height: 30px; background: #eeeef4; border-radius: 50%; color: var(--accent);
  transition: rotate 260ms var(--snap), background 220ms var(--out);
}
.faq-item summary svg { width: 14px; height: 14px; }
.faq-item[open] summary [data-icon] { rotate: 180deg; background: var(--accent-soft); }
.faq-answer { padding: 0 30px 16px 2px; max-width: 66ch; color: var(--muted); font-size: .9375rem; }
.faq-item[open] .faq-answer { animation: answer-in 220ms var(--out) both; }
@keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } }

.download-card {
  padding: clamp(34px, 5vw, 68px) clamp(18px, 4vw, 52px);
  border-radius: var(--radius);
  background: #191a22; color: #fff; text-align: center;
}
.download-brand { width: 63px; height: 63px; margin: 0 auto 16px; }
.download-card > p { color: #d7d9e3; margin-inline: auto; margin-bottom: 22px; text-wrap: balance; }
.download-card .button { color: #191a22; background: #fff; }
.download-card .button:hover { background: #e8edf7; }
.download-card-meta { display: block; margin-top: 13px; color: #bfc4d3; font-size: .8125rem; }
.download-card :focus-visible { outline-color: #c9d8ff; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-block: 16px; color: var(--muted); font-size: .8125rem; }
footer .brand { color: var(--ink); }
footer .brand-icon { width: 30px; height: 30px; }
footer > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-left: auto; }
footer > div a, footer > div button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border: 0; background: none; font-size: inherit; }
footer > div a:hover, footer > div a:target, footer > div button:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }

.related-guides {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  margin-top: 14px;
  font-size: .875rem;
}
.related-guides a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.related-guides a, .editorial-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .22em;
}
.editorial-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
  border-bottom: 1px solid var(--edge);
}
.editorial-content {
  max-width: 740px;
  padding-block: clamp(36px, 6vw, 84px);
  line-height: 1.65;
}
.editorial-content h1 {
  margin-top: 14px;
  text-wrap: balance;
}
.editorial-content h1:not(.hero-heading) {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: -.055em;
}
.editorial-content h2 {
  margin-top: clamp(28px, 4vw, 48px);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  letter-spacing: -.035em;
}
.editorial-content p:not(.eyebrow), .editorial-content ol {
  margin-top: 12px;
  color: var(--muted);
}
.editorial-content .editorial-lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
}
.editorial-content ol { padding-inline-start: 1.5em; }
.editorial-content li + li { margin-top: 10px; }
.editorial-image {
  width: 100%;
  height: auto;
  border-radius: clamp(12px, 2vw, 20px);
  margin-top: 24px;
}
.editorial footer { border-top: 1px solid var(--edge); }

.download-dialog {
  width: min(450px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: clamp(20px, 5vw, 34px);
  border: 1px solid #e2e2ed; border-radius: 24px; background: var(--panel); color: var(--ink);
  text-align: center; box-shadow: 0 25px 90px #2222373d;
}
.download-dialog[open] { animation: modal-in 260ms var(--out) both; }
.download-dialog::backdrop { background: #24243765; backdrop-filter: blur(7px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(7px) scale(.98); } }
.dialog-close {
  position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; color: var(--muted); background: #eeeeF4; transition: background 200ms var(--out);
}
.dialog-close:hover { background: var(--accent-soft); }
.dialog-record { display: inline-flex; margin-block: 2px 12px; }
.dialog-record img { width: 66px; height: 66px; object-fit: contain; }
.download-dialog > .eyebrow { display: block; margin-bottom: 8px; }
.download-dialog h2 { font-size: clamp(1.9rem, 6vw, 2.75rem); letter-spacing: -.045em; }
.dialog-description, .info-dialog p { color: var(--muted); font-size: .9375rem; line-height: 1.55; margin-block: 14px; }
.download-dialog .button { width: 100%; }
.purchase-actions { display: grid; gap: 15px; }
.purchase-actions button:disabled { opacity: .62; }
.purchase-error { margin-top: 12px; color: #a02b2b; font-size: .875rem; }
.download-meta { margin-top: 14px; color: var(--muted); font-size: .8125rem; }
.info-dialog { text-align: left; padding-top: 56px; }
.info-dialog .button { margin-top: 6px; }
.toast {
  position: fixed; z-index: 4; left: 50%; bottom: 20px; translate: -50% 0;
  width: max-content; max-width: calc(100% - 30px); padding: 12px 16px; border-radius: 14px;
  background: #232327; color: #fff; font-size: .875rem; text-align: center;
}

@media (max-width: 1200px) {
  .playground-bar .glow-label { display: none; }
  .track-card > img { width: 31px; height: 31px; }
}
@media (max-width: 980px) {
  .hero-heading { font-size: clamp(3.2rem, 9vw, 5.2rem); }
  .stage { height: clamp(303px, 47vw, 403px); }
  .track-card > img { width: 39px; height: 39px; }
  .playground-bar .glow-label { display: inline; }
}
@media (max-width: 660px) {
  :root { --gutter: 17px; --radius: 24px; --scroll-inset: 80px; }
  .navigation { top: 9px; padding-left: 9px; min-height: 55px; gap: 4px; }
  .navigation nav a { display: none; }
  .navigation nav a[href="#playground"] { display: grid; padding-inline: 6px; font-size: .75rem; }
  .brand { gap: 5px; font-size: 1.14rem; }
  .brand-icon { width: 29px; height: 29px; }
  .button-small { gap: 5px; padding-inline: 9px; font-size: .75rem; }
  .button-small svg { width: 14px; height: 14px; }
  .hero { min-height: 0; padding: 98px var(--gutter) 28px; }
  .hero-orbit { height: 520px; }
  .orbit-piece img { width: 43px; }
  .orbit-one { left: 8%; top: 14%; }
  .orbit-two { right: 5%; top: 82%; }
  .orbit-three, .orbit-four { display: none; }
  .hero-intro { margin-bottom: 16px; }
  .hero-description { margin-top: 10px; }
  .hero-description br { display: none; }
  .hero-actions { margin-top: 19px; }
  .playground-heading { padding: 5px 3px 8px; }
  .playground-heading h2 { font-size: 1rem; }
  .stage { --sleeve: clamp(133px, 43cqw, 197px); height: clamp(265px, 76vw, 348px); }
  .stage-caption, .app-switch { bottom: 8px; }
  .playground-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .deck-transport { grid-column: 2; grid-row: 1; justify-content: end; }
  .view-control { justify-self: start; }
  .audio-controls { grid-column: 1 / -1; justify-self: stretch; justify-content: center; padding-inline: 2px; }
  #volume { width: min(29%, 100px); }
  .sample-heading { margin-top: 0; }
  .track-picker { grid-template-columns: 1fr; gap: 5px; }
  .track-card { min-height: 49px; }
  .track-card > img { width: 33px; height: 33px; }
  .track-card > span:nth-child(2) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
  .track-card small { margin: 0; }
  .story-grid, .feature-grid, .pricing-section, .faq-section { grid-template-columns: 1fr; }
  .story-card > p:last-child { font-size: .9375rem; }
  .feature-grid { gap: 16px; }
  .feature-grid article { padding: 14px 0 0 54px; position: relative; }
  .feature-icon { position: absolute; top: 15px; left: 0; }
  .pricing-art { min-height: 222px; }
  .pricing-copy { padding: 0 10px 15px; }
  .price-sleeve { width: 137px; }
  .price-record { width: 113px; }
  .download-card h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  footer { column-gap: 12px; }
  footer > div { order: 1; margin: 0; }
}
@media (max-width: 360px) {
  .hero-heading { font-size: clamp(2.55rem, 13.2vw, 3.1rem); }
  .view-control button { padding-inline: 6px; }
  .view-control svg { display: none; }
  .stage-caption, .app-switch { font-size: .625rem; padding-inline: 7px; }
  .stage-caption { max-width: calc(100% - 123px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .navigation { background: var(--panel); backdrop-filter: none; border-color: #9696a8; }
  .stage-menu, .stage-caption, .app-switch { background: #191d2a; }
  .sleeve { background: #30333e; backdrop-filter: none; }
  .notch-expanded { background: #171a23; backdrop-filter: none; }
  .player .glass-control::before { background: #343844; backdrop-filter: none; }
  .download-dialog::backdrop { backdrop-filter: none; background: #24243799; }
}

.referral-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 0; margin-left: 10px; border: 0; background: none;
  color: var(--accent); font-weight: 650; font-size: .875rem;
}
.referral-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.referral-link svg { width: 14px; height: 14px; }
.purchase-actions .button-glass { padding-inline: 16px; }
.referral-form { display: grid; gap: 8px; text-align: left; }
.referral-form label { font-size: .875rem; font-weight: 650; }
.referral-form input {
  min-width: 0; min-height: 46px; padding: 8px 12px;
  border: 1px solid #9295a2; border-radius: 10px; text-transform: uppercase;
}
.referral-form input[aria-invalid="true"] { border-color: #a02b2b; }
.referral-form input:disabled { background: #f5f5f8; border-color: #dedee7; }
.referral-form .button { margin-top: 4px; }
.referral-form .button:disabled { background: #e3e3eb; color: #60616e; box-shadow: none; }
.referral-form .purchase-error { margin: 0; }
@media (max-width: 490px) {
  .referral-link { margin: 5px 0 0; display: flex; }
}
