/* ============================================================
   LEADLAUNCH — SHARED SITE THEME ("INK & LILAC" V3)
   One source of truth for tokens, nav, mobile menu, buttons,
   footer, hero shells and effects on every sub-page.
   index.html keeps its own embedded copy by design.
   ============================================================ */

:root {
    /* legacy variable names kept — inline styles + JS rely on them */
    --primary-blue: #2b1b83;
    --primary-teal: #5b3df5;
    --accent-coral: #9f7aea;
    --dark-navy: #150b46;
    --light-teal: #efeaff;
    --text-dark: #1b1338;
    --text-light: #67608a;
    --white: #ffffff;
    --off-white: #f7f5ff;
    --border-light: rgba(21, 11, 70, 0.1);
    --panel-border: rgba(21, 11, 70, 0.12);
    --panel-border-strong: rgba(21, 11, 70, 0.2);
    --gradient-accent: linear-gradient(135deg, #2b1b83 0%, #5b3df5 55%, #9f7aea 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(239, 234, 255, 0.8) 0%, rgba(247, 245, 255, 0.98) 100%);
    --button-solid: #2b1b83;
    --button-solid-hover: #4326c9;
    --shadow-sm: 0 10px 24px -18px rgba(34, 18, 110, 0.35);
    --shadow-md: 0 24px 48px -30px rgba(34, 18, 110, 0.28);
    --shadow-xl: 0 42px 90px -40px rgba(34, 18, 110, 0.38);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(21, 11, 70, 0.1);
    /* v3 tokens */
    --ink: #0d0726;
    --ink-2: #170d4d;
    --electric: #5b3df5;
    --lilac: #9f7aea;
    --lavender: #f4f1ff;
    --paper: #fbfaff;
    --hairline: rgba(21, 11, 70, 0.09);
    --hairline-strong: rgba(21, 11, 70, 0.16);
    --serif: 'Fraunces', Georgia, serif;
    --radius-lg: 28px;
    --radius-md: 18px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 16px;
    scroll-padding-top: 110px;
    scrollbar-color: #5b3df5 #f1ecff;
}

::selection { background: rgba(91, 61, 245, 0.24); color: var(--ink); }

body {
    font-family: 'Manrope', sans-serif;
    background: var(--paper);
    color: var(--text-dark);
    line-height: 1.65;
    min-width: 320px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.mobile-menu-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--ink);
}

p { color: var(--text-light); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------------- Atmosphere / effects ---------------- */
.grain-overlay {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9999; opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.scroll-progress {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: 0 0;
    z-index: 1600;
    pointer-events: none;
}

/* ---------------- Reveal system (site.js adds .visible) ---------------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    will-change: opacity, transform;
}
.reveal-left { transform: translateX(-34px); }
.reveal-right { transform: translateX(34px); }
.reveal-scale { transform: scale(0.94); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
    opacity: 1;
    transform: none;
}
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.19s; }
.stagger-4 { transition-delay: 0.26s; }
.stagger-5 { transition-delay: 0.33s; }

/* ---------------- Buttons ---------------- */
.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.02rem 2.1rem;
    border-radius: 999px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    font-size: 0.93rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
    white-space: nowrap;
    overflow: hidden;
}
.magnetic-btn i { font-size: 0.85em; transition: transform 0.35s var(--ease-out); }
.magnetic-btn:hover i.fa-arrow-right { transform: translateX(4px); }

/* shine sweep on hover */
.magnetic-btn::before {
    content: '';
    position: absolute; top: 0; bottom: 0; left: -65%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.magnetic-btn:hover::before { left: 125%; transition: left 0.7s var(--ease-out); }
.magnetic-btn.loading::before { display: none; }

.btn-primary {
    background: linear-gradient(135deg, #2b1b83 0%, #4326c9 55%, #5b3df5 115%);
    color: #fff;
    box-shadow: 0 18px 38px -16px rgba(67, 38, 201, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #341fa0 0%, #4f30e0 55%, #6d4df6 115%);
    box-shadow: 0 26px 52px -18px rgba(67, 38, 201, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.nav-links a.btn-primary, .nav-links a.btn-primary:hover, .nav-links a.btn-primary:visited { color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--hairline-strong);
}
.btn-outline:hover {
    transform: translateY(-2px);
    border-color: rgba(91, 61, 245, 0.45);
    color: var(--electric);
    background: rgba(91, 61, 245, 0.05);
}

.btn-secondary {
    background: var(--lavender);
    color: var(--ink);
    border-color: rgba(91, 61, 245, 0.14);
}
.btn-white {
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-md);
}

@keyframes spin { to { transform: rotate(360deg); } }

.magnetic-btn.loading {
    pointer-events: none;
    opacity: 0.75;
    color: transparent !important;
}
.magnetic-btn.loading i, .magnetic-btn.loading span { opacity: 0; }
.magnetic-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: spin 0.7s linear infinite;
}
.btn-outline.loading::after { border-color: rgba(43, 27, 131, 0.25); border-top-color: var(--electric); }

/* ---------------- Header / nav ---------------- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: padding 0.4s var(--ease-out);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 0.6rem 0.55rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(21, 11, 70, 0.08);
    box-shadow: 0 18px 50px -30px rgba(13, 7, 38, 0.45);
    transition: box-shadow 0.4s ease, background 0.4s ease;
}

header.scrolled { padding: 0.55rem 0; }
header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 60px -32px rgba(13, 7, 38, 0.55);
}

.nav-glass { min-width: 0; }
.logo-container { display: flex; align-items: center; gap: 0.7rem; }
.logo { height: 44px; width: auto; display: block; }
.logo-text {
    display: flex; flex-direction: column;
    font-family: 'Sora', sans-serif;
    font-size: 0.86rem; font-weight: 700; line-height: 1.04;
    letter-spacing: -0.02em; color: var(--ink); white-space: nowrap;
}

.nav-links {
    display: flex; list-style: none;
    gap: 0.2rem; align-items: center; flex-wrap: nowrap; min-width: 0; white-space: nowrap;
}
.nav-links li { position: relative; flex-shrink: 0; }
.nav-links a, .nav-toggle {
    text-decoration: none;
    color: rgba(27, 19, 56, 0.78);
    font-weight: 650;
    font-size: 0.88rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: none; border: none; cursor: pointer;
    font-family: inherit;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover, .nav-toggle:hover,
.nav-links a.active, .nav-toggle.active {
    color: var(--ink);
    background: rgba(91, 61, 245, 0.08);
}
.nav-links a.btn-primary {
    padding: 0.78rem 1.5rem; margin-left: 0.4rem;
    background: linear-gradient(135deg, #2b1b83 0%, #4326c9 55%, #5b3df5 115%);
    box-shadow: 0 14px 30px -14px rgba(67, 38, 201, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.nav-links a.btn-primary:hover {
    background: linear-gradient(135deg, #341fa0 0%, #4f30e0 55%, #6d4df6 115%);
    box-shadow: 0 18px 38px -14px rgba(67, 38, 201, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.nav-caret { font-size: 0.66rem; transition: transform 0.25s ease; }
.nav-dropdown:hover .nav-caret, .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.8rem); left: 0;
    min-width: 230px;
    padding: 0.5rem;
    border-radius: 18px;
    border: 1px solid rgba(21, 11, 70, 0.08);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-xl);
    display: grid; gap: 0.15rem;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1005;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a { padding: 0.72rem 0.9rem; border-radius: 12px; font-size: 0.86rem; width: 100%; }
.dropdown-menu a:hover, .dropdown-menu a.active { background: var(--lavender); color: var(--ink); }

.mobile-menu-btn {
    display: none;
    background: var(--ink); color: #fff;
    border: none; font-size: 1.05rem;
    width: 44px; height: 44px; border-radius: 999px;
    cursor: pointer; z-index: 1001;
    align-items: center; justify-content: center;
}
body.mobile-menu-open .mobile-menu-btn { display: none !important; }

/* ---------------- Mobile nav overlay ---------------- */
.mobile-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    height: 100dvh;
    z-index: 2000;
    color-scheme: dark;
    background-color: #0d0726;
    background-image:
        radial-gradient(90% 55% at 88% -8%, rgba(91, 61, 245, 0.4), rgba(13, 7, 38, 0) 60%),
        radial-gradient(70% 45% at 0% 105%, rgba(159, 122, 234, 0.2), rgba(13, 7, 38, 0) 62%),
        linear-gradient(170deg, #0d0726 0%, #170d4d 100%);
    display: flex; flex-direction: column;
    padding: 1.2rem 1.5rem 2rem;
    gap: 0;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.5s var(--ease-out), visibility 0s;
}
.mobile-nav-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 1.1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}
.mobile-nav-head img { height: 52px; width: auto; display: block; }
.mobile-nav > a, .mobile-group summary {
    color: #f2eeff;
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-size: 1.16rem; font-weight: 600;
    letter-spacing: -0.01em;
    padding: 0.92rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; list-style: none;
    flex-shrink: 0;
}
.mobile-nav > a:not(.btn-primary)::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.35);
}
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group summary i { font-size: 0.72rem; color: rgba(255, 255, 255, 0.4); transition: transform 0.3s ease; }
.mobile-group[open] summary i { transform: rotate(180deg); }
.mobile-submenu { display: grid; padding: 0.25rem 0 0.6rem 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.mobile-submenu a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.97rem; font-weight: 500;
    padding: 0.5rem 0.2rem;
}
.mobile-nav > a.btn-primary {
    border: none; margin-top: 1.5rem;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}
.mobile-nav-foot {
    margin-top: auto;
    padding-top: 1.6rem;
    display: grid; gap: 0.55rem;
    flex-shrink: 0;
}
.mobile-nav-foot a {
    color: rgba(231, 226, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
}
.mobile-nav-foot i { color: #9f7aea; }
.close-menu {
    width: 42px; height: 42px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
/* staggered entrance */
.mobile-nav-head, .mobile-nav > a, .mobile-nav .mobile-group, .mobile-nav-foot {
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s var(--ease-out);
}
.mobile-nav.active .mobile-nav-head, .mobile-nav.active > a,
.mobile-nav.active .mobile-group, .mobile-nav.active .mobile-nav-foot {
    opacity: 1; transform: none;
}
.mobile-nav.active > *:nth-child(2) { transition-delay: 0.05s; }
.mobile-nav.active > *:nth-child(3) { transition-delay: 0.09s; }
.mobile-nav.active > *:nth-child(4) { transition-delay: 0.13s; }
.mobile-nav.active > *:nth-child(5) { transition-delay: 0.17s; }
.mobile-nav.active > *:nth-child(6) { transition-delay: 0.21s; }
.mobile-nav.active > *:nth-child(7) { transition-delay: 0.25s; }
.mobile-nav.active > *:nth-child(8) { transition-delay: 0.29s; }
.mobile-nav.active > *:nth-child(9) { transition-delay: 0.33s; }
.mobile-nav.active > *:nth-child(10) { transition-delay: 0.37s; }
.mobile-nav.active > *:nth-child(11) { transition-delay: 0.41s; }

/* ---------------- Shared page primitives ---------------- */
.eyebrow, .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    color: var(--electric);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-header {
    display: grid;
    gap: 1rem;
    max-width: 760px;
    margin-bottom: 3.2rem;
}
.section-header.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-header.center .section-tag { margin: 0 auto; }
.section-header h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
.section-header p { font-size: 1.06rem; line-height: 1.75; }

/* Dark ink hero shell shared by sub-pages */
.page-hero {
    position: relative;
    margin: 0.8rem;
    padding: 10rem 0 5rem;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(55% 70% at 84% 8%, rgba(91, 61, 245, 0.48), transparent 62%),
        radial-gradient(40% 55% at 8% 100%, rgba(159, 122, 234, 0.28), transparent 64%),
        linear-gradient(165deg, #0d0726 0%, #150b46 52%, #221164 100%);
    isolation: isolate;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(70% 75% at 65% 30%, rgba(0,0,0,0.8), transparent 80%);
    -webkit-mask-image: radial-gradient(70% 75% at 65% 30%, rgba(0,0,0,0.8), transparent 80%);
}
.page-hero .eyebrow {
    margin-bottom: 1.4rem;
    padding: 0.54rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
}
.page-hero .eyebrow i { color: #b39dfa; }
.page-hero h1 {
    max-width: 840px;
    color: white;
    font-size: clamp(2.55rem, 5.6vw, 4.8rem);
    letter-spacing: -0.05em;
}
.page-hero .hero-lede {
    max-width: 720px;
    margin-top: 1.4rem;
    color: rgba(231, 226, 255, 0.74);
    font-size: clamp(1.03rem, 1.4vw, 1.22rem);
    line-height: 1.75;
}
.page-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}
.page-hero .btn-primary {
    background: white;
    color: var(--ink);
    box-shadow: 0 24px 54px -22px rgba(0, 0, 0, 0.55);
}
.page-hero .btn-primary:hover {
    background: #f2eeff;
    color: var(--ink);
}
.page-hero .btn-outline {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.24);
}
.page-hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

/* Gradient CTA band shared by sub-pages */
.cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    border-radius: 28px;
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-xl);
}
.cta-band h2 {
    margin-bottom: 0.55rem;
    color: white;
    font-size: clamp(1.8rem, 3.6vw, 2.9rem);
}
.cta-band p { max-width: 730px; color: rgba(255, 255, 255, 0.82); }
.cta-band .btn-primary {
    background: white;
    color: var(--ink);
    box-shadow: 0 24px 54px -22px rgba(0, 0, 0, 0.45);
}
.cta-band .btn-primary:hover { background: #f2eeff; }

/* ---------------- Footer (mirror of index.html) ---------------- */
footer {
    background: #0a0520;
    color: #fff;
    padding: 5rem 0 2.2rem;
    position: relative;
}
footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(159, 122, 234, 0.5), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3.2rem;
}
.footer-brand .logo { height: 64px; margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(231, 226, 255, 0.55); font-size: 0.95rem; line-height: 1.75; }
.footer-contact { margin-top: 1.4rem; }
.footer-contact p {
    color: rgba(231, 226, 255, 0.55);
    font-size: 0.88rem;
    margin-bottom: 0.7rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.footer-contact a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-contact i { color: #9f7aea; width: 18px; }
.social-links { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.social-links a {
    width: 42px; height: 42px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; font-size: 1rem;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: rgba(91, 61, 245, 0.45);
    border-color: rgba(159, 122, 234, 0.5);
    transform: translateY(-2px);
}
.footer-links h4 {
    color: #fff; font-size: 0.82rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.footer-links ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-links a {
    color: rgba(231, 226, 255, 0.55);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s ease;
    word-break: break-word;
}
.footer-links a:hover { color: #c9b6ff; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.8rem;
    color: rgba(231, 226, 255, 0.45);
    font-size: 0.85rem;
}
.footer-location { display: flex; align-items: center; gap: 0.5rem; }
.footer-location i { color: #9f7aea; }

/* ---------------- Responsive (mirrors index.html breakpoints) ---------------- */
@media (max-width: 1180px) {
    .nav-links { gap: 0; }
    .nav-links a, .nav-toggle { font-size: 0.84rem; padding: 0.5rem 0.6rem; }
}

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .navbar { padding: 0.5rem 0.55rem 0.5rem 1rem; }
}

@media (max-width: 768px) {
    html { scroll-padding-top: 84px; }
    .container { padding: 0 1.1rem; }
    .section-header { margin-bottom: 1.35rem; }
    .section-header h2 { font-size: clamp(1.65rem, 7vw, 2.15rem); }
    .section-header p { font-size: 0.95rem; }
    .section-tag { font-size: 0.7rem; }

    header { padding: 0.65rem 0; pointer-events: none; }
    header.scrolled .navbar,
    .navbar {
        justify-content: flex-end;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-glass { display: none; }
    .mobile-menu-btn {
        display: flex;
        pointer-events: auto;
        background: rgba(13, 7, 38, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 14px 34px -18px rgba(13, 7, 38, 0.85);
    }
    .logo { height: 38px; }
    .logo-text { font-size: 0.78rem; }

    .page-hero {
        margin: 0.55rem;
        padding: 6.6rem 0 3rem;
        border-radius: 24px;
    }
    .page-hero h1 {
        font-size: clamp(2rem, 9.4vw, 3rem);
        letter-spacing: -0.045em;
    }
    .page-hero .hero-lede { font-size: 1rem; line-height: 1.68; }
    .page-hero .hero-actions { display: grid; grid-template-columns: 1fr; }

    .cta-band { grid-template-columns: 1fr; border-radius: 22px; }
    .cta-band .magnetic-btn { width: 100%; }

    footer { padding: 3.6rem 0 1.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 420px) {
    .navbar { padding: 0; }
    .logo-text { display: none; }
    .page-hero { margin: 0.45rem; }
    .magnetic-btn { width: 100%; padding-right: 1rem; padding-left: 1rem; }
    .nav-links a.btn-primary { width: auto; }
    .eyebrow, .section-tag { font-size: 0.7rem; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
