@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin.woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-condensed-extrabold.ttf");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Instrument;
  src: url("/fonts/instrument-serif-italic-latin.woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #111714;
  --paper: #f1f0e7;
  --mint: #c4f49b;
  --frost: #e9ede7;
  --line: #344239;
  --soft: #bdc7bd;
  font: 100%/1.55 Manrope,Arial,sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body,figure,h1,h2,p,ol,dl,dd {
  margin: 0;
}

a {
  color: inherit;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #5a9cf7;
  outline-offset: 4px;
}

.wrap {
  width: min(1280px,90%);
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 5;
  top: -100px;
  background: var(--paper);
  padding: .7rem;
}

.skip:focus {
  top: 0;
}

.topbar {
  background: #101512;
  color: var(--frost);
  border-bottom: 1px solid #343c35;
}

.topbar .member-account,
.topbar:has(studio-member-tools:not([hidden])) .guest-login {
  display: none;
}

.topbar:has(studio-member-tools:not([hidden])) .member-account {
  display: flex;
}

.mast,.studio,nav,.actions,.hero,.demo,.deck,.pitch,footer .wrap {
  display: flex;
  align-items: center;
}

.mast {
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 78px;
}

.studio {
  gap: .66rem;
  text-decoration: none;
  font: 800 1.43rem/.84 Barlow,sans-serif;
  letter-spacing: .018em;
}

.studio img {
  object-fit: contain;
}

.studio small {
  display: block;
  margin-top: .3rem;
  color: var(--mint);
  font: 800 .67rem/1 Manrope,sans-serif;
  letter-spacing: .34em;
}

nav {
  gap: clamp(.8rem,1.65vw,1.9rem);
  align-self: stretch;
}

nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: #c7cec7;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover,nav a[aria-current] {
  color: var(--mint);
}

nav a[aria-current]:after {
  content: "";
  height: 3px;
  position: absolute;
  inset: auto 0 0;
  background: var(--mint);
}

.menu {
  display: none;
  background: transparent;
  color: var(--frost);
  border: 1px solid #55625a;
  padding: .35rem .7rem;
}

.hero-wrap {
  color: var(--frost);
  background: radial-gradient(ellipse at 73% 64%,#1e3126 0,transparent 56%),#121914;
}

.hero {
  gap: clamp(2rem,6vw,7rem);
  padding-block: clamp(2.7rem,5.5vw,5.5rem);
  justify-content: space-between;
}

.intro {
  flex: 1;
  min-width: 0;
}

.kicker,.section-label,figcaption {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .76rem;
}

.kicker {
  color: var(--mint);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.category-mark {
  height: 11px;
  width: 24px;
  background: repeating-linear-gradient(90deg,var(--mint) 0 2px,transparent 2px 5px);
  transform: skew(-14deg);
}

h1 {
  font: 800 clamp(5.7rem,10.5vw,10.4rem)/.95 Barlow,Impact,sans-serif;
  letter-spacing: -.047em;
  margin: .64rem 0 .72rem;
}

.lead {
  font-weight: 600;
  font-size: clamp(1.75rem,3.15vw,3.15rem);
  letter-spacing: -.055em;
  line-height: 1.12;
}

.lead em {
  font: italic 400 1.22em/1 Instrument,Georgia,serif;
  color: var(--mint);
  letter-spacing: -.035em;
}

.desc {
  margin-top: 1.25rem;
  color: #c6d0c6;
  max-width: 31rem;
  font-size: clamp(1rem,1.27vw,1.18rem);
  line-height: 1.65;
}

.actions {
  margin-top: 2rem;
  gap: 1.45rem;
  flex-wrap: wrap;
}

.download,.play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .7rem 1.3rem;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
}

.download {
  background: var(--mint);
  color: #142216;
}

.download:hover {
  background: #ddffc0;
}

.guide-link {
  font-weight: 700;
  text-underline-offset: .34em;
  text-decoration-color: #899a87;
}

.guide-link:hover {
  color: var(--mint);
}

.meta {
  margin-top: .95rem;
  color: #b2beb2;
  font-size: .82rem;
}

.meta span {
  margin: 0 .3rem;
  color: #91a58c;
}

.product {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 1 48%;
  aspect-ratio: 1.29;
  border: 1px solid #536653;
  border-radius: 4px;
  background-color: #53694e;
  background-image: linear-gradient(120deg,#bcd49950,#37453422 48%,#182a1c90),repeating-linear-gradient(0deg,transparent 0 4px,#273c2c16 4px 5px);
}

.product:before {
  content: "";
  position: absolute;
  inset: 1.05rem;
  border: 1px solid #d2dec366;
  pointer-events: none;
}

.record {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  right: -18%;
  top: -4%;
  border-radius: 50%;
  border: 2px solid #17211b;
  box-shadow: -9px 16px 24px #18221bb3;
  background: repeating-radial-gradient(circle at center,transparent 0 2px,#d2e0bb2e 2.3px 2.7px,transparent 3px 4px),conic-gradient(from -25deg,#151e18,#475449 14%,#151d17 23%,#151b16 41%,#536152 53%,#1c231d 63%,#28322a 86%,#151e18);
}

.label {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle,#c7dd9e 0 16px,#b8d290 17px 18px);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px #253126;
}

.label span {
  width: 8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #1c261f;
}

.popup {
  position: absolute;
  display: block;
  height: 82%;
  width: auto;
  left: 16%;
  top: 5%;
  object-fit: contain;
  border: 1px solid #758776;
  border-radius: 6px;
  box-shadow: -7px 18px 28px #0c1a14a8;
}

figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.15rem;
  color: #e1ebd9;
  background: #18271c;
  font-size: .65rem;
  letter-spacing: .12em;
}

figcaption span:last-child {
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
}

.demo-strip {
  background: #d8ebc3;
  border-block: 1px solid #c1cead;
}

.demo {
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2.4rem;
}

.section-label {
  color: #456241;
  margin-bottom: .5rem;
}

.demo h2,.setup h2 {
  font: 800 clamp(2.25rem,3.65vw,4rem)/1 Barlow,Impact,sans-serif;
  letter-spacing: -.025em;
}

.demo p:last-child {
  margin-top: .6rem;
  max-width: 36rem;
}

.deck {
  flex-shrink: 0;
  gap: 1.2rem;
  flex-wrap: wrap;
  position: relative;
}

.play {
  background: #1d3224;
  color: #f3f6e8;
  border: 0;
  gap: .7rem;
  min-width: 9rem;
}

.play:hover {
  background: #304b38;
}

.play-icon {
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.play[data-playing] .play-icon {
  width: 10px;
  height: 10px;
  border: 0;
  background: currentColor;
}

.pitch {
  gap: .4rem;
  border-left: 1px solid #9dad90;
  padding-left: 1.1rem;
}

.pitch button {
  width: 2.55rem;
  height: 2.55rem;
  line-height: 1;
  background: transparent;
  border: 1px solid #7f9577;
  border-radius: 50%;
  font-size: 1.35rem;
}

.pitch button:hover {
  background: #edf7df;
}

.pitch button:disabled {
  opacity: .4;
  cursor: default;
}

output {
  display: grid;
  text-align: center;
  min-width: 5.5rem;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
}

output strong {
  font: 800 2.25rem/1 Barlow,sans-serif;
}

#audio-status:empty {
  display: none;
}

#audio-status {
  font-size: .85rem;
}

.setup {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(245px,.75fr);
  gap: clamp(2.5rem,8vw,8rem);
  padding-block: clamp(3.5rem,6vw,6rem);
  align-items: start;
  scroll-margin-top: 1rem;
}

.installation ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin-top: 1.6rem;
}

.installation li {
  counter-increment: step;
  position: relative;
  border-top: 1px solid #c6cbbd;
  padding: 1.25rem 0 1.3rem 3.2rem;
}

.installation li:before {
  content: counter(step,decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.3rem;
  color: #486240;
  font: 800 1.3rem/1.4 Barlow,sans-serif;
}

.installation li>strong {
  font-weight: 800;
  font-size: 1.14rem;
}

.installation li p {
  margin-top: .35rem;
  color: #454f44;
}

.installation b,.notes b {
  font-weight: 750;
}

code {
  font-size: .93em;
  overflow-wrap: anywhere;
}

.notes {
  border-top: 3px solid #48603e;
  background: #e4e7da;
  padding: clamp(1.3rem,2.6vw,2.35rem);
}

.notes img {
  display: block;
  margin-bottom: 1rem;
}

.notes h2 {
  font-size: 2.1rem;
}

.notes dt {
  font-weight: 800;
  margin-top: 1.15rem;
}

.notes dd {
  color: #465044;
  margin-top: .2rem;
}

footer {
  padding: 1.4rem 0;
  color: var(--soft);
  background: #131b16;
  font-size: .85rem;
}

footer .wrap {
  justify-content: space-between;
}

footer a {
  text-underline-offset: .25em;
}

@media(max-width:900px) {
  .mast {
    min-height: 67px;
    flex-wrap: wrap;
  }
  .menu {
    display: block;
  }
  nav {
    display: none;
    flex-basis: 100%;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    gap: .7rem 1.2rem;
  }
  nav.open {
    display: flex;
  }
  nav a[aria-current]:after {
    display: none;
  }
  .demo {
    align-items: flex-start;
    flex-direction: column;
  }
  .product {
    aspect-ratio: 1.02;
  }
  .popup {
    left: 10%;
    height: 76%;
    top: 8%;
  }
  .record {
    width: 100%;
    top: 10%;
    right: -23%;
  }
}

@media(max-width:680px) {
  .hero {
    display: grid;
    gap: 2.2rem;
    padding-block: 2.6rem 2rem;
  }
  .product {
    width: 100%;
    aspect-ratio: 1.18;
  }
  .popup {
    top: .6rem;
    height: calc(100% - 3.5rem);
    left: 15%;
  }
  .record {
    width: 82%;
    top: -8%;
    right: -14%;
  }
  .desc {
    max-width: 35rem;
  }
  .actions {
    margin-top: 1.45rem;
  }
  .setup {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .deck {
    gap: .6rem;
  }
  .pitch {
    padding-left: .6rem;
  }
  .hero h1 {
    font-size: clamp(5.4rem,19vw,7.6rem);
  }
}

@media(max-width:380px) {
  .deck {
    gap: .5rem;
  }
  .pitch {
    padding-left: 0;
    border: 0;
  }
  .play {
    min-width: 0;
    padding-inline: .8rem;
  }
  output {
    min-width: 4.7rem;
  }
  .actions {
    gap: .85rem;
  }
  .product figcaption {
    font-size: .6rem;
  }
  .wrap {
    width: 92%;
  }
}

@media(max-width:680px) {
  .deck {
    width: 100%;
    display: grid;
    grid-template-columns: max-content max-content;
    gap: .85rem;
    align-items: center;
  }
  .deck .play {
    min-width: 0;
    padding-inline: .85rem;
  }
  .deck .pitch {
    padding: 0;
    border: 0;
  }
  .deck output {
    min-width: 4.8rem;
  }
  .deck #audio-status {
    grid-column: 1/-1;
  }
}

@media (max-width: 389px) {
  .deck {
    grid-template-columns: max-content;
  }
  .deck .play {
    justify-self: start;
  }
}
