:root {
  --bg: #070510;
  --surface: #100b1d;
  --surface-2: #1a1230;
  --ink: #f8f4ff;
  --ink-2: #c9bddb;
  --ink-3: #9588a9;
  --brand: #9b6cff;
  --brand-dark: #7443df;
  --brand-soft: rgba(155,108,255,.14);
  --accent: #d8b4fe;
  --line: rgba(213,198,242,.16);
  --ok: #72e7b0;
  --err: #ff8f9b;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(155,108,255,.22), transparent 30rem),
    radial-gradient(circle at 92% 32%, rgba(91,52,170,.17), transparent 34rem),
    linear-gradient(180deg, #0c0718 0, var(--bg) 42rem);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; line-height: 1.08; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 10px 15px; color: white; background: var(--ink); border-radius: 10px; }
.skip:focus { top: 16px; }
.section { padding: 78px 0; }
.section--alt { background: rgba(18,11,34,.72); border-block: 1px solid var(--line); }
.center { text-align: center; }

/* Header and footer */
.site-head { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(7,5,16,.78); backdrop-filter: blur(16px); }
.site-head__in { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.27rem; font-weight: 800; letter-spacing: -.03em; }
.brand__mark { width: 37px; height: 37px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #b893ff, #7544df); border-radius: 50% 50% 46% 54% / 52% 43% 57% 48%; box-shadow: 0 0 28px rgba(155,108,255,.35), inset -5px -5px 0 rgba(0,0,0,.12); transform: rotate(-8deg); }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--brand); }
.site-foot { padding: 42px 0; color: var(--ink-2); background: #05030b; border-top: 1px solid var(--line); }
.site-foot__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-foot p { margin: 0; font-size: .88rem; }
.site-foot a { color: white; }

/* Hero */
.phero { position: relative; overflow: hidden; padding: 86px 0 76px; }
.phero::after { content: "A"; position: absolute; right: max(1rem, calc((100vw - 1160px)/2)); top: -5rem; z-index: -1; color: rgba(155,108,255,.09); font-family: "Bricolage Grotesque", sans-serif; font-size: min(32rem, 54vw); font-weight: 800; line-height: 1; transform: rotate(7deg); }
.phero__in { max-width: 980px; }
.crumb { margin-bottom: 34px; color: var(--ink-3); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.crumb a { text-decoration: none; color: var(--brand); }
.eyebrow { display: inline-flex; padding: 6px 11px; margin-bottom: 18px; color: #d8c4ff; background: var(--brand-soft); border: 1px solid rgba(155,108,255,.3); border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.phero h1 { max-width: 820px; margin-bottom: 20px; font-size: clamp(3rem, 7.7vw, 6.7rem); letter-spacing: -.065em; }
.lede { max-width: 760px; color: var(--ink-2); font-size: clamp(1.02rem, 2vw, 1.28rem); }

/* Shared elements */
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 19px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border: 1px solid var(--brand); border-radius: 12px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { box-shadow: 0 10px 30px rgba(155,108,255,.3); transform: translateY(-1px); }
.btn:disabled { opacity: .58; cursor: wait; transform: none; }
.btn--ghost { color: #d8c4ff; background: transparent; }
.btn--ghost:hover { color: #fff; }
.btn--lg { min-height: 56px; padding-inline: 25px; }
.btn--block { width: 100%; }
.card { padding: 24px; background: rgba(16,11,29,.9); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 48px rgba(0,0,0,.22); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .section { padding: 56px 0; }
  .phero { padding: 58px 0 48px; }
  .phero h1 { font-size: clamp(2.8rem, 16vw, 5rem); }
  .site-nav > a:not(.btn) { display: none; }
  .site-foot__in { align-items: flex-start; flex-direction: column; }
}
