*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:        #8c52ff;
  --purple-light:  #aa7fff;
  --purple-dim:    rgba(140,82,255,0.07);
  --purple-border: rgba(140,82,255,0.18);
  --black:         #0c0c0e;
  --white:         #ffffff;
  --grey-50:       #f8f8fb;
  --grey-100:      #f1f1f5;
  --grey-200:      #e6e6ed;
  --grey-400:      #9898aa;
  --grey-600:      #545466;
  --font-d: 'Fraunces', Georgia, serif;
  --font-b: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 36px; }
.tag {
  display: inline-block;
  font-family: var(--font-b);
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-dim);
  border: 1px solid var(--purple-border);
  padding: 5px 12px; border-radius: 100px;
}
.lbl {
  display: block;
  font-family: var(--font-b);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey-400); margin-bottom: 16px;
}
.lbl-i { color: rgba(255,255,255,.3); }

.h1 {
  font-family: var(--font-d);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 900; line-height: 1.02; letter-spacing: -.04em;
  font-optical-sizing: auto;
}
.h2 {
  font-family: var(--font-d);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; line-height: 1.08; letter-spacing: -.035em;
  font-optical-sizing: auto;
}
.purple { color: var(--purple); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s ease, transform .72s ease; }
.reveal.in { opacity: 1; transform: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 2px;
}
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  padding: 10px 16px; background: var(--purple); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow .3s;
}
nav.sh { box-shadow: 0 4px 40px rgba(0,0,0,.06); }
.nav-r { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; display: block; }
.nav-ul { display: flex; gap: 30px; list-style: none; }
.nav-ul a { font-size: 14px; font-weight: 500; color: var(--grey-600); text-decoration: none; transition: color .2s; }
.nav-ul a:hover { color: var(--black); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-mob-only { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 8px;
  font-family: var(--font-b); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none; transition: all .2s;
}
.btn-p { background: var(--purple); color: #fff; }
.btn-p:hover { background: #7b43ef; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(140,82,255,.3); }
.btn-o { background: transparent; color: var(--black); border: 1.5px solid var(--grey-200); }
.btn-o:hover { border-color: var(--black); }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-w { background: #fff; color: var(--black); }
.btn-w:hover { background: #f0e8ff; transform: translateY(-1px); }
.btn-g { background: transparent; color: rgba(255,255,255,.7); border: 1.5px solid rgba(255,255,255,.2); }
.btn-g:hover { border-color: rgba(255,255,255,.5); color: #fff; }

.ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.ham span { width: 22px; height: 1.5px; background: var(--black); border-radius: 2px; transition: all .22s ease; }

nav.open .nav-ul {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid var(--grey-200);
  padding: 8px 24px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
nav.open .nav-ul li { border-bottom: 1px solid var(--grey-100); }
nav.open .nav-ul li:last-child { border-bottom: none; }
nav.open .nav-ul a { display: block; padding: 13px 0; font-size: 15px; color: var(--black); }
nav.open .nav-mob-only { display: block; padding: 16px 0 4px; border-top: 1px solid var(--grey-100); margin-top: 8px; }
nav.open .nav-mob-only .nav-mob-btns { display: flex; flex-direction: column; gap: 10px; }
nav.open .nav-mob-only .btn { width: 100%; justify-content: center; }
nav.open .ham span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
nav.open .ham span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.open .ham span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* CTA */
#cta { background: var(--black); padding: 110px 36px; text-align: center; }
.cta-b { max-width: 620px; margin: 0 auto; }
#cta .h2 { color: #fff; margin-bottom: 18px; }
#cta p { color: rgba(255,255,255,.48); font-size: 17px; margin-bottom: 42px; }
.cta-btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.cta-em { font-size: 14px; color: rgba(255,255,255,.28); }
.cta-em a { color: var(--purple-light); text-decoration: none; }
.cta-em a:hover { text-decoration: underline; }

/* Footer */
footer { background: var(--black); border-top: 1px solid rgba(255,255,255,.06); padding: 36px 0; }
.ft-r { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.ft-logo { display: flex; align-items: center; gap: 9px; }
.ft-logo img { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .75; }
.ft-copy { font-size: 13px; color: rgba(255,255,255,.22); }
.ft-links { display: flex; gap: 22px; flex-wrap: wrap; }
.ft-links a { font-size: 13px; color: rgba(255,255,255,.28); text-decoration: none; transition: color .2s; }
.ft-links a:hover { color: rgba(255,255,255,.7); }

@media (max-width: 960px) {
  .nav-ul { display: none; }
  .ham { display: flex; }
  .nav-actions { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .btn-lg { padding: 12px 20px; font-size: 14px; }
  #cta { padding: 80px 20px; }
}
