/* Role landing pages — lightweight (no WebGL) so they load fast and rank on Core Web Vitals.
   Shares the homepage tokens; per-page accent via --accent on <body>. */
:root {
  --ink: #05070a;
  --graphite: #0c1017;
  --frost: #e8eff5;
  --muted: #7d8c99;
  --line: rgba(220, 235, 245, 0.12);
  --blue-light: #60a5fa;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --red: #ef4444;
  --accent: var(--blue-light);
  --display: "Instrument Serif", Georgia, serif;
  --body: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 76px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(59, 130, 246, 0.08), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  color: var(--frost);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad);
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .mark { display: flex; align-items: center; gap: 10px; }
.top .mark::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 10px var(--emerald);
}
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--muted); transition: color .2s; }
.top nav a:hover { color: var(--frost); }
.top nav .cta {
  color: var(--frost); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; transition: border-color .2s;
}
.top nav .cta:hover { border-color: var(--accent); }

/* Page */
.page { max-width: 980px; margin: 0 auto; padding: 56px var(--pad) 40px; }
.crumbs { color: var(--muted); margin-bottom: 40px; }
.crumbs a:hover { color: var(--frost); }
.eyebrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); margin-bottom: 22px; }
.tag {
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding: 3px 9px; border-radius: 2px;
}
h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.015em;
  margin-bottom: 26px; text-wrap: balance;
}
h1 em, h2 em { color: var(--accent); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: rgba(232, 239, 245, 0.85); max-width: 62ch; }
.lede strong { color: var(--frost); font-weight: 500; }

.block { margin-top: 84px; }
h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin-bottom: 22px;
}
h2.small { font-size: 26px; }
.block > p { color: rgba(232, 239, 245, 0.8); max-width: 66ch; }
.block > p + p { margin-top: 14px; }

.points { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.points li { background: rgba(5, 7, 10, 0.9); padding: 20px 22px 20px 50px; position: relative; color: rgba(232, 239, 245, 0.82); }
.points li::before {
  content: ""; position: absolute; left: 22px; top: 30px;
  width: 12px; height: 1px; background: var(--accent);
}
.points strong { color: var(--frost); font-weight: 500; }

.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cases article {
  padding: 28px 24px;
  background: rgba(12, 16, 23, 0.82);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  transition: transform .25s ease, border-color .25s ease;
}
.cases article:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.cases h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
.cases p { color: rgba(232, 239, 245, 0.75); font-size: 15px; }
.cases .metric { display: block; margin-top: 14px; color: var(--accent); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); padding: 5px 11px; border-radius: 2px; color: var(--muted); background: rgba(255, 255, 255, 0.02); }

.cta-block {
  padding: 44px 36px; border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), rgba(12, 16, 23, 0.6));
}
.cta-block p { color: var(--muted); margin-bottom: 28px; max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14.5px; font-weight: 400; transition: all .25s ease;
}
.btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn.primary { background: var(--frost); color: var(--ink); border-color: var(--frost); font-weight: 500; }
.btn.primary:hover { background: #fff; box-shadow: 0 0 24px rgba(232, 239, 245, 0.35); }

.related { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.related a {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 14px; transition: all .2s;
}
.related a:hover { color: var(--frost); border-color: var(--accent); }

.foot {
  max-width: 980px; margin: 60px auto 0; padding: 22px var(--pad) 40px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(125, 140, 153, 0.7); font-size: 10.5px;
}

@media (max-width: 600px) {
  .top nav a:not(.cta) { display: none; }
  .cta-block { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
