:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --brand: #2563eb;
  --brand-2: #7c3aed;
  --accent: #14b8a6;
  --max: 1120px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus {
  left: 1rem; top: 1rem; background: #fff; padding: .5rem .75rem; border-radius: .5rem; z-index: 1000;
}
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.site-header {
  background: var(--surface);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: .2px; color: var(--text); }
.logo span { color: var(--brand); }
.main-nav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: .75rem; }
.main-nav a {
  display: inline-block;
  padding: .35rem .6rem;
  border-radius: .45rem;
  color: var(--text);
  font-weight: 600;
}
.main-nav a[aria-current="page"] { background: #e0e7ff; color: #1d4ed8; }
.hero {
  background: linear-gradient(110deg, #f59e0b, #ec4899 38%, #8b5cf6);
  color: #fff;
  padding: 4rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
  align-items: center;
}
.hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; margin: 0 0 .75rem; }
.lead { font-size: 1.05rem; color: #f3f4f6; margin-bottom: 1.2rem; }
.button {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  background: #34d399;
  color: #052e16;
}
.visual-card {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 1.1rem;
  padding: .9rem;
  box-shadow: 0 12px 30px rgba(31, 41, 55, .2);
  backdrop-filter: blur(2px);
}
.visual-card img {
  border-radius: .85rem;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 25px rgba(17,24,39,.28);
}
.visual-stack {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-top: .75rem;
}
.chip {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: .75rem .6rem;
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.3;
  text-align: center;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}
main section { padding: 3rem 0; }
.section-title { font-size: clamp(1.35rem, 2.3vw, 2rem); margin: 0 0 1rem; }
.section-subtitle { margin: 0 0 1.2rem; color: var(--muted); }
.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 5px 20px rgba(17,24,39,.04);
}
.card h3 { margin-top: 0; font-size: 1.1rem; }
.pill-links {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.pill-links a {
  background: #eff6ff;
  color: #1e40af;
  font-weight: 700;
  padding: .45rem .75rem;
  border-radius: 999px;
}
.content-prose {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.2rem;
}
.content-prose h2, .content-prose h3 { line-height: 1.3; margin-top: 1.4rem; }
.content-prose ul, .content-prose ol { padding-left: 1.2rem; }
.cta-strip {
  background: linear-gradient(90deg, #dbeafe, #e9d5ff, #fde68a);
  border: 1px solid #c7d2fe;
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 2rem 0;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.fineprint { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .visual-card { padding: .75rem; }
  .visual-stack { gap: .55rem; }
  .chip { font-size: .92rem; min-height: 52px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
