:root {
  --bg: #0a0a0b;
  --bg-elevated: #141416;
  --border: #26262a;
  --text: #e8e8ea;
  --text-muted: #9b9ba3;
  --text-dim: #6b6b73;
  --accent: #c8c8d0;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 150ms ease, color 150ms ease;
}

a:hover {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

/* Layout */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  border: none;
}

.site-header .brand img {
  height: 28px;
  width: auto;
  display: block;
}

.site-header nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.site-header nav a {
  border-bottom: none;
  color: var(--text-muted);
}

.site-header nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 0 0 48px;
  text-align: center;
}

.hero .wordmark {
  max-width: 480px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.hero h1 {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

section:first-of-type {
  border-top: none;
}

h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 20px;
}

h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--text);
}

p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

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

/* Products */
.products {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product {
  padding: 20px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.product .meta {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product p {
  margin: 0;
  font-size: 15px;
}

/* Contact */
.contact p { margin: 0; }

/* Legal pages */
.legal h1 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--text);
}

.legal .effective {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 13px;
  margin-top: 36px;
}

.legal p, .legal li {
  color: var(--text-muted);
  font-size: 15px;
}

.legal ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.legal li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer .legal-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--text-dim);
  border-bottom: none;
}

.site-footer a:hover {
  color: var(--text-muted);
}

.site-footer .registration {
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 560px) {
  .page { padding: 24px 20px 32px; }
  .site-header { flex-direction: column; gap: 16px; align-items: flex-start; padding-bottom: 20px; margin-bottom: 20px; }
  .site-header .brand img { height: 24px; }
  .hero { padding: 0 0 36px; }
  .hero .wordmark { max-width: 320px; }
  .hero h1 { font-size: 17px; }
  .legal h1 { font-size: 24px; }
}
