*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1a1d26;
  --muted: #5c6370;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #e2e6ee;
  --max-width: 42rem;
  --max-width-wide: 52rem;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 1rem 1.25rem 0.75rem;
}

.site-brand {
  display: inline-block;
  line-height: 0;
}

.site-brand img {
  display: block;
  width: min(240px, 72vw);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

main.narrow {
  max-width: var(--max-width);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}

h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}

.lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.hero p {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.legal-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.legal-toc ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.legal-toc li {
  margin: 0.25rem 0;
}

.legal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

.legal li {
  margin: 0.35rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 1rem 0;
}

.data-table th,
.data-table td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.site-footer nav a {
  color: var(--text);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--accent);
}

.site-footer p {
  margin: 0.25rem 0;
}

.product-video {
  margin: 2rem 0;
}

.product-video video {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #000;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
  padding: 0;
}

.product-gallery li {
  margin: 0;
}

.product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
}
