﻿/* ==========================================================================
   EduMaverick marketing pages â€” /features, /features/{slug}, /privacy, /terms
   Premium editorial surface that continues the landing page identity:
   Sora display type, navy ink, violet accent, graduated hairlines and
   diffused multi-layer depth.
   ========================================================================== */

:root {
    --p: #3b2fd4;
    --p-dark: #2a22a3;
    --violet: #6d5cff;
    --accent: #f5a623;
    --navy: #101a3c;
    --ink: #1c2440;
    --muted: #5b6486;
    --bg: #f5f7ff;
    --green: #16a34a;
    --green-soft: #e7f7ed;
    --line: rgba(16, 26, 60, .09);
    --line-strong: rgba(16, 26, 60, .16);
    --display: 'Sora', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius: 24px;
    --sh-sm: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(16, 26, 60, .05), 0 2px 6px -2px rgba(16, 26, 60, .06);
    --sh-md: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(16, 26, 60, .04), 0 10px 24px -12px rgba(16, 26, 60, .18), 0 30px 60px -34px rgba(16, 26, 60, .32);
    --sh-lg: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 40px -18px rgba(4, 8, 28, .55), 0 60px 120px -50px rgba(59, 47, 212, .6);
    --ease: cubic-bezier(.32, .72, 0, 1);
    --ease-soft: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.16; letter-spacing: -.025em; }

p { margin: 0 0 14px; }
a { color: var(--p); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

::selection { background: var(--p); color: #fff; }

:focus-visible {
    outline: 3px solid rgba(245, 166, 35, .9);
    outline-offset: 3px;
    border-radius: 8px;
}

.emf-wrap { width: min(1220px, 100% - 48px); margin-inline: auto; }

.emf-skip {
    position: fixed; top: 10px; left: 10px; z-index: 200;
    transform: translateY(-160%);
    background: var(--navy); color: #fff; text-decoration: none;
    padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px;
    transition: transform .2s var(--ease);
}
.emf-skip:focus { transform: translateY(0); }

/* ---------- reading progress ---------- */
.emf-progress {
    position: fixed; inset: 0 0 auto; height: 3px; z-index: 120;
    background: transparent; pointer-events: none;
}
.emf-progress span {
    display: block; height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--violet), var(--accent));
    box-shadow: 0 0 12px rgba(109, 92, 255, .7);
}

/* ---------- header ---------- */
.emf-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .84);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid var(--line);
    transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.emf-header.is-scrolled {
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px -22px rgba(16, 26, 60, .5);
}
.emf-header-inner {
    width: min(1220px, 100% - 48px); margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: 74px;
}

.emf-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.emf-brand img {
    width: 42px; height: 42px; border-radius: 13px;
    box-shadow: 0 6px 16px -8px rgba(16, 26, 60, .45), inset 0 0 0 1px rgba(16, 26, 60, .06);
}
.emf-brand b { display: block; font-family: var(--display); font-size: 18.5px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1.1; }
.emf-brand small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-top: 2px; }

.emf-nav { display: flex; align-items: center; gap: 4px; }
.emf-nav a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 13px; border-radius: 11px;
    font-size: 14.5px; font-weight: 600; color: #2b3452; text-decoration: none;
    transition: background .18s var(--ease), color .18s var(--ease);
}
.emf-nav a:hover { background: #f0f1fb; color: var(--p); }

.emf-header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */
.emf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    border: 0; border-radius: 999px; cursor: pointer;
    padding: 12px 22px;
    font-family: var(--body); font-size: 14.5px; font-weight: 700; letter-spacing: -.01em;
    text-decoration: none; white-space: nowrap;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}
.emf-btn svg { width: 17px; height: 17px; flex: none; }
.emf-btn--sm { padding: 10px 17px; font-size: 13.5px; }
.emf-btn--primary {
    background: linear-gradient(135deg, var(--p), var(--violet));
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(59, 47, 212, .8), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.emf-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -14px rgba(59, 47, 212, .85), inset 0 1px 0 rgba(255, 255, 255, .24); }
.emf-btn--ghost {
    background: #fff; color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(16, 26, 60, .14), 0 2px 6px -4px rgba(16, 26, 60, .18);
}
.emf-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(59, 47, 212, .5), 0 8px 18px -12px rgba(16, 26, 60, .4); color: var(--p); }
.emf-btn--light {
    background: #fff; color: var(--navy);
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .55);
}
.emf-btn--light:hover { transform: translateY(-1px); }
.emf-btn--outline-light {
    background: rgba(255, 255, 255, .06); color: #eef1ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.emf-btn--outline-light:hover { background: rgba(255, 255, 255, .12); }

/* ---------- mobile nav ---------- */
.emf-menu-btn {
    display: none; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: #fff; border: 1px solid var(--line); color: var(--navy);
    cursor: pointer;
}
.emf-menu-btn svg { width: 21px; height: 21px; }
.emf-mobile {
    position: fixed; z-index: 99; inset: 74px 0 auto;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px;
    box-shadow: 0 30px 60px -40px rgba(16, 26, 60, .5);
}
.emf-mobile[hidden] { display: none; }
.emf-mobile a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 4px; text-decoration: none; color: var(--ink);
    font-weight: 700; font-size: 15.5px; border-bottom: 1px solid var(--line);
}
.emf-mobile a:last-of-type { border-bottom: 0; }
.emf-mobile .emf-btn { margin-top: 14px; width: 100%; }

/* ---------- hero ---------- */
.emf-hero {
    position: relative; overflow: hidden;
    padding: 46px 0 72px;
    color: #e8ecff;
    background:
        radial-gradient(1100px 540px at 12% -18%, rgba(109, 92, 255, .55), transparent 62%),
        radial-gradient(900px 520px at 88% 8%, rgba(59, 47, 212, .5), transparent 58%),
        linear-gradient(162deg, #0a1030 0%, #101a3c 52%, #171b4d 100%);
}
.emf-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(900px 420px at 60% 0%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(900px 420px at 60% 0%, #000 0%, transparent 78%);
}
.emf-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(245, 247, 255, .16));
}

.emf-hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 56px; align-items: center;
}

.emf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #9fabd9; margin: 0 0 26px; }
.emf-crumbs a { color: #ccd4f4; text-decoration: none; }
.emf-crumbs a:hover { color: #fff; text-decoration: underline; }
.emf-crumbs span.sep { opacity: .45; }

.emf-hero h1 {
    color: #fff; font-size: clamp(33px, 4.4vw, 56px); line-height: 1.05;
    letter-spacing: -.038em; font-weight: 800; margin: 0 0 20px; max-width: 21ch;
}
.emf-lead { font-size: 17.5px; line-height: 1.68; color: #c2cbef; max-width: 57ch; margin: 0 0 30px; }
.emf-hero .emf-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.emf-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 30px 0 0; padding: 0; }
.emf-trust li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #dbe2ff; }
.emf-trust svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* hero visual */
.emf-visual { position: relative; }
.emf-browser {
    position: relative; border-radius: 20px; overflow: hidden;
    background: #0d1330;
    box-shadow: var(--sh-lg);
    transform: rotate(-1.1deg);
    transition: transform .6s var(--ease-soft);
}
.emf-visual:hover .emf-browser { transform: rotate(0deg) translateY(-3px); }
.emf-browser-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 12px 15px; background: rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.emf-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.emf-browser-bar i:nth-child(1) { background: #ff5f57; }
.emf-browser-bar i:nth-child(2) { background: #febc2e; }
.emf-browser-bar i:nth-child(3) { background: #28c840; }
.emf-browser-bar span {
    margin-left: 8px; font-size: 11.5px; font-weight: 600; color: #9aa6d6;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.emf-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.emf-browser--app { max-width: 330px; margin-inline: auto; border-radius: 30px; }
.emf-browser--app img { aspect-ratio: 9 / 15; object-position: top center; }

/* legal hero */
.emf-hero--legal {
    color: var(--ink);
    background:
        radial-gradient(900px 420px at 8% -20%, rgba(109, 92, 255, .12), transparent 60%),
        radial-gradient(760px 380px at 92% 0%, rgba(245, 166, 35, .12), transparent 55%),
        linear-gradient(180deg, #ffffff, var(--bg));
    padding: 40px 0 54px;
}
.emf-hero--legal::before { display: none; }
.emf-hero--legal::after { background: linear-gradient(180deg, transparent, rgba(16, 26, 60, .04)); }
.emf-hero--legal .emf-crumbs { color: var(--muted); }
.emf-hero--legal .emf-crumbs a { color: var(--p); }
.emf-hero--legal h1 { color: var(--navy); max-width: 22ch; }
.emf-hero--legal .emf-lead { color: var(--muted); }
.emf-hero--legal .emf-trust li { color: #3d4664; }
.emf-hero--legal .emf-trust svg { color: var(--p); }

/* ---------- shell ---------- */
.emf-shell {
    display: grid; grid-template-columns: minmax(0, 1fr) 296px;
    gap: 48px; align-items: start;
    padding: 64px 0 8px;
}
.emf-main { min-width: 0; }
.emf-aside { position: sticky; top: 98px; }

/* ---------- content sections ---------- */
.emf-section {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm);
    padding: 32px 34px 34px;
    margin-bottom: 20px;
    scroll-margin-top: 104px;
}
.emf-section-head { display: flex; align-items: center; gap: 15px; margin-bottom: 14px; }
.emf-num {
    flex: none; display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 13px;
    font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .04em;
    color: var(--p);
    background: linear-gradient(140deg, #f0eeff, #fbfaff);
    box-shadow: inset 0 0 0 1px rgba(59, 47, 212, .12);
}
.emf-section h2 { font-size: clamp(21px, 2.2vw, 26px); margin: 0; letter-spacing: -.028em; }
.emf-section p { color: #37415f; max-width: 70ch; margin: 0 0 14px; }
.emf-section p:last-of-type { margin-bottom: 0; }

.emf-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.emf-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 600; color: #26304d; line-height: 1.5; }
.emf-ticks svg {
    width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 7px;
    color: var(--green); background: var(--green-soft);
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .12);
}

/* ---------- hub grid ---------- */
.emf-section--flush { padding: 0; background: transparent; box-shadow: none; margin: 0 0 22px; }
.emf-section--flush .emf-section-head { padding: 4px 4px 0; }
.emf-section--flush h2 { font-size: clamp(22px, 2.4vw, 28px); }
.emf-section--flush > p { padding: 0 4px; }

/* grouped module index */
.emf-index {
    columns: 2; column-gap: 12px; margin-top: 22px;
}
.emf-index-group {
    break-inside: avoid; margin: 0 0 12px;
    background: #fff; border-radius: 18px; padding: 20px 22px;
    box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm);
}
.emf-index-group h3 { font-family: var(--display); font-size: 15.5px; font-weight: 700; color: var(--navy); margin: 0 0 4px; letter-spacing: -.015em; }
.emf-index-group p { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0 0 12px; max-width: none; }
.emf-index-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.emf-index-group li { position: relative; padding-left: 15px; font-size: 13.5px; line-height: 1.45; color: #37415f; }
.emf-index-group li::before {
    content: ""; position: absolute; left: 0; top: .55em;
    width: 5px; height: 5px; border-radius: 50%; background: rgba(59, 47, 212, .38);
}

.emf-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.emf-mod {
    position: relative; display: flex; flex-direction: column; gap: 10px;
    padding: 24px 24px 20px;
    background: #fff; border-radius: 20px; text-decoration: none;
    box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease);
    overflow: hidden;
}
.emf-mod::after {
    content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(109, 92, 255, .16), transparent 65%);
    opacity: 0; transition: opacity .3s var(--ease); pointer-events: none;
}
.emf-mod:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(59, 47, 212, .18), var(--sh-md); }
.emf-mod:hover::after { opacity: 1; }
.emf-mod img { width: 44px; height: 44px; }
.emf-mod b { font-family: var(--display); font-size: 16.5px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.3; }
.emf-mod span { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.emf-mod em {
    margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px;
    font-style: normal; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; color: var(--p);
}
.emf-mod em svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.emf-mod:hover em svg { transform: translate(2px, -2px); }

/* steps */
.emf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 6px 0 26px; }
.emf-step { padding: 20px; border-radius: 18px; background: linear-gradient(160deg, #f7f8ff, #fff); box-shadow: inset 0 0 0 1px var(--line); }
.emf-step b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--navy); color: #fff; font-family: var(--display); font-size: 12px; margin-bottom: 12px; }
.emf-step h3 { font-size: 15px; margin: 0 0 6px; }
.emf-step p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- aside ---------- */
.emf-toc { background: #fff; border-radius: 20px; padding: 22px 20px; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); }
.emf-toc-title { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8a92b3; margin: 0 0 12px; }
.emf-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.emf-toc a {
    display: flex; align-items: baseline; gap: 9px;
    padding: 9px 11px; border-radius: 10px;
    font-size: 13.5px; font-weight: 600; line-height: 1.45;
    color: #3c4564; text-decoration: none;
    transition: background .18s var(--ease), color .18s var(--ease);
}
.emf-toc a::before {
    counter-increment: toc; content: counter(toc, decimal-leading-zero);
    font-family: var(--display); font-size: 10.5px; font-weight: 800; color: #a3aacb;
    transition: color .18s var(--ease);
}
.emf-toc a:hover { background: #f5f5fd; color: var(--p); }
.emf-toc a[aria-current="true"] { background: #f0eeff; color: var(--p); box-shadow: inset 2px 0 0 var(--p); }
.emf-toc a[aria-current="true"]::before { color: var(--p); }

/* ---------- FAQ ---------- */
.emf-faq-wrap { margin: 10px 0 22px; }
.emf-faq-wrap > h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 6px; padding: 0 4px; }
.emf-faq-wrap > p { color: var(--muted); padding: 0 4px; margin-bottom: 18px; }
.emf-faq { display: grid; gap: 10px; }
.emf-faq details {
    background: #fff; border-radius: 16px;
    box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm);
    transition: box-shadow .22s var(--ease), background .22s var(--ease);
}
.emf-faq details[open] { background: #fdfdff; box-shadow: inset 0 0 0 1px rgba(59, 47, 212, .22), var(--sh-md); }
.emf-faq summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 18px 20px;
    font-family: var(--display); font-size: 15.5px; font-weight: 700; color: var(--navy);
    letter-spacing: -.015em;
}
.emf-faq summary::-webkit-details-marker { display: none; }
.emf-faq summary:hover { color: var(--p); }
.emf-faq-sign { position: relative; flex: none; width: 26px; height: 26px; border-radius: 9px; background: #f1f2fb; box-shadow: inset 0 0 0 1px var(--line); }
.emf-faq-sign::before, .emf-faq-sign::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 2px;
    background: var(--p); transform: translate(-50%, -50%); transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.emf-faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.emf-faq details[open] .emf-faq-sign { background: var(--p); }
.emf-faq details[open] .emf-faq-sign::before, .emf-faq details[open] .emf-faq-sign::after { background: #fff; }
.emf-faq details[open] .emf-faq-sign::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.emf-faq .emf-answer { padding: 0 20px 20px; }
.emf-faq .emf-answer p { margin: 0; font-size: 14.5px; line-height: 1.7; color: #465271; max-width: 72ch; }

/* ---------- related ---------- */
.emf-related-wrap { margin: 4px 0 24px; }
.emf-related-wrap > h2 { font-size: clamp(20px, 2.2vw, 24px); margin: 0 0 14px; padding: 0 4px; }
.emf-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.emf-related a {
    display: flex; flex-direction: column; gap: 6px;
    padding: 18px; border-radius: 16px; text-decoration: none;
    background: #fff; box-shadow: inset 0 0 0 1px var(--line);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.emf-related a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(59, 47, 212, .2), var(--sh-md); }
.emf-related b { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.emf-related span { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* ---------- legal document treatment ---------- */
.is-legal .emf-shell { padding-top: 52px; }
.is-legal .emf-section {
    background: transparent; border-radius: 0; box-shadow: none;
    padding: 28px 0 30px; margin: 0;
    border-top: 1px solid var(--line);
}
.is-legal .emf-section:first-child { border-top: 0; padding-top: 0; }
.is-legal .emf-section h2 { font-size: clamp(20px, 2.1vw, 25px); }
.is-legal .emf-section p { color: #3b4566; }
.is-legal .emf-ticks { margin-top: 16px; }

.emf-updated {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 4px; padding: 8px 14px; border-radius: 999px;
    background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong), var(--sh-sm);
    font-size: 12.5px; font-weight: 700; color: #3d4664;
}
.emf-updated svg { width: 14px; height: 14px; color: var(--p); }

/* ---------- CTA band ---------- */
.emf-cta-band {
    position: relative; overflow: hidden;
    margin: 18px 0 70px; padding: 46px 48px; border-radius: 30px;
    background:
        radial-gradient(600px 260px at 88% -10%, rgba(109, 92, 255, .55), transparent 62%),
        radial-gradient(460px 220px at 4% 110%, rgba(245, 166, 35, .26), transparent 60%),
        linear-gradient(140deg, #0e1536, #1a1f57);
    color: #dbe2fb; box-shadow: 0 40px 80px -50px rgba(16, 26, 60, .9);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center;
}
.emf-cta-band::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(600px 300px at 80% 0%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(600px 300px at 80% 0%, #000, transparent 75%);
}
.emf-cta-band > * { position: relative; z-index: 1; }
.emf-cta-band h2 { color: #fff; font-size: clamp(23px, 2.9vw, 34px); margin: 0 0 8px; letter-spacing: -.03em; }
.emf-cta-band p { color: #bfc9ee; margin: 0; max-width: 58ch; font-size: 15.5px; }
.emf-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.emf-footer {
    position: relative; overflow: hidden;
    background: var(--navy); color: #aab4dd;
    padding: 62px 0 26px; font-size: 14px;
}
.emf-footer::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 320px; pointer-events: none;
    background: radial-gradient(700px 280px at 12% -20%, rgba(109, 92, 255, .28), transparent 62%);
}
.emf-footer .emf-wrap { position: relative; z-index: 1; }
.emf-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.emf-foot-brand .emf-brand b { color: #fff; }
.emf-foot-brand .emf-brand small { color: #8f9bc9; }
.emf-foot-brand p { margin: 16px 0 12px; max-width: 320px; color: #a7b1da; font-size: 13.5px; line-height: 1.65; }
.emf-foot-contact { display: grid; gap: 6px; font-size: 13px; }
.emf-foot-contact a { color: #dbe2fb; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.emf-foot-contact a:hover { color: #ffcf80; }
.emf-foot-contact svg { width: 13px; height: 13px; color: var(--accent); }

.emf-footer h4 { color: #fff; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; margin: 4px 0 16px; }
.emf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.emf-footer ul a { color: #aab4dd; text-decoration: none; font-size: 13.5px; transition: color .18s var(--ease); }
.emf-footer ul a:hover { color: #fff; }

.emf-foot-bottom {
    margin-top: 44px; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
    color: #8b96c4; font-size: 12.5px;
}
.emf-foot-bottom a { color: #b6c0e8; text-decoration: none; }
.emf-foot-bottom a:hover { color: #fff; }

/* ---------- reveal ---------- */
#main, .emf-faq-wrap, .emf-related-wrap, .emf-section, .emf-mod { scroll-margin-top: 104px; }

.emf-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }
.emf-reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .emf-shell { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 48px; }
    .emf-aside { position: static; order: -1; }
    .emf-toc { padding: 16px 14px; }
    .emf-toc ol { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
    .emf-toc li { flex: none; }
    .emf-toc a { white-space: nowrap; padding: 8px 12px; background: #f6f7fd; }
    .emf-toc a::before { display: none; }
    .emf-toc a[aria-current="true"] { box-shadow: inset 0 0 0 1.5px rgba(59, 47, 212, .4); }
    .emf-hero-grid { gap: 40px; }
}

@media (max-width: 900px) {
    .emf-nav { display: none; }
    .emf-menu-btn { display: inline-flex; }
    .emf-header-actions .emf-btn--ghost { display: none; }
    .emf-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
    .emf-visual { max-width: 560px; }
    .emf-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .emf-foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .emf-cta-band { grid-template-columns: minmax(0, 1fr); padding: 36px 32px; }
}

@media (max-width: 680px) {
    .emf-wrap, .emf-header-inner { width: calc(100% - 32px); }
    .emf-header-inner { min-height: 66px; }
    .emf-mobile { inset: 66px 0 auto; }
    .emf-brand img { width: 36px; height: 36px; border-radius: 11px; }
    .emf-brand b { font-size: 16.5px; }
    .emf-brand small { display: none; }
    .emf-hero { padding: 34px 0 52px; }
    .emf-hero h1 { font-size: clamp(29px, 8.4vw, 38px); letter-spacing: -.03em; }
    .emf-lead { font-size: 16px; }
    .emf-hero .emf-cta-row .emf-btn { flex: 1 1 100%; }
    .emf-trust { gap: 8px 16px; margin-top: 24px; }
    .emf-trust li { font-size: 12.5px; }
    .emf-section { padding: 24px 22px 26px; border-radius: 20px; }
    .emf-section-head { gap: 12px; }
    .emf-section h2 { font-size: 20px; }
    .emf-ticks { grid-template-columns: minmax(0, 1fr); }
    .emf-index { columns: 1; }
    .emf-mods { grid-template-columns: minmax(0, 1fr); }
    .emf-steps { grid-template-columns: minmax(0, 1fr); }
    .emf-related { grid-template-columns: minmax(0, 1fr); }
    .emf-cta-band { padding: 30px 24px; border-radius: 22px; margin-bottom: 48px; }
    .emf-cta-actions .emf-btn { flex: 1 1 100%; }
    .emf-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .emf-foot-bottom { flex-direction: column; }
    .emf-browser--app { max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .emf-reveal { opacity: 1; transform: none; }
}

@media print {
    .emf-header, .emf-mobile, .emf-aside, .emf-cta-band, .emf-footer, .emf-progress, .emf-visual { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    .emf-hero { background: none; color: #000; padding: 0 0 20px; }
    .emf-hero h1, .emf-hero--legal h1 { color: #000; }
    .emf-lead, .emf-hero--legal .emf-lead { color: #333; }
    .emf-shell { display: block; padding: 0; }
    .is-legal .emf-section { break-inside: avoid; }
}
