/* ============================================================
   FxEdu.PRO — base stylesheet (theme-agnostic)
   light.css and dark.css override CSS variables defined here.
   ============================================================ */
:root {
    --logo-height: 55px;
    --logo-height-mobile: 40px;
    --logo-height-footer: 42px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    transition: background-color .4s ease, color .4s ease;
}
/* Prevent horizontal scroll without clipping position:sticky inside .blog-layout */
html { overflow-x: clip; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
button { font-family: inherit; }

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .6em;
    color: var(--heading);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--text-soft); }

/* ===== Premium subheading — content sections (Who are we, Our mission, etc.) ===== */
.h-display {
    position: relative;
    font-size: clamp(2.1rem, 3.8vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    padding-left: 1.2rem;
    margin: 0 0 1.4rem;
    color: var(--heading);
}
.h-display::before {
    content: '';
    position: absolute;
    left: 0; top: .35em;
    width: 5px; height: calc(100% - .55em);
    background: linear-gradient(180deg, var(--accent), transparent);
    border-radius: 4px;
}
.h-display .num {
    display: inline-block;
    font-size: .5em;
    color: var(--accent);
    background: var(--accent-soft);
    padding: .15em .55em;
    border-radius: 999px;
    vertical-align: middle;
    margin-right: .55rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: .04em;
}
.h-display .accent { color: var(--accent); }

/* Editorial serif used only for the rotating hero headline */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500;1,700&display=swap');

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .45rem 1rem .45rem .75rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-shadow);
    border-radius: 10px;
    margin-bottom: 1.4rem;
    backdrop-filter: blur(6px);
}
.eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent-soft);
    animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.25); opacity: .65; }
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}
section {
    position: relative;
    padding: clamp(5rem, 9vw, 8rem) 0;
    isolation: isolate;
    /* `clip` (not `hidden`) keeps decorative blobs clipped but still allows
       position:sticky descendants like .blog-sidebar to attach to the viewport. */
    overflow: clip;
}
.section--alt   { background: var(--bg-alt); }
.section--soft  { background: var(--bg-soft); }
.section--deep  { background: var(--bg-deep); color: var(--text-on-deep); }

/* Decorative ambient blobs (subtle radial glows) — placed in each section to add depth */
.section--alt::before,
.section--soft::before,
section.has-blob::before {
    content: '';
    position: absolute;
    width: 620px; height: 620px;
    top: -180px; right: -200px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.section--soft::after {
    content: '';
    position: absolute;
    width: 480px; height: 480px;
    bottom: -160px; left: -160px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
/* Subtle grid pattern overlay */
section.has-grid::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .12;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
            mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Premium dividers — animated diamond ornament between sections ===== */
.divider {
    position: relative;
    height: 64px;
    background: linear-gradient(180deg,
        var(--bg) 0%,
        var(--bg-alt) 50%,
        var(--bg) 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    width: calc(50% - 40px);
    background: linear-gradient(90deg, transparent, var(--accent) 80%);
    opacity: .55;
}
.divider::before { left: 0;  }
.divider::after  { right: 0; background: linear-gradient(270deg, transparent, var(--accent) 80%); }
.divider__mark {
    width: 32px; height: 32px;
    border: 1px solid var(--accent);
    background: var(--bg);
    transform: rotate(45deg);
    position: relative;
    display: grid; place-items: center;
    box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--accent-soft);
}
.divider__mark::after {
    content: '';
    width: 8px; height: 8px;
    background: var(--accent);
    transform: rotate(-45deg);
}
.divider--soft  { background: var(--bg-soft); }
.divider--soft::before, .divider--soft::after { opacity: .35; }
.divider--soft .divider__mark { background: var(--bg-soft); box-shadow: 0 0 0 6px var(--bg-soft), 0 0 0 7px var(--accent-soft); }
.divider--stack { height: 48px; }
.divider--stack .divider__mark { width: 18px; height: 18px; }
.divider--stack .divider__mark::after { width: 4px; height: 4px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.7rem;
    font-size: .95rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 30px -10px var(--accent-shadow);
}
.btn--primary:hover { background: var(--accent-strong); box-shadow: 0 18px 40px -12px var(--accent-shadow); }
.btn--ghost {
    background: transparent;
    color: var(--heading);
    border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1rem; }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn .material-symbols-outlined { font-size: 20px; }

/* ===== Header — always-visible, glassy ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    background: var(--header-bg);
    border-bottom: 1px solid transparent;
    transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
    border-color: var(--border);
    box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .25);
}

/* When the mobile slide-down menu is open, drop the header's backdrop-filter.
   Any element with backdrop-filter / transform / filter establishes a new
   containing block for fixed-position descendants — that's why the menu was
   getting trapped inside the 78px-tall header. Removing the filter for the
   open state restores viewport-relative positioning of .nav.is-open. */
body.menu-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem;
    height: 78px;
}
.brand {
    display: inline-flex; align-items: center; gap: .7rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -.01em;
    color: var(--heading);
    text-decoration: none;
    position: relative;
    isolation: isolate;
}
.brand img {
    height: var(--logo-height);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1),
                filter    .35s ease;
    /* Default: soft accent drop-shadow under the icon. Mix & match with any
       .brand--* modifier class for additional effects. */
    filter: drop-shadow(0 4px 10px var(--accent-shadow));
}
.brand:hover img {
    transform: scale(1.08) rotate(-4deg);
    filter: drop-shadow(0 8px 22px var(--accent-shadow));
}

/* ============================================================
   .brand__text — TEXT VARIANTS
   Default = animated gradient sweep (Variant A, applied without any class).
   To switch, add ONE of the modifier classes below to the <a class="brand …">:
     • brand--two-tone   → solid heading colour + accent dot
     • brand--chip       → frosted accent pill
     • brand--underline  → clean text + animated underline on hover
   ============================================================ */

/* A · default — animated gradient sweep */
.brand__text {
    background: linear-gradient(110deg,
        var(--accent) 0%,
        var(--accent-strong) 30%,
        rgba(255, 232, 200, .95) 50%,
        var(--accent-strong) 70%,
        var(--accent) 100%);
    background-size: 240% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
    letter-spacing: -.015em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
    animation: brand-text-shine 7s ease-in-out infinite;
}
@keyframes brand-text-shine {
    0%, 100% { background-position:   0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* B · brand--two-tone — heading colour + accent dot */
.brand--two-tone .brand__text {
    background: none;
    -webkit-text-fill-color: var(--heading);
    color: var(--heading);
    animation: none;
}
.brand--two-tone .brand__text::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 10px;
    background: var(--accent);
    margin-left: .35em;
    vertical-align: .18em;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* C · brand--chip — frosted accent pill */
.brand--chip .brand__text {
    background: var(--accent-soft);
    border: 1px solid var(--accent-shadow);
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
    padding: .25em .7em;
    border-radius: 999px;
    font-size: .92em;
    animation: none;
    backdrop-filter: blur(6px);
}

/* D · brand--underline — clean text + underline reveal on hover */
.brand--underline .brand__text {
    background: none;
    -webkit-text-fill-color: var(--heading);
    color: var(--heading);
    animation: none;
    position: relative;
}
.brand--underline .brand__text::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}
.brand--underline:hover .brand__text::after { transform: scaleX(1); }

/* ============================================================
   ICON EFFECT VARIANTS  (combinable with the text variants above)
   Default = drop-shadow glow + hover lift (no class needed).
   Add ONE of the modifier classes below to layer in an extra effect:
     • brand--pulse   → breathing accent halo behind the icon
     • brand--shine   → glassy accent card + sweeping shine reflection
     • brand--float   → idle vertical bobbing
     • brand--ring    → rotating conic ring on hover
   ============================================================ */

/* B · brand--pulse — breathing radial halo */
.brand--pulse::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width:  var(--logo-height);
    height: var(--logo-height);
    transform: translateY(-50%);
    background: radial-gradient(circle, var(--accent-shadow) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: brand-pulse 3.6s ease-in-out infinite;
}
@keyframes brand-pulse {
    0%, 100% { opacity: .35; transform: translateY(-50%) scale(.9); }
    50%      { opacity: .75; transform: translateY(-50%) scale(1.2); }
}

/* C · brand--shine — glass card + sweeping white reflection */
.brand--shine::before {
    content: '';
    position: absolute;
    left: -6px; top: 50%;
    width:  calc(var(--logo-height) + 12px);
    height: calc(var(--logo-height) + 12px);
    transform: translateY(-50%);
    background: var(--accent-soft);
    border: 1px solid var(--accent-shadow);
    border-radius: 14px;
    z-index: 0;
}
.brand--shine::after {
    content: '';
    position: absolute;
    left: -6px; top: 50%;
    width:  calc(var(--logo-height) + 12px);
    height: calc(var(--logo-height) + 12px);
    transform: translateY(-50%);
    border-radius: 14px;
    background: linear-gradient(110deg,
        transparent 30%,
        rgba(255, 255, 255, .85) 50%,
        transparent 70%);
    background-size: 300% 100%;
    background-position: -100% 0;
    pointer-events: none;
    animation: brand-shine 4.5s ease-in-out infinite;
    mix-blend-mode: overlay;
    z-index: 0;
}
@keyframes brand-shine {
    0%, 60%   { background-position: -100% 0; opacity: 0; }
    65%       { opacity: 1; }
    85%, 100% { background-position:  200% 0; opacity: 0; }
}

/* D · brand--float — idle vertical bob */
.brand--float img {
    animation: brand-float 4s ease-in-out infinite;
}
@keyframes brand-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
.brand--float:hover img {
    transform: translateY(-2px) scale(1.08) rotate(-4deg);
}

/* E · brand--ring — rotating conic ring revealed on hover */
.brand--ring::before {
    content: '';
    position: absolute;
    left: -3px; top: 50%;
    width:  calc(var(--logo-height) + 6px);
    height: calc(var(--logo-height) + 6px);
    transform: translateY(-50%);
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        var(--accent) 0%,
        transparent 35%,
        transparent 65%,
        var(--accent) 100%);
    -webkit-mask: radial-gradient(circle, transparent 47%, #000 50%);
            mask: radial-gradient(circle, transparent 47%, #000 50%);
    opacity: 0;
    transition: opacity .35s ease;
    animation: brand-ring 2.5s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.brand--ring:hover::before { opacity: 1; }
@keyframes brand-ring {
    to { transform: translateY(-50%) rotate(360deg); }
}

.nav {
    display: flex; align-items: center; gap: .25rem;
}
.nav a {
    position: relative;
    padding: .55rem .95rem;
    font-size: .95rem;
    color: var(--text);
    border-radius: 10px;
}
.nav a:hover { color: var(--accent); }
.nav a.active { color: var(--accent); background: var(--accent-soft); }

.header-actions {
    display: flex; align-items: center; gap: .55rem;
}

.lang-switcher, .theme-switcher {
    position: relative;
}
.icon-btn {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    color: var(--heading);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn .material-symbols-outlined { font-size: 22px; }

.lang-current {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: .9rem;
    color: var(--heading);
}
.lang-current img { width: 18px; height: 13px; border-radius: 2px; }
.lang-dropdown {
    position: absolute;
    right: 0; top: calc(100% + .5rem);
    min-width: 200px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: .4rem;
    box-shadow: 0 18px 50px -15px rgba(0,0,0,.25);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all .25s ease;
    z-index: 10;
}
.lang-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
    display: flex; align-items: center; gap: .65rem;
    padding: .55rem .8rem; border-radius: 10px;
    font-size: .9rem; color: var(--text);
}
.lang-dropdown a:hover { background: var(--bg-soft); color: var(--accent); }
.lang-dropdown a img { width: 22px; height: 16px; border-radius: 2px; }

.mobile-toggle { display: none; }

/* Hidden by default on desktop — only used inside the mobile slide-down menu */
.nav__mobile-controls { display: none; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 9rem 1.5rem 5rem;
    text-align: center;
    isolation: isolate;
    color: #fff;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(1200px 600px at 20% 30%, rgba(255,155,81,.22), transparent 60%),
        radial-gradient(900px 500px at 80% 70%, rgba(255,127,17,.18), transparent 65%),
        linear-gradient(135deg, #11202b 0%, #1b2f3d 50%, #25343f 100%);
    z-index: -3;
}
.hero__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .35;
    z-index: -2;
    filter: saturate(.85) brightness(.6);
}
#particles-js {
    position: absolute; inset: 0;
    z-index: -1;
    pointer-events: none;
}
.hero__inner {
    max-width: 920px; margin: 0 auto;
    animation: fadeUp .9s cubic-bezier(.2,.7,.3,1.2) both;
}
.hero__eyebrow {
    display: inline-block;
    padding: .35rem 1rem;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.06);
    border-radius: 10px;
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(6px);
}
.hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 1.3rem;
}
.hero h1 span { background: linear-gradient(90deg, #FF9B51, #FFD7B5); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Rotating hero headline — typewriter effect.
   The visible typed string sits in .hero-typed and is rewritten by JS.
   A blinking caret follows it. The 3 source phrases stay in the DOM as
   sr-only spans so search engines and screen readers still see them. */
.hero__heading {
    color: #fff;
    margin-bottom: 1.6rem;
    display: block;
    width: 100%;
}
.hero-rotator {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 0 .5rem;
}
.hero-typed {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.18;
    letter-spacing: -.015em;
    color: #fff;
    white-space: pre-wrap;       /* preserve trailing space during typing */
}
.hero-cursor {
    display: inline-block;
    width: 4px;
    height: .92em;
    margin-left: .12em;
    vertical-align: -.04em;
    background: #FF9B51;
    border-radius: 1px;
    box-shadow: 0 0 14px rgba(255, 155, 81, .55);
    animation: caret-blink .95s steps(1) infinite;
}
@keyframes caret-blink {
    0%, 50%      { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}
/* SEO-only source phrases — visible to search engines and screen readers,
   hidden from sighted users (classic sr-only pattern). */
.hero-phrase {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
/* Soft gradient underline so the headline still feels branded */
.hero__heading::after {
    content: '';
    display: block;
    width: 110px; height: 2px;
    margin: .55rem auto 0;
    background: linear-gradient(90deg, transparent, #FF9B51, transparent);
    opacity: .7;
}
.hero__sub {
    max-width: 680px; margin: 0 auto 2.4rem;
    color: rgba(255,255,255,.78);
    font-size: 1.12rem;
}
.hero__cta { display: inline-flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 920px;
    margin: 4rem auto 0;
    padding: 1.4rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}
.hero__stat { text-align: center; }
.hero__stat-value { display: block; font-size: 1.9rem; font-weight: 700; color: #FF9B51; font-family: 'Space Grotesk', sans-serif; }
.hero__stat-label { font-size: .85rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
    position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.55);
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    animation: bobble 2.5s ease-in-out infinite;
}
@keyframes bobble {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* ===== Premium section heading ===== */
.section-head {
    max-width: 760px;
    margin: 0 auto 4rem;
    text-align: center;
    position: relative;
}
.section-head .eyebrow { margin-inline: auto; }
.section-head h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -.03em;
}
.section-head h2 .accent { color: var(--accent); position: relative; white-space: nowrap; }
.section-head h2 .accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4%;
    height: 9px;
    background: var(--accent-soft);
    z-index: -1;
    border-radius: 4px;
    transform: skewY(-1deg);
}
.section-head p {
    color: var(--text-soft);
    font-size: 1.08rem;
    margin: 1.2rem auto 0;
    max-width: 600px;
}
.section-head .glyph {
    position: absolute;
    top: -2rem; left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 9rem;
    color: var(--accent);
    opacity: .05;
    pointer-events: none;
    line-height: 1;
    letter-spacing: -.04em;
    z-index: -1;
}

/* ===== About sections / value cards — clean, with corner brackets on hover ===== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
}
.value-card {
    padding: 2rem 1.6rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    position: relative;
    isolation: isolate;
}
/* Top-right corner bracket */
.value-card::before {
    content: '';
    position: absolute;
    top: 14px; right: 14px;
    width: 22px; height: 22px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-top-right-radius: 6px;
    opacity: 0;
    transform: translate(-6px, 6px) scale(.85);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
/* Bottom-left corner bracket */
.value-card::after {
    content: '';
    position: absolute;
    bottom: 14px; left: 14px;
    width: 22px; height: 22px;
    border-bottom: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    border-bottom-left-radius: 6px;
    opacity: 0;
    transform: translate(6px, -6px) scale(.85);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px -30px var(--accent-shadow);
}
.value-card:hover::before { opacity: 1; transform: translate(0, 0) scale(1); }
.value-card:hover::after  { opacity: 1; transform: translate(0, 0) scale(1); }
.value-card .material-symbols-outlined {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ===== Premium course cards — product-card layout with image on top ===== */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}
.course-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: .85rem;
    display: flex; flex-direction: column;
    gap: 1.1rem;
    transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, border-color .25s ease;
    text-decoration: none;
    color: var(--text);
    isolation: isolate;
}
.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 40px 80px -35px var(--accent-shadow);
}
.course-card__media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3.2;
    background: linear-gradient(135deg, #1b2f3d, #25343f);
    isolation: isolate;
}
.course-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
}
/* Shine sweep — diagonal light streak slides across on hover, no zoom */
.course-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, 0.12) 45%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.12) 55%,
        transparent 62%,
        transparent 100%
    );
    background-size: 250% 100%;
    background-position: 150% 0;
    transition: background-position .9s cubic-bezier(.2,.7,.2,1);
    mix-blend-mode: screen;
}
.course-card:hover .course-card__media::after {
    background-position: -50% 0;
}
.course-card__badge {
    position: absolute; top: .85rem; left: .85rem;
    background: rgba(255,255,255,.95);
    color: #1A2731;            /* always dark text on white pill — readable in both themes */
    padding: .4rem .9rem;
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    z-index: 2;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.course-card__badge::before {
    content: '';
    display: inline-block;
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: .45rem;
    vertical-align: middle;
}
.course-card__body {
    padding: 0 .55rem 0 .55rem;
    display: flex; flex-direction: column;
    flex: 1;
}
.course-card__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: .8rem;
    margin-bottom: .6rem;
}
.course-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.15;
    color: var(--heading);
    margin: 0;
}
.course-card__price {
    display: inline-flex; align-items: baseline; gap: .15rem;
    padding: .5rem 1rem;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    box-shadow: 0 12px 25px -8px var(--accent-shadow);
    white-space: nowrap;
    flex-shrink: 0;
}
.course-card__price sup { font-size: .82rem; opacity: .85; }
.course-card__price-value { font-size: 1.15rem; }
.course-card__desc {
    color: var(--text-soft);
    font-size: .9rem;
    line-height: 1.55;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.course-card__chips {
    display: flex; flex-wrap: wrap; gap: .4rem;
    margin-bottom: 1.1rem;
}
.course-card__chip {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .3rem .75rem;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 10px;
    font-size: .75rem;
    font-weight: 500;
}
.course-card__chip .material-symbols-outlined { font-size: 14px; }
.course-card__actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}
.course-card__cta,
.course-card__link {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .92rem;
    transition: background .25s ease, transform .25s ease, color .25s ease, border-color .25s ease;
}
.course-card__cta {
    background: var(--accent);
    color: #fff;
}
.course-card__cta:hover { background: var(--accent-strong); }
.course-card__link {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid transparent;
}
.course-card__link:hover {
    background: transparent;
    border-color: var(--accent);
}
.course-card:hover .course-card__cta,
.course-card:hover .course-card__link { transform: translateY(-1px); }
.course-card__cta .material-symbols-outlined,
.course-card__link .material-symbols-outlined { font-size: 18px; }

/* ===== Premium reviews ===== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
}
.review-card {
    position: relative;
    padding: 2.4rem 1.9rem 1.9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease;
    overflow: hidden;
    isolation: isolate;
}
.review-card::before {
    content: '"';
    position: absolute;
    top: -2.5rem; left: 1rem;
    font-family: 'Space Grotesk', Georgia, serif;
    font-size: 11rem;
    font-weight: 700;
    color: var(--accent);
    opacity: .12;
    line-height: 1;
    pointer-events: none;
    z-index: -1;
}
.review-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}
.review-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 35px 65px -30px var(--accent-shadow);
}
.review-card:hover::after { transform: scaleX(1); }
.review-card__stars {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    letter-spacing: .15em;
    display: flex; gap: .15rem;
}
.review-card__body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
}
.review-card__author {
    display: flex; align-items: center; gap: .9rem;
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px dashed var(--border);
}
.review-card__avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    box-shadow: 0 8px 20px -8px var(--accent-shadow);
}
.review-card__author b { color: var(--heading); font-size: 1rem; }
.review-card__verified {
    display: inline-flex; align-items: center; gap: .25rem;
    font-size: .7rem;
    color: var(--accent);
    font-weight: 600;
    margin-left: .35rem;
}
.review-card__verified .material-symbols-outlined { font-size: 14px; }

.review-video {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-deep);
    cursor: pointer;
    isolation: isolate;
    border: 1px solid var(--border);
}
.review-video img { transition: transform 1s cubic-bezier(.2,.7,.3,1); }
.review-video:hover img { transform: scale(1.08); }
.review-video::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7) 100%);
    z-index: 1;
}
.review-video::after {
    content: 'play_arrow';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px; height: 76px;
    display: grid; place-items: center;
    font-size: 40px;
    color: var(--accent);
    background: rgba(255,255,255,.95);
    border-radius: 50%;
    transition: transform .3s ease, background .25s ease;
    z-index: 2;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.review-video:hover::after { transform: translate(-50%, -50%) scale(1.1); background: #fff; }
.review-video__label {
    position: absolute; left: 1.2rem; bottom: 1.1rem;
    color: #fff;
    z-index: 2;
}
.review-video__label b { display: block; font-size: 1.05rem; }
.review-video__label small { color: rgba(255,255,255,.75); font-size: .82rem; }

/* ===== Blog ===== */
.blog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
}
/* Sticky sidebar — stays in place on scroll, no inner scrollbar. */
.blog-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: start;
    display: flex; flex-direction: column;
    gap: 1.2rem;
}
.blog-panel {
    padding: 1.3rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
}
.blog-panel h4 { font-size: 1rem; margin-bottom: .85rem; }
.blog-search-input {
    width: 100%;
    padding: .75rem 1rem .75rem 2.4rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: .9rem;
}
.blog-search { position: relative; }
.blog-search .material-symbols-outlined {
    position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
    color: var(--text-soft);
    font-size: 20px;
    pointer-events: none;
}
.blog-cat-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .5rem .65rem;
    border-radius: 10px;
    font-size: .9rem;
    color: var(--text);
}
.blog-cat-list a:hover { background: var(--accent-soft); color: var(--accent); }
.blog-cat-list a .count { font-size: .78rem; color: var(--text-soft); }

.blog-share { display: flex; gap: .5rem; }
.blog-share a { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); display: grid; place-items: center; }
.blog-share a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}
.article-card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -25px rgba(0,0,0,.2); }
.article-card__media { aspect-ratio: 16/10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-card:hover .article-card__media img { transform: scale(1.06); }
.article-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.article-card__meta { display: flex; gap: 1rem; font-size: .78rem; color: var(--text-soft); margin-bottom: .6rem; }
.article-card__title { font-size: 1.15rem; margin: 0 0 .55rem; }
.article-card__title a { color: var(--heading); }
.article-card__title a:hover { color: var(--accent); }

/* ===== FAQ ===== */
.faq-cat-tabs {
    display: flex; flex-wrap: wrap; gap: .6rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.faq-tab {
    padding: .55rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: .9rem;
    transition: all .2s ease;
}
.faq-tab:hover { border-color: var(--accent); color: var(--accent); }
.faq-tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .2s ease;
}
.faq-item.is-open { border-color: var(--accent); }
.faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}
.faq-q .material-symbols-outlined { transition: transform .3s ease; color: var(--accent); }
.faq-item.is-open .faq-q .material-symbols-outlined { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 1.4rem;
    color: var(--text-soft);
}
.faq-item.is-open .faq-a { padding: 0 1.4rem 1.3rem; max-height: 800px; }

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2rem;
    align-items: start;
}
.contact-panel {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
}
.contact-panel ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-panel li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-panel li .material-symbols-outlined {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 12px;
    font-size: 22px;
    flex-shrink: 0;
}
.contact-panel li small { display: block; color: var(--text-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; }
.contact-panel li b { color: var(--heading); font-weight: 600; }
.contact-form { padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .4rem; color: var(--text-soft); }
.form-control {
    width: 100%;
    padding: .85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-captcha { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; padding: 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }
.captcha-code { font-family: 'Space Grotesk', monospace; font-weight: 700; font-size: 1.5rem; letter-spacing: .25em; color: var(--accent); user-select: none; background: var(--surface); padding: .3rem .8rem; border-radius: 8px; }

.map-wrap { margin-top: 2.5rem; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: var(--map-filter); }

/* ===== Auth pages ===== */
.auth-shell {
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.auth-form-side {
    display: flex; align-items: center; justify-content: center;
    padding: 6rem 2rem 3rem;
}
.auth-form-wrap { width: 100%; max-width: 480px; }
.auth-art-side {
    position: relative;
    background: linear-gradient(135deg, #1b2f3d, #25343f 50%, #11202b);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    display: flex; align-items: center; justify-content: center;
    padding: 4rem 3rem;
    text-align: center;
}
.auth-art-side::before {
    content: '';
    position: absolute; inset: -40%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,155,81,.35), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255,127,17,.25), transparent 55%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.auth-art-content { max-width: 380px; }
.auth-art-content h3 { color: #fff; }
.auth-orbit {
    position: relative;
    width: 280px; height: 280px;
    margin: 0 auto 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.12);
    animation: spin 25s linear infinite;
}
.auth-orbit::before, .auth-orbit::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
}
.auth-orbit::before { inset: 30px; }
.auth-orbit::after  { inset: 60px; }
.auth-orbit-dot {
    position: absolute; top: -8px; left: 50%;
    width: 16px; height: 16px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--accent);
    transform: translateX(-50%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.password-wrap { position: relative; }
.password-toggle {
    position: absolute; right: .7rem; top: 50%; transform: translateY(-50%);
    background: transparent; border: none; color: var(--text-soft); cursor: pointer;
    padding: .3rem;
}
.password-toggle:hover { color: var(--accent); }
.password-rules {
    margin-top: .7rem;
    padding: .9rem 1rem;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: 12px;
    font-size: .82rem;
    color: var(--text-soft);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .35s ease, padding .35s ease, margin-top .35s ease;
    padding-block: 0;
}
.password-rules.is-active { max-height: 220px; opacity: 1; padding-block: .9rem; margin-top: .7rem; }
.password-rules li {
    display: flex; align-items: center; gap: .5rem;
    list-style: none;
    padding: .15rem 0;
}
.password-rules li::before {
    content: 'radio_button_unchecked';
    font-family: 'Material Symbols Outlined';
    color: var(--text-soft);
    font-size: 18px;
    transition: color .2s ease, content .2s ease;
}
.password-rules li.is-met { color: var(--accent); }
.password-rules li.is-met::before { content: 'check_circle'; color: var(--accent); }

.password-match {
    margin-top: .5rem;
    font-size: .82rem;
    color: var(--accent);
    opacity: 0;
    transition: opacity .25s ease;
}
.password-match.is-visible { opacity: 1; }

.auth-foot { margin-top: 1.5rem; text-align: center; font-size: .9rem; color: var(--text-soft); }
.auth-foot a { color: var(--accent); font-weight: 600; }

/* ===== Dashboard ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    margin-top: 6rem;
    margin-bottom: 4rem;
}
.dash-side {
    position: sticky; top: 100px;
    padding: 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
}
.dash-side a {
    display: flex; align-items: center; gap: .7rem;
    padding: .65rem .85rem;
    border-radius: 12px;
    margin-bottom: .2rem;
    color: var(--text);
    font-size: .92rem;
}
.dash-side a:hover, .dash-side a.is-active { background: var(--accent-soft); color: var(--accent); }
.dash-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
}

/* ===== CTA section ===== */
.cta {
    background: linear-gradient(120deg, #25343f, #1b2f3d 60%, #11202b);
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    top: -200px; right: -200px;
    background: radial-gradient(circle, rgba(255,155,81,.5), transparent 60%);
    z-index: -1;
    animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: .8; }
    50% { transform: scale(1.15); opacity: 1; }
}
.cta h2 { color: #fff; max-width: 720px; }
.cta p { color: rgba(255,255,255,.78); max-width: 580px; }

/* ===== Results chart section ===== */
.results-shell {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 30px 80px -40px rgba(0,0,0,.25);
}
.results-filters {
    display: flex; gap: .4rem; flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.results-filter {
    padding: .5rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    cursor: pointer;
    font-size: .85rem;
    color: var(--text);
}
.results-filter.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.results-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.results-meta div { padding: 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; }
.results-meta small { display: block; color: var(--text-soft); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; margin-bottom: .3rem; }
.results-meta b { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; color: var(--heading); }
.results-meta b.positive { color: #19a974; }

.results-chart-wrap { position: relative; width: 100%; height: 380px; }
#results-chart { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }

/* ===== Homepage section preview (per-page section on homepage) ===== */
.home-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.home-section--reverse { direction: rtl; }
.home-section--reverse > * { direction: ltr; }
.home-section__art {
    aspect-ratio: 4 / 3;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}
.home-section__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.home-section__art:hover img { transform: scale(1.05); }

/* ===== Footer ===== */
.site-footer {
    background: var(--footer-bg);
    color: var(--text-on-deep);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 40px; }
.footer-risk {
    font-size: .82rem;
    margin-top: 1.3rem;
    color: rgba(255,255,255,.65);
    line-height: 1.55;
}
.social-row { display: flex; gap: .5rem; margin-top: 1.3rem; }
.social-row a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    font-size: 18px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.social-row a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }

.footer-col h5 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; font-family: 'Space Grotesk', sans-serif; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-col a:hover { color: var(--accent); }

.newsletter-form { display: flex; gap: .4rem; margin-top: 1rem; }
.newsletter-form input {
    flex: 1;
    padding: .75rem 1rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    border-radius: 10px;
    font-size: .9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form button {
    padding: .75rem 1.2rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.footer-foot {
    padding-top: 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}
.footer-foot a { color: rgba(255,255,255,.72); }

/* ===== Generic page hero ===== */
.page-hero {
    padding: 9rem 0 4rem;
    text-align: center;
    background: var(--bg-alt);
    position: relative;
}
.page-hero h1 { margin-bottom: .7rem; }
.page-hero p { color: var(--text-soft); max-width: 620px; margin: 0 auto; }

/* ===== Error page ===== */
.error-shell {
    min-height: calc(100vh - 78px);
    display: grid; place-items: center;
    text-align: center;
    padding: 4rem 1.5rem;
}
.error-code { font-size: clamp(7rem, 18vw, 12rem); line-height: 1; color: var(--accent); font-family: 'Space Grotesk', sans-serif; }

/* ===== Misc ===== */
.flash {
    padding: 1rem 1.2rem;
    border-radius: 14px;
    margin-bottom: 1.2rem;
    font-size: .9rem;
}
.flash--success { background: rgba(25,169,116,.15); color: #0f7a55; border: 1px solid rgba(25,169,116,.3); }
.flash--error   { background: rgba(220,38,38,.12); color: #b91c1c; border: 1px solid rgba(220,38,38,.3); }

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

/* ===== Premium breadcrumb ===== */
.breadcrumb {
    position: relative;
    padding: 100px 0 0;
    background: var(--bg);
}
.breadcrumb__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; flex-wrap: wrap;
    align-items: center;
    gap: .35rem .15rem;
    font-size: .85rem;
}
.breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.breadcrumb__item a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    color: var(--text-soft);
    border-radius: 999px;
    transition: background-color .2s ease, color .2s ease;
}
.breadcrumb__item a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}
.breadcrumb__item a .material-symbols-outlined { font-size: 16px; }
.breadcrumb__item.is-current > span {
    padding: .35rem .85rem;
    color: var(--heading);
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    position: relative;
}
.breadcrumb__item.is-current > span::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: .5rem;
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.breadcrumb__sep {
    color: var(--text-soft);
    opacity: .5;
    display: inline-flex; align-items: center;
}

/* Tighten the next page-hero so spacing doesn't stack */
.breadcrumb + main .page-hero,
.breadcrumb + .page-hero { padding-top: 2.5rem; }
main:has(> .breadcrumb) .page-hero { padding-top: 2.5rem; }
.breadcrumb ~ section.page-hero { padding-top: 2.5rem; }

@media (max-width: 600px) {
    .breadcrumb { padding-top: 90px; }
    .breadcrumb__list { font-size: .8rem; }
}

/* ===== Legal pages (TOC + body + tables) ===== */
.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}
.legal-toc {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: start;
}
.legal-toc__inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.3rem 1.2rem;
}
.legal-toc h4 {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--accent);
    margin: 0 0 1rem;
}
.legal-toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
    display: flex; flex-direction: column;
    gap: .15rem;
}
.legal-toc li { counter-increment: toc; }
.legal-toc li a {
    display: flex; align-items: flex-start; gap: .55rem;
    padding: .45rem .55rem;
    border-radius: 8px;
    color: var(--text-soft);
    font-size: .9rem;
    line-height: 1.35;
    transition: background-color .2s ease, color .2s ease;
}
.legal-toc li a::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--accent);
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    flex-shrink: 0;
}
.legal-toc li a:hover { background: var(--accent-soft); color: var(--accent); }
.legal-toc__meta {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed var(--border);
    font-size: .82rem;
}
.legal-toc__meta small { color: var(--text-soft); display: block; margin-bottom: .25rem; }

.legal-body {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2.6rem 2.8rem;
}
.legal-section { padding: 2rem 0; border-bottom: 1px dashed var(--border); scroll-margin-top: 100px; }
.legal-section:first-child { padding-top: 0; }
.legal-section:last-of-type { border-bottom: 0; padding-bottom: 1.2rem; }
.legal-section h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 1rem;
    display: flex; align-items: baseline; gap: .8rem;
    color: var(--heading);
}
.legal-section__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    padding: .15em .55em;
    border-radius: 999px;
    letter-spacing: .06em;
}
.legal-section p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    margin: 0 0 1rem;
}
.legal-section a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.legal-list { list-style: none; padding: 0; margin: .6rem 0 1.2rem; display: grid; gap: .65rem; }
.legal-list li {
    position: relative;
    padding: .55rem 1rem .55rem 2rem;
    background: var(--bg-soft);
    border-radius: 12px;
    color: var(--text);
    font-size: .95rem;
    line-height: 1.55;
}
.legal-list li::before {
    content: '';
    position: absolute; left: .7rem; top: 1.1rem;
    width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
}

.legal-kv {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: .35rem .9rem;
    margin: .8rem 0 1.4rem;
    padding: 1.1rem 1.4rem;
    background: var(--bg-soft);
    border-radius: 14px;
    border: 1px solid var(--border);
}
.legal-kv dt { font-weight: 600; color: var(--text-soft); font-size: .85rem; margin: 0; }
.legal-kv dd { margin: 0; color: var(--heading); font-size: .92rem; }

.legal-table-wrap { overflow-x: auto; margin: .8rem 0 1.4rem; border-radius: 14px; border: 1px solid var(--border); }
.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    background: var(--surface);
}
.legal-table th, .legal-table td {
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.legal-table th {
    background: var(--bg-soft);
    color: var(--text-soft);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table tr:hover td { background: var(--accent-soft); }

.legal-contact-card {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-top: 2.5rem;
    padding: 1.5rem 1.7rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent-shadow);
    border-radius: 16px;
}
.legal-contact-card .material-symbols-outlined {
    width: 44px; height: 44px;
    background: var(--accent);
    color: #fff;
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 24px;
    flex-shrink: 0;
}
.legal-contact-card b { color: var(--heading); display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.legal-contact-card p { margin: 0; color: var(--text-soft); font-size: .92rem; }
.legal-contact-card a { color: var(--accent); font-weight: 600; }

@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .legal-toc { position: static; }
    .legal-body { padding: 1.8rem 1.5rem; }
    .legal-kv { grid-template-columns: 1fr; }
}

/* ===== Cookie consent banner ===== */
.cookie-bar {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 1500;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 30px 80px -30px rgba(0,0,0,.45);
    padding: 1.2rem 1.4rem;
    max-width: 580px;
    margin: 0 auto;
    display: none;
    transform: translateY(20px);
    opacity: 0;
    transition: transform .35s cubic-bezier(.2,.7,.3,1), opacity .35s ease;
}
.cookie-bar.is-open { display: block; }
.cookie-bar.is-visible { transform: translateY(0); opacity: 1; }
.cookie-bar__head {
    display: flex; align-items: flex-start; gap: .8rem;
    margin-bottom: .8rem;
}
.cookie-bar__head .material-symbols-outlined {
    width: 36px; height: 36px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 10px;
    display: grid; place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}
.cookie-bar__head b { color: var(--heading); font-size: 1rem; display: block; }
.cookie-bar__head p { color: var(--text-soft); font-size: .85rem; margin: .15rem 0 0; line-height: 1.5; }
.cookie-bar__head a { color: var(--accent); }
.cookie-bar__actions {
    display: flex; gap: .55rem; flex-wrap: wrap;
    margin-top: .8rem;
}
.cookie-bar__actions .btn { padding: .55rem 1rem; font-size: .85rem; }
.cookie-bar__actions .btn--primary { background: var(--accent); color: #fff; }
.cookie-bar__actions .btn--ghost   { border: 1px solid var(--border); color: var(--text); }

@media (max-width: 560px) {
    .cookie-bar { left: .8rem; right: .8rem; bottom: .8rem; padding: 1rem; }
}

/* ===== Article body (blog detail) ===== */
.article-body {
    padding: 2rem 2.4rem 2.4rem;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}
.article-body > * { margin-bottom: 1.1rem; }
.article-body .article-lead {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--heading);
    font-weight: 500;
    padding-bottom: 1.2rem;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 1.6rem;
}
.article-body h2 { font-size: 1.65rem; margin: 2rem 0 1rem; }
.article-body h3 { font-size: 1.3rem;  margin: 1.8rem 0 .8rem; }
.article-body p  { color: var(--text); }
.article-body a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin: 1rem 0 1.2rem; }
.article-body li { margin-bottom: .4rem; color: var(--text); }
.article-body blockquote {
    border-left: 4px solid var(--accent);
    padding: .6rem 0 .6rem 1.2rem;
    background: var(--accent-soft);
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--heading);
}
.article-body img,
.article-body video {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}
.article-body code {
    background: var(--bg-soft);
    padding: .1em .4em;
    border-radius: 6px;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: .92em;
}
.article-body pre {
    background: var(--bg-deep);
    color: var(--text-on-deep);
    padding: 1.2rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.article-body pre code { background: transparent; padding: 0; color: inherit; }
.article-body .embed-chart {
    background: var(--surface);
    border: 1px dashed var(--accent);
    border-radius: 14px;
    padding: 1rem;
    color: var(--text-soft);
    text-align: center;
    margin: 1.5rem 0;
}

/* Favorite toggle pressed state */
.fav-toggle[aria-pressed="true"] {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.fav-toggle[aria-pressed="true"] .material-symbols-outlined { color: #fff; }

/* ===== Reusable confirm modal (logout, delete, etc.) ===== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 22, 30, .55);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center; justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity .2s ease;
}
.modal-overlay.is-open { display: flex; opacity: 1; }
.modal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    max-width: 440px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 60px 100px -40px rgba(0,0,0,.45);
    transform: translateY(12px) scale(.97);
    transition: transform .25s cubic-bezier(.2,.7,.3,1);
    color: var(--text);
}
.modal-overlay.is-open .modal-card { transform: translateY(0) scale(1); }
.modal-card__icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 1.2rem;
}
.modal-card__icon .material-symbols-outlined { font-size: 30px; }
.modal-card--danger .modal-card__icon { background: rgba(220,38,38,.12); color: #DC2626; }
.modal-card h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.modal-card p { color: var(--text-soft); margin: 0 0 1.5rem; line-height: 1.5; }
.modal-card__actions {
    display: flex; gap: .6rem; justify-content: flex-end;
}
.modal-card__actions .btn { flex: 0 0 auto; }
.modal-card--danger .modal-card__confirm {
    background: #DC2626;
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(220,38,38,.45);
}
.modal-card--danger .modal-card__confirm:hover { background: #B91C1C; }

/* Cover image preview block (admin → article) */
.cover-preview-block {
    margin-top: .8rem;
    border: 1px dashed var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg);
}
.cover-preview-block__img {
    aspect-ratio: 16 / 9;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #1b2f3d, #25343f);
    color: rgba(255,255,255,.4);
    overflow: hidden;
}
.cover-preview-block__img img { width: 100%; height: 100%; object-fit: cover; }
.cover-preview-block__hint {
    padding: .65rem 1rem;
    font-size: .82rem;
    color: var(--text-soft);
    display: flex; align-items: center; gap: .5rem;
    border-top: 1px solid var(--border);
}
.cover-preview-block__hint .material-symbols-outlined { color: var(--accent); font-size: 18px; }

/* ===== Material symbols outlined defaults ===== */
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; }

/* ============================================================
   Premium ABOUT preview — 2-col with floating stat stickers
   ============================================================ */
.about-preview__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
    align-items: center;
}
.about-preview__copy h2 { margin-bottom: 1.4rem; max-width: 460px; }
.about-preview__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin: 2rem 0 2.4rem;
}
.about-preview__pillars > div {
    padding: 1.1rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: transform .25s ease, border-color .25s ease;
}
.about-preview__pillars > div:hover { transform: translateY(-4px); border-color: var(--accent); }
.about-preview__pillars .material-symbols-outlined {
    color: var(--accent);
    background: var(--accent-soft);
    width: 38px; height: 38px;
    border-radius: 10px;
    display: grid; place-items: center;
    margin: 0 auto .6rem;
    font-size: 20px;
}
.about-preview__pillars b { display: block; color: var(--heading); font-size: .95rem; }
.about-preview__pillars small { color: var(--text-soft); font-size: .76rem; }

.about-preview__visual {
    position: relative;
    aspect-ratio: 4 / 3.2;
}
.about-preview__art {
    position: absolute; inset: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .35);
    border: 1px solid var(--border);
}
.about-preview__art img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2,.7,.3,1);
}
.about-preview__visual:hover .about-preview__art img { transform: scale(1.05); }
.about-preview__art-fallback {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,155,81,.35), transparent 55%),
        linear-gradient(135deg, #1b2f3d, #25343f);
    z-index: -1;
}
.about-preview__sticker {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .35);
    z-index: 2;
    min-width: 170px;
    animation: floaty 5s ease-in-out infinite;
}
.about-preview__sticker .material-symbols-outlined {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 20px;
    margin-bottom: .55rem;
}
.about-preview__sticker b {
    display: block;
    font-size: 1.4rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--heading);
    line-height: 1;
}
.about-preview__sticker small { color: var(--text-soft); font-size: .75rem; }
.about-preview__sticker--1 { top: 6%;   left: -7%; animation-delay: 0s; }
.about-preview__sticker--2 { bottom: 8%; right: -6%; animation-delay: -2.5s; }
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ============================================================
   Premium CTA — 2-column with Telegram phone mockup
   ============================================================ */
.cta--split { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.cta__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.cta__copy h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 2rem;
    margin-top: 2.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255,255,255,.1);
}
.cta__stats b {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1;
}
.cta__stats small {
    color: rgba(255,255,255,.65);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.cta__visual {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 360px;
}
.cta__phone {
    background: linear-gradient(180deg, #0e1820 0%, #182632 100%);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 1.3rem 1.7rem;
    box-shadow: 0 60px 100px -40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04) inset;
    position: relative;
    isolation: isolate;
}
.cta__phone::before {
    content: '';
    position: absolute; inset: -40px;
    background: radial-gradient(circle at 50% 50%, rgba(255,155,81,.25), transparent 60%);
    z-index: -1;
    pointer-events: none;
}
.cta__phone-head {
    display: flex; align-items: center; gap: .7rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.cta__phone-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #229ed9, #1980b3);
    display: grid; place-items: center;
}
.cta__phone-head b { display: block; color: #fff; font-size: .92rem; }
.cta__phone-head small { color: rgba(255,255,255,.55); font-size: .72rem; }

.cta__msg {
    background: rgba(255,255,255,.06);
    border-radius: 14px 14px 14px 4px;
    padding: .65rem .85rem .75rem;
    margin-bottom: .7rem;
    color: rgba(255,255,255,.92);
    font-size: .85rem;
    line-height: 1.45;
    animation: msg-in .6s ease both;
}
.cta__msg small {
    display: block;
    color: var(--accent);
    font-size: .68rem;
    font-weight: 600;
    margin-bottom: .25rem;
}
.cta__msg p { margin: 0; color: rgba(255,255,255,.92); }
.cta__msg--win {
    background: rgba(25,169,116,.18);
    border-left: 3px solid #19a974;
}
.cta__msg:nth-child(2) { animation-delay: .15s; }
.cta__msg:nth-child(3) { animation-delay: .35s; }
.cta__msg:nth-child(4) { animation-delay: .55s; }
@keyframes msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Premium BLOG preview cards (homepage)
   ============================================================ */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}
.article-card--premium {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease;
}
.article-card--premium:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 40px 70px -30px var(--accent-shadow);
}
.article-card--premium .article-card__media {
    aspect-ratio: 16/10;
    position: relative;
    background: linear-gradient(135deg, #1b2f3d, #25343f);
}
.article-card--premium .article-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s cubic-bezier(.2,.7,.3,1);
}
.article-card--premium:hover .article-card__media img { transform: scale(1.08); }
.article-card__cat {
    position: absolute; top: 1rem; left: 1rem;
    background: rgba(255,255,255,.95);
    color: var(--accent);
    padding: .3rem .8rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    z-index: 2;
    backdrop-filter: blur(8px);
}
.article-card__reads {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    display: inline-flex; align-items: center; gap: .25rem;
    z-index: 2;
    backdrop-filter: blur(6px);
}
.article-card__reads .material-symbols-outlined { font-size: 14px; }
.article-card--premium .article-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.article-card--premium .article-card__meta { font-size: .76rem; color: var(--text-soft); margin-bottom: .5rem; letter-spacing: .04em; }
.article-card--premium .article-card__title { font-size: 1.2rem; line-height: 1.35; margin: 0 0 1.2rem; }
.article-card--premium .article-card__title a { color: var(--heading); }
.article-card--premium .article-card__title a:hover { color: var(--accent); }
.article-card__foot {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}
.article-card__author {
    display: flex; align-items: center; gap: .55rem;
    font-size: .82rem;
}
.article-card__author-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Space Grotesk', sans-serif;
}
.article-card__arrow {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid; place-items: center;
    color: var(--accent);
    transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.article-card--premium:hover .article-card__arrow {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateX(4px);
}

/* Responsive overrides for these new sections */
@media (max-width: 900px) {
    .about-preview__grid,
    .cta__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-preview__visual { aspect-ratio: 4/3; max-width: 520px; margin: 0 auto; }
    .about-preview__sticker--1 { left: 2%; }
    .about-preview__sticker--2 { right: 2%; }
    .blog-preview-grid { grid-template-columns: 1fr 1fr; }
    .cta__stats { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
    .cta__visual { max-width: 320px; }
}
@media (max-width: 600px) {
    .about-preview__pillars { grid-template-columns: 1fr; }
    .blog-preview-grid { grid-template-columns: 1fr; }
    .about-preview__sticker { min-width: 140px; padding: .8rem 1rem; }
    .about-preview__sticker b { font-size: 1.15rem; }
}

/* ============================================================
   ABOUT page — Who-are-we, Mission, Timeline, Contact CTA
   ============================================================ */
.about-block {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-block--reverse > :first-child { order: 2; }
.about-block__copy p { font-size: 1.05rem; line-height: 1.75; }
.about-block__copy p + p { margin-top: 1rem; }
.about-block__list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.about-block__list li {
    display: flex; align-items: flex-start; gap: .85rem;
    padding: .9rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color .25s ease, transform .25s ease;
}
.about-block__list li:hover { border-color: var(--accent); transform: translateX(4px); }
.about-block__list .material-symbols-outlined {
    width: 32px; height: 32px;
    border-radius: 10px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}
.about-block__list b { color: var(--heading); display: block; }
.about-block__list small { color: var(--text-soft); font-size: .85rem; }

.about-block__visual {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: linear-gradient(135deg, #1b2f3d, #25343f);
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .35);
    border: 1px solid var(--border);
}
.about-block__visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2, .7, .3, 1);
}
.about-block__visual:hover img { transform: scale(1.05); }
.about-block__caption {
    position: absolute; left: 1.2rem; bottom: 1.2rem;
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: .55rem 1rem;
    border-radius: 999px;
    font-size: .82rem;
    backdrop-filter: blur(6px);
}

/* Mission key stats row */
.mission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 2.2rem 0 0;
}
.mission-stats > div {
    padding: 1.3rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mission-stats > div::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.mission-stats b {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--heading);
    margin-bottom: .3rem;
}
.mission-stats small { color: var(--text-soft); font-size: .82rem; }

/* ===== History timeline — horizontal, animated on scroll ===== */
.timeline {
    position: relative;
    margin: 4rem auto 0;
    padding: 4.5rem 0 1rem;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
    transform: translateY(-50%);
}
.timeline__track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}
.timeline__item {
    position: relative;
    padding: 0 .6rem;
    text-align: center;
    transition: transform .35s ease;
}
.timeline__item::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 18px; height: 18px;
    background: var(--bg);
    border: 3px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--accent-soft);
    transform: translate(-50%, -53%);
    transition: transform .35s ease, box-shadow .35s ease;
}
.timeline__item:hover { transform: translateY(-4px); }
.timeline__item:hover::before {
    transform: translate(-50%, -53%) scale(1.2);
    box-shadow: 0 0 0 10px var(--accent-soft);
}
.timeline__item:nth-child(odd) { padding-top: 3rem; }
.timeline__item:nth-child(even) {
    padding-top: 0;
    padding-bottom: 3rem;
    transform: translateY(-3rem);
}
.timeline__item:nth-child(even)::before { top: 100%; transform: translate(-50%, -47%); }
.timeline__item:nth-child(even):hover::before { transform: translate(-50%, -47%) scale(1.2); }
.timeline__year {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: .4rem;
}
.timeline__title  { font-size: 1rem; margin: 0 0 .25rem; color: var(--heading); }
.timeline__body   { color: var(--text-soft); font-size: .8rem; margin: 0; line-height: 1.45; }

/* Entrance animation — items fade in one after another when scrolled into view */
.timeline__item { opacity: 0; transform: translateY(20px); }
.timeline__item:nth-child(even) { transform: translateY(-3rem + 20px); transform: translate(0, calc(-3rem + 20px)); opacity: 0; }
.timeline.is-in .timeline__item {
    animation: tl-in .7s cubic-bezier(.2,.7,.3,1) forwards;
}
.timeline.is-in .timeline__item:nth-child(1) { animation-delay: .05s; }
.timeline.is-in .timeline__item:nth-child(2) { animation-delay: .20s; }
.timeline.is-in .timeline__item:nth-child(3) { animation-delay: .35s; }
.timeline.is-in .timeline__item:nth-child(4) { animation-delay: .50s; }
.timeline.is-in .timeline__item:nth-child(5) { animation-delay: .65s; }
.timeline.is-in .timeline__item:nth-child(6) { animation-delay: .80s; }
@keyframes tl-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.timeline.is-in .timeline__item:nth-child(even) { animation-name: tl-in-even; }
@keyframes tl-in-even {
    from { opacity: 0; transform: translateY(calc(-3rem + 20px)); }
    to   { opacity: 1; transform: translateY(-3rem); }
}

/* Contact CTA */
.contact-cta {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.contact-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0,0,0,.18), transparent 60%);
    z-index: -1;
}
.contact-cta__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.contact-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.contact-cta p  { color: rgba(255,255,255,.9); max-width: 540px; }
.contact-cta__btns { display: flex; gap: .8rem; flex-wrap: wrap; justify-self: end; }
.contact-cta .btn--primary { background: #fff; color: var(--accent); }
.contact-cta .btn--primary:hover { background: rgba(255,255,255,.92); }
.contact-cta .btn--ghost  { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.contact-cta .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

@media (max-width: 900px) {
    .about-block, .about-block--reverse { grid-template-columns: 1fr; gap: 2rem; }
    .about-block--reverse > :first-child { order: 0; }
    .timeline::before { left: 18px; }
    .timeline__item, .timeline__item:nth-child(odd), .timeline__item:nth-child(even) {
        width: 100%; left: 0; text-align: left; padding: 1.3rem 1rem 1.3rem 3rem;
    }
    .timeline__item::before,
    .timeline__item:nth-child(odd)::before,
    .timeline__item:nth-child(even)::before { left: 8px; right: auto; }
    .contact-cta__grid { grid-template-columns: 1fr; text-align: center; }
    .contact-cta__btns { justify-self: center; }

    /* Horizontal timeline collapses to a vertical stack on mobile */
    .timeline { padding: 1rem 0; }
    .timeline::before { display: none; }
    .timeline__track { grid-template-columns: 1fr; gap: 1.5rem; }
    .timeline__item, .timeline__item:nth-child(odd), .timeline__item:nth-child(even) {
        padding: 1.2rem 1rem 1.2rem 3rem;
        text-align: left;
        transform: none;
        opacity: 1;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 14px;
        animation: none;
    }
    .timeline__item::before,
    .timeline__item:nth-child(odd)::before,
    .timeline__item:nth-child(even)::before {
        top: 1.4rem; left: 1rem;
        transform: none;
    }
}

/* ============================================================
   FX-CARD — Forex-themed modern card system
   Used by: pain points, value props, philosophy, indicators
   ============================================================ */
.fx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}
.fx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.fx-grid--6 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.fx-card {
    position: relative;
    padding: 1.8rem 1.6rem 1.6rem;
    background:
        linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface), var(--bg-alt) 60%) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    transition: transform .35s cubic-bezier(.2,.7,.2,1),
                border-color .35s ease,
                box-shadow .35s ease,
                background .35s ease;
}
/* subtle grid pattern background — appears on hover */
.fx-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,155,81,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,155,81,.05) 1px, transparent 1px);
    background-size: 22px 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}
/* top accent stripe (always visible, subtle) */
.fx-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: .65;
    transition: opacity .35s ease;
}
.fx-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow:
        0 24px 50px -28px var(--accent-shadow),
        0 4px 14px -8px rgba(0,0,0,.06);
}
.fx-card:hover::after { opacity: 1; }
.fx-card:hover::before { opacity: 1; height: 3px; }

/* index stamp — top-right monospace label like 01 / 02 */
.fx-card__index {
    position: absolute;
    top: 1.1rem; right: 1.3rem;
    font-family: 'JetBrains Mono', 'Space Mono', ui-monospace, monospace;
    font-size: .72rem;
    letter-spacing: .12em;
    color: var(--text-soft);
    opacity: .55;
    text-transform: uppercase;
}

/* icon block */
.fx-card__icon {
    display: inline-flex;
    width: 46px; height: 46px;
    align-items: center; justify-content: center;
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent), transparent 75%);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 1.1rem;
    transition: transform .35s ease, background .35s ease;
}
.fx-card__icon .material-symbols-outlined { font-size: 24px; }
.fx-card:hover .fx-card__icon { transform: scale(1.05) rotate(-2deg); }

/* metric — big number like 18+, 28, 1.34 */
.fx-card__metric {
    display: block;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--heading);
    letter-spacing: -.025em;
    line-height: 1;
    margin: .2rem 0 .8rem;
}
.fx-card__metric--accent { color: var(--accent); }
.fx-card__metric small {
    display: inline-block;
    font-size: 1rem;
    color: var(--text-soft);
    margin-left: .25rem;
    font-weight: 600;
}

.fx-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 .55rem;
    color: var(--heading);
    line-height: 1.35;
}
.fx-card__mono {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: -.005em;
    color: var(--heading);
    margin: 0 0 .55rem;
}
.fx-card__body {
    color: var(--text-soft);
    font-size: .92rem;
    line-height: 1.62;
    margin: 0;
}

/* decorative sparkline corner SVG */
.fx-card__spark {
    position: absolute;
    right: -8px; bottom: -8px;
    width: 110px; height: 56px;
    opacity: .18;
    pointer-events: none;
    transition: opacity .4s ease, transform .4s ease;
}
.fx-card:hover .fx-card__spark { opacity: .35; transform: translateY(-4px); }

/* candlestick mini-bars corner — alternative decoration */
.fx-card__candles {
    position: absolute;
    right: 1rem; bottom: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    opacity: .22;
    transition: opacity .4s ease;
}
.fx-card:hover .fx-card__candles { opacity: .55; }
.fx-card__candles span {
    width: 4px;
    background: var(--accent);
    border-radius: 1px;
}
.fx-card__candles span:nth-child(1) { height: 14px; background: color-mix(in srgb, var(--accent), #DC2626 50%); }
.fx-card__candles span:nth-child(2) { height: 22px; }
.fx-card__candles span:nth-child(3) { height: 12px; background: color-mix(in srgb, var(--accent), #DC2626 50%); }
.fx-card__candles span:nth-child(4) { height: 28px; }
.fx-card__candles span:nth-child(5) { height: 36px; }
.fx-card__candles span:nth-child(6) { height: 20px; background: color-mix(in srgb, var(--accent), #DC2626 50%); }
.fx-card__candles span:nth-child(7) { height: 30px; }
.fx-card__candles span:nth-child(8) { height: 42px; }

/* ===== fx-card variants ===== */

/* PAIN — negative scenarios, red accent X */
.fx-card--pain .fx-card__icon {
    background: rgba(220, 38, 38, .1);
    border-color: rgba(220, 38, 38, .25);
    color: #DC2626;
}
.fx-card--pain::before {
    background: linear-gradient(90deg, transparent 0%, #DC2626 50%, transparent 100%);
    opacity: .35;
}
.fx-card--pain:hover { border-color: rgba(220, 38, 38, .55); }
.fx-card--pain:hover::before { opacity: .9; }
.fx-card--pain:hover { box-shadow: 0 24px 50px -28px rgba(220, 38, 38, .35), 0 4px 14px -8px rgba(0,0,0,.06); }
.fx-card--pain .fx-card__body { font-size: .98rem; color: var(--text); font-weight: 500; }

/* PIP STAMP — small data-pill style label for "EUR/USD" feel */
.fx-card__pip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .6rem;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent), transparent 70%);
    border-radius: 999px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: .9rem;
}
.fx-card__pip--down {
    background: rgba(220,38,38,.08);
    color: #DC2626;
    border-color: rgba(220,38,38,.25);
}

/* INDICATOR — terminal-style mono title with trading frame */
.fx-card--indicator {
    background:
        linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface), var(--bg-alt) 70%) 100%);
}
.fx-card--indicator .fx-card__title { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .92rem; letter-spacing: -.005em; }

/* PHILOSOPHY — large numbered card */
.fx-card--principle {
    padding: 2.2rem 1.7rem 1.7rem;
}
.fx-card__principle-num {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    opacity: .9;
    margin: -.6rem 0 .8rem;
    letter-spacing: -.04em;
}

/* CTA chip — used in pain footer */
.fx-card__cta-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1rem;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent), transparent 60%);
    border-radius: 999px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .78rem;
    font-weight: 600;
    margin-top: 1rem;
}

@media (max-width: 720px) {
    .fx-card { padding: 1.5rem 1.3rem 1.4rem; }
    .fx-card__metric { font-size: 2rem; }
    .fx-card__principle-num { font-size: 2.6rem; }
}

/* ============================================================
   ABOUT PAGE HERO — professional layout with backdrop pattern
   ============================================================ */
.about-hero {
    position: relative;
    padding: 5rem 0 4.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, var(--accent-soft) 0%, transparent 45%),
        radial-gradient(circle at 15% 75%, var(--accent-soft) 0%, transparent 35%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    isolation: isolate;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,155,81,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,155,81,.04) 1px, transparent 1px);
    background-size: 36px 36px;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.about-hero__inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.about-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .9rem;
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent), transparent 60%);
    border-radius: 999px;
    color: var(--accent);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
}
.about-hero__eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.about-hero__title {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--heading);
    margin: 0 0 1.4rem;
}
.about-hero__title .accent { color: var(--accent); }
.about-hero__lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-soft);
    margin: 0 auto;
    max-width: 760px;
}
.about-hero__kpi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    max-width: 760px;
    margin: 2.8rem auto 0;
}
.about-hero__kpi > div {
    text-align: center;
    padding: 1rem .6rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: transform .3s ease, border-color .3s ease;
}
.about-hero__kpi > div:hover { transform: translateY(-3px); border-color: var(--accent); }
.about-hero__kpi b {
    display: block;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: .35rem;
}
.about-hero__kpi small {
    display: block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-soft);
}

/* ============================================================
   PAIN-SECTION FOOTER LINE
   ============================================================ */
.pain-footer {
    max-width: 760px;
    margin: 3rem auto 0;
    padding: 1.4rem 1.6rem;
    text-align: center;
    border-left: 3px solid var(--accent);
    background: linear-gradient(90deg, var(--accent-soft), transparent);
    border-radius: 4px 12px 12px 4px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
}

