:root {
    --navy: #061846;
    --navy-2: #0b245d;
    --blue: #0764fb;
    --blue-light: #eaf2ff;
    --amber: #f3a720;
    --cream: #f7f6f1;
    --white: #ffffff;
    --ink: #111b35;
    --muted: #65718a;
    --line: #dfe5ed;
    --success: #28bd87;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(6, 24, 70, .12);
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-weight: 760; letter-spacing: -.045em; line-height: 1.08; }
h1 { font-size: clamp(3.25rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.15rem, 4.3vw, 4rem); }
h3 { font-size: 1.5rem; }
em { color: var(--blue); font-style: normal; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-150%); padding: 12px 18px; color: white; background: var(--navy); border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; height: 86px; background: rgba(255, 255, 255, .94); border-bottom: 1px solid rgba(223, 229, 237, .7); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; display: block; }
.brand img { width: 175px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); font-size: .84rem; font-weight: 650; }
.main-nav > a { position: relative; white-space: nowrap; padding: 10px 0; transition: color .2s ease; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; transform: scaleX(0); transform-origin: right; background: var(--blue); transition: transform .25s ease; }
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--blue); }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav .nav-cta { padding: 11px 16px; color: white; background: var(--navy); border-radius: 10px; }
.main-nav .nav-cta:hover { color: white; background: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; color: var(--navy); background: transparent; border: 0; border-radius: 8px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--blue); font-size: .76rem; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
.status-dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; background: var(--success); border: 2px solid rgba(40, 189, 135, .25); border-radius: 50%; box-shadow: 0 0 0 4px rgba(40, 189, 135, .13); }
.kicker-light { color: #9fc3ff; }
.accent-dot { color: var(--amber); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 12px; font-size: .9rem; font-weight: 720; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 14px 32px rgba(7, 100, 251, .22); }
.button-primary:hover { background: #0055dd; box-shadow: 0 18px 36px rgba(7, 100, 251, .3); }
.button-outline { color: var(--navy); border-color: #bfc9d9; }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }
.button-light { color: var(--navy); background: white; }
.button-accent { color: var(--navy); background: var(--amber); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: .9rem; font-weight: 720; border-bottom: 1px solid currentColor; }

.hero { position: relative; min-height: calc(100vh - 86px); overflow: hidden; background: linear-gradient(120deg, #fbfcff 0%, #f5f8ff 63%, #eef4ff 100%); }
.hero::before { content: ""; position: absolute; inset: auto auto -210px -180px; width: 450px; height: 450px; border: 1px solid rgba(7, 100, 251, .1); border-radius: 50%; box-shadow: 0 0 0 55px rgba(7, 100, 251, .025), 0 0 0 110px rgba(7, 100, 251, .018); }
.hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(30px, 6vw, 90px); min-height: calc(100vh - 86px); padding-top: 70px; padding-bottom: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 700px; margin-bottom: 26px; font-size: clamp(3.5rem, 6.4vw, 6.3rem); }
.hero-lead { max-width: 620px; margin-bottom: 34px; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 520px; margin-top: 56px; border-top: 1px solid var(--line); }
.trust-row > div { padding: 20px 20px 0 0; }
.trust-row strong { display: block; color: var(--navy); font-size: 1.35rem; letter-spacing: -.03em; }
.trust-row span { color: var(--muted); font-size: .76rem; }
.hero-visual { position: relative; max-width: 620px; margin-left: auto; padding: 70px 20px 24px; }
.hero-visual::before { content: ""; position: absolute; inset: 8% 5% 3%; z-index: -1; background: rgba(255,255,255,.72); border: 1px solid rgba(223, 229, 237, .8); border-radius: 45% 18% 42% 20% / 25% 30% 18% 24%; box-shadow: var(--shadow); transform: rotate(-2deg); }
.graph-label { position: absolute; top: 6%; right: 0; z-index: 2; color: var(--muted); font-size: .72rem; font-weight: 650; letter-spacing: .07em; line-height: 1.45; text-transform: uppercase; }
.math-graph { width: 100%; overflow: visible; }
.graph-card { position: absolute; right: -15px; bottom: 12%; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 45px rgba(6,24,70,.16); }
.graph-card-icon { display: grid; place-items: center; width: 32px; height: 32px; color: white; background: var(--blue); border-radius: 50%; }
.graph-card strong, .graph-card small { display: block; }
.graph-card strong { color: var(--navy); font-size: .83rem; }
.graph-card small { color: var(--muted); font-size: .68rem; }

.section-heading { margin-bottom: 56px; }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { max-width: 480px; margin-bottom: 8px; color: var(--muted); }
.subjects-preview { background: var(--white); }
.subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.subject-card { position: relative; min-height: 485px; padding: 34px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.subject-card:hover { transform: translateY(-7px); border-color: #bfcff0; box-shadow: var(--shadow); }
.subject-card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 150px; height: 150px; background: var(--blue-light); border-radius: 50%; transition: transform .3s ease; }
.subject-card:hover::after { transform: scale(1.45); }
.subject-symbol { display: grid; place-items: center; width: 58px; height: 58px; color: var(--blue); background: var(--blue-light); border-radius: 15px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; font-weight: 800; }
.card-index { position: absolute; top: 34px; right: 34px; color: #a6b0c2; font-family: ui-monospace, monospace; font-size: .76rem; }
.subject-card h3 { margin: 30px 0 16px; font-size: 2rem; }
.subject-card p { color: var(--muted); font-size: .92rem; }
.subject-card ul { margin: 26px 0 28px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.subject-card li { position: relative; margin: 9px 0; padding-left: 18px; color: #34415b; font-size: .84rem; }
.subject-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }
.subject-card > a { position: absolute; z-index: 2; bottom: 30px; left: 34px; color: var(--blue); font-size: .83rem; font-weight: 750; }

.proof-section { position: relative; overflow: hidden; color: white; background: var(--navy); }
.proof-section::after { content: "∫"; position: absolute; right: 6%; bottom: -180px; color: rgba(255,255,255,.035); font-family: Georgia, serif; font-size: 540px; line-height: 1; transform: rotate(12deg); }
.proof-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.proof-grid h2 { color: white; margin-bottom: 0; }
.proof-copy > p { max-width: 520px; color: #b9c7e7; font-size: 1.05rem; }
.proof-stat { display: flex; align-items: baseline; gap: 20px; margin: 38px 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.proof-stat strong { color: var(--amber); font-size: 2.25rem; letter-spacing: -.04em; }
.proof-stat span { color: #b9c7e7; font-size: .85rem; }

.testimonials-preview, .testimonials-page { background: var(--cream); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testimonial-card { display: flex; flex-direction: column; min-height: 335px; margin: 0; padding: 38px; background: white; border: 1px solid #e4e2da; border-radius: var(--radius); }
.stars { color: var(--amber); font-size: .86rem; letter-spacing: .2em; }
.testimonial-card > p { flex: 1; margin: 24px 0 36px; color: #2a3650; font-size: 1.08rem; line-height: 1.8; }
.testimonial-card footer { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; color: white; background: var(--navy); border-radius: 50%; font-weight: 750; }
.testimonial-card strong, .testimonial-card small { display: block; }
.testimonial-card strong { color: var(--navy); font-size: .88rem; }
.testimonial-card small { color: var(--muted); font-size: .75rem; }

.cta-section { padding-top: 80px; }
.cta-card { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; padding: 70px; overflow: hidden; color: white; background: var(--blue); border-radius: 30px; }
.cta-card::before { content: ""; position: absolute; top: -100px; right: -60px; width: 300px; height: 300px; border: 50px solid rgba(255,255,255,.07); border-radius: 50%; }
.cta-card h2 { max-width: 650px; margin-bottom: 0; color: white; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.cta-card > div { position: relative; z-index: 1; }
.cta-card p { max-width: 390px; color: #dce9ff; }

.page-hero { padding: 110px 0 90px; overflow: hidden; background: linear-gradient(115deg, #f7f9fd, #edf3ff); border-bottom: 1px solid var(--line); }
.page-hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 90px; }
.page-hero h1 { margin-bottom: 0; font-size: clamp(3.5rem, 7vw, 6.6rem); }
.page-hero p { max-width: 480px; margin-bottom: 12px; color: var(--muted); font-size: 1.05rem; }

.offer-list { padding-top: 70px; }
.offer-block { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; padding: 70px 0; border-bottom: 1px solid var(--line); }
.offer-block:last-child { border-bottom: 0; }
.offer-intro { position: relative; }
.subject-symbol-large { width: 72px; height: 72px; font-size: 1.25rem; }
.offer-intro .card-index { top: 0; }
.offer-intro h2 { margin: 28px 0 18px; font-size: 3.2rem; }
.offer-intro p { max-width: 440px; color: var(--muted); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scope-card { min-height: 180px; padding: 28px; background: #fafbfe; border: 1px solid var(--line); border-radius: 18px; }
.scope-mark { display: block; width: 26px; height: 3px; margin-bottom: 24px; background: var(--amber); }
.scope-card h3 { margin-bottom: 12px; font-size: 1.12rem; letter-spacing: -.02em; }
.scope-card p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }

.process-section { background: white; }
.process-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.process-aside { position: sticky; top: 130px; align-self: start; }
.formula-note { display: block; margin-bottom: 28px; color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.process-aside h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.process-aside p { color: var(--muted); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-item { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 0 0 45px; border-left: 1px solid var(--line); }
.process-number { position: relative; left: -24px; display: grid; place-items: center; width: 48px; height: 48px; color: white; background: var(--navy); border: 7px solid white; border-radius: 50%; font-family: ui-monospace, monospace; font-size: .7rem; box-shadow: 0 0 0 1px var(--line); }
.process-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.process-item h3 { margin: 7px 0 10px; font-size: 1.45rem; }
.process-item p { margin: 0; color: var(--muted); }
.principle-section { padding-top: 0; }
.principle-card { position: relative; padding: 70px 9%; color: white; background: var(--navy); border-radius: 28px; }
.principle-card blockquote { max-width: 850px; margin: 0 0 26px; font-size: clamp(1.7rem, 4vw, 3rem); font-weight: 680; letter-spacing: -.035em; line-height: 1.3; }
.principle-card > span { color: #9eb0d6; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.quote-mark { position: absolute; right: 8%; top: -6px; color: var(--amber); font-family: Georgia, serif; font-size: 11rem; line-height: 1; opacity: .9; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 100px; }
.portrait-wrap { position: relative; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.portrait-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 4 / 5; text-align: center; background: linear-gradient(145deg, var(--navy), #123b8c); border-radius: 28px; box-shadow: var(--shadow); }
.portrait-placeholder::before { content: "λ"; position: absolute; color: rgba(255,255,255,.06); font-family: Georgia, serif; font-size: 22rem; }
.portrait-placeholder span, .portrait-placeholder small { position: relative; }
.portrait-placeholder span { color: white; font-size: 2.4rem; font-weight: 750; letter-spacing: -.04em; line-height: 1; }
.portrait-placeholder small { max-width: 180px; margin-top: 18px; color: #a9bde6; }
.portrait-badge { position: absolute; right: -25px; bottom: 45px; padding: 18px 24px; background: var(--amber); border-radius: 14px; box-shadow: 0 16px 36px rgba(6,24,70,.2); }
.portrait-badge strong, .portrait-badge span { display: block; color: var(--navy); }
.portrait-badge strong { font-size: 1.8rem; line-height: 1; }
.portrait-badge span { font-size: .72rem; }
.about-copy h2 { margin-bottom: 30px; font-size: clamp(2.3rem, 4vw, 3.8rem); }
.rich-text { color: var(--muted); }
.rich-text p { margin-bottom: 18px; }
.numbers-section { padding: 70px 0; background: var(--cream); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers-grid > div { padding: 12px 28px; border-right: 1px solid #dedcd4; }
.numbers-grid > div:last-child { border-right: 0; }
.numbers-grid strong, .numbers-grid span { display: block; text-align: center; }
.numbers-grid strong { color: var(--blue); font-size: 2.35rem; letter-spacing: -.05em; }
.numbers-grid span { color: var(--muted); font-size: .76rem; }

.pricing-section { background: var(--cream); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 38px 32px 34px; background: white; border: 1px solid #e1dfd7; border-radius: var(--radius); }
.price-card-featured { color: white; background: var(--navy); border-color: var(--navy); transform: translateY(-16px); box-shadow: var(--shadow); }
.popular-label { position: absolute; top: 0; right: 28px; padding: 8px 13px; color: var(--navy); background: var(--amber); border-radius: 0 0 9px 9px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-eyebrow { color: var(--blue); font-size: .73rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.price-card-featured .price-eyebrow { color: #8eb8ff; }
.price-card h2 { margin: 12px 0 25px; font-size: 2rem; }
.price-card-featured h2 { color: white; }
.price { display: flex; align-items: center; gap: 10px; }
.price strong { color: var(--navy); font-size: 4.2rem; letter-spacing: -.08em; line-height: 1; }
.price-card-featured .price strong { color: white; }
.price span { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.price-card-featured .price span, .price-card-featured > p { color: #aebddd; }
.price-card > p { min-height: 100px; margin: 25px 0 0; color: var(--muted); font-size: .87rem; }
.price-divider { height: 1px; margin: 10px 0 24px; background: var(--line); }
.price-card-featured .price-divider { background: rgba(255,255,255,.14); }
.price-card ul { flex: 1; margin: 0 0 32px; padding: 0; list-style: none; }
.price-card li { display: flex; gap: 10px; margin: 13px 0; font-size: .82rem; }
.price-card li span { color: var(--blue); font-weight: 800; }
.price-card-featured li { color: #d9e2f5; }
.price-card-featured li span { color: var(--amber); }
.pricing-note { display: flex; justify-content: center; align-items: flex-start; gap: 10px; max-width: 760px; margin: 38px auto 0; color: var(--muted); font-size: .8rem; text-align: center; }
.pricing-note span { display: grid; flex: 0 0 auto; place-items: center; width: 19px; height: 19px; color: var(--blue); border: 1px solid #a8b8d2; border-radius: 50%; font-weight: 700; }

.testimonials-page .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
.testimonials-page .testimonial-card:nth-child(3n) { background: var(--navy); border-color: var(--navy); }
.testimonials-page .testimonial-card:nth-child(3n) > p, .testimonials-page .testimonial-card:nth-child(3n) strong { color: white; }
.testimonials-page .testimonial-card:nth-child(3n) small { color: #aebddd; }
.testimonials-page .testimonial-card:nth-child(3n) footer { border-color: rgba(255,255,255,.14); }
.testimonials-page .testimonial-card:nth-child(3n) .avatar { color: var(--navy); background: var(--amber); }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.faq-aside { align-self: start; position: sticky; top: 130px; }
.faq-aside h2 { font-size: 2.6rem; }
.faq-aside p { color: var(--muted); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 27px 4px; color: var(--navy); text-align: left; background: none; border: 0; cursor: pointer; }
.faq-item button > span { display: flex; align-items: center; gap: 22px; font-size: 1.08rem; font-weight: 680; }
.faq-item small { color: #a4afc1; font-family: ui-monospace, monospace; font-size: .65rem; font-weight: 500; }
.faq-item i { position: relative; flex: 0 0 auto; width: 32px; height: 32px; border: 1px solid #cbd3df; border-radius: 50%; }
.faq-item i::before, .faq-item i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: var(--blue); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-item i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item button[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 54px 28px; }
.faq-answer p { margin: 0; color: var(--muted); }

.contact-hero { padding: 110px 0; color: white; background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 100px; }
.contact-copy h1 { max-width: 680px; color: white; }
.contact-copy > p { max-width: 600px; color: #b5c3df; font-size: 1.05rem; }
.contact-primary { display: flex; gap: 45px; flex-wrap: wrap; margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-primary a span, .contact-primary a strong { display: block; }
.contact-primary a span { margin-bottom: 4px; color: #8194bc; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-primary a strong { color: white; font-size: 1rem; }
.contact-card { padding: 48px; color: var(--ink); background: white; border-radius: 26px; box-shadow: 0 30px 90px rgba(0,0,0,.2); }
.contact-card-label { color: var(--blue); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.contact-card h2 { margin: 12px 0 30px; font-size: 2.3rem; }
.contact-card dl { margin: 0; }
.contact-card dl > div { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.contact-card dt { color: var(--muted); font-size: .74rem; }
.contact-card dd { margin: 0; color: var(--navy); font-size: .86rem; font-weight: 640; word-break: break-word; }
.contact-card dd .status-dot, .contact-card dd.status-dot { margin-right: 8px; }
.account-number { font-family: ui-monospace, monospace; }
.edit-hint { margin: 22px 0 0; padding: 12px 14px; color: #6b5727; background: #fff8e8; border-radius: 8px; font-size: .7rem; }
.contact-next { background: var(--cream); }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 35px; }
.next-grid > div { padding-top: 24px; border-top: 1px solid #d9d7cf; }
.next-grid strong { color: var(--blue); font-family: ui-monospace, monospace; font-size: .72rem; }
.next-grid h3 { margin: 22px 0 10px; }
.next-grid p { color: var(--muted); font-size: .87rem; }

.empty-note { padding: 30px; color: var(--muted); background: var(--cream); border-radius: 14px; }
.site-footer { padding: 72px 0 24px; color: #9dacca; background: #040f2d; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 50px; }
.footer-brand img { width: 190px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 320px; margin-top: 22px; font-size: .83rem; }
.footer-heading { color: white; font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid > div > a { display: block; margin: 9px 0; font-size: .8rem; transition: color .2s; }
.footer-grid > div > a:hover { color: white; }
.footer-note { display: flex; align-items: center; align-self: start; gap: 10px; padding: 12px 14px; color: #c5d0e6; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; font-size: .72rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .67rem; }

.reveal { animation: rise .65s cubic-bezier(.22,.8,.26,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
    .site-header { height: 78px; }
    .nav-toggle { display: block; }
    .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav { position: fixed; inset: 78px 0 auto; display: grid; align-content: start; gap: 0; max-height: 0; padding: 0 20px; overflow: hidden; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(6,24,70,.1); opacity: 0; transition: max-height .3s ease, opacity .2s ease, padding .3s ease; }
    .main-nav.is-open { max-height: calc(100vh - 78px); padding-top: 16px; padding-bottom: 25px; overflow-y: auto; opacity: 1; }
    .main-nav > a { padding: 14px 10px; border-bottom: 1px solid var(--line); }
    .main-nav > a::after { display: none; }
    .main-nav .nav-cta { margin-top: 12px; padding: 14px; text-align: center; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; min-height: auto; }
    .graph-card { right: 5px; }
    .subject-grid { grid-template-columns: repeat(2, 1fr); }
    .subject-card:last-child { grid-column: 1 / -1; min-height: 430px; }
    .offer-block, .process-layout, .faq-layout { gap: 55px; }
    .pricing-grid { gap: 10px; }
    .price-card { padding-inline: 24px; }
    .price strong { font-size: 3.5rem; }
    .about-grid, .contact-grid { gap: 60px; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
    .footer-note { grid-column: 1 / -1; width: fit-content; }
}

@media (max-width: 820px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .section { padding: 78px 0; }
    .hero-grid, .page-hero-inner, .split-heading, .proof-grid, .offer-block, .process-layout, .about-grid, .faq-layout, .contact-grid, .cta-card { grid-template-columns: 1fr; }
    .hero-grid { padding-top: 65px; }
    .hero h1 { font-size: clamp(3.4rem, 12vw, 5.4rem); }
    .hero-visual { width: min(100%, 610px); margin: 10px auto 0; }
    .page-hero { padding: 80px 0 65px; }
    .page-hero-inner, .split-heading { gap: 26px; }
    .page-hero h1 { font-size: clamp(3.3rem, 12vw, 5.6rem); }
    .split-heading > p { max-width: 650px; }
    .proof-grid { gap: 45px; }
    .cta-card { gap: 30px; padding: 48px; }
    .offer-block { gap: 38px; padding: 55px 0; }
    .process-layout, .faq-layout { gap: 50px; }
    .process-aside, .faq-aside { position: static; }
    .about-grid { gap: 65px; }
    .portrait-wrap { width: min(100% - 20px, 520px); margin-inline: auto; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 570px; margin-inline: auto; gap: 18px; }
    .price-card-featured { transform: none; }
    .price-card > p { min-height: auto; }
    .contact-grid { gap: 60px; }
    .contact-card { max-width: 620px; }
    .numbers-grid { grid-template-columns: 1fr 1fr; row-gap: 35px; }
    .numbers-grid > div:nth-child(2) { border-right: 0; }
    .next-grid { gap: 25px; }
}

@media (max-width: 620px) {
    body { font-size: 15px; }
    .brand img { width: 150px; }
    .section { padding: 64px 0; }
    .hero { min-height: auto; }
    .hero-grid { padding-top: 52px; padding-bottom: 55px; }
    .hero h1 { margin-bottom: 22px; font-size: clamp(3rem, 15vw, 4.25rem); }
    .hero-lead { font-size: 1rem; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
    .hero-actions .button { width: 100%; }
    .hero-actions .text-link { align-self: center; }
    .trust-row { margin-top: 40px; }
    .trust-row > div { padding-right: 8px; }
    .trust-row strong { font-size: 1.08rem; }
    .trust-row span { font-size: .64rem; }
    .hero-visual { padding: 55px 0 42px; }
    .graph-label { top: 2%; }
    .graph-card { right: 0; bottom: 2%; padding: 12px; }
    .graph-card strong { font-size: .72rem; }
    .graph-card small { font-size: .6rem; }
    .subject-grid, .testimonial-grid, .testimonials-page .testimonial-grid, .scope-grid, .next-grid { grid-template-columns: 1fr; }
    .subject-card, .subject-card:last-child { grid-column: auto; min-height: 460px; padding: 28px; }
    .subject-card > a { left: 28px; }
    .testimonial-card { min-height: 300px; padding: 28px; }
    .proof-stat { align-items: flex-start; flex-direction: column; gap: 4px; }
    .cta-card { padding: 38px 28px; border-radius: 22px; }
    .cta-card .button { width: 100%; }
    .page-hero { padding: 66px 0 54px; }
    .page-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
    .page-hero p { font-size: .96rem; }
    .offer-intro h2 { font-size: 2.6rem; }
    .scope-card { min-height: 150px; }
    .process-item { grid-template-columns: 50px 1fr; gap: 10px; }
    .process-number { left: -20px; width: 40px; height: 40px; }
    .principle-card { padding: 48px 30px; border-radius: 20px; }
    .quote-mark { right: 5%; font-size: 8rem; }
    .portrait-badge { right: -8px; bottom: 25px; }
    .numbers-grid strong { font-size: 1.9rem; }
    .numbers-grid > div { padding-inline: 12px; }
    .faq-item button > span { gap: 12px; font-size: .98rem; }
    .faq-answer { padding-left: 38px; padding-right: 20px; }
    .contact-hero { padding: 72px 0; }
    .contact-copy h1 { font-size: clamp(3.1rem, 15vw, 4.6rem); }
    .contact-primary { flex-direction: column; gap: 20px; }
    .contact-card { padding: 32px 24px; }
    .contact-card dl > div { grid-template-columns: 90px 1fr; gap: 12px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 28px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-note { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}

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