:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #111111;
  --panel-2: #171717;
  --text: #f4f1ea;
  --muted: #aaa49a;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f06b38;
  --blue: #52b7ff;
  --green: #88d07f;
  --stage-p: 0;
  --custom-tone: #143451;
  --picker-hue: 207;
  --picker-sat: 60%;
  --picker-val: 32%;
  --title-font: "Myriad Apple", "Myriad Set", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --ui-font: "Myriad Apple", "Myriad Set", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --body-bg: #050505;
  --header-bg: #050505;
  --header-fg: #ffffff;
  --preview-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 18%),
    linear-gradient(125deg, rgba(82, 183, 255, 0.14), transparent 42%),
    linear-gradient(180deg, #111318, #030303 76%);
  --stage-panel-bg:
    linear-gradient(135deg, rgba(82, 183, 255, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(11, 42, 67, 0.82), rgba(5, 18, 29, 0.84));
}

body[data-mode="light"] {
  --bg: #f7f4ed;
  --panel: #ffffff;
  --panel-2: #ede8dd;
  --text: #171410;
  --muted: #6e655a;
  --line: rgba(28, 23, 16, 0.14);
  --body-bg: #ffffff;
  --header-bg: #ffffff;
  --header-fg: #111111;
  --preview-bg: #ffffff;
  --stage-panel-bg:
    linear-gradient(135deg, rgba(82, 183, 255, 0.13), transparent 44%),
    linear-gradient(180deg, rgba(255, 249, 238, 0.92), rgba(226, 217, 203, 0.92));
}

body[data-mode="custom"] {
  --body-bg: color-mix(in srgb, var(--custom-tone), #050505 66%);
  --header-bg: var(--custom-tone);
  --header-fg: #f4f1ea;
  --preview-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 16%),
    linear-gradient(125deg, color-mix(in srgb, var(--custom-tone), #ffffff 11%), transparent 44%),
    linear-gradient(180deg, color-mix(in srgb, var(--custom-tone), #101318 42%), #030303 76%);
  --stage-panel-bg:
    linear-gradient(135deg, color-mix(in srgb, var(--custom-tone), #ffffff 12%), transparent 44%),
    linear-gradient(180deg, color-mix(in srgb, var(--custom-tone), #05121d 68%), color-mix(in srgb, var(--custom-tone), #050505 74%));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--text);
  font-family: var(--ui-font);
  overflow-x: clip;
  transition: background 240ms ease, color 240ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 22px auto 0;
  padding: 10px 10px 10px 14px;
  border: 1px solid color-mix(in srgb, var(--header-fg), transparent 84%);
  border-radius: 8px;
  color: var(--header-fg);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand,
.site-nav,
.hero-actions,
.footer-built,
.amore-badge {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-height: 36px;
  font: 600 15px/1 var(--ui-font);
}

.brand-icon {
  width: 26px;
  height: 26px;
  display: block;
  flex: 0 0 auto;
  border-radius: 7px;
}

.site-nav {
  gap: 6px;
  font: 500 13px/1 var(--ui-font);
  color: color-mix(in srgb, var(--header-fg), transparent 26%);
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
}

.site-nav a:last-child {
  color: #ffffff;
  background: linear-gradient(rgb(74, 143, 212) 0%, rgb(34, 81, 163) 50%, rgb(30, 69, 146) 100%);
  box-shadow: rgba(34, 81, 163, 0.5) 0 4px 15px, rgba(255, 255, 255, 0.3) 0 1px 0 inset;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--header-fg);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a:last-child:hover,
.site-nav a:last-child:focus-visible {
  color: #ffffff;
  background: linear-gradient(rgb(84, 153, 222) 0%, rgb(42, 91, 173) 50%, rgb(34, 79, 156) 100%);
}

.hero {
  display: block;
  width: min(1180px, calc(100% - 36px));
  min-height: 430vh;
  margin: 0 auto;
  padding: clamp(58px, 7vw, 86px) 0 42px;
  text-align: center;
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: #d8a589;
  font: 800 12px/1.1 var(--ui-font);
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--title-font);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  font-size: clamp(48px, 6.25vw, 80px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 22px;
  color: var(--muted);
  font: 500 clamp(18px, 2.1vw, 25px)/1.32 var(--ui-font);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.lede {
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.36;
}

.hero-actions {
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 14px/1 var(--ui-font);
}

.button.primary {
  color: #ffffff;
  border-color: rgba(74, 143, 212, 0.76);
  background: linear-gradient(rgb(74, 143, 212) 0%, rgb(34, 81, 163) 50%, rgb(30, 69, 146) 100%);
  box-shadow: rgba(34, 81, 163, 0.5) 0 4px 15px, rgba(255, 255, 255, 0.3) 0 1px 0 inset;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(rgb(84, 153, 222) 0%, rgb(42, 91, 173) 50%, rgb(34, 79, 156) 100%);
}

.button.secondary {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button.is-disabled {
  cursor: default;
  pointer-events: none;
}

.button small {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.54);
  font: inherit;
}

.hero-actions .button.primary {
  min-height: 58px;
  padding: 0 34px;
  font-size: 18px;
}

.hero-actions .button.secondary {
  min-height: 58px;
  padding: 0 24px;
  font-size: 16px;
}

.hero-demo {
  position: sticky;
  top: clamp(118px, 17vh, 150px);
  width: min(980px, 100%);
  margin: 0 auto;
  min-width: 0;
  transform: scale(var(--hero-demo-scale, 0.78));
  transform-origin: center top;
  transition: transform 120ms linear;
  will-change: transform;
}

.preview-hint {
  margin: 0;
  color: #827b72;
  font: 500 13px/1.4 var(--ui-font);
}

.hero-player-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 8px;
  flex-wrap: wrap;
}

.audio-toggle {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(74, 143, 212, 0.45);
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(74, 143, 212, 0.28), rgba(34, 81, 163, 0.16));
  box-shadow: 0 10px 28px rgba(34, 81, 163, 0.18);
  font: 600 12px/1 var(--ui-font);
  cursor: pointer;
}

.audio-toggle[aria-pressed="true"] {
  color: #ffffff;
  border-color: rgba(74, 143, 212, 0.82);
  background: linear-gradient(rgb(74, 143, 212) 0%, rgb(34, 81, 163) 100%);
}

.compatibility-note {
  max-width: 720px;
  margin: 0 auto 20px;
  color: var(--muted);
  font: 400 14px/1.45 var(--ui-font);
}

.hero-compatibility {
  display: grid;
  gap: 6px;
  margin-top: -10px;
  margin-bottom: 34px;
}

.hero-demo .lede {
  max-width: 760px;
  margin: 0 auto;
}

.coverflow-preview {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  isolation: isolate;
  background: var(--preview-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 40px 120px rgba(0, 0, 0, 0.44);
  outline: none;
  touch-action: pan-y;
}

.hero-coverflow {
  height: min(58vw, 640px);
  min-height: 520px;
  border: 1px solid var(--line);
}

.coverflow-preview:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(240, 107, 56, 0.85), 0 40px 120px rgba(0, 0, 0, 0.44);
}

.coverflow-track {
  position: absolute;
  inset: 16% 4% 22%;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.album-card {
  position: absolute;
  left: 50%;
  top: 48%;
  width: clamp(92px, 16vw, 210px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: var(--art) center / cover;
  background-size: cover;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.86, 0.22, 1), opacity 360ms ease, filter 360ms ease;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.album-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 34%, rgba(0, 0, 0, 0.24));
  mix-blend-mode: screen;
}

.album-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: 100%;
  height: 88%;
  border-radius: inherit;
  background: inherit;
  transform: scaleY(-1);
  opacity: 0.34;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 82%);
}

.album-card strong {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  font: 900 15px/1.05 var(--ui-font);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.coverflow-ui {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff7ed;
  font: 700 13px/1.3 var(--ui-font);
}

.coverflow-meta {
  min-width: 0;
}

.coverflow-title,
.coverflow-artist {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coverflow-artist {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 650;
}

.coverflow-controls {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.hero-coverflow .coverflow-controls {
  display: none;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.coverflow-history {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(90px, 11vw, 150px) 0;
}

.coverflow-history h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 500;
  line-height: 0.95;
}

.history-copy p {
  margin-bottom: 22px;
  color: var(--muted);
  font: 400 clamp(17px, 1.55vw, 21px)/1.48 var(--ui-font);
}

.scroll-showcase {
  position: relative;
  height: 500vh;
}

.story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

.story-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: clamp(100px, 13vh, 128px) 14px clamp(44px, 7vh, 68px);
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(5, 5, 5, 0.08);
}

.stage-title {
  position: absolute;
  left: 50%;
  top: clamp(138px, 17vh, 170px);
  z-index: 9;
  width: min(1060px, calc(100% - 36px));
  margin: 0;
  color: #050505;
  text-align: center;
  font-size: clamp(34px, 4.25vw, 54px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -8px);
  will-change: opacity, transform;
}

.mode-panel {
  position: absolute;
  top: auto;
  bottom: clamp(78px, 9vh, 104px);
  left: 50%;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: color-mix(in srgb, var(--panel), transparent 18%);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  font: 500 13px/1 var(--ui-font);
  will-change: opacity, transform;
}

.mode-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mode-button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font: 500 13px/1 var(--ui-font);
  cursor: pointer;
}

.custom-mode-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.mode-button.is-active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.1);
}

.mode-color-swatch {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: var(--custom-tone);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.colorful-popover {
  position: absolute;
  right: 8px;
  bottom: calc(100% + 10px);
  z-index: 2;
  width: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel), transparent 4%);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transform-origin: right bottom;
  transition: opacity 180ms ease, transform 180ms ease;
}

body.is-picker-open .colorful-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.colorful-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: transparent;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.colorful-close::before,
.colorful-close::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.colorful-close::before {
  transform: rotate(45deg);
}

.colorful-close::after {
  transform: rotate(-45deg);
}

.colorful-saturation {
  position: relative;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  cursor: crosshair;
  background:
    linear-gradient(0deg, #000, transparent),
    linear-gradient(90deg, #fff, hsl(var(--picker-hue) 100% 50%));
}

.colorful-hue {
  position: relative;
  height: 14px;
  margin-top: 12px;
  border-radius: 999px;
  cursor: ew-resize;
  background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
}

.colorful-thumb,
.colorful-hue-thumb {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.colorful-thumb {
  left: var(--picker-sat);
  top: calc(100% - var(--picker-val));
  transform: translate(-50%, -50%);
}

.colorful-hue-thumb {
  left: calc(var(--picker-hue) / 360 * 100%);
  top: 50%;
  transform: translate(-50%, -50%);
  background: hsl(var(--picker-hue) 100% 50%);
}

.colorful-hex-label {
  display: none;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font: 700 12px/1 var(--ui-font);
}

.colorful-hex-label input {
  width: 100%;
  min-width: 0;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: 700 12px/1 var(--ui-font);
  outline: none;
}

.floating-preview {
  position: absolute;
  left: 50%;
  top: 55%;
  z-index: 6;
  width: min(880px, 76vw);
  height: min(510px, 48vw);
  min-height: 340px;
  transform: translate(-50%, -50%);
  transition: opacity 160ms linear;
}

.floating-preview .coverflow-ui {
  display: none;
}

.device-rig {
  position: absolute;
  left: 50%;
  top: 56%;
  z-index: 5;
  transform-origin: center;
  will-change: transform, opacity;
  pointer-events: none;
}

.device-rig img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.macbook-rig {
  width: min(1260px, 92vw);
  opacity: 0;
  transform: translate(-50%, -38%) scale(1.08);
}

.xdr-rig {
  width: min(900px, 58vw);
  opacity: 0;
  transform: translate(5%, -52%) scale(0.74);
}

.screen-insert {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  background: #020202;
  opacity: var(--insert-opacity, 1);
  pointer-events: auto;
}

.screen-insert .coverflow-preview {
  min-height: 0;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.macbook-rig .screen-insert {
  --insert-opacity: 0;
}

.screen-insert .album-card {
  width: clamp(74px, 14vw, 220px);
}

.screen-insert .coverflow-track {
  inset: 8% 5% 24%;
}

.macbook-screen .coverflow-track {
  inset: 3% 5% 31%;
}

.screen-insert .coverflow-ui {
  display: none;
}

.macbook-screen {
  left: 13.18%;
  top: 9.55%;
  width: 74.64%;
  height: 69.45%;
  border-radius: 1.4% 1.4% 0.4% 0.4%;
}

.xdr-screen {
  left: 0;
  top: 0;
  width: 100%;
  height: 69%;
  border-radius: 1.2%;
}

.xdr-screen .album-card {
  width: clamp(78px, 12vw, 210px);
}

.xdr-screen .coverflow-track {
  inset: 7% 6% 23%;
}

.features {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 110px 0 64px;
}

.feature-heading {
  max-width: none;
  margin-bottom: 34px;
}

#features-title {
  width: 100%;
  font-family: var(--title-font), -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.feature-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 117, 190, 0.13), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.feature-card,
.download-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.feature-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 360px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border-width: 0 1px 1px 0;
  border-radius: 0;
  background: transparent;
}

.feature-card-large {
  grid-column: span 4;
}

.feature-card-stack {
  grid-column: span 2;
  grid-template-rows: auto 1fr;
  background: #000000;
}

.feature-card-split {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-content: stretch;
  padding: 0;
}

.feature-split-panel {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: clamp(20px, 2.6vw, 28px);
}

.feature-split-panel + .feature-split-panel {
  border-top: 1px solid var(--line);
}

.feature-split-panel h3 {
  max-width: 100%;
}

.feature-split-custom {
  color: #f7f9ff;
  background: #667ae1;
  transition: background-color 260ms ease;
}

.feature-split-custom:hover,
.feature-split-custom:focus-within {
  animation: customPanelColorCycle 6s ease-in-out infinite alternate;
}

.feature-split-custom h3 {
  color: #ffffff;
}

.feature-split-login .feature-skeleton {
  margin-top: 18px;
}

.feature-card-tall,
.feature-card-collection {
  grid-column: span 3;
  border-bottom-width: 0;
}

.feature-card-tall {
  background: #000000;
}

.feature-card-stack,
.feature-card-collection {
  border-right-width: 0;
}

.feature-card-collection {
  color: #080808;
  background: #fcfcfc;
}

.feature-card-collection h3 {
  color: #080808;
}

.feature-card-collection p {
  color: #918a80;
}

.feature-card h3 {
  max-width: 560px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.05;
}

.feature-card p {
  max-width: 430px;
  margin: 10px 0 0;
  color: var(--muted);
  font: 400 15px/1.48 var(--ui-font);
}

.sync-mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sync-mode-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 13px 8px 10px;
  border: 1px solid rgba(158, 208, 255, 0.16);
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.82);
  background:
    linear-gradient(180deg, rgba(24, 42, 56, 0.84), rgba(10, 14, 18, 0.82)),
    #0b0f12;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font: 700 13px/1 var(--ui-font);
  transition:
    transform 140ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.sync-mode-button:hover,
.sync-mode-button:focus-visible {
  border-color: rgba(158, 208, 255, 0.34);
  color: #ffffff;
}

.sync-mode-button:active {
  transform: translateY(1px) scale(0.98);
}

.sync-mode-button.is-active {
  color: #ffffff;
  border-color: rgba(30, 215, 96, 0.46);
  background:
    linear-gradient(180deg, rgba(17, 62, 48, 0.88), rgba(8, 24, 22, 0.9)),
    #061712;
  box-shadow:
    0 12px 30px rgba(16, 185, 103, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sync-mode-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.spotify-sync-icon {
  border-radius: 999px;
}

.spotify-sync-icon circle {
  fill: #1ed760;
}

.spotify-sync-icon path {
  fill: #050505;
}

.app-sync-icon {
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.feature-skeleton {
  position: relative;
  min-height: 190px;
  margin-top: 28px;
}

.feature-image-panel {
  min-height: 250px;
  overflow: hidden;
}

.feature-image-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  filter: saturate(1.04) contrast(1.02);
}

.feature-image-panel-live {
  display: grid;
  place-items: center;
  background: #000000;
}

.feature-card-stack .feature-image-panel-live {
  height: 100%;
  min-height: 280px;
}

.feature-card-split .feature-image-panel-live {
  min-height: 150px;
  height: auto;
}

.spotify-connect-preview {
  display: grid;
  place-items: center;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-card-stack .spotify-connect-preview {
  width: auto;
  min-height: 0;
  padding: 0;
}

.spotify-connect-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: min(100%, 310px);
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(180deg, #20c663, #0dbb72);
  box-shadow:
    0 18px 42px rgba(17, 185, 103, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  font: 700 clamp(15px, 2vw, 18px)/1 var(--ui-font);
  white-space: nowrap;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    filter 120ms ease;
}

.spotify-connect-button:active {
  transform: translateY(2px) scale(0.965);
  filter: brightness(0.96);
  box-shadow:
    0 8px 24px rgba(17, 185, 103, 0.18),
    inset 0 2px 7px rgba(0, 0, 0, 0.16);
}

.feature-settings-panel {
  display: grid;
  place-items: center;
  min-height: 250px;
  overflow: visible;
  background: transparent;
}

.feature-split-subtitle {
  display: grid;
  gap: 2px;
  max-width: 330px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font: 400 15px/1.42 var(--ui-font);
}

.feature-settings-panel img {
  width: min(128%, 510px);
  height: auto;
  min-height: 0;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  filter: none;
}

@keyframes customPanelColorCycle {
  0% {
    background: #667ae1;
  }

  24% {
    background: #26a7d7;
  }

  50% {
    background: #e06072;
  }

  74% {
    background: #66a84d;
  }

  100% {
    background: #8b63da;
  }
}

.feature-image-panel-display {
  min-height: 270px;
  border-radius: 8px;
  background: #000000;
}

.feature-image-panel-display img {
  object-position: center 42%;
  transition:
    opacity 260ms ease,
    transform 420ms ease;
}

.feature-image-panel-display .feature-display-hover {
  position: absolute;
  inset: 0;
  min-height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  background: #000000;
}

.feature-card-collection:hover .feature-display-base,
.feature-card-collection:focus-within .feature-display-base {
  opacity: 0;
  transform: scale(0.985);
}

.feature-card-collection:hover .feature-display-hover,
.feature-card-collection:focus-within .feature-display-hover {
  opacity: 1;
  transform: scale(1);
}

.feature-video-panel {
  min-height: 250px;
  overflow: hidden;
}

.feature-video-panel video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  filter: saturate(1.02) contrast(1.02);
}

.feature-skeleton-stage {
  display: grid;
  place-items: end center;
}

.feature-album-wall {
  position: relative;
  width: min(520px, 100%);
  height: 230px;
  perspective: 900px;
}

.feature-album-wall span,
.feature-skeleton-collection span {
  position: absolute;
  background-image: var(--art);
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.feature-album-wall span {
  top: 34px;
  left: 50%;
  width: 154px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  transform-origin: center bottom;
}

.feature-album-wall span:nth-child(1) {
  z-index: 4;
  transform: translateX(-50%) translateZ(96px);
}

.feature-album-wall span:nth-child(2) {
  transform: translateX(-4%) rotateY(-48deg) translateZ(-10px);
}

.feature-album-wall span:nth-child(3) {
  transform: translateX(42%) rotateY(-62deg) translateZ(-82px);
}

.feature-album-wall span:nth-child(4) {
  transform: translateX(-104%) rotateY(48deg) translateZ(-26px);
}

.feature-album-wall span:nth-child(5) {
  transform: translateX(-148%) rotateY(60deg) translateZ(-92px);
}

.feature-album-wall::after {
  content: "";
  position: absolute;
  inset: 52% 4% 0;
  background: linear-gradient(180deg, rgba(74, 143, 212, 0.24), transparent 68%);
  filter: blur(16px);
  transform: perspective(600px) rotateX(68deg);
}

.feature-stack-video {
  min-height: clamp(168px, 18vw, 220px);
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #050607;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.feature-stack-video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
}

.feature-card-large .feature-stack-video {
  min-height: clamp(230px, 25vw, 330px);
}

.feature-skeleton-gesture {
  display: grid;
  place-items: center;
}

.feature-skeleton-gesture span {
  position: absolute;
  width: clamp(160px, 22vw, 260px);
  height: clamp(112px, 15vw, 170px);
  border: 1px solid rgba(158, 208, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(74, 143, 212, 0.36), rgba(255, 255, 255, 0.03));
  box-shadow: 0 28px 80px rgba(31, 117, 190, 0.18);
}

.feature-skeleton-gesture span:nth-child(1) {
  transform: translateX(-54px) rotate(-8deg);
}

.feature-skeleton-gesture span:nth-child(2) {
  transform: translateY(16px) rotate(4deg);
}

.feature-skeleton-gesture span:nth-child(3) {
  transform: translateX(58px) translateY(42px) rotate(8deg);
}

.feature-skeleton-collection {
  min-height: 250px;
}

.feature-skeleton-collection::before {
  content: "";
  position: absolute;
  inset: auto 4% 0;
  height: 164px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(158, 208, 255, 0.18), rgba(255, 106, 42, 0.12));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.feature-skeleton-collection span {
  width: clamp(152px, 18vw, 230px);
  aspect-ratio: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.feature-skeleton-collection span:nth-child(1) {
  left: 6%;
  top: 34px;
  transform: rotate(-7deg);
}

.feature-skeleton-collection span:nth-child(2) {
  right: 8%;
  top: 2px;
  transform: rotate(6deg);
}

.feature-skeleton-collection span:nth-child(3) {
  left: 50%;
  top: 92px;
  transform: translateX(-50%) rotate(-1deg);
}

.download-options {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto 104px;
  padding: clamp(24px, 3.8vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  color: #080808;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 250, 0.94)),
    #fcfcfc;
  box-shadow:
    0 42px 120px rgba(255, 255, 255, 0.12),
    0 28px 80px rgba(0, 0, 0, 0.26);
  transform: scale(var(--download-scale, 0.965));
  transform-origin: center top;
  will-change: transform;
}

.download-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.download-heading h2 {
  margin-bottom: 12px;
  color: #080808;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 500;
  line-height: 1;
}

.download-heading p {
  max-width: 480px;
  margin: 0;
  color: #736f68;
  font: 400 17px/1.45 var(--ui-font);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 260px;
  padding: clamp(22px, 3.2vw, 34px);
  overflow: hidden;
  border-radius: 8px;
  border-color: rgba(8, 8, 8, 0.1);
  color: #080808;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 246, 248, 0.82)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(20, 24, 30, 0.08);
  isolation: isolate;
}

.download-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.84), rgba(7, 7, 7, 0.5));
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.download-card-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 280ms ease, transform 900ms ease;
  pointer-events: none;
}

.download-card-ios .download-card-media {
  object-position: 76% center;
}

.download-card-mac:hover::after,
.download-card-mac:focus-within::after,
.download-card-ios:hover::after,
.download-card-ios:focus-within::after {
  opacity: 1;
}

.download-card-mac:hover .download-card-media,
.download-card-mac:focus-within .download-card-media,
.download-card-ios:hover .download-card-media,
.download-card-ios:focus-within .download-card-media {
  opacity: 0.72;
  transform: scale(1);
}

.download-card h3 {
  color: #080808;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
}

.download-card p {
  max-width: 470px;
  margin-bottom: 10px;
  color: #736f68;
  font: 400 16px/1.5 var(--ui-font);
}

.download-card-mac:hover h3,
.download-card-mac:focus-within h3,
.download-card-ios:hover h3,
.download-card-ios:focus-within h3 {
  color: #ffffff;
}

.download-card-mac:hover p,
.download-card-mac:focus-within p,
.download-card-ios:hover p,
.download-card-ios:focus-within p {
  color: rgba(255, 255, 255, 0.78);
}

.download-card-ios:hover .waitlist-form label,
.download-card-ios:focus-within .waitlist-form label {
  color: #ffffff;
}

.download-card-ios:hover .waitlist-status,
.download-card-ios:focus-within .waitlist-status {
  color: rgba(255, 255, 255, 0.74);
}

.download-card-ios:hover .waitlist-status.is-error,
.download-card-ios:focus-within .waitlist-status.is-error {
  color: #ffd0c7;
}

.download-card .button {
  justify-self: start;
  align-self: end;
  min-height: 50px;
}

.download-card .button.is-disabled {
  opacity: 0.72;
}

.waitlist-form {
  display: grid;
  gap: 10px;
  align-self: end;
  margin-top: 2px;
}

.waitlist-form label {
  color: #080808;
  font: 600 13px/1.2 var(--ui-font);
}

.waitlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  max-width: 470px;
}

.waitlist-row input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(8, 8, 8, 0.14);
  border-radius: 999px;
  color: #080808;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font: 500 15px/1 var(--ui-font);
  outline: none;
}

.waitlist-row input[type="email"]:focus {
  border-color: rgba(74, 143, 212, 0.72);
  box-shadow: 0 0 0 4px rgba(74, 143, 212, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.waitlist-row .button {
  min-width: 96px;
  padding: 0 20px;
}

.waitlist-form.is-submitting .button {
  opacity: 0.72;
  pointer-events: none;
}

.waitlist-status {
  min-height: 18px;
  margin: 0;
  color: #736f68;
  font: 500 13px/1.35 var(--ui-font);
}

.waitlist-status.is-error {
  color: #a9361c;
}

.waitlist-website {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.setup-section {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 104px;
  padding: 0;
}

.setup-copy {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.setup-copy h2 {
  max-width: 980px;
  margin-bottom: 12px;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1;
}

@media (min-width: 901px) {
  .setup-copy h2 {
    white-space: nowrap;
  }
}

.setup-copy p {
  max-width: 660px;
  margin-bottom: 24px;
  color: var(--muted);
  font: 400 clamp(16px, 1.55vw, 20px)/1.45 var(--ui-font);
}

.setup-copy p a {
  color: var(--text);
  font-weight: 600;
}

.setup-carousel {
  position: relative;
  z-index: 1;
  width: 100%;
  justify-self: stretch;
  overflow: hidden;
  border-radius: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.setup-carousel::before,
.setup-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 34px;
  height: 100%;
  pointer-events: none;
}

.setup-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--page-bg), transparent);
}

.setup-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--page-bg), transparent);
}

.setup-carousel-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 4px 0;
  animation: setupCarousel 18s linear infinite;
}

.setup-carousel img {
  display: block;
  width: clamp(178px, 20vw, 252px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.setup-carousel:hover .setup-carousel-track,
.setup-carousel:focus-within .setup-carousel-track {
  animation-play-state: paused;
}

@keyframes setupCarousel {
  to {
    transform: translateX(calc(-50% - 21px));
  }
}

.setup-button {
  position: relative;
  z-index: 1;
  min-height: 52px;
  padding: 0 24px;
  color: #130a05;
  border-color: rgba(255, 168, 80, 0.64);
  background: linear-gradient(180deg, #ffb25c, #ff6a2a);
  box-shadow: 0 16px 42px rgba(255, 106, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  text-transform: none;
  letter-spacing: 0;
}

.buy-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto 88px;
  min-height: 310px;
  padding: clamp(34px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ffffff;
  background: #10243b;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.24);
  transition: border-color 900ms ease, box-shadow 1200ms ease, transform 1200ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .download-options {
    transform: none;
  }
}

.buy-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 13, 19, 0.72), rgba(7, 13, 19, 0.44) 48%, rgba(7, 13, 19, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.2));
  pointer-events: none;
  transition: opacity 1200ms ease;
}

.buy-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(125deg, rgba(120, 208, 255, 0.2), transparent 42%),
    linear-gradient(315deg, rgba(31, 87, 178, 0.22), transparent 54%);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1300ms ease, transform 1800ms ease;
  pointer-events: none;
}

.buy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1100ms ease, transform 2400ms ease;
  pointer-events: none;
}

.buy-bg-blue {
  background-image: url("./assets/backgrounds/transition/macos-tiger.jpg");
  opacity: 0.9;
}

.buy-bg-fish {
  background-image: url("./assets/backgrounds/transition/clown-fish.jpg");
}

.buy-bg-aurora {
  background-image: url("./assets/backgrounds/transition/aurora.jpg");
}

.buy-bg-blue {
  animation: tigerBlueCycle 12s ease-in-out infinite;
}

.buy-bg-fish {
  animation: tigerFishCycle 12s ease-in-out infinite;
}

.buy-bg-aurora {
  animation: tigerAuroraCycle 12s ease-in-out infinite;
}

.buy-section:hover .buy-bg,
.buy-section:focus-within .buy-bg {
  transform: scale(1.06);
}

.buy-section:hover,
.buy-section:focus-within {
  border-color: rgba(136, 208, 255, 0.28);
  box-shadow: 0 40px 130px rgba(31, 117, 190, 0.2);
  transform: translateY(-2px);
}

.buy-section:hover::after,
.buy-section:focus-within::after {
  opacity: 0.82;
}

.buy-section:hover::before,
.buy-section:focus-within::before {
  opacity: 1;
  transform: scale(1);
}

.buy-section:hover .buy-bg-blue,
.buy-section:focus-within .buy-bg-blue {
  animation-duration: 8s;
}

.buy-section:hover .buy-bg-fish,
.buy-section:focus-within .buy-bg-fish {
  animation-duration: 8s;
}

.buy-section:hover .buy-bg-aurora,
.buy-section:focus-within .buy-bg-aurora {
  animation-duration: 8s;
}

@keyframes tigerBlueCycle {
  0%,
  22%,
  100% {
    opacity: 0.88;
  }

  36%,
  84% {
    opacity: 0.08;
  }
}

@keyframes tigerFishCycle {
  0%,
  22%,
  64%,
  100% {
    opacity: 0;
  }

  36%,
  52% {
    opacity: 0.76;
  }
}

@keyframes tigerAuroraCycle {
  0%,
  56%,
  100% {
    opacity: 0;
  }

  72%,
  88% {
    opacity: 0.78;
  }
}

.buy-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.42);
}

.buy-content h2 {
  max-width: 620px;
  margin-bottom: 16px;
  font-family: var(--title-font);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
}

.buy-subtitle {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font: 500 clamp(15px, 1.7vw, 19px)/1.35 var(--ui-font);
}

.buy-button {
  min-height: 54px;
  padding: 0 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 32px;
  align-items: start;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 500 13px/1.35 var(--ui-font);
}

.footer-built {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 10px;
  text-align: right;
}

.footer-apps {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.footer-apps > span {
  color: var(--text);
}

.site-footer a:hover {
  color: var(--text);
}

.amore-badge {
  gap: 8px;
}

.amore-badge img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.swift-built {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.swift-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #ff6a2a;
  fill: currentColor;
  filter: drop-shadow(0 5px 14px rgba(255, 106, 42, 0.28));
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 8px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 430vh;
  }

  .hero-coverflow {
    height: 520px;
  }

  .floating-preview {
    width: 88vw;
  }

  .macbook-rig {
    width: 152vw;
  }

  .xdr-rig {
    width: 98vw;
  }

  .features,
  .download-options,
  .setup-section,
  .buy-section {
    padding-top: 72px;
  }

  .coverflow-history {
    grid-template-columns: 1fr;
  }

  .feature-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card,
  .feature-card-large,
  .feature-card-stack,
  .feature-card-tall,
  .feature-card-collection {
    grid-column: span 1;
    border-width: 0 0 1px;
  }

  .feature-card-split {
    grid-column: span 2;
  }

  .feature-card:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .feature-card:nth-last-child(-n + 2) {
    border-bottom-width: 0;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body.is-header-hidden .site-header {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 32px));
  }

  .site-header {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    width: auto;
    margin: 0;
  }

  .site-header,
  .site-footer,
  .hero,
  .coverflow-history,
  .download-options,
  .features,
  .buy-section {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    min-height: 460vh;
    padding-top: calc(92px + env(safe-area-inset-top));
  }

  .brand {
    margin-top: 4px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 11vw, 48px);
    line-height: 1;
    max-width: 100%;
  }

  h2 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1;
  }

  #features-title {
    font-size: clamp(34px, 9.2vw, 42px);
    white-space: normal;
  }

  h3 {
    font-size: 22px;
  }

  .hero-coverflow {
    min-height: 390px;
    height: 430px;
  }

  .hero-actions .button.primary {
    max-width: 100%;
    min-height: 56px;
    padding: 0 24px;
    font-size: clamp(14px, 4vw, 17px);
  }

  .hero-subtitle,
  .compatibility-note {
    max-width: 100%;
  }

  .feature-card-split {
    grid-column: span 1;
  }

  .feature-split-panel {
    min-height: 0;
  }

  .feature-split-panel + .feature-split-panel {
    border-top: 1px solid var(--line);
  }

  .feature-card-split .feature-image-panel-live,
  .feature-settings-panel {
    min-height: 220px;
  }

  .feature-settings-panel img {
    width: min(118%, 420px);
    max-height: 280px;
  }

  .hero-coverflow .album-card {
    width: clamp(150px, 50vw, 220px);
  }

  .hero-coverflow .coverflow-track {
    inset: 15% -8% 20%;
  }

  .scroll-showcase {
    height: 540vh;
  }

  .story-stage::before {
    inset: 92px 14px 34px;
  }

  .stage-title {
    top: 112px;
    width: calc(100% - 36px);
    font-size: clamp(28px, 7.4vw, 32px);
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-preview {
    width: min(86vw, 390px);
    height: 340px;
    min-height: 300px;
  }

  .macbook-rig {
    width: min(112vw, 520px);
  }

  .xdr-rig {
    width: min(108vw, 500px);
  }

  .footer-built {
    justify-items: end;
  }

  .screen-insert .album-card {
    width: clamp(112px, 34vw, 156px);
  }

  .xdr-screen .album-card {
    width: clamp(124px, 38vw, 170px);
  }

  .feature-bento {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:nth-child(even),
  .feature-card:nth-last-child(-n + 2) {
    min-height: 320px;
    border-width: 0 0 1px;
    border-left-width: 0;
  }

  .feature-card:last-child {
    border-bottom-width: 0;
  }

  .feature-card p {
    font-size: 14px;
  }

  .feature-stack-video,
  .feature-video-panel {
    min-height: clamp(220px, 62vw, 340px);
  }

  .feature-stack-video video,
  .feature-video-panel video {
    min-height: inherit;
  }

  .feature-album-wall {
    height: 204px;
  }

  .feature-album-wall span {
    width: 132px;
  }

  .feature-skeleton-collection span {
    width: clamp(142px, 44vw, 190px);
  }

  .download-options {
    margin-bottom: 72px;
  }

  .download-heading h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .download-card {
    min-height: 0;
    padding: 22px;
  }

  .waitlist-row {
    grid-template-columns: 1fr;
  }

  .waitlist-row .button {
    width: 100%;
  }

  .setup-section {
    width: min(100% - 24px, 1160px);
    margin-bottom: 72px;
  }

  .setup-copy h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .setup-carousel {
    width: 100%;
    justify-self: stretch;
  }

  .setup-carousel img {
    width: clamp(166px, 46vw, 212px);
  }

  .setup-button {
    max-width: 100%;
  }

  .mode-panel {
    bottom: 24px;
    max-width: calc(100% - 24px);
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 8px;
  }

  .mode-button {
    padding: 0 12px;
  }

  .buy-section {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) minmax(178px, auto);
  }

  .footer-apps,
  .footer-built {
    min-width: 0;
  }

  .footer-built {
    justify-items: end;
  }

  .footer-apps {
    align-items: flex-start;
    gap: 10px;
  }

  .coverflow-ui {
    align-items: flex-end;
  }
}
