:root {
  color-scheme: light;
  --ink: #16191f;
  --muted: #68717c;
  --paper: #f7f8fa;
  --surface: #ffffff;
  --line: #dfe3e8;
  --accent: #6b31d6;
  --accent-dark: #4f1fa8;
  --dark: #16141c;
  --max: 1180px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #b99aef; outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--accent); color: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 52px; height: 52px; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 9px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.nav-links .nav-cta { padding: 9px 15px; border-radius: 6px; background: var(--accent); color: #fff; }
.nav-links .nav-cta:hover { background: var(--accent-dark); color: #fff; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.1; letter-spacing: 0; }
h1 { max-width: 760px; font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.25rem; }
.lede { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 1.18rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--accent-dark); }
.button.secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero { padding: clamp(76px, 12vw, 160px) 0 96px; background: var(--dark); color: #fff; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lede { color: #c8c6ce; }
.hero .eyebrow { color: #c4a4ff; }
.hero .button.secondary { border-color: #544d60; background: transparent; color: #fff; }
.hero-grid { position: relative; }
.hero-grid::after { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -160px; border: 1px solid rgba(196,164,255,.25); transform: rotate(45deg); pointer-events: none; }
.section { padding: 96px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.section-heading p { max-width: 470px; margin: 0; color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card-media { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-body p { margin: 10px 0 0; color: var(--muted); }
.tag { display: inline-block; margin-bottom: 14px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.band { background: #ece8f8; }
.stat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.stat { padding-top: 18px; border-top: 2px solid var(--accent); }
.stat strong { display: block; font-size: 1.15rem; }
.stat span { display: block; margin-top: 6px; color: var(--muted); }
.page-hero { padding: 84px 0 72px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin: 48px 0 16px; font-size: 2rem; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { padding-left: 20px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.contact-details { padding-top: 10px; }
.contact-details p { color: var(--muted); }
.contact-details a { color: var(--accent-dark); font-weight: 700; }
.form { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
label { font-weight: 700; }
input, textarea { width: 100%; border: 1px solid #bfc6cf; border-radius: 5px; padding: 12px 13px; color: var(--ink); background: #fff; font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
.site-footer { padding: 52px 0 26px; background: var(--dark); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h2 { font-size: 1.5rem; }
.site-footer h3 { margin-bottom: 13px; font-size: 1rem; }
.site-footer p, .site-footer a { color: #b9b5c2; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #38343f; color: #8e8998; font-size: .85rem; }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 64px; }
  .brand img { width: 46px; height: 46px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 16px 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper); flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-links .nav-cta { text-align: center; }
  .hero { padding: 76px 0 72px; }
  .hero-grid::after { right: -300px; }
  .section { padding: 68px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 16px; }
  .grid-3, .grid-2, .stat-list, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
