﻿/* =========================================================
   Dhwaja Shares - Sample 1
   Mint green theme: primary, near-white bg, deep navy text.
   ========================================================= */

:root {
    --bg: #f6f6f6;
    --fg: #0e1a2b;
    --muted: #5b6776;
    --card: #ffffff;
    --border: #e6ebef;
    --input: #e6ebef;
    --primary: #007a5e;
    --primary-strong: #005f49;
    --primary-soft: #e7f5f0;
    --primary-fg: #062a20;
    --secondary: #eef6f3;
    --saffron: #f59e0b;
    --destructive: #b42318;
    --success: #007a5e;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-soft: 0 1px 2px rgba(14,26,43,.04), 0 8px 24px rgba(14,26,43,.06);
    --shadow-ring: 0 0 0 4px rgba(245,158,11,.35);
    --shadow-modal: 0 30px 80px rgba(14,26,43,.35);
    --gradient-mint: linear-gradient(135deg, #1ccfa0 0%, #00a583 100%);
    --gradient-hero: radial-gradient(120% 80% at 80% 0%, rgba(0,179,134,.18) 0%, transparent 55%), linear-gradient(180deg, #f3fbf8 0%, #ffffff 100%);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body {
    background: var(--bg);
    color: var(--fg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hide-sm {
    display: none;
}

@media (min-width: 640px) {
    .hide-sm {
        display: inline-flex;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all .2s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 11px 18px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

    .btn-primary:hover {
        background: var(--primary-strong);
        box-shadow: var(--shadow-ring);
    }

.btn-ghost {
    background: var(--card);
    color: var(--fg);
    border: 1px solid var(--border);
}

    .btn-ghost:hover {
        border-color: rgba(0,179,134,.4);
        color: var(--primary);
    }

.arrow {
    transition: transform .2s ease;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* ---------- Topbar ---------- */
.topbar {
    background: var(--fg);
    color: rgba(255,255,255,.85);
    font-size: 13.5px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}

    .tb-link:hover {
        color: var(--primary);
    }

.font-size {
    display: flex;
    gap: 4px;
    color: rgba(255,255,255,.6);
}

    .font-size button {
        padding: 2px 6px;
        border-radius: 4px;
    }

        .font-size button:hover {
            color: var(--primary);
        }

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

    .topbar-links a {
        color: rgba(255,255,255,.88);
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: color .2s ease;
    }

        .topbar-links a:hover,
        .topbar-links a:focus-visible {
            color: #ffffff;
            text-decoration: underline;
        }

        .topbar-links a:focus-visible,
        .font-size button:focus-visible {
            outline: 3px solid var(--saffron);
            outline-offset: 3px;
            border-radius: 6px;
        }

.font-size button {
    color: rgb(226, 232, 240);
    font-size: 0.8rem;
    margin-left: 0.25rem;
    cursor: pointer;
    background: transparent;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(71, 85, 105);
    border-image: initial;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    min-height: auto !important;
}
/* ---------- Ticker ---------- */
.ticker {
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: var(--card);
}

.ticker-track {
    display: flex;
    gap: 36px;
    padding: 12px 0;
    width: max-content;
    animation: ticker var(--ticker-duration, 60s) linear infinite;
    white-space: nowrap;
    font-size: 0.8125rem;
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
    animation-play-state: paused;
}

.tick {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .tick .sym {
        font-weight: 700;
        letter-spacing: -.01em;
    }

    .tick .px {
        color: var(--muted);
    }

    .tick .chg-up {
        color: var(--primary);
        font-weight: 600;
    }

    .tick .chg-dn {
        color: var(--destructive);
        font-weight: 600;
    }

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- Accessibility helpers ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 9999;
    transform: translateY(-140%);
    background: var(--fg);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
}

    .skip-link:focus {
        transform: translateY(0);
        outline: 3px solid var(--saffron);
        outline-offset: 3px;
    }

:focus-visible {
    outline: 3px solid var(--saffron);
    outline-offset: 3px;
    box-shadow: none !important;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--border);
    background: rgba(251,253,252,.96);
    backdrop-filter: saturate(180%) blur(10px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 95px;
    width: auto;
    display: block;
}

.logo-img-footer {
    height: 56px;
    background: #fff;
    padding: 6px 10px;
    border-radius: 10px;
}

.mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    transition: background .2s, border-color .2s;
}

    .mobile-menu-toggle span:not(.sr-only) {
        width: 24px;
        height: 2px;
        background: var(--fg);
        border-radius: 999px;
        display: block;
        transition: background .2s;
    }

    .mobile-menu-toggle[aria-expanded="true"], .mobile-menu-toggle.active {
        background: var(--primary-soft);
        border-color: var(--primary);
    }

        .mobile-menu-toggle[aria-expanded="true"] span:not(.sr-only), .mobile-menu-toggle.active span:not(.sr-only) {
            background: var(--primary);
        }

.nav-links {
    display: none;
}

    .nav-links.is-open {
        display: block;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 100%;
        padding: 14px;
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow-soft);
    }

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .nav-menu > li {
        position: relative;
    }

    .nav-menu a, .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        padding: 10px 16px;
        border-radius: 999px;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--muted);
        transition: all .2s;
        text-align: left;
    }

        .nav-menu a:hover, .nav-link:hover {
            color: var(--fg);
            background: var(--secondary);
        }

        .nav-menu a.active,
        .nav-link.active,
        .nav-link[aria-expanded="true"],
        .has-dropdown.is-open > .dropdown-toggle {
            color: var(--card);
            background: var(--primary);
        }

        .nav-menu a.active {
            color: var(--card);
        }

.dropdown-item.active,
.dropdown-item:focus-visible {
    background: var(--primary-soft) !important;
    color: var(--fg) !important;
}

.dropdown-toggle::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1em;
    margin-left: 4px;
    transition: transform .2s ease;
}

.has-dropdown.is-open > .dropdown-toggle::after,
.nav-link[aria-expanded="true"]::after {
    content: "\f077";
    transform: none;
}

.dropdown-menu {
    display: none;
    margin-top: 8px;
    padding: 10px;
    min-width: 230px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.dropdown-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px !important;
    color: var(--muted) !important;
    transition: background .2s, color .2s;
}

    .dropdown-item::after {
        content: "\f054";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--primary);
        display: inline-block;
        min-width: 14px;
    }

    .dropdown-item:hover, .dropdown-item:focus-visible {
        color: var(--fg) !important;
        background: var(--primary-soft) !important;
    }

.has-dropdown.is-open > .dropdown-menu {
    display: block;
}

.dropdown-item {
    border-radius: 12px !important;
    color: var(--muted) !important;
}

    .dropdown-item:hover, .dropdown-item:focus-visible {
        color: var(--fg) !important;
        background: var(--primary-soft) !important;
    }

.market-dropdown {
    min-width: min(860px, calc(100vw - 40px));
    gap: 18px;
}

.market-menu.is-open > .market-dropdown {
    display: flex;
}

.market-dropdown-section {
    padding: 10px;
}

.market-dropdown-title {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    color: var(--fg);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.market-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-left: 10px;
}

    .market-title-icon i {
        font-size: 12px;
    }

.nav-cta {
    padding: 10px 18px;
}

@media (min-width: 1180px) {
    .mobile-menu-toggle {
        display: none;
    }

    .nav-links, .nav-links.is-open {
        display: block;
        position: static;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-menu {
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }

        .nav-menu a, .nav-link {
            width: auto;
        }

    .dropdown-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        margin-top: 0;
    }

    .market-dropdown {
        left: 50%;
        transform: translateX(-50%);
        grid-template-columns: repeat(3, minmax(190px, 1fr));
    }
}

@media (max-width: 520px) {
    .nav-cta {
        display: none;
    }

    .logo-img {
        height: 72px;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .6;
    background-image: linear-gradient(to right, rgba(14,26,43,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(14,26,43,.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-blob {
    position: absolute;
    right: -120px;
    top: 40px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: var(--gradient-mint);
    opacity: .18;
    filter: blur(60px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 48px;
    padding: 50px 20px;
}

@media (min-width: 960px) {
    .hero-grid {
        grid-template-columns: 1.1fr 1fr;
        padding: 50px 20px;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    box-shadow: var(--shadow-soft);
}

.hero-title {
    margin: 22px 0 0;
    font-size: clamp(30px, 5vw, 55px);
    line-height: 1.04;
    letter-spacing: -.025em;
    font-weight: 800;
}

.accent {
    position: relative;
    color: var(--primary);
    display: inline-block;
}

.underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
}

.hero-lead {
    margin: 22px 0 0;
    max-width: 560px;
    font-size: 1.0625rem;
    color: var(--muted);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 36px;
    color: var(--muted);
    font-size: 0.875rem;
}

/* Hero card */
.hero-card-wrap {
    position: relative;
}

.hero-glow {
    position: absolute;
    inset: -16px;
    border-radius: 32px;
    background: var(--gradient-mint);
    opacity: .10;
    filter: blur(28px);
}

.card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.lookup-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overline {
    font-size: 11px;
    letter-spacing: .15em;
    color: var(--muted);
    text-transform: uppercase;
}

.lookup-title {
    margin-top: 4px;
    font-weight: 700;
}

.lookup-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 18px;
}

.lookup-form {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

    .lookup-form input {
        flex: 1;
        padding: 12px 16px;
        border: 1px solid var(--input);
        border-radius: 12px;
        background: var(--bg);
        font: inherit;
        outline: none;
        transition: all .2s;
    }

        .lookup-form input:focus {
            border-color: var(--primary);
            box-shadow: var(--shadow-ring);
        }

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-top: 22px;
}

.mini {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: var(--bg);
}

.mini-sym {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
}

.mini-px {
    margin-top: 4px;
    font-weight: 700;
    font-size: 0.875rem;
}

.mini-chg.up {
    color: var(--primary);
    font-size: 15px;
}

.mini-chg.dn {
    color: var(--destructive);
    font-size: 15px;
}

.mini svg {
    width: 100%;
    height: 22px;
    margin-top: 6px;
}

.lookup-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px;
    background: var(--secondary);
    border-radius: 12px;
    font-size: 12px;
    color: var(--muted);
}

/* ---------- Section header ---------- */
.section-head {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.kicker {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.section-head h2 {
    margin: 14px 0 0;
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -.02em;
    line-height: 1.1;
}

.section-head p {
    margin: 16px 0 0;
    color: var(--muted);
}

/* ---------- Services ---------- */
.services {
    padding: 40px 0;
}

.service-grid {
    display: grid;
    gap: 18px;
    margin-top: 54px;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 720px) {
    .service-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(4,1fr);
    }
}

.service {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: all .25s ease;
}

    .service:hover {
        transform: translateY(-4px);
        border-color: rgba(0,179,134,.4);
    }

    .service .dots {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity .25s;
        background-image: radial-gradient(rgba(0,179,134,.18) 1px, transparent 1px);
        background-size: 18px 18px;
    }

    .service:hover .dots {
        opacity: 1;
    }

.service-inner {
    position: relative;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-mint);
    color: #fff;
    font-size: 20px;
    box-shadow: var(--shadow-soft);
}

.service h3 {
    margin: 20px 0 0;
    font-size: 0.9375rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8125rem;
}

    .service-link:hover {
        gap: 10px;
    }

.service .num {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    color: rgba(91,103,118,.4);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Markets ---------- */
.markets {
    padding: 0 0 96px;
}

.markets-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 960px) {
    .markets-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.market-board {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.market-board__head {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 8px;
}

.market-board__title {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.01em;
}

.market-board__sub {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.8125rem;
}

.market-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--secondary);
    padding: 4px;
    border-radius: 999px;
}

    .market-tabs .tab {
        padding: 6px 14px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 600;
        color: var(--muted);
        transition: all .2s;
    }

        .market-tabs .tab.active {
            background: var(--card);
            color: var(--primary);
            box-shadow: var(--shadow-soft);
        }

.market-pane {
    display: none;
}

    .market-pane.active {
        display: block;
    }

.market-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

    .market-table th, .market-table td {
        text-align: left;
        padding: 14px 8px;
        border-bottom: 1px solid var(--border);
    }

    .market-table tr:last-child th, .market-table tr:last-child td {
        border-bottom: 0;
    }

    .market-table th {
        font-weight: 600;
    }

.m-name {
    display: block;
}

.m-country {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
    font-weight: 500;
}

.m-value {
    font-weight: 700;
}

.m-change {
    text-align: right;
    font-weight: 600;
    font-size: 0.8125rem;
}

    .m-change.up {
        color: var(--primary);
    }

    .m-change.dn {
        color: var(--destructive);
    }

/* ---------- Attention Investors ---------- */
.attention {
    padding: 0 0 96px;
}

.attention-panel {
    display: grid;
    gap: 28px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

    .attention-panel::before {
        content: "";
        position: absolute;
        right: -100px;
        bottom: -100px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: var(--gradient-mint);
        opacity: .12;
        filter: blur(50px);
    }

@media (min-width: 880px) {
    .attention-panel {
        grid-template-columns: 1fr 1.4fr;
    }
}

.attention-intro h2 {
    margin: 12px 0 8px;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -.02em;
}

.attention-intro p {
    color: var(--muted);
    margin: 0;
}

.attention-slider {
    position: relative;
}

.attention-slides {
    background: var(--secondary);
    border-left: 4px solid var(--primary);
    border-radius: 14px;
    padding: 22px;
    min-height: 160px;
    display: flex;
    align-items: center;
}

.attention-slide {
    display: none;
    margin: 0;
    color: var(--fg);
    font-size: 0.9375rem;
    line-height: 1.65;
}

    .attention-slide.is-active {
        display: block;
        animation: fadeIn .4s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.attention-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.attention-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: all .2s;
}

    .attention-dot.is-active {
        background: var(--primary);
        transform: scale(1.3);
    }

/* ---------- Stats ---------- */
.stats {
    padding: 0 0 24px;
}

.stats-card {
    position: relative;
    overflow: hidden;
    background: var(--fg);
    color: #fff;
    border-radius: 28px;
    padding: 56px 40px;
}

.stats-diagonal {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(135deg, rgba(0,179,134,.12) 0 1px, transparent 1px 14px);
}

.stats-glow {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(0,179,134,.35);
    filter: blur(60px);
}

.stats-grid {
    position: relative;
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 720px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-v {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.02em;
}

.stat-l {
    margin-top: 6px;
    font-size: 0.875rem;
    color: rgba(255,255,255,.7);
}

/* ---------- CTA ---------- */
.cta {
   padding: 10px 0;
}

.cta-card {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 56px 40px;
    box-shadow: var(--shadow-soft);
}

.cta h2 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: -.02em;
    line-height: 1.1;
}

.cta-dots {
    position: absolute;
    inset: 0;
    opacity: .7;
    pointer-events: none;
    background-image: radial-gradient(rgba(0,179,134,.18) 1px, transparent 1px);
    background-size: 18px 18px;
}

.cta-glow {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-mint);
    opacity: .18;
    filter: blur(60px);
}

.cta-inner {
    position: relative;
    display: grid;
    gap: 28px;
    align-items: center;
}

@media (min-width: 880px) {
    .cta-inner {
        grid-template-columns: 1.4fr 1fr;
    }
}

.cta p {
    color: var(--muted);
    margin: 14px 0 0;
    max-width: 520px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .cta-buttons .btn {
        justify-content: center;
        padding: 16px 22px;
    }

/* ---------- Footer ---------- */
.footer {
    background: var(--fg);
    color: rgba(255,255,255,.78);
}

.footer-grid {
    display: grid;
    gap: 36px;
    padding: 56px 20px;
}

@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }
}

.footer-blurb {
    margin: 14px 0 0;
    color: rgba(255,255,255,.6);
    font-size: 0.875rem;
}

.foot-h {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
}

.footer ul {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
}

    .footer ul a:hover {
        color: var(--primary);
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    font-size: 12px;
    color: rgba(255,255,255,.5);
}

@media (min-width: 640px) {
    .footer-bottom-inner {
        flex-direction: row;
    }
}

/* ---------- Modal ---------- */
.dh-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(14,26,43,.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

    .dh-modal-backdrop.is-open {
        display: flex;
        animation: bdFade .25s ease;
    }

@keyframes bdFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.dh-modal {
    position: relative;
    background: var(--card);
    border-radius: 24px;
    max-width: 760px;
    width: 100%;
    box-shadow: var(--shadow-modal);
    overflow: hidden;
    animation: mdPop .35s cubic-bezier(.2,.9,.3,1.2);
}

@keyframes mdPop {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.96);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.dh-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--fg);
    display: grid;
    place-items: center;
    font-size: 0.875rem;
    transition: all .2s;
}

    .dh-modal-close:hover {
        background: var(--primary);
        color: #fff;
    }

.dh-modal-header {
    padding: 32px 32px 20px;
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.dh-modal-logo {
    height: 56px;
    width: auto;
    margin: 35px auto 0px;
}

.dh-modal-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
    letter-spacing: -.01em;
}

.dh-modal-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.dh-modal-body {
    padding: 24px 32px;
}

.guideline-grid {
    display: grid;
    gap: 14px;
}

.guideline-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
}

.guideline-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gradient-mint);
    color: #fff;
    font-size: 18px;
}

    .guideline-icon.is-saffron {
        background: var(--saffron);
    }

    .guideline-icon.is-red {
        background: var(--destructive);
    }

.guideline-card h3 {
    margin: 0 0 4px;
    font-size: 0.875rem;
}

.guideline-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.guideline-card a {
    color: var(--primary);
    font-weight: 600;
}

.offer-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--secondary);
    border-radius: 12px;
    font-size: 0.8125rem;
    color: var(--fg);
}

    .offer-strip span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
    }

.dh-modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding: 18px 32px 28px;
    border-top: 1px solid var(--border);
}


/* ---------- Accessibility statement ---------- */
.accessibility {
    padding: 0 0 72px;
}

.accessibility-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding-top: 34px;
    padding-bottom: 34px;
}

    .accessibility-card h2 {
        margin: 12px 0 0;
        font-size: clamp(28px, 3vw, 42px);
    }

    .accessibility-card p {
        color: var(--muted);
        max-width: 900px;
    }

    .accessibility-card a {
        color: var(--primary-strong);
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.accessibility-list {
    list-style: disc;
    padding-left: 22px;
    margin: 18px 0;
    color: var(--muted);
}

    .accessibility-list li {
        margin: 8px 0;
    }

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

    .ticker-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
    }
}

.page-hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 64px 20px 56px;
    text-align: center;
}

.page-hero-blob {
    position: absolute;
    right: -100px;
    top: -40px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--gradient-mint);
    opacity: .14;
    filter: blur(60px);
    pointer-events: none;
}

.page-hero-blob2 {
    position: absolute;
    left: -80px;
    bottom: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--gradient-mint);
    opacity: .10;
    filter: blur(50px);
    pointer-events: none;
}

.page-hero-bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    background-image: linear-gradient(to right, rgba(14,26,43,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(14,26,43,.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

.breadcrumb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    font-size: 12px;
    color: var(--muted);
    margin: 0 auto 18px;
    line-height: 1;
}

    .breadcrumb a,
    .breadcrumb span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 1.25rem;
        line-height: 1;
        vertical-align: middle;
    }

    .breadcrumb a {
        color: var(--primary);
        font-weight: 600;
    }

.breadcrumb-separator {
    color: var(--muted);
    opacity: .65;
    font-weight: 600;
    font-size: .95em;
    transform: none;
}

    .breadcrumb-separator::before {
        content: "/";
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }

.breadcrumb span:not(.breadcrumb-separator) {
    color: var(--muted);
}

.page-hero h1 {
    position: relative;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.08;
    margin: 0 0 14px;
}

.page-hero p {
    position: relative;
    font-size: 1.0625rem;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

.info-section {
    padding: 56px 0 96px;
}

.info-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 960px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .info-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
    }

.matrix-card {
    border-color: rgba(16, 185, 129, 0.18);
}

.matrix-card-alt {
    border-color: rgba(56, 189, 248, 0.18);
}

.info-card::after {
    content: "";
    position: absolute;
    inset: -30% auto auto -12%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.10), rgba(16,185,129,0));
    pointer-events: none;
}

.info-card h2 {
    margin: 12px 0 10px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.info-card p {
    color: var(--muted);
    line-height: 1.7;
}

.accent-card {
    background: linear-gradient(180deg, #f4fbf8 0%, #ffffff 100%);
}

.contact-page-stack {
    display: grid;
    gap: 24px;
}

.contact-detail-grid {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

@media (min-width: 760px) {
    .contact-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    margin-bottom:14px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 10px;
    background: var(--secondary);
    color: var(--primary-strong);
    font-size: 0.875rem;
    font-weight: 600;
}
    .contact-table th:nth-child(1), .contact-table td:nth-child(1) { width: 16%; }
    .contact-table th:nth-child(2), .contact-table td:nth-child(2) { width: 16%; }
    .contact-table th:nth-child(3), .contact-table td:nth-child(3) { width: 31%; }
    .contact-table th:nth-child(4), .contact-table td:nth-child(4) { width: 14%; }
    .contact-table th:nth-child(5), .contact-table td:nth-child(5) { width: 23%; white-space: nowrap; }
    .contact-table td a {font-weight: 600; }
    .contact-table td a:hover { color: var(--primary-strong); text-decoration: underline; } 
.contact-block {
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

    .contact-block h3, .contact-highlight h3 {
        margin: 0 0 6px;
        font-size: 0.95rem;
    }

.contact-highlight {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.mini-note {
    font-size: 0.92rem;
    color: var(--muted);
    margin-top: 6px;
}

.contact-support-strip {
    margin-top: 20px;
}

.matrix-stack {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.matrix-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    overflow: hidden;
    background: transparent;
    min-width: 820px;
}

    .contact-table th, .contact-table td {
        text-align: left;
        vertical-align: top;
        padding: 8px 9px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        font-size: 0.79rem;
        line-height: 1.35;
        color: var(--fg);
    }

    .contact-table thead th {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
        color: #ffffff;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: inset 0 -1px 0 rgba(255,255,255,0.12);
    }

    .contact-table tbody tr:nth-child(even) {
        background: rgba(15, 23, 42, 0.025);
    }

    .contact-table tbody tr:hover {
        background: rgba(16, 185, 129, 0.10);
    }

    .contact-table th[scope="row"] {
        width: 18%;
        font-weight: 700;
        color: var(--primary-strong);
        background: rgba(15, 23, 42, 0.02);
    }

    .contact-table td a {
        font-weight: 600;
    }

        .contact-table td a:hover {
            color: var(--primary-strong);
            text-decoration: underline;
        }

    .contact-table tr:last-child th, .contact-table tr:last-child td {
        border-bottom: 0;
    }

.contact-table-secondary thead th {
    background: linear-gradient(135deg, #0a8a72 0%, #0d6b5a 100%);
    color: #ffffff;
}

.matrix-intro {
    margin: 8px 0 0;
    font-size: 0.98rem;
    color: var(--muted);
    line-height: 1.6;
}

.matrix-note {
    margin-top: 14px;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
}

    .matrix-note a {
        color: var(--primary);
    }

.bullet-list, .download-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

    .bullet-list li, .download-list li {
        color: var(--fg);
        line-height: 1.6;
    }

        .bullet-list li::before, .download-item::before {
            content: "";
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary);
            margin-right: 8px;
            vertical-align: middle;
        }

.download-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--secondary);
}

    .download-item a {
        color: var(--primary);
        font-weight: 600;
    }

    .download-item span {
        color: var(--muted);
        font-size: 0.8125rem;
    }

.downloads-hero {
    padding: 34px 20px 38px;
    min-height: auto;
}

    .downloads-hero h1 {
        font-size: clamp(28px, 4vw, 42px);
        margin-bottom: 8px;
    }

    .downloads-hero p {
        font-size: 0.98rem;
        line-height: 1.5;
    }

.downloads-section {
    padding: 30px 0 64px;
}

.downloads-grid {
    max-width: 980px;
    margin: 0 auto;
    gap: 18px;
}

@media (min-width: 960px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}

.downloads-panel {
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.downloads-panel-primary {
    border-top: 4px solid #dc2626;
    background: #ffffff;
}

.downloads-panel-languages {
    border-top: 4px solid var(--primary);
    background: linear-gradient(180deg, #f4fbf8 0%, #ffffff 62%);
}

.downloads-panel:hover {
    transform: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.downloads-panel::after {
    display: none;
}

.downloads-panel h2 {
    margin: 6px 0 6px;
    font-size: 1.15rem;
    line-height: 1.3;
    letter-spacing: 0;
}

.downloads-panel p {
    margin: 0 0 12px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.download-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0 10px;
    padding: 4px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: #fff8f8;
}

    .download-filter label {
        color: var(--fg);
        font-size: 0.88rem;
        font-weight: 800;
    }

    .download-filter select {
        min-width: min(100%, 280px);
        border: 1px solid rgba(15, 23, 42, 0.14);
        border-radius: 8px;
        background: #ffffff;
        color: var(--fg);
        padding: 4px 34px 4px 10px;
        font: inherit;
        font-size: 0.9rem;
        font-weight: 700;
    }

        .download-filter select:focus {
            border-color: var(--primary);
            box-shadow: var(--shadow-ring);
            outline: none;
        }

.compact-download-list,
.language-download-list {
    gap: 6px;
    margin-top: 12px;
}

    .compact-download-list .download-item,
    .language-download-list .download-item {
        min-height: 36px;
        padding: 4px 10px;
        border-radius: 8px;
        background: #ffffff;
    }

        .compact-download-list .download-item a,
        .language-download-list .download-item a {
            min-height: 36px;
        }

.language-download-list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.downloads-panel .download-item::before {
    display: none;
}

.downloads-panel .download-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.language-download-list .download-item {
    justify-content: space-between;
    column-gap: 10px;
    flex-wrap: nowrap;
}

.language-download-list .download-title {
    flex: 0 1 auto;
    white-space: nowrap;
}

.download-file-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 78px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--secondary);
    color: var(--primary-strong);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

    .download-file-link:hover,
    .download-file-link:focus-visible {
        text-decoration: none;
        transform: translateY(-1px);
    }

    .download-file-link i {
        font-size: 0.95rem;
    }

.pdf-link {
    background: #fff1f2 !important;
    border-color: rgba(220, 38, 38, 0.24) !important;
    color: #b91c1c !important;
}

.zip-link {
    background: #ecfdf5;
    border-color: rgba(5, 150, 105, 0.24);
    color: #047857;
}

.disclaimer-hero {
    min-height: auto;
    padding: 38px 20px 42px;
}

    .disclaimer-hero h1 {
        font-size: clamp(30px, 4vw, 44px);
        margin-bottom: 8px;
    }

    .disclaimer-hero p {
        max-width: 680px;
        font-size: 1rem;
        line-height: 1.55;
    }

.disclaimer-section {
    padding: 42px 0 84px;
    /* background:
        linear-gradient(90deg, rgba(16, 185, 129, 0.06) 0 1px, transparent 1px) 0 0 / 38px 38px,
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); */
}

.disclaimer-document {
    max-width: 980px;
    margin: 0 auto;
    border-left: 4px solid var(--primary);
    background: rgba(255,255,255,.82);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
    padding: 30px 34px 34px;
}

.disclaimer-intro {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

    .disclaimer-intro h2 {
        margin: 8px 0 10px;
        font-size: clamp(24px, 3vw, 34px);
        line-height: 1.15;
        letter-spacing: 0;
    }

    .disclaimer-intro p,
    .disclaimer-block p {
        color: var(--muted);
        font-size: 0.98rem;
        line-height: 1.78;
    }

.disclaimer-block {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

    .disclaimer-block:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.disclaimer-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-strong);
    font-size: 0.82rem;
    font-weight: 800;
}

.disclaimer-block h3 {
    margin: 2px 0 8px;
    color: var(--primary-strong);
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.disclaimer-block p {
    margin: 0;
}

    .disclaimer-block p + p {
        margin-top: 12px;
    }

@media (max-width: 640px) {
    .disclaimer-document {
        padding: 22px 18px 26px;
    }

    .disclaimer-block {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .disclaimer-index {
        width: 36px;
        height: 36px;
    }
}

.content-document h3,
.longform-document h3 {
    margin: 0 0 10px;
    color: var(--primary-strong);
    font-size: 1rem;
}

.content-split {
    display: grid;
    gap: 22px;
    padding-top: 22px;
}

@media (min-width: 820px) {
    .content-split {
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    }
}

.feature-list,
.terms-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    color: var(--fg);
    line-height: 1.65;
}

    .feature-list li {
        padding: 10px 12px;
        border-left: 3px solid var(--primary);
        background: rgba(16, 185, 129, 0.07);
    }

.support-note,
.feedback-panel {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8fafc;
    padding: 18px;
}

    .support-note p {
        color: var(--muted);
        line-height: 1.7;
    }

.resource-link-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

    .resource-link-list li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: #ffffff;
        font-weight: 600;
    }

.resource-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

    .resource-strip .download-file-link {
        min-width: 170px;
        justify-content: center;
    }

.resource-strip-top {
    margin-top: 18px;
    padding-top: 0;
    border-top: 0;
}

.feedback-panel {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

    .feedback-panel h2 {
        margin: 8px 0 8px;
        font-size: clamp(24px, 3vw, 34px);
    }

    .feedback-panel p {
        color: var(--muted);
        line-height: 1.7;
    }

.feedback-form {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

    .feedback-form label {
        font-size: 0.88rem;
        font-weight: 700;
    }

    .feedback-form input,
    .feedback-form textarea {
        width: 100%;
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 11px 12px;
        background: var(--card);
        color: var(--fg);
        font: inherit;
    }

        .feedback-form input:focus,
        .feedback-form textarea:focus {
            border-color: var(--primary);
            box-shadow: var(--shadow-ring);
            outline: none;
        }

.terms-list {
    counter-reset: terms;
    list-style: none;
    padding: 20px 0 0;
}

    .terms-list li {
        counter-increment: terms;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        color: var(--muted);
    }

        .terms-list li::before {
            content: counter(terms, decimal-leading-zero);
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-soft);
            color: var(--primary-strong);
            font-size: .78rem;
            font-weight: 800;
        }

.contact-form {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

    .contact-form label {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--fg);
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 12px 14px;
        background: var(--card);
        color: var(--fg);
        font: inherit;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--primary);
            box-shadow: var(--shadow-ring);
            outline: none;
        }

/* Company information page */
.company-info-hero {
    padding-bottom: 54px;
}

.company-info-section {
    padding: 25px 0 96px;
    background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}

.company-info-toolbar {
    margin-bottom: 22px;
}

    .company-info-toolbar h2 {
        margin: 8px 0 0;
        font-size: clamp(26px, 3vw, 25px);
        letter-spacing: -.02em;
        line-height: 1.15;
    }

.company-info-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

@media (min-width: 1060px) {
    .company-info-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .company-info-aside {
        position: sticky;
        top: 98px;
    }
}

.company-info-aside {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, var(--card), var(--secondary));
    box-shadow: var(--shadow-soft);
}

.company-menu-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0 4px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--fg);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

    .company-menu-title::before {
        content: "";
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0 0 0 5px var(--primary-soft);
    }

.company-info-main {
    min-width: 0;
}

.company-info-tabs {
    display: grid;
    gap: 8px;
}

    .company-info-tabs a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid transparent;
        border-radius: 14px;
        color: var(--muted);
        font-size: 0.875rem;
        font-weight: 700;
        text-align: left;
    }

        .company-info-tabs a i {
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            color: var(--primary);
            background: rgba(16,185,129,.10);
            font-size: .78rem;
            flex: 0 0 auto;
        }

        .company-info-tabs a:hover {
            color: var(--fg);
            background: rgba(255,255,255,.72);
            border-color: var(--border);
            text-decoration: none;
        }

        .company-info-tabs a.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-strong));
            box-shadow: var(--shadow-soft);
        }

            .company-info-tabs a.active i {
                color: var(--primary);
                background: #fff;
            }

@media (max-width: 1059px) {
    .company-info-aside {
        padding: 14px;
    }

    .company-info-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .company-info-tabs {
        grid-template-columns: 1fr;
    }
}

.company-identity-card,
.company-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.company-identity-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 42px);
    margin-bottom: 22px;
    text-align: center;
    border-top: 6px solid var(--primary);
}

    .company-identity-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 15% 10%, rgba(16,185,129,.15), transparent 30%);
        pointer-events: none;
    }

.company-chip {
    position: relative;
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.company-identity-card h2 {
    position: relative;
    margin: 0;
    font-size: clamp(26px, 3.5vw, 28px);
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.company-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    margin: 18px 0 0;
}

    .company-meta div {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--muted);
        font-size: 0.8125rem;
    }

        .company-meta div::before {
            content: "";
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--primary);
        }

    .company-meta dt {
        font-weight: 800;
        color: var(--primary);
    }

    .company-meta dd {
        margin: 0;
    }

.company-card {
    overflow: hidden;
}

.company-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--secondary), rgba(255,255,255,.82));
}

    .company-card-head h2 {
        margin: 0;
        font-size: 1.05rem;
        color: var(--fg);
    }

.company-profile-card {
    margin-bottom: 22px;
}

.profile-grid {
    display: grid;
}

@media (min-width: 820px) {
    .profile-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.profile-grid section {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 820px) {
    .profile-grid section {
        border-bottom: 0;
        border-right: 1px solid var(--border);
    }

        .profile-grid section:last-child {
            border-right: 0;
        }
}

.profile-grid h3 {
    margin: 0 0 12px;
    font-size: .9rem;
}

.profile-grid p,
.profile-list {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.65;
}

.profile-list {
    display: grid;
    gap: 12px;
}

    .profile-list strong {
        display: block;
        color: var(--fg);
    }

    .profile-list span {
        display: block;
        color: var(--muted);
        font-size: 0.78rem;
        margin-top: -14px;
    }

.company-two-col {
    display: grid;
    gap: 22px;
    margin-bottom: 22px;
}

@media (min-width: 900px) {
    .company-two-col {
        grid-template-columns: 1fr 1fr;
    }
}

.news-list {
    display: grid;
    gap: 14px;
    padding: 20px 20px 8px;
}

    .news-list a {
        color: var(--fg);
        font-weight: 800;
    }

        .news-list a:hover {
            color: var(--primary);
        }

    .news-list time {
        display: block;
        margin-top: 3px;
        color: var(--muted);
        font-size: 0.75rem;
    }

.text-link {
    display: inline-flex;
    margin: 10px 20px 20px;
    color: var(--primary);
    font-weight: 800;
}

.holding-pattern-card {
    padding: 22px;
}

.holding-segment-bar {
    display: flex;
    height: 20px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--secondary);
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.04);
}

    .holding-segment-bar span {
        min-width: 4px;
    }

    .holding-segment-bar .promoters {
        width: 71.77%;
        background: #007a5e;
    }

    .holding-segment-bar .institutional {
        width: 23.07%;
        background: #14b8a6;
    }

    .holding-segment-bar .other {
        width: .64%;
        background: #5ee09b;
    }

    .holding-segment-bar .public {
        flex: 1;
        background: #a7f36a;
    }

.holding-pattern-list {
    display: grid;
    gap: 15px;
    margin: 20px 0 0;
}

    .holding-pattern-list div {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        padding: 2px 0;
    }

    .holding-pattern-list dt {
        display: flex;
        gap: 11px;
        align-items: flex-start;
        color: var(--fg);
        font-weight: 800;
        line-height: 1.3;
    }

    .holding-pattern-list small {
        display: block;
        margin-top: 4px;
        color: var(--muted);
        font-size: .76rem;
        font-weight: 600;
    }

    .holding-pattern-list dd {
        margin: 0;
        color: var(--fg);
        font-weight: 900;
        min-width: 72px;
        text-align: right;
    }

.holding-dot {
    width: 14px;
    height: 14px;
    border-radius: 5px;
    flex: 0 0 auto;
    margin-top: 2px;
    box-shadow: 0 0 0 4px rgba(16,185,129,.08);
}

    .holding-dot.promoters {
        background: #007a5e;
    }

    .holding-dot.institutional {
        background: #14b8a6;
    }

    .holding-dot.other {
        background: #5ee09b;
    }

    .holding-dot.public {
        background: #a7f36a;
    }

.company-anchor-targets span {
    position: relative;
    top: -120px;
}

html[data-theme="dark"] .company-info-section,
html[data-theme="dark"] .company-info-toolbar,
html[data-theme="dark"] .company-card-head {
    background: var(--bg);
}

html[data-theme="dark"] .company-info-tabs,
html[data-theme="dark"] .company-identity-card,
html[data-theme="dark"] .company-card {
    background: var(--card);
    color: var(--fg);
    border-color: var(--border);
}

html[data-theme="dark"] .company-card-head {
    background: var(--secondary);
}

html[data-theme="dark"] .company-info-tabs a:hover,
html[data-theme="dark"] .company-info-tabs a:focus-visible {
    background: var(--secondary);
    color: var(--fg);
}

/* About content */
.about-wrap {
    padding: 72px 0 96px;
}

.about-grid {
    display: grid;
    gap: 56px;
    align-items: start;
}

@media (min-width: 960px) {
    .about-grid {
        grid-template-columns: 1.1fr 1fr;
    }
}

.about-body h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 20px;
}

.about-body p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin: 0 0 18px;
}

    .about-body p:last-of-type {
        margin-bottom: 0;
    }

/* Directors cards */
.directors {
    margin-top: 48px;
}

.directors-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.director-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 720px) {
    .director-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.director-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all .25s;
}

    .director-card:hover {
        transform: translateY(-3px);
        border-color: rgba(0,179,134,.3);
    }

.director-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-mint);
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #fff;
    margin: 0 auto 12px;
    box-shadow: var(--shadow-soft);
}

.director-name {
    font-weight: 700;
    font-size: 0.8125rem;
}

.director-role {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px;
}

.director-since {
    display: inline-block;
    margin-top: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
}

/* Sidebar stats / highlights */
.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

    .highlight-card::before {
        content: "";
        position: absolute;
        right: -40px;
        top: -40px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background: var(--gradient-mint);
        opacity: .10;
        filter: blur(30px);
    }

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-mint);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 20px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 14px;
}

.highlight-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.highlight-card p {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.milestones {
    background: var(--fg);
    border-radius: 20px;
    padding: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .milestones::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(135deg, rgba(0,179,134,.10) 0 1px, transparent 1px 14px);
    }

.milestones-glow {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(0,179,134,.3);
    filter: blur(50px);
}

.milestones h3 {
    position: relative;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tl-item {
    position: relative;
    padding: 0 0 20px 28px;
    border-left: 2px solid rgba(0,179,134,.3);
}

    .tl-item:last-child {
        padding-bottom: 0;
        border-left-color: transparent;
    }

.tl-dot {
    position: absolute;
    left: -7px;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,179,134,.25);
}

.tl-year {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .1em;
}

.tl-text {
    font-size: 0.8125rem;
    color: rgba(255,255,255,.8);
    margin-top: 2px;
    line-height: 1.5;
}

/* Memberships */
.memberships {
    padding: 0 0 80px;
}

.membership-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
}

@media (min-width: 640px) {
    .membership-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.membership-badge {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all .25s;
}

    .membership-badge:hover {
        border-color: rgba(0,179,134,.35);
        transform: translateY(-3px);
    }

.mb-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.mb-name {
    font-size: 0.8125rem;
    font-weight: 700;
}

.mb-detail {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.mb-reg {
    display: inline-block;
    margin-top: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    font-family: ui-monospace, monospace;
}

.products-section {
    padding: 80px 0 40px;
}

/* Full-width product detail card */
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 40px;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    transition: all .25s;
}

    .product-card:hover {
        border-color: rgba(0,179,134,.35);
    }

@media (min-width: 880px) {
    .product-card {
        grid-template-columns: 1fr 1.1fr;
    }

        .product-card.reverse {
            direction: rtl;
        }

            .product-card.reverse > * {
                direction: ltr;
            }
}

.product-card::before {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--gradient-mint);
    opacity: .08;
    filter: blur(40px);
}

.product-card.reverse::before {
    right: auto;
    left: -80px;
}

.product-content {
    position: relative;
}

.product-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient-mint);
    color: #fff;
    font-size: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 18px;
}

.product-content h2 {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 14px;
}

.product-content p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin: 0 0 22px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .product-features li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.875rem;
        color: var(--fg);
    }

        .product-features li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            flex-shrink: 0;
            display: grid;
            place-items: center;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 11px;
            font-weight: 700;
            margin-top: 1px;
        }

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

    .product-cta:hover {
        gap: 10px;
    }

/* Info panel (right side) */
.product-panel {
    background: var(--secondary);
    border-radius: 18px;
    padding: 28px;
    position: relative;
}

.panel-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 16px;
}

    .panel-tag .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--primary);
    }

.panel-title {
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.panel-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.panel-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-soft);
}

.panel-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-mint);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}

.panel-item-name {
    font-size: 0.8125rem;
    font-weight: 600;
}

.panel-item-desc {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px;
}

/* DP Services highlight strip */
.dp-strip {
    background: var(--fg);
    border-radius: 20px;
    padding: 36px 40px;
    color: #fff;
    margin: 0 0 24px;
    display: grid;
    gap: 28px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 720px) {
    .dp-strip {
        grid-template-columns: 1fr 1fr;
    }
}

.dp-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(0,179,134,.10) 0 1px, transparent 1px 14px);
}

.dp-glow {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0,179,134,.3);
    filter: blur(50px);
}

.dp-strip-content {
    position: relative;
}

    .dp-strip-content h3 {
        font-size: 22px;
        font-weight: 800;
        margin: 0 0 10px;
    }

    .dp-strip-content p {
        color: rgba(255,255,255,.7);
        font-size: 0.875rem;
        line-height: 1.65;
        margin: 0;
    }

.dp-badges {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dp-badge {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 14px 18px;
    text-align: center;
    flex: 1;
    min-width: 110px;
}

.dp-badge-icon {
    font-size: 20px;
    margin-bottom: 6px;
}

.dp-badge-name {
    font-size: 12px;
    font-weight: 700;
}

.dp-badge-sub {
    font-size: 10px;
    color: rgba(255,255,255,.6);
    margin-top: 3px;
}

.market-page {
    padding: 64px 0 96px;
}

.market-layout {
    display: grid;
    gap: 24px;
}

@media (min-width: 1024px) {
    .market-layout {
        grid-template-columns: 220px 1fr;
        align-items: start;
    }
}

/* Sidebar nav */
.market-sidenav {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 80px;
}

.sidenav-group {
    margin-bottom: 20px;
}

    .sidenav-group:last-child {
        margin-bottom: 0;
    }

.sidenav-head {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 10px 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.sidenav-link {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.8125rem;
    color: var(--muted);
    transition: all .15s;
}

    .sidenav-link:hover {
        background: var(--secondary);
        color: var(--fg);
    }

    .sidenav-link.active {
        background: var(--primary-soft);
        color: var(--primary);
        font-weight: 600;
    }

/* Main content area */
.market-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Exchange toggle */
.exchange-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: var(--shadow-soft);
}

.exchange-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.exch-label {
    font-size: 0.8125rem;
    font-weight: 600;
}

.exch-tabs {
    display: flex;
    gap: 4px;
    background: var(--secondary);
    padding: 3px;
    border-radius: 999px;
}

.exch-tab {
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all .2s;
    border: none;
    background: none;
}

    .exch-tab.active {
        background: var(--card);
        color: var(--primary);
        box-shadow: var(--shadow-soft);
    }

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

/* GL boards side-by-side */
.gl-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 720px) {
    .gl-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.gl-board {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.gl-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.gl-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9375rem;
}

.gl-dot-g {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.gl-dot-r {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--destructive);
}

.gl-count {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
}

.gl-count-g {
    background: var(--primary-soft);
    color: var(--primary);
}

.gl-count-r {
    background: #fde8e7;
    color: var(--destructive);
}

.gl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

    .gl-table th {
        text-align: left;
        padding: 10px 14px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--muted);
        background: var(--secondary);
        border-bottom: 1px solid var(--border);
    }

        .gl-table th:last-child {
            text-align: right;
        }

    .gl-table td {
        padding: 12px 14px;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
    }

    .gl-table tr:last-child td {
        border-bottom: 0;
    }

    .gl-table tr:hover td {
        background: var(--secondary);
    }
    .gl-table tr:hover th {
        background: var(--secondary);
    }
    .gl-table td:last-child {
        text-align: right;
    }

.stock-name {
    font-weight: 600;
    display: block;
}

.stock-sector {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px;
}

.stock-price {
    font-weight: 700;
}

.chg-up {
    color: var(--primary);
    font-weight: 600;
}

.chg-dn {
    color: var(--destructive);
    font-weight: 600;
}

.chg-pill-g {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.chg-pill-r {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fde8e7;
    color: var(--destructive);
    font-size: 11px;
    font-weight: 700;
}

/* Indices quick view */
.indices-row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2,1fr);
}

@media (min-width: 720px) {
    .indices-row {
        grid-template-columns: repeat(4,1fr);
    }
}

.index-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
    transition: all .2s;
}

    .index-card:hover {
        border-color: rgba(0,179,134,.3);
        transform: translateY(-2px);
    }

.index-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.index-value {
    font-size: 22px;
    font-weight: 800;
    margin: 6px 0 4px;
    letter-spacing: -.02em;
}

.index-change {
    font-size: 12px;
    font-weight: 600;
}

/* Heatmap-style sector watch */
.sector-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

    .sector-wrap h3 {
        font-size: 1.0625rem;
        font-weight: 700;
        margin: 0 0 16px;
    }

.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px,1fr));
    gap: 10px;
}

.sector-tile {
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    transition: transform .2s;
}

    .sector-tile:hover {
        transform: scale(1.04);
    }

    .sector-tile.g1 {
        background: #dcfce7;
    }

    .sector-tile.g2 {
        background: #bbf7d0;
    }

    .sector-tile.g3 {
        background: #86efac;
    }

    .sector-tile.r1 {
        background: #fee2e2;
    }

    .sector-tile.r2 {
        background: #fecaca;
    }

.sector-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--fg);
}

.sector-chg {
    font-size: 0.8125rem;
    font-weight: 800;
    margin-top: 4px;
}

.sector-tile.g1 .sector-chg,
.sector-tile.g2 .sector-chg,
.sector-tile.g3 .sector-chg {
    color: #16a34a;
}

.sector-tile.r1 .sector-chg,
.sector-tile.r2 .sector-chg {
    color: #dc2626;
}

/* Disclaimer */
.market-disclaimer {
    background: var(--secondary);
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
}
/* =========================================================
   Market Filter Section
========================================================= */

.market-filter-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 28px;
   
}
/* Tabs */
.market-filter-tabs {
    display: flex;
    align-items: center;
    background: var(--secondary);
    border-bottom: 1px solid var(--border);
}

.market-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--fg);
    border-bottom: 3px solid transparent;
    transition: all .2s ease;
}

    .market-tab.active {
        background: var(--card);
        border-bottom-color: var(--primary);
    }

    .market-tab:hover {
        background: rgba(255,255,255,.6);
    }

/* NSE / BSE badge */
.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 26px;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

    .tab-badge.nse {
        background: #2563eb;
    }

    .tab-badge.bse {
        background: #c26a00;
    }

/* Body */
.market-filter-body {
    display: flex;
    align-items: end;
    gap: 16px;
    padding: 18px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

.filter-grow {
    flex: 1;
}

.filter-group label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--fg);
}

/* Select */
.filter-group select,
.filter-group input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    padding: 0 14px;
    font-size: 0.9375rem;
    color: var(--fg);
    outline: none;
    transition: all .2s ease;
    box-sizing: border-box;
}

    .filter-group select:focus,
    .filter-group input:focus {
        border-color: var(--primary);
        box-shadow: var(--shadow-ring);
    }

/* Apply Button */
.apply-btn {
    height: 30px;
    padding: 0 24px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    transition: all .2s ease;
    box-shadow: var(--shadow-soft);
}

    .apply-btn:hover {
        background: var(--primary-strong);
    }

/* Responsive */
@media (max-width: 768px) {

    .market-filter-body {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: 100%;
    }

    .apply-btn {
        width: 100%;
    }

    .market-filter-tabs {
        overflow-x: auto;
    }
}

.gl-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.gl-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-soft);
}

    .gl-icon.gain {
        background: linear-gradient(135deg, #16a34a, #22c55e);
    }
    .gl-icon.volume {
        background: linear-gradient(135deg, #16a34a, #22c55e);
    }
    .gl-icon.value {
        background: linear-gradient(135deg, #16a34a, #22c55e);
    }
    .gl-icon.highlow {
        background: linear-gradient(135deg, #16a34a, #22c55e);
    }
    .gl-icon.announcement {
        background: linear-gradient(135deg, #16a34a, #22c55e);
    }
    .gl-icon.dividend {
        background: linear-gradient(135deg, #16a34a, #22c55e);
    }
    .gl-icon.rights {
        background: linear-gradient(135deg, #16a34a, #22c55e);
    }
.gl-icon.advdec {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}
.gl-icon.indices {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}
.gl-icon.holiday {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}
    .gl-icon.loser {
        background: linear-gradient(135deg, #dc2626, #ef4444);
    }

/* =========================================================
   WCAG + responsive hardening overrides
   ========================================================= */
html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-size: 1rem;
}

/* Larger, consistent target size for touch and keyboard users */
a, input, select, textarea {
    min-height: 30px;
}

.nav-menu a, .nav-link, .dropdown-item, .tab, .font-size button {
    min-height: 44px;
}

/* Strong visible focus indicator required for WCAG 2.4.7 */
:focus-visible {
    outline: 3px solid #f59e0b !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 5px rgba(245,158,11,.25) !important;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
}

/* Do not rely only on color for market movement */
.chg-up::before, .m-change.up::before, .mini-chg.up::before {
    content: "Up ";
}

.chg-dn::before, .m-change.dn::before, .mini-chg.dn::before {
    content: "Down ";
}

/* Higher contrast text states */
.muted, .hero-lead, .section-head p, .market-board__sub, .footer-blurb,
.lookup-note, .service p, .attention-intro p, .accessibility-card p,
.accessibility-list, .m-country {
    color: #46515f;
}

.m-change.up, .chg-up, .mini-chg.up, .tick .chg-up {
    color: #00664f;
}

.m-change.dn, .chg-dn, .mini-chg.dn, .tick .chg-dn {
    color: #9f1d14;
}

/* Responsive media and tables */
img, svg, video {
    max-width: 100%;
    height: auto;
}

.market-board {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.market-table {
    min-width: min(520px, 100%);
}

/* Logo remains responsive */
.logo-img {
    height: clamp(64px, 8vw, 95px);
    width: auto;
    object-fit: contain;
}

.logo-img-footer {
    height: 56px;
}

/* Mobile and zoom support */
@media (max-width: 1179px) {
    .nav-inner {
        min-height: 82px;
    }

    .nav-links.is-open {
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }

    .market-dropdown {
        min-width: 100%;
    }

    .market-menu.is-open > .market-dropdown {
        display: block;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 16px;
    }

    .topbar-inner {
        align-items: flex-start;
        gap: 10px;
    }

    .topbar-left, .topbar-right {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-grid {
        gap: 28px;
        padding: 36px 16px;
    }

    .hero-ctas, .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
        white-space: normal;
    }

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

    .attention-panel, .cta-card, .stats-card {
        padding: 24px 18px;
    }

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

    .lookup-form {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-head h2 {
        font-size: 1.8rem;
    }

    .topbar {
        font-size: .875rem;
    }
}

/* 200% browser zoom: allow wrapping instead of clipping */
.nav-menu, .market-tabs, .trust-row, .offer-strip, .topbar-inner {
    flex-wrap: wrap;
}

.card, .market-board, .attention-panel, .cta-card {
    overflow-wrap: anywhere;
}

/* Modal accessibility */
.dh-modal-backdrop[aria-hidden="true"] {
    display: none;
}

.dh-modal {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

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

    .ticker-track, .attention-slide, .service, .btn, .arrow {
        animation: none !important;
        transition: none !important;
    }
}
/* Make important text scale with html font size */


.topbar,
.topbar a,
.font-size button {
    font-size: .875rem;
}

.hero-lead,
.page-hero p,
.section-head p,
.about-body p,
.product-content p,
.market-board__sub,
.panel-item-desc,
.footer-blurb {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-hero h1,
.section-head h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.market-board__title,
.product-content h2,
.attention-intro h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}


/* Full-site accessibility defaults, no floating panel required */
:focus-visible {
    outline: 3px solid var(--saffron);
    outline-offset: 3px;
}

.font-size button.active {
    color: var(--saffron);
    background: rgba(255,255,255,.12);
}

.service-icon i,
.badge i,
.trust-row i,
.lookup-note i,
.offer-strip i,
.guideline-icon i {
    line-height: 1;
}

.service-icon i {
    font-size: 1.25rem;
}

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


/* Accessibility checklist refinements */
html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-wrap: anywhere;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

.ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
}

.nav-links.is-open {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
}

html[data-font-size="large"] .nav-cta {
    display: none;
}

html[data-font-size="large"] .mobile-menu-toggle,
html[data-font-size="large"] .mobile-menu-toggle {
    display: inline-flex;
}

html[data-font-size="large"] .nav-links,
html[data-font-size="large"] .nav-links {
    display: none;
}

    html[data-font-size="large"] .nav-links.is-open,
    html[data-font-size="large"] .nav-links.is-open {
        display: block;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 100%;
        padding: 14px;
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow-soft);
    }

html[data-font-size="large"] .nav-menu,
html[data-font-size="large"] .nav-menu {
    flex-direction: column;
    align-items: stretch;
}

    html[data-font-size="large"] .nav-menu a,
    html[data-font-size="large"] .nav-link,
    html[data-font-size="large"] .nav-menu a,
    html[data-font-size="large"] .nav-link {
        width: 100%;
        white-space: normal;
    }

.m-change.up::before,
.chg-up::before,
.mini-chg.up::before {
    content: "Up ";
}

.m-change.dn::before,
.chg-dn::before,
.mini-chg.dn::before {
    content: "Down ";
}

.accessibility-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: clamp(24px, 4vw, 44px);
}

    .accessibility-card p {
        color: var(--muted);
        max-width: 78ch;
    }

.accessibility-list {
    list-style: disc;
    padding-left: 1.4rem;
    margin: 18px 0;
}

    .accessibility-list li {
        margin: 8px 0;
    }

.accessibility-review {
    font-weight: 700;
}







/* WCAG top controls and color themes */
html[data-font-size="small"] {
    font-size: 90%;
}

html[data-font-size="normal"] {
    font-size: 100%;
}

html[data-font-size="large"] {
    font-size: 110%;
}

.text-size-controls,
.theme-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
}

.control-label {
    color: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

.font-size button,
.theme-toggle {
    min-width: 36px;
    min-height: 32px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 4px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
}

.theme-toggle {
    min-width: 54px;
}

    .font-size button:hover,
    .font-size button.active,
    .theme-toggle:hover,
    .theme-toggle.active {
        background: var(--saffron);
        border-color: var(--saffron);
        color: #111827;
    }

html[data-theme="dark"] {
    --bg: #07111f;
    --fg: #f8fafc;
    --muted: #cbd5e1;
    --card: #0f1e33;
    --border: rgba(226, 232, 240, .24);
    --secondary: #19324d;
    --primary-soft: rgba(28, 193, 128, .22);
    --shadow-soft: 0 18px 45px rgba(0,0,0,.32);
}

    html[data-theme="dark"] body {
        background: var(--bg);
        color: var(--fg);
    }

    html[data-theme="dark"] .nav,
    html[data-theme="dark"] .dropdown-menu,
    html[data-theme="dark"] .service,
    html[data-theme="dark"] .market-board,
    html[data-theme="dark"] .accessibility-card,
    html[data-theme="dark"] .product-card,
    html[data-theme="dark"] .highlight-card,
    html[data-theme="dark"] .timeline-item,
    html[data-theme="dark"] .sector-wrap,
    html[data-theme="dark"] .gl-table-wrap,
    html[data-theme="dark"] .indices-card,
    html[data-theme="dark"] .page-hero {
        background-color: var(--card);
        color: var(--fg);
        border-color: var(--border);
    }

    html[data-theme="dark"] .logo-img {
        background: #fff;
        border-radius: 6px;
        padding: 3px;
    }

    html[data-theme="dark"] .market-table th,
    html[data-theme="dark"] .gl-table th,
    html[data-theme="dark"] .market-table td,
    html[data-theme="dark"] .gl-table td {
        border-color: var(--border);
    }

html[data-font-size="large"] .nav-cta,
html[data-font-size="small"] .nav-cta {
    white-space: normal;
}

@media (max-width: 1180px), (min-width: 1024px) and (max-width: 1366px) {
    .topbar-inner,
    .topbar-right {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}


/* WCAG dark theme full coverage */
html[data-theme="dark"] {
    --bg: #07111f;
    --fg: #f8fafc;
    --muted: #cbd5e1;
    --card: #101c2e;
    --border: rgba(226,232,240,.24);
    --input: #334155;
    --secondary: #15243a;
    --primary-soft: rgba(20,184,166,.18);
    --primary-fg: #dcfce7;
    --gradient-hero: radial-gradient(120% 80% at 80% 0%, rgba(0,179,134,.22) 0%, transparent 55%), linear-gradient(180deg, #07111f 0%, #0f1e33 100%);
}

    html[data-theme="dark"] body,
    html[data-theme="dark"] main,
    html[data-theme="dark"] .hero,
    html[data-theme="dark"] .services,
    html[data-theme="dark"] .market-section,
    html[data-theme="dark"] .attention,
    html[data-theme="dark"] .stats,
    html[data-theme="dark"] .page-section {
        background: var(--bg);
        color: var(--fg);
    }

    html[data-theme="dark"] footer {
        background: var(--secondary);
        color: var(--muted);
    }

    html[data-theme="dark"] .topbar,
    html[data-theme="dark"] .ticker {
        background: #020617;
        color: #f8fafc;
    }

    html[data-theme="dark"] .card,
    html[data-theme="dark"] .lookup-card,
    html[data-theme="dark"] .service,
    html[data-theme="dark"] .market-board,
    html[data-theme="dark"] .attention-box,
    html[data-theme="dark"] .accessibility-card,
    html[data-theme="dark"] .product-card,
    html[data-theme="dark"] .product-panel,
    html[data-theme="dark"] .panel-item,
    html[data-theme="dark"] .highlight-card,
    html[data-theme="dark"] .timeline-card,
    html[data-theme="dark"] .timeline-item,
    html[data-theme="dark"] .member-card,
    html[data-theme="dark"] .gl-panel,
    html[data-theme="dark"] .gl-table-wrap,
    html[data-theme="dark"] .indices-card,
    html[data-theme="dark"] .sector-wrap,
    html[data-theme="dark"] .sector-tile,
    html[data-theme="dark"] .downloads-panel,
    html[data-theme="dark"] .dh-modal,
    html[data-theme="dark"] .dropdown-menu {
        background: var(--card) !important;
        color: var(--fg) !important;
        border-color: var(--border) !important;
    }

        html[data-theme="dark"] .downloads-panel .download-item {
            background: #0b1628;
            border-color: var(--border);
        }

    html[data-theme="dark"] .download-filter {
        background: #0b1628;
        border-color: var(--border);
    }

        html[data-theme="dark"] .download-filter select {
            background: var(--card);
            color: var(--fg);
            border-color: var(--border);
        }

    html[data-theme="dark"] .disclaimer-section {
        background: linear-gradient(90deg, rgba(20,184,166,.10) 0 1px, transparent 1px) 0 0 / 38px 38px, var(--bg);
    }

    html[data-theme="dark"] .disclaimer-document {
        background: var(--card);
        border-color: var(--primary);
    }

    html[data-theme="dark"] .disclaimer-block {
        border-color: var(--border);
    }

    html[data-theme="dark"] .support-note,
    html[data-theme="dark"] .feedback-panel,
    html[data-theme="dark"] .resource-link-list li {
        background: var(--card);
        border-color: var(--border);
        color: var(--fg);
    }

    html[data-theme="dark"] .feature-list li {
        background: rgba(20,184,166,.14);
    }

    html[data-theme="dark"] .feedback-form input,
    html[data-theme="dark"] .feedback-form textarea {
        background: #0b1628;
        color: var(--fg);
        border-color: var(--border);
    }

    html[data-theme="dark"] .terms-list li {
        border-color: var(--border);
    }

    html[data-theme="dark"] input,
    html[data-theme="dark"] select,
    html[data-theme="dark"] textarea {
        background: #0b1628;
        color: var(--fg);
        border-color: var(--input);
    }

        html[data-theme="dark"] input::placeholder {
            color: #94a3b8;
        }

    html[data-theme="dark"] p,
    html[data-theme="dark"] .hero-lead,
    html[data-theme="dark"] .page-hero p,
    html[data-theme="dark"] .section-head p,
    html[data-theme="dark"] .product-content p,
    html[data-theme="dark"] .panel-item-desc,
    html[data-theme="dark"] .market-board__sub,
    html[data-theme="dark"] .stock-sector,
    html[data-theme="dark"] .director-role,
    html[data-theme="dark"] .mb-detail,
    html[data-theme="dark"] .footer-blurb {
        color: var(--muted) !important;
    }

    html[data-theme="dark"] .btn-ghost,
    html[data-theme="dark"] .dh-modal-close {
        background: #15243a;
        color: var(--fg);
        border: 1px solid var(--border);
    }

    html[data-theme="dark"] .gl-count-r,
    html[data-theme="dark"] .chg-pill-r,
    html[data-theme="dark"] .sector-tile.r1,
    html[data-theme="dark"] .sector-tile.r2 {
        background: rgba(248,113,113,.16) !important;
        color: #fecaca !important;
    }

    html[data-theme="dark"] .sector-tile.g1,
    html[data-theme="dark"] .sector-tile.g2,
    html[data-theme="dark"] .sector-tile.g3 {
        background: rgba(34,197,94,.16) !important;
        color: #bbf7d0 !important;
    }

    html[data-theme="dark"] .market-table th,
    html[data-theme="dark"] .market-table td,
    html[data-theme="dark"] .gl-table th,
    html[data-theme="dark"] .gl-table td {
        background: transparent;
        color: var(--fg);
        border-color: var(--border);
    }



/* stepped text size and desktop nav stability */
.text-size-controls button {
    text-decoration: underline;
    text-underline-offset: 4px;
}

html[data-font-percent="110"] .text-size-controls [data-font-action="increase"],
html[data-font-percent="120"] .text-size-controls [data-font-action="increase"],
html[data-font-percent="130"] .text-size-controls [data-font-action="increase"],
html[data-font-percent="140"] .text-size-controls [data-font-action="increase"],
html[data-font-percent="90"] .text-size-controls [data-font-action="decrease"],
html[data-font-percent="80"] .text-size-controls [data-font-action="decrease"],
html[data-font-percent="100"] .text-size-controls [data-font-action="normal"] {
    background: var(--saffron);
    border-color: var(--saffron);
    color: #111827;
}

@media (min-width: 1181px) {
    .nav-inner {
        flex-wrap: nowrap;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .nav-links {
        display: flex !important;
        position: static !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 4px;
    }

        .nav-menu a,
        .nav-link {
            width: auto !important;
            white-space: nowrap;
        }
}


/* =========================================================
   News page & Market Commentary — added for news.html and
   market-commentry.html
   ========================================================= */

/* News page */
.news-hero {
    padding-bottom: 54px;
}

.news-section {
    padding: 56px 0 96px;
    background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}

.news-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

@media (min-width: 1060px) {
    .news-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .news-aside {
        position: sticky;
        top: 98px;
    }
}

.news-aside {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, var(--card), var(--secondary));
    box-shadow: var(--shadow-soft);
}

.news-menu-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0 4px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--fg);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

    .news-menu-title::before {
        content: "";
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0 0 0 5px var(--primary-soft);
    }

.news-category-nav {
    display: grid;
    gap: 8px;
}

    .news-category-nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid transparent;
        border-radius: 14px;
        color: var(--muted);
        font-size: .875rem;
        font-weight: 700;
    }

        .news-category-nav a i {
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            color: var(--primary);
            background: rgba(16,185,129,.10);
            font-size: .78rem;
            flex: 0 0 auto;
        }

        .news-category-nav a:hover {
            color: var(--fg);
            background: rgba(255,255,255,.72);
            border-color: var(--border);
            text-decoration: none;
        }

        .news-category-nav a.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-strong));
            box-shadow: var(--shadow-soft);
        }

            .news-category-nav a.active i {
                color: var(--primary);
                background: #fff;
            }

@media (max-width: 1059px) {
    .news-aside {
        padding: 14px;
    }

    .news-category-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .news-category-nav {
        grid-template-columns: 1fr;
    }
}

.news-main {
    min-width: 0;
}

.news-headline-panel {
    display: grid;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(16,185,129,.22);
    border-radius: 28px;
    background: radial-gradient(circle at 8% 10%, rgba(16,185,129,.16), transparent 32%), linear-gradient(135deg, var(--card), var(--secondary));
    box-shadow: var(--shadow-soft);
}

@media (min-width: 760px) {
    .news-headline-panel {
        grid-template-columns: 1fr auto;
    }
}

.news-headline-panel h2 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 3.4vw, 28px);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.news-headline-panel p {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
    line-height: 1.7;
}

.news-page-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
}

.news-card-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 860px) {
    .news-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.news-story-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

    .news-story-card:hover {
        transform: translateY(-2px);
        border-color: rgba(16,185,129,.35);
        box-shadow: 0 18px 44px rgba(15,23,42,.12);
    }

    .news-story-card.featured {
        border-color: rgba(16,185,129,.28);
        background: linear-gradient(135deg, rgba(16,185,129,.08), var(--card) 56%);
    }

.news-date {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    width: 70px;
    min-height: 70px;
    border-radius: 9px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: radial-gradient(circle at 18% 12%, rgba(255,255,255,.34), transparent 24%), linear-gradient(145deg, var(--primary), var(--primary-strong));
    box-shadow: 0 14px 30px rgba(0,122,94,.22);
}

    .news-date::after {
        content: "";
        position: absolute;
        right: -18px;
        bottom: -24px;
        width: 58px;
        height: 58px;
        border: 12px solid rgba(255,255,255,.16);
        border-radius: 50%;
    }

    .news-date strong {
        position: relative;
        z-index: 1;
        display: block;
        font-size: 1.4rem;
        line-height: .95;
        letter-spacing: -.05em;
    }

    .news-date span {
        position: relative;
        z-index: 1;
        display: block;
        margin-top: 7px;
        color: rgba(255,255,255,.82);
        font-size: .6rem;
        font-weight: 800;
        line-height: 1.15;
        text-transform: uppercase;
    }

.story-tag {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.news-story-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

    .news-story-card h3 a {
        color: var(--fg);
    }

        .news-story-card h3 a:hover {
            color: var(--primary);
        }

.news-story-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.65;
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    color: var(--muted);
    font-weight: 700;
}

    .news-pagination div {
        display: flex;
        gap: 10px;
    }

    .news-pagination a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 8px 14px;
        border-radius: 12px;
        color: var(--primary);
        font-weight: 800;
    }

        .news-pagination a:hover {
            background: var(--primary-soft);
            text-decoration: none;
        }

.news-anchor-targets span {
    position: relative;
    top: -120px;
}

/* Dark theme — news page */
html[data-theme="dark"] .news-section,
html[data-theme="dark"] .news-headline-panel,
html[data-theme="dark"] .news-aside,
html[data-theme="dark"] .news-story-card,
html[data-theme="dark"] .news-pagination {
    background: var(--card);
    color: var(--fg);
    border-color: var(--border);
}

html[data-theme="dark"] .news-date {
    background: var(--secondary);
    border-color: var(--border);
}

html[data-theme="dark"] .news-category-nav a:hover,
html[data-theme="dark"] .news-category-nav a:focus-visible {
    background: var(--secondary);
    color: var(--fg);
}

/* Market commentary page */
.commentary-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.commentary-header {
    display: grid;
    gap: 18px;
    align-items: start;
    padding: clamp(24px, 4vw, 40px);
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at 10% 10%, rgba(16,185,129,.15), transparent 34%), linear-gradient(135deg, var(--card), var(--secondary));
}

@media (min-width: 760px) {
    .commentary-header {
        grid-template-columns: 1fr auto;
    }
}

.commentary-header h2 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.12;
    letter-spacing: -.03em;
}

.commentary-header p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.commentary-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    font-weight: 800;
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
}

.commentary-session-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(16,185,129,.045);
}

    .commentary-session-tabs .commentary-tab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 9px 14px;
        border: 1px solid var(--border);
        border-radius: 999px;
        color: var(--muted);
        font-weight: 800;
        background: var(--card);
        font: inherit;
        cursor: pointer;
    }

        .commentary-session-tabs .commentary-tab:hover {
            color: var(--fg);
            background: var(--secondary);
            text-decoration: none;
        }

        .commentary-session-tabs .commentary-tab.active,
        .commentary-session-tabs .commentary-tab:focus-visible {
            color: #fff;
            background: var(--primary);
            border-color: var(--primary);
        }

    .commentary-session-tabs .pre-session-tab,
    .commentary-session-tabs .mid-session-tab,
    .commentary-session-tabs .end-session-tab {
        border-color: rgba(0,122,94,.28);
        color: #007a5e;
    }

        .commentary-session-tabs .pre-session-tab:hover,
        .commentary-session-tabs .pre-session-tab.active,
        .commentary-session-tabs .pre-session-tab:focus-visible,
        .commentary-session-tabs .mid-session-tab:hover,
        .commentary-session-tabs .mid-session-tab.active,
        .commentary-session-tabs .mid-session-tab:focus-visible,
        .commentary-session-tabs .end-session-tab:hover,
        .commentary-session-tabs .end-session-tab.active,
        .commentary-session-tabs .end-session-tab:focus-visible {
            color: #fff;
            background: linear-gradient(135deg, #007a5e, #00a37a);
            border-color: #007a5e;
        }

.commentary-detail {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 4px;
}

.commentary-body {
    padding: clamp(24px, 4vw, 42px);
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

.commentary-section {
    scroll-margin-top: 120px;
}

    .commentary-section[hidden] {
        display: none;
    }

    .commentary-section + .commentary-section {
        border-top: 1px solid var(--border);
        background: linear-gradient(180deg, rgba(16,185,129,.035), transparent 120px);
    }

.commentary-section-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.commentary-body .commentary-section-heading h3 {
    margin: 0;
    color: var(--fg);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    letter-spacing: -.02em;
}

.commentary-session-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mid-session-section .commentary-session-label {
    background: linear-gradient(135deg, #b45309, #f59e0b);
}

.end-session-section .commentary-session-label {
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

.commentary-body p {
    margin: 0 0 18px;
}

.commentary-lead {
    color: var(--fg);
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    font-weight: 600;
    line-height: 1.75;
}

.commentary-body h3 {
    margin: 28px 0 10px;
    color: var(--fg);
    font-size: 1.05rem;
    letter-spacing: -.01em;
}

.commentary-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid rgba(16,185,129,.20);
    border-radius: 18px;
    background: rgba(16,185,129,.08);
    color: var(--fg);
}

    .commentary-callout i {
        color: var(--primary);
        margin-top: 4px;
    }

    .commentary-callout.mid-callout {
        border-color: rgba(245,158,11,.28);
        background: rgba(245,158,11,.10);
    }

        .commentary-callout.mid-callout i {
            color: #b45309;
        }

    .commentary-callout.end-callout {
        border-color: rgba(37,99,235,.24);
        background: rgba(37,99,235,.09);
    }

        .commentary-callout.end-callout i {
            color: #1e40af;
        }

    .commentary-callout p {
        margin: 0;
    }

.commentary-anchor-targets span {
    position: relative;
    top: -120px;
}

/* Dark theme — commentary page */
html[data-theme="dark"] .commentary-panel,
html[data-theme="dark"] .commentary-header,
html[data-theme="dark"] .commentary-session-tabs .commentary-tab {
    background: var(--card);
    color: var(--fg);
    border-color: var(--border);
}

html[data-theme="dark"] .commentary-session-tabs {
    background: var(--secondary);
    border-color: var(--border);
}

    html[data-theme="dark"] .commentary-session-tabs .pre-session-tab {
        color: #5ee9bd;
        border-color: rgba(94,233,189,.35);
    }

        html[data-theme="dark"] .commentary-session-tabs .pre-session-tab:hover,
        html[data-theme="dark"] .commentary-session-tabs .pre-session-tab.active,
        html[data-theme="dark"] .commentary-session-tabs .pre-session-tab:focus-visible {
            color: #fff;
            background: linear-gradient(135deg, #007a5e, #00a37a);
            border-color: #00a37a;
        }

    html[data-theme="dark"] .commentary-session-tabs .mid-session-tab {
        color: #fbbf24;
        border-color: rgba(251,191,36,.35);
    }

        html[data-theme="dark"] .commentary-session-tabs .mid-session-tab:hover,
        html[data-theme="dark"] .commentary-session-tabs .mid-session-tab:focus-visible {
            color: #fff;
            background: linear-gradient(135deg, #b45309, #f59e0b);
            border-color: #f59e0b;
        }

    html[data-theme="dark"] .commentary-session-tabs .end-session-tab {
        color: #93c5fd;
        border-color: rgba(147,197,253,.35);
    }

        html[data-theme="dark"] .commentary-session-tabs .end-session-tab:hover,
        html[data-theme="dark"] .commentary-session-tabs .end-session-tab:focus-visible {
            color: #fff;
            background: linear-gradient(135deg, #1e40af, #2563eb);
            border-color: #60a5fa;
        }


/* =========================================================
   Career page — career.aspx
   ========================================================= */

.career-section {
    padding: clamp(56px, 8vw, 50px) 0;
    background: var(--secondary);
}

.career-list-head {
    max-width: 760px;
    margin-bottom: 30px;
}

    .career-list-head h2 {
        margin: 8px 0 0;
        color: var(--fg);
        font-size: clamp(1.8rem, 3vw, 2.6rem);
        line-height: 1.18;
        letter-spacing: 0;
    }

/* ---------- Empty state ---------- */
.career-empty-state {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(32px, 6vw, 58px);
    text-align: center;
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 8px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

    .career-empty-state[hidden] {
        display: none;
    }

.career-empty-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 8px;
    color: #fff;
    background: var(--primary);
    font-size: 1.4rem;
}

.career-empty-state h3 {
    margin: 7px 0 12px;
    color: var(--fg);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    letter-spacing: 0;
}

.career-empty-state > p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.75;
}

.career-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 18px;
    margin-top: 26px;
}

    .career-empty-actions .btn {
        gap: 9px;
    }

.career-empty-link {
    padding: 10px 2px;
    color: var(--primary);
    font-size: .88rem;
    font-weight: 800;
}

    .career-empty-link:hover {
        color: var(--primary-strong);
    }

/* ---------- Vacancy list ---------- */
.career-vacancy-list {
    display: grid;
    gap: 24px;
}

.career-vacancy {
    overflow: hidden;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 8px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

    .career-vacancy:nth-child(2) {
        border-top-color: #1e40af;
    }

    .career-vacancy:nth-child(3) {
        border-top-color: #b45309;
    }

/* ---------- Vacancy header ---------- */
.career-vacancy-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.career-vacancy-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    color: #fff;
    background: var(--primary);
    font-size: 1.2rem;
}

.career-vacancy-icon-blue {
    background: #1e40af;
}

.career-vacancy-icon-amber {
    background: #b45309;
}

.career-vacancy-label {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.career-vacancy h3 {
    margin: 0;
    color: var(--fg);
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    line-height: 1.3;
    letter-spacing: 0;
}

/* ---------- Job meta strip ---------- */
.career-job-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 24px 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--border);
}

    .career-job-meta div {
        min-width: 0;
        padding: 14px 16px;
        background: var(--secondary);
    }

    .career-job-meta dt {
        margin-bottom: 4px;
        color: var(--muted);
        font-size: .7rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .career-job-meta dd {
        margin: 0;
        color: var(--fg);
        font-size: .88rem;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

/* ---------- Job columns ---------- */
.career-job-columns {
    display: grid;
    gap: 28px;
}

@media (min-width: 800px) {
    .career-job-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.career-vacancy h4 {
    margin: 0 0 12px;
    color: var(--fg);
    font-size: 1rem;
}

.career-vacancy p {
    color: var(--muted);
    line-height: 1.7;
}

/* ---------- Job list ---------- */
.career-job-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .career-job-list li {
        position: relative;
        padding-left: 20px;
        color: var(--muted);
        font-size: .9rem;
        line-height: 1.65;
    }

        .career-job-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .62em;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--primary);
        }

/* ---------- Role summary block ---------- */
.career-role-summary {
    margin: 0 0 26px;
    padding: 18px 20px;
    border-left: 4px solid #1e40af;
    background: var(--secondary);
}

    .career-role-summary p {
        margin: 0;
    }

/* ---------- Job footer ---------- */
.career-job-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

    .career-job-footer p {
        margin: 0;
        font-size: .88rem;
    }

    .career-job-footer a {
        font-weight: 800;
        overflow-wrap: anywhere;
    }

/* ---------- Dark theme ---------- */
html[data-theme="dark"] .career-section {
    background: var(--secondary);
}

html[data-theme="dark"] .career-empty-state,
html[data-theme="dark"] .career-vacancy,
html[data-theme="dark"] .career-job-meta div,
html[data-theme="dark"] .career-role-summary {
    color: var(--fg);
    background: var(--card);
    border-color: var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .career-empty-actions {
        display: grid;
    }

        .career-empty-actions .btn {
            width: 100%;
            justify-content: center;
        }

    .career-job-meta {
        grid-template-columns: 1fr;
    }

    .career-vacancy-head {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .career-vacancy-icon {
        width: 46px;
        height: 46px;
    }

    .career-job-footer {
        display: grid;
    }
}


/* =========================================================
   Company Profile detail page — company-profile.html
   ========================================================= */

/* ---------- Section layout ---------- */
.company-profile-detail {
    display: grid;
    gap: 22px;
}

/* ---------- Two-column panel grid ---------- */
.company-profile-panel-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 840px) {
    .company-profile-panel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Card section header row (icon + heading) ---------- */
.company-profile-grid-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--primary-soft);
}

/* ---------- Detail card ---------- */
.profile-detail-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

    /* Decorative circle accent */
    .profile-detail-card::after {
        content: "";
        position: absolute;
        right: -44px;
        top: -44px;
        width: 118px;
        height: 118px;
        border-radius: 50%;
        background: rgba(16, 185, 129, .09);
        pointer-events: none;
    }

/* ---------- Icon badge ---------- */
.profile-detail-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 4px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 1rem;
}

/* ---------- Card typography ---------- */
.profile-detail-card h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    letter-spacing: -.01em;
}

.profile-detail-card p,
.profile-detail-card address {
    margin: 0 0 10px;
    color: var(--muted);
    font-style: normal;
    line-height: 1.7;
}

/* ---------- Contact list ---------- */
.profile-contact-list {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .92rem;
}

    .profile-contact-list a,
    .profile-news-table a {
        color: var(--primary);
        font-weight: 700;
    }

        .profile-contact-list a:hover,
        .profile-news-table a:hover {
            color: var(--primary-strong);
            text-decoration: underline;
        }

/* ---------- Scrollable table wrapper ---------- */
.profile-table-wrap {
    overflow-x: auto;
}

/* ---------- Detail table ---------- */
.profile-detail-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: .9rem;
}

    /* Visually-hidden caption for accessibility */
    .profile-detail-table caption {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .profile-detail-table th,
    .profile-detail-table td {
        padding: 13px 14px;
        border-bottom: 1px solid var(--border);
        text-align: left;
        vertical-align: top;
    }

    .profile-detail-table thead th {
        background: var(--secondary);
        color: var(--fg);
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .profile-detail-table tbody th {
        color: var(--fg);
        font-weight: 700;
    }

    .profile-detail-table tbody td {
        color: var(--muted);
    }

    /* Remove bottom border on last row */
    .profile-detail-table tr:last-child th,
    .profile-detail-table tr:last-child td {
        border-bottom: 0;
    }

/* ---------- Key–value detail list ---------- */
.profile-detail-list {
    display: grid;
    gap: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
}

    .profile-detail-list div {
        display: grid;
        grid-template-columns: minmax(130px, .7fr) 1fr;
        border-bottom: 1px solid var(--border);
    }

        .profile-detail-list div:last-child {
            border-bottom: 0;
        }

    .profile-detail-list dt,
    .profile-detail-list dd {
        padding: 12px 14px;
        margin: 0;
    }

    .profile-detail-list dt {
        background: var(--secondary);
        color: var(--muted);
        font-weight: 800;
        font-size: .82rem;
    }

    .profile-detail-list dd {
        color: var(--fg);
        font-weight: 700;
    }

/* ---------- Corporate news card ---------- */
.profile-news-card {
    margin-top: 2px;
}

.profile-news-table {
    min-width: 620px;
    table-layout: auto;
}

    .profile-news-table td:first-child {
        width: 150px;
        color: var(--muted);
        font-weight: 700;
    }

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
    .profile-detail-table {
        min-width: 420px;
        table-layout: auto;
    }
}

/* ---------- Dark theme ---------- */
html[data-theme="dark"] .profile-detail-card {
    background: var(--card);
    color: var(--fg);
    border-color: var(--border);
}

html[data-theme="dark"] .profile-detail-table thead th,
html[data-theme="dark"] .profile-detail-list dt {
    background: var(--secondary);
}

html[data-theme="dark"] .profile-detail-table,
html[data-theme="dark"] .profile-detail-list {
    border-color: var(--border);
}

    html[data-theme="dark"] .profile-detail-table th,
    html[data-theme="dark"] .profile-detail-table td,
    html[data-theme="dark"] .profile-detail-list div {
        border-color: var(--border);
    }


/* =========================================================
   Gainers & Losers page — gainers-losers.html
   ========================================================= */

/* ---------- Full-width board variant ---------- */
.gl-board-full {
    width: 204%;
    margin-bottom:48px;
}

/* ---------- Table — row-header (th in tbody) ---------- */
.gl-table tbody th {
    text-align: left;
    color: var(--fg);
    background: transparent;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: 0;
    text-transform: none;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.gl-table tr:last-child th {
    border-bottom: 0;
}

/* ---------- Pagination strip ---------- */
.gl-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-top: 1px solid var(--border);
    background: var(--secondary);
}

    .gl-pagination p {
        margin: 0;
        color: var(--muted);
        font-size: .8rem;
        font-weight: 700;
    }

.gl-pagination-controls,
.gl-page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------- Pagination buttons ---------- */
.gl-page-arrow,
.gl-page-number {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--fg);
    background: var(--card);
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

    .gl-page-arrow:hover:not(:disabled),
    .gl-page-number:hover,
    .gl-page-number.active {
        color: #fff;
        border-color: var(--primary);
        background: var(--primary);
    }

    .gl-page-arrow:focus-visible,
    .gl-page-number:focus-visible {
        outline: 3px solid var(--primary);
        outline-offset: 2px;
    }

    .gl-page-arrow:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

/* ---------- Responsive — pagination ---------- */
@media (max-width: 560px) {
    .gl-pagination {
        justify-content: center;
        text-align: center;
    }

        .gl-pagination p {
            width: 100%;
        }
}

/* ---------- Dark theme — gainers-losers page ---------- */
html[data-theme="dark"] .gl-board,
html[data-theme="dark"] .gl-board-head {
    background: var(--card);
    border-color: var(--border);
}

html[data-theme="dark"] .gl-pagination {
    background: var(--secondary);
    border-color: var(--border);
}

html[data-theme="dark"] .gl-page-arrow,
html[data-theme="dark"] .gl-page-number {
    background: var(--card);
    color: var(--fg);
    border-color: var(--border);
}

    html[data-theme="dark"] .gl-page-arrow:hover:not(:disabled),
    html[data-theme="dark"] .gl-page-number:hover,
    html[data-theme="dark"] .gl-page-number.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

html[data-theme="dark"] .gl-count-r {
    background: rgba(248, 113, 113, .16);
    color: #fecaca;
}

html[data-theme="dark"] .exchange-bar {
    background: var(--card);
    border-color: var(--border);
}

html[data-theme="dark"] .exch-tabs {
    background: var(--secondary);
}

html[data-theme="dark"] .exch-tab.active {
    background: var(--card);
}

html[data-theme="dark"] .market-filter-wrap {
    background: var(--card);
    border-color: var(--border);
}

html[data-theme="dark"] .market-filter-body {
    background: var(--card);
}

html[data-theme="dark"] .market-filter-tabs {
    background: var(--secondary);
    border-color: var(--border);
}

html[data-theme="dark"] .market-tab {
    color: var(--fg);
}

    html[data-theme="dark"] .market-tab.active {
        background: var(--card);
    }

html[data-theme="dark"] .filter-group select {
    background: var(--card);
    color: var(--fg);
    border-color: var(--border);
}
html[data-theme="dark"] .filter-group input {
    background: var(--card);
    color: var(--fg);
    border-color: var(--border);
}

html[data-theme="dark"] .market-page {
    background: var(--bg);
}

html[data-theme="dark"] .market-disclaimer {
    background: var(--secondary);
    color: var(--muted);
}
/* =========================================================
   Balance Sheet Page
   ========================================================= */

/* ---------- Company Quote Cards ---------- */

.company-quote-panel {
    margin-bottom: 24px;
}

.company-quote-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 1024px) {
    .company-quote-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.company-quote-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.quote-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

    .quote-card-head time {
        display: block;
        color: var(--muted);
        font-size: .75rem;
        margin-bottom: 6px;
    }

.quote-market-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

    .quote-market-line h3 {
        margin: 0;
        font-size: 1rem;
        font-weight: 800;
    }

    .quote-market-line strong {
        font-size: 1.15rem;
        color: var(--primary);
    }
strong.loss {
    color: var(--destructive);
}
.quote-change {
    color: #16a34a;
    font-weight: 700;
    font-size: .82rem;
}
    .quote-change.loss {
        color: red;
    }
.quote-volume {
    text-align: right;
}

    .quote-volume span {
        display: block;
        color: var(--muted);
        font-size: .72rem;
    }

    .quote-volume strong {
        display: block;
        margin-top: 4px;
        color: var(--fg);
        font-size: .86rem;
        font-variant-numeric: tabular-nums;
    }

.quote-stat-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin: 0;
}

@media (min-width:560px) {
    .quote-stat-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

.quote-stat-grid > div {
    min-height: 76px;
    padding: 13px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quote-stat-grid dt {
    color: var(--muted);
    font-size: .67rem;
    line-height: 1.35;
}

.quote-stat-grid dd {
    margin: 6px 0 0;
    color: var(--fg);
    font-size: 13px;
    font-weight: 600;
}

.quote-range-track {
    display: block;
    width: 100%;
    height: 5px;
    margin-bottom: 7px;
    background: linear-gradient(90deg,#22c55e 0 58%,#ef4444 58% 100%);
}

.quote-range-year {
    background: linear-gradient(90deg,#22c55e 0 49%,#ef4444 49% 100%);
}

.quote-range-values {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* ---------- Balance Sheet ---------- */

.balance-sheet-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.balance-sheet-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
}

    .balance-sheet-head h2 {
        margin: 7px 0 0;
        color: var(--fg);
        font-size: clamp(1.35rem,2.4vw,1.8rem);
    }

    .balance-sheet-head p {
        margin: 0;
        color: var(--muted);
        font-size: .78rem;
    }

.balance-view-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--secondary);
}

    .balance-view-tabs button {
        min-width: 126px;
        min-height: 42px;
        padding: 9px 16px;
        border: 1px solid var(--border);
        border-radius: 6px;
        background: var(--card);
        color: var(--muted);
        font-size: .78rem;
        font-weight: 800;
        transition: .2s;
    }

        .balance-view-tabs button:hover {
            color: var(--fg);
            border-color: var(--primary);
        }

        .balance-view-tabs button.active,
        .balance-view-tabs button[aria-selected="true"] {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

.balance-view-status {
    margin: 0;
    padding: 9px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(0,122,94,.06);
    color: var(--primary-strong);
    font-size: .75rem;
    font-weight: 800;
}

[data-balance-panel][hidden] {
    display: none;
}

.balance-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.balance-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--fg);
    font-size: .8rem;
}

    .balance-table th,
    .balance-table td {
        padding: 12px 14px;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
    }

    .balance-table thead th {
        position: sticky;
        top: 0;
        z-index: 3;
        background: var(--primary-strong);
        color: #fff;
        text-align: right;
        font-size: .72rem;
        text-transform: uppercase;
    }

        .balance-table thead th:first-child {
            text-align: left;
            width: 35%;
        }

    .balance-table tbody th[scope="row"] {
        position: sticky;
        left: 0;
        background: var(--card) !important;
        z-index: 1;
        text-align: left;
        font-weight: 650;
    }

  /*  .balance-table tbody td {
        text-align: right;
    }*/

    .balance-table tbody tr:hover td,
    .balance-table tbody tr:hover th {
        background: rgba(0,122,94,.03);
    }

/* Financial Rows */

.financial-section-row th {
    background: var(--primary);
    /*color: #fff;*/
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: left;
}

.financial-subsection-row th {
    background: var(--secondary);
    color: var(--primary-strong);
    font-weight: 800;
    text-align: left;
}

.financial-total-row th,
.financial-total-row td {
    font-weight: 800;
    background: rgba(0,122,94,.06);
}

.financial-grand-total-row th,
.financial-grand-total-row td {
    background: var(--primary);
    color: #fff;
    font-weight: 900;
}

.balance-source-note {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--secondary);
    color: var(--muted);
    font-size: .78rem;
}

/* ---------- Dark Theme ---------- */

html[data-theme="dark"] .company-quote-card,
html[data-theme="dark"] .balance-sheet-panel,
html[data-theme="dark"] .balance-table tbody th[scope="row"] {
    background: var(--card);
    border-color: var(--border);
}

html[data-theme="dark"] .balance-view-tabs {
    background: var(--secondary);
}

html[data-theme="dark"] .balance-view-status {
    background: rgba(0,122,94,.16);
}

html[data-theme="dark"] .financial-total-row th,
html[data-theme="dark"] .financial-total-row td {
    background: rgba(0,122,94,.18);
}

html[data-theme="dark"] .financial-subsection-row th {
    background: var(--secondary);
}

/* ---------- Mobile ---------- */

@media (max-width:560px) {

    .company-quote-card + .company-quote-card {
        border-top: 1px solid var(--border);
    }

    .quote-card-head {
        padding: 16px;
    }

    .quote-stat-grid > div {
        padding: 12px;
    }

    .balance-sheet-head {
        align-items: flex-start;
        padding: 20px 18px;
    }

    .balance-view-tabs {
        padding: 12px 18px;
        overflow-x: auto;
    }

        .balance-view-tabs button {
            flex: 1;
            min-width: 0;
        }

    .balance-view-status {
        padding: 9px 18px;
    }

    .balance-source-note {
        padding: 14px 18px;
    }
}
.financial-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}


.financial-toolbar-left {
    margin-left: 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.financial-toolbar-right {
    min-width: 180px;
    margin-top: 6px;
    margin-right: 15px;
}

.financial-select {
    width: 100%;
    min-width: 160px;
    height: 42px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 0 12px;
    background: #fff;
}

.financial-content {
    width: 100%;
}
.balance-table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.balance-table-wrap {
    overflow-x: auto;
}

.balance-table-wrap table th {
    position: sticky;
    top: 0;
}

.balance-sheet-panel {
    margin-top: 24px;
}
/* Board Directors Styles - Add to your existing CSS */
.board-directors-panel {
    background: var(--surface-2);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

.board-directors-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
    gap: 12px;
}

    .board-directors-head .kicker {
        display: inline-block;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--accent);
        margin-bottom: 4px;
    }

    .board-directors-head h2 {
        font-size: 24px;
        font-weight: 700;
        color: var(--text);
        margin: 0;
    }

    .board-directors-head p {
        color: var(--text-muted);
        font-size: 14px;
        margin: 0;
    }

.board-directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.board-director-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface-3);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

    .board-director-card:hover {
        border-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }

.director-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.director-info {
    flex: 1;
    min-width: 0;
}

.director-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px 0;
}

.director-designation {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.board-directors-source-note {
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .board-directors-panel {
        padding: 16px;
    }

    .board-directors-head h2 {
        font-size: 20px;
    }

    .board-directors-grid {
        grid-template-columns: 1fr;
    }

    .board-director-card {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .board-directors-panel {
        padding: 12px;
    }

    .director-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .director-name {
        font-size: 14px;
    }

    .director-designation {
        font-size: 12px;
    }
}


.welcome-slider {
    display: grid;
    gap: 14px;
}

.welcome-slides {
    min-height: 300px;
    align-items: stretch;
}

.welcome-slide[hidden] {
    display: none !important;
}

.welcome-slide.is-active {
    animation: welcomeSlideFade .24s ease;
}

@keyframes welcomeSlideFade {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.guideline-card p + p {
    margin-top: 8px;
}

.guideline-card ul {
    margin-top: 8px;
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.welcome-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.welcome-dot {
    border: 1px solid var(--border);
    background: var(--secondary);
    color: var(--fg);
}

.welcome-slider-dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.welcome-slider-dots-top {
    justify-content: center;
    padding-top: 2px;
}

.welcome-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    padding: 0;
}

    .welcome-dot.is-active {
        background: var(--primary);
        border-color: var(--primary);
    }

.dh-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.footer-grid-regulatory {
    align-items: start;
}

@media (min-width: 900px) {
    .footer-grid-regulatory {
        grid-template-columns: minmax(220px, .9fr) minmax(0, 2.6fr);
    }
}

.footer-regulatory {
    display: grid;
    gap: 10px;
    font-size: 0.78rem;
    line-height: 1.55;
}

.footer-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

    .footer-link-row a,
    .footer-contact-line a {
        color: rgba(255,255,255,.82);
        font-weight: 600;
    }

    .footer-link-row a {
        display: inline-flex;
        align-items: center;
    }

        .footer-link-row a:not(:last-child)::after {
            content: "|";
            margin: 0 10px;
            color: rgba(255,255,255,.35);
            font-weight: 400;
        }

        .footer-link-row a:hover,
        .footer-contact-line a:hover {
            color: var(--primary);
        }

.footer-contact-line {
    margin: 0;
    color: rgba(255,255,255,.68);
}

.footer-attention {
    border-top: 1px solid rgba(255,255,255,.12);
    background: rgba(14, 165, 233, .18);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
    padding: 8px 0;
}

    .footer-attention marquee {
        display: block;
        max-width: 100%;
    }