:root {
  --ink: #080b20;
  --paper: #f5f4f0;
  --violet: #c8c1ff;
  --blue: #61b8ff;
  color: var(--ink);
  font-family: Manrope, Inter, 'Helvetica Neue', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #3486d3;
  outline-offset: 4px;
}
.wrap {
  width: min(100% - 9vw, 1180px);
  margin: auto;
}
.bar,
.section-title,
.brand,
.product,
.buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
header,
footer {
  color: white;
}
.bar {
  min-height: 74px;
}
.brand {
  justify-content: flex-start;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
  font-weight: 600;
}
.studio,
footer a,
.browse {
  font-size: 0.9rem;
  font-weight: 600;
}
.studio:hover,
footer a:hover {
  text-decoration: underline;
}
.hero {
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 11, 32, 0.98), rgba(8, 11, 32, 0.78) 40%, rgba(8, 11, 32, 0.12)),
    url('/studio.webp') center 53% / cover;
}
.hero .wrap {
  padding-block: clamp(3.3rem, 6vw, 6rem);
}
.label,
.test {
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  text-transform: uppercase;
}
.label {
  color: var(--blue);
  margin: 0 0 1.25rem;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(3.2rem, 7.3vw, 6.8rem);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.074em;
}
h1 em {
  color: var(--violet);
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}
.browse {
  display: inline-flex;
  gap: 2rem;
  margin-top: 2rem;
  border-bottom: 1px solid #adaec0;
  padding-bottom: 0.45rem;
}
.catalog {
  background: var(--paper);
  padding: clamp(2rem, 5vw, 4rem) 0 4rem;
}
.section-title {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #a6a7af;
  margin-bottom: 0.3rem;
}
h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  letter-spacing: -0.06em;
  font-weight: 500;
}
.test {
  color: #464666;
}
[data-environment="production"] .test {
  display: none;
}
.product {
  padding: 1.8rem 0;
  border-bottom: 1px solid #c8c8cb;
}
.product img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}
.details {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.details p {
  line-height: 1.55;
  color: #51536a;
  max-width: 55ch;
  margin-top: 0.4rem;
}
h3 {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}
.buy strong {
  white-space: nowrap;
}
.buy button,
#list > button {
  background: var(--ink);
  color: white;
  border: 0;
  padding: 0.85rem 1.15rem;
  min-height: 44px;
}
.buy button:disabled {
  background: #dcdce3;
  color: #4c4d5a;
  cursor: default;
}
#notice,
#action:not(:empty),
#list > p {
  padding-block: 1.2rem;
  color: #414459;
}
footer .bar {
  color: #c2c4d6;
  font-size: 0.87rem;
}
.purchase { min-height: 58vh; }
.purchase h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.purchase .section-title { align-items: baseline; }
.purchase h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.purchase section { border-bottom: 1px solid #c8c8cb; padding: 1.45rem 0; }
.purchase p { line-height: 1.55; max-width: 60ch; margin: .65rem 0; }
.purchase p:empty { display: none; }
.purchase-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.purchase code { font-size: 1rem; overflow-wrap: anywhere; user-select: all; }
.control {
  min-height: 44px; border: 1px solid var(--ink); background: var(--ink); color: white;
  padding: .65rem 1rem;
}
.control:hover { background: #282b46; }
.control:disabled { background: #dddde4; color: #414459; cursor: default; }
.skip {
  position: absolute;
  top: -100px;
  background: white;
  padding: 1rem;
  z-index: 2;
}
.skip:focus {
  top: 0;
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 2.5rem);
  }
  .product {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .buy {
    width: 100%;
  }
  .details {
    min-width: 60%;
  }
  .bar {
    min-height: 64px;
  }
  .brand {
    font-size: 1rem;
    gap: 0.6rem;
  }
  .studio {
    font-size: 0.8rem;
  }
  .hero {
    background-position: 60% center;
  }
  .buy button {
    flex-basis: 55%;
  }
}
