:root {
  --brand: oklch(55% 0.19 35);
  --brand-deep: oklch(45% 0.18 34);
  --brand-soft: oklch(90% 0.045 37);
  --ink: oklch(20% 0.011 245);
  --ink-soft: oklch(39% 0.015 245);
  --muted: oklch(51% 0.014 248);
  --faint: oklch(73% 0.012 250);
  --bg: oklch(96.5% 0.006 255);
  --paper: oklch(98.4% 0.004 255);
  --surface: oklch(99.2% 0.003 255);
  --surface-tint: oklch(94.5% 0.009 252);
  --line: oklch(86% 0.009 252);
  --line-strong: oklch(72% 0.014 250);
  --coal: oklch(17% 0.011 230);
  --coal-soft: oklch(27% 0.014 235);
  --blue: oklch(57% 0.085 244);
  --blue-soft: oklch(86% 0.03 240);
  --brass: oklch(77% 0.075 92);
  --brass-soft: oklch(91% 0.034 92);
  --shadow: oklch(17% 0.011 230 / 0.16);
  --shadow-soft: oklch(17% 0.011 230 / 0.07);
  --widget-line: oklch(88% 0.01 252);
  --widget-hairline: oklch(94.5% 0.006 252);
  --widget-muted: oklch(63% 0.012 250);
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 31px,
      color-mix(in oklch, var(--line) 26%, transparent) 31px 32px
    ),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: 86px 0 auto;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.topbar,
.footer {
  width: min(1180px, calc(100% - clamp(28px, 6vw, 80px)));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.topbar-link,
.text-link,
.footer,
.policy-back {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.topbar-link:hover,
.text-link:hover,
.footer a:hover,
.policy-back:hover,
.policy-contact a:hover {
  color: var(--brand);
}

.hero,
.benefits,
.split-section {
  width: min(1180px, calc(100% - clamp(28px, 6vw, 80px)));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(540px, 68vh, 640px);
  align-items: start;
  padding: clamp(52px, 7vw, 76px) 0 clamp(28px, 3vw, 44px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 20px calc(50% - 50vw) 0;
  z-index: -2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--paper), color-mix(in oklch, var(--surface-tint) 34%, var(--paper))),
    var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  top: clamp(58px, 9vw, 104px);
  bottom: 92px;
  left: clamp(600px, 54vw, 690px);
  z-index: -1;
  width: 1px;
  background: var(--line);
}

.hero-a {
  grid-template-columns: minmax(0, 560px) minmax(360px, 512px);
  gap: clamp(88px, 9vw, 160px);
  justify-content: space-between;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: clamp(3.15rem, 5.1vw, 4.6rem);
  font-weight: 500;
  line-height: 0.98;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.26;
}

.lede {
  max-width: 64ch;
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.primary-cta,
.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 0 22px;
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.primary-cta:hover,
.cart-button:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.primary-cta:focus-visible,
.cart-button:focus-visible,
.text-link:focus-visible,
.topbar-link:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(34px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding-right: 24px;
}

.hero-proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.storefront-stage {
  position: relative;
  z-index: 1;
  display: grid;
  align-self: start;
  justify-self: end;
  width: min(100%, 512px);
  margin-top: 14px;
}

.storefront-stage::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 30px;
  z-index: -2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-tint);
  transform: rotate(1.4deg);
  transform-origin: center;
}

.storefront-stage::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: 36px;
  z-index: -1;
  width: 76px;
  height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--coal) 0 9px,
      var(--blue-soft) 9px 15px,
      var(--brand-soft) 15px 17px,
      var(--brass-soft) 17px 20px
    );
  box-shadow: 0 18px 48px var(--shadow-soft);
  transform: rotate(2deg);
}

.storefront-shell {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 28px 80px var(--shadow), 0 2px 0 var(--line);
  overflow: hidden;
}

.store-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklch, var(--paper) 82%, var(--surface-tint));
  font-size: 12px;
  color: var(--muted);
}

.store-logo {
  margin-right: auto;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(142px, 0.76fr) minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
}

.product-cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in oklch, var(--coal) 82%, var(--brand)), var(--coal)),
    var(--coal);
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--surface) 8%, transparent);
}

.product-cover::before,
.product-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid color-mix(in oklch, var(--surface) 18%, transparent);
  inset: 14%;
}

.product-cover::after {
  inset: 31%;
}

.cover-band {
  position: absolute;
  inset: auto -18% 12% -18%;
  height: 34%;
  transform: rotate(-16deg);
}

.cover-band-a {
  background: var(--blue);
}

.cover-band-b {
  bottom: 0;
  background: var(--brass);
}

.cover-label {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
}

.product-copy {
  min-width: 0;
}

.product-kicker,
.product-price {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.product-copy h2 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.14;
}

.product-price {
  color: var(--ink);
}

.product-lines {
  display: grid;
  gap: 9px;
  margin: 16px 0 20px;
}

.product-lines span {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: var(--widget-hairline);
}

.product-lines span:nth-child(2) {
  width: 72%;
}

.product-lines span:nth-child(3) {
  width: 48%;
}

.cart-button {
  background: var(--coal);
  color: var(--surface);
  cursor: default;
}

.cart-button:hover {
  background: var(--coal-soft);
}

.widget-demo {
  margin: 0 22px 22px;
  border: 1px solid var(--widget-line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  font-family: var(--font-mono);
}

.widget-tabs {
  display: flex;
  background: var(--widget-hairline);
}

.widget-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--widget-muted);
  cursor: default;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px;
}

.widget-tabs .is-active {
  background: var(--surface);
  color: var(--coal);
}

.widget-tracks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 18px;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: default;
}

.play-button {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--widget-line);
  border-radius: 8px;
  color: var(--ink);
}

.play-button svg {
  width: 10px;
  height: 12px;
  fill: currentColor;
}

.play-button path {
  fill: currentColor;
}

.play-button.is-playing {
  border-color: var(--coal);
  background: var(--coal);
  color: var(--surface);
}

.play-button.is-playing rect {
  fill: currentColor;
}

.track-position {
  flex: 0 0 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--widget-muted);
}

.track-title {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--coal);
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-time {
  flex: 0 0 auto;
  margin-left: auto;
  color: color-mix(in oklch, var(--coal) 50%, transparent);
  font-size: 12px;
  font-weight: 300;
}

.widget-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 14px 20px;
  border-top: 1px solid var(--widget-hairline);
  color: color-mix(in oklch, var(--coal) 24%, var(--surface));
  font-size: 11px;
}

.widget-footer strong {
  color: var(--widget-muted);
  font-weight: 500;
}

.benefits {
  padding: clamp(34px, 4vw, 52px) 0 clamp(40px, 6vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.benefit-board {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: 16px;
  align-items: stretch;
}

.benefit-stack {
  display: grid;
  gap: 16px;
}

.benefit-block {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(24px, 3vw, 32px);
  overflow: hidden;
}

.benefit-block p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.benefit-block-large {
  min-height: 372px;
  align-content: space-between;
  background:
    linear-gradient(145deg, color-mix(in oklch, var(--coal) 86%, var(--brand)), var(--coal)),
    var(--coal);
  color: var(--surface);
  padding: clamp(30px, 4vw, 46px);
}

.benefit-block-large::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 14px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--brand) 0 38px,
      var(--blue) 38px 70px,
      var(--brass) 70px 92px,
      var(--brand) 92px 112px
    );
}

.benefit-block-large h3 {
  max-width: 12ch;
  margin: clamp(52px, 7vw, 86px) 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.98;
}

.benefit-block-large p {
  max-width: 52ch;
  color: color-mix(in oklch, var(--surface) 74%, transparent);
}

.benefit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.benefit-index {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.benefit-block-large .benefit-index {
  color: var(--brand-soft);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--brand);
}

.benefit-block-large .benefit-icon {
  color: var(--surface);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.split-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 396px);
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(56px, 8vw, 94px) 0 clamp(72px, 10vw, 116px);
}

.split-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--line);
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.steps h3 {
  margin-bottom: 5px;
}

.steps p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.pricing-panel {
  position: relative;
  border: 1px solid var(--coal);
  border-radius: 8px;
  background: var(--coal);
  color: var(--surface);
  padding: clamp(28px, 4vw, 36px);
  overflow: hidden;
}

.pricing-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--brand) 0 34px,
      var(--blue) 34px 68px,
      var(--brass) 68px 92px
    );
}

.pricing-panel .eyebrow {
  color: var(--brand-soft);
}

.pricing-panel h2 {
  margin-bottom: 20px;
  color: var(--surface);
}

.pricing-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.pricing-panel li {
  position: relative;
  padding-left: 24px;
  color: color-mix(in oklch, var(--surface) 74%, transparent);
  font-size: 15px;
}

.pricing-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-soft);
}

.pricing-panel .primary-cta {
  background: var(--surface);
  color: var(--ink);
}

.pricing-panel .primary-cta:hover {
  background: var(--surface-tint);
}

.policy-main {
  width: min(820px, calc(100% - clamp(28px, 6vw, 80px)));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0 clamp(70px, 10vw, 118px);
}

.policy-back {
  display: inline-flex;
  margin-bottom: clamp(44px, 7vw, 72px);
}

.policy-document {
  border-top: 1px solid var(--line);
}

.policy-document h1 {
  max-width: 14ch;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.policy-updated {
  margin-bottom: clamp(34px, 5vw, 52px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.policy-section {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.policy-section h2,
.policy-contact h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.policy-section p,
.policy-contact p {
  max-width: 68ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.policy-contact {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.policy-contact a {
  color: var(--ink);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
}

.footer > span {
  flex: 1 1 220px;
}

.footer-links {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 10px 16px;
}

@media (max-width: 1040px) {
  .hero-a {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    max-width: 760px;
  }

  .storefront-stage {
    justify-self: start;
    max-width: 720px;
  }

  .benefit-board,
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  h1 {
    font-size: clamp(2.45rem, 12vw, 3.3rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
  }

  .lede {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 58px;
  }

  .benefit-block-large {
    min-height: 300px;
  }

  .benefit-block-large h3 {
    max-width: 14ch;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-cover {
    max-width: 360px;
  }

  .store-nav span:not(.store-logo) {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 16px;
    padding: 22px 0 14px;
  }

  .topbar-link {
    margin-left: auto;
    font-size: 10px;
  }

  .page::before {
    top: 78px;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }

  .hero {
    padding: 36px 0 44px;
  }

  .lede {
    line-height: 1.55;
  }

  .hero-proof {
    justify-content: space-between;
    margin-top: 26px;
    font-size: 10px;
  }

  .hero-proof span {
    width: auto;
    min-height: 38px;
    padding-right: 0;
    gap: 6px;
  }

  .hero-proof span::before {
    width: 5px;
    height: 5px;
  }

  .hero-actions,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
  }

  .primary-cta {
    width: 100%;
  }

  .storefront-stage::before {
    inset: 18px -10px -12px 16px;
  }

  .storefront-stage::after {
    display: none;
  }

  .storefront-shell {
    border-radius: 8px;
  }

  .store-nav {
    padding: 0 16px;
  }

  .product-grid,
  .widget-tracks,
  .widget-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .widget-demo {
    margin-left: 16px;
    margin-right: 16px;
  }

  .widget-tabs button {
    padding: 14px 12px;
    font-size: 14px;
  }

  .track-time {
    display: none;
  }

  .steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .steps span {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
