:root {
  --bg: #f6f4ef;
  --bg-strong: #ede9e0;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0f766e;
  --primary-dark: #0b5f57;
  --primary-soft: rgba(15, 118, 110, 0.12);
  --surface: #ffffff;
  --surface-alt: #fcfbf7;
  --border: #e4dfd6;
  --radius: 16px;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(15, 118, 110, 0.08), transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(15, 118, 110, 0.06), transparent 45%),
    linear-gradient(180deg, #fbfaf6 0%, #f1efe8 100%);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  letter-spacing: -0.02em;
}

p {
  max-width: 72ch;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 8px;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.logo-image {
  width: 40px;
  height: 40px;
  display: block;
}

.logo-text {
  font-size: 1.05rem;
}

.version-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  border: 1px solid rgba(15, 118, 110, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
}

.nav-links {
  display: flex;
  gap: 16px;
  font-weight: 500;
  color: var(--muted);
  flex-wrap: wrap;
  font-size: 0.95rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
  background: var(--surface);
  color: var(--text);
  transition: border 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--primary);
  color: #ffffff;
  border-color: transparent;
}

.btn.primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

.btn.ghost {
  background: transparent;
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.92rem;
}

.nav .btn {
  padding: 8px 14px;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.subhead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.alpha-note {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.panel-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  border: 1px solid rgba(15, 118, 110, 0.3);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  width: fit-content;
}

.panel-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-list li {
  position: relative;
  padding-left: 18px;
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.panel-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.section-tight {
  padding-top: 16px;
  padding-bottom: 16px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 0;
}

.proof-row p {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-header {
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted);
  max-width: 680px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 140px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.clean-list {
  list-style: disc;
  margin-left: 20px;
  margin-top: 12px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.install-list {
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.install-notes {
  margin-bottom: 12px;
  color: var(--muted);
}

.install-notes strong {
  color: var(--text);
}

.connector-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.connector-title {
  font-weight: 600;
  margin-bottom: 6px;
}

details {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--surface-alt);
}

details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

details[open] {
  background: var(--surface);
}

.install-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.install-list li::before {
  counter-increment: step;
  content: "Step " counter(step);
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

pre {
  background: #0f172a;
  color: #e5e7eb;
  padding: 12px 14px;
  border-radius: 12px;
  overflow-x: auto;
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

code {
  font-family: "IBM Plex Mono", "Courier New", monospace;
}

.mono {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.footnote {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.link-card {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 600;
  transition: border 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.link-card:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 20px 16px 48px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .nav-inner {
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
  }

  .proof-row {
    text-align: left;
  }
}
