:root {
  color-scheme: dark;
  --background: #101816;
  --ink: #f0f4e9;
  --muted: #b0beb3;
  --line: #33473d;
  --mint: #ceeaad;
  --button-ink: #182414;
  --gutter: clamp(1rem, 4vw, 3.75rem);
  font: 100%/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--mint); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--button-ink); }
[hidden] { display: none !important; }

.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: middle;
}

.wrap { width: min(100% - 2 * var(--gutter), 81rem); margin-inline: auto; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
}
.site-header { min-height: 4.5rem; border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; gap: clamp(.65rem, 3vw, 2rem); }
.site-header a, .site-footer a { text-decoration: none; }
.site-header nav a, .site-footer > a:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .875rem;
}
.site-header nav a:hover, .site-footer > a:last-child:hover { color: var(--mint); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.brand .icon { color: var(--mint); width: 1.4em; height: 1.4em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.25rem);
  padding-block: clamp(3rem, 7vw, 6.25rem) clamp(3.25rem, 7vw, 6.5rem);
}
.intro h1 {
  color: var(--mint);
  font-size: clamp(2.7rem, 5.1vw, 4.8rem);
  letter-spacing: -.04em;
  line-height: .99;
  font-weight: 720;
  text-wrap: balance;
}
.intro > p:first-of-type {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 38ch;
  margin-block: 1.4rem 1.65rem;
  text-wrap: pretty;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.15rem; }
.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-weight: 650;
}
.button {
  min-height: 3rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  text-align: center;
  text-decoration: none;
}
.primary { background: var(--mint); color: var(--button-ink); }
.primary:hover { background: #def4c4; color: var(--button-ink); }
.secondary { border-color: #738a75; color: var(--ink); }
.secondary:hover { background: #2c3c30; border-color: var(--mint); }
.text-link {
  min-height: 2.75rem;
  color: var(--mint);
  font-size: .9rem;
  text-decoration: none;
}
.text-link:hover { color: #eaf9d6; text-decoration: underline; }
.requirements { color: var(--muted); font-size: .8rem; margin-top: .8rem; }

.demo, .offer, .install { min-width: 0; scroll-margin-top: 1rem; }
.desktop {
  position: relative;
  min-height: clamp(23rem, 35vw, 27rem);
  overflow: hidden;
  isolation: isolate;
  background: #25413e url("coast.webp") center 59% / cover;
  border: 1px solid #5e7569;
  border-radius: .9rem;
  box-shadow: 0 20px 50px #0005;
}
.menubar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 2rem;
  padding: .35rem .75rem;
  background: #172526ed;
  color: #e2ece8;
  font-size: .72rem;
  font-weight: 650;
}
.island {
  --notch-height: 2rem;
  --notch-width: clamp(4.5rem, 12vw, 7rem);
  position: absolute;
  left: 50%;
  top: 0;
  width: min(100% - 1rem, 25.5rem);
  transform: translateX(-50%);
}
.notch-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  height: var(--notch-height);
  pointer-events: none;
}
.notch, .wing {
  appearance: none;
  pointer-events: auto;
  padding: 0;
  border: 0;
  background: #080b09;
  cursor: pointer;
}
.notch {
  display: grid;
  place-items: center;
  width: var(--notch-width);
  height: 100%;
  border-radius: 0 0 .7rem .7rem;
}
.notch:focus-visible, .wing:focus-visible { outline-offset: -3px; }
.lens {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #40535b;
  box-shadow: inset 0 0 0 1px #283638;
}
.wing {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  min-width: 2.75rem;
  max-width: 5rem;
  height: 100%;
  padding-inline: .35rem;
  color: var(--mint);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wing-left { right: calc(50% + var(--notch-width) / 2 - .45rem); border-radius: 0 0 0 .65rem; }
.wing-right { left: calc(50% + var(--notch-width) / 2 - .45rem); border-radius: 0 0 .65rem 0; }
.wing:hover, .notch:hover { background: #1b241d; }
.wing i {
  width: 3px;
  height: calc(.8rem * var(--level, .65));
  border-radius: 2px;
  background: currentColor;
}
.wing i:nth-child(2) { --level: .85; }

.panel {
  --ink: #f0f3e9;
  --muted: #becaba;
  --line: #405141;
  --control: #293629;
  --control-hover: #37483a;
  position: relative;
  margin-top: calc(-1 * var(--notch-height));
  padding: calc(var(--notch-height) + .65rem) .8rem .45rem;
  color: var(--ink);
  background: #171f19;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 14px 26px #0007;
  transform-origin: center top;
  transition: opacity .16s ease, transform .2s ease, visibility .2s;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--notch-height);
  background: #080b09;
  pointer-events: none;
}
.island.is-closed { pointer-events: none; }
.island.is-closed .panel { opacity: 0; visibility: hidden; transform: scale(.3, .18); }
.panel-content {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 10rem;
  max-height: 15.75rem;
  margin: 0 -.25rem;
  padding: .2rem .25rem .6rem;
  overflow: auto;
  scrollbar-width: thin;
  font-size: .84rem;
}
.panel-content > * { flex-shrink: 0; }
.panel-content h2 { color: var(--ink); font-size: .95rem; }
.panel-content :focus-visible { outline-offset: -2px; }
.section-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--mint); }
.search {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.3rem;
  padding: .32rem .6rem;
  background: var(--control);
  border-radius: .5rem;
  color: var(--muted);
}
.search:focus-within { outline: 2px solid var(--mint); outline-offset: -2px; }
.search input { min-width: 0; flex: 1; padding: .1rem 0; border: 0; background: transparent; color: var(--ink); }
.search input:focus-visible { outline: none; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.flow-search { border: 0; cursor: pointer; text-align: left; }
.flow-search span { flex: 1; }
.flow-search kbd { font: inherit; font-size: .72rem; }
.flow-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-height: 5rem;
  padding: .6rem .7rem;
  border-radius: .55rem;
  color: #f3faed;
  background: linear-gradient(95deg, #1c2a1bed 30%, #1c2a1b99), url("coast.webp") center 55% / cover;
}
.flow-card p { color: #dce8d3; font-size: .77rem; }

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .2rem;
  padding-top: .4rem;
  border-top: 1px solid var(--line);
}
.demo-tabs button {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 2.65rem;
  padding: 0;
  border: 0;
  border-radius: .42rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.demo-tabs button:hover { background: var(--control); color: var(--ink); }
.demo-tabs button[aria-pressed="true"] { background: #394d31; color: #e3f7c8; }
.demo-tabs button:focus-visible { outline-offset: -2px; }
.demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.3rem;
  padding: .28rem .6rem;
  border: 0;
  border-radius: .42rem;
  background: var(--control);
  color: var(--ink);
  font-size: .8rem;
  cursor: pointer;
}
.demo-button:hover { background: var(--control-hover); }
.demo-button.main { background: var(--mint); color: var(--button-ink); font-weight: 700; }
.demo-button.main:hover { background: #def4c4; }
.demo-button.main:focus-visible { outline-color: var(--button-ink); }
.demo-button:disabled { opacity: .55; cursor: default; }
.demo-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.demo-muted { color: var(--muted); font-size: .76rem; }
.demo-metric { color: var(--mint); font-size: 2.2rem; font-variant-numeric: tabular-nums; font-weight: 680; line-height: 1.05; }

.track-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; }
.track-cover {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  overflow: hidden;
  border-radius: .4rem;
  background: #334c41 url("coast.webp") center 58% / cover;
  color: #fff;
}
.track-info { min-width: 0; overflow-wrap: anywhere; }
.waveform { display: flex; align-items: center; gap: .2rem; min-height: 2.25rem; }
.waveform i {
  flex: 1;
  min-width: 1px;
  height: clamp(2px, calc(2rem * var(--level, .4)), 2rem);
  border-radius: 4px;
  background: #607762;
}
.waveform i:nth-child(4n + 1) { --level: .63; }
.waveform i:nth-child(4n + 3) { --level: .27; }
.waveform i:nth-child(7n) { --level: .78; }
.waveform i.is-played { background: var(--mint); }
.player-time {
  display: flex;
  justify-content: space-between;
  gap: .45rem;
  color: var(--muted);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}
.dropzone {
  display: grid;
  place-items: center;
  gap: .25rem;
  min-height: 3rem;
  padding: .55rem .4rem;
  border: 1px dashed #748974;
  border-radius: .5rem;
  background: var(--control);
  color: var(--ink);
  text-align: center;
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-dragging { border-color: var(--mint); background: var(--control-hover); }
.demo-list, .file-list { padding: 0; margin: 0; list-style: none; }
.demo-list li, .file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .28rem .12rem;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.demo-list li > :first-child, .file-list li > :first-child { min-width: 0; }
.clip-button {
  display: flex;
  width: 100%;
  min-height: 2.1rem;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  padding: .2rem .35rem;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  color: var(--ink);
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.clip-button:hover { background: var(--control-hover); }
.clip-button .icon { color: var(--mint); }
.file-list span { flex: 1; min-width: 0; }
.file-list .demo-button { min-height: 1.95rem; }
.demo-actions [aria-pressed="true"] { background: #394d31; color: #e3f7c8; }
.demo-list .demo-button, .file-list .demo-button { flex: none; }
.transfer { display: grid; gap: .5rem; }
.transfer-label { display: flex; justify-content: space-between; gap: .4rem; }
.transfer progress { width: 100%; height: .48rem; accent-color: var(--mint); }
.demo-toast {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: .6rem;
  width: max-content;
  max-width: calc(100% - 1.2rem);
  transform: translateX(-50%);
  padding: .35rem .6rem;
  border-radius: .45rem;
  background: #101816f2;
  color: var(--ink);
  font-size: .75rem;
  overflow-wrap: anywhere;
  text-align: center;
  pointer-events: none;
}
.demo-toast:empty { padding: 0; }
figcaption {
  display: flex;
  justify-content: space-between;
  gap: .25rem .8rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: .25rem;
  color: var(--muted);
  font-size: .8rem;
}
figcaption strong { color: var(--ink); font-weight: 650; }
.demo-view-toggle {
  min-height: 2.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}
.demo-view-toggle:hover { color: var(--ink); }

.features { padding-block: 2.8rem clamp(3.25rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.features h2, .offer h2, .install h2 {
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}
.features h2 { margin-bottom: 1.6rem; }
.feature-list article {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .55rem clamp(.65rem, 3vw, 2rem);
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
}
.feature-list article:last-child { border-bottom: 1px solid var(--line); }
.feature-list article > .icon { width: 1.5rem; height: 1.5rem; margin-top: .1rem; color: var(--mint); }
.feature-list h3 { font-size: clamp(1rem, 2vw, 1.23rem); line-height: 1.25; }
.feature-list p { max-width: 66ch; margin-top: .3rem; color: var(--muted); font-size: .95rem; }
.feature-list .text-link { align-self: center; justify-self: end; }

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 1px solid #516755;
  border-radius: .85rem;
  background: #233328;
}
.offer .price { color: var(--mint); }
.section-description { max-width: 51ch; margin-top: .65rem; color: var(--muted); text-wrap: pretty; }
.offer-action { display: grid; gap: .6rem; justify-items: stretch; }
.offer-action .requirements { margin: 0; text-align: center; }
.offer-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; padding: 0; margin: .9rem 0 0; list-style: none; font-size: .8rem; color: var(--muted); }
.offer-meta li { overflow-wrap: anywhere; }
.offer-meta a { color: var(--mint); }

.install {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 1.5rem clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(3.25rem, 7vw, 6.75rem);
}
.install ol { padding-left: 1.2rem; margin: 0 0 1.3rem; color: var(--muted); }
.install li + li { margin-top: .65rem; }
.install li::marker { color: var(--mint); font-weight: 650; }
.install strong, .install code, .install kbd { color: var(--ink); }
.install details { border-top: 1px solid var(--line); }
.install details:last-child { border-bottom: 1px solid var(--line); }
.install summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  padding: .4rem 1.4rem .4rem 0;
  list-style: none;
  cursor: pointer;
}
.install summary::-webkit-details-marker { display: none; }
.install summary::after {
  content: "";
  position: absolute;
  right: .2rem;
  width: .44rem;
  height: .44rem;
  margin-top: -.25rem;
  border: solid var(--mint);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.install details[open] summary::after { margin-top: .15rem; transform: rotate(225deg); }
.install summary:hover, .install details a { color: var(--mint); }
.install details p { padding-bottom: .85rem; color: var(--muted); }
.site-footer { padding-block: .7rem 1.25rem; border-top: 1px solid var(--line); }

@media (max-width: 57rem) {
  .hero { grid-template-columns: 1fr; gap: 1.65rem; }
  .intro h1 { font-size: clamp(2.7rem, 8vw, 4.55rem); }
  .desktop { min-height: clamp(22rem, 58vw, 27rem); }
}

@media (max-width: 41rem) {
  .install, .offer { grid-template-columns: 1fr; }
  .offer-action { justify-items: start; }
}

@media (max-width: 29rem) {
  .site-header { min-height: 3.75rem; }
  .site-header nav a { font-size: .8rem; }
  .brand { font-size: .92rem; }
  .hero { padding-top: 2.6rem; }
  .intro h1 { font-size: clamp(2.35rem, 8.8vw, 2.7rem); }
  .feature-list article { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .feature-list .text-link { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .panel { transition: none; }
}
