:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #202124;
  background: #f7f8fa;
  font-synthesis: none;
  --muted: #727782;
  --line: #e8eaee;
}

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, video:focus-visible { outline: 3px solid #6385be; outline-offset: 4px; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 960px;
  min-height: 66px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.4;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #24272e;
}
.brand-mark i { width: 2px; border-radius: 2px; background: #fff; }
.brand-mark i:nth-child(1) { height: 7px; }
.brand-mark i:nth-child(2) { height: 14px; }
.brand-mark i:nth-child(3) { height: 10px; }

.demos { max-width: 1024px; margin: 0 auto; padding: 28px 32px 48px; }
.intro { margin-bottom: 26px; color: #444b56; font-size: 17px; line-height: 1.65; }
.intro p { margin: 0; }
.intro p + p { margin-top: 12px; }
.intro strong { color: #303641; font-weight: 600; }
.intro .input-source, .intro .recording-note { font-size: 15px; line-height: 1.6; }
.intro .recording-note { color: #686f7b; }
.input-source a { color: #3f5e88; text-decoration: underline; text-decoration-color: #aebed2; text-underline-offset: 3px; }
.input-source a:hover { color: #253e61; text-decoration-color: currentColor; }
.section-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.section-title h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .01em;
}
.demo-stack { display: grid; gap: 24px; }
.demo-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid #e5e7ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24, 34, 54, .025);
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.card-heading strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.035em;
}
.card-heading strong i { color: #a2a7af; font-style: normal; font-size: 20px; font-weight: 400; }
.card-heading strong small { margin-left: 2px; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.result-panel { flex-shrink: 0; }
.result-benchmark {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.result-metrics { display: flex; align-items: baseline; gap: 16px; }
.result-metrics > span { display: flex; align-items: baseline; gap: 8px; }
.result-metrics > span + span { padding-left: 16px; border-left: 1px solid var(--line); }
.result-metrics small { color: var(--muted); font-size: 13px; font-weight: 400; white-space: nowrap; }
.result-metrics b { color: #323640; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid #e9eaee;
  border-radius: 10px;
  background: #f1f3f7;
}
footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 32px;
  text-align: center;
  color: #979ca5;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
}

@media (max-width: 820px) {
  .site-header { padding: 0 20px; }
  .brand { min-height: 64px; font-size: 14px; max-width: 460px; margin-left: 0; }
  .demos { padding: 22px 20px 36px; }
  .demo-card { padding: 18px; border-radius: 14px; }
  .demo-stack { gap: 20px; }
  .card-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 14px; }
  .card-heading strong { font-size: 21px; }
  .result-panel { width: 100%; padding-top: 10px; border-top: 1px solid var(--line); }
  .result-benchmark { margin-bottom: 5px; }
  .result-metrics { gap: 14px; }
  .result-metrics > span + span { padding-left: 14px; }
  .demo-video { border-radius: 7px; }
}
@media (max-width: 390px) {
  .site-header { padding: 0 16px; }
  .demos { padding-left: 12px; padding-right: 12px; }
  .demo-card { padding: 14px; }
  .intro { font-size: 16px; }
  .intro .input-source, .intro .recording-note { font-size: 14px; }
  .card-heading strong { font-size: 18px; gap: 5px; }
  .card-heading strong small { font-size: 12px; }
  .result-metrics { gap: 10px; }
  .result-metrics > span { gap: 6px; }
  .result-metrics > span + span { padding-left: 10px; }
  .result-metrics small { font-size: 12px; }
  .result-metrics b { font-size: 15px; }
}
