:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #747474;
  --paper: #f7f5f1;
  --paper-2: #efede7;
  --line: rgba(0, 0, 0, 0.1);
  --blue: #007aff;
  --green: #30d158;
}

@font-face {
  font-family: "Stack Sans Notch";
  src: url("assets/fonts/StackSansNotch-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 72px;
  position: sticky;
  top: 0;
  z-index: 20;
  flex-wrap: nowrap;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Stack Sans Notch", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
}

.brand img,
.brand-row img {
  border-radius: 10px;
  filter: drop-shadow(0 12px 24px rgba(41, 38, 34, 0.13));
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  filter: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 15px;
}

nav a,
.site-footer a {
  text-decoration: none;
}

nav a:hover,
.text-page a:hover {
  color: var(--blue);
}

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

.app-store-badge {
  display: inline-flex;
  cursor: pointer;
}

.app-store-badge img {
  width: 188px;
  height: auto;
  border-radius: 0;
  filter: none;
  pointer-events: none;
}

.screen {
  width: min(1160px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto 22px;
  padding: 74px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.hero-screen {
  border-top: 0;
  padding-top: 36px;
}

.screen-copy {
  display: grid;
  gap: 26px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 24px;
  font-weight: 760;
}

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

h1,
h2 {
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: 1.02;
  font-weight: 780;
}

h3 {
  font-size: 28px;
  font-weight: 760;
}

.screen-copy p,
.text-page p {
  max-width: 620px;
  color: var(--muted);
  font-size: 28px;
  line-height: 1.24;
}

.button {
  width: fit-content;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  color: #fff;
  background: var(--blue);
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.screen-visual,
.desktop,
.player-card {
  position: relative;
}

.desktop {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #eef0f2;
  box-shadow: 0 36px 86px rgba(58, 55, 48, 0.12);
}

.menu-bar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: rgba(0, 0, 0, 0.68);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--line);
}

.menu-panel,
.large-panel {
  width: min(390px, calc(100% - 54px));
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: rgba(42, 42, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(36px);
}

.menu-panel {
  position: absolute;
  top: 104px;
  right: 38px;
}

.large-panel {
  position: relative;
  justify-self: end;
  width: min(480px, 100%);
}

.media-controls {
  display: flex;
  justify-content: center;
  gap: 28px;
  height: 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 24px;
}

.primary-button {
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 22px;
  font-weight: 760;
}

.listening {
  padding: 22px 0 12px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 650;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  gap: 20px 12px;
  align-items: baseline;
  margin-top: 22px;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 20px;
  font-weight: 650;
}

.metric-grid strong {
  font-size: 29px;
}

.metric-grid i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.panel-footer {
  margin-top: 28px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-footer span,
.panel-footer strong {
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.13);
}

.privacy-card {
  width: min(520px, 100%);
  justify-self: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 30px 70px rgba(58, 55, 48, 0.1);
}

.privacy-card h3 {
  margin-bottom: 24px;
}

.privacy-card div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.privacy-card strong {
  color: var(--ink);
}

.privacy-card span {
  color: var(--green);
  font-weight: 760;
}

.detail-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-box div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.detail-box p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.chips span {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
}

.copied {
  position: absolute;
  right: -24px;
  top: 96px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.final-screen {
  border-bottom: 1px solid var(--line);
}

.player-card {
  min-height: 480px;
  display: grid;
  place-items: center;
}

.bars {
  position: absolute;
  inset: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0.22;
}

.bars span {
  width: 18px;
  border-radius: 999px;
  background: var(--blue);
}

.bars span:nth-child(1) { height: 170px; }
.bars span:nth-child(2) { height: 250px; }
.bars span:nth-child(3) { height: 340px; }
.bars span:nth-child(4) { height: 410px; }
.bars span:nth-child(5) { height: 260px; }
.bars span:nth-child(6) { height: 210px; }
.bars span:nth-child(7) { height: 360px; }
.bars span:nth-child(8) { height: 300px; }
.bars span:nth-child(9) { height: 230px; }
.bars span:nth-child(10) { height: 390px; }
.bars span:nth-child(11) { height: 270px; }
.bars span:nth-child(12) { height: 320px; }

.player {
  position: relative;
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 70px rgba(58, 55, 48, 0.12);
}

.player div:first-child {
  display: grid;
  gap: 5px;
}

.player span {
  color: var(--muted);
}

.player-controls {
  color: var(--muted);
  font-size: 26px;
  white-space: nowrap;
}

.site-footer {
  min-height: 92px;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.text-page {
  width: min(820px, calc(100% - 40px));
  min-height: calc(100vh - 178px);
  margin: 0 auto;
  padding: 70px 0;
  display: grid;
  align-content: start;
  gap: 28px;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.38;
}

.text-page section {
  display: grid;
  gap: 10px;
}

.text-page h1 {
  font-size: clamp(42px, 6vw, 64px);
}

.text-page h2 {
  font-size: 26px;
}

.text-page a {
  color: var(--blue);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    font-size: 19px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  nav .app-store-badge img {
    width: 124px;
  }

  .screen {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
    padding: 58px 0;
  }

  .screen-copy p {
    font-size: 23px;
  }

  .large-panel,
  .privacy-card {
    justify-self: stretch;
  }

  .copied {
    right: 18px;
  }
}

@media (max-width: 520px) {
  nav {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .menu-panel {
    right: 20px;
    width: calc(100% - 40px);
  }

  .metric-grid strong {
    font-size: 24px;
  }

  .player {
    align-items: flex-start;
    flex-direction: column;
  }
}
