:root {
  color: #111827;
  background: #f9fafb;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.85rem 1.5rem;
}

.brand {
  margin: 0;
  color: #2563eb;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

main {
  width: min(64rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3.5rem;
}

.video-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 0.55rem;
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #111827;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story {
  margin-top: 1.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #16a34a;
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.35rem;
}

.lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.product {
  margin: 1rem 0 0;
  max-width: 40rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 1.06rem;
}

.beats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.beats li {
  margin: 0;
  padding: 0.85rem 0.95rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.98rem;
}

.beats span {
  display: block;
  margin-bottom: 0.25rem;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uses {
  margin-top: 2.25rem;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tablist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.4rem;
  background: #e5e7eb;
  border-radius: 0.9rem 0.9rem 0 0;
}

.tablist button {
  appearance: none;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.tablist button[aria-selected="true"] {
  background: #fff;
  color: #2563eb;
  border-color: #fff;
  box-shadow: 0 1px 2px rgb(17 24 39 / 6%);
}

.tablist button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.panel {
  min-height: 11rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 0;
  border-radius: 0 0 1rem 1rem;
  padding: 1.35rem 1.5rem 1.5rem;
}

.panel h3 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.panel p {
  margin: 0 0 0.75rem;
  max-width: 42rem;
  font-size: 1.05rem;
}

.panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .beats,
  .tablist {
    grid-template-columns: 1fr;
  }
}

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.25rem 1.5rem 2rem;
  text-align: center;
}

footer p {
  margin: 0;
}

footer a {
  color: #2563eb;
}

footer a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
