:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #536173;
  --line: #d9e1e8;
  --paper: #f7faf8;
  --surface: #ffffff;
  --green: #3f7d43;
  --green-soft: #e8f3e6;
  --blue: #2f5f9f;
  --blue-soft: #e8effa;
  --amber: #a56b15;
  --amber-soft: #fff3dc;
  --shadow: 0 18px 45px rgba(24, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

button,
audio {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 225, 232, 0.88);
  background: rgba(247, 250, 248, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 18px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
}

.intro-band,
.section-band {
  padding: 72px max(24px, calc((100% - 1180px) / 2));
}

.intro-band {
  display: grid;
  min-height: calc(100vh - 66px);
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(232, 243, 230, 0.88), rgba(232, 239, 250, 0.7)),
    var(--paper);
}

.intro-copy {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1040px;
  margin-bottom: 20px;
  font-size: 58px;
  line-height: 1.03;
  font-weight: 850;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.intro-text {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 750;
}

.primary-link {
  background: var(--ink);
  color: #ffffff;
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 840px;
}

.metric-strip div {
  border: 1px solid rgba(217, 225, 232, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  padding: 18px;
}

.metric-strip span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 850;
}

.metric-strip strong {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.architecture-band {
  background: var(--surface);
}

.architecture-figure {
  margin: 0;
}

.architecture-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.architecture-figure figcaption {
  max-width: 780px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.audio-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f3f7fb;
}

.control-row {
  display: flex;
  margin-bottom: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sample-tabs,
.rate-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sample-tab,
.rate-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
}

.sample-tab {
  padding: 0 14px;
}

.rate-button {
  min-width: 72px;
  padding: 0 12px;
}

.sample-tab.is-active,
.rate-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.audio-card,
.pitch-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 10px 28px rgba(24, 33, 47, 0.08);
}

.audio-card.is-ours {
  border-color: rgba(63, 125, 67, 0.6);
  background: linear-gradient(180deg, #ffffff, var(--green-soft));
}

.audio-card-header {
  display: flex;
  min-height: 56px;
  margin-bottom: 12px;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.audio-card h3,
.pitch-card h3 {
  margin-bottom: 3px;
}

.audio-card p,
.pitch-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.codec-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.audio-card.is-ours .codec-badge {
  background: #dcefd9;
  color: var(--green);
}

audio {
  display: block;
  width: 100%;
  height: 42px;
}

.pitch-band {
  background: var(--surface);
}

.pitch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pitch-stack {
  display: grid;
  gap: 12px;
}

.pitch-item {
  border-radius: 8px;
  background: var(--amber-soft);
  padding: 12px;
}

.pitch-item:first-child {
  background: var(--blue-soft);
}

.pitch-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metrics-band {
  border-top: 1px solid var(--line);
  background: #fbfaf5;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
}

thead th {
  background: #f0f3f4;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr.ours td {
  background: var(--green-soft);
  font-weight: 780;
}

.site-footer {
  display: flex;
  min-height: 86px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #ffffff;
}

.site-footer span {
  font-weight: 850;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

@media (max-width: 980px) {
  h1 {
    font-size: 42px;
  }

  .comparison-grid,
  .pitch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .control-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    width: min(100% - 28px, 1180px);
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .intro-band,
  .section-band {
    padding: 48px 16px;
  }

  .intro-band {
    min-height: auto;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .intro-text {
    font-size: 17px;
  }

  .metric-strip,
  .comparison-grid,
  .pitch-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 16px;
  }
}
