:root {
  color-scheme: light;
  --ink: #171b37;
  --muted: #586075;
  --line: #dfe3ee;
  --paper: #fff;
  --violet: #5731c4;
  --violet-dark: #362086;
  --tint: #f5f3fc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--violet-dark); text-underline-offset: .18em; }
a:hover { color: var(--violet); }
:focus-visible { outline: 3px solid #8164ed; outline-offset: 4px; border-radius: 3px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 10; padding: .6rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.shell { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-size: 1.02rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand img { display: block; width: 2.2rem; height: 2.2rem; border-radius: .55rem; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1.4rem; font-size: .94rem; }
.site-nav a { color: #424961; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--violet-dark); font-weight: 700; }
.site-nav a:hover { text-decoration: underline; }

.hero { overflow: hidden; background: radial-gradient(circle at 84% 16%, #7054df 0, transparent 28%), linear-gradient(120deg, #19123f 8%, #2d1b78 55%, #4030a1 100%); color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(13rem, .6fr); align-items: center; gap: 2rem; padding-block: clamp(3.8rem, 8vw, 7.2rem); }
.eyebrow { margin: 0 0 .8rem; color: #cfc5ff; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hero h1, .page-title { max-width: 18ch; margin: 0; font-size: clamp(2.45rem, 5.4vw, 4.7rem); line-height: 1.08; letter-spacing: -.045em; }
.hero .lead { max-width: 36rem; margin: 1.45rem 0 1.9rem; color: #eeeaff; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.6; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: .6rem; font-size: .94rem; font-weight: 700; text-decoration: none; }
.button-primary { background: #fff; color: #251965; }
.button-primary:hover { background: #f0ecff; color: #251965; }
.button-dark { background: var(--violet-dark); color: #fff; }
.button-dark:hover { background: var(--violet); color: #fff; }
.button-quiet { border-color: #bcb0fa; color: #fff; }
.button-quiet:hover { background: #ffffff17; color: #fff; }
.hero-mark { width: min(100%, 14rem); justify-self: center; border-radius: 2rem; box-shadow: 0 1.3rem 3rem #0e0a3280; }

.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-tint { background: var(--tint); }
.section h2 { max-width: 28ch; margin: 0 0 1.3rem; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.22; letter-spacing: -.025em; }
.section-intro { max-width: 45rem; margin: 0 0 2rem; color: var(--muted); font-size: 1.07rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature { padding: 1.45rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; }
.feature h3 { margin: 0 0 .45rem; font-size: 1.05rem; line-height: 1.3; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.split p { max-width: 42rem; margin-top: 0; color: var(--muted); }
.arrow-link { font-weight: 700; }

.page-main { padding-block: clamp(2.7rem, 6vw, 4.8rem) 5rem; }
.page-intro { max-width: 48rem; margin-bottom: 2.4rem; }
.page-kicker { margin: 0 0 .7rem; color: var(--violet-dark); font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.page-title { max-width: 26ch; font-size: clamp(2.2rem, 4.4vw, 3.65rem); }
.page-intro > p:last-child { margin: 1.25rem 0 0; color: var(--muted); font-size: 1.1rem; }
.prose { max-width: 47rem; }
.prose h2 { margin: 2.4rem 0 .65rem; font-size: 1.45rem; line-height: 1.28; letter-spacing: -.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: .7rem 0 1rem; }
.prose li + li { margin-top: .45rem; }
.prose ul { padding-left: 1.5rem; }
.callout { margin: 1.7rem 0; padding: 1.2rem 1.4rem; border-left: .28rem solid var(--violet); border-radius: 0 .55rem .55rem 0; background: var(--tint); }
.callout p:last-child { margin-bottom: 0; }
.meta { color: var(--muted); font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); background: #fafafe; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; padding-block: 2rem; color: var(--muted); font-size: .9rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; }

@media (max-width: 680px) {
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .55rem; padding-block: .85rem; }
  .site-nav { gap: .2rem 1rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .feature-grid, .split { grid-template-columns: 1fr; }
  .section { padding-block: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
