:root { --purple:#704cf1; --deep:#4b30b6; --lime:#e4f5af; --bright:#d5f47b; --cream:#faf9f3; --lilac:#f2edff; --ink:#252037; --muted:#70697b; --line:#e8e4ec; }

*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:'Jost',sans-serif; color:var(--ink); -webkit-font-smoothing:antialiased; }
.header a,.footer a { color:inherit; text-decoration:none; }
.header button { font:inherit; }
.container { width:min(92%,1200px); margin:0 auto; }

/* ==========================================
   TOP BAR
   ========================================== */

.topbar { display:flex; align-items:center; justify-content:center; gap:9px; min-height:35px; padding:8px 15px; background:var(--lime); color:var(--ink); text-align:center; font-size:11px; font-weight:900; letter-spacing:.13em; }
.topbar span { color:var(--purple); font-size:16px; }

/* ==========================================
   HEADER
   ========================================== */

.header { position:relative; z-index:1000; background:#fff; border-bottom:1px solid var(--line); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:26px; min-height:82px; }
.logo { display:inline-flex; align-items:center; flex-shrink:0; white-space:nowrap; color:var(--ink); font-size:32px; font-weight:900; letter-spacing:-.085em; line-height:1; }
.logo > span { color:var(--purple); }
.logo .logo-dot { color:var(--purple); }

.desktop-nav { display:flex; align-items:center; gap:27px; }
.desktop-nav a { position:relative; padding:12px 0; color:var(--ink); font-size:14px; font-weight:700; transition:color .2s; }
.desktop-nav a:after { content:""; position:absolute; bottom:5px; left:0; width:0; height:2px; border-radius:2px; background:var(--purple); transition:width .2s; }
.desktop-nav a:hover { color:var(--purple); }
.desktop-nav a:hover:after { width:100%; }

.header-cta { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:20px; padding:14px 20px; border:2px solid var(--purple); border-radius:100px; background:var(--purple); color:#fff!important; font-size:13px; font-weight:800; white-space:nowrap; transition:background .2s,transform .2s; }
.header-cta span { font-size:20px; font-weight:400; line-height:1; }
.header-cta:hover { background:var(--deep); transform:translateY(-2px); }

/* ==========================================
   HAMBURGER BUTTON
   ========================================== */

.menu-toggle { display:none; align-items:center; justify-content:center; flex-direction:column; gap:5px; width:49px; height:49px; flex-shrink:0; padding:0; border:0; border-radius:13px; background:var(--lime); color:var(--purple); cursor:pointer; }
.hamburger-line { display:block; width:23px; height:2.5px; border-radius:5px; background:var(--purple); transition:transform .25s,opacity .2s; transform-origin:center; }
.menu-open .hamburger-line:nth-child(1) { transform:translateY(7.5px) rotate(45deg); }
.menu-open .hamburger-line:nth-child(2) { opacity:0; }
.menu-open .hamburger-line:nth-child(3) { transform:translateY(-7.5px) rotate(-45deg); }

/* ==========================================
   MOBILE DROPDOWN MENU
   ========================================== */

.mobile-menu { display:none; position:absolute; top:100%; left:0; width:100%; background:#fff; border-top:1px solid var(--line); box-shadow:0 25px 45px rgba(40,25,70,.13); }
.mobile-menu-inner { width:min(92%,1200px); margin:0 auto; padding:17px 0 26px; }
.mobile-link { display:grid; grid-template-columns:1fr 30px; align-items:center; gap:15px; min-height:65px; border-bottom:1px solid var(--line); color:var(--ink); font-size:22px; font-weight:900; letter-spacing:-.045em; padding: 0 30px; }
.mobile-link > span { color:var(--purple); font-size:12px; font-weight:900; letter-spacing:0; }
.mobile-link b { justify-self:end; color:var(--purple); font-size:24px; font-weight:400; }
.mobile-link:hover { color:var(--purple); }
.mobile-cta { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:23px; padding:17px 21px; border-radius:15px; background:var(--purple); color:#fff!important; font-size:22px; font-weight:900; }
.mobile-cta span { font-size:24px; font-weight:400; }
.mobile-cta:hover { background:var(--deep); }
.mobile-menu-bottom { margin-top:21px; color:var(--muted); text-align:center; font-size:10px; font-weight:900; letter-spacing:.1em; }

/* ==========================================
   FOOTER - FLAT TWO ROW LAYOUT
   ========================================== */

.footer { padding:35px 0 20px; background:var(--deep); color:#fff; }
.footer-main { display:flex; align-items:center; justify-content:space-between; gap:30px; padding-bottom:30px; }
.footer-logo { display:inline-flex; align-items:center; flex-shrink:0; white-space:nowrap; color:#fff; font-size:33px; font-weight:900; letter-spacing:-.085em; line-height:1; }
.footer-logo span { color:var(--lime); }
.footer-nav { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px 25px; }
.footer-nav a { color:#e2dcf6; font-size:13px; font-weight:600; white-space:nowrap; transition:color .2s; }
.footer-nav a:hover { color:var(--lime); }
.footer-cta { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:18px; padding:13px 19px; border-radius:100px; background:var(--lime); color:var(--deep)!important; font-size:12px; font-weight:900; letter-spacing:.03em; white-space:nowrap; transition:background .2s,transform .2s; }
.footer-cta span { font-size:19px; font-weight:400; line-height:1; }
.footer-cta:hover { background:var(--bright); transform:translateY(-2px); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:20px; border-top:1px solid rgba(255,255,255,.2); color:#d6cff2; font-size:12px; font-weight:500; }
.footer-bottom span:last-child { font-size:10px; font-weight:800; letter-spacing:.09em; }

/* ==========================================
   TABLET
   ========================================== */

@media(max-width:1100px) {
.header-inner { gap:18px; }
.desktop-nav { gap:17px; }
.desktop-nav a { font-size:13px; }
.logo { font-size:29px; }
.header-cta { gap:10px; padding:12px 16px; }
.footer-main { gap:20px; }
.footer-nav { gap:10px 16px; }
.footer-nav a { font-size:12px; }
.footer-logo { font-size:29px; }
}

/* ==========================================
   MOBILE NAVIGATION & FOOTER
   ========================================== */

@media(max-width:900px) {
.header-inner { min-height:74px; gap:15px; }
.logo { font-size:28px; }
.desktop-nav,.header-cta { display:none; }
.menu-toggle { display:flex; }
.menu-open .mobile-menu { display:block; }
.mobile-menu { max-height:calc(100dvh - 75px); overflow-y:auto; overscroll-behavior:contain; }
.footer { padding:35px 0 20px; }
.footer-main { flex-wrap:wrap; justify-content:space-between; gap:25px; }
.footer-logo { font-size:31px; }
.footer-nav { order:3; width:100%; justify-content:flex-start; gap:15px 24px; }
.footer-nav a { font-size:13px; }
.footer-cta { padding:12px 19px; }
}

/* ==========================================
   SMALL SCREENS
   ========================================== */

@media(max-width:520px) {
.topbar { min-height:33px; padding:8px 10px; font-size:9px; letter-spacing:.07em; }
.header-inner { min-height:69px; }
.logo { font-size:26px; }
.menu-toggle { width:45px; height:45px; border-radius:12px; }
.mobile-link { min-height:61px; font-size:20px; }
.mobile-menu-inner { padding-top:8px; }
.footer { padding:30px 0 20px; }
.footer-main { gap:23px 12px; padding-bottom:25px; }
.footer-logo { font-size:27px; }
.footer-cta { gap:10px; padding:11px 15px; font-size:11px; }
.footer-cta span { font-size:17px; }
.footer-nav { gap:13px 20px; }
.footer-nav a { font-size:12px; }
.footer-bottom { align-items:flex-start; flex-direction:column; gap:8px; padding-top:18px; font-size:11px; }
.footer-bottom span:last-child { font-size:9px; }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.menu-toggle:focus-visible,.header a:focus-visible,.footer a:focus-visible { outline:3px solid var(--purple); outline-offset:4px; }
.footer a:focus-visible { outline-color:var(--lime); }

@media(prefers-reduced-motion:reduce) {
html { scroll-behavior:auto; }
.header *, .footer * { transition:none!important; }
}
