:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #fff2e6;
  background: #160d0a;
  --muted: #d1b7a8;
  --accent: #ff9572;
  --line: #654035;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, audio:focus-visible { outline: 2px solid #ffc5a9; outline-offset: 5px; }
.shell { width: min(1260px, calc(100% - 80px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.header-row, .footer, nav, .brand { display: flex; align-items: center; }
.header-row, .footer { justify-content: space-between; gap: 18px; }
.header-row { min-height: 76px; }
.brand { gap: 11px; font-weight: 850; letter-spacing: .09em; white-space: nowrap; }
.brand, nav a, .button { text-decoration: none; }
.brand img { border-radius: 50%; }
nav { gap: clamp(14px, 3vw, 40px); font-size: .94rem; color: var(--muted); }
nav a { padding-block: 12px; }
nav a:hover, .footer a:hover { color: #fff2e6; }
nav span, .footer span[aria-hidden] { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(32px, 5vw, 86px);
  padding-block: clamp(60px, 8vw, 125px);
}
.eyebrow, figcaption, .demo-meta {
  font: 600 .73rem/1.4 ui-monospace, monospace;
  letter-spacing: .09em;
}
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--accent); text-transform: uppercase; margin: 0 0 24px; }
.signal { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 18px #ff6f3eaa; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(3.4rem, 6.3vw, 6.1rem); line-height: .95; letter-spacing: -.074em; }
h1 em { color: var(--accent); font-style: normal; }
.intro-copy { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; max-width: 33ch; margin-block: 27px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 23px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #1f1009;
  font-weight: 750;
}
.button:hover { background: #ffb49b; }

.studio {
  min-width: 0;
  background: #251511;
  border: 1px solid #845446;
  border-radius: 12px;
  box-shadow: 0 24px 60px #080300a3, 0 0 80px #a03a282e;
}
figcaption, .demo { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
figcaption { padding: 16px 20px; color: var(--muted); text-transform: uppercase; }
figcaption span:first-child { color: var(--accent); }
.preview { display: block; width: 100%; height: auto; background: #150d09; }
.demo { padding: 17px 20px; border-top: 1px solid var(--line); scroll-margin-top: 22px; }
.demo:target { box-shadow: inset 0 0 0 2px var(--accent); border-radius: 0 0 11px 11px; }
.demo-title { font-weight: 750; margin-bottom: 4px; }
.demo-meta { color: var(--muted); }
audio { min-width: 0; width: min(100%, 295px); height: 44px; }

.features { padding: 36px 0 67px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); letter-spacing: -.055em; line-height: 1.02; margin-bottom: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
article { padding: 24px; background: #231511; border: 1px solid var(--line); border-radius: 9px; }
h3 { font-size: 1.18rem; letter-spacing: -.02em; margin-bottom: 10px; }
article p { color: var(--muted); line-height: 1.6; }
.footer { border-top: 1px solid var(--line); min-height: 72px; color: var(--muted); font-size: .9rem; }
.footer > span { letter-spacing: .09em; font-weight: 800; }

@media (max-width: 900px) {
  .shell { width: min(700px, calc(100% - 48px)); }
  .hero { grid-template-columns: 1fr; gap: 38px; }
  h1 br:nth-of-type(2) { display: none; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 36px); }
  .header-row { min-height: 65px; }
  .brand { gap: 7px; font-size: .9rem; }
  .brand img { width: 34px; height: 34px; }
  nav { font-size: .84rem; }
  .hero { padding-block: 48px; }
  h1 { font-size: clamp(3rem, 10.5vw, 4.5rem); }
  figcaption, .demo { gap: 9px; padding: 12px; }
  figcaption { font-size: .62rem; }
  .demo { flex-wrap: wrap; }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding-bottom: 42px; }
}
