/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a5c38;
    --accent: #4caf50;
    --risk: #C34343;
    --orange: #DE8703;
    --yellow: #FFDE5B;
    --ahk-blue: #003366;
    --ahk-lightblue: #CCD7E6;
    --ci-green: #28AD84;
    --font-serif: 'Source Sans 3', 'PingFang SC', 'Microsoft YaHei', sans-serif; /* CI: sans only, serif retired Sep 2026 */
    --bg: #f9f9f7;
    --text: #1a1a1a;
    --white: #ffffff;
    --gray-100: #f4f4f2;
    --gray-200: #e8e8e6;
    --gray-300: #d0d0ce;
    --gray-600: #6b6b6b;
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Source Sans 3', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-zh, .lang-de, .lang-vi { display: none; }
body.zh .lang-en, body.de .lang-en, body.vi .lang-en { display: none; }
body.zh .lang-zh { display: inline; }
body.de .lang-de { display: inline; }
body.vi .lang-vi { display: inline; }
/* Fallback: if no translation sibling exists, keep showing English */
body.zh .lang-en:not(:has(~ .lang-zh)) { display: inline; }
body.de .lang-en:not(:has(~ .lang-de)) { display: inline; }
body.vi .lang-en:not(:has(~ .lang-vi)) { display: inline; }

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

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

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

ul {
    list-style: none;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    display: flex;
    /* no frame: the pill-shaped select carries its own styling (the old 1px
       border came from the retired button-group design) */
    border: none;
    border-radius: 0;
    overflow: visible;
}

.lang-btn {
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.lang-btn + .lang-btn {
    border-left: 1px solid var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background: rgba(26, 92, 56, 0.06);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #2d7a50 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subhead {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
    background: var(--primary);
    color: var(--white);
    padding: 16px 0;
    text-align: center;
}

.urgency-bar p {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #155030;
    transform: translateY(-1px);
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.hero .btn-primary:hover {
    background: var(--gray-100);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    border-color: var(--white);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #43a047;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.footer .btn-outline {
    color: var(--accent);
    border-color: var(--accent);
}

.footer .btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-atlas {
    background: var(--primary);
    color: var(--white);
    width: 100%;
    max-width: 320px;
    margin: 24px auto 0;
    display: flex;
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-atlas:hover {
    background: #155030;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 92, 56, 0.3);
}

/* ===== BENEFITS ===== */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits .section-title {
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.08);
    transform: translateY(-4px);
}

.benefit-icon {
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== SECTION COMMON ===== */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

/* ===== ATLAS ===== */
.atlas {
    padding: 100px 0;
    background: var(--bg);
}

.atlas-label {
    display: table;
    margin: 0 auto 14px;
    padding: 6px 16px;
    border-radius: 999px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: rgba(76, 175, 80, 0.12);
}

.atlas-filters {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 16px;
}

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

.filter-group > label:first-child {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
}

.filter-group select {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text);
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    transition: all 0.2s;
}

.checkbox-label:hover {
    border-color: var(--accent);
}

.checkbox-label input {
    accent-color: var(--primary);
    width: 14px;
    height: 14px;
}

.checkbox-label:has(input:checked) {
    background: rgba(76, 175, 80, 0.08);
    border-color: var(--accent);
}

.advanced-toggle {
    text-align: center;
    margin: 8px 0;
}

.advanced-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.advanced-btn:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.advanced-chevron {
    transition: transform 0.3s;
}

.advanced-btn.active .advanced-chevron {
    transform: rotate(180deg);
}

.advanced-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.advanced-panel.active {
    max-height: 120px;
    padding-top: 16px;
}

.advanced-panel .filter-group {
    max-width: 300px;
}

/* ===== HS CODE LOOKUP ===== */
.hs-code-section {
    padding: 20px 0 16px;
    border-top: 1px solid var(--gray-200);
}

.hs-code-section > label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    display: block;
    margin-bottom: 8px;
}

.hs-input-row {
    display: flex;
    gap: 8px;
    max-width: 360px;
    margin-bottom: 6px;
}

.hs-input-row input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s;
    min-width: 0;
}

.hs-input-row input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.btn-hs-lookup {
    padding: 12px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
}

.btn-hs-lookup:hover {
    background: #155030;
}

.hs-help-text {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

.hs-result {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.hs-success {
    background: rgba(76, 175, 80, 0.06);
    border: 1px solid rgba(76, 175, 80, 0.25);
}

.hs-not-found {
    background: rgba(243, 156, 18, 0.06);
    border: 1px solid rgba(243, 156, 18, 0.25);
    color: #b8860b;
}

.hs-offline {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.hs-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.hs-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: hs-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes hs-spin {
    to { transform: rotate(360deg); }
}

.hs-desc {
    margin-bottom: 8px;
}

.hs-mapped {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.hs-note {
    color: #b8860b;
    font-size: 0.825rem;
    margin-bottom: 4px;
}

.hs-offline-notice {
    margin-bottom: 8px;
    font-style: italic;
}

.hs-manual-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--gray-600);
    text-decoration: underline;
}

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

/* ===== ATLAS RESULTS ===== */
.atlas-results {
    margin-bottom: 0;
}

.atlas-cards:not(:empty) {
    margin-bottom: 48px;
}

.atlas-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--gray-600);
}

.atlas-empty svg {
    color: var(--gray-300);
    margin-bottom: 16px;
}

.atlas-empty p {
    max-width: 480px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

.atlas-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Regulation Result Card */
.reg-result {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 28px 32px;
    transition: box-shadow 0.3s;
}

.reg-result:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.reg-result-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.reg-result-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.reg-result-ref {
    font-weight: 600;
    color: var(--gray-600);
}

.badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-inforce {
    background: rgba(192, 57, 43, 0.1);
    color: var(--risk);
}

.badge-phasing {
    background: rgba(230, 126, 34, 0.1);
    color: var(--orange);
}

.badge-prepare {
    background: rgba(243, 156, 18, 0.1);
    color: #c27c0e;
}

.reg-result-reason {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}

.reg-result-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.reg-section {
    padding: 16px;
    background: var(--gray-100);
    border-radius: 8px;
}

.reg-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.reg-section p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.5;
}

.reg-result-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.reg-result-dates {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.reg-result-dates span {
    white-space: nowrap;
}

.reg-result-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.2s;
}

.reg-result-link:hover {
    color: var(--accent);
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 80px 0;
    background: var(--bg);
}

/* ===== ATLAS TRUST, DISCLAIMER, CTA ===== */
.atlas-trust {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 20px;
}

.atlas-trust h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.atlas-trust p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.atlas-disclaimer {
    background: rgba(243, 156, 18, 0.05);
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 12px;
    padding: 24px 32px;
}

.atlas-disclaimer p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.atlas-cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
    margin-bottom: 60px;
}

.cta-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.cta-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cta-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.cta-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-form {
    display: flex;
    gap: 8px;
}

.cta-form input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    min-width: 0;
}

.cta-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* ===== VOLUNTARY CERTIFICATIONS ===== */
.atlas-voluntary {
    margin-bottom: 32px;
}

.atlas-voluntary h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.voluntary-subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.voluntary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.voluntary-card {
    display: block;
    background: var(--white);
    border: 1px solid rgba(76, 175, 80, 0.25);
    border-radius: 10px;
    padding: 20px 18px;
    transition: all 0.2s ease;
}

.voluntary-card:hover {
    border-color: var(--accent);
    background: rgba(76, 175, 80, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.voluntary-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.voluntary-desc {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ===== CBAM CALCULATOR ===== */
.cbam {
    padding: 100px 0;
    background: linear-gradient(160deg, #00223f 0%, var(--ahk-blue) 100%);
}

.cbam .section-title { color: var(--white); }

.cbam .section-subtitle { color: rgba(255, 255, 255, 0.78); }

.cbam .atlas-label {
    color: var(--ahk-lightblue);
    background: rgba(255, 255, 255, 0.08);
}

.cbam-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
}

.cbam-info-note {
    background: rgba(76, 175, 80, 0.04);
    border: 1px solid rgba(76, 175, 80, 0.15);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.cbam-info-note p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

.cbam-role-selector {
    margin-bottom: 24px;
}

.cbam-role-selector > label:first-child {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    display: block;
    margin-bottom: 10px;
}

.cbam-role-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cbam-role-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.cbam-role-option:hover {
    border-color: var(--gray-300);
}

.cbam-role-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(26, 92, 56, 0.03);
}

.cbam-role-option input[type="radio"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cbam-role-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cbam-role-label strong {
    font-size: 0.95rem;
}

.cbam-role-desc {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.cbam-total-line {
    background: var(--gray-100);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text);
}

.cbam-total-line strong {
    color: var(--primary);
}

.cbam-inputs {
    margin-bottom: 8px;
}

.cbam-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 4px;
}

.cbam-inputs input[type="number"],
.cbam-inputs input[type="text"] {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s;
    width: 100%;
    max-width: 300px;
}

.cbam-inputs input[type="number"]:focus,
.cbam-inputs input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.cbam-param-section {
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid var(--gray-200);
}

.cbam-default-value {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    padding: 8px 12px;
    background: rgba(76, 175, 80, 0.06);
    border-radius: 6px;
    margin-bottom: 8px;
}

.cbam-radio-group {
    flex-direction: column;
}

.cbam-radio-group input[type="radio"] {
    accent-color: var(--primary);
    width: 14px;
    height: 14px;
}

.cbam-result-card {
    margin-top: 24px;
    padding: 24px;
    background: rgba(76, 175, 80, 0.04);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 12px;
}

.cbam-result-card.cbam-error {
    background: rgba(243, 156, 18, 0.06);
    border-color: rgba(243, 156, 18, 0.25);
    color: #b8860b;
    font-size: 0.9rem;
}

.cbam-result-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
}

.cbam-result-metric {
    flex: 1;
    min-width: 180px;
}

.cbam-metric-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.cbam-metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.cbam-cost-highlight {
    color: var(--primary);
}

.cbam-breakdown {
    margin-bottom: 16px;
}

.cbam-breakdown-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.cbam-breakdown table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.cbam-breakdown td {
    padding: 5px 0;
    vertical-align: top;
}

.cbam-breakdown td:nth-child(2) {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    padding-left: 12px;
}

.cbam-formula {
    text-align: right;
    color: var(--gray-600);
    font-size: 0.78rem;
    font-style: italic;
    padding-left: 8px;
    white-space: nowrap;
}

.cbam-row-deduct td:nth-child(2) {
    color: var(--primary);
}

.cbam-row-subtotal td {
    border-top: 1px solid var(--gray-200);
    padding-top: 8px;
}

.cbam-row-total td {
    border-top: 2px solid var(--gray-300);
    padding-top: 8px;
}

.cbam-badge-low {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary);
}

.cbam-badge-medium {
    background: rgba(230, 126, 34, 0.1);
    color: var(--orange);
}

.cbam-badge-high {
    background: rgba(192, 57, 43, 0.1);
    color: var(--risk);
}

.cbam-basis {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.cbam-callout {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cbam-callout-amber {
    background: rgba(243, 156, 18, 0.08);
    border: 1px solid rgba(243, 156, 18, 0.2);
    color: #7d5a00;
}

.cbam-callout-green {
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.2);
    color: var(--primary);
}

.cbam-disclaimer {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.cbam-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.2s;
}

.cbam-cta:hover {
    color: var(--accent);
}

/* ===== CHINA ESG CALLOUT ===== */
.china-esg-section {
    padding: 60px 0;
    background: var(--white);
}

.atlas-china-esg {
    background: rgba(243, 156, 18, 0.06);
    border: 1px solid rgba(243, 156, 18, 0.25);
    border-radius: 12px;
    padding: 28px 32px;
}

.atlas-china-esg h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #b8860b;
    margin-bottom: 10px;
}

.atlas-china-esg p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 14px;
}

.china-esg-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b8860b;
    transition: color 0.2s;
}

.china-esg-link:hover {
    color: var(--orange);
}

/* ===== RISKS & INCENTIVES ===== */
.risks-incentives {
    padding: 100px 0;
    background: var(--white);
}

.ri-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.ri-column {
    padding: 40px;
    border-radius: 16px;
}

.ri-risks {
    background: rgba(192, 57, 43, 0.04);
    border: 1px solid rgba(192, 57, 43, 0.12);
}

.ri-incentives {
    background: rgba(76, 175, 80, 0.04);
    border: 1px solid rgba(76, 175, 80, 0.12);
}

.ri-column h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.ri-risks h3 {
    color: var(--risk);
}

.ri-incentives h3 {
    color: var(--primary);
}

.ri-column ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ri-column li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ri-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.ri-icon-risk {
    background: rgba(192, 57, 43, 0.1);
    color: var(--risk);
}

.ri-icon-incentive {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary);
}

.ri-column li strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.ri-column li p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ===== STRATEGIC ACTIONS ===== */
.actions {
    padding: 100px 0;
    background: var(--bg);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.action-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.action-card:hover::before {
    opacity: 1;
}

.action-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 20px;
}

.action-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary);
}

.action-card p {
    font-size: 0.925rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== CASE STUDIES ===== */
.case-studies {
    padding: 100px 0;
    background: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.case-card {
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.case-stat {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.case-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.case-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.case-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.925rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.footer-contact a {
    color: var(--accent);
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-info address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-partners {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-bottom: 40px;
}

.footer-partners > p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.partner-placeholder {
    width: 140px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .benefits-grid,
    .actions-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .atlas-cta {
        grid-template-columns: 1fr;
    }

    .voluntary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .lang-toggle {
        margin-right: 0;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .benefits-grid,
    .actions-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .filters-row {
        grid-template-columns: 1fr;
    }

    .hs-input-row {
        max-width: 100%;
    }

    .cbam-panel {
        padding: 24px 20px;
    }

    .cbam-inputs-grid {
        grid-template-columns: 1fr;
    }

    .cbam-role-options {
        grid-template-columns: 1fr;
    }

    .cbam-result-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .cbam-formula {
        display: none;
    }

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

    .atlas-filters {
        padding: 24px 20px;
    }

    .reg-result {
        padding: 20px;
    }

    .reg-result-header {
        flex-direction: column;
        gap: 8px;
    }

    .reg-result-sections {
        grid-template-columns: 1fr;
    }

    .reg-result-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .ri-column {
        padding: 24px;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

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

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn:not(.btn-sm) {
        width: 100%;
    }

    .case-stat {
        font-size: 2.75rem;
    }

    .checkbox-group {
        flex-direction: column;
    }
}

/* ===== COMPASS WIZARD ===== */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 4px;
    font-family: inherit;
    color: var(--gray-600);
    cursor: default;
}

.wizard-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--white);
    transition: all 0.25s ease;
}

.wizard-step-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.wizard-step.active {
    color: var(--primary);
}

.wizard-step.active .wizard-step-num {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.wizard-step.done {
    color: var(--primary);
    cursor: pointer;
}

.wizard-step.done .wizard-step-num {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26, 92, 56, 0.08);
}

.wizard-bar {
    width: 48px;
    height: 2px;
    background: var(--gray-300);
    flex: none;
}

.wizard-pane {
    display: none;
}

.wizard-pane.active {
    display: block;
    animation: wizardFade 0.35s ease;
}

@keyframes wizardFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .wizard-pane.active { animation: none; }
}

.wizard-question {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.wizard-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.wizard-cat {
    padding: 14px 12px;
    border: 1.5px solid var(--gray-300);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    transition: all 0.2s ease;
}

.wizard-cat:hover {
    border-color: var(--accent);
}

.wizard-cat.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.wizard-hidden-select {
    display: none;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.wizard-nav .btn-atlas {
    width: auto;
    margin-top: 0;
}

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

.wizard-role-row {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
}

.wizard-attention {
    outline: 2px solid var(--risk);
    outline-offset: 4px;
    border-radius: 8px;
}

/* ===== COMPASS RESULT GROUPS ===== */
.compass-group {
    margin-bottom: 36px;
}

.compass-group-header {
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-200);
}

.compass-group-header h3 {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.compass-group-header p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

@media (max-width: 640px) {
    .wizard-bar { width: 20px; }
    .wizard-step-label { display: none; }
    .wizard-role-row { grid-template-columns: 1fr; }
}

/* ===== BRIEF FORM CONSENT ===== */
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--gray-600);
    cursor: pointer;
    margin: 10px 0 4px;
    text-align: left;
}

.consent-label input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--primary);
    flex: none;
}

.brief-msg {
    color: var(--risk);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}

/* ===== DEADLINE RADAR ===== */
.radar {
    padding: 80px 0;
    background: var(--gray-100);
}

.radar-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.radar-col {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
}

.radar-col-header {
    padding: 16px 18px 14px;
    color: var(--white);
}

.radar-col-soon .radar-col-header { background: var(--risk); }
.radar-col-near .radar-col-header { background: var(--orange); }
.radar-col-far .radar-col-header  { background: var(--primary); }

.radar-col-header h3 {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.radar-col-header p {
    font-size: 0.78rem;
    opacity: 0.88;
    margin-top: 2px;
}

.radar-col-items {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radar-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 12px;
    background: var(--white);
}

.radar-days-chip {
    flex: none;
    min-width: 54px;
    text-align: center;
    border-radius: 8px;
    padding: 6px 4px;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    background: var(--gray-100);
}

.radar-days-chip strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.2;
    color: var(--text);
}

.radar-col-soon .radar-days-chip { background: rgba(192, 57, 43, 0.08); }
.radar-col-soon .radar-days-chip strong { color: var(--risk); }
.radar-col-near .radar-days-chip { background: rgba(230, 126, 34, 0.1); }
.radar-col-near .radar-days-chip strong { color: var(--orange); }
.radar-col-far .radar-days-chip { background: rgba(26, 92, 56, 0.08); }
.radar-col-far .radar-days-chip strong { color: var(--primary); }

.radar-label {
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.4;
}

.radar-meta {
    font-size: 0.76rem;
    color: var(--gray-600);
    margin-top: 2px;
}

.radar-affects {
    font-size: 0.76rem;
    color: var(--gray-600);
    font-style: italic;
    margin-top: 2px;
}

.radar-expected {
    color: var(--orange);
    font-weight: 700;
}

@media (max-width: 900px) {
    .radar-list { grid-template-columns: 1fr; }
}

/* ===== WEEKLY BRIEFING ===== */
.briefing {
    padding: 80px 0;
}

.briefing-list {
    margin-bottom: 32px;
}

.briefing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 22px;
}

.briefing-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.briefing-pillar {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(26, 92, 56, 0.08);
    border-radius: 999px;
    padding: 4px 10px;
}

.briefing-pillar-china-hk { color: #8e44ad; background: rgba(142, 68, 173, 0.08); }
.briefing-pillar-explainer { color: var(--orange); background: rgba(230, 126, 34, 0.08); }
.briefing-pillar-germany { color: #2c3e50; background: rgba(44, 62, 80, 0.08); }

.briefing-date {
    font-size: 0.78rem;
    color: var(--gray-600);
}

.briefing-card h3 {
    font-size: 1.02rem;
    line-height: 1.4;
    margin-bottom: 14px;
}

.briefing-row {
    margin-bottom: 10px;
}

.briefing-row-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 2px;
}

.briefing-row p {
    font-size: 0.86rem;
    line-height: 1.55;
}

.briefing-subscribe {
    text-align: center;
}

@media (max-width: 768px) {
    .briefing-list { grid-template-columns: 1fr; }
}

/* ===== HERO NEWS TICKER ===== */
.ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.ticker-badge {
    flex: none;
    display: flex;
    align-items: center;
    background: var(--risk);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 12px 16px;
    white-space: nowrap;
}

.ticker-viewport {
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    padding-left: 28px;
    width: max-content;
    animation: tickerScroll 50s linear infinite;
}

.ticker-viewport:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.92;
}

.ticker-item:hover {
    text-decoration: underline;
    opacity: 1;
}

.ticker-sep {
    color: var(--accent);
    font-size: 0.5rem;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .ticker-viewport { overflow-x: auto; }
}

/* ===== GUIDED START ===== */
.start {
    padding: 80px 0 64px;
    background:
        linear-gradient(115deg, rgba(204, 215, 230, 0.35) 0%, rgba(204, 215, 230, 0) 42%),
        linear-gradient(245deg, rgba(204, 215, 230, 0.28) 0%, rgba(255, 255, 255, 0) 38%),
        var(--white);
}

.start-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.start-card {
    position: relative;
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--accent);
    border-radius: 12px;
    padding: 24px 22px 44px;
    transition: all 0.25s ease;
}

.start-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.start-card-compass { border-top-color: var(--primary); }
.start-card-cbam    { border-top-color: var(--ahk-blue); }
.start-card-radar   { border-top-color: var(--orange); }
.start-card-news    { border-top-color: var(--risk); }

.start-icon {
    color: var(--primary);
    margin-bottom: 14px;
}

.start-card h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.start-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.start-arrow {
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.25s ease;
}

.start-card:hover .start-arrow {
    transform: translateX(4px);
}

.start-help {
    text-align: center;
    margin-top: 28px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.start-help a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .start-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .start-grid { grid-template-columns: 1fr; }
}

/* ===== BRIEFING FLASH (ticker jump highlight) ===== */
.briefing-flash {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 12px;
}

/* ===== AHK CI: NAV LOGO ===== */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

/* ===== HERO SPLIT LAYOUT ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-subline-bar {
    width: 64px;
    height: 5px;
    background: var(--accent);
    margin: 4px 0 22px;
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-image img { max-height: 260px; }
}

/* ===== ABOUT THE COMMITTEE ===== */
.about {
    padding: 100px 0;
    background: var(--gray-100);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 48px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 18px;
}

.about-text .btn {
    margin-top: 8px;
}

.about-photo {
    margin: 0;
}

.about-photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.about-photo figcaption {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 10px;
    text-align: center;
}

.about-members h3 {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.member-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.member-logo {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-logo img {
    height: auto;
    width: auto;
    max-height: 64px;
    max-width: 150px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER MEMBER CHIPS ===== */
.partner-logo-chip {
    background: var(--white);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
}

.partner-logo-chip img {
    height: auto;
    width: auto;
    max-height: 36px;
    max-width: 100px;
    object-fit: contain;
}

/* ===== NAV TIGHTENING (slim 6-item nav) ===== */
.nav-links a {
    white-space: nowrap;
}

/* ===== BRIEFING: NEWSPAPER STYLE ===== */
.briefing {
    background: #fbfaf6;
}

.briefing-masthead {
    text-align: center;
    border-top: 3px double var(--text);
    border-bottom: 1px solid var(--text);
    padding: 20px 0 14px;
    margin-bottom: 0;
}

.briefing-masthead-kicker {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.briefing-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.briefing-dateline {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-600);
    border-top: 1px solid var(--gray-300);
    margin-top: 12px;
    padding-top: 8px;
}

.briefing-columns {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 0;
    border-bottom: 1px solid var(--text);
    margin-bottom: 32px;
}

.briefing-lead {
    padding: 28px 32px 28px 0;
}

.briefing-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--risk);
    margin-bottom: 8px;
}

.briefing-lead h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.25;
    margin-bottom: 16px;
}

.briefing-secondary {
    border-left: 1px solid var(--gray-300);
    padding: 10px 0 10px 32px;
    column-count: 2;
    column-gap: 32px;
    column-rule: 1px solid var(--gray-300);
}

.briefing-item {
    break-inside: avoid;
}

.briefing-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-300);
}

.briefing-item:last-child {
    border-bottom: none;
}

.briefing-item h4 {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

.briefing-item-text {
    font-size: 0.87rem;
    line-height: 1.55;
    color: var(--text);
}

.briefing-item-action {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--gray-600);
    margin-top: 8px;
}

@media (max-width: 900px) {
    .briefing-columns { grid-template-columns: 1fr; }
    .briefing-lead { padding-right: 0; }
    .briefing-secondary { border-left: none; border-top: 3px double var(--gray-300); padding-left: 0; column-count: 1; }
}

/* ===== HERO EYEBROW ===== */
.hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 18px;
}

/* ===== SECTION ICONS ===== */
.section-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 92, 56, 0.08);
    color: var(--primary);
}

.cbam .section-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ahk-lightblue);
}

.section-icon svg { width: 40px; height: 40px; }

/* ===== RADAR LINKS ===== */
a.radar-item-link {
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.radar-item-link:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.radar-arrow {
    align-self: center;
    margin-left: auto;
    color: var(--primary);
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease;
}

a.radar-item-link:hover .radar-arrow { opacity: 1; }

.reg-result-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* ===== BRIEFING SOURCE LINKS ===== */
.briefing-sources {
    font-size: 0.76rem;
    color: var(--gray-600);
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dotted var(--gray-300);
}

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

.briefing-sources a:hover {
    text-decoration: underline;
}

/* ===== SECTION HEAD WITH LARGE GRAPHIC ===== */
.section-head {
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: 880px;
    margin: 0 auto 44px;
}

.section-graphic {
    flex: none;
    width: 150px;
    height: 150px;
}

.section-head-text .atlas-label {
    display: inline-block;
    margin: 0 0 12px;
}

.section-head-text .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.section-head-text .section-subtitle {
    text-align: left;
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .section-head {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .section-graphic { width: 110px; height: 110px; }
    .section-head-text .section-title,
    .section-head-text .section-subtitle { text-align: center; }
}

/* ===== BRIEFING: LOCKED CARDS, IMAGES, LINKS ===== */
.briefing-title-link {
    color: inherit;
}

.briefing-title-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.briefing-lead-img {
    display: block;
    margin: 4px 0 16px;
}

.briefing-lead-img img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

.briefing-thumb {
    display: block;
    float: right;
    width: 86px;
    height: 64px;
    margin: 0 0 8px 12px;
}

.briefing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.briefing-lock-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(26, 92, 56, 0.08);
    border-radius: 999px;
    padding: 7px 14px;
    margin-top: 10px;
}

.briefing-lock-cta:hover {
    background: rgba(26, 92, 56, 0.14);
}

.briefing-lock-premium {
    color: var(--ahk-blue);
    background: rgba(0, 51, 102, 0.08);
}

.briefing-lock-premium:hover {
    background: rgba(0, 51, 102, 0.14);
}

.briefing-locked .briefing-item-text {
    color: var(--gray-600);
}

.briefing-readmore {
    margin-top: 10px;
    font-size: 0.84rem;
    font-weight: 700;
}

.briefing-readmore a {
    color: var(--primary);
}

.briefing-readmore a:hover {
    text-decoration: underline;
}

/* ===== NAV SIGN-IN ===== */
.nav-signin {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 999px;
    padding: 6px 16px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-signin:hover {
    background: var(--primary);
    color: var(--white);
}

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

/* ===== REVIEW FIXES ===== */
.nav-signin-mobile { display: none; }

@media (max-width: 768px) {
    .nav-signin-mobile { display: block; }
    .nav-signin-mobile a { color: var(--primary); font-weight: 700; }
}

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

.ticker-paused .ticker-track { animation-play-state: paused; }

.ticker-badge { cursor: pointer; }

.cbam-volume-hint {
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
    font-weight: 600;
    color: var(--primary);
    background: rgba(40, 173, 132, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
}

.hero-image img { aspect-ratio: 3 / 2; }

.briefing-lead-img { aspect-ratio: 2.2 / 1; overflow: hidden; border-radius: 8px; }

.briefing-lead-img img { height: 100%; max-height: none; }

.about-photo img { aspect-ratio: auto; }

/* ===== RECENCY BADGES ===== */
.reg-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.badge-recency-new {
    background: rgba(40, 173, 132, 0.15);
    color: #157a5b;
}

.badge-recency-upd {
    background: rgba(222, 135, 3, 0.14);
    color: #a86503;
}

/* ===== BRIEFING PRIMARY COLUMN (lead + follow-up items) ===== */
.briefing-primary {
    padding: 0 32px 10px 0;
}

.briefing-primary .briefing-lead {
    padding: 28px 0 10px;
}

.briefing-primary > .briefing-item {
    border-top: 1px solid var(--gray-300);
    border-bottom: none;
}


/* ===== LANGUAGE PICKER (4 languages) ===== */
.lang-toggle select {
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    border: 1.5px solid var(--primary);
    border-radius: 999px;
    padding: 6px 12px;
    background: var(--primary);
    cursor: pointer;
}

.lang-toggle select:focus-visible {
    outline: 3px solid var(--accent);
}

/* ===== MEMBER RESOURCE LIBRARY ===== */
.library {
    padding: 90px 0;
    background: linear-gradient(180deg, #eef3f9 0%, #f7f9fc 100%);
    border-top: 3px solid var(--ahk-blue);
}

.library .section-icon {
    background: rgba(0, 51, 102, 0.08);
    color: var(--ahk-blue);
}

.library .atlas-label {
    color: var(--ahk-blue);
    background: rgba(0, 51, 102, 0.08);
}

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

.library-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--ahk-blue);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.library-card .briefing-kicker {
    color: var(--ahk-blue);
}

.library-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.35;
}

.library-card .briefing-item-text {
    flex: 1;
}

.library-locked h3,
.library-locked .briefing-item-text {
    opacity: 0.75;
}

.library-read {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ahk-blue);
}

.library-read:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .library-grid { grid-template-columns: 1fr; }
}

/* ===== MEMBER-LOCKED BUTTONS ===== */
.member-locked-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ahk-blue);
    background: rgba(0, 51, 102, 0.08);
    border-radius: 999px;
    padding: 9px 18px;
}

.member-locked-btn:hover {
    background: rgba(0, 51, 102, 0.14);
}

.radar-actions {
    text-align: center;
    margin-top: 26px;
}

.radar-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cbam-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.cbam-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== PRINT: BUYER-READY CBAM REPORT ===== */
@media print {
    body * { visibility: hidden; }
    #cbamResult, #cbamResult * { visibility: visible; }
    #cbamResult { position: absolute; top: 60px; left: 0; width: 100%; }
    #cbamResult::before {
        content: "ESG Sourcing Hub · GCC ESG Committee · CBAM Cost Estimate · info@hongkong.ahk.de";
        visibility: visible;
        display: block;
        font-weight: 700;
        font-size: 12pt;
        border-bottom: 2px solid #1a5c38;
        padding-bottom: 8px;
        margin-bottom: 16px;
    }
    .cbam-actions, .cbam-cta { display: none !important; }
}
