:root {
  --graphite: #1a1d21;
  --graphite-elevated: #24282e;
  --turquoise: #2ec4b6;
  --turquoise-dim: #1f8f85;
  --text: #f5f7fa;
  --muted: #b7c0cc;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--graphite);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

a { color: var(--turquoise); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  padding: 2.5rem 0 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

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

.hero-card {
  background: var(--graphite-elevated);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-card img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  font-weight: 650;
  text-decoration: none;
}

.btn-primary {
  background: var(--turquoise);
  color: var(--graphite);
}

.btn-primary:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn-ghost {
  border: 1px solid rgba(46, 196, 182, 0.45);
  color: var(--turquoise);
}

.btn-ghost:hover { text-decoration: none; }

.section {
  padding: 1rem 0 3rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.55rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--graphite-elevated);
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--turquoise);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .rows {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.prose {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.prose h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.prose h2 { margin-top: 2rem; font-size: 1.2rem; color: var(--turquoise); }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.meta { color: var(--muted); margin-bottom: 1.5rem; }
