@view-transition { navigation: auto; }

:root {
  --base: #ECEBF1;
  --n50: #F7F6FA;
  --n100: #E2E0E9;
  --n300: #BDB8C9;
  --n600: #5F5872;
  --n800: #352D45;
  --n900: #1C1328;
  --accent: #6B2F8F;
  --accent-deep: #521F70;
  --lilac: #CDB3E8;
  --font-display: 'Unbounded', 'Arial Rounded MT Bold', sans-serif;
  --font-body: 'Figtree', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --r-pill: 999px;
  --r-panel: 32px;
  --u: 8px;
  /* layout: the menu bar sits --gutter from the screen edge; page content sits a further --inset in */
  --maxw: 1160px;
  --gutter: 16px;
  --inset: 12px;
  --pad: calc(var(--gutter) + var(--inset));
  --inner: calc(var(--maxw) - 2 * var(--inset));
  --wrap: calc(var(--inner) + 2 * var(--pad));
}
@media (min-width: 768px) { :root { --gutter: clamp(40px, 5vw, 96px); --inset: clamp(36px, 4.4vw, 64px); } }

*, *::before, *::after { box-sizing: border-box; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  background: var(--base); color: var(--n800); overflow-x: hidden;
}
@media (max-width: 767px) { body { font-size: 16px; } }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--n900); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--lilac); }
::selection { background: var(--lilac); color: var(--n900); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--n900); color: #fff; padding: 12px 20px; border-radius: var(--r-pill); text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 calc(var(--u) * 3.6);
  border-radius: var(--r-pill); border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .3s, color .3s, box-shadow .3s, scale .15s;
}
.btn:active { scale: .97; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(107,47,143,.55); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--n900); box-shadow: inset 0 0 0 1.5px var(--n300); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--n900); }
.btn-light { background: #fff; color: var(--n900); }
.btn-light:hover { background: var(--n100); }
.btn-sm { min-height: 44px; padding: 0 calc(var(--u) * 2.6); font-size: 15px; }
.ripple {
  position: absolute; width: 260%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; z-index: -1;
  translate: -50% -50%; background: radial-gradient(circle, rgba(255,255,255,.55) 0 30%, transparent 31% 46%, rgba(255,255,255,.35) 47% 50%, transparent 51%);
}
.btn-ghost .ripple { background: radial-gradient(circle, rgba(107,47,143,.25) 0 30%, transparent 31% 46%, rgba(107,47,143,.2) 47% 50%, transparent 51%); }

/* ---------- CURSOR ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 400; border-radius: 50%; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid var(--accent); transition: width .3s, height .3s, margin .3s, background-color .3s, border-color .3s; mix-blend-mode: multiply; }
.cursor-ring.big { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(205,179,232,.35); border-color: transparent; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }

/* ---------- NAV ---------- */
.site-nav {
  position: fixed; top: 12px; left: var(--gutter); right: var(--gutter); z-index: 150;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 0 8px 0 12px; border-radius: var(--r-pill);
  background: rgba(247,246,250,.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 12px 30px -18px rgba(28,19,40,.35);
}
@media (min-width: 768px) { .site-nav { top: 16px; left: 0; right: 0; margin: 0 auto; width: min(var(--maxw), calc(100% - 2 * var(--gutter))); height: 68px; padding: 0 10px 0 16px; } }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--n900); min-height: 44px; letter-spacing: -0.02em; }
.logo svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.logo .ring-bg { fill: none; stroke: var(--n300); stroke-width: 2.5; }
.logo .ring-prog { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.logo .core { fill: var(--accent); }
.nav-pill { position: relative; display: none; }
@media (min-width: 768px) { .nav-pill { display: block; } }
.nav-pill ul { position: relative; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-pill a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--n800); }
.nav-pill a[aria-current="true"] { color: var(--n900); }
.nav-ind { position: absolute; top: 0; left: 0; height: 44px; width: 0; border-radius: var(--r-pill); background: var(--n100); opacity: 0; pointer-events: none; }
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
.menu-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--n900); cursor: pointer; display: grid; place-content: center; gap: 6px; position: relative; z-index: 2; }
.menu-btn span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s, translate .35s; }
.menu-open .menu-btn span:first-child { translate: 0 4px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { translate: 0 -4px; transform: rotate(-45deg); }
@media (min-width: 768px) { .menu-btn { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 140; background: var(--n900); color: #fff;
  clip-path: circle(0% at calc(100% - 50px) 42px);
  display: flex; flex-direction: column; justify-content: center; padding: 96px 28px 40px;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 8px; }
.mobile-menu li a { display: flex; align-items: center; min-height: 64px; font-family: var(--font-display); font-size: 30px; font-weight: 500; text-decoration: none; color: #fff; letter-spacing: -0.02em; }
.mm-ind { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin-top: 26px; border-radius: 50%; background: var(--lilac); }
.mm-foot { margin-top: 40px; padding-left: 28px; color: var(--lilac); }
.mm-foot a { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 768px) { .mobile-menu { display: none; } }
.mobile-menu.css-anim { transition: clip-path .6s cubic-bezier(.7,0,.2,1); }
.menu-open .mobile-menu.css-anim { clip-path: circle(150% at calc(100% - 50px) 42px); }


/* ---------- FOOTER ---------- */
.site-foot { background: var(--accent); color: #fff; overflow: hidden; padding: 80px var(--pad) 32px; }
@media (min-width: 768px) { .site-foot { padding: 110px var(--pad) 36px; } }
.foot-mark { font-family: var(--font-display); font-weight: 600; font-size: 10.6vw; line-height: .95; letter-spacing: -0.04em; white-space: nowrap; text-align: center; overflow: hidden; perspective: 600px; padding-bottom: .08em; }
@media (min-width: 1420px) { .foot-mark { font-size: 150px; } }
.foot-mark .ch { display: inline-block; transform-origin: 50% 100%; }
.foot-row { max-width: var(--inner); margin: 48px auto 0; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.22); padding-top: 24px; }
.foot-row ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.foot-row a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 600; }
.foot-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-row p { color: #EADDF6; font-size: 15px; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
