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

:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --border: #1e1e22;
  --text: #e8e8ed;
  --muted: #8e8e9a;
  --accent: #4f7ef8;
  --accent-hover: #6b93fa;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Layout ── */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
}

.site-header__inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__logo {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.site-header__sep {
  color: var(--border);
  font-size: 1.25rem;
  font-weight: 200;
}

.site-header__section {
  font-size: 0.875rem;
  color: var(--muted);
}

main {
  flex: 1;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
  padding: 4rem 2rem 6rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── Home ── */

.home-hero {
  margin-bottom: 3.5rem;
}

.home-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.home-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.home-hero__desc {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

.products {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.product-card {
  background: var(--surface);
  padding: 1.75rem 2rem;
  display: block;
  text-decoration: none;
  transition: background 0.15s ease;
}

.product-card:hover {
  background: #16161a;
}

.product-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.product-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
}

.product-card__arrow {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}

/* ── Legal pages ── */

.page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.page-header__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.page-header__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.page-header__meta {
  font-size: 0.875rem;
  color: var(--muted);
}

.prose {
  color: var(--muted);
  font-size: 0.9875rem;
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 0.65rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose a {
  color: var(--accent);
  text-decoration: none;
}

.prose a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Nav links ── */

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

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

/* ── Contact block ── */

.contact-block {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.contact-block__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-block__email {
  font-size: 0.9875rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-block__email:hover {
  color: var(--accent-hover);
}

/* ── Responsive ── */

@media (max-width: 600px) {
  main {
    padding: 2.5rem 1.25rem 4rem;
  }

  .site-header {
    padding: 1rem 1.25rem;
  }

  .product-card {
    padding: 1.25rem 1.5rem;
  }
}
