:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --text: #f3f0e8;
  --muted: #b8b2a7;
  --line: rgba(243, 240, 232, 0.10);
  --accent: #f3f0e8;
  --max-width: 1120px;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  --link-color: #4a9eff;
  --link-visited: #b77cff;
  --link-hover: #6eaeff;
  --link-active: #ffb347;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.1s ease;
}

a:visited {
  color: var(--link-visited);
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: var(--link-hover);
}

a:active {
  color: var(--link-active);
}

/* URL tooltip ONLY on single article pages */
.single-article .article-body a:hover::after {
  content: " (" attr(href) ")";
  font-size: 0.75em;
  color: var(--muted);
  background-color: var(--surface);
  padding: 0.1em 0.4em;
  border-radius: 12px;
  white-space: nowrap;
  margin-left: 0.3em;
  border: 1px solid var(--line);
}

/* ===== Rest of your original CSS (unchanged) ===== */
.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

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

.brand {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.hero {
  padding: 5rem 0 4rem;
  border-top: 1px solid var(--line);
}

.eyebrow, .section-label {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  max-width: 10.5ch;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.75rem 0 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.button-secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card, .step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.card h3, .step h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.contact {
  padding-bottom: 2rem;
}

.contact-copy {
  max-width: 42rem;
}

.contact-block {
  margin-top: 1.5rem;
}

.contact-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--text);
  padding-bottom: 0.15rem;
}

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

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1.5rem;
  }
  .site-nav {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .hero {
    padding: 3.5rem 0 3rem;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 14vw, 4rem);
  }
  .hero-copy {
    font-size: 1rem;
  }
  .grid, .steps {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3rem 0;
  }
}

.page {
  width: min(calc(100% - 2rem), 760px);
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.article {
  padding: 3rem 0 0;
  border-top: 1px solid var(--line);
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.summary {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h1, .article-body h2, .article-body h3 {
  margin: 2.2rem 0 0.8rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.article-body h1 {
  font-size: 2rem;
}
.article-body h2 {
  font-size: 1.5rem;
}
.article-body h3 {
  font-size: 1.2rem;
}
.article-body p {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1.02rem;
}

.insight-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.insight-item:first-child {
  padding-top: 0;
  border-top: 0;
}
.insight-item h2 {
  margin: 0.15rem 0 0.45rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.insight-item p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .page {
    width: min(calc(100% - 1.25rem), 760px);
  }
  .article {
    padding-top: 2.25rem;
  }
  .article-header h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
  .meta, .summary, .article-body p {
    font-size: 0.98rem;
  }
}
