:root {
  --bg: #ffffff;
  --bg-alt: #f3f6f4;
  --text: #1b2420;
  --muted: #4a5751;
  --brand: #1f5c3f;
  --brand-dark: #153f2b;
  --border: #d5ddd8;
  --focus: #b45309;
  --radius: 10px;
  --max: 1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121815;
    --bg-alt: #1a221e;
    --text: #e8eeea;
    --muted: #b3c0b9;
    --brand: #7fd1a4;
    --brand-dark: #a6e3c1;
    --border: #33413a;
    --focus: #fbbf24;
  }
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--brand);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 10;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 0;
  display: inline-block;
}
.nav-list a:hover { color: var(--brand); text-decoration: underline; }

/* Hero */
.hero { padding: 72px 0 64px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--brand);
}
.button-primary { background: var(--brand); color: var(--bg); }
.button-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--bg); }
.button-secondary { color: var(--brand); background: transparent; }
.button-secondary:hover { background: var(--bg-alt); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

.card-grid {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg);
}
.card p { margin: 0; color: var(--muted); }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: start;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--brand);
  font-weight: 800;
}

/* Company data */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 24px;
}
.data-list { margin: 0; }
.data-list div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.data-list dt { font-weight: 700; }
.data-list dd { margin: 0; color: var(--muted); }

.code-list { list-style: none; padding: 0; margin: 0 0 24px; }
.code-list li { padding: 4px 0; }
.code {
  display: inline-block;
  min-width: 4.5rem;
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
  color: var(--brand);
}

/* Contact */
.contact { text-align: center; }
.contact-email { font-size: 1.4rem; font-weight: 700; }
.muted { color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer p { margin: 0; }

@media (max-width: 480px) {
  .data-list div { grid-template-columns: 1fr; gap: 2px; }
  .hero { padding: 48px 0 40px; }
}
