:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --ink: #0f1424;
  --ink-soft: #4a5370;
  --line: #e2e6f0;
  --night: #0b1020;
  --night-2: #131a33;
  --brand: #5b4cff;
  --brand-deep: #4334e0;
  --mint: #19c2a0;
  --radius: 14px;
  --display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-deep); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 18px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 16, 32, .96); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.brand span { color: var(--mint); }
.brand img { margin-right: 10px; }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: #c9cfe4; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: #fff; border-color: var(--mint); }

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; border: 2px solid var(--brand); }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--brand); margin: 0 0 12px; }
.lead { font-size: 1.2rem; max-width: 62ch; }
.intro { color: var(--ink-soft); max-width: 68ch; margin: 0 0 36px; }
.muted { color: var(--ink-soft); }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 500px at 85% -10%, rgba(91,76,255,.55), transparent 60%),
  radial-gradient(700px 420px at 0% 110%, rgba(25,194,160,.30), transparent 60%),
  var(--night); }
.hero::after { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: 112px 16px 104px; }
.hero h1 span { background: linear-gradient(90deg, #8f84ff, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #d6dbef; margin: 0 0 34px; }
.hero .eyebrow, .page-head .eyebrow { color: var(--mint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 40px 0 0; }
.chips li { font-size: .88rem; color: #c9cfe4; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; padding: 5px 14px; }

.page-head { color: #d6dbef; padding: 84px 0 64px; background:
  radial-gradient(700px 360px at 90% -20%, rgba(91,76,255,.5), transparent 60%), var(--night); }
.page-head h1 { color: #fff; max-width: 22ch; }
.page-head .lead { margin: 0; }

/* sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-dark { background: var(--night); color: #c9cfe4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--mint); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-alt .card { background: var(--bg); }
.section-dark .card { background: var(--night-2); border-color: rgba(255,255,255,.08); }
.card p { margin: 0 0 10px; color: var(--ink-soft); }
.section-dark .card p { color: #aeb5cf; }
.card ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--ink-soft); font-size: .97rem; }
.section-dark .card ul { color: #aeb5cf; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, rgba(91,76,255,.14), rgba(25,194,160,.14)); color: var(--brand); }
.section-dark .icon { background: rgba(91,76,255,.22); color: #b3abff; }
.icon svg { width: 24px; height: 24px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); border-color: var(--brand); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--mint); border-bottom: 3px solid var(--mint); transform: rotate(-45deg); }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--display); font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* PRS diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 36px; }
.flow .node { background: var(--night-2); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px; text-align: center; }
.flow .node b { display: block; color: #fff; font-family: var(--display); }
.flow .node span { font-size: .88rem; color: #aeb5cf; }
.flow .arrow { color: var(--mint); font-size: 1.6rem; }

.contact-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.contact-card dt { font-weight: 600; }
.contact-card dd { margin: 0; }

/* cta + footer */
.cta-band { padding: 72px 0; color: #e6e9f7; background: linear-gradient(120deg, var(--brand-deep), #2a1fa8 55%, #0d6e5d); }
.cta-band h2 { color: #fff; max-width: 24ch; }
.cta-band p { max-width: 60ch; }
.cta-band .btn { background: #fff; color: var(--brand-deep); border-color: #fff; }
.cta-band .btn:hover { background: #eceaff; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.site-footer { background: var(--night); color: #9aa2c0; padding: 56px 0 24px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { color: #c9cfe4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }

@media (max-width: 860px) {
  .split, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); justify-self: center; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 80px 16px 72px; }
}
@media (max-width: 560px) {
  .nav { padding-top: 10px; padding-bottom: 10px; }
  .nav ul { gap: 2px 14px; }
  .nav ul a { font-size: .9rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .contact-card dl { grid-template-columns: 1fr; gap: 2px; }
  .contact-card dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card { transition: none; } }
.page-head a { color: var(--mint); }
