:root {
  color-scheme: dark;
  --bg: #090408;
  --bg-2: #140911;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 177, 207, 0.22);
  --line-soft: rgba(255, 177, 207, 0.12);
  --text: #fff6fa;
  --muted: #cbb2bd;
  --faint: #8f7480;
  --accent: #ffb1cf;
  --accent-2: #c5b8ff;
  --gold: #ffd38d;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(116deg, rgba(255, 177, 207, 0.14), transparent 38%),
    linear-gradient(246deg, rgba(197, 184, 255, 0.1), transparent 42%),
    linear-gradient(180deg, #10070d 0%, var(--bg) 52%, #050204 100%);
  color: var(--text);
  font-family: var(--sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 177, 207, 0.055) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(180deg, rgba(255, 177, 207, 0.04) 0 1px, transparent 1px 86px);
  opacity: 0.48;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

#wavefield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.wrap {
  width: min(var(--maxw), 100%);
  margin: 0 auto;
  padding: 0 26px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 clamp(18px, 5vw, 58px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(9, 4, 8, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
}

.brand,
.top-nav,
.release-top,
.tag,
.step,
.flow-head,
.app-head,
.app-head div,
.statusbar,
.status-icons,
.tabbar,
.footer-inner,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--text);
  font-weight: 500;
}

.brand img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(255, 177, 207, 0.35));
}

.brand b {
  font-weight: 750;
}

.top-nav {
  gap: 28px;
}

.top-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

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

.top-nav .nav-cta {
  min-height: 42px;
  padding: 0 18px;
  color: #1a0b12;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 14px 34px -18px var(--accent);
}

.download-hero {
  padding: clamp(58px, 8vh, 96px) 0 clamp(70px, 10vh, 112px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--text);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin: 22px 0 18px;
  max-width: 760px;
  font-size: clamp(3.2rem, 6.2vw, 6.2rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.15rem);
  line-height: 1.03;
}

.lede {
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.62;
}

.release-card {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: 0 28px 78px -44px #000;
}

.release-top {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tag {
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}

.tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.version {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.release-card h2 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 1.32rem;
  font-weight: 750;
}

.release-card p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.56;
}

.steps {
  display: grid;
  gap: 2px;
}

.step {
  position: relative;
  gap: 13px;
  min-height: 38px;
  color: var(--muted);
}

.step::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: var(--line-soft);
}

.step:first-child::before {
  top: 50%;
}

.step:last-child::before {
  bottom: 50%;
}

.step span {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-2);
  font-size: 0.74rem;
}

.step.done span {
  color: var(--accent);
  border-color: rgba(255, 177, 207, 0.5);
  background: rgba(255, 177, 207, 0.13);
}

.step.active span::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.step strong {
  color: inherit;
  font-size: 0.92rem;
}

.step.done strong,
.step.active strong {
  color: var(--text);
}

.step em {
  margin-left: auto;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-stage {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.phone {
  width: 314px;
  flex: none;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(160deg, #4a3343, #22141e 55%, #0d070c);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.12),
    0 40px 90px -34px #000,
    0 0 0 1px rgba(255, 177, 207, 0.24),
    0 0 70px -24px rgba(255, 177, 207, 0.55);
}

.phone > .statusbar,
.app-head,
.screen-body,
.tabbar {
  background: linear-gradient(180deg, #21131d, #160c13);
}

.statusbar {
  justify-content: space-between;
  height: 40px;
  padding: 12px 25px 4px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.75rem;
  border-radius: 32px 32px 0 0;
}

.status-icons {
  gap: 5px;
}

.status-icons i {
  width: 13px;
  height: 8px;
  border-radius: 2px;
  background: var(--muted);
  opacity: 0.8;
}

.status-icons b {
  width: 21px;
  height: 10px;
  position: relative;
  display: inline-block;
  border: 1px solid var(--muted);
  border-radius: 3px;
}

.status-icons b::after {
  content: "";
  position: absolute;
  inset: 2px 6px 2px 2px;
  border-radius: 1px;
  background: var(--accent);
}

.app-head {
  justify-content: space-between;
  padding: 8px 18px 12px;
}

.app-head div {
  gap: 9px;
  color: var(--text);
  font-weight: 750;
}

.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #1a0b12;
  font-weight: 850;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.screen-body {
  height: 520px;
  overflow: hidden;
  position: relative;
}

.screen {
  height: 100%;
  display: none;
  overflow-y: auto;
  padding: 4px 16px 18px;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  display: none;
}

.screen.active {
  display: block;
}

.searchbar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 12px;
  padding: 10px 12px;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.searchbar input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
}

.searchbar input::placeholder {
  color: var(--faint);
}

.screen-hint {
  margin: 0 2px 10px;
  color: var(--faint);
  font-size: 0.81rem;
}

.rows {
  display: grid;
  gap: 8px;
}

.track-row,
.review-card {
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.track-row.open,
.review-card {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.track-main {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.art {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--art-a), var(--art-b));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

.track-meta strong,
.track-meta span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-meta strong {
  color: var(--text);
  font-size: 0.92rem;
}

.track-meta span,
.track-len {
  color: var(--muted);
  font-size: 0.78rem;
}

.track-len {
  font-family: var(--mono);
}

.preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 13px;
}

.play,
.queue-button,
.review-card button,
.discovery-actions button {
  border: 0;
  cursor: pointer;
}

.play {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.progress {
  height: 3px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress i {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: seek 8s linear infinite alternate;
}

.queue-button {
  min-height: 34px;
  padding: 0 12px;
  color: #1a0b12;
  font-weight: 800;
  border-radius: 999px;
  background: var(--accent);
}

.badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.flow-head {
  justify-content: space-between;
  gap: 14px;
  padding: 8px 2px 12px;
}

.flow-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
}

.flow-head span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.review-card {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.review-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.reason {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.reason span {
  display: block;
  margin-bottom: 3px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.review-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.review-actions button,
.discovery-actions button {
  min-height: 38px;
  border-radius: 8px;
  font-weight: 750;
}

.keep,
.keep-rec {
  color: #1a0b12;
  background: var(--accent);
}

.remove,
.skip-rec {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.discovery-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.discovery-card .art {
  width: 132px;
  height: 132px;
}

.discovery-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
}

.discovery-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.discovery-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 9px 10px 10px;
  border-top: 1px solid var(--line-soft);
  border-radius: 0 0 32px 32px;
}

.tab {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 4px 0;
  color: var(--faint);
  border: 0;
  background: none;
  cursor: pointer;
}

.tab span {
  font-size: 1.12rem;
  line-height: 1;
}

.tab em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 750;
}

.tab b {
  position: absolute;
  top: -2px;
  right: 13px;
  min-width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  color: #1a0b12;
  font-size: 0.56rem;
  border-radius: 999px;
  background: var(--accent);
}

.tab.active {
  color: var(--accent);
}

.tabbar {
  grid-template-columns: repeat(5, 1fr);
}

.phone > .statusbar,
.app-head,
.screen-body,
.tabbar {
  background: #070407;
}

.app-head {
  gap: 8px;
  padding: 8px 13px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.app-title {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 1px;
}

.app-title strong,
.app-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-title strong {
  color: var(--text);
  font-size: 0.98rem;
}

.app-title span {
  color: var(--muted);
  font-size: 0.68rem;
}

.icon-button,
.top-queue,
.metric-card,
.action-grid button,
.button-row button,
.full-button,
.mode-switch button,
.recent-searches button,
.mini-delete {
  border: 0;
  cursor: pointer;
}

.icon-button,
.top-queue {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--text);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.top-queue {
  position: relative;
  color: var(--accent);
}

.top-queue b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: #19030c;
  border-radius: 999px;
  background: var(--accent);
  font-size: 0.58rem;
}

.phone-hero-card,
.screen-card,
.metric-card,
.queue-group,
.playlist-row,
.empty-panel {
  border: 1px solid rgba(109, 77, 95, 0.88);
  border-radius: 14px;
  background: #130a11;
}

.phone-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 12px;
  padding: 14px;
  background: linear-gradient(135deg, #21131d, #291823);
}

.phone-hero-card.compact {
  align-items: flex-start;
}

.phone-hero-card h3,
.screen-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
}

.phone-hero-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.status-chip,
.chip-row span,
.chip-row button {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
}

.status-chip.good {
  color: #06140f;
  background: #34d399;
}

.status-chip.warn,
.chip-row span,
.chip-row button {
  color: #19030c;
  background: var(--accent);
}

.metric-grid,
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 10px;
}

.metric-card {
  min-width: 0;
  display: grid;
  gap: 4px;
  justify-items: start;
  padding: 11px;
  text-align: left;
}

.metric-card span {
  color: var(--accent);
  font-size: 1rem;
}

.metric-card em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
}

.metric-card strong {
  color: var(--accent);
  font-size: 1.22rem;
}

.screen-card {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 13px;
}

.label {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.action-grid button,
.button-row button,
.full-button,
.mode-switch button,
.recent-searches button {
  min-height: 38px;
  color: var(--text);
  border-radius: 10px;
  background: #21131d;
  font-weight: 800;
}

.action-grid button {
  text-align: center;
}

.activity-list {
  display: grid;
  gap: 8px;
}

.activity-list p {
  margin: 0;
  display: grid;
  gap: 2px;
}

.activity-list strong {
  color: var(--text);
  font-size: 0.82rem;
}

.activity-list span {
  color: var(--muted);
  font-size: 0.72rem;
}

.full-button {
  width: 100%;
  margin-bottom: 9px;
  color: #19030c;
  background: var(--accent);
}

.full-button.success {
  color: #04130d;
  background: #34d399;
}

.full-button.danger {
  color: #190308;
  background: #ff8aa0;
}

.button-row,
.chip-row,
.mode-switch,
.recent-searches {
  display: flex;
  gap: 8px;
}

.button-row {
  margin-bottom: 10px;
}

.button-row button {
  flex: 1;
}

.danger-text {
  color: #ff8aa0 !important;
}

.chip-row {
  flex-wrap: wrap;
  margin-bottom: 9px;
}

.recent-searches {
  flex-wrap: wrap;
  margin: 0 0 10px;
}

.recent-searches button {
  min-height: 30px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.7rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.035);
}

.queue-group,
.playlist-row {
  overflow: hidden;
}

.group-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border-radius: 12px;
  background: rgba(255, 177, 207, 0.14);
}

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

.mini-delete {
  width: 30px;
  height: 30px;
  color: #ff8aa0;
  border-radius: 999px;
  background: rgba(255, 138, 160, 0.12);
  font-size: 1.1rem;
}

.mode-switch {
  padding: 3px;
  border-radius: 12px;
  background: #21131d;
}

.mode-switch button {
  flex: 1;
  min-height: 32px;
  color: var(--muted);
  background: transparent;
}

.mode-switch button.active {
  color: #19030c;
  background: var(--accent);
}

.mock-field {
  display: grid;
  gap: 6px;
}

.mock-field span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.mock-field textarea {
  min-height: 70px;
  resize: none;
  color: var(--text);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  outline: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.toggle-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
}

.toggle-line b {
  color: #04130d;
  border-radius: 999px;
  padding: 4px 9px;
  background: #34d399;
}

.empty-panel {
  display: grid;
  gap: 4px;
  padding: 16px;
  text-align: center;
}

.empty-panel strong {
  color: var(--text);
}

.empty-panel span {
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-wave {
  width: min(420px, 100%);
  height: 90px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 8px;
  opacity: 0.72;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.mini-wave span {
  height: var(--h, 50px);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), rgba(255, 177, 207, 0.05));
  animation: rise 2.6s var(--ease) infinite alternate;
}

.inside,
.specs {
  padding: clamp(76px, 11vh, 140px) 0;
  border-top: 1px solid var(--line-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 18px 0 0;
}

.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--line-soft);
}

.caps article {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 32px;
  background: rgba(9, 4, 8, 0.88);
}

.caps span,
.spec-list span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.caps h3 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 1.35rem;
}

.caps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.specs-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 7vw, 80px);
  align-items: center;
  padding: clamp(34px, 6vw, 62px);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.specs h2 {
  margin: 18px 0 14px;
}

.specs p {
  margin-bottom: 0;
}

.spec-list {
  display: grid;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.spec-list div:last-child {
  border-bottom: 0;
}

.spec-list strong {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  justify-content: space-between;
  gap: 24px;
  padding: 32px 26px 54px;
}

.site-footer nav {
  gap: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes seek {
  from {
    transform: translateX(-20%);
  }
  to {
    transform: translateX(170%);
  }
}

@keyframes rise {
  from {
    height: 16px;
  }
  to {
    height: var(--h, 74px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .top-nav a:not(.nav-cta) {
    display: none;
  }

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

  .phone-stage {
    justify-items: start;
    order: -1;
  }

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

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }

  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand span {
    max-width: 150px;
  }

  .top-nav .nav-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.88rem;
  }

  .download-hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 4.9rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.35rem);
  }

  .release-card {
    padding: 18px;
  }

  .release-top,
  .step {
    align-items: flex-start;
  }

  .version,
  .step em {
    display: none;
  }

  .phone {
    width: min(314px, 100%);
  }

  .caps article {
    min-height: 176px;
    padding: 24px;
  }

  .footer-inner,
  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mini-wave span,
  .progress i,
  .step.active span::after {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
