@font-face {
    font-family: Shabnam;
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('/fonts/shabnam/Shabnam-Thin.woff2') format('woff2');
}

@font-face {
    font-family: Shabnam;
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/shabnam/Shabnam-Light.woff2') format('woff2');
}

@font-face {
    font-family: Shabnam;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/shabnam/Shabnam.woff2') format('woff2');
}

@font-face {
    font-family: Shabnam;
    font-style: normal;
    font-weight: 500 600;
    font-display: swap;
    src: url('/fonts/shabnam/Shabnam-Medium.woff2') format('woff2');
}

@font-face {
    font-family: Shabnam;
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
    src: url('/fonts/shabnam/Shabnam-Bold.woff2') format('woff2');
}

:root {

    --font-sans: 'Shabnam', ui-sans-serif, system-ui, sans-serif;
    --color-navy: #0a2540;
    --color-ink: #102a43;
    --color-muted: #71808b;
    --color-accent: #22c7bc;
    --color-accent-dark: #109f97;
    --color-up: #16bbae;
    --color-down: #e85d5d;
    --color-paper: #fafaf7;
    --color-line: #dce4e7;
    --color-deep: #061d34;
    --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);

}


    html {
        scroll-behavior: smooth;
    }

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    body {
        margin: 0;
        background: var(--color-paper);
        color: var(--color-ink);
        font-family: var(--font-sans);
        font-feature-settings: 'ss01' on, 'kern' on;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }

    ::selection {
        background: color-mix(in srgb, var(--color-accent) 28%, white);
        color: var(--color-navy);
    }

    :focus-visible {
        outline: 2px solid var(--color-accent);
        outline-offset: 3px;
    }

    a,
    button {
        cursor: pointer;
    }


    .skip-link {
        position: absolute;
        inset-inline-start: 1rem;
        top: -3rem;
        z-index: 80;
        background: var(--color-navy);
        color: #fff;
        padding: 0.5rem 0.9rem;
        font-size: 0.875rem;
    }

    .skip-link:focus {
        top: 0.75rem;
    }

    .wrap,
    .section-shell {
        width: min(1240px, calc(100% - 80px));
        margin-inline: auto;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
        width: 100%;
        background: var(--color-paper);
        border-bottom: 1px solid transparent;
        transition: border-color 200ms var(--ease-out-strong);
    }

    .site-header.is-scrolled {
        border-bottom-color: var(--color-line);
    }

    .site-header__inner {
        width: min(1240px, calc(100% - 80px));
        height: 96px;
        margin-inline: auto;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        position: relative;
    }

    .brand {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        width: max-content;
        color: inherit;
        text-decoration: none;
    }

    .brand img {
        width: 38px;
        height: 46px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .brand span {
        display: flex;
        flex-direction: column;
        line-height: 1.45;
    }

    .brand strong {
        font-size: 16px;
        font-weight: 800;
        color: var(--color-deep);
    }

    .brand small {
        color: var(--color-muted);
        font-size: 10px;
    }

    .nav-links {
        display: flex;
        gap: 52px;
        font-weight: 600;
        font-size: 14px;
    }

    .nav-links a {
        position: relative;
        padding: 36px 0;
        color: var(--color-navy);
        text-decoration: none;
        min-height: auto;
        display: inline;
        box-shadow: none;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 26px;
        width: 0;
        height: 2px;
        background: var(--color-accent);
        transition: width 0.25s ease;
    }

    .nav-links a:hover::after,
    .nav-links a.is-active::after {
        width: 100%;
    }

    .nav-links a:hover {
        color: var(--color-navy);
    }

    .header-cta {
        justify-self: end;
    }

    .menu-button {
        display: none;
        border: 0;
        background: transparent;
        color: var(--color-navy);
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        justify-self: end;
    }

    .button {
        min-height: 48px;
        padding: 0 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        border: 0;
        border-radius: 2px;
        background: var(--color-accent);
        color: #052b39;
        font-weight: 700;
        font-size: inherit;
        text-decoration: none;
        transition: transform 0.2s ease, background 0.2s ease;
        touch-action: manipulation;
    }

    .button:hover {
        transform: translateY(-2px);
        background: #4ad7ce;
    }

    .button-small {
        min-height: 42px;
        padding-inline: 20px;
        font-size: 13px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        min-height: 44px;
        padding: 0.7rem 1.15rem;
        border: 0;
        border-radius: 2px;
        font-weight: 700;
        font-size: 0.92rem;
        text-decoration: none;
        transition: transform 160ms var(--ease-out-strong), background-color 160ms ease, color 160ms ease;
        touch-action: manipulation;
    }

    .btn:active {
        transform: scale(0.97);
    }

    .btn-accent {
        background: var(--color-accent);
        color: #052b39;
    }

    .btn-accent:hover {
        background: #4ad7ce;
    }

    .btn-ghost {
        background: transparent;
        color: var(--color-navy);
        padding-inline: 0;
        min-height: 40px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .btn-ghost:hover {
        color: var(--color-accent-dark);
    }

    .icon-btn {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: var(--color-navy);
        border-radius: 4px;
    }

    .btn-lg {
        min-height: 48px;
        padding: 0 24px;
        font-size: 13px;
    }

    .hero {
        width: 100%;
        height: 680px;
        min-height: 680px;
        max-height: 680px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        position: relative;
        direction: ltr;
        overflow: hidden;
    }

    .hero-copy,
    .hero-portrait {
        direction: rtl;
    }

    .hero-copy {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-inline: max(64px, calc((100vw - 1240px) / 2 + 40px)) clamp(64px, 7vw, 112px);
    }

    .eyebrow {
        color: #209c95;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.02em;
        margin: 0 0 14px;
    }

    .hero h1 {
        font-size: clamp(54px, 5.1vw, 79px);
        line-height: 1.23;
        letter-spacing: -0.055em;
        margin: 0;
        font-weight: 800;
        color: var(--color-deep);
    }

    .hero h1 span {
        color: var(--color-accent);
        white-space: nowrap;
    }

    .hero-text {
        max-width: 500px;
        margin: 26px 0;
        font-size: 18px;
        line-height: 2;
        color: #52636e;
    }

    .hero-actions {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .text-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 0;
        padding: 0;
        background: none;
        font-size: 13px;
        font-weight: 700;
        color: var(--color-navy);
        text-decoration: none;
    }

    .text-link:hover {
        color: #109f97;
    }

    .experience {
        color: var(--color-muted);
        font-size: 12px;
        margin-top: 26px;
    }

    .experience b {
        color: var(--color-accent);
        font-size: 20px;
        margin-left: 5px;
    }

    .hero-portrait {
        height: 680px;
        margin: 0;
        align-self: stretch;
        overflow: hidden;
        position: relative;
    }

    .hero-portrait img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 12%;
        filter: contrast(1.02);
    }

    .ticker {
        min-height: 128px;
        background: var(--color-deep);
        color: #fff;
        display: grid;
        grid-template-columns: 0.7fr repeat(4, 1fr);
        align-items: stretch;
        padding: 0 max(40px, calc((100vw - 1240px) / 2));
        direction: ltr;
    }

    .ticker-status,
    .price {
        direction: rtl;
    }

    .ticker-status {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        color: #91a1ad;
        font-size: 10px;
        gap: 2px;
    }

    .ticker-status i {
        width: 7px;
        height: 7px;
        background: var(--color-accent);
        border-radius: 50%;
        margin-bottom: 7px;
        box-shadow: 0 0 0 5px rgb(34 199 188 / 0.12);
    }

    .ticker-status b {
        color: #fff;
        font-size: 13px;
    }

    .price {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 28px 22px;
        border-right: 1px solid rgb(255 255 255 / 0.14);
    }

    .price > div {
        display: grid;
    }

    .price span {
        color: #aebbc4;
        font-size: 11px;
    }

    .price strong {
        font-size: 19px;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .price em {
        font-style: normal;
        font-size: 12px;
        font-weight: 700;
    }

    .positive {
        color: #16bbae !important;
    }

    .negative {
        color: var(--color-down) !important;
    }

    .is-up { color: var(--color-up); }
    .is-down { color: var(--color-down); }

    /* ===== Market / pulse ===== */
    .market {
        padding-block: 76px 84px;
    }

    .market-header {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 32px;
        margin-bottom: 30px;
        padding-bottom: 28px;
        border-bottom: 1px solid var(--color-line);
    }

    .section-heading {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        align-items: end;
        margin-bottom: 64px;
    }

    .section-heading h2,
    .market-heading h2 {
        font-size: clamp(38px, 4vw, 58px);
        line-height: 1.28;
        letter-spacing: -0.045em;
        margin: 0;
        color: var(--color-deep);
        font-weight: 800;
    }

    .section-heading > p {
        max-width: 460px;
        line-height: 2;
        color: var(--color-muted);
        margin: 0;
        justify-self: end;
    }

    .market-summary {
        max-width: 580px;
        margin: 14px 0 0;
        color: var(--color-muted);
        line-height: 2;
    }

    .market-live {
        flex: 0 0 auto;
        min-width: 172px;
        padding: 13px 16px;
        border: 1px solid color-mix(in srgb, var(--color-accent) 30%, var(--color-line));
        border-radius: 12px;
        background: #f4fbfa;
    }

    .market-live span {
        display: flex;
        align-items: center;
        gap: 7px;
        color: #178d85;
        font-size: 11px;
        font-weight: 700;
    }

    .market-live i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--color-accent);
        box-shadow: 0 0 0 4px rgb(34 199 188 / 0.14);
    }

    .market-live strong {
        display: block;
        margin-top: 5px;
        color: var(--color-deep);
        font-size: 13px;
    }

    .market-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
        gap: 24px;
        align-items: stretch;
        direction: ltr;
    }

    .chart-block,
    .analyst-note {
        direction: rtl;
    }

    .chart-block {
        min-width: 0;
        padding: 24px;
        border: 1px solid var(--color-line);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 18px 42px -38px rgb(6 29 52 / 0.55);
    }

    .market-card__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 18px;
    }

    .market-card__head > div {
        display: grid;
        gap: 2px;
    }

    .market-card__head span,
    .market-card__head small {
        color: var(--color-muted);
        font-size: 11px;
    }

    .market-card__head strong {
        color: var(--color-deep);
        font-size: 15px;
    }

    .pulse-chart {
        min-width: 0;
        background: linear-gradient(180deg, #fbfdfd 0%, #f3faf9 100%);
        border: 0;
        border-radius: 10px;
        padding: 12px 12px 4px;
    }

    .pulse-chart svg {
        display: block;
        width: 100%;
    }

    .chart-axis {
        display: flex;
        justify-content: space-between;
        padding: 0.55rem 0.5rem 0.1rem;
        color: var(--color-muted);
        font-size: 11px;
    }

    .flows {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid var(--color-line);
        margin-top: 20px;
    }

    .flows > div {
        display: flex;
        flex-direction: column;
        padding: 20px 18px 8px;
        border-left: 1px solid var(--color-line);
    }

    .flows > div:last-child {
        border-left: 0;
    }

    .flows span {
        font-size: 12px;
        color: var(--color-muted);
    }

    .flows strong {
        font-size: 28px;
        margin: 6px 0;
    }

    .flows small {
        font-size: 10px;
        color: #95a0a8;
    }

    .analyst-note {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 18px;
        padding: 34px 34px 30px;
        border-radius: 14px;
        background: var(--color-deep);
        border: 1px solid #0d3558;
        border-right: 3px solid var(--color-accent);
        overflow: hidden;
    }

    .analyst-note__head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .analyst-note__tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: #66dfd7;
        font-weight: 700;
    }

    .analyst-note__tag i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--color-accent);
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent) 18%, transparent);
    }

    .analyst-note__quote {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 58px;
        line-height: 0.6;
        color: rgb(34 199 188 / 0.36);
    }

    .analyst-note p {
        font-size: 19px;
        line-height: 2.05;
        margin: 0;
        color: #f4fbfd;
    }

    .analyst-note__sentiment {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .sentiment-pill {
        font-size: 11px;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 99px;
        background: rgb(255 255 255 / 0.08);
        border: 1px solid rgb(255 255 255 / 0.16);
    }

    .sentiment-pill.is-up {
        color: var(--color-up);
        border-color: rgb(22 187 174 / 0.45);
    }

    .sentiment-pill.is-down {
        color: var(--color-down);
        border-color: rgb(232 93 93 / 0.45);
    }

    .analyst-note__sign {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding-top: 16px;
        border-top: 1px solid rgb(255 255 255 / 0.16);
    }

    .analyst-note__sign strong {
        font-size: 14px;
        color: #fff;
    }

    .analyst-note__sign span {
        font-size: 11px;
        color: #a7bac9;
    }

    .heatmap-heading {
        display: flex;
        align-items: end;
        justify-content: space-between;
        margin-top: 72px;
        margin-bottom: 22px;
    }

    .heatmap-heading h3 {
        font-size: 36px;
        margin: 0;
        color: var(--color-deep);
    }

    .heatmap {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 82px;
        gap: 2px;
        direction: rtl;
    }

    .heat {
        color: #fff;
        border: 0;
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: filter 0.2s ease, transform 0.2s ease;
    }

    .heat:hover {
        filter: brightness(1.08);
        transform: scale(0.985);
    }

    .heat.up { background: #1f9f7d; }
    .heat.down { background: #cf5353; }
    .heat.xl { grid-column: span 3; grid-row: span 2; }
    .heat.lg { grid-column: span 3; }
    .heat.md { grid-column: span 2; }
    .heat.sm { grid-column: span 1; }

    .heat strong {
        font-size: 16px;
        font-weight: 700;
    }

    .heat.xl strong {
        font-size: 23px;
    }

    .heat span {
        font-size: 12px;
        opacity: 0.9;
        margin-top: 4px;
    }

    .heat-legend {
        display: flex;
        direction: ltr;
        align-items: center;
        gap: 4px;
        justify-content: flex-start;
        margin-top: 14px;
        color: var(--color-muted);
        font-size: 10px;
    }

    .heat-legend i {
        width: 70px;
        height: 5px;
    }

    .heat-legend .red { background: #cf5353; }
    .heat-legend .neutral { background: #cbd5d9; }
    .heat-legend .green { background: #1f9f7d; }

    /* ===== Analysis ===== */
    .analysis {
        padding-block: 110px 126px;
        border-top: 1px solid var(--color-line);
    }

    .analysis-top {
        display: flex;
        justify-content: space-between;
        align-items: end;
        margin-bottom: 50px;
    }

    .analysis-top h2 {
        font-size: 49px;
        line-height: 1.28;
        letter-spacing: -0.045em;
        margin: 0;
        color: var(--color-deep);
        font-weight: 800;
    }

    .content-tabs {
        display: flex;
        border-bottom: 1px solid var(--color-line);
    }

    .content-tabs button {
        border: 0;
        background: none;
        color: var(--color-muted);
        padding: 12px 20px;
        border-bottom: 2px solid transparent;
        cursor: pointer;
    }

    .content-tabs button.active {
        color: var(--color-deep);
        border-color: var(--color-accent);
        font-weight: 700;
    }

    .stories {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 70px;
        direction: ltr;
    }

    .feature-story,
    .story-list {
        direction: rtl;
    }

    .feature-story a {
        color: inherit;
        text-decoration: none;
        display: block;
    }

    .feature-story h3,
    .story-list h3 {
        font-size: 28px;
        margin: 8px 0;
        line-height: 1.55;
        color: var(--color-deep);
    }

    .feature-story > a > p:last-child {
        color: var(--color-muted);
        line-height: 1.9;
    }

    .video-visual {
        height: 320px;
        background: var(--color-deep);
        position: relative;
        overflow: hidden;
    }

    .video-visual svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .video-visual button {
        position: absolute;
        inset: 50% auto auto 50%;
        transform: translate(-50%, -50%);
        width: 62px;
        height: 62px;
        border: 0;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #fff;
        color: var(--color-navy);
        cursor: pointer;
    }

    .meta {
        font-size: 11px;
        color: var(--color-muted);
        margin-top: 18px;
    }

    .story-list {
        border-top: 1px solid var(--color-line);
    }

    .story-list article {
        min-height: 185px;
        padding: 28px 0;
        border-bottom: 1px solid var(--color-line);
        position: relative;
    }

    .story-list article > span {
        font-size: 11px;
        color: #1ba49c;
        font-weight: 700;
    }

    .story-list article h3 {
        margin: 8px 0;
    }

    .story-list article p {
        font-size: 11px;
        color: var(--color-muted);
        margin: 0;
    }

    .story-list article a {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-navy);
    }

    /* ===== Risk band ===== */
    .risk-note {
        background: var(--color-deep);
        color: #fff;
    }

    .risk-inner {
        min-height: 330px;
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 80px;
        align-items: center;
    }

    .risk-inner h2 {
        color: #fff;
        font-size: 60px;
        line-height: 1.2;
        letter-spacing: -0.045em;
        margin: 0;
        font-weight: 800;
    }

    .risk-inner > div > p {
        font-size: 30px;
        margin: 0 0 8px;
    }

    .risk-copy {
        border-right: 1px solid rgb(255 255 255 / 0.25);
        padding-right: 50px;
    }

    .risk-copy span {
        color: var(--color-accent);
        font-size: 12px;
        font-weight: 700;
    }

    .risk-copy p {
        font-size: 17px;
        line-height: 2;
    }

    .risk-copy small {
        color: #8da0ae;
    }

    /* ===== Learning ===== */
    .learning {
        padding-block: 120px 140px;
    }

    .section-heading.compact {
        margin-bottom: 60px;
    }

    .section-heading.compact h2 {
        font-size: 48px;
    }

    .courses {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .courses article {
        min-height: 220px;
        padding: 0 40px;
        border-left: 1px solid var(--color-line);
    }

    .courses article:first-child {
        padding-right: 0;
    }

    .courses article:last-child {
        border-left: 0;
    }

    .courses b {
        color: var(--color-accent);
        font-size: 38px;
        font-weight: 400;
    }

    .courses h3 {
        font-size: 21px;
        margin: 20px 0 10px;
        color: var(--color-deep);
    }

    .courses p {
        color: var(--color-muted);
        min-height: 46px;
        margin: 0;
    }

    .courses a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 700;
        color: var(--color-navy);
        text-decoration: none;
    }

    .courses a:hover {
        color: var(--color-accent-dark);
    }

    .section {
        padding-block: 4.25rem;
    }

    .section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.75rem;
    }

    .section-title {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        font-size: clamp(1.35rem, 2.2vw, 1.75rem);
        font-weight: 800;
        color: var(--color-navy);
        margin: 0;
    }

    .motif {
        display: inline-flex;
        align-items: center;
        width: 72px;
        flex-shrink: 0;
    }

    .motif i {
        width: 8px;
        height: 8px;
        border: 1.5px solid var(--color-accent);
        border-radius: 50%;
        flex-shrink: 0;
        background: var(--color-paper);
    }

    .motif b {
        height: 1px;
        flex: 1;
        background: var(--color-accent);
        display: block;
    }

    .link-more {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--color-muted);
        font-size: 0.86rem;
        text-decoration: none;
        min-height: 44px;
        transition: color 160ms ease;
    }

    .link-more:hover {
        color: var(--color-navy);
    }

    .pulse-grid {
        display: grid;
        grid-template-columns: 0.78fr 1.22fr;
        gap: 3rem;
        align-items: start;
    }

    .pulse-heading {
        margin-bottom: 1.1rem;
    }

    .pulse-chart {
        background: transparent;
        border: 0;
        padding: 0;
    }

    .chart-axis {
        display: flex;
        justify-content: space-between;
        padding: 0.35rem 0.8rem 0.2rem;
        color: var(--color-muted);
        font-size: 0.72rem;
    }

    .pulse-metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 1.35rem;
        border-top: 1px solid var(--color-line);
    }

    .pulse-metric {
        padding: 1rem 0.2rem;
        text-align: center;
        border-inline-start: 1px solid var(--color-line);
    }

    .pulse-metric:first-child {
        border-inline-start: 0;
    }

    .pulse-metric span {
        display: block;
        color: var(--color-muted);
        font-size: 0.82rem;
        margin-bottom: 0.35rem;
    }

    .pulse-metric strong {
        font-size: 1.15rem;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
    }

    .note-card {
        padding-top: 0.2rem;
    }

    .note-title {
        font-family: var(--font-sans);
        font-size: 1.85rem;
        color: var(--color-navy);
        margin: 0 0 1.1rem;
        font-weight: 700;
        line-height: 1.6;
    }

    .note-body {
        color: var(--color-ink);
        line-height: 2;
        font-size: 0.98rem;
        margin: 0 0 1.25rem;
    }

    .note-sign {
        font-family: var(--font-sans);
        color: var(--color-navy);
        font-size: 1.15rem;
        display: inline-block;
        padding-bottom: 0.2rem;
        border-bottom: 2px solid var(--color-accent);
    }

    .heatmap {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 78px;
        grid-auto-flow: dense;
        gap: 3px;
    }

    .hm-cell {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #fff;
        text-align: center;
        padding: 0.35rem;
        min-width: 0;
        text-decoration: none;
        transition: transform 160ms var(--ease-out-strong), filter 160ms ease;
    }

    .hm-cell:hover {
        filter: brightness(1.06);
        transform: translateY(-1px);
    }

    .hm-cell strong {
        font-size: 0.82rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .hm-cell span {
        font-size: 0.72rem;
        opacity: 0.92;
        margin-top: 0.15rem;
        font-variant-numeric: tabular-nums;
    }

    .hm-legend {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.55rem;
        margin-top: 0.85rem;
        color: var(--color-muted);
        font-size: 0.75rem;
    }

    .hm-scale {
        width: 140px;
        height: 8px;
        border-radius: 99px;
        background: linear-gradient(to left, #9a2c32, #e7a8ab, #dfe7e4, #8fcfb8, #0e7a5c);
    }

    .analyses-grid {
        display: grid;
        grid-template-columns: 0.9fr 1.2fr 1.1fr;
        gap: 0;
        align-items: stretch;
    }

    .analysis-list {
        display: flex;
        flex-direction: column;
        padding-inline-end: 1.4rem;
        border-inline-end: 1px solid var(--color-line);
    }

    .analysis-mini {
        padding-block: 1.15rem;
        text-decoration: none;
        color: inherit;
        border-bottom: 1px solid var(--color-line);
        transition: color 160ms ease;
    }

    .analysis-mini:last-child {
        border-bottom: 0;
    }

    .analysis-mini:hover h3 {
        color: var(--color-accent-dark);
    }

    .analysis-mini h3 {
        margin: 0 0 0.45rem;
        font-size: 1rem;
        font-weight: 700;
        color: var(--color-navy);
        line-height: 1.7;
    }

    .meta {
        color: var(--color-muted);
        font-size: 0.8rem;
    }

    .analysis-feature {
        padding-inline: 1.75rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .analysis-feature .meta {
        margin-bottom: 0.55rem;
    }

    .analysis-feature h3 {
        margin: 0 0 0.5rem;
        font-size: 1.45rem;
        font-weight: 800;
        color: var(--color-navy);
        line-height: 1.6;
    }

    .analysis-feature p {
        color: var(--color-muted);
        line-height: 1.9;
        margin: 0 0 1rem;
    }

    .media-card {
        position: relative;
        display: block;
        overflow: hidden;
        background: #071422;
        min-height: 220px;
        color: #fff;
        text-decoration: none;
    }

    .media-card svg.chart-bg {
        width: 100%;
        height: 100%;
        display: block;
        min-height: 220px;
    }

    .play {
        position: absolute;
        inset: 50% auto auto 50%;
        translate: -50% -50%;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: rgb(255 255 255 / 0.94);
        color: var(--color-navy);
        display: grid;
        place-items: center;
        box-shadow: 0 10px 30px rgb(0 0 0 / 0.22);
        transition: transform 180ms var(--ease-out-strong);
    }

    .media-card:hover .play {
        transform: scale(1.05);
    }

    .quote-band {
        background: var(--color-navy);
        color: #fff;
        padding-block: 3.25rem;
    }

    .quote-grid {
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 2.5rem;
        align-items: center;
    }

    .quote-text {
        font-size: clamp(1.45rem, 2.6vw, 2.05rem);
        font-weight: 800;
        line-height: 1.7;
        margin: 0;
    }

    .today-box {
        position: relative;
        padding-inline-start: 1.4rem;
    }

    .today-box::before {
        content: '';
        position: absolute;
        inset-inline-start: 0;
        top: 0.35rem;
        bottom: 1.4rem;
        width: 1px;
        background: color-mix(in srgb, var(--color-accent) 55%, white);
    }

    .today-box::after {
        content: '';
        position: absolute;
        inset-inline-start: 0;
        bottom: 0.55rem;
        width: 42px;
        height: 1px;
        background: color-mix(in srgb, var(--color-accent) 55%, white);
    }

    .today-dot {
        position: absolute;
        inset-inline-start: 38px;
        bottom: 0.35rem;
        width: 8px;
        height: 8px;
        border: 1.5px solid var(--color-accent);
        border-radius: 50%;
    }

    .today-label {
        color: var(--color-accent);
        font-weight: 700;
        margin: 0 0 0.7rem;
        font-size: 0.95rem;
    }

    .today-box p {
        margin: 0 0 0.85rem;
        line-height: 1.9;
        font-size: 0.95rem;
    }

    .today-box small {
        color: rgb(255 255 255 / 0.55);
        font-size: 0.75rem;
    }

    .learn-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    .learn-card {
        padding: 0.4rem 1.4rem 0.2rem 0;
        border-inline-start: 1px solid var(--color-line);
        text-decoration: none;
        color: inherit;
        min-height: 44px;
        display: block;
        transition: transform 180ms var(--ease-out-strong);
    }

    .learn-card:first-child {
        border-inline-start: 0;
        padding-inline-start: 0;
    }

    .learn-card:hover {
        transform: translateY(-2px);
    }

    .learn-code {
        display: block;
        color: var(--color-accent);
        font-size: 2.35rem;
        font-weight: 300;
        margin-bottom: 0.85rem;
        letter-spacing: 0.06em;
        font-variant-numeric: tabular-nums;
        line-height: 1;
    }

    .learn-card h3 {
        margin: 0 0 0.4rem;
        color: var(--color-navy);
        font-size: 1.08rem;
        font-weight: 800;
    }

    .learn-card p {
        margin: 0;
        color: var(--color-muted);
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .about-page.about {
        border-top: 0;
    }

    .about {
        padding-block: 100px;
        display: grid;
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 64px;
        align-items: stretch;
        border-top: 1px solid var(--color-line);
        direction: ltr;
    }

    .about-copy {
        direction: rtl;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .about figure {
        position: relative;
        margin: 0;
        width: 100%;
        height: 100%;
        min-height: 480px;
        overflow: hidden;
        border-radius: 18px;
        border: 1px solid var(--color-line);
        box-shadow: 0 24px 60px -32px rgb(6 29 52 / 0.4);
    }

    .about figure::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 18px;
        box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
        pointer-events: none;
    }

    .about figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 32%;
        filter: grayscale(1) contrast(1.03);
    }

    .about-copy > p:not(.eyebrow) {
        max-width: 620px;
        color: var(--color-muted);
        line-height: 2.15;
        margin: 22px 0 30px;
        font-size: 1rem;
    }

    .about-copy > p:not(.eyebrow):last-of-type {
        margin-bottom: 30px;
    }

    .about .timeline {
        display: grid;
        gap: 4px;
        border-right: 2px solid color-mix(in srgb, var(--color-accent) 45%, var(--color-line));
        padding-right: 26px;
        max-height: 220px;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: color-mix(in srgb, var(--color-accent) 45%, transparent) transparent;
    }

    .about .timeline::-webkit-scrollbar {
        width: 6px;
    }

    .about .timeline::-webkit-scrollbar-thumb {
        background: color-mix(in srgb, var(--color-accent) 45%, transparent);
        border-radius: 999px;
    }

    .about .timeline span {
        min-height: 46px;
        display: grid;
        grid-template-columns: 58px 1fr;
        align-items: center;
        color: var(--color-muted);
        font-size: 12px;
        position: relative;
    }

    .about .timeline span::before {
        content: '';
        position: absolute;
        right: -32px;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--color-accent);
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent) 16%, transparent);
    }

    .about .timeline b {
        color: var(--color-ink);
        font-weight: 700;
        font-size: 13px;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 36px;
        border-top: 1px solid var(--color-line);
    }

    .about-stats > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 22px 0 0;
        padding-inline-start: 20px;
        border-inline-start: 1px solid var(--color-line);
    }

    .about-stats > div:first-child {
        border-inline-start: 0;
        padding-inline-start: 0;
    }

    .about-stats strong {
        font-size: 32px;
        color: var(--color-accent);
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.1;
    }

    .about-stats span {
        color: var(--color-muted);
        font-size: 12px;
    }

    .testimonial-slider {
        padding-block: 84px;
        border-top: 1px solid var(--color-line);
        border-bottom: 1px solid var(--color-line);
    }

    .testimonial {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 26px;
        min-height: 300px;
        animation: testimonial-enter 280ms ease-out;
    }

    .testimonial[hidden] { display: none; }

    @keyframes testimonial-enter { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }

    .testimonial-icon {
        color: var(--color-accent);
        flex-shrink: 0;
        opacity: 0.9;
    }

    .testimonial blockquote {
        font-size: clamp(22px, 2.4vw, 30px);
        line-height: 1.85;
        margin: 0;
        max-width: 820px;
        font-weight: 500;
        color: var(--color-deep);
        letter-spacing: -0.01em;
    }

    .testimonial-author {
        display: inline-flex;
        align-items: center;
        gap: 14px;
        margin-top: 6px;
        padding-top: 24px;
        border-top: 1px solid var(--color-line);
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: color-mix(in srgb, var(--color-accent) 16%, #fff);
        color: var(--color-accent-dark);
        font-size: 20px;
        font-weight: 800;
    }

    .testimonial-author__meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .testimonial-author__meta strong {
        font-size: 14px;
        color: var(--color-deep);
    }

    .testimonial-author__meta span {
        color: var(--color-muted);
        font-size: 12px;
    }

    .testimonial-slider__controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
    .testimonial-slider__button, .testimonial-slider__dot { appearance: none; border: 0; background: transparent; cursor: pointer; }
    .testimonial-slider__button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--color-line); border-radius: 50%; color: var(--color-deep); transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
    .testimonial-slider__button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .testimonial-slider__button:hover, .testimonial-slider__button:focus-visible { background: var(--color-accent); border-color: var(--color-accent); color: #fff; outline: none; }
    .testimonial-slider__dots { display: flex; align-items: center; gap: 8px; }
    .testimonial-slider__dot { width: 18px; height: 18px; padding: 5px; border-radius: 50%; }
    .testimonial-slider__dot::after { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--color-line); transition: background-color 180ms ease, transform 180ms ease; }
    .testimonial-slider__dot.is-active::after { background: var(--color-accent); transform: scale(1.25); }
    .testimonial-slider__dot:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

    @media (prefers-reduced-motion: reduce) { .testimonial { animation: none; } .testimonial-slider__button, .testimonial-slider__dot::after { transition: none; } }

    .consultation {
        padding-block: 110px;
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 80px;
        align-items: center;
    }

    .consultation-intro h2 {
        font-size: clamp(34px, 3.4vw, 50px);
        line-height: 1.28;
        letter-spacing: -0.045em;
        margin: 8px 0 20px;
        color: var(--color-deep);
        font-weight: 800;
    }

    .consultation-intro > p:not(.eyebrow) {
        color: var(--color-muted);
        line-height: 2;
        margin: 0;
        max-width: 380px;
    }

    .consult-points {
        list-style: none;
        margin: 28px 0 0;
        padding: 0;
        display: grid;
        gap: 14px;
    }

    .consult-points li {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--color-ink);
        font-size: 14px;
        line-height: 1.7;
    }

    .consult-points__ico {
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: color-mix(in srgb, var(--color-accent) 15%, #fff);
        color: var(--color-accent-dark);
    }

    .consultation .consult-form--labeled {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 32px;
        margin-top: 0;
        padding: 38px;
        background: #fff;
        border: 1px solid var(--color-line);
        border-radius: 18px;
        box-shadow: 0 24px 60px -40px rgb(6 29 52 / 0.45);
    }

    .consultation .consult-form--labeled .field-subject,
    .consultation .consult-form--labeled .form-actions {
        grid-column: 1 / -1;
    }

    .consultation .consult-form--labeled .field label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        display: block;
        margin-bottom: 8px;
        font-size: 12px;
        font-weight: 600;
        color: var(--color-ink);
    }

    .consultation .consult-form--labeled .field input,
    .consultation .consult-form--labeled .field select {
        box-sizing: border-box;
        min-height: 54px;
        border-radius: 10px;
        background: var(--color-paper);
        box-shadow: none;
        border: 1px solid var(--color-line);
        padding: 0 16px;
        transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    }

    .consultation .consult-form--labeled .field input:focus,
    .consultation .consult-form--labeled .field select:focus {
        background: #fff;
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 18%, transparent);
    }

    .consultation .consult-form--labeled .field select {
        background-position: left 16px center;
    }

    .consultation .consult-form--labeled .form-actions {
        display: block;
        margin-top: 6px;
    }

    .consultation .consult-form--labeled .form-actions .button {
        width: 100%;
        min-height: 54px;
    }

    .success-message {
        border-right: 3px solid var(--color-accent);
        padding: 30px;
    }

    .success-message svg {
        color: var(--color-accent);
    }

    .success-message h3 {
        font-size: 24px;
        margin: 12px 0 0;
        color: var(--color-deep);
    }

    .success-message p {
        color: var(--color-muted);
        margin: 0;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr 0.9fr;
        gap: 2rem;
        align-items: center;
    }

    .about-copy h2 {
        margin: 0.35rem 0 0;
        font-size: clamp(38px, 4vw, 58px);
        line-height: 1.28;
        letter-spacing: -0.045em;
        font-weight: 800;
        color: var(--color-deep);
    }

    .about-copy p {
        color: var(--color-muted);
        line-height: 2;
        margin: 0 0 1rem;
        font-size: 0.98rem;
    }

    .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .stats b {
        display: block;
        color: var(--color-accent);
        font-size: 1.45rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .stats span {
        color: var(--color-muted);
        font-size: 0.8rem;
    }

    .timeline {
        position: relative;
        padding-inline: 0.2rem;
    }

    .timeline::before {
        content: '';
        position: absolute;
        inset-inline-end: 5.4rem;
        top: 0.55rem;
        bottom: 0.55rem;
        width: 1px;
        background: var(--color-navy);
        opacity: 0.35;
    }

    .tl-item {
        display: grid;
        grid-template-columns: 1fr 12px auto;
        gap: 0.7rem;
        align-items: center;
        padding-block: 0.7rem;
        position: relative;
    }

    .tl-item i {
        width: 11px;
        height: 11px;
        border: 2px solid var(--color-navy);
        border-radius: 50%;
        background: var(--color-paper);
        justify-self: center;
    }

    .tl-item strong {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-ink);
        text-align: start;
    }

    .tl-item span {
        font-weight: 700;
        color: var(--color-navy);
        font-size: 0.88rem;
        min-width: 3.2rem;
    }

    .about-photo img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        object-position: 40% 20%;
        display: block;
        filter: grayscale(1) contrast(1.04);
    }

    .quote-row {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
        align-items: start;
        padding-block: 2.6rem;
        border-block: 1px solid var(--color-line);
        max-width: 860px;
        margin-inline: auto;
    }

    .q-mark {
        color: var(--color-accent);
        font-size: 4.6rem;
        line-height: 0.65;
        font-weight: 700;
        font-family: Georgia, 'Times New Roman', serif;
    }

    .q-mark-end {
        align-self: end;
        transform: scaleX(-1);
        opacity: 0.35;
    }

    .quote-row p {
        margin: 0 0 0.9rem;
        font-size: 1.05rem;
        line-height: 2;
        color: var(--color-ink);
    }

    .quote-row cite {
        font-style: normal;
        display: flex;
        gap: 0.55rem;
        flex-wrap: wrap;
        font-size: 0.9rem;
    }

    .quote-row cite b {
        color: var(--color-accent);
        font-weight: 700;
    }

    .quote-row cite span {
        color: var(--color-muted);
    }

    .consult-form {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.85rem;
        margin-top: 1.4rem;
    }

    .consult-form:not(.consult-form--labeled) .form-actions {
        grid-column: 1 / -1;
    }

    .field {
        min-width: 0;
    }

    .field label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .field input,
    .field select {
        width: 100%;
        min-height: 50px;
        border: 1px solid #d9e2e7;
        border-radius: 8px;
        background: #fff;
        padding: 0.7rem 0.95rem;
        color: var(--color-ink);
        box-shadow: 0 1px 2px rgb(0 24 52 / 0.04);
        transition: border-color 160ms ease, box-shadow 160ms ease;
    }

    .field input:focus,
    .field select:focus {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px rgb(1 183 175 / 0.15);
    }

    .field select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236B7C8A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: left 0.9rem center;
        padding-inline-end: 0.9rem;
        padding-inline-start: 0.9rem;
    }

    .form-actions {
        margin-top: 0.9rem;
        display: flex;
        justify-content: flex-end;
    }

    .form-error {
        color: var(--color-down);
        font-size: 0.8rem;
        margin-top: 0.35rem;
    }

    .alert-ok {
        background: color-mix(in srgb, var(--color-accent) 12%, white);
        color: var(--color-navy);
        padding: 0.85rem 1rem;
        border-radius: 6px;
        margin-bottom: 1rem;
        font-size: 0.92rem;
    }

    .site-footer {
        padding-block: 2.75rem 1.4rem;
        border-top: 1px solid var(--color-line);
        margin-top: 1rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-title {
        font-weight: 800;
        color: var(--color-navy);
        margin: 0 0 0.85rem;
        font-size: 0.95rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .footer-links a,
    .footer-links p {
        color: var(--color-muted);
        text-decoration: none;
        font-size: 0.9rem;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        margin: 0;
    }

    .footer-links a.is-ltr {
        direction: ltr;
        unicode-bidi: isolate;
    }

    .footer-links a:hover {
        color: var(--color-navy);
    }

    .socials {
        display: flex;
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .socials a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--color-navy);
        color: #fff;
        display: grid;
        place-items: center;
        transition: transform 160ms var(--ease-out-strong), background-color 160ms ease;
    }

    .socials a:hover {
        background: var(--color-accent-dark);
        transform: translateY(-2px);
    }

    .copy {
        text-align: center;
        color: var(--color-muted);
        font-size: 0.78rem;
        line-height: 1.8;
        padding-top: 1.1rem;
        border-top: 1px solid var(--color-line);
        margin: 0;
    }

    .page-hero {
        padding: 2.4rem 0 0.5rem;
    }

    .page-hero h1 {
        margin: 0 0 0.6rem;
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        color: var(--color-navy);
        font-weight: 800;
    }

    .page-hero p {
        margin: 0;
        color: var(--color-muted);
        line-height: 1.9;
        max-width: 40rem;
    }

    .filters {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 1.5rem 0 1.75rem;
    }

    .chip {
        min-height: 40px;
        padding: 0.4rem 0.95rem;
        border: 1px solid var(--color-line);
        border-radius: 99px;
        color: var(--color-navy);
        text-decoration: none;
        font-size: 0.86rem;
        display: inline-flex;
        align-items: center;
        background: #fff;
        transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    }

    .chip.is-active,
    .chip:hover {
        background: var(--color-navy);
        border-color: var(--color-navy);
        color: #fff;
    }

    .card-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .post-card {
        background: #fff;
        border: 1px solid var(--color-line);
        padding: 1.25rem 1.2rem 1.1rem;
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        min-height: 210px;
        transition: transform 180ms var(--ease-out-strong), border-color 180ms ease;
    }

    .post-card:hover {
        transform: translateY(-3px);
        border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-line));
    }

    .post-card h3 {
        margin: 0.35rem 0 0.6rem;
        font-size: 1.08rem;
        font-weight: 800;
        color: var(--color-navy);
        line-height: 1.7;
    }

    .post-card p {
        margin: 0 0 1rem;
        color: var(--color-muted);
        font-size: 0.9rem;
        line-height: 1.85;
        flex: 1;
    }

    .article {
        max-width: 760px;
        margin-inline: auto;
        padding-block: 1rem 3.5rem;
    }

    .article h1 {
        font-size: clamp(1.6rem, 3vw, 2.15rem);
        color: var(--color-navy);
        font-weight: 800;
        line-height: 1.6;
        margin: 0.4rem 0 0.8rem;
    }

    .article .lead {
        color: var(--color-muted);
        font-size: 1.05rem;
        line-height: 2;
        margin-bottom: 1.5rem;
    }

    .article p {
        line-height: 2.05;
        margin: 0 0 1.15rem;
        font-size: 1.02rem;
        color: var(--color-ink);
    }

    .crumbs {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        color: var(--color-muted);
        font-size: 0.84rem;
        margin-bottom: 1rem;
    }

    .crumbs a {
        color: var(--color-muted);
        text-decoration: none;
    }

    .crumbs a:hover {
        color: var(--color-navy);
    }

    .empty {
        color: var(--color-muted);
        padding: 2rem 0;
    }

    /* Page motion is activated only when JavaScript is available and motion is allowed. */
    .motion-enabled .hero-copy > *,
    .motion-enabled .hero-portrait,
    .motion-enabled .ticker {
        animation: page-intro 700ms var(--ease-out-strong) both;
    }

    .motion-enabled .hero-copy > *:nth-child(1) { animation-delay: 40ms; }
    .motion-enabled .hero-copy > *:nth-child(2) { animation-delay: 110ms; }
    .motion-enabled .hero-copy > *:nth-child(3) { animation-delay: 180ms; }
    .motion-enabled .hero-copy > *:nth-child(4) { animation-delay: 250ms; }
    .motion-enabled .hero-copy > *:nth-child(5) { animation-delay: 320ms; }
    .motion-enabled .hero-portrait { animation-delay: 120ms; }
    .motion-enabled .ticker { animation-delay: 260ms; }

    .motion-enabled .scroll-reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 620ms var(--ease-out-strong), transform 620ms var(--ease-out-strong);
    }

    .motion-enabled .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .motion-enabled .reveal-item {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 480ms var(--ease-out-strong) var(--reveal-delay, 0ms), transform 480ms var(--ease-out-strong) var(--reveal-delay, 0ms);
    }

    .motion-enabled .scroll-reveal.is-visible .reveal-item {
        opacity: 1;
        transform: translateY(0);
    }

    @keyframes page-intro {
        from {
            opacity: 0;
            transform: translateY(24px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 960px) {
        .wrap,
        .section-shell,
        .site-header__inner {
            width: min(100% - 40px, 740px);
        }

        .site-header__inner {
            grid-template-columns: 1fr auto;
            height: 78px;
        }

        .site-header__inner > .header-cta {
            display: none;
        }

        .menu-button {
            display: inline-flex;
        }

        .nav-links {
            position: absolute;
            top: 76px;
            inset-inline: 0;
            display: none;
            flex-direction: column;
            gap: 0;
            padding: 16px 22px;
            background: #fff;
            border: 1px solid var(--color-line);
            z-index: 40;
        }

        .nav-links.open {
            display: flex;
        }

        .nav-links a {
            padding: 13px 0;
        }

        .nav-links a::after {
            bottom: 8px;
        }

        .hero {
            height: auto;
            min-height: auto;
            max-height: none;
            grid-template-columns: 1fr;
            padding-top: 50px;
        }

        .hero-copy {
            padding-inline: max(32px, calc((100vw - 740px) / 2));
        }

        .hero h1 {
            font-size: clamp(48px, 10vw, 68px);
        }

        .hero-portrait {
            height: 560px;
            width: 100%;
            margin-top: 40px;
        }

        .ticker {
            grid-template-columns: repeat(2, 1fr);
            padding: 20px;
        }

        .ticker-status {
            display: none;
        }

        .price {
            border: 0;
            border-bottom: 1px solid rgb(255 255 255 / 0.12);
        }

        .about,
        .consultation {
            grid-template-columns: 1fr;
            gap: 50px;
        }

        .about {
            gap: 50px;
        }

        .testimonial {
            grid-template-columns: 60px 1fr;
        }

        .testimonial p {
            grid-column: 2;
        }

        .market {
            padding-block: 80px;
        }

        .market-header {
            align-items: flex-start;
            flex-direction: column;
            gap: 18px;
            padding-bottom: 22px;
        }

        .section-heading,
        .market-grid,
        .risk-inner,
        .stories {
            grid-template-columns: 1fr;
        }

        .section-heading {
            gap: 24px;
            margin-bottom: 45px;
        }

        .section-heading > p {
            justify-self: start;
        }

        .market-grid {
            gap: 40px;
        }

        .analyst-note {
            padding: 28px;
        }

        .heatmap-heading {
            margin-top: 60px;
        }

        .analysis {
            padding-block: 80px;
        }

        .analysis-top {
            align-items: flex-start;
            flex-direction: column;
            gap: 30px;
        }

        .analysis-top h2 {
            font-size: 38px;
        }

        .video-visual {
            height: 260px;
        }

        .risk-inner {
            padding-block: 70px;
            gap: 40px;
        }

        .risk-inner h2 {
            font-size: 44px;
        }

        .risk-inner > div > p {
            font-size: 24px;
        }

        .risk-copy {
            padding-right: 24px;
        }

        .learning {
            padding-block: 80px;
        }

        .courses {
            grid-template-columns: 1fr;
        }

        .courses article {
            border-left: 0;
            border-bottom: 1px solid var(--color-line);
            padding: 30px 0;
            min-height: 0;
        }

        .courses article:last-child {
            border-bottom: 0;
        }

        .pulse-grid,
        .analyses-grid,
        .quote-grid,
        .quote-row,
        .about-grid,
        .footer-grid,
        .learn-grid,
        .card-grid,
        .consult-form {
            grid-template-columns: 1fr;
        }

        .q-mark-end {
            display: none;
        }

        .heatmap {
            grid-template-columns: repeat(6, 1fr);
        }

        .heat.xl {
            grid-column: span 2;
        }

        .heat.lg,
        .heat.md {
            grid-column: span 2;
        }

        .heat.sm {
            grid-column: span 1;
        }
    }

    @media (max-width: 600px) {
        .wrap,
        .section-shell,
        .site-header__inner {
            width: calc(100% - 32px);
        }

        .hero {
            padding-top: 30px;
        }

        .hero h1 {
            font-size: 46px;
        }

        .hero h1 span {
            white-space: normal;
        }

        .hero-text {
            font-size: 15px;
        }

        .hero-actions {
            flex-direction: column;
            align-items: flex-start;
        }

        .hero-copy {
            padding-inline: 24px;
        }

        .hero-portrait {
            height: 440px;
        }

        .ticker {
            grid-template-columns: 1fr;
        }

        .price {
            justify-content: space-between;
            padding: 20px 10px;
        }

        .about,
        .consultation {
            padding-block: 80px;
        }

        .about figure {
            max-height: 360px;
        }

        .about-stats {
            gap: 16px;
        }

        .about-stats strong {
            font-size: 24px;
        }

        .testimonial {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .testimonial p {
            grid-column: 1;
        }

        .testimonial blockquote {
            font-size: 19px;
        }

        .consultation .consult-form--labeled {
            grid-template-columns: 1fr;
        }

        .section {
            padding-block: 3rem;
        }

        .pulse-metrics,
        .stats {
            grid-template-columns: 1fr;
        }

        .heatmap {
            grid-template-columns: repeat(4, 1fr);
        }

        .hm-cell {
            grid-column: span 1 !important;
            grid-row: span 1 !important;
        }
    }
