/* Shared visual polish for the collection and its documentation. */
:root {
  --panel: #f4f4f3;
  --line: #ebebe8;
  --muted: #767671;
}
html {
  scroll-behavior: smooth;
}
.site-header {
  position: relative;
  max-width: 1600px;
  margin: auto;
  padding: 0 40px;
  height: 94px;
  z-index: 8;
}
.brand {
  font-size: 23px;
  letter-spacing: -1px;
}
.brand img {
  width: 27px;
  height: 27px;
}
.main-nav {
  font-size: 13px;
  gap: 27px;
}
.header-start {
  gap: 40px;
}
.search-field {
  background: #f5f5f3;
  border: 1px solid #eeeeeb;
  height: 44px;
  width: 250px;
}
.header-download {
  font-size: 12px;
  min-height: 43px;
  padding: 0 19px;
}
.mute-button {
  width: 39px;
  height: 39px;
}
.mute-button .icon {
  width: 18px;
  height: 18px;
}
.mobile-menu {
  display: none;
}
.button {
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button-dark:hover {
  box-shadow: 0 4px 12px #00000015;
}
.studio-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 40px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 70px;
  align-items: center;
}
.collection-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.2px;
  margin-bottom: 27px;
  color: #66665f;
}
.collection-label > span {
  width: 6px;
  height: 6px;
  background: #9b87c3;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f2edf9;
}
.hero-copy h1 {
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 1.04;
  letter-spacing: -4px;
  font-weight: 500;
  margin: 0;
}
.hero-copy h1 > span {
  color: #8c8c84;
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: -0.1px;
  color: #72726b;
  margin: 26px 0 29px;
  max-width: 470px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.hero-ctas .hero-download {
  font-size: 12px;
  height: 46px;
  padding: 0 20px;
  gap: 8px;
}
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #62625e;
}
.hero-secondary .icon {
  width: 16px;
  height: 16px;
}
.hero-secondary:hover {
  color: #19191b;
}
.hero-proof {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #73736b;
  margin-top: 23px;
}
.hero-proof > span {
  position: relative;
}
.hero-proof > span + span:before {
  content: "·";
  position: absolute;
  left: -11px;
  color: #b4b4ac;
}
.hero-instrument {
  min-width: 0;
  width: 100%;
  position: relative;
  isolation: isolate;
  min-height: 365px;
  aspect-ratio: 1.16;
  border-radius: 36px;
  background:
    radial-gradient(ellipse at 80% 10%, #ebe6f56b, transparent 55%), #f5f5f2;
  border: 1px solid #efeeeb;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.instrument-top {
  position: absolute;
  top: 25px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #74746a;
  font-size: 10px;
  letter-spacing: 0.1px;
  z-index: 2;
}
.instrument-top > span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #6f6f65;
}
.live-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #b0b8a0;
}
.instrument-rings {
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid #e5e4e0;
  border-radius: 50%;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.instrument-rings:before,
.instrument-rings:after {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid #e7e6e3;
  border-radius: 50%;
}
.instrument-rings:after {
  inset: -37px;
  border-color: #e9e8e56b;
}
.hero-sound {
  position: relative;
  width: 167px;
  height: 167px;
  transform: translateY(-10px);
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 23%,
    #c6a9fa,
    #9d69ed 40%,
    #8054d7 85%
  );
  box-shadow:
    inset 0 3px 10px #ffffff52,
    inset 0 -7px 16px #44209920,
    0 18px 38px #8452c52e;
  display: grid;
  place-items: center;
  transition:
    transform 0.4s cubic-bezier(0.2, 1, 0.3, 1),
    box-shadow 0.3s;
  z-index: 2;
}
.hero-sound:hover {
  transform: translateY(-14px) scale(1.04);
  box-shadow:
    inset 0 3px 10px #ffffff52,
    0 24px 45px #8452c53d;
}
.hero-sound .icon {
  width: 30px;
  height: 30px;
  fill: #ffffffeb;
  stroke: #ffffffeb;
  stroke-width: 1;
  transform: translateX(2px);
}
.hero-sound-glow {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  border-top: 1px solid #ffffff2b;
  pointer-events: none;
}
.floating-orb {
  position: absolute;
  border-radius: 50%;
  box-shadow:
    inset 0 2px 8px #ffffff70,
    0 8px 20px #00000009;
  z-index: 1;
}
.floating-orb-green {
  width: 42px;
  height: 42px;
  background: radial-gradient(circle at 30% 20%, #ccf2c4, #9bd4a0);
  left: 17%;
  top: 24%;
}
.floating-orb-peach {
  width: 31px;
  height: 31px;
  background: radial-gradient(circle at 30% 20%, #fbe2b7, #e4be8b);
  right: 16%;
  bottom: 29%;
}
.instrument-bottom {
  position: absolute;
  bottom: 25px;
  left: 26px;
  right: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.instrument-bottom > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.instrument-bottom strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.15px;
}
.instrument-bottom span {
  font-size: 10px;
  color: #737369;
}
.instrument-play {
  width: 33px;
  height: 33px;
  border: 1px solid #deded8;
  background: #fff8;
}
.instrument-play .icon {
  width: 15px;
  height: 15px;
}
.library {
  max-width: 1440px;
  padding: 0 40px 55px;
  margin: auto;
}
.collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 26px;
}
.collection-heading .eyebrow,
.integrations-heading .eyebrow {
  font-size: 10px;
  letter-spacing: 1.25px;
  margin: 0 0 12px;
  color: #74746a;
}
.collection-heading h2 {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.9px;
  margin: 0;
}
.collection-count {
  font-size: 10px;
  letter-spacing: 0;
  border: 1px solid #e6e6df;
  border-radius: 8px;
  padding: 4px 7px;
  color: #818177;
}
.collection-heading > p {
  font-size: 11px;
  color: #74746a;
  margin: 0 0 3px;
}
.library > .category-list {
  position: sticky;
  top: 0;
  background: #fffefa;
  backdrop-filter: blur(12px);
  z-index: 4;
  padding: 12px 0;
  margin: -12px 0 0;
  gap: 6px;
  border-bottom: 1px solid #f2f2ed;
}
.category {
  font-size: 11px;
  padding: 10px 15px;
  background: #f4f4f1;
  color: #74746c;
  line-height: 1.4;
}
.category.is-selected {
  background: #252522;
}
.saved-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.saved-category .icon {
  width: 12px;
  height: 12px;
}
.saved-category > span {
  font-size: 10px;
  opacity: 0.7;
}
.library-toolbar {
  padding: 16px 1px;
  min-height: 55px;
}
.library-toolbar p {
  font-size: 10px;
  color: #74746a;
}
.library-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}
.shortcut-note {
  font-size: 10px;
  color: #a1a196;
}
.shortcut-note kbd {
  font:
    10px Inter,
    sans-serif;
  padding: 2px 6px;
  background: #f7f7f4;
  border: 1px solid #e9e9e2;
  border-radius: 5px;
  margin-right: 3px;
}
.preview-volume {
  display: flex;
  align-items: center;
  gap: 7px;
}
.preview-volume .icon {
  width: 14px;
  height: 14px;
  color: #96968b;
}
.preview-volume input {
  width: 64px;
  accent-color: #7e7d74;
  height: 3px;
  cursor: pointer;
}
.sound-grid {
  gap: 14px;
}
.sound-card {
  aspect-ratio: 1.35;
  border-radius: 24px;
  background: #f4f4f2;
  border: 1px solid #efefeb;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}
.sound-card:hover {
  background: #f0f0ed;
  box-shadow: 0 5px 16px #00000004;
  transform: translateY(-2px);
}
.orb {
  height: clamp(76px, 7.1vw, 105px);
  width: clamp(76px, 7.1vw, 105px);
  top: 48%;
  box-shadow:
    inset 0 3px 8px #ffffff30,
    inset 0 -4px 12px #00000008,
    0 10px 24px var(--orb-shadow, #00000003);
}
.orb:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 25% 15%, #ffffff24, transparent 60%);
  pointer-events: none;
}
.card-caption {
  left: 18px;
  bottom: 19px;
  gap: 4px;
}
.sound-title {
  font-size: 12px;
  color: #46463f;
}
.sound-meta {
  font-size: 10px;
  color: #707065;
}
.card-action {
  right: 14px;
  bottom: 17px;
  width: 31px;
  height: 31px;
  background: #fff;
  color: #737369;
}
.card-action .icon {
  width: 14px;
  height: 14px;
}
.duration {
  font-size: 10px;
  color: #9b9b8d;
}
.integrations {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 40px 75px;
  scroll-margin-top: 30px;
}
.integrations-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 27px;
}
.integrations-heading h2 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 0;
}
.integrations-heading p {
  font-size: 11px;
  line-height: 1.8;
  color: #707066;
  margin: 0;
}
.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.integration-card {
  padding: 30px;
  border-radius: 26px;
  border: 1px solid #eaeae4;
  background: #fafaf7;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.integration-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 27px;
}
.platform-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 500;
}
.react-mark {
  color: #6c7b93;
  background: #eaeef5;
}
.flutter-mark {
  color: #7b6d9a;
  background: #eeebf5;
}
.integration-badge {
  font-size: 10px;
  color: #74746a;
  border: 1px solid #e3e3db;
  border-radius: 20px;
  padding: 6px 9px;
}
.integration-card h3 {
  font-size: 23px;
  letter-spacing: -0.7px;
  font-weight: 500;
  margin: 0 0 13px;
}
.integration-card p {
  font-size: 12px;
  line-height: 1.85;
  color: #6f6f65;
  max-width: 420px;
  margin: 0 0 20px;
}
.integration-card code {
  font:
    11px/1.8 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #767666;
  background: #f0f0e9;
  padding: 13px 16px;
  border: 1px solid #e8e8df;
  border-radius: 12px;
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  margin-bottom: 23px;
  overflow-wrap: anywhere;
}
.integration-card .text-link {
  font-size: 11px;
  margin-top: auto;
}
.site-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px 0 38px;
}
.site-footer .brand {
  font-size: 20px;
}
.site-footer p,
.site-footer > div a {
  font-size: 10px;
}
.detail-info {
  background: #f4f4f1;
}
.detail-stage {
  background:
    radial-gradient(ellipse at 80% 10%, #f0edf8a0, transparent 65%), #f4f4f1;
}
.detail-orb {
  box-shadow:
    inset 0 6px 20px #ffffff22,
    inset 0 -8px 20px #00000006,
    0 26px 50px #00000005;
}
.detail-heading h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #727267;
  margin-bottom: 9px;
}
.detail-heading p {
  color: #292921;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.detail-description {
  font-size: 13px;
  color: #6f6f65;
  line-height: 1.9;
}
.detail-stats > div {
  background: #eaeae4;
  font-size: 12px;
  min-height: 44px;
}
.detail-stats dt {
  color: #6d6d62;
}
.detail-stats dd {
  color: #676758;
}
.audio-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.audio-tags > span {
  font-size: 10px;
  color: #6c6c60;
  border: 1px solid #dfdfd4;
  border-radius: 20px;
  padding: 5px 8px;
}
.detail-timeline {
  margin-top: 30px;
}
.audio-waveform {
  height: 53px;
  position: relative;
  --playhead: 0%;
}
.waveform-track,
.waveform-played {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}
.waveform-track > span,
.waveform-played > span {
  flex: 1;
  height: calc(var(--amplitude) * 100%);
  min-height: 3px;
  max-height: 100%;
  background: #ddddd2;
  border-radius: 3px;
}
.waveform-played {
  clip-path: inset(0 calc(100% - var(--playhead)) 0 0);
}
.waveform-played > span {
  background: #9984bd;
}
.timeline-times {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #747467;
  margin-top: 9px;
}
.detail-volume {
  margin-top: 27px;
  font-size: 10px;
}
.detail-volume input {
  accent-color: #8a8978;
}
.detail-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.detail-navigation button {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  color: #6d6d60;
  font-size: 10px;
  padding: 9px 0;
}
.detail-navigation button:hover {
  color: #282821;
}
.detail-navigation .icon {
  width: 14px;
  height: 14px;
}
.detail-navigation > span {
  font-size: 10px;
  color: #747466;
}
.detail-buttons .button {
  font-size: 12px;
  min-height: 45px;
}
.detail-buttons .button .icon {
  width: 16px;
  height: 16px;
}
.detail-info {
  padding: 28px;
}
.docs-hero h1 {
  font-weight: 500;
}
.docs-library {
  max-width: 1440px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}
@media (min-width: 1700px) {
  .studio-hero {
    padding-top: 95px;
    padding-bottom: 98px;
  }
  .hero-instrument {
    min-height: 400px;
  }
  .hero-copy h1 {
    font-size: 82px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .category {
    font-size: 12px;
  }
  .sound-card .sound-title {
    font-size: 13px;
  }
  .sound-card .sound-meta {
    font-size: 10px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding: 0 25px;
    gap: 16px;
  }
  .header-start {
    gap: 25px;
  }
  .main-nav {
    gap: 17px;
    font-size: 12px;
  }
  .main-nav a[href="#integrations"] {
    display: none;
  }
  .studio-hero {
    padding: 65px 30px 70px;
    gap: 36px;
  }
  .hero-copy h1 {
    font-size: 59px;
    letter-spacing: -3px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-instrument {
    min-height: 325px;
    aspect-ratio: 1.05;
  }
  .hero-sound {
    width: 140px;
    height: 140px;
  }
  .instrument-rings {
    width: 275px;
    height: 275px;
  }
  .hero-proof {
    font-size: 10px;
    gap: 15px;
  }
  .hero-proof > span + span:before {
    left: -9px;
  }
  .library,
  .integrations {
    padding-left: 30px;
    padding-right: 30px;
  }
  .collection-heading h2 {
    font-size: 22px;
  }
  .category {
    font-size: 11px;
    padding: 9px 13px;
  }
  .site-footer {
    margin: 0 30px;
  }
  .docs-library {
    padding-left: 25px;
    padding-right: 25px;
  }
  .integration-card {
    padding: 26px;
  }
  .integration-card h3 {
    font-size: 21px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 78px;
    padding: 18px 20px;
    gap: 15px;
  }
  .header-start {
    gap: 0;
  }
  .header-download {
    display: none;
  }
  .mobile-menu {
    display: grid;
    width: 38px;
    height: 38px;
    border: 1px solid #ecece6;
  }
  .site-header .brand {
    font-size: 23px;
    gap: 8px;
  }
  .site-header .brand img {
    width: 26px;
    height: 26px;
  }
  .site-header .search-field {
    height: 42px;
    width: 100%;
    order: 3;
  }
  .site-header[data-menu-open] .main-nav {
    display: flex;
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    background: #fff;
    border: 1px solid #e9e9e3;
    box-shadow: 0 10px 20px #0000000b;
    padding: 20px;
    border-radius: 18px;
    gap: 25px;
    z-index: 20;
  }
  .site-header[data-menu-open] .main-nav a[href="#integrations"] {
    display: block;
  }
  .studio-hero {
    padding: 46px 22px 57px;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .collection-label {
    font-size: 10px;
    margin-bottom: 23px;
  }
  .hero-copy h1 {
    font-size: clamp(45px, 11.7vw, 64px);
    letter-spacing: -2.8px;
    line-height: 1.06;
  }
  .hero-copy > p {
    font-size: 14px;
    line-height: 1.8;
    margin: 23px 0 25px;
    max-width: 380px;
  }
  .hero-ctas {
    gap: 22px;
  }
  .hero-ctas .hero-download {
    font-size: 12px;
    padding: 0 18px;
  }
  .hero-secondary {
    font-size: 11px;
    gap: 6px;
  }
  .hero-proof {
    font-size: 10px;
    gap: 17px;
    margin-top: 22px;
  }
  .hero-proof > span + span:before {
    left: -10px;
  }
  .hero-instrument {
    min-height: 0;
    height: 310px;
    max-height: 380px;
    aspect-ratio: auto;
    border-radius: 27px;
  }
  .hero-sound {
    width: 145px;
    height: 145px;
  }
  .instrument-top {
    left: 22px;
    right: 22px;
    top: 22px;
    font-size: 10px;
  }
  .instrument-bottom {
    left: 22px;
    right: 20px;
    bottom: 21px;
  }
  .instrument-bottom strong {
    font-size: 11px;
  }
  .instrument-bottom span {
    font-size: 10px;
  }
  .floating-orb-green {
    width: 32px;
    height: 32px;
    left: 15%;
    top: 23%;
  }
  .floating-orb-peach {
    width: 25px;
    height: 25px;
  }
  .library {
    padding: 0 16px 37px;
  }
  .collection-heading {
    margin-bottom: 22px;
    align-items: flex-start;
  }
  .collection-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .collection-heading h2 {
    font-size: 20px;
    letter-spacing: -0.65px;
    gap: 8px;
  }
  .collection-count {
    font-size: 9px;
    padding: 3px 5px;
  }
  .collection-heading > p {
    display: none;
  }
  .category {
    font-size: 10px;
    padding: 9px 12px;
  }
  .library > .category-list {
    margin-right: -16px;
    padding-right: 16px;
    gap: 5px;
  }
  .library-toolbar {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    min-height: 50px;
  }
  .library-toolbar p {
    font-size: 10px;
  }
  .shortcut-note {
    display: none;
  }
  .library-tools {
    gap: 0;
  }
  .preview-volume input {
    width: 48px;
  }
  .preview-volume .icon {
    width: 12px;
    height: 12px;
  }
  .sound-grid {
    gap: 10px;
  }
  .sound-card {
    border-radius: 22px;
    aspect-ratio: 1.02;
  }
  .orb {
    width: 76px;
    height: 76px;
    top: 47%;
    box-shadow:
      inset 0 3px 8px #ffffff20,
      0 7px 18px #00000004;
  }
  .card-caption {
    left: 14px;
    bottom: 15px;
    right: 44px;
  }
  .sound-title {
    font-size: 11px;
  }
  .sound-meta {
    font-size: 9px;
  }
  .card-action {
    bottom: 15px;
    right: 10px;
    width: 27px;
    height: 27px;
  }
  .card-action .icon {
    width: 12px;
    height: 12px;
  }
  .integrations {
    padding: 30px 16px 50px;
  }
  .integrations-heading {
    margin-bottom: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .integrations-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .integrations-heading h2 {
    font-size: 25px;
  }
  .integrations-heading p {
    font-size: 11px;
  }
  .integration-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .integration-card {
    padding: 26px;
    border-radius: 23px;
  }
  .integration-card h3 {
    font-size: 23px;
  }
  .integration-card p {
    font-size: 12px;
  }
  .integration-card code {
    font-size: 10px;
  }
  .site-footer {
    margin: 0 18px;
    padding: 25px 0 35px;
  }
  .site-footer > div a,
  .site-footer p {
    font-size: 10px;
  }
  .docs-library {
    padding-left: 16px;
    padding-right: 16px;
  }
  .detail-info {
    padding: 25px;
  }
  .detail-heading p {
    font-size: 27px;
  }
  .detail-heading h2 {
    font-size: 10px;
  }
  .detail-description {
    font-size: 12px;
  }
  .detail-timeline {
    margin-top: 23px;
  }
  .detail-volume {
    margin-bottom: 20px;
  }
  .waveform-track,
  .waveform-played {
    gap: 2px;
  }
  .detail-navigation {
    margin-top: 7px;
  }
  .detail-stage {
    min-height: 280px;
  }
  .detail-layout {
    grid-template-rows: minmax(280px, 42dvh) auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-sound:hover,
  .sound-card:hover {
    transform: none;
  }
}
