/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--color-white);
}

:root {
    /* Colors */
    --color-primary: #355cde;
    --color-primary-dark: #182537;
    --color-primary-darker: #101828;
    --color-primary-darkest: #1b273f;
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5dc;
    --color-gray-400: #99a1af;
    --color-gray-500: #6a7282;
    --color-gray-600: #4a5565;
    --color-gray-700: #272d35;
    --color-gray-800: #364153;
    --color-gray-900: #1e2939;
    
    /* Status Colors */
    --color-success: #00bba7;
    --color-success-dark: #00786f;
    --color-info: #2b7fff;
    --color-warning: #ff8904;
    --color-warning-dark: #ca3500;
    --color-error: #ff2727;
    
    /* Typography */
    --font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --font-size-5xl: 42px;
    --font-size-6xl: 48px;
    --font-size-7xl: 60px;
    --font-size-8xl: 72px;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;
    --spacing-5xl: 128px;
    
    /* Layout */
    --container-max-width: 1280px;
    --container-padding: 116px;
    --section-padding: var(--spacing-4xl);
    
    /* Border Radius */
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-full: 0;
    
    /* Shadows */
    --shadow-sm: 0px 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Blog detail: use clip so position:sticky on sidebar works (overflow-x: hidden can break sticky in Chrome) */
html:has(body.blog-detail-page),
body.blog-detail-page {
    overflow-x: clip;
}

/* Terms/Privacy: same fix so .privacy-sidebar sticky works (overflow-x: hidden on html/body breaks it) */
html:has(.privacy-content),
body:has(.privacy-content) {
    overflow-x: clip;
}

/* Help Centre: same fix so .help-sidebar sticky works */
html:has(body.help-center-page),
body.help-center-page {
    overflow-x: clip;
}

/* Glossary: same fix so .glossary-alphabet-section sticky works */
html:has(body.glossary-page),
body.glossary-page {
    overflow-x: clip;
}

/* Service pages (Submit & Settle, etc.): same fix so .taxpay-outcomes-content sticky works */
html:has(body.service-page),
body.service-page,
html:has(body.page-template-page-submit-settle),
body.page-template-page-submit-settle,
html:has(body.page-template-page-submit-settle-php),
body.page-template-page-submit-settle-php {
    overflow-x: clip;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

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

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-primary-darker);
}

h1 {
    font-size: var(--font-size-7xl);
}

h2 {
    font-size: var(--font-size-6xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.25;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
    height: 65px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: #1F3A8C;
    border-color: #1F3A8C;
}

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

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

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

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

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

.btn-outline-dark:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    border-color: var(--color-primary-dark);
}

.btn-large {
    padding: 18px 24px;
    font-size: var(--font-size-lg);
}

.btn img {
    width: 16px;
    height: 16px;
}

.btn-arrow {
    width: 16px;
    height: 16px;
    display: block;
}

.btn-outline-dark .btn-arrow,
.btn-outline-white:hover .btn-arrow {
    filter: brightness(0) saturate(100%) invert(14%) sepia(13%) saturate(1026%) hue-rotate(178deg) brightness(94%) contrast(90%);
}

.btn-outline-dark:hover .btn-arrow {
    filter: none;
}

.btn-wide {
    width: 271px;
    justify-content: center;
}

/* Header */
.header {
    background-color: var(--color-primary-dark);
    padding: var(--spacing-lg) var(--container-padding);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transform: translateY(0) translateZ(0);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out, padding 0.3s ease-in-out;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    min-height: 84px; /* Prevent height shifts */
}

.header.header-hidden {
    transform: translateY(-100%) translateZ(0);
}

/* Compact header when scrolling up */
.header.header-compact {
    padding: var(--spacing-md) var(--container-padding);
    min-height: 70px;
}

.header-compact .header-container {
    min-height: 32px;
}

.header-compact .logo-img {
    height: 32px;
    transition: height 0.3s ease-in-out;
}

.header-compact .nav-item,
.header-compact .nav-link {
    font-size: var(--font-size-base);
    transition: font-size 0.3s ease-in-out;
}

.header-compact .btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    transition: padding 0.3s ease-in-out, font-size 0.3s ease-in-out;
}

.header-compact .btn-primary {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

/* Glass morphism effect when scrolled */
.header.header-scrolled {
    background-color: rgba(24, 37, 55, 0.85); /* Semi-transparent version of primary-dark */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    min-height: 36px; /* Match logo height to prevent shifts */
    transition: min-height 0.3s ease-in-out;
}

.logo {
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    display: inline-flex;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    flex-shrink: 0;
    transition: height 0.3s ease-in-out;
}

.logo-img.logo-default {
    transition: opacity 0.2s ease-in-out, height 0.3s ease-in-out;
}

.logo-img.logo-hover {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, height 0.3s ease-in-out;
}

.header .logo:hover .logo-default {
    opacity: 0;
}

.header .logo:hover .logo-hover {
    opacity: 1;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-group {
    position: static;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-white);
    font-size: var(--font-size-lg);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1.5;
    white-space: nowrap;
    position: relative;
    transition: opacity 0.2s ease-in-out;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: calc(-1.6 * var(--spacing-lg));
    left: 50%;
    width: 0;
    height: 6px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
    z-index: 1;
}


.nav-item:hover {
    opacity: 1;
}

.nav-item:hover::before {
    width: 100%;
}

.nav-item-group:hover .nav-item::before,
.nav-item-group.open .nav-item::before {
    width: 100%;
}

.nav-icon {
    width: 10px;
    height: 6px;
}

.nav-item-group:hover .nav-icon,
.nav-item-group.open .nav-icon {
    transform: rotate(180deg);
    transition: transform 0.2s ease-in-out;
}

.mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-lg);
    padding: 0 var(--container-padding);
    display: none;
    z-index: 999;
}

.nav-item-group:hover .mega-menu,
.nav-item-group.open .mega-menu {
    display: block;
}

.mega-menu-inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: minmax(220px, var(--mega-intro-width, 260px)) repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mega-menu-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 8px;
}

.mega-intro-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-gray-500);
}

.mega-intro-title {
    font-size: var(--font-size-2xl);
    color: var(--color-primary-darker);
    font-weight: 500;
}

.mega-intro-text {
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-600);
}

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

.mega-title {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-gray-500);
}

.mega-link {
    font-size: var(--font-size-base);
    color: var(--color-primary-darker);
    transition: color 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.mega-link-title {
    font-size: var(--font-size-base);
    color: inherit;
}

.mega-link-text {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    line-height: 1.4;
}

.nav-link {
    color: var(--color-white);
    font-size: var(--font-size-lg);
    line-height: 1.5;
    white-space: nowrap;
    position: relative;
    transition: opacity 0.2s ease-in-out;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: calc(-1.6 * var(--spacing-lg));
    left: 50%;
    width: 0;
    height: 6px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
    z-index: 1;
}


.nav-link:hover {
    opacity: 1;
}

.nav-link:hover::before {
    width: 100%;
}

/* Keep blue bar active when we're on this page or in this section */
.nav-list .current-menu-item > .nav-link::before,
.nav-list .current-menu-ancestor.nav-item-group .nav-item::before,
.nav-list .nav-item-group.is-current-section .nav-item::before,
body.in-resources-section .nav-item-group-resources .nav-item::before,
body.in-services-section .nav-item-group-services .nav-item::before,
body.in-solutions-section .nav-item-group-solutions .nav-item::before,
body.in-about-section .nav-link-about::before,
body.in-contact-section .nav-link-contact::before {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.mobile-header-tools {
    display: none;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
}

.lang-dropdown {
    position: relative;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.lang-icon {
    width: 22px;
    height: 22px;
}

.lang-arrow {
    width: 7px;
    height: 4px;
}

.lang-dropdown:hover .lang-arrow,
.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
    transition: transform 0.2s ease-in-out;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 110px;
    width: 110px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    display: none;
    z-index: 1105;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown.open .lang-menu {
    display: block;
}

@media (max-width: 1024px) {
    .lang-dropdown:hover .lang-menu {
        display: none;
    }

    .lang-dropdown.open .lang-menu {
        display: block;
    }
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    font-size: var(--font-size-sm);
    color: var(--color-primary-darker);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.lang-option:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

@media (min-width: 769px) {
    .header .lang-menu {
        position: fixed;
        top: auto;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease-in-out;
    transform-origin: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 6px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 6px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
}

/* Mobile Menu Container */
.mobile-menu-container {
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-container.active {
    display: block;
}

/* Show mobile menu on tablet and below */
@media (max-width: 1024px) {
    :root {
        --mobile-menu-top: 68px;
        --section-padding: 60px; /* Reduced from 96px for mobile */
    }

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

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: var(--mobile-menu-top);
        left: 0;
        right: 0;
        height: calc(100vh - var(--mobile-menu-top));
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        z-index: 999;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-container {
        display: block;
        position: fixed;
        top: var(--mobile-menu-top);
        right: 0;
        width: 320px;
        max-width: 85vw;
        height: calc(100vh - var(--mobile-menu-top));
        background-color: var(--color-primary-dark);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: none;
    }

    .mobile-menu-container.active {
        transform: translateX(0);
    }
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: 24px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    min-height: 100%;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-list > li:last-child {
    border-bottom: none !important;
}

.mobile-nav-list > li:last-of-type {
    border-bottom: none !important;
}

.mobile-nav-item,
.mobile-nav-link {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    padding: 16px 0;
    border-bottom: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;
}

.mobile-nav-item:hover,
.mobile-nav-link:hover {
    opacity: 0.8;
}

.mobile-nav-item {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.mobile-nav-item .nav-icon {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.mobile-nav-item[aria-expanded="true"] .nav-icon {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    padding: var(--spacing-sm) 0 var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-submenu.open {
    display: block;
}

.mobile-submenu-group {
    margin-bottom: var(--spacing-md);
}

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

.mobile-submenu-title {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-gray-400);
    margin-bottom: var(--spacing-sm);
}

.mobile-submenu-link {
    display: block;
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-base);
    padding: 10px 0;
    opacity: 0.9;
}

.mobile-submenu-link:hover {
    opacity: 1;
}

.mobile-header-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    margin-top: 24px;
}

.mobile-header-actions .lang-dropdown {
    width: 100%;
}

.mobile-header-actions .lang-selector {
    justify-content: space-between;
    width: 100%;
}

.mobile-header-actions .lang-menu {
    position: static;
    margin-top: var(--spacing-sm);
    width: 100%;
    border-radius: 6px;
}

.mobile-header-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    min-height: 52px;
    transition: all 0.2s ease;
}

.mobile-header-actions .btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mobile-header-actions .btn-primary:hover,
.mobile-header-actions .btn-primary:active {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(53, 92, 222, 0.15);
}

.mobile-header-actions .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.mobile-header-actions .btn-outline:hover,
.mobile-header-actions .btn-outline:active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #182537 0%, #324d71 100%);
    padding-top: 140px;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    min-height: 720px;
    margin-top: 0;
}

/* Full-bleed breakout when hero is inside constrained post-content (match html/index.html) */
main .hero,
.wp-block-post-content .hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    padding-bottom: 80px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.2);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 584px 1fr;
    gap: 0;
    align-items: start;
    padding-top: 0;
    z-index: 1;
}

.hero-content {
    z-index: 1;
    padding-top: 30px;
}

.hero-title {
    font-size: 55px;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: -1.5px;
    max-width: 720px;
}

.hero-description {
    font-size: 20px;
    line-height: 1.625;
    color: var(--color-white);
    margin-bottom: 45px;
    max-width: 556px;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-badge-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.hero-actions {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.hero-actions-group {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
}

.hero-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 12px 0 8px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.trust-icon {
    width: 16px;
    height: 16px;
}

.hero-visual {
    position: relative;
    z-index: 1;
    padding-left: 127px;
    padding-top: 50px;
}

.hero-bg {
    position: absolute;
    top: -5%;
    right: -200px;
    width: 50vw;
    height: 110%;
    object-fit: cover;
    object-position: right center;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.02);
    animation: heroBgFloat 12s ease-in-out infinite;
}

@keyframes heroBgFloat {
    0%, 100% {
        transform: translateY(0) scale(1.02);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.dashboard-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    padding: 0;
    width: 448px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: dashboardCardFadeIn 0.6s ease-out forwards;
    z-index: 2;
}

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

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 20px;
    border-bottom: 1px solid var(--color-gray-200);
    gap: 12px;
    opacity: 0;
    animation: dashboardElementFadeIn 0.5s ease-out forwards;
    animation-delay: 0.2s;
}

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

.dashboard-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0;
    line-height: 16px;
}

.dashboard-subtitle {
    font-size: 12px;
    color: var(--color-gray-500);
    line-height: 16px;
    margin-top: 0;
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6a7282;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
}

.pulse-dot {
    animation: pulseDot 1.6s ease-in-out infinite;
}

.status-dot.status-green {
    background-color: var(--color-success);
}

.dashboard-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    margin-bottom: 0;
    gap: 24px;
    opacity: 0;
    animation: dashboardElementFadeIn 0.5s ease-out forwards;
    animation-delay: 0.35s;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary-darker);
    line-height: 32px;
    letter-spacing: 0.0703px;
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-success);
}

.stat-badge img {
    width: 16px;
    height: 16px;
}

.dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.dashboard-item {
    padding: 28px 32px;
    border-bottom: 1px solid #f3f4f6;
    opacity: 0;
    animation: dashboardItemFadeIn 0.5s ease-out forwards;
}

.dashboard-item:nth-child(1) {
    animation-delay: 0.5s;
}

.dashboard-item:nth-child(2) {
    animation-delay: 0.65s;
}

.dashboard-item:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes dashboardItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-item:last-child {
    border-bottom: none;
    padding-bottom: 28px;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.item-header-left {
    flex: 0 0 120px;
}

.item-amount-col {
    flex: 0 0 90px;
}

.item-header .item-status {
    flex: 0 0 auto;
    margin-left: auto;
}

.item-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.item-country-chevron {
    font-size: 18px;
    font-weight: 400;
    color: #4a5565;
    line-height: 1;
    flex-shrink: 0;
}

.item-country {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary-darker, #101828);
    line-height: 1.3;
}

.item-amount-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.item-amount-col .item-amount {
    font-weight: 700;
    color: var(--color-primary-darker, #101828);
    font-size: 14px;
    text-align: left;
}

.country-badge {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    color: #364153;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-darker);
    margin-bottom: 0;
    line-height: 20px;
    letter-spacing: -0.1504px;
}

.item-amount {
    font-size: 14px;
    line-height: 20px;
}

.item-status {
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    color: #fff;
}

.item-status .status-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.item-status.status-completed {
    background: rgba(0, 130, 54, 0.1);
}

.item-status.status-completed span {
    color: #008236;
}

.item-status.status-completed .status-icon {
    filter: brightness(0) saturate(100%);
}

.item-status.status-pending-payment {
    background: rgba(20, 71, 230, 0.3);
}

.item-status.status-pending-payment span {
    color: #1447e6;
}

.item-status.status-pending-payment .status-icon {
    filter: brightness(0) saturate(100%);
}

.item-status.status-pending-submission {
    background: rgba(230, 126, 34, 0.3);
}

.item-status.status-pending-submission span {
    color: #e67e22;
}

.item-status.status-pending-submission .status-icon {
    filter: brightness(0) saturate(100%);
}

.item-progress {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #f3f4f6;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 9999px;
    width: 0;
    transition: width 1s ease-out;
}

.progress-fill.progress-green {
    background-color: #00c950;
}

.progress-fill.progress-blue {
    background-color: var(--color-info);
}

.progress-fill.progress-gray {
    background-color: var(--color-gray-300);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6a7282;
    margin-bottom: 4px;
}

.progress-info span:last-child {
    font-weight: 500;
    color: #4a5565;
}

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    padding: 24px 32px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #4a5565;
    line-height: 16px;
    background: #f9fafb;
    opacity: 0;
    animation: dashboardElementFadeIn 0.5s ease-out forwards;
    animation-delay: 0.95s;
}

.metric-card {
    position: absolute;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    padding: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    opacity: 0;
    animation: metricCardFadeIn 0.6s ease-out forwards;
}

@keyframes metricCardFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Floating animation - starts after fade-in completes */
@keyframes metricCardFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-8px) translateX(3px);
    }
}

.metric-card-1 {
    animation: metricCardFadeIn 0.6s ease-out forwards,
               metricCardFloat 6s ease-in-out infinite;
    animation-delay: 0.2s, 0.8s;
    will-change: transform;
}

.metric-card-2 {
    animation: metricCardFadeIn 0.6s ease-out forwards,
               metricCardFloat 5.5s ease-in-out infinite;
    animation-delay: 0.4s, 1.0s;
    will-change: transform;
}

.metric-card-3 {
    animation: metricCardFadeIn 0.6s ease-out forwards,
               metricCardFloat 7s ease-in-out infinite;
    animation-delay: 0.6s, 1.2s;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .metric-card,
    .dashboard-card,
    .dashboard-header,
    .dashboard-stats,
    .dashboard-item,
    .dashboard-footer,
    .taxpay-hero-form {
        animation: none;
        opacity: 1;
    }
    
    .progress-fill {
        transition: none;
    }

    .hero-bg {
        animation: none;
    }

    .platform-card,
    .payment-cards,
    .compliance-card,
    .platform-card-header,
    .platform-card-tabs,
    .platform-card-header-row,
    .platform-card-entries,
    .platform-card-summary,
    .platform-card-content,
    .platform-card-documents-section,
    .platform-card-footer,
    .payment-card,
    .compliance-header,
    .compliance-metrics,
    .compliance-alerts,
    .transaction-queue,
    .queue-header,
    .queue-table,
    .queue-footer,
    .pulse-dot,
    .pulse-indicator,
    .step-visual-card,
    .step-visual-card-header,
    .step-visual-section-title,
    .step-visual-stats,
    .step-visual-list,
    .step-visual-split,
    .step-visual-alerts,
    .step-visual-footer {
        animation: none;
        opacity: 1;
    }
}

.metric-card-1 {
    top: 14px;
    left: 266px;
    width: 181.602px;
    height: 70px;
}

.metric-card-2 {
    top: 236.75px;
    left: 510px;
    width: 149.672px;
    height: 62px;
}

.metric-card-3 {
    top: 482px;
    left: 58px;
    width: 173px;
}

.metric-card-1 {
    padding: 13px 17px;
    gap: 12px;
}

.metric-card-2 {
    padding: 9px 13px;
    gap: 8px;
}

.metric-card-3 {
    padding: 13px 17px;
    gap: 12px;
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-card-2 .metric-icon {
    width: 32px;
    height: 32px;
}

.metric-icon-green {
    background-color: #f0fdf4;
}

.metric-icon-blue {
    background-color: #eff6ff;
}

.metric-icon-purple {
    background-color: #faf5ff;
}

.metric-icon img {
    width: 20px;
    height: 20px;
}

.metric-card-2 .metric-icon img {
    width: 16px;
    height: 16px;
}

.metric-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary-darker);
    line-height: 28px;
    letter-spacing: -0.4492px;
    margin-bottom: 0;
}

.metric-card-2 .metric-value {
    font-size: 18px;
    letter-spacing: -0.4395px;
}

.metric-label {
    font-size: 12px;
    color: #6a7282;
    line-height: 16px;
}

/* Trust Bar */
.trust-bar {
    background: var(--color-white);
    margin-top: 0;
    padding: var(--spacing-4xl) var(--container-padding);
    border-bottom: 1px solid #EEF2F7;
}

/* Full-bleed breakout when inside constrained post-content (match html/index.html) */
main .trust-bar,
.wp-block-post-content .trust-bar {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.trust-bar-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: center;
}

.trust-bar-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    text-align: center;
    margin-bottom: 30px;
}

.trust-bar-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 97px;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto;
    cursor: pointer;
}

.trust-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
    opacity: 0;
    transform: translateX(-24px);
    animation: trustLogoFade 0.6s ease forwards;
    height: 45px;
    max-width: 220px;
    cursor: pointer;
}

/* Stagger: left to right (same as HTML). Use nth-child so ACF block and static markup both get delays. */
.trust-bar-logos .trust-logo-wrapper:nth-child(1) { animation-delay: 0.05s; }
.trust-bar-logos .trust-logo-wrapper:nth-child(2) { animation-delay: 0.15s; }
.trust-bar-logos .trust-logo-wrapper:nth-child(3) { animation-delay: 0.25s; }
.trust-bar-logos .trust-logo-wrapper:nth-child(4) { animation-delay: 0.35s; }
.trust-bar-logos .trust-logo-wrapper:nth-child(5) { animation-delay: 0.45s; }
.trust-bar-logos .trust-logo-wrapper:nth-child(6) { animation-delay: 0.55s; }

.trust-logo-shopify { animation-delay: 0.05s; }
.trust-logo-deloitte { animation-delay: 0.15s; }
.trust-logo-company1 { animation-delay: 0.25s; }
.trust-logo-company2 { animation-delay: 0.35s; }
.trust-logo-microsoft { animation-delay: 0.45s; }

@keyframes trustLogoFade {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.trust-logo-shopify {
    width: 157px;
    height: 45px;
}

.trust-logo-deloitte {
    width: 220px;
    height: 45px;
}

.trust-logo-company1 {
    width: 108px;
    height: 45px;
}

.trust-logo-company2 {
    width: 147px;
    height: 45px;
}

.trust-logo-microsoft {
    width: 211px;
    height: 45px;
}

.trust-logo {
    width: 100%;
    height: 100%;
    opacity: 1;
    filter: none;
    transition: opacity 0.2s;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

/* Same height for all trust bar logos (ACF-added and static) */
.trust-bar-logos .trust-logo {
    height: 45px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.trust-logo-wrapper:hover .trust-logo {
    opacity: 1;
    filter: grayscale(1);
}

/* Problem Section - aligns with solution cards above; full-bleed like solutions, no top gap */
.problem-section {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 0;
    margin-top: 0;
    overflow-x: hidden;
}

/* Full-bleed so left column dark bg can extend to viewport edge; content aligns with solutions container */
main .problem-section,
.wp-block-post-content .problem-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 899px;
    max-width: var(--container-max-width);
    margin: 0 auto;
    align-items: stretch;
}

.problem-content {
    background: var(--color-primary-dark);
    padding: var(--spacing-3xl) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.problem-content::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -50vw;
    width: calc(50vw + 100%);
    background: var(--color-primary-dark);
    z-index: -1;
}

.problem-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.problem-title {
    font-size: 62px;
    line-height: 1.05;
    color: var(--color-white);
    font-weight: 400;
    padding-right: 75px;
}

.problem-description {
    font-size: 20px;
    line-height: 29px;
    color: var(--color-gray-300);
    max-width: 517px;
    margin-bottom: 20px;
}

.problem-list {
    background: var(--color-white);
    padding: var(--spacing-3xl) var(--container-padding);
    padding-left: 80px;
    padding-right: calc(var(--container-padding) - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-3xl);
}

.problem-item {
    display: flex;
    gap: var(--spacing-lg);
    max-width: 582px;
}

.problem-icon {
    width: 64px;
    height: 64px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon img {
    width: 24px;
    height: 24px;
}

.problem-item-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary-darker);
}

.problem-item-content p {
    font-size: var(--font-size-lg);
    line-height: 1.625;
    color: var(--color-gray-700);
}

/* Solutions Section */
.solutions-section {
    background-color: var(--color-white);
    background-image: linear-gradient(180deg, #FFFFFF 18%, #E6ECF2 100%);
    padding: var(--section-padding) var(--container-padding);
}

/* Full-bleed breakout when inside constrained post-content (match html/index.html) */
main .solutions-section,
.wp-block-post-content .solutions-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.solutions-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.solutions-slider {
    display: none; /* Hidden on desktop, shown on mobile */
}

.solutions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.solutions-header .btn {
    margin-top: var(--spacing-xl);
}

.solutions-title {
    font-size: var(--font-size-6xl);
    font-weight: 500;
    color: var(--color-primary-dark);
    margin-bottom: 0;
}

.solutions-description {
    font-size: var(--font-size-2xl);
    line-height: 1.292;
    color: var(--color-primary-dark);
    max-width: 894px;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.solution-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    gap: var(--spacing-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.solution-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.solution-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.solution-icon {
    width: 40px;
    height: 40px;
}

.solution-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    margin-bottom: 0;
}

.solution-card p {
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-700);
    flex-grow: 1;
    margin: 0;
}

.solution-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--color-primary-darker);
    font-weight: 400;
    letter-spacing: 0.35px;
    margin-top: var(--spacing-xs);
}

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

.solution-link img {
    width: 16px;
    height: 16px;
}

.solution-card:hover .solution-link img {
    filter: invert(17%) sepia(84%) saturate(2086%) hue-rotate(214deg) brightness(92%) contrast(92%);
}

/* Platform Section */
.platform-section {
    position: relative;
    background: var(--color-white);
    padding: var(--section-padding) 0;
}

.platform-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 0;
    border-bottom: 1px solid var(--color-gray-200);
    pointer-events: none;
}

.platform-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.platform-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto var(--spacing-5xl);
}

.platform-title {
    font-size: var(--font-size-7xl);
    line-height: 1.25;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
}

.platform-description {
    font-size: 22px;
    line-height: 1.5;
    color: var(--color-gray-700);
    margin: 0 auto;
}

.platform-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
    margin-bottom: var(--spacing-5xl);
}

.platform-feature-visual {
    display: flex;
    justify-content: center;
    background: #F9FAFB;
    padding: var(--spacing-2xl);
}

.platform-card {
    max-width: 420px;
    width: 100%;
}

.platform-feature-content {
    max-width: 520px;
    justify-self: start;
}
.platform-feature-visual {
    order: 1;
}

.platform-feature-content {
    order: 2;
}

.platform-feature:last-child {
    margin-bottom: 0;
}

.platform-feature-reverse .platform-feature-visual {
    order: 2;
    background: #101828;
}

.platform-feature-reverse .platform-feature-content {
    order: 1;
}

.platform-feature-content h3 {
    font-size: var(--font-size-6xl);
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-primary-darker);
}

.platform-feature-content p {
    font-size: var(--font-size-xl);
    line-height: 1.625;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-2xl);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-lg);
    color: var(--color-gray-700);
}

.platform-section .feature-list li {
    font-size: 16px;
}

.feature-list li img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.platform-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: platformUiFadeIn 0.7s ease-out both;
    position: relative;
}

.platform-card-area-icon {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-darker);
}

.platform-card-area-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.platform-card-area-icon svg {
    width: 24px;
    height: 24px;
}

.platform-feature-reverse .platform-card-area-icon {
    color: var(--color-white);
}

.platform-feature-reverse .platform-card-area-icon img {
    filter: brightness(0) invert(1);
}

/* Platform card – document management layout */
.platform-card-summary {
    background: var(--color-gray-50);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.platform-card-summary-left {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    min-width: 0;
}

.platform-card-chevron {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    flex-shrink: 0;
}

.platform-card-company {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin: 0 0 var(--spacing-xs);
}

.platform-card-country {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    margin: 0;
}

.platform-card-summary-right {
    text-align: right;
    flex-shrink: 0;
}

.platform-card-period,
.platform-card-due {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    margin: 0 0 2px;
}

.platform-card-period:last-of-type,
.platform-card-due:last-of-type {
    margin-bottom: 0;
}

.platform-card-amount {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin-top: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.platform-card-documents-section {
    padding: var(--spacing-lg);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.platform-card-documents-title {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-gray-600);
    margin: 0 0 var(--spacing-md);
}

.platform-card-doc {
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-gray-100);
}

.platform-card-doc:first-child {
    padding-top: 0;
    border-top: none;
}

.platform-card-doc:last-child {
    margin-bottom: 0;
}

.platform-card-doc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.platform-card-doc-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-gray-800);
}

.platform-card-doc-status {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.platform-card-doc-status-uploaded {
    background: rgba(34, 197, 94, 0.12);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.platform-card-doc-status-required {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error, #dc2626);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.platform-card-doc-entry {
    padding: var(--spacing-md);
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.platform-card-doc-entry-filled {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.platform-card-doc-entry-empty {
    background: rgba(239, 68, 68, 0.04);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    min-height: 44px;
}

.platform-card-doc-entry-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.platform-card-doc-filename {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-gray-800);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.platform-card-doc-meta {
    font-size: 10px;
    color: var(--color-gray-500);
    letter-spacing: 0.01em;
}

.platform-card-doc-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
    padding-left: var(--spacing-sm);
    border-left: 1px solid var(--color-gray-200);
}

.platform-card-doc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    color: var(--color-gray-500);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease, background-color 0.15s ease;
}

.platform-card-doc-icon:hover {
    color: var(--color-primary);
    background-color: var(--color-gray-100);
}

.platform-card-doc-icon:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.platform-card-doc-icon svg {
    display: block;
}

.platform-card-doc-empty {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    flex: 1;
}

.platform-card-doc-upload {
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: 0;
    color: var(--color-primary-darker);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.platform-card-doc-upload:hover {
    border-color: var(--color-primary);
    background: var(--color-gray-50);
    color: var(--color-primary);
}

.platform-card-doc-upload:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.platform-card-doc-comment {
    display: inline-block;
    font-size: 10px;
    color: var(--color-gray-500);
    margin-top: var(--spacing-sm);
    text-decoration: none;
    transition: color 0.15s ease;
}

.platform-card-doc-comment:hover {
    color: var(--color-primary);
}

/* Platform card – VAT Return Submissions (used in platform-feature-visual, 2nd feature) – two sections */
.platform-card-submissions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    width: 100%;
    max-width: 420px;
}

.platform-card-submissions .platform-card-submission-section {
    width: 100%;
}

.platform-card-submissions .platform-card-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    padding: var(--spacing-md);
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-200);
    min-width: 0;
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.platform-card-tab {
    flex: 1 1 0;
    min-width: 0;
    font-size: 10px;
    font-weight: 600;
    padding: 6px 8px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-600);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.platform-card-submissions .platform-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-gray-200);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.15s;
}

.platform-card-page-title {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin: 0;
    flex-shrink: 0;
}

.platform-card-search-wrap {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
    max-width: 160px;
    min-width: 0;
    padding: 8px var(--spacing-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
}

.platform-card-search-icon {
    color: var(--color-gray-500);
    flex-shrink: 0;
}

.platform-card-search-icon svg {
    display: block;
}

.platform-card-search {
    flex: 1;
    min-width: 0;
    font-size: 10px;
    color: var(--color-gray-800);
    border: 0;
    background: none;
    outline: 0;
}

.platform-card-search::placeholder {
    color: var(--color-gray-500);
}

.platform-card-submissions .platform-card-entries {
    padding: var(--spacing-lg);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

/* Second section (card with only entry): consistent top padding */
.platform-card-submissions .platform-card-submission-section:last-child .platform-card-entries {
    padding-top: var(--spacing-lg);
}

.platform-card-entry {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
}

.platform-card-entry:last-child {
    border-bottom: 1px solid var(--color-gray-200);
}

.platform-card-entry-chevron {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    flex-shrink: 0;
}

.platform-card-entry-info {
    min-width: 0;
    flex-shrink: 0;
    max-width: 40%;
}

.platform-card-entry-company {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin: 0 0 4px;
}

.platform-card-entry-country {
    font-size: 10px;
    color: var(--color-gray-500);
    margin: 0;
}

.platform-card-entry-dates {
    flex-shrink: 0;
    max-width: 35%;
}

.platform-card-entry-period,
.platform-card-entry-due {
    font-size: 10px;
    color: var(--color-gray-500);
    margin: 0 0 4px;
}

.platform-card-entry-due:last-child {
    margin-bottom: 0;
}

.platform-card-submissions .platform-card-amount {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary-darker);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    margin-left: auto;
}

.platform-card-entry-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.platform-card-entry-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--color-gray-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.platform-card-entry-status svg {
    flex-shrink: 0;
    color: var(--color-gray-500);
}

.platform-card-vat-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    background: var(--color-success);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    transition: filter 0.15s ease;
}

.platform-card-vat-btn:hover {
    filter: brightness(1.05);
}

.platform-card-vat-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.platform-card-vat-btn svg {
    flex-shrink: 0;
}

.platform-card-entry-comment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500);
    flex-shrink: 0;
}

.platform-card-entry-comment:hover {
    color: var(--color-primary);
}

/* Legacy filing queue styles (if used elsewhere) */
.platform-card-header {
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-200);
    padding: var(--spacing-md) var(--spacing-lg);
}

.platform-card-header h3 {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-xs);
}

.platform-card-header p {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

.platform-card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.filing-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-100);
}

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

.filing-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.filing-country {
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-gray-800);
    min-width: 32px;
    text-align: center;
}

.filing-amount {
    font-size: var(--font-size-sm);
    color: var(--color-primary-darker);
}

.filing-percent {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    text-align: right;
}

.filing-progress {
    width: 100%;
    height: 6px;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.filing-progress-bar {
    height: 100%;
    border-radius: var(--radius-full);
    width: 0;
}

.filing-progress-green {
    background-color: var(--color-success);
}

.filing-progress-blue {
    background-color: var(--color-info);
}

.filing-progress-orange {
    background-color: var(--color-warning);
}

.platform-card-footer {
    background: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-200);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-stat-value {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-xs);
}

.card-stat-value.card-stat-green {
    color: var(--color-success-dark);
}

.card-stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

.payment-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    animation: platformUiFadeIn 0.7s ease-out both;
}

.platform-feature-reverse .payment-cards {
    width: 360px;
    max-width: 100%;
}

.payment-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 0;
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
}

.payment-card:nth-child(1) {
    animation-delay: 0.1s;
}

.payment-card:nth-child(2) {
    animation-delay: 0.25s;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.payment-country {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.payment-country-badge {
    background: #eff6ff;
    border: 1px solid #bedbff;
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: #1447e6;
    min-width: 40px;
    text-align: center;
}

.payment-status {
    font-size: var(--font-size-xs);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.payment-status.processing {
    background: #fff7ed;
    color: var(--color-warning-dark);
}

.payment-status.scheduled {
    background: var(--color-gray-50);
    color: var(--color-gray-600);
}

.payment-amount {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-xs);
}

.payment-due {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-md);
}

.payment-account {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-gray-100);
    font-size: var(--font-size-xs);
    color: var(--color-gray-600);
}

.payment-account img {
    width: 16px;
    height: 16px;
}

.compliance-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
    animation: platformUiFadeIn 0.7s ease-out both;
}

.platform-feature .compliance-card {
    width: 360px;
    max-width: 100%;
}

.compliance-header,
.compliance-metrics,
.compliance-alerts {
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
}

.compliance-header {
    animation-delay: 0.1s;
}

.compliance-metrics {
    animation-delay: 0.15s;
}

.compliance-alerts {
    animation-delay: 0.3s;
}

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

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

@keyframes pulseDot {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.compliance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: var(--spacing-md);
}

.compliance-metrics {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--spacing-md);
}

.compliance-metric {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-bottom: none;
}

.compliance-metric:last-child {
    border-bottom: 1px solid var(--color-gray-200);
}

.compliance-metric-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    width: 100%;
    min-height: 20px;
}

.compliance-metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    width: 20px;
    height: 20px;
    color: var(--color-gray-400);
}

.compliance-metric-icon .compliance-metric-icon-svg {
    width: 20px;
    height: 20px;
    display: block;
}

.compliance-metric-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
    opacity: 0.55;
}

.compliance-metric-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-gray-600);
}

.compliance-metric-value {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-xs);
}

.compliance-metric-value-green {
    color: var(--color-success);
}

.compliance-metric-value-red {
    color: var(--color-error, #dc2626);
}

.compliance-metric-value-orange {
    color: var(--color-warning);
}

.compliance-metric-sub {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

.compliance-header h3 {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.compliance-live {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xs);
    color: var(--color-success-dark);
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-success);
    border-radius: var(--radius-full);
}

.compliance-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.compliance-stat {
    flex: 1;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    text-align: center;
}

.compliance-stat-value {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-xs);
}

.compliance-stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-gray-600);
}

.compliance-alerts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.compliance-alert {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    color: var(--color-gray-800);
}

.compliance-alert-warning {
    background: #fff7ed;
    border-color: #ffedd4;
}

.compliance-alert img {
    width: 16px;
    height: 16px;
}

/* How It Works */
.how-it-works {
    background: linear-gradient(180deg, #ffffff 0%, #e6ecf2 100%);
    padding: var(--section-padding) var(--container-padding);
}

/* Full-bleed breakout when how-it-works is inside constrained post-content (same as hero/banner) */
main .how-it-works,
.wp-block-post-content .how-it-works {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.how-it-works-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.how-it-works-header {
    margin-bottom: var(--spacing-4xl);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--spacing-2xl);
}

.how-it-works-header-content {
    max-width: 720px;
}

.how-it-works-header h2 {
    font-size: var(--font-size-6xl);
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
    color: var(--color-primary-darker);
}

.how-it-works-header p {
    font-size: var(--font-size-2xl);
    line-height: 1.5;
    color: var(--color-gray-700);
    max-width: 681px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: 45px;
    gap: 0;
}

.step {
    padding: var(--spacing-md);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.step:hover {
    border-bottom-color: var(--color-primary);
}

.step:hover .step-label {
    color: var(--color-primary-darker);
}

.step:hover h3 {
    color: var(--color-primary);
}

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

.step-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: var(--spacing-sm);
}

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

.step h3 {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-gray-500);
}

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

.step-indicator {
    display: none;
}

.step-content {
    background: var(--color-white);
    padding: var(--spacing-3xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: stretch;
}

.step-visual {
    height: 100%;
    min-height: 0;
}

.step-visual .step-visual-cards {
    min-height: 0;
}

/* When multiple step-details exist (block output), only the active one is visible */
.step-details {
    position: relative;
}

.step-details .step-detail {
    display: none;
}

.step-details .step-detail.active {
    display: block;
}

.step-detail h3 {
    font-size: var(--font-size-4xl);
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
    color: var(--color-primary-darker);
}

.step-detail p {
    font-size: var(--font-size-xl);
    line-height: 1.625;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-2xl);
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.step-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 16px;
    color: var(--color-gray-700);
}

.step-list li img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.step-visual-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
    height: 420px;
    min-height: 420px;
    overflow: hidden;
    animation: platformUiFadeIn 0.7s ease-out both;
}

.step-visual-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-100);
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.step-visual-tag {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    padding: 2px 8px;
    font-size: var(--font-size-xs);
    color: var(--color-gray-600);
}

.step-visual-card-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.step-visual-meta {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    text-transform: none;
    letter-spacing: 0;
}

.step-visual-section-title {
    margin-top: var(--spacing-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-gray-500);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.25s;
}

.step-visual-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.step-visual-stat-block {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.step-visual-stat-block--success {
    background: #e9f8ef;
    border-color: #b9e3c7;
}

.step-visual-stat-block--warning {
    background: #fff3e6;
    border-color: #f4c79f;
}

.step-visual-stat-block--info {
    background: #eef4ff;
    border-color: #c9d8ff;
}

.step-visual-stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.step-visual-stat-value {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary-darker);
}

.step-visual-list-item--split {
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-white);
}

.step-visual-list-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary-darker);
}

.step-visual-list-sub {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    margin-top: 2px;
}

.step-visual-list-right {
    text-align: right;
}

.step-visual-list-value {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary-darker);
}

.step-visual-list-status {
    font-size: var(--font-size-xs);
    margin-top: 2px;
}

.step-visual-list-status--success {
    color: var(--color-success);
}

.step-visual-list-status--info {
    color: var(--color-info);
}

.step-visual-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    border-radius: var(--radius-xs);
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.step-visual-tag--success {
    background: #e9f8ef;
    border-color: #b9e3c7;
    color: #2f7a4d;
}

.step-visual-tag--warning {
    background: #fff3e6;
    border-color: #f4c79f;
    color: #b45309;
}

.step-visual-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.step-visual-split-card {
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
}

.step-visual-split-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-gray-500);
}

.step-visual-split-value {
    margin-top: var(--spacing-xs);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary-darker);
}

.step-visual-alerts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.step-visual-alert {
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-gray-100);
    padding: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.step-visual-alert--warning {
    background: #fff7ed;
    border-color: #fed7aa;
}

.step-visual-alert--danger {
    background: #fef2f2;
    border-color: #fecaca;
}

.step-visual-alert--info {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.step-visual-footer {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-md);
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

.step-visual-footer a {
    color: var(--color-primary);
    text-decoration: none;
}
.step-visual-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.step-visual-stat-value {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-primary-darker);
}

.step-visual-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.step-visual-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-gray-700);
    padding: var(--spacing-xs) 0;
}

.transaction-queue {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: platformUiFadeIn 0.7s ease-out both;
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-200);
    background: var(--color-gray-50);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.queue-header span:first-child {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.queue-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
}

.status-blue {
    background-color: var(--color-primary);
}

.queue-table {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.queue-row {
    display: grid;
    grid-template-columns: 24px 1fr auto auto;
    gap: var(--spacing-md);
    align-items: center;
    padding: var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--radius-sm);
}

.queue-row-error {
    background: var(--color-gray-50);
}

.queue-row img {
    width: 16px;
    height: 16px;
}

.queue-transaction {
    font-size: var(--font-size-sm);
    color: var(--color-primary-dark);
}

.queue-market {
    background: var(--color-gray-100);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    color: var(--color-primary-dark);
}

.queue-status-text {
    font-size: var(--font-size-xs);
}

.queue-status-text.validated {
    color: var(--color-primary);
}

.queue-status-text.review {
    color: var(--color-error);
}

.queue-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-gray-200);
    background: var(--color-gray-50);
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    opacity: 0;
    animation: platformUiItemFadeIn 0.6s ease-out forwards;
    animation-delay: 0.35s;
}

.queue-footer div {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
}

.pulse-indicator {
    animation: pulseDot 1.6s ease-in-out infinite;
}

.status-indicator-blue {
    background-color: var(--color-primary);
}

.status-indicator-red {
    background-color: var(--color-error);
}

/* Step visual: Document validation + Timeline cards (aligned to reference UI) */
.step-visual-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    height: 100%;
}

.doc-validation-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-left: 4px solid var(--color-success);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
    min-height: 420px;
    animation: platformUiFadeIn 0.7s ease-out both;
}

.doc-validation-status {
    margin-bottom: var(--spacing-md);
}

.doc-validation-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin: 0 0 var(--spacing-xs);
}

.doc-validation-sub {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-success);
    margin: 0;
}

.doc-validation-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: invert(48%) sepia(79%) saturate(500%) hue-rotate(100deg);
}

.doc-validation-from {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-gray-100);
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.doc-validation-edit {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: none;
    border: none;
    padding: 0;
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    cursor: pointer;
}

.doc-validation-edit:hover {
    color: var(--color-primary);
}

.doc-validation-edit svg {
    width: 16px;
    height: 16px;
}

.doc-validation-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.doc-validation-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.doc-validation-field-label {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

.doc-validation-field-value {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-primary-darker);
}

.doc-validation-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.doc-validation-actions .btn {
    padding: 8px 16px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    height: auto;
    min-height: 36px;
    border-radius: var(--radius-sm);
}

.doc-validation-confirm {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.doc-validation-confirm svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.doc-validation-reject {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.doc-validation-reject svg {
    width: 14px;
    height: 14px;
}

.doc-validation-timeline {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-gray-100);
}

.doc-validation-timeline .timeline-header {
    margin-bottom: var(--spacing-md);
}

.doc-validation-timeline .timeline-entry {
    padding-bottom: 0;
}

/* Timeline card */
.timeline-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
    animation: platformUiFadeIn 0.7s ease-out both;
    animation-delay: 0.1s;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.timeline-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.timeline-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-primary-darker);
    margin: 0;
}

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

.timeline-entry {
    display: flex;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
}

.timeline-entry:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 6px;
}

.timeline-entry-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timeline-entry-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary-darker);
}

.timeline-entry-meta {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

.how-it-works-cta {
    display: none;
}

/* Coverage Section */
.coverage-section {
    background: var(--color-gray-50);
    padding: var(--section-padding) var(--container-padding);
    border-bottom: 1px solid var(--color-gray-200);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Full-bleed breakout when coverage-section is inside constrained post-content (same as hero/services) */
main .coverage-section,
.wp-block-post-content .coverage-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.coverage-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 71%;
    background: url("../images/coverage-bg.png") center calc(100% - -235px) / contain no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.coverage-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.coverage-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.coverage-header h2 {
    font-size: var(--font-size-6xl);
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
    color: var(--color-primary-darker);
}

.coverage-header p {
    font-size: var(--font-size-2xl);
    line-height: 1.5;
    color: var(--color-gray-700);
    max-width: 767px;
    margin: 0 auto;
}

.coverage-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.coverage-feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    padding: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.coverage-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.coverage-icon img {
    width: 24px;
    height: 24px;
}

.coverage-label {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.coverage-feature-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary-darker);
}

.coverage-feature-card p {
    font-size: var(--font-size-base);
    line-height: 1.625;
    color: var(--color-gray-700);
}

.coverage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid var(--color-gray-200);
}

.coverage-stat {
    text-align: center;
    padding: 0 var(--spacing-lg);
    border-right: 1px solid var(--color-primary);
}

.coverage-stat:last-child {
    border-right: none;
}

.coverage-stat-value {
    font-size: var(--font-size-4xl);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary-darker);
}

.coverage-stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* FAQ Section (ACF block) */
.faq-section {
    margin-top: 0;
}

.faq-inner {
    max-width: var(--container-max-width, 1280px);
    margin-left: auto;
    margin-right: auto;
}

.faq-eyebrow {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.faq-heading {
    font-size: var(--font-size-6xl);
    font-weight: 500;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-md);
}

.faq-intro {
    font-size: var(--font-size-xl);
    line-height: 1.5;
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-2xl);
}

.faq-intro p:last-child {
    margin-bottom: 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-gray-200);
}

.faq-question {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-primary-darker);
    padding: var(--spacing-lg) 0;
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: none;
}

.faq-question::before {
    content: "+";
    display: inline-block;
    width: 1.5em;
    font-weight: 400;
    color: var(--color-gray-500);
}

.faq-item[open] .faq-question::before {
    content: "−";
}

.faq-answer {
    padding-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
    line-height: 1.625;
    color: var(--color-gray-700);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item-link {
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

.faq-item-link a {
    font-weight: 500;
    color: var(--color-primary);
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, var(--color-primary-darker) 59.512%, var(--color-primary-darkest) 99.337%);
    padding: var(--section-padding) var(--container-padding);
    color: var(--color-white);
    margin-top: 0;
}

/* Full-bleed breakout when services-section is inside constrained post-content (same as hero/how-it-works) */
main .services-section,
.wp-block-post-content .services-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.services-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.services-header {
    margin-bottom: var(--spacing-4xl);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--spacing-2xl);
}

.services-header-content {
    max-width: 720px;
}

.services-header h2 {
    font-size: var(--font-size-6xl);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.services-header p {
    font-size: var(--font-size-2xl);
    line-height: 1.5;
    color: var(--color-gray-300);
    margin-bottom: -30px;
}

.services-category {
    margin-bottom: var(--spacing-2xl);
}

.category-header {
    margin-bottom: var(--spacing-lg);
}

.category-header h3 {
    font-size: var(--font-size-xl);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.category-header p {
    font-size: var(--font-size-base);
    color: var(--color-gray-300);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
    align-items: stretch;
}

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

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    padding: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    gap: var(--spacing-md);
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card-primary {
    background: #e6ecf2;
}

.service-card-highlight {
    background: var(--color-gray-50);
    border-color: var(--color-white);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: -12px 16px 32px rgba(15, 23, 42, 0.18);
}

.service-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

.service-card-primary .service-label {
    color: var(--color-gray-400);
}

.service-card h3 {
    font-size: var(--font-size-3xl);
    font-weight: 500;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    font-size: var(--font-size-lg);
    line-height: 1.556;
    color: var(--color-gray-700);
}

.service-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--color-primary-darker);
    font-weight: 400;
    letter-spacing: 0.35px;
}

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

.service-link img {
    width: 16px;
    height: 16px;
}

.service-card:hover .service-link img {
    filter: invert(17%) sepia(84%) saturate(2086%) hue-rotate(214deg) brightness(92%) contrast(92%);
}

/* Resources Section */
.resources-section {
    background: var(--color-white);
    padding: var(--section-padding) 0 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.latest-resources-block.resources-section {
    border-bottom: none;
}

/* Latest resources: CTA matches HTML reference (resources-section) */
.latest-resources-block .resources-cta {
    background: transparent;
    padding: var(--spacing-xl) var(--container-padding);
    padding-bottom: var(--spacing-4xl);
    border-top: none;
    border-bottom: none;
    text-align: center;
}

.latest-resources-block .resources-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.latest-resources-block .resources-cta .btn span {
    display: inline-block;
}

.latest-resources-block .resources-cta .btn-arrow {
    flex-shrink: 0;
    vertical-align: middle;
}

.resources-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-4xl);
}

.resources-header h2 {
    font-size: var(--font-size-6xl);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary-darker);
}

.resources-header p {
    font-size: var(--font-size-xl);
    line-height: 1.4;
    color: var(--color-gray-600);
}

.resources-nav {
    display: flex;
    gap: var(--spacing-sm);
}

.resources-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-50);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--color-primary-darker);
}

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

.resources-nav-btn svg {
    width: 6px;
    height: 12px;
}

.resources-grid {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-4xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--spacing-md);
    width: calc(100% + ((100vw - var(--container-max-width)) / 2));
    padding-right: calc((100vw - var(--container-max-width)) / 2);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.resource-card {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - (var(--spacing-lg) * 2)) / 3);
    min-width: 320px;
    opacity: 0.2;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.resource-card.is-active {
    opacity: 1;
}

.resource-card.is-active:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.resources-grid::-webkit-scrollbar {
    height: 0;
    display: none;
}

.resources-grid::-webkit-scrollbar-thumb {
    background: var(--color-gray-300);
    border-radius: var(--radius-full);
}

.resource-image {
    position: relative;
    width: 100%;
    height: 256px;
    overflow: hidden;
}

.resource-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.2);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.resource-image::before {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 10px;
    background: var(--color-primary);
    transition: right 0.25s ease;
    z-index: 2;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-card.is-active:hover .resource-image::after {
    opacity: 1;
}

.resource-card.is-active:hover .resource-image::before {
    right: 0;
}
.resource-card.is-active:hover .resource-image img {
    transform: scale(1.03);
}
.resource-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--color-primary-darker);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}

.resource-badge-border {
    border: none;
}

.resource-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex-grow: 1;
}

.resource-date {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.resource-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    line-height: 1.333;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-sm);
}

.resource-content p {
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-600);
    flex-grow: 1;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--color-primary-darker);
    font-weight: 400;
    letter-spacing: 0.35px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.resource-card.is-active:hover .resource-link {
    color: var(--color-primary);
    transform: translateX(2px);
}

.resource-link img {
    width: 16px;
    height: 16px;
}

.resource-card.is-active:hover .resource-link img {
    filter: invert(17%) sepia(84%) saturate(2086%) hue-rotate(214deg) brightness(92%) contrast(92%);
}

/* Latest Resources block: use shared partial classes; dim until fully in view, full opacity for .is-active */
.latest-resources-block .resource-card {
    background: transparent;
    opacity: 0.2;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.latest-resources-block .resource-card.is-active {
    opacity: 1;
}
.latest-resources-block .resource-card.is-active:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.latest-resources-block .resource-card-image {
    position: relative;
    width: 100%;
    height: 256px;
    overflow: hidden;
}
.latest-resources-block .resource-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.2);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}
.latest-resources-block .resource-card-image::before {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 10px;
    background: var(--color-primary);
    transition: right 0.25s ease;
    z-index: 2;
}
.latest-resources-block .resource-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.latest-resources-block .resource-card.is-active:hover .resource-card-image::after {
    opacity: 1;
}
.latest-resources-block .resource-card.is-active:hover .resource-card-image::before {
    right: 0;
}
.latest-resources-block .resource-card.is-active:hover .resource-card-image img {
    transform: scale(1.03);
}
.latest-resources-block .resource-card-tag {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--color-primary-darker);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}
.latest-resources-block .resource-card-body {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex-grow: 1;
}
.latest-resources-block .resource-card-meta {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.latest-resources-block .resource-card-body h3 {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    line-height: 1.333;
    color: var(--color-primary-darker);
    margin-bottom: var(--spacing-sm);
}
.latest-resources-block .resource-card-body p {
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-600);
    flex-grow: 1;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TaxPay Service Page */
.taxpay-hero {
    background: linear-gradient(180deg, #182537 56.777%, #324d71 100%);
    min-height: 680px;
}

.taxpay-hero .hero-bg {
    right: 0;
    top: 0;
    width: 50%;
    max-width: 760px;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    animation: none;
}

.taxpay-hero .hero-visual {
    padding-left: 0;
    padding-top: 61px;
    display: flex;
    justify-content: center;
}

.taxpay-hero-tag {
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #9fb3c8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: inline-block;
}

.taxpay-hero-chips {
    display: flex;
    gap: 12px;
    margin: 20px 0 70px;
    flex-wrap: wrap;
}

.taxpay-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    line-height: 1;
    background: rgba(29, 41, 61, 0.5);
    border: 1px solid rgba(49, 65, 88, 0.5);
    border-radius: 10px;
    font-size: 14px;
    color: #e2e8f0;
}

.taxpay-chip img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.taxpay-form-foot img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.taxpay-hero-form {
    background: var(--color-white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 28px 33px;
    border-radius: 0;
    color: var(--color-primary-darker);
    margin-right: 30px;
    margin-top: -30px;
    opacity: 0;
    animation: dashboardCardFadeIn 0.6s ease-out forwards;
    animation-delay: 0.15s;
}

.taxpay-form-header {
    text-align: center;
    margin-bottom: 24px;
}

.taxpay-form-header h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.taxpay-form-header p {
    font-size: 14px;
    color: #45556c;
}

.taxpay-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.taxpay-form input {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 1px solid #cad5e2;
    padding: 0 12px;
    font-size: 14px;
    box-sizing: border-box;
}

.taxpay-form .btn {
    height: 65px;
    justify-content: center;
}

.taxpay-form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 10px;
    color: var(--color-primary-darker);
    line-height: 1.4;
}
.taxpay-form-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    border: 1px solid #cad5e2;
    border-radius: 0;
    box-sizing: border-box;
    background: #fff;
    cursor: pointer;
}
.taxpay-form-checkbox input[type="checkbox"]:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 10px;
}
.taxpay-form-checkbox span {
    flex: 1;
}

/* Validation error: same border, only color changes to red */
.taxpay-hero-form .taxpay-form input.field-error,
.taxpay-form input.field-error,
.taxpay-form textarea.field-error,
.taxpay-form select.field-error,
.solution-support-form input.field-error,
.solution-support-form textarea.field-error,
.job-apply-form .taxpay-form input.field-error,
.contact-form-wrapper .taxpay-form input.field-error,
.contact-form-wrapper .taxpay-form textarea.field-error,
.contact-form-wrapper .taxpay-form select.field-error,
.blog-detail-subscribe input.field-error {
    border-color: #b91c1c;
}
.taxpay-hero-form .taxpay-form-checkbox.field-error input[type="checkbox"],
.taxpay-form-checkbox.field-error input[type="checkbox"],
.solution-support-form .taxpay-form-checkbox.field-error input[type="checkbox"],
.job-apply-form .taxpay-form-checkbox.field-error input[type="checkbox"],
.contact-form-wrapper .taxpay-form-checkbox.field-error input[type="checkbox"] {
    border-color: #b91c1c;
}

.taxpay-form-message {
    font-size: 14px;
    margin-top: 8px;
}
.taxpay-form-message.success { color: #059669; }
.taxpay-form-message.error { color: #b91c1c; }

.taxpay-form-foot {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    margin-top: 18px;
    padding-top: 12px;
    font-size: 12px;
    color: #45556c;
}

.taxpay-form-foot span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

/* HubSpot form in hero: match html/service.html .taxpay-form styling */
.taxpay-hero-form .hubspot-form-embed,
.taxpay-hero-form .taxpay-hero-form-embed {
    margin: 0;
}

.taxpay-hero-form .hs-form,
.taxpay-hero-form form.hs-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: inherit;
}

.taxpay-hero-form .hs-form-field {
    margin: 0;
}

.taxpay-hero-form .hs-input,
.taxpay-hero-form input.hs-input,
.taxpay-hero-form .taxpay-hero-form-embed input[type="text"],
.taxpay-hero-form .taxpay-hero-form-embed input[type="email"],
.taxpay-hero-form .taxpay-hero-form-embed input[type="tel"],
.taxpay-hero-form .taxpay-hero-form-embed textarea {
    width: 100%;
    height: 48px;
    border: 1px solid #cad5e2;
    padding: 0 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--color-primary-darker);
    border-radius: 0;
    box-sizing: border-box;
}

.taxpay-hero-form .taxpay-hero-form-embed textarea,
.taxpay-hero-form textarea.hs-input {
    height: auto;
    min-height: 80px;
    padding: 12px;
}

.taxpay-hero-form .hs-submit,
.taxpay-hero-form .actions {
    margin: 0;
    padding: 0;
}

.taxpay-hero-form .hs-button,
.taxpay-hero-form .taxpay-hero-form-embed input[type="submit"],
.taxpay-hero-form .taxpay-hero-form-embed .hs-button.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 65px;
    padding: 0 24px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    color: var(--color-white);
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.taxpay-hero-form .hs-button:hover,
.taxpay-hero-form .taxpay-hero-form-embed input[type="submit"]:hover {
    background-color: #1f3a8c;
    border-color: #1f3a8c;
}

.taxpay-hero-form .hs-error-msgs {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    font-size: 12px;
    color: #b91c1c;
}

.taxpay-hero-form .hs-error-msg {
    margin: 0;
}

.taxpay-hero-form .hs-field-desc {
    font-size: 12px;
    color: #45556c;
    margin-top: 4px;
}

.taxpay-challenge {
    padding: var(--section-padding) var(--container-padding);
    border-bottom: 1px solid var(--color-gray-200);
    background: var(--color-white);
}

.taxpay-challenge-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.taxpay-challenge-image {
    position: relative;
    background: #081226;
    border-radius: 4px;
    overflow: hidden;
    height: 438px;
}


.taxpay-challenge-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taxpay-challenge-stat {
    position: absolute;
    left: 32px;
    bottom: 32px;
    background: var(--color-white);
    padding: 33px;
    width: 254px;
}

.taxpay-stat-value {
    font-size: 60px;
    color: var(--color-primary);
    line-height: 1;
}

.taxpay-stat-text {
    font-size: 14px;
    color: #4a5565;
    line-height: 1.6;
}

.taxpay-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    color: #99a1af;
}

.taxpay-challenge-content h2 {
    font-size: 48px;
    line-height: 1.1;
    margin: 16px 0;
    color: #101828;
}

.taxpay-challenge-content p {
    font-size: 20px;
    color: #182537;
    line-height: 1.5;
    margin-bottom: 24px;
}

.taxpay-challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.taxpay-icon-box {
    width: 44px;
    height: 44px;
    border: 1px solid #d1d5dc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.taxpay-challenge-item .taxpay-icon-box img {
    width: 24px;
    height: 24px;
}

.taxpay-challenge-item h3 {
    font-size: 16px;
    margin: 12px 0 8px;
    font-weight: 500;
}

.taxpay-challenge-item p {
    font-size: 14px;
    color: #272d35;
}

.taxpay-accountability {
    padding: var(--section-padding) var(--container-padding);
    background: linear-gradient(210deg, #273552 10.279%, #101828 46.362%);
    color: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
}

.taxpay-accountability-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.taxpay-accountability-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 56px;
}

.taxpay-accountability-header .btn {
    min-width: 0;
    width: auto;
    height: auto;
    min-height: 65px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    justify-content: center;
}

.taxpay-accountability-header h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-top: 0;
    letter-spacing: -0.96px;
    color: var(--color-white);
}

.taxpay-accountability-header .taxpay-eyebrow {
    display: block;
    margin-bottom: 24px;
}

.taxpay-accountability-list {
    background: var(--color-white);
    color: #101828;
    border: 1px solid #e5e7eb;
}

.taxpay-accountability-row {
    display: grid;
    grid-template-columns: 96px 368px 1fr;
    gap: 24px;
    padding: 40px 32px;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
    min-height: 135px;
}

.taxpay-accountability-row:last-child {
    border-bottom: none;
}

.taxpay-number {
    font-size: 14px;
    color: #99a1af;
    letter-spacing: 0.7px;
    line-height: 20px;
}

.taxpay-accountability-row h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
}

.taxpay-accountability-row p {
    font-size: 16px;
    color: #272d35;
    line-height: 27.2px;
}

.taxpay-outcomes {
    padding: 105px var(--container-padding);
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.taxpay-outcomes-container {
    max-width: 1173px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 513px 517px;
    gap: 143px;
    align-items: start;
}

.taxpay-outcomes-content {
    position: sticky;
    top: 100px; /* Below fixed header (min-height ~84px) */
    align-self: start;
    max-width: 513px;
}

.taxpay-outcomes-content h2 {
    font-size: 36px;
    line-height: 41.4px;
    letter-spacing: -0.36px;
    margin: 0 0 24px;
}

.taxpay-outcomes-content p {
    font-size: 24px;
    color: #4a5565;
    line-height: 31px;
    max-width: 567px;
    margin-bottom: 0;
}

.taxpay-outcomes-content .btn {
    margin-top: 44px;
    width: 217px;
    height: 65px;
    font-size: 18px;
    justify-content: center;
}

.header .btn,
.mobile-header-actions .btn,
.footer .btn {
    height: auto;
}

.taxpay-outcomes-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 0;
    max-width: 517px;
}

.taxpay-outcome-card {
    --base-opacity: 0.2;
    background: #f0f3f7;
    padding: 38px 40px 36px;
    min-height: 196px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(24px);
    will-change: opacity, transform;
}

.taxpay-outcome-card.is-active {
    opacity: 1;
    transform: translateY(0);
}

.taxpay-outcome-card img {
    width: 60px;
    height: 60px;
}

.taxpay-outcome-card span {
    font-size: 22px;
    line-height: 25.6px;
    text-align: center;
}

.taxpay-outcomes-content .taxpay-eyebrow {
    display: block;
    margin-bottom: 24px;
}

.taxpay-outcome-card:nth-child(2) {
    background: #eff3f7;
}

.taxpay-outcome-card:nth-child(3),
.taxpay-outcome-card:nth-child(4) {
    background: #e6ecf2;
}

.taxpay-outcome-card:nth-child(5) {
    background: #edf2f6;
}

.taxpay-outcome-card.dim-60 { --base-opacity: 0.6; }
.taxpay-outcome-card.dim-40 { --base-opacity: 0.4; }
.taxpay-outcome-card.dim-20 { --base-opacity: 0.2; }

.taxpay-standards {
    padding: var(--section-padding) var(--container-padding);
    background: linear-gradient(180deg, #f9fafb 0%, #e6ecf2 100%);
    border-bottom: 1px solid #e5e7eb;
}

.taxpay-standards-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.taxpay-standards-header {
    text-align: center;
    margin-bottom: 48px;
}

.taxpay-standards-header h2 {
    font-size: 48px;
}

.taxpay-standards-header p {
    font-size: 24px;
    color: #4a5565;
}

.taxpay-standards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.taxpay-standard-card {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    padding: 32px;
}

.taxpay-standard-card .taxpay-icon-box img {
    width: 24px;
    height: 24px;
}

.taxpay-standard-card h3 {
    font-size: 20px;
    margin: 16px 0 12px;
}

.taxpay-standard-card p {
    font-size: 16px;
    color: #4a5565;
}

.taxpay-standard-card .taxpay-icon-box.empty {
    border: 1px solid #e5e7eb;
}

.taxpay-standard {
    padding: var(--section-padding) var(--container-padding);
    background: linear-gradient(180deg, #f9fafb 0%, #e6ecf2 100%);
}

.taxpay-standard-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.taxpay-standard-copy h2 {
    font-size: 48px;
    line-height: 1.05;
    margin: 16px 0;
}

.taxpay-standard-copy p {
    font-size: 24px;
    color: #182537;
    line-height: 31px;
    margin-bottom: 45px;
}

.taxpay-standard-card-row {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    padding: 32px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: start;
}

.taxpay-standard-card-row + .taxpay-standard-card-row {
    margin-top: 24px;
}

@media (max-width: 768px) {
    .taxpay-standard-card-row + .taxpay-standard-card-row {
        margin-top: 0;
    }
}

.taxpay-icon-box.large {
    width: 100px;
    height: 100px;
}

.taxpay-standard-card-row .taxpay-icon-box img {
    width: 50px;
    height: 50px;
}

.taxpay-standard-card-row .taxpay-icon-box.empty {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.taxpay-standard-card-row h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.taxpay-standard-card-row p {
    font-size: 16px;
    color: #272d35;
}

.taxpay-coverage {
    padding: var(--section-padding) var(--container-padding);
    background: linear-gradient(180deg, #1b273f 0%, #101828 40.51%);
    color: var(--color-white);
}

.taxpay-coverage-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.taxpay-coverage-copy h2 {
    font-size: 48px;
    line-height: 1.05;
    margin: 16px 0;
    color: var(--color-white);
}

.taxpay-coverage-copy p {
    font-size: 24px;
    color: #d1d5dc;
    line-height: 31px;
}

.taxpay-coverage-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.taxpay-coverage-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5dc;
    font-size: 16px;
}

.taxpay-coverage-list li img {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.taxpay-coverage-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.taxpay-stat-card {
    background: var(--color-white);
    color: #4a5565;
    text-align: center;
    padding: 32px;
    border: 1px solid #e5e7eb;
}

.taxpay-stat-number {
    font-size: 34px;
    color: var(--color-primary);
    display: block;
}

.taxpay-process {
    padding: var(--section-padding) var(--container-padding);
    background: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
}

.taxpay-process-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
}

.taxpay-process-copy h2 {
    font-size: 48px;
    margin: 16px 0;
}

.taxpay-process-copy p {
    font-size: 22px;
    color: #4a5565;
    margin-bottom: 50px;
}

.taxpay-process-steps {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.taxpay-process-step {
    background: #f0f3f7;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.taxpay-process-step > div {
    flex: 0 1 auto;
    min-width: 0;
}

.taxpay-process-step h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}

.taxpay-process-step p {
    font-size: 16px;
    color: #4a5565;
    margin: 0;
}

.taxpay-process-step:hover {
    background: #e2ecfb;
}

.taxpay-step-arrow {
    flex-shrink: 0;
    margin-left: auto;
    width: 51px;
    min-width: 51px;
    height: 51px;
    min-height: 51px;
    background: var(--color-white);
    color: #182537;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.taxpay-process-step:hover .taxpay-step-arrow {
    transform: translateX(2px);
    background: #355cde;
    color: var(--color-white);
}

.taxpay-process-ui {
    background: #f0f3f7;
    border: 1px solid #e5e7eb;
    width: 552px;
    height: 590px;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Payment options card: same structure as document card (Submit & Settle) */
.taxpay-ui-card-payment-options {
    padding: 0;
    overflow: hidden;
}

.taxpay-process-ui .taxpay-payment-options-inline {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    padding: 20px 20px;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-sizing: border-box;
}

.taxpay-process-ui .taxpay-payment-options-inline .taxpay-payment-options-header {
    margin-bottom: 16px;
}

.taxpay-process-ui .taxpay-payment-options-inline .taxpay-payment-options-details {
    margin-bottom: 16px;
}

.taxpay-process-ui .taxpay-payment-options-inline .taxpay-payment-options-cards {
    flex: 1;
    min-height: 0;
}

/* TradeFlow dashboard (payment status cards + distribution) */
.taxpay-ui-card-tradeflow {
    padding: 0;
    overflow: hidden;
}

.tradeflow-dashboard {
    display: flex;
    flex-direction: column;
    padding: 8px;
    box-sizing: border-box;
}

.tradeflow-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.tradeflow-summary-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
    position: relative;
}

.tradeflow-card-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
}

.tradeflow-icon-clock {
    color: #ea580c;
}

.tradeflow-icon-check {
    color: #16a34a;
}

.tradeflow-card-title {
    font-size: 9px;
    font-weight: 600;
    color: #6a7282;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-bottom: 1px;
}

.tradeflow-card-value {
    font-size: 17px;
    font-weight: 700;
    color: #101828;
    line-height: 1.15;
}

.tradeflow-card-sub {
    font-size: 9px;
    color: #6a7282;
    margin-top: 1px;
}

.tradeflow-distribution {
    display: flex;
    flex-direction: column;
    padding: 16px 0 0;
    border-top: 1px solid #e5e7eb;
}

.tradeflow-distribution-title {
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 2px;
}

.tradeflow-distribution-sub {
    font-size: 12px;
    color: #6a7282;
    margin: 0 0 10px;
}

.tradeflow-distribution-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tradeflow-pie-wrap {
    flex-shrink: 0;
    position: relative;
    width: 180px;
    height: 180px;
}

.tradeflow-pie {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #355cde 0deg 230.4deg,
        #16a34a 230.4deg 291.6deg,
        #ea580c 291.6deg 331.2deg,
        #7dd3fc 331.2deg 360deg
    );
}

.tradeflow-pie-labels {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 2px rgba(0,0,0,0.4);
    pointer-events: none;
}

.tradeflow-pie-label { display: none; }

.tradeflow-legend {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #364153;
}

.tradeflow-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tradeflow-legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tradeflow-legend-paid { background: #355cde; }
.tradeflow-legend-pending { background: #16a34a; }
.tradeflow-legend-overdue { background: #ea580c; }
.tradeflow-legend-requires { background: #7dd3fc; }

/* Fiscal Services: VAT Registrations widget */
.taxpay-ui-card-fiscal {
    padding: 0;
    overflow: hidden;
}

.fiscal-vat-widget {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    box-sizing: border-box;
}

.fiscal-vat-title {
    font-size: 18px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 4px;
}

.fiscal-vat-total {
    font-size: 14px;
    color: #6a7282;
    margin: 0 0 16px;
}

.fiscal-vat-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.fiscal-vat-donut-wrap {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    position: relative;
}

.fiscal-vat-donut {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #86efac 0deg 289deg,
        #bbf7d0 289deg 327.5deg,
        #fdba74 327.5deg 346.9deg,
        #fed7aa 346.9deg 360deg
    );
    position: relative;
}

.fiscal-vat-donut::after {
    content: '';
    position: absolute;
    inset: 22%;
    background: var(--color-white);
    border-radius: 50%;
}

.fiscal-vat-list {
    width: 100%;
    max-width: 280px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #364153;
}

.fiscal-vat-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.fiscal-vat-label {
    flex: 1;
    min-width: 0;
}

.fiscal-vat-count {
    font-size: 15px;
    font-weight: 700;
    color: #101828;
    flex-shrink: 0;
}

/* IOSS: My Returns table widget */
.taxpay-ui-card-ioss {
    padding: 0;
    overflow: hidden;
    height: auto;
}

.ioss-returns-widget {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    box-sizing: border-box;
}

.ioss-returns-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.ioss-returns-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #355cde;
    margin: 0;
}

.ioss-returns-title-icon {
    color: #93c5fd;
    flex-shrink: 0;
}

.ioss-returns-search-wrap {
    position: relative;
    flex-shrink: 0;
    width: 100px;
}

.ioss-returns-search {
    width: 100%;
    padding: 6px 28px 6px 10px;
    font-size: 11px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0;
    color: #374151;
    box-sizing: border-box;
}

.ioss-returns-search::placeholder {
    color: #9ca3af;
}

.ioss-returns-search-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #355cde;
    pointer-events: none;
}

.ioss-returns-table-wrap {
    flex: 0 1 auto;
    min-height: 0;
    overflow: auto;
    border: 1px solid #e5e7eb;
}

.ioss-returns-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
    table-layout: fixed;
}

.ioss-th {
    text-align: left;
    padding: 16px 6px;
    font-weight: 600;
    color: #355cde;
    background: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.ioss-th-arrow {
    opacity: 0.7;
    margin-left: 2px;
    font-size: 0.9em;
}

.ioss-td {
    padding: 16px 6px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.ioss-returns-table tbody tr {
    background: var(--color-white);
}

.ioss-returns-table tbody tr.ioss-row-alt {
    background: #f9fafb;
}

.ioss-td-period { width: 20%; }
.ioss-td-packages { width: 14%; }
.ioss-td-vat { width: 18%; }
.ioss-td-return { width: 22%; }
.ioss-td-payment { width: 26%; }

.ioss-th-period { width: 20%; }
.ioss-th-packages { width: 14%; min-width: 5.5em; }
.ioss-th-vat { width: 18%; }
.ioss-th-return { width: 22%; }
.ioss-th-payment { width: 26%; }

.ioss-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

.ioss-status-dot.status-success { background: #16a34a; }
.ioss-status-dot.status-error { background: #dc2626; }
.ioss-status-dot.status-warning { background: #ea580c; }

.ioss-payment-text {
    word-wrap: break-word;
    word-break: break-word;
}

.taxpay-ui-card {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    width: 448px;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.taxpay-ui-card.is-animating {
    animation: taxpayUiFadeIn 0.55s ease-out;
}

/* Document detail UI card (submit-settle representation) */
.taxpay-ui-card-document {
    padding: 0;
    overflow: hidden;
}

.taxpay-ui-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.taxpay-ui-doc-header-left {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.taxpay-ui-chevron {
    font-size: 12px;
    color: #6a7282;
    flex-shrink: 0;
}

.taxpay-ui-company {
    font-size: 13px;
    font-weight: 600;
    color: #101828;
    line-height: 1.3;
}

.taxpay-ui-country-text {
    font-size: 11px;
    color: #6a7282;
    margin-top: 2px;
}

.taxpay-ui-doc-header-right {
    text-align: right;
    flex-shrink: 0;
}

.taxpay-ui-doc-header-right .taxpay-ui-meta {
    font-size: 11px;
    color: #6a7282;
    line-height: 1.4;
}

.taxpay-ui-amount {
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    margin-top: 4px;
}

.taxpay-ui-doc-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 20px;
}

.taxpay-ui-section {
    margin-bottom: 24px;
}

.taxpay-ui-section:last-child {
    margin-bottom: 0;
}

.taxpay-ui-section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #364153;
    margin: 0 0 14px;
}

.taxpay-ui-section-icon {
    color: #6a7282;
    flex-shrink: 0;
}

.taxpay-ui-doc-group {
    margin-bottom: 0;
}

.taxpay-ui-doc-group-label {
    font-size: 11px;
    font-weight: 600;
    color: #6a7282;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

.taxpay-ui-doc-card {
    border-radius: 0;
    border-left: 3px solid #e67e22;
    background: #fef9f6;
    overflow: hidden;
}

.taxpay-ui-doc-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
}

.taxpay-ui-doc-icon {
    color: #6a7282;
    flex-shrink: 0;
    margin-top: 1px;
}

.taxpay-ui-doc-row-label {
    font-size: 12px;
    font-weight: 600;
    color: #101828;
    line-height: 1.3;
}

.taxpay-ui-doc-row-meta {
    font-size: 11px;
    color: #6a7282;
    margin-top: 2px;
}

.taxpay-ui-doc-card .taxpay-ui-alert {
    margin-top: 0;
    border-radius: 0;
}

.taxpay-ui-alert {
    background: #fef2f2;
    color: #991b1b;
    border-left: 3px solid #fca5a5;
    padding: 10px 16px;
    border-radius: 0;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 0;
}

.taxpay-ui-alert strong {
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
    color: #b91c1c;
}

.taxpay-ui-comment-card {
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 16px 18px;
    margin-bottom: 16px;
    background: #fafafa;
    min-height: 0;
}

.taxpay-ui-comment-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.taxpay-ui-comment-user {
    font-size: 11px;
    font-weight: 600;
    color: #101828;
}

.taxpay-ui-comment-time {
    font-size: 10px;
    color: #6a7282;
}

.taxpay-ui-comment-text {
    font-size: 12px;
    color: #364153;
    line-height: 1.5;
    margin: 0 0 10px;
}

.taxpay-ui-comment-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background: #f59e0b;
    color: #fff;
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
}

.taxpay-ui-comment-reply {
    background: none;
    border: none;
    padding: 0;
    font-size: 11px;
    color: #355cde;
    cursor: default;
}

.taxpay-ui-comment-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 16px 14px;
    background: #fff;
    min-height: 56px;
}

.taxpay-ui-comment-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 11px;
    color: #101828;
    padding: 4px 0;
    min-height: 32px;
}

.taxpay-ui-comment-input::placeholder {
    color: #9ca3af;
}

.taxpay-ui-comment-send {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 0;
    background: var(--color-gray-400, #9ca3af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: default;
}

.taxpay-ui-comment-send svg {
    width: 14px;
    height: 14px;
}

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

.taxpay-ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6a7282;
}

.taxpay-ui-pill {
    background: rgba(53, 92, 222, 0.1);
    color: #355cde;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 16px;
}

.taxpay-ui-summary {
    padding: 12px 24px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.taxpay-ui-total {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.taxpay-ui-sub {
    font-size: 12px;
    color: #6a7282;
    line-height: 16px;
    margin-top: 4px;
}

.taxpay-ui-body {
    flex: 1;
    min-height: 0;
    padding: 20px 24px;
}

.taxpay-ui-body-steps .taxpay-ui-step-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    line-height: 20px;
    color: #364153;
}

.taxpay-ui-body-steps .taxpay-ui-step-row + .taxpay-ui-step-row {
    border-top: 1px solid #f3f4f6;
}

.taxpay-ui-step-num {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: #e2ecfb;
    color: #355cde;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.taxpay-ui-step-label {
    flex: 1;
}

.taxpay-ui-entry {
    padding: 20px 24px 12px;
}

.taxpay-ui-entry + .taxpay-ui-entry {
    border-top: 1px solid #f3f4f6;
}

.taxpay-ui-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.taxpay-ui-country {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #364153;
    font-size: 12px;
}

.taxpay-ui-location {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.taxpay-ui-location strong {
    font-size: 14px;
    line-height: 20px;
    color: #101828;
}

.taxpay-ui-location span {
    font-size: 12px;
    line-height: 16px;
    color: #6a7282;
}

.taxpay-ui-status {
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.taxpay-ui-status.success { color: #00a63e; }
.taxpay-ui-status.info { color: #155dfc; }
.taxpay-ui-status.muted { color: #99a1af; }

.taxpay-ui-status-icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1.5px solid currentColor;
    display: inline-block;
}

.taxpay-ui-status img {
    width: 16px;
    height: 16px;
}

.taxpay-ui-due {
    font-size: 12px;
    line-height: 16px;
    color: #6a7282;
    margin-top: 8px;
}

.taxpay-ui-footer {
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    margin-top: auto;
    padding: 20px 24px;
    font-size: 12px;
    color: #355cde;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.taxpay-ui-footer img {
    width: 12px;
    height: 12px;
}

/* TaxPay Payment Options modal */
.taxpay-payment-options-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.taxpay-payment-options-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.taxpay-payment-options-dialog {
    background: var(--color-white);
    border-radius: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px 28px 28px;
}

.taxpay-payment-options-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.taxpay-payment-options-title {
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 4px;
    line-height: 1.3;
}

.taxpay-payment-options-subtitle {
    font-size: 14px;
    color: #6a7282;
    margin: 0;
    line-height: 1.4;
}

.taxpay-payment-options-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f3f4f6;
    color: #364153;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.taxpay-payment-options-close:hover {
    background: #e5e7eb;
    color: #101828;
}

.taxpay-payment-options-details {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.taxpay-payment-options-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
}

.taxpay-payment-options-detail-row + .taxpay-payment-options-detail-row {
    margin-top: 8px;
}

.taxpay-payment-options-detail-label {
    color: #6a7282;
}

.taxpay-payment-options-detail-value {
    color: #101828;
    font-size: 14px;
}

.taxpay-payment-options-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.taxpay-payment-option-card {
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 18px 20px;
    background: var(--color-white);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.taxpay-payment-option-card-active {
    border-left: 3px solid #355cde;
    background: #f0f7ff;
}

.taxpay-payment-option-card-icon {
    color: #355cde;
    margin-bottom: 10px;
}

.taxpay-payment-option-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 4px;
    line-height: 1.3;
}

.taxpay-payment-option-card-desc {
    font-size: 13px;
    color: #6a7282;
    margin: 0 0 14px;
    line-height: 1.4;
}

.taxpay-payment-option-card-fields {
    margin-bottom: 16px;
}

.taxpay-payment-option-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #364153;
    margin-bottom: 6px;
}

.taxpay-payment-option-select-wrap {
    position: relative;
    margin-bottom: 12px;
}

.taxpay-payment-option-select {
    width: 100%;
    padding: 10px 36px 10px 12px;
    font-size: 14px;
    line-height: 20px;
    color: #101828;
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    border-radius: 0;
    appearance: none;
    cursor: pointer;
}

.taxpay-payment-option-select-wrap .taxpay-payment-option-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6a7282;
}

.taxpay-payment-option-converted {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.taxpay-payment-option-converted-value {
    color: #101828;
}

.taxpay-payment-option-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    background: #355cde;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.taxpay-payment-option-cta:hover {
    background: #2d4fc7;
}

.taxpay-payment-option-select-static .taxpay-payment-option-select {
    display: block;
    width: 100%;
    padding: 10px 36px 10px 12px;
    font-size: 14px;
    line-height: 20px;
    color: #101828;
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    border-radius: 0;
}

.taxpay-payment-option-cta-static {
    cursor: default;
    pointer-events: none;
    background: var(--color-gray-400, #9ca3af);
    color: #fff;
}

.taxpay-payment-option-cta-static:hover {
    background: var(--color-gray-400, #9ca3af);
}

.taxpay-ui-footer button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #355cde;
}

/* Document detail UI card (submit-settle representation) */
.taxpay-ui-card-document {
    overflow: hidden;
}

.taxpay-ui-card-document .taxpay-ui-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.taxpay-ui-doc-header-left {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.taxpay-ui-chevron {
    font-size: 12px;
    color: #6a7282;
    flex-shrink: 0;
}

.taxpay-ui-company {
    font-size: 13px;
    font-weight: 600;
    color: #101828;
    line-height: 1.3;
}

.taxpay-ui-country-text {
    font-size: 11px;
    color: #6a7282;
    line-height: 1.3;
}

.taxpay-ui-doc-header-right {
    text-align: right;
    flex-shrink: 0;
}

.taxpay-ui-doc-header-right .taxpay-ui-meta {
    font-size: 10px;
    color: #6a7282;
    line-height: 1.4;
}

.taxpay-ui-amount {
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    margin-top: 2px;
}

.taxpay-ui-doc-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 16px 12px;
}

.taxpay-ui-section {
    margin-bottom: 12px;
}

.taxpay-ui-section:last-child {
    margin-bottom: 0;
}

.taxpay-ui-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #364153;
    margin: 0 0 8px;
    text-transform: none;
    letter-spacing: 0;
}

.taxpay-ui-section-icon {
    flex-shrink: 0;
    color: #6a7282;
}

.taxpay-ui-doc-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #364153;
    padding: 4px 0;
}

.taxpay-ui-doc-icon {
    flex-shrink: 0;
    color: #6a7282;
}

.taxpay-ui-doc-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 11px;
    padding: 6px 0 6px 10px;
    margin-left: -10px;
    border-left: 3px solid transparent;
}

.taxpay-ui-doc-row-selected {
    border-left-color: #e67e22;
    margin-bottom: 6px;
}

.taxpay-ui-doc-row-label {
    font-weight: 500;
    color: #101828;
}

.taxpay-ui-doc-row-meta {
    color: #6a7282;
    font-size: 10px;
}

.taxpay-ui-alert {
    background: #fef2f2;
    color: #991b1b;
    border-left: 3px solid #fca5a5;
    padding: 8px 10px;
    border-radius: 0;
    font-size: 10px;
    line-height: 1.4;
}

.taxpay-ui-alert strong {
    display: block;
    font-size: 11px;
    margin-bottom: 2px;
    color: #b91c1c;
}

.taxpay-ui-comment-card {
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 14px 14px;
    margin-bottom: 12px;
    background: #fff;
    min-height: 72px;
}

.taxpay-ui-comment-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.taxpay-ui-comment-user {
    font-size: 11px;
    font-weight: 600;
    color: #101828;
}

.taxpay-ui-comment-time {
    font-size: 10px;
    color: #6a7282;
}

.taxpay-ui-comment-text {
    font-size: 10px;
    color: #364153;
    line-height: 1.4;
    margin: 0 0 6px;
}

.taxpay-ui-comment-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background: #f59e0b;
    color: #fff;
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
    vertical-align: middle;
}

.taxpay-ui-comment-reply {
    background: none;
    border: none;
    padding: 0;
    font-size: 10px;
    color: #355cde;
    cursor: pointer;
}

.taxpay-ui-comment-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 14px 12px;
    background: #fff;
    min-height: 72px;
}

.taxpay-ui-comment-input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 0;
    font-size: 11px;
    color: #101828;
    background: none;
}

.taxpay-ui-comment-input::placeholder {
    color: #9ca3af;
}

.taxpay-ui-comment-send {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 0;
    background: var(--color-gray-400, #9ca3af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.taxpay-ui-comment-send svg {
    width: 14px;
    height: 14px;
}

/* Solution Page */
.solution-hero {
    background: linear-gradient(180deg, #182537 56.777%, #324d71 100%);
    min-height: 639px;
}

.solution-hero .hero-container {
    position: relative;
    z-index: 1;
}

.solution-hero-tag {
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #d1d5dc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: inline-block;
}

.solution-hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    min-width: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 0;
}

.solution-hero-image-wrap {
    width: 100%;
    max-width: 720px;
    height: 100%;
    min-height: 420px;
    background: #eaecef;
    position: relative;
    overflow: hidden;
}

.solution-hero-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24, 37, 55, 0.3);
}

.solution-hero-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.solution-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    color: #99a1af;
    display: block;
}

.solution-challenge {
    background: linear-gradient(180deg, #f9fafb 0%, #e6ecf2 32.96%);
    border-bottom: 1px solid #e5e7eb;
    padding: var(--section-padding) var(--container-padding);
}

.solution-challenge-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 584px 1fr;
    gap: 64px;
    align-items: center;
}

.solution-challenge-image {
    position: relative;
    height: 670px;
    overflow: hidden;
}

.solution-challenge-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.2);
}

.solution-challenge-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-challenge-stat {
    position: absolute;
    left: 46px;
    bottom: 44px;
    background: var(--color-white);
    padding: 33px;
    width: 246px;
    z-index: 1;
}

.solution-stat-value {
    font-size: 60px;
    font-weight: 500;
    line-height: 1;
    color: var(--color-primary);
}

.solution-stat-text {
    font-size: 14px;
    color: #4a5565;
    line-height: 1.6;
    margin-top: 12px;
}

.solution-challenge-content h2 {
    font-size: 36px;
    line-height: 41.4px;
    letter-spacing: -0.36px;
    margin: 16px 0;
    color: #101828;
}

.solution-challenge-content p {
    font-size: 24px;
    line-height: 31px;
    color: #182537;
    margin-bottom: 32px;
}

.solution-challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.solution-challenge-card {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    padding: 24px;
    font-size: 14px;
    line-height: 22.4px;
    color: #101828;
    min-height: 165px;
}

.solution-challenge-card p {
    font-size: 14px;
    line-height: 22.4px;
    color: #101828;
    margin: 0;
}

.solution-icon-box {
    width: 40px;
    height: 40px;
    border: 1px solid #d1d5dc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.solution-icon-box img {
    width: 24px;
    height: 24px;
}

.solution-scale {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: var(--section-padding) var(--container-padding);
}

.solution-scale-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.solution-scale-header {
    margin-bottom: 48px;
}

.solution-scale-header h2 {
    font-size: 48px;
    line-height: 52.8px;
    letter-spacing: -0.96px;
    margin-top: 24px;
}

.solution-scale-list {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
}

.solution-scale-row {
    display: grid;
    grid-template-columns: 96px 368px 1fr;
    gap: 24px;
    padding: 40px 32px;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.solution-scale-row:last-child {
    border-bottom: none;
}

.solution-scale-number {
    font-size: 14px;
    color: #99a1af;
    letter-spacing: 0.7px;
}

.solution-scale-row h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
}

.solution-scale-row p {
    font-size: 16px;
    line-height: 27.2px;
    color: #101828;
}

.solution-support {
    background: linear-gradient(180deg, #273552 0%, #101828 39.612%);
    padding: var(--section-padding) var(--container-padding);
    color: var(--color-white);
}

.solution-support-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 511px;
    gap: 48px;
    align-items: start;
}

.solution-support-content h2 {
    font-size: 36px;
    line-height: 41.4px;
    letter-spacing: -0.36px;
    color: var(--color-white);
}

.solution-support-content p {
    font-size: 24px;
    line-height: 31px;
    color: #d1d5dc;
    margin: 24px 0;
}

.solution-support-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 55px;
}

.solution-support-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5dc;
    font-size: 16px;
    line-height: 20px;
}

.solution-support-list li img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.solution-support-form {
    background: var(--color-white);
    padding: 33px;
    color: #101828;
}

.solution-support-form h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.solution-support-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.solution-support-form input,
.solution-support-form textarea {
    width: 100%;
    border: 1px solid #cad5e2;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
}

.solution-support-form textarea {
    min-height: 146px;
    resize: vertical;
}

.solution-support-form .btn {
    width: 100%;
    justify-content: center;
}

.solution-capabilities {
    border-bottom: 1px solid #e5e7eb;
    padding: var(--section-padding) var(--container-padding);
}

.solution-capabilities-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.solution-capabilities-header {
    max-width: 760px;
    margin-bottom: 72px;
}

.solution-capabilities-header h2 {
    font-size: 48px;
    line-height: 52.8px;
    letter-spacing: -0.96px;
    margin: 16px 0;
}

.solution-capabilities-header p {
    font-size: 18px;
    line-height: 30.6px;
    color: #4a5565;
}

.solution-capability {
    display: grid;
    grid-template-columns: 584px 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
}

.solution-capability.reverse {
    grid-template-columns: 1fr 584px;
}

.solution-capability.reverse .solution-capability-image {
    order: 2;
}

.solution-capability.reverse .solution-capability-content {
    order: 1;
}

.solution-capability-image {
    position: relative;
    height: 438px;
    overflow: hidden;
}

.solution-capability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-capability-image.has-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.2);
}

.solution-capability-content h3 {
    font-size: 36px;
    line-height: 43.2px;
    margin-bottom: 24px;
}

.solution-capability-content p {
    font-size: 18px;
    line-height: 30.6px;
    color: #4a5565;
    margin-bottom: 24px;
}

.solution-capability-content ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-capability-content ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #272d35;
}

.solution-capability-content ul li img {
    width: 16px;
    height: 16px;
}

.solution-coverage {
    background: linear-gradient(180deg, #f9fafb 0%, #e6ecf2 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: var(--section-padding) var(--container-padding);
}

.solution-coverage-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.solution-coverage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 48px;
}

.solution-coverage-header-text {
    max-width: 760px;
    min-width: 0;
}

.solution-coverage-header h2 {
    font-size: 36px;
    line-height: 41.4px;
    letter-spacing: -0.36px;
    margin: 16px 0;
    color: #101828;
}

.solution-coverage-header p {
    font-size: 24px;
    line-height: 31px;
    color: #4a5565;
}

.solution-coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.solution-coverage-card {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-coverage-card h3 {
    font-size: 20px;
    line-height: 23px;
    color: #101828;
}

.solution-coverage-card p {
    font-size: 16px;
    line-height: 22.8px;
    color: #6a7282;
}

.solution-case-studies {
    background: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
    padding: var(--section-padding) var(--container-padding);
}

.solution-case-studies-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.solution-case-studies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    gap: 24px;
}

.solution-case-studies-header h2 {
    font-size: 36px;
    line-height: 41.4px;
    letter-spacing: -0.36px;
}

.solution-case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.solution-case-card {
    border: 1px solid #e5e7eb;
    padding: 32px;
    background: var(--color-white);
}

.solution-case-label {
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #99a1af;
    display: block;
    margin-bottom: 24px;
}

.solution-case-card h3 {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 16px;
}

.solution-case-card p {
    font-size: 16px;
    line-height: 22.4px;
    color: #4a5565;
    margin-bottom: 24px;
}

.solution-case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    letter-spacing: 0.35px;
    color: #101828;
}

.solution-case-link img {
    width: 16px;
    height: 16px;
}

.solution-services {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: var(--section-padding) var(--container-padding);
}

.solution-services-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    text-align: center;
}

.solution-services-container h2 {
    font-size: 24px;
    margin-bottom: 40px;
    text-align: left;
}

.solution-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.solution-service-card {
    background: #f0f3f7;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: #101828;
    gap: 16px;
}

.solution-service-card h3 {
    font-size: 21px;
    margin-bottom: 6px;
}

.solution-service-card p {
    font-size: 16px;
    color: #4a5565;
}

.solution-service-arrow {
    width: 51px;
    height: 51px;
    min-width: 51px;
    min-height: 51px;
    background: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
}

.solution-service-arrow img {
    width: 20px;
    height: 20px;
}

.solution-service-card:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.solution-service-card:hover h3,
.solution-service-card:hover p {
    color: var(--color-white);
}

.solution-service-card:hover .solution-service-arrow {
    background: var(--color-white);
}

/* Keep arrow dark on white box on hover (primary uses white SVG). */
.solution-service-card:hover .solution-service-arrow img {
    filter: brightness(0);
}

/* About Page */
.about-hero {
    padding: 128px var(--container-padding) var(--section-padding);
    background: var(--color-white);
}

.about-hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 112px;
}

.about-eyebrow {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-gray-500);
    border-bottom: 1px solid var(--color-gray-500);
    padding-bottom: 4px;
    margin-bottom: 24px;
}

.about-eyebrow-light {
    color: var(--color-gray-400);
    border-bottom-color: var(--color-gray-800);
}

.about-hero-content h1 {
    font-size: 60px;
    line-height: 61px;
    margin-bottom: 24px;
    color: var(--color-primary-darker);
}

.about-hero-content p {
    font-size: 21px;
    line-height: 31px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

.about-hero-image {
    position: relative;
    height: 438px;
    overflow: hidden;
    background: linear-gradient(143deg, #eff1f3 0%, #eff0f3 100%);
}

.about-hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.2);
}

.about-highlight {
    padding: 0 var(--container-padding) var(--section-padding);
    background: var(--color-white);
}

.about-highlight-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-highlight-image {
    background: #f3f4f6;
    border: 1px solid #f0f3f7;
    height: 296px;
    overflow: hidden;
}

.about-highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-highlight-quote {
    position: relative;
    background: #f0f3f7;
    padding: 32px;
    min-height: 296px;
    display: flex;
    align-items: center;
}

.about-quote-mark {
    position: absolute;
    font-size: 200px;
    line-height: 1;
    color: var(--color-primary);
    top: 10px;
    left: 16px;
    opacity: 0.8;
}

.about-quote-mark-close {
    top: auto;
    left: auto;
    bottom: 20px;
    right: 16px;
    font-size: 120px;
    transform: scaleX(-1) scaleY(-1);
}

.about-highlight-quote p {
    font-size: 19px;
    line-height: 28px;
    color: var(--color-primary-darker);
    position: relative;
    z-index: 1;
    margin-top: 35px;
}

.about-highlight-stat {
    position: relative;
    border: 1px solid #f0f3f7;
    padding: 32px;
    min-height: 296px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.about-highlight-value {
    font-size: 67px;
    line-height: 1;
    color: var(--color-primary-darker);
}

.about-highlight-stat p {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-gray-600);
}

.about-highlight-icon {
    position: absolute;
    right: 24px;
    top: 12px;
    width: 200px;
    height: auto;
    opacity: 0.7;
}

.about-story {
    background: linear-gradient(180deg, #273552 0%, #101828 38.6%);
    padding: var(--section-padding) var(--container-padding);
}

/* Full-bleed so about-story background spans full viewport when inside constrained post-content. */
main .about-story,
.wp-block-post-content .about-story {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.about-story-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 64px;
}

.about-story-header h2 {
    font-size: 42px;
    line-height: 48px;
    color: var(--color-white);
}

.about-story-body p {
    font-size: 18px;
    line-height: 28px;
    color: #d1d5dc;
    margin-bottom: 24px;
}

.about-story-body p:first-child {
    font-size: 22px;
    line-height: 31px;
    color: #f3f4f6;
}

.about-story-stats {
    max-width: var(--container-max-width);
    margin: 48px auto 0;
    padding-top: 48px;
    border-top: 1px solid #364153;
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
    align-items: center;
    gap: 0 32px;
}

.about-story-stat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

.about-story-value {
    font-size: 38px;
    line-height: 40px;
    color: var(--color-white);
}

.about-story-label {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-400);
}

.about-story-divider {
    width: 1px;
    height: 56px;
    background: var(--color-primary);
    align-self: center;
    justify-self: center;
}

.about-leadership {
    background: #f9fafb;
    padding: var(--section-padding) var(--container-padding);
    border-bottom: 1px solid #e5e7eb;
}

/* Full-bleed so about-leadership background spans full viewport when inside constrained post-content. */
main .about-leadership,
.wp-block-post-content .about-leadership {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.about-leadership-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 368px 1fr;
    gap: 48px 64px;
}

.about-leadership-intro {
    position: sticky;
    top: 120px;
    align-self: start;
}

.about-leadership-intro h2 {
    font-size: 48px;
    line-height: 54px;
    margin-bottom: 24px;
}

.about-leadership-intro p {
    font-size: 18px;
    line-height: 29px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

.about-leadership-grid {
    display: grid;
    gap: 24px;
}

.about-leadership-grid--top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-leadership-grid--bottom {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-leader-card {
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.about-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-leader-image {
    position: relative;
    height: 412px;
    overflow: hidden;
}

.about-leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-leader-card:hover .about-leader-image img {
    transform: scale(1.03);
}

.about-leader-image::before {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 10px;
    background: var(--color-primary);
    transition: right 0.3s ease;
    z-index: 3;
}

.about-leader-card:hover .about-leader-image::before {
    right: 0;
}

.about-leader-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.2);
    transition: background 0.3s ease;
}

.about-leader-card:hover .about-leader-image::after {
    background: rgba(16, 24, 40, 0.45);
}

.about-leader-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-leader-content h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

.about-leader-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--color-primary);
}

.about-leader-content p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-600);
}

.about-leader-links {
    position: absolute;
    bottom: 31px;
    right: 16px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.about-leader-card:hover .about-leader-links {
    opacity: 1;
    transform: translateY(0);
}

.about-leader-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    transition: background 0.2s ease;
}

.about-leader-links a:hover {
    background: var(--color-primary);
}

.about-leader-links img {
    width: 18px;
    height: 18px;
    filter: invert(1);
}

.about-leader-links a:hover img {
    filter: brightness(0) invert(1);
}

.about-differentiators {
    padding: var(--section-padding) var(--container-padding);
    border-bottom: 1px solid #e5e7eb;
    background: var(--color-white);
}

.about-differentiators-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.about-differentiators-content h2 {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 24px;
}

.about-differentiators-content p {
    font-size: 21px;
    line-height: 31px;
    color: var(--color-gray-600);
}

.about-differentiators-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
    margin-top: 40px;
}

.about-differentiator-card h3 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 12px;
}

.about-differentiator-card p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-600);
}

.about-differentiator-icon {
    width: 44px;
    height: 44px;
    border: 1px solid #d1d5dc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about-differentiator-icon img {
    width: 24px;
    height: 24px;
}

.about-differentiators-visual {
    position: relative;
    height: 568px;
    overflow: hidden;
}

.about-differentiators-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-differentiators-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.2);
}

/* Resources List */
.resources-hero {
    background: #182537;
    padding: 150px var(--container-padding) 96px;
}

.resources-hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.resources-hero h1 {
    font-size: 48px;
    line-height: 48px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.resources-hero p {
    font-size: 20px;
    line-height: 28px;
    color: var(--color-white);
    max-width: 600px;
}

.resources-filters {
    background: #182537;
    border-top: 1px solid #253751;
    padding: 32px var(--container-padding) var(--spacing-lg);
}

.resources-filters-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Search bar on dark hero: transparent, no border, light text (match reference) */
.resources-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 12px 16px;
    height: 50px;
    max-width: 450px;
    min-width: 200px;
    box-sizing: border-box;
    overflow: visible;
}

.resources-search img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
}

.resources-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
}

.resources-search input::placeholder {
    color: #99A1AF;
}

.resources-filter-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Reserve space so dropdowns don't jump when JS enhances (same size before/after) */
.resources-filter-dropdown {
    min-height: 51px;
    min-width: 180px;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: opacity 0.12s ease-out;
}
.resources-filter-actions .resources-filter-dropdown--topic {
    min-width: 240px;
}
.resources-filter-actions .resources-filter-dropdown:last-of-type {
    min-width: 200px;
}
/* Hide dropdowns until enhanced so no flash of native select → custom UI jump */
.resources-filters-loading .resources-filter-dropdown {
    opacity: 0;
    pointer-events: none;
}

/* Native select: visible when no JS (progressive enhancement) */
.resources-filter-actions select,
.resources-filter-actions .resources-filter-dropdown__select {
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    padding: 12px 16px;
    height: 51px;
    font-size: 16px;
    color: #101828;
    appearance: none;
    background-image: url('../images/down-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 7px;
    padding-right: 38px;
    min-width: 180px;
}

.resources-filter-actions select:last-of-type,
.resources-filter-actions .resources-filter-dropdown--topic .resources-filter-dropdown__select {
    min-width: 240px;
}

.resources-filter-actions .resources-filter-dropdown:last-of-type .resources-filter-dropdown__select {
    min-width: 200px;
}

/* Custom dropdown: hidden until enhanced */
.resources-filter-dropdown__inner {
    display: none;
}

.resources-filter-dropdown.is-enhanced .resources-filter-dropdown__select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.resources-filter-dropdown.is-enhanced .resources-filter-dropdown__inner {
    display: block;
    position: relative;
    min-width: 180px;
}

.resources-filter-dropdown.is-enhanced.resources-filter-dropdown--topic .resources-filter-dropdown__inner {
    min-width: 240px;
}

.resources-filter-dropdown.is-enhanced.resources-filter-dropdown--last .resources-filter-dropdown__inner {
    min-width: 200px;
}

/* Trigger: same height and border as existing inputs, square corners */
.resources-filter-dropdown__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 51px;
    padding: 12px 16px;
    padding-right: 28px;
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    font-size: 16px;
    color: #101828;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    position: relative;
}

.resources-filter-dropdown__trigger:hover {
    border-color: #99a1af;
}

.resources-filter-dropdown__trigger:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(53, 92, 222, 0.2);
}

.resources-filter-dropdown__trigger.is-open {
    border-color: #99a1af;
}

.resources-filter-dropdown__trigger-label {
    flex: 1;
    min-width: 0;
}

.resources-filter-dropdown__trigger-caret {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #4A5565;
    transition: transform 0.2s ease;
}

.resources-filter-dropdown__trigger-caret svg {
    display: block;
    width: 9px;
    height: 9px;
}

.resources-filter-dropdown__trigger.is-open .resources-filter-dropdown__trigger-caret {
    transform: translateY(-50%) rotate(180deg);
}

/* Listbox: white panel, sharp corners, shadow */
.resources-filter-dropdown__listbox {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 2px;
    padding: 4px 0;
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
}

.resources-filter-dropdown__option {
    padding: 10px 16px;
    font-size: 16px;
    color: #101828;
    cursor: pointer;
    white-space: nowrap;
}

.resources-filter-dropdown__option:hover {
    background: #f3f4f6;
}

.resources-filter-dropdown__option[aria-selected="true"] {
    background: #e5e7eb;
    font-weight: 500;
}

.resources-filter-dropdown__option:focus {
    outline: none;
    background: #f3f4f6;
}

.resources-filter-dropdown__option[aria-selected="true"]:focus {
    background: #e5e7eb;
}

.resources-reset {
    height: 51px;
    padding: 0 20px;
    gap: 8px;
    font-size: 16px;
}

.resources-reset img {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.resources-page .resources-grid {
    padding: var(--spacing-3xl) var(--container-padding);
    background: var(--color-white);
    display: block;
    width: 100%;
    margin-bottom: 0;
    overflow: visible;
    scroll-snap-type: none;
    padding-right: var(--container-padding);
}

.resources-grid-secondary {
    padding-top: var(--spacing-4xl);
}

.resources-grid-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.resources-page .resource-card {
    border: 1px solid #d1d5dc;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    min-height: 530px;
    opacity: 1;
    flex: initial;
    min-width: 0;
    border-radius: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.resources-page .resource-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.resources-page .resource-card-image {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #e5e7eb;
}

.resources-page .resource-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.2);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.resources-page .resource-card-image::before {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 10px;
    background: var(--color-primary);
    transition: right 0.25s ease;
    z-index: 2;
}

.resources-page .resource-card:hover .resource-card-image::after {
    opacity: 1;
}

.resources-page .resource-card:hover .resource-card-image::before {
    right: 0;
}

.resources-page .resource-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.resources-page .resource-card:hover .resource-card-image img {
    transform: scale(1.03);
}

.resources-page .resource-card-tag {
    position: absolute;
    top: 17px;
    left: 17px;
    background: #182537;
    color: var(--color-white);
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 8px 16px;
}

.resources-page .resource-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resources-page .resource-card-meta {
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--color-gray-500);
}

.resources-page .resource-card-body h3 {
    font-size: 24px;
    line-height: 30px;
    color: var(--color-primary-darker);
    font-weight: 500;
    transition: color 0.2s ease;
}

.resources-page .resource-card:hover .resource-card-body h3 {
    color: var(--color-primary);
}

.resources-page .resource-card-body p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-600);
}

.resource-card .resource-card-body {
    min-height: 0;
}

.resource-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
}

.resources-cta {
    background: var(--color-gray-50);
    padding: var(--spacing-5xl) var(--container-padding);
    border-top: none;
    border-bottom: none;
}

.resources-cta .btn {
    text-decoration: none;
}

.resources-cta-container {
    max-width: 770px;
    margin: 0 auto;
    text-align: center;
}

.resources-eyebrow {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-gray-500);
    display: block;
    margin-bottom: 12px;
}

.resources-cta h2 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 12px;
}

.resources-cta p {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-gray-600);
    margin: 0 0 28px;
}

.resources-cta-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
    max-width: 480px;
    margin: 0 auto;
}

.resources-cta-form .taxpay-form-message {
    flex: 1 1 100%;
    margin-top: 8px;
    text-align: center;
}

.resources-cta-form input {
    flex: 1 1 200px;
    min-width: 0;
    height: 56px;
    min-height: 56px;
    padding: 14px 20px;
    border: 1px solid #d1d5dc;
    border-radius: var(--radius-sm);
    font-size: 16px;
    line-height: 24px;
    box-sizing: border-box;
}

.resources-cta-form input::placeholder {
    color: rgba(10, 10, 10, 0.5);
    font-size: 16px;
}

.resources-cta-form input.field-error {
    border: 1px solid #b91c1c;
    outline: none;
}

.resources-cta-form .btn {
    height: 56px;
    min-height: 56px;
    padding: 0 24px;
    font-size: 16px;
    line-height: 24px;
    min-width: 140px;
    flex-shrink: 0;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
}

/* No results empty state */
.resources-no-results-section {
    grid-column: 1 / -1;
    min-height: min(480px, 55vh);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-5xl) var(--container-padding);
    margin-bottom: 0;
    text-align: center;
    background: #f9fafb;
    border: 1px dashed var(--color-gray-300);
    border-radius: 8px;
}

.resources-no-results-inner {
    max-width: 480px;
}

.resources-no-results-title {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 var(--spacing-md);
    line-height: 1.3;
}

.resources-no-results-text {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-gray-600);
    margin: 0 0 var(--spacing-xl);
}

.resources-no-results-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--spacing-xl);
}

.resources-pagination {
    padding: var(--spacing-xl) var(--container-padding) var(--spacing-3xl);
    margin-bottom: 80px;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
}

.resources-pagination-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.resources-page-btn {
    border: 1px solid #d1d5dc;
    background: var(--color-white);
    padding: 18px 24px;
    font-size: 16px;
    color: var(--color-primary-darker);
    width: 110px;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.resources-page-btn[disabled] {
    color: var(--color-gray-400);
    cursor: not-allowed;
}

.resources-page-btn:not([disabled]):hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.resources-page-numbers {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.resources-page-number {
    width: 64px;
    height: 64px;
    border: 1px solid #d1d5dc;
    background: var(--color-white);
    font-size: 16px;
    color: #364153;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.resources-page-number:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.resources-page-number.is-active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.resources-page-number.is-active:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.resources-pagination-container .resources-page-btn:last-child {
    justify-self: end;
}

/* Blog Detail */
.blog-detail-page .resources-hero,
.blog-detail-page .resources-grid {
    padding: 0;
    background: inherit;
}

.blog-detail-hero {
    background: #182537;
    padding: 150px var(--container-padding) 80px;
    position: relative;
    overflow: hidden;
    min-height: 760px;
}

.blog-detail-hero-inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    min-height: 460px;
}

.blog-detail-hero-content {
    max-width: 604px;
}

.blog-detail-hero-content h1 {
    font-size: 50px;
    color: var(--color-white);
    line-height: 61px;
    letter-spacing: -1.5px;
    margin: 0 0 34px;
}

.blog-detail-hero-content p {
    font-size: 20px;
    line-height: 32.5px;
    color: #d1d5dc;
    margin: 0 0 34px;
}

.blog-detail-breadcrumb {
    display: flex;
    gap: 12px;
    margin-bottom: 34px;
}

.blog-detail-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 12px;
    line-height: 16px;
    height: 32px;
    padding: 0 16px;
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

.blog-detail-breadcrumb-filled {
    background: var(--color-white);
    color: #101828;
    border-width: 2px;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #364153;
    margin-bottom: 34px;
    width: fit-content;
    max-width: 100%;
}

.blog-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #99a1af;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
}

.blog-detail-meta-item img {
    width: 20px;
    height: 20px;
}

.blog-detail-hero-btn {
    width: fit-content;
    padding: 18px 32px;
    height: 60px;
}

.blog-detail-hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    max-width: 785px;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    border-radius: 0;
    image-rendering: -webkit-optimize-contrast;
}

.blog-detail-layout {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-4xl) var(--container-padding);
    display: grid;
    grid-template-columns: 820px 400px;
    gap: 60px;
    justify-content: center;
}

.blog-detail-article {
    background: var(--color-white);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #182537;
    font-size: 18px;
}

.blog-detail-article h2,
.blog-detail-article h3,
.blog-detail-article h4 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 -21px;
}

.blog-detail-article h3 {
    font-size: 20px;
    line-height: 28px;
}

.blog-detail-article h4 {
    font-size: 18px;
    line-height: 26px;
}

.blog-detail-article ul {
    padding-left: 0;
    color: #4a5565;
    list-style: none;
    margin: 0 0 24px 0;
}

.blog-detail-article ul li {
    padding-left: 15px;
    margin-bottom: 10px;
    position: relative;
    line-height: 26px;
}

.blog-detail-article ul li:last-child {
    margin-bottom: 0;
}

.blog-detail-article ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.blog-detail-article ol,
.blog-detail-article ol li {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.blog-detail-article ol {
    padding-left: 1.5em;
    margin: 0 0 24px 0;
    color: #4a5565;
    list-style-position: outside;
}

.blog-detail-article ol li {
    margin-bottom: 10px;
    line-height: 26px;
    padding-left: 0.25em;
}

.blog-detail-article ol li:last-child {
    margin-bottom: 0;
}

.blog-detail-article-content {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.blog-detail-article a {
    text-decoration: underline;
}

.blog-detail-article a:hover {
    text-decoration: underline;
}

.blog-detail-quote {
    background: #f0f3f7;
    border-left: 4px solid #355cde;
    padding: 32px 32px 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-detail-quote p:first-child {
    margin: 0;
}

.blog-detail-quote p:first-child span {
    font-style: italic;
    font-size: 24px;
    line-height: 32px;
    color: #101828;
    font-weight: 400;
}

.blog-detail-quote p:last-child {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #4a5565;
    font-style: normal;
}

/* Core Quote block inside blog detail: match .blog-detail-quote styling */
.blog-detail-article .wp-block-quote,
.blog-detail-article blockquote.wp-block-quote {
    background: #f0f3f7 !important;
    border-left: 4px solid #355cde !important;
    padding: 32px 32px 32px 36px !important;
    margin: 2em 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Quote text: first paragraph */
.blog-detail-article .wp-block-quote p:first-of-type,
.blog-detail-article blockquote.wp-block-quote p:first-of-type {
    margin: 0 !important;
    font-style: italic !important;
    font-size: 24px !important;
    line-height: 32px !important;
    color: #101828 !important;
    font-weight: 400 !important;
}

.blog-detail-article .wp-block-quote p:first-of-type em,
.blog-detail-article blockquote.wp-block-quote p:first-of-type em {
    font-style: italic !important;
}

/* Citation: last paragraph (block outputs second <p>, not <cite>) */
.blog-detail-article .wp-block-quote p:last-of-type,
.blog-detail-article blockquote.wp-block-quote p:last-of-type {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #4a5565 !important;
    font-style: normal !important;
    font-weight: 400 !important;
}

/* When block uses <cite> */
.blog-detail-article .wp-block-quote cite,
.blog-detail-article .wp-block-quote cite p,
.blog-detail-article blockquote.wp-block-quote cite,
.blog-detail-article blockquote.wp-block-quote cite p {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #4a5565 !important;
    font-style: normal !important;
}

.blog-detail-article .wp-block-quote cite {
    display: block !important;
}

/* blog-detail-insight: match html/blog-detail.html + html/style.css exactly */
.blog-detail-article .wp-block-group:has(> .blog-detail-insight),
.blog-detail-article .wp-block-block:has(> .blog-detail-insight) {
    display: contents;
}

.blog-detail-insight {
    background: #f0f3f7;
    padding: 41px 43px 46px;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 35px !important;
    box-sizing: border-box;
}

.blog-detail-insight-icon {
    width: 93px;
    height: 93px;
    background: var(--color-white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-detail-insight-icon img {
    width: 47px;
    height: 47px;
}

.blog-detail-insight-content {
    flex: 1;
    padding-top: 0;
}

.blog-detail-insight-content h4 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: #101828;
    margin: 0 0 12px;
}

.blog-detail-insight-content p {
    font-size: 16px;
    line-height: 26px;
    color: #364153;
    margin: 0;
    max-width: 574px;
}

/* When Key Insight is a Group block with class blog-detail-insight (Image + Heading + Paragraph) */
.blog-detail-article .wp-block-group.blog-detail-insight {
    background: #f0f3f7 !important;
    padding: 41px 43px 46px !important;
    box-sizing: border-box;
    border-radius: 12px;
}

/* Direct children: image, h4, p (no inner container) */
.blog-detail-article .wp-block-group.blog-detail-insight:not(:has(> .wp-block-group__inner-container)) {
    display: grid !important;
    grid-template-columns: 93px 1fr !important;
    grid-template-rows: auto auto !important;
    align-items: start !important;
    gap: 35px !important;
}

.blog-detail-article .wp-block-group.blog-detail-insight:not(:has(> .wp-block-group__inner-container)) > *:first-child {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
}

.blog-detail-article .wp-block-group.blog-detail-insight:not(:has(> .wp-block-group__inner-container)) > *:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

.blog-detail-article .wp-block-group.blog-detail-insight:not(:has(> .wp-block-group__inner-container)) > *:nth-child(3) {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

/* First child is the icon (image block) – white rounded box */
.blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-image:first-child {
    width: 93px !important;
    min-width: 93px !important;
    height: 93px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border-radius: 12px;
    overflow: hidden;
}

.blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-image:first-child img {
    width: 47px !important;
    height: 47px !important;
    object-fit: contain;
}

/* Group has one child: inner container (image, h4, p inside) */
.blog-detail-article .wp-block-group.blog-detail-insight:has(> .wp-block-group__inner-container) {
    display: block !important;
}

.blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container {
    display: grid !important;
    grid-template-columns: 93px 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 35px !important;
    align-items: start !important;
}

.blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > *:first-child {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
}

.blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > *:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

.blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > *:nth-child(3) {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

.blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > .wp-block-image:first-child {
    width: 93px !important;
    min-width: 93px !important;
    height: 93px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border-radius: 12px;
    overflow: hidden;
}

.blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > .wp-block-image:first-child img {
    width: 47px !important;
    height: 47px !important;
    object-fit: contain;
}

.blog-detail-article .wp-block-group.blog-detail-insight h4 {
    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: 500 !important;
    color: #101828 !important;
    margin: 0 0 12px !important;
}

.blog-detail-article .wp-block-group.blog-detail-insight p {
    font-size: 16px !important;
    line-height: 26px !important;
    color: #364153 !important;
    margin: 0 !important;
    max-width: 574px;
}

.blog-detail-highlight {
    background: #355cde;
    color: #fff;
    padding: 49px 60px;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    position: relative;
    margin: 48px 0;
}

.blog-detail-highlight h3 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 400;
    margin: 0 0 16px;
    color: #fff;
}

.blog-detail-highlight > p {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 32px;
    max-width: 501px;
}

.blog-detail-subscribe {
    margin-bottom: 18px;
}

.blog-detail-subscribe form {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: stretch;
}

.blog-detail-subscribe .taxpay-form-message {
    flex: 1 1 100%;
    margin-top: 8px;
}

.blog-detail-subscribe input {
    width: 322px;
    height: 60px;
    min-height: 60px;
    padding: 16px 24px;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 16px;
    line-height: 24px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.blog-detail-subscribe input.field-error {
    border: 1px solid #b91c1c;
    outline: none;
}

.blog-detail-subscribe input::placeholder {
    color: rgba(10, 10, 10, 0.5);
    font-size: 16px;
}

.blog-detail-subscribe .btn {
    width: 154px;
    height: 63px;
    min-height: 60px;
    padding: 0;
    box-sizing: border-box;
    background: #101828;
    font-size: 16px;
    line-height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.blog-detail-subscribe .btn:hover {
    background: #1f2937;
}

.blog-detail-call {
    font-size: 18px;
    color: #182537;
    font-weight: 500;
}

.blog-detail-subscribe .btn img {
    width: 16px;
    height: 16px;
}

.blog-detail-highlight-note {
    font-size: 14px !important;
    line-height: 20px !important;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 !important;
    max-width: 100% !important;
}

.blog-detail-highlight-icon {
    position: absolute;
    right: 60px;
    top: 84px;
    width: 168px;
    height: 169px;
    opacity: 0.15;
}

.blog-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.blog-detail-sidebar-card {
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    padding: 20px;
    border-radius: 0;
}

.blog-detail-sidebar-card h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--color-primary-darker);
    border-bottom: 1px solid #dfe3ec;
    padding-bottom: 10px;
}

.blog-detail-sidebar-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.blog-detail-sidebar-cta {
    background: #101828;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: none;
}

.blog-detail-sidebar-cta h4 {
    color: var(--color-white);
    font-size: 24px;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
}

.blog-detail-sidebar-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.blog-detail-sidebar-cta .btn {
    width: 100%;
}

.blog-detail-author {
    margin-top: 48px;
}

.blog-detail-author-card {
    border-top: 1px solid #e5e7eb;
    padding: 49px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-detail-author-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #99a1af;
    line-height: 16px;
    margin: 0;
}

.blog-detail-author-card h4 {
    margin: 0;
    font-size: 20px;
    line-height: 32px;
    color: #101828;
    font-weight: 400;
}

.blog-detail-author-card p {
    margin: 0;
    font-size: 14px;
    line-height: 23px;
    color: #4a5565;
}

.blog-detail-author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: #101828;
    font-size: 12px;
    line-height: 24px;
    font-weight: 400;
    text-decoration: none;
}

.blog-detail-author-link:hover {
    color: var(--color-primary);
}

.blog-detail-author-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(7%) sepia(13%) saturate(2466%) hue-rotate(184deg) brightness(97%) contrast(96%);
}

.blog-detail-sidebar-card ul li a {
    color: #4A5565;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.blog-detail-sidebar-card ul li a[data-level="h3"] {
    padding-left: 16px;
}

.blog-detail-sidebar-card ul li a:hover {
    color: var(--color-primary);
}

.blog-detail-sidebar-card ul li a.is-active {
    color: var(--color-primary);
}

.blog-detail-sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-detail-sidebar-label {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #99a1af;
}

.blog-detail-sidebar-meta {
    font-size: 12px;
    color: #6a7282;
}

.blog-detail-tags {
    padding: 33px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: 48px;
}

.blog-detail-tags > div:first-child {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #99a1af;
    line-height: 20px;
}

.blog-detail-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-detail-tags span,
.blog-detail-tags-wrapper a {
    border: 1px solid #d1d5dc;
    padding: 9px 17px;
    border-radius: 0;
    font-size: 14px;
    line-height: 20px;
    color: #364153;
    text-decoration: none;
}

.blog-detail-tags-wrapper a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.blog-detail-related {
    background: #f0f3f7;
    padding: 80px var(--container-padding);
    margin: 0;
}

.blog-detail-related-header {
    max-width: var(--container-max-width);
    margin: 0 auto 48px;
}

.blog-detail-related-header h2 {
    font-size: 40px;
    line-height: 40px;
    margin: 0 0 16px;
    color: #101828;
}

.blog-detail-related-header p {
    font-size: 20px;
    line-height: 28px;
    margin: 0;
    color: #4a5565;
}

.blog-detail-related-grid {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-detail-related-card {
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.blog-detail-related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.blog-detail-related-card > img {
    width: 100%;
    height: 218px;
    object-fit: cover;
    border-radius: 0;
    position: relative;
}

.blog-detail-related-card-image {
    position: relative;
    width: 100%;
    height: 218px;
    overflow: hidden;
}

.blog-detail-related-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.2);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.blog-detail-related-card-image::before {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 10px;
    background: var(--color-primary);
    transition: right 0.25s ease;
    z-index: 2;
}

.blog-detail-related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-detail-related-card:hover .blog-detail-related-card-image::after {
    opacity: 1;
}

.blog-detail-related-card:hover .blog-detail-related-card-image::before {
    right: 0;
}

.blog-detail-related-card:hover .blog-detail-related-card-image img {
    transform: scale(1.03);
}

.blog-detail-related-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-detail-related-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #6a7282;
    margin: 0;
}

.blog-detail-related-label-link {
    color: inherit;
    text-decoration: none;
}

.blog-detail-related-label-link:hover {
    color: var(--color-primary);
}

.blog-detail-related-label-sep {
    color: #99a1af;
    pointer-events: none;
}

.blog-detail-related-content h3 {
    font-size: 20px;
    line-height: 28px;
    color: #101828;
    font-weight: 500;
    margin: 0;
    transition: color 0.2s ease;
}

.blog-detail-related-card:hover .blog-detail-related-content h3 {
    color: var(--color-primary);
}

.blog-detail-related-meta {
    font-size: 14px;
    line-height: 20px;
    color: #6a7282;
}

.blog-detail-related-cta {
    max-width: var(--container-max-width);
    margin: 48px auto 0;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: center;
}

/* Remove all border-radius from buttons and inputs on blog detail page */
.blog-detail-page .btn,
.blog-detail-page input,
.blog-detail-page button {
    border-radius: 0 !important;
}

@media (max-width: 1360px) {
    .blog-detail-layout {
        grid-template-columns: 2fr 1fr;
        max-width: var(--container-max-width);
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .blog-detail-hero-inner {
        text-align: left;
    }

    .blog-detail-layout {
        grid-template-columns: 1fr;
        padding: var(--spacing-4xl) var(--container-padding);
    }

    .blog-detail-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-detail-hero {
        padding: 120px var(--container-padding) 32px;
        min-height: auto;
    }

    .blog-detail-hero-image {
        display: none;
    }

    .blog-detail-hero h1 {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.9px;
    }

    .blog-detail-hero-content p {
        font-size: 18px;
        line-height: 28px;
    }

    .blog-detail-meta {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 16px;
        max-width: 100%;
    }

    .blog-detail-meta-item {
        flex-shrink: 0;
        font-size: 13px;
    }

    .blog-detail-breadcrumb {
        gap: 8px;
    }

    .blog-detail-breadcrumb-item {
        font-size: 11px;
        height: 28px;
        padding: 0 12px;
    }

    .blog-detail-layout {
        padding: var(--spacing-4xl) var(--container-padding);
    }

    .blog-detail-related-header h2 {
        font-size: 32px;
        line-height: 36px;
    }

    .blog-detail-related-header p {
        font-size: 18px;
        line-height: 26px;
    }

    .blog-detail-related-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-highlight {
        display: none;
    }

    .blog-detail-subscribe form {
        flex-direction: column;
        gap: 12px;
    }

    .blog-detail-subscribe input {
        width: 100%;
    }

    .blog-detail-subscribe .btn {
        width: 100%;
    }

    .blog-detail-highlight-icon {
        display: none;
    }

    .blog-detail-quote {
        padding: 24px 24px 24px 28px;
    }

    .blog-detail-quote p:first-child span {
        font-size: 20px;
        line-height: 28px;
    }

    .blog-detail-quote p:last-child {
        font-size: 14px;
        line-height: 20px;
    }

    .blog-detail-article .wp-block-quote,
    .blog-detail-article blockquote.wp-block-quote {
        padding: 24px 24px 24px 28px !important;
    }

    .blog-detail-article .wp-block-quote p:first-of-type,
    .blog-detail-article blockquote.wp-block-quote p:first-of-type {
        font-size: 20px !important;
        line-height: 28px !important;
    }

    .blog-detail-article .wp-block-quote p:last-of-type,
    .blog-detail-article blockquote.wp-block-quote p:last-of-type,
    .blog-detail-article .wp-block-quote cite,
    .blog-detail-article .wp-block-quote cite p,
    .blog-detail-article blockquote.wp-block-quote cite,
    .blog-detail-article blockquote.wp-block-quote cite p {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .blog-detail-insight {
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        align-items: center;
    }

    .blog-detail-insight-icon {
        width: 80px;
        height: 80px;
    }

    .blog-detail-insight-icon img {
        width: 40px;
        height: 40px;
    }

    .blog-detail-insight-content h4 {
        font-size: 18px;
        line-height: 24px;
        text-align: center;
    }

    .blog-detail-insight-content p {
        font-size: 14px;
        line-height: 22px;
        text-align: center;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight {
        padding: 32px 24px !important;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight:not(:has(> .wp-block-group__inner-container)) {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight:not(:has(> .wp-block-group__inner-container)) > *:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight:not(:has(> .wp-block-group__inner-container)) > *:nth-child(2),
    .blog-detail-article .wp-block-group.blog-detail-insight:not(:has(> .wp-block-group__inner-container)) > *:nth-child(3) {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > *:first-child {
        grid-row: 1 !important;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > *:nth-child(2),
    .blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > *:nth-child(3) {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-image:first-child,
    .blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > .wp-block-image:first-child {
        width: 80px !important;
        min-width: 80px !important;
        height: 80px !important;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-image:first-child img,
    .blog-detail-article .wp-block-group.blog-detail-insight > .wp-block-group__inner-container > .wp-block-image:first-child img {
        width: 40px !important;
        height: 40px !important;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight h4 {
        text-align: center;
    }

    .blog-detail-article .wp-block-group.blog-detail-insight p {
        text-align: center;
        max-width: none;
    }
}

@media (max-width: 1200px) {
    .solution-hero {
        display: flex;
        flex-direction: column;
    }

    .solution-hero .hero-container {
        order: 1;
    }

    .solution-hero-visual {
        order: 2;
        position: relative;
        width: 100%;
        min-width: 0;
        height: 420px;
        justify-content: flex-start;
    }

    .solution-hero-image-wrap {
        height: 420px;
    }

    .solution-challenge-container,
    .solution-support-container,
    .solution-capability {
        grid-template-columns: 1fr;
    }

    .solution-capability.reverse {
        grid-template-columns: 1fr;
    }

    .solution-capability.reverse .solution-capability-image,
    .solution-capability.reverse .solution-capability-content {
        order: initial;
    }

    .solution-coverage-grid,
    .solution-case-studies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero-container,
    .about-highlight-container,
    .about-story-container,
    .about-leadership-container,
    .about-differentiators-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero-image,
    .about-differentiators-visual {
        height: 420px;
    }

    .about-story-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-story-divider {
        display: none;
    }

    .about-leadership-intro {
        position: static;
    }

    .about-leadership-grid,
    .about-leadership-grid--top,
    .about-leadership-grid--bottom,
    .about-differentiators-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 1024px) {
    .taxpay-challenge-container,
    .taxpay-outcomes-container,
    .taxpay-standard-container,
    .taxpay-coverage-container,
    .taxpay-process-container {
        grid-template-columns: 1fr;
    }

    .taxpay-outcomes-container {
        gap: 40px;
    }

    .taxpay-hero {
        min-height: auto;
        padding-bottom: var(--spacing-3xl);
    }

    .taxpay-hero .hero-bg {
        display: none;
    }

    .taxpay-outcomes-cards {
        max-width: 520px;
    }

    .taxpay-standards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .resources-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }

    .resources-filter-actions .resources-filter-dropdown,
    .resources-reset {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .resources-filter-actions .resources-filter-dropdown.is-enhanced .resources-filter-dropdown__inner,
    .resources-filter-actions .resources-filter-dropdown.is-enhanced.resources-filter-dropdown--topic .resources-filter-dropdown__inner,
    .resources-filter-actions .resources-filter-dropdown.is-enhanced.resources-filter-dropdown--last .resources-filter-dropdown__inner {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .taxpay-hero .hero-bg {
        display: none;
    }

    .taxpay-hero .hero-visual {
        display: flex;
        padding-top: 24px;
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
    }

    .taxpay-hero-form {
        width: 100%;
        max-width: 100%;
        margin: -30px 0 0;
        box-sizing: border-box;
        min-width: 0;
    }

    .taxpay-hero .hero-container {
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .taxpay-hero .hero-content {
        order: 1;
    }

    .taxpay-hero .hero-visual {
        order: 2;
    }

    .taxpay-hero .hero-title {
        font-size: 40px;
    }

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

    .taxpay-form-foot {
        display: none;
    }

    .taxpay-outcomes-content {
        position: static;
        margin-bottom: 0;
    }

    .taxpay-challenge-grid,
    .taxpay-coverage-stats {
        grid-template-columns: 1fr;
    }

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

    .taxpay-accountability-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .taxpay-accountability-header .btn {
        margin-top: 12px;
    }

    .taxpay-standards-grid {
        grid-template-columns: 1fr;
    }

    .taxpay-standard-card-row {
        grid-template-columns: 1fr;
    }

    .solution-hero {
        min-height: auto;
        padding-bottom: var(--spacing-3xl);
    }

    .solution-hero-visual {
        display: none;
    }

    .solution-challenge-container,
    .solution-support-container,
    .solution-capability {
        grid-template-columns: 1fr;
    }

    .solution-challenge-image {
        height: 360px;
    }

    .solution-challenge-grid {
        grid-template-columns: 1fr;
    }

    .solution-scale-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .solution-support-form {
        width: 100%;
    }

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

    .solution-capability {
        margin-bottom: 48px;
    }

    .solution-capabilities-container .solution-capability:nth-child(n+3) {
        display: none;
    }

    .solution-capabilities-container .solution-capability:nth-child(n+3).show {
        display: grid;
    }

    .solution-view-more-container {
        display: block;
    }

    .solution-capability-image {
        height: 260px;
    }

    .solution-coverage-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .solution-coverage-grid,
    .solution-case-studies-grid,
    .solution-services-grid {
        grid-template-columns: 1fr;
    }

    .solution-case-studies-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .taxpay-standard-cards {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 88%;
        align-items: stretch;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin-top: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .taxpay-standard-cards::-webkit-scrollbar {
        height: 0;
        display: none;
    }

    .taxpay-standard-cards.is-nudging {
        animation: taxpayStandardNudge 1.1s ease-in-out 1;
    }

    @keyframes taxpayStandardNudge {
        0% {
            transform: translateX(0);
        }
        45% {
            transform: translateX(-16px);
        }
        80% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(0);
        }
    }

    .taxpay-standard-card-row {
        scroll-snap-align: start;
        min-height: 320px;
        opacity: 0.2;
        transition: opacity 0.2s ease;
    }

    .taxpay-standard-card-row.is-active {
        opacity: 1;
    }

    .taxpay-standard-slider {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    .taxpay-standard-dot {
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: rgba(24, 37, 55, 0.2);
        transition: background 0.2s ease, width 0.2s ease;
    }

    .taxpay-standard-dot.is-active {
        width: 36px;
        background: var(--color-primary);
    }


    .taxpay-process-ui {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: 400px;
    }

    .taxpay-process-ui .taxpay-ui-card {
        width: 100%;
        min-width: 0;
    }

    .taxpay-process-ui .taxpay-payment-options-inline {
        min-width: 0;
        box-sizing: border-box;
    }

    .taxpay-payment-option-card {
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .taxpay-payment-option-card-fields {
        min-width: 0;
    }

    .taxpay-payment-option-select-wrap {
        min-width: 0;
    }

    .taxpay-payment-option-converted {
        min-width: 0;
        gap: 8px;
    }

    .taxpay-payment-option-converted-value {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .taxpay-payment-options-detail-row {
        min-width: 0;
    }

    .taxpay-payment-options-detail-value {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .taxpay-payment-options-dialog {
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .about-hero {
        padding: 88px var(--spacing-lg) var(--spacing-3xl);
    }

    .about-hero-container {
        gap: 32px;
    }

    .about-hero-content h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .about-hero-content p,
    .about-differentiators-content p {
        font-size: 18px;
        line-height: 27px;
    }

    .about-highlight {
        padding: 0 var(--spacing-lg) var(--spacing-3xl);
    }

    .about-highlight-container {
        grid-template-columns: 1fr;
    }

    .about-highlight-image {
        max-width: 100%;
    }

    .about-highlight-image img {
        max-width: 100%;
    }

    .about-highlight-quote,
    .about-highlight-stat {
        min-height: auto;
    }

    .about-highlight-quote {
        margin-bottom: 8px;
    }

    .about-quote-mark {
        font-size: 140px;
        top: 16px;
    }

    .about-quote-mark-close {
        font-size: 80px;
        bottom: 16px;
        right: 16px;
    }

    .about-highlight-value {
        font-size: 67px;
    }

    .about-story {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }

    .about-story-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-story-header h2 {
        font-size: 36px;
    }

    .about-story-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-leadership {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }

    .about-leadership-container {
        grid-template-columns: 1fr;
    }

    .about-leadership-grid,
    .about-leadership-grid--top,
    .about-leadership-grid--bottom {
        grid-template-columns: 1fr;
    }

    .about-leader-image {
        height: 360px;
    }

    .about-differentiators {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }

    .about-differentiators-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-differentiators-content h2 {
        font-size: 36px;
        line-height: 42px;
    }

    .about-differentiators-grid {
        grid-template-columns: 1fr;
    }

    .about-differentiators-visual {
        height: 360px;
    }

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

    .resources-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }

    .resources-filter-actions select,
    .resources-filter-actions .resources-filter-dropdown,
    .resources-reset {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .resources-filter-actions .resources-filter-dropdown.is-enhanced .resources-filter-dropdown__inner,
    .resources-filter-actions .resources-filter-dropdown.is-enhanced.resources-filter-dropdown--topic .resources-filter-dropdown__inner,
    .resources-filter-actions .resources-filter-dropdown.is-enhanced.resources-filter-dropdown--last .resources-filter-dropdown__inner {
        min-width: 0;
        width: 100%;
    }

    .resources-reset {
        justify-content: center;
    }

    .resources-hero {
        padding: 120px var(--spacing-lg) 64px;
    }

    .resources-hero h1 {
        font-size: 36px;
        line-height: 40px;
    }

    .resources-hero p {
        font-size: 18px;
        line-height: 26px;
    }

    .resources-grid-container {
        grid-template-columns: 1fr;
    }

    .resources-cta {
        display: none;
    }

    .resources-page .resources-grid {
        padding-bottom: var(--spacing-lg);
    }

    .resources-page .resource-card {
        min-width: 0;
        max-width: 100%;
    }

    .resources-grid-secondary,
    .resources-page .resources-grid.resources-grid-secondary {
        padding-top: var(--spacing-lg);
    }

    .resources-page .resources-grid.resources-grid-secondary {
        padding: var(--spacing-lg) var(--container-padding);
    }

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

    .resources-cta-form input,
    .resources-cta-form .btn {
        width: 100%;
    }

    .resources-pagination-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .resources-page-btn {
        justify-self: center;
    }

    .resources-pagination-container .resources-page-btn:last-child {
        justify-self: center;
    }
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.9);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(6px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    z-index: 999;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(53, 92, 222, 0.35);
}

.scroll-to-top svg {
    width: 16px;
    height: 16px;
}

.resources-cta {
    text-align: center;
}

/* ============================================
   Case Study Page
   ============================================ */

.case-study-hero {
    background: var(--color-primary-darker);
    padding: 140px var(--container-padding) 80px;
}

.case-study-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.case-study-hero h1 {
    font-size: 48px;
    line-height: 56px;
    color: var(--color-white);
    margin: 0 0 24px;
}

.case-study-hero p {
    font-size: 20px;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.9);
}

/* FAQs Section */
.faqs-section {
    position: relative;
    background: var(--color-white);
    padding: var(--section-padding) var(--container-padding);
    border-bottom: 1px solid var(--color-gray-200);
}

/* Full-bleed breakout when inside constrained post-content (same as hero/banner) */
main .faqs-section,
.wp-block-post-content .faqs-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

/* Full-width top border (spans viewport) */
main .faqs-section::before,
.wp-block-post-content .faqs-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: var(--color-gray-200);
}

.faqs-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 412px 1fr;
    gap: var(--spacing-4xl);
}

.faqs-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.faqs-sidebar h2 {
    font-size: var(--font-size-6xl);
    font-weight: 400;
    line-height: 1;
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary-darker);
    text-align: left;
}

.faqs-sidebar p {
    font-size: var(--font-size-xl);
    line-height: 1.4;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-3xl);
}

.faqs-sidebar-eyebrow {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.faqs-sidebar-intro {
    font-size: var(--font-size-xl);
    line-height: 1.4;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-3xl);
}

.faqs-sidebar-intro p:last-child {
    margin-bottom: 0;
}

.faqs-cta-section {
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--color-gray-200);
}

.faqs-cta-section h3 {
    font-size: var(--font-size-xl);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary-darker);
}

.faqs-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    background: var(--color-gray-50);
    border: none;
    cursor: pointer;
    text-align: left;
}

/* No + / − icon on FAQ questions in faqs-section; align label left, right arrow on right */
.faqs-section .faq-question::before {
    content: none;
    display: none;
}

.faqs-section .faq-question {
    justify-content: space-between;
}

.faq-item-open .faq-question {
    background: var(--color-gray-50);
}

.faq-question span {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-primary-darker);
}

.faq-item-open .faq-question span {
    color: var(--color-primary);
}

.faq-icon {
    width: 10px;
    height: 5px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

/* faqs-section: right arrow, rotates 90deg when open */
.faqs-section .faq-icon {
    width: 16px;
    height: 16px;
}

.faq-item-open .faq-icon {
    transform: rotate(90deg);
    filter: brightness(0) saturate(100%) invert(35%) sepia(89%) saturate(1200%) hue-rotate(218deg);
}

/* faqs-section: no padding/margin on answer so closed state has zero height (matches HTML reference) */
.faqs-section .faq-answer {
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item-open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-600);
}

.faq-answer p:last-child {
    padding-bottom: var(--spacing-lg);
}

/* View More FAQs Button */
.faq-view-more-container {
    display: none; /* Hidden by default, shown on mobile */
    margin-top: 30px;
    text-align: center;
}

.faq-view-more {
    min-width: 200px;
}

.faq-view-more .faq-view-more-icon {
    width: 10px !important;
    height: 5px !important;
    transition: transform 0.3s ease;
    margin-left: var(--spacing-xs);
    filter: brightness(0) saturate(100%) invert(14%) sepia(13%) saturate(1026%) hue-rotate(178deg) brightness(94%) contrast(90%);
}

.faq-view-more:hover .faq-view-more-icon {
    filter: brightness(0) invert(1);
}

.faq-view-more.expanded .faq-view-more-icon {
    transform: rotate(180deg);
}

/* Platform Section - Show More Button */
.platform-view-more-container {
    display: none; /* Hidden by default, shown on mobile */
    margin-top: 24px;
    text-align: center;
}

.platform-view-more .platform-view-more-icon {
    width: 10px !important;
    height: 5px !important;
    transition: transform 0.3s ease;
    margin-left: var(--spacing-xs);
    filter: brightness(0) saturate(100%) invert(14%) sepia(13%) saturate(1026%) hue-rotate(178deg) brightness(94%) contrast(90%);
}

.platform-view-more:hover .platform-view-more-icon {
    filter: brightness(0) invert(1);
}

.platform-view-more.expanded .platform-view-more-icon {
    transform: rotate(180deg);
}

/* Solution Capabilities - Show More Button (mobile only) */
.solution-view-more-container {
    display: block;
    margin-top: 24px;
    text-align: center;
}

@media (min-width: 1201px) {
    .solution-view-more-container {
        display: none;
    }

    .solution-capabilities-container .solution-capability:nth-child(n+3) {
        display: grid;
    }
}

.solution-view-more {
    min-width: 200px;
}

.solution-view-more .solution-view-more-icon {
    width: 10px !important;
    height: 5px !important;
    transition: transform 0.3s ease;
    margin-left: var(--spacing-xs);
    filter: brightness(0) saturate(100%) invert(14%) sepia(13%) saturate(1026%) hue-rotate(178deg) brightness(94%) contrast(90%);
}

.solution-view-more:hover .solution-view-more-icon {
    filter: brightness(0) invert(1);
}

.solution-view-more.expanded .solution-view-more-icon {
    transform: rotate(180deg);
}

/* Footer CTA */
.footer-cta {
    margin-top: 0;
    background: var(--color-gray-50);
    padding: var(--section-padding) var(--container-padding);
    border-bottom: 1px solid var(--color-gray-200);
}

/* Full-bleed breakout when inside constrained post-content (same as hero/banner) */
main .footer-cta,
.wp-block-post-content .footer-cta {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.footer-cta-container {
    max-width: 846px;
    margin: 0 auto;
    text-align: center;
}

.footer-cta-container h2 {
    font-size: var(--font-size-5xl);
    font-weight: 400;
    line-height: 1.596;
    margin-bottom: var(--spacing-xl);
    color: var(--color-primary-darker);
}

.footer-cta-container p {
    font-size: var(--font-size-2xl);
    line-height: 1.333;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-2xl);
}

.footer-cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

/* Footer CTA on solution pages: same as html/solution.html (class on block when template is Solution, or body.solution-page as fallback) */
.footer-cta-solution,
main .footer-cta-solution,
.wp-block-post-content .footer-cta-solution,
.solution-page main .footer-cta,
.solution-page .wp-block-post-content .footer-cta {
    background: linear-gradient(180deg, #2a4b9f 0%, #1e3a7a 100%) !important;
    border: none;
}

.footer-cta-solution .footer-cta-container {
    max-width: 846px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer-cta-solution .footer-cta-container h2 {
    color: var(--color-white);
    font-size: 31px;
    line-height: 1.15;
    letter-spacing: -0.36px;
    margin-bottom: var(--spacing-2xl);
}

.footer-cta-solution .footer-cta-container p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: var(--spacing-2xl);
}

.footer-cta-solution .footer-cta-actions {
    justify-content: center;
}

.footer-cta-solution .footer-cta-actions .btn {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.footer-cta-solution .footer-cta-actions .btn:hover {
    background-color: var(--color-white);
    color: #101828;
    border-color: var(--color-white);
}

.footer-cta-solution .footer-cta-actions .btn .btn-arrow {
    filter: brightness(0) invert(1);
}

.footer-cta-solution .footer-cta-actions .btn:hover .btn-arrow {
    filter: brightness(0);
}

/* Same styles when body has solution-page (fallback if block class not output) */
.solution-page main .footer-cta .footer-cta-container,
.solution-page .wp-block-post-content .footer-cta .footer-cta-container {
    max-width: 846px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.solution-page main .footer-cta .footer-cta-container h2,
.solution-page .wp-block-post-content .footer-cta .footer-cta-container h2 {
    color: var(--color-white);
    font-size: 31px;
    line-height: 1.15;
    letter-spacing: -0.36px;
    margin-bottom: var(--spacing-2xl);
}

.solution-page main .footer-cta .footer-cta-actions .btn,
.solution-page .wp-block-post-content .footer-cta .footer-cta-actions .btn {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.solution-page main .footer-cta .footer-cta-actions .btn:hover,
.solution-page .wp-block-post-content .footer-cta .footer-cta-actions .btn:hover {
    background-color: var(--color-white);
    color: #101828;
    border-color: var(--color-white);
}

.solution-page main .footer-cta .footer-cta-actions .btn .btn-arrow,
.solution-page .wp-block-post-content .footer-cta .footer-cta-actions .btn .btn-arrow {
    filter: brightness(0) invert(1);
}

.solution-page main .footer-cta .footer-cta-actions .btn:hover .btn-arrow,
.solution-page .wp-block-post-content .footer-cta .footer-cta-actions .btn:hover .btn-arrow {
    filter: brightness(0);
}

/* Footer */
.footer {
    background: var(--color-primary-darker);
    color: var(--color-gray-300);
    padding: 0 var(--container-padding);
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
}

.footer-newsletter {
    border-bottom: 1px solid var(--color-gray-900);
    padding: var(--spacing-3xl) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.footer-newsletter-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-sm);
}

.footer-newsletter-actions-inner {
    width: max-content;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-sm);
}

.footer-newsletter-content {
    max-width: 420px;
}

.footer-newsletter-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 400;
    line-height: 1.111;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.footer-newsletter-content p {
    font-size: var(--font-size-lg);
    line-height: 1.556;
    color: var(--color-gray-400);
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
}

.footer-newsletter-form .taxpay-form-message {
    flex: 1 1 100%;
    font-size: var(--font-size-sm);
    margin-top: 4px;
}

.footer-newsletter-input {
    flex: 1;
    height: 54px;
    box-sizing: border-box;
    background: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: var(--radius-sm);
    padding: 0 var(--spacing-lg);
    font-size: var(--font-size-base);
    color: var(--color-gray-500);
    font-family: inherit;
    width: 350px;
    min-width: 350px;
}

.footer-newsletter-input::placeholder {
    color: var(--color-gray-500);
}

.footer-newsletter-form .btn {
    height: 54px;
    min-height: 54px;
    padding: 0 var(--spacing-lg);
    box-sizing: border-box;
    align-items: center;
}

.footer-newsletter-form input.field-error {
    border-color: #b91c1c;
}

.footer-newsletter-disclaimer {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    margin: 0;
    text-align: left;
}

.footer-main {
    padding: var(--spacing-3xl) 0;
    display: grid;
    grid-template-columns: 2fr 1.4fr repeat(3, 1fr);
    gap: var(--spacing-4xl);
    border-bottom: 1px solid var(--color-gray-900);
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: var(--spacing-lg);
}

.footer-column p {
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-400);
    margin-bottom: var(--spacing-lg);
}

.footer-column h3 {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-column ul li a {
    font-size: var(--font-size-base);
    color: var(--color-gray-300);
    transition: color 0.2s;
}

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

.footer-column ul li a.current-menu-item,
.footer-column ul li a.is-active {
    color: var(--color-primary);
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-social a:hover img {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(37%) sepia(73%) saturate(1881%) hue-rotate(209deg) brightness(92%) contrast(92%);
}

.footer-bottom {
    padding: var(--spacing-xl) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-lang-dropdown .lang-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: none;
    border: none;
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
    cursor: pointer;
}

.footer-lang-dropdown .lang-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(45%) sepia(9%) saturate(571%) hue-rotate(182deg) brightness(95%) contrast(86%);
}

.footer-lang-dropdown .lang-arrow {
    width: 6px;
    height: 3px;
    filter: brightness(0) saturate(100%) invert(45%) sepia(9%) saturate(571%) hue-rotate(182deg) brightness(95%) contrast(86%);
}

.footer-lang-dropdown .lang-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    :root {
        --container-padding: 80px;
    }
}

@media (max-width: 1200px) {
    :root {
        --container-padding: 60px;
        --font-size-7xl: 48px;
        --font-size-8xl: 60px;
        --font-size-6xl: 42px;
        --font-size-5xl: 36px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        padding-top: 0;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-visual {
        display: none;
    }

    .dashboard-card {
        max-width: 100%;
        width: 100%;
    }

    .metric-card {
        position: static;
        margin-bottom: var(--spacing-md);
        width: 100% !important;
        left: 0 !important;
    }

    .problem-section {
        padding: 0;
    }

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

    .problem-title {
        font-size: 50px;
    }

    .trust-bar-logos {
        gap: 60px;
    }

    .trust-bar-logos .trust-logo-wrapper {
        height: 40px;
    }

    .trust-bar-logos .trust-logo {
        height: 40px;
    }

    .trust-logo-shopify {
        width: 140px;
        height: 40px;
    }

    .trust-logo-deloitte {
        width: 195px;
        height: 40px;
    }

    .trust-logo-company1 {
        width: 96px;
        height: 40px;
    }

    .trust-logo-company2 {
        width: 130px;
        height: 40px;
    }

    .trust-logo-microsoft {
        width: 187px;
        height: 40px;
    }

    .problem-content,
    .problem-list {
        padding: var(--spacing-3xl) var(--container-padding);
    }

    .solutions-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc(100% - 24px);
        align-items: stretch;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        scroll-padding-left: 24px;
        scroll-padding-right: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .solutions-grid::-webkit-scrollbar {
        height: 0;
        display: none;
    }

    .solution-card {
        scroll-snap-align: start;
        opacity: 0.2;
        transition: opacity 0.2s ease;
    }

    .solution-card.is-active {
        opacity: 1;
    }

    .solutions-slider {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    .solutions-dot {
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: rgba(24, 37, 55, 0.2);
        transition: background 0.2s ease, width 0.2s ease;
    }

    .solutions-dot.is-active {
        width: 40px;
        background: #355cde;
    }

    .solutions-section .solutions-grid {
        grid-template-columns: none !important;
    }

    .solutions-section .solution-card {
        width: 100%;
        min-width: 100%;
        box-sizing: border-box;
    }

    .solutions-section .solution-card * {
        min-width: 0;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .platform-feature {
        grid-template-columns: 1fr;
    }

    .platform-feature-reverse {
        direction: ltr;
    }

    .platform-feature-reverse .platform-feature-visual {
        order: 1;
    }

    .platform-feature-reverse .platform-feature-content {
        order: 2;
    }

    .step-content {
        padding: var(--spacing-xl);
        gap: var(--spacing-2xl);
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .step-visual,
    .step-detail {
        min-width: 0;
    }

    .step-visual {
        display: none;
    }

    .step-visual-card,
    .transaction-queue {
        width: 100%;
    }

    .step-visual-list-item,
    .queue-row {
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .coverage-features {
        display: grid;
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: calc(100% - 16px);
        align-items: stretch;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 8px;
        scroll-padding-left: 24px;
        scroll-padding-right: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .coverage-features::-webkit-scrollbar {
        height: 0;
        display: none;
    }

    .coverage-feature-card {
        scroll-snap-align: start;
        min-width: 100%;
        width: 100%;
        opacity: 0.35;
        transition: opacity 0.2s ease;
    }

    .coverage-feature-card.is-active {
        opacity: 1;
    }

    .coverage-slider {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
        margin-bottom: 60px;
    }

    .coverage-section {
        padding-left: 0;
        padding-right: 0;
    }

    .coverage-container {
        padding: 0;
    }

    .coverage-header {
        padding: 0 24px;
    }

    .coverage-dot {
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: rgba(24, 37, 55, 0.2);
        transition: background 0.2s ease, width 0.2s ease;
    }

    .coverage-dot.is-active {
        width: 40px;
        background: #355cde;
    }

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

    .services-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc(100% - 24px);
        align-items: stretch;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .services-grid::-webkit-scrollbar {
        height: 0;
        display: none;
    }

    .services-grid .service-card {
        scroll-snap-align: start;
        min-width: 100%;
        width: 100%;
        opacity: 0.35;
        transition: opacity 0.2s ease;
    }

    .services-grid .service-card.is-active {
        opacity: 1;
    }

    .services-section .services-grid {
        grid-template-columns: none !important;
    }

    .services-slider {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    .services-dot {
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.35);
        transition: background 0.2s ease, width 0.2s ease;
    }

    .services-dot.is-active {
        width: 40px;
        background: var(--color-white);
    }

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

    .faqs-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faqs-sidebar {
        position: static; /* Remove sticky positioning on mobile */
        margin-bottom: var(--spacing-2xl);
    }

    .faqs-sidebar h2 {
        font-size: var(--font-size-5xl);
        line-height: 1.1;
    }

    .faqs-sidebar-intro {
        margin-bottom: var(--spacing-xl);
    }

    .faqs-cta-section {
        display: none;
    }

    /* Hide FAQs 4-6 on mobile by default */
    .faq-item:nth-child(n+4) {
        display: none;
    }

    .faq-item:nth-child(n+4).show {
        display: block;
    }

    .faq-question {
        gap: 12px;
        padding-right: 20px;
    }

    .faq-question span {
        font-size: var(--font-size-lg);
    }

    .faq-icon {
        flex-shrink: 0;
        margin-left: 6px;
    }

    /* Show "View More" button on mobile */
    .faq-view-more-container {
        display: block;
    }

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

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

    .footer-newsletter-actions {
        align-items: stretch;
    }

    .footer-newsletter-actions-inner {
        width: 100%;
        max-width: 100%;
    }

    .footer-newsletter-form {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
    }

    .footer-newsletter-input {
        flex: 1;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .footer-newsletter-actions .btn {
        flex-shrink: 0;
        width: auto;
        min-width: 140px;
    }

    .footer-newsletter-disclaimer {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: var(--spacing-md) var(--container-padding);
        min-height: 68px;
        display: flex;
        align-items: center;
    }

    .header-container {
        gap: 12px;
        min-height: 36px;
        width: 100%;
        justify-content: flex-start;
    }

    .nav,
    .header-actions {
        display: none;
    }

    .mobile-header-tools {
        display: flex;
        align-items: center;
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: 6px;
    }

    .mobile-nav {
        flex: 0;
    }

    .mobile-header-actions {
        margin-top: 12px;
        padding-top: 0;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .trust-bar-logos {
        gap: 48px;
    }

    .trust-bar-logos .trust-logo-wrapper {
        height: 36px;
    }

    .trust-bar-logos .trust-logo {
        height: 36px;
    }

    .trust-logo-shopify {
        width: 125px;
        height: 36px;
    }

    .trust-logo-deloitte {
        width: 175px;
        height: 36px;
    }

    .trust-logo-company1 {
        width: 86px;
        height: 36px;
    }

    .trust-logo-company2 {
        width: 117px;
        height: 36px;
    }

    .trust-logo-microsoft {
        width: 168px;
        height: 36px;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 24px;
        --font-size-7xl: 36px;
        --font-size-8xl: 48px;
        --font-size-6xl: 32px;
        --font-size-5xl: 28px;
        --font-size-4xl: 24px;
        --font-size-3xl: 20px;
        --font-size-2xl: 20px;
        --font-size-xl: 18px;
    }

    .header {
        padding: var(--spacing-md) var(--container-padding);
        min-height: 68px;
        display: flex;
        align-items: center;
    }

    .header-container {
        gap: 12px;
        min-height: 36px;
        width: 100%;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .nav, .header-actions {
        display: none;
    }

    .mobile-header-tools {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 12px;
    }

    .mobile-header-tools .lang-selector {
        background: transparent;
        border: none;
        padding: 0;
        height: 36px;
        display: flex;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }

    .hero {
        padding-top: 140px;
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-bg {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-content {
        padding-top: 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: 44px;
        line-height: 1.1;
        max-width: 100%;
        margin-bottom: 20px;
        letter-spacing: -0.02em;
    }

    .hero-description {
        font-size: 18px;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: 60px;
    }

    .hero-badges {
        gap: 12px;
        margin-bottom: 24px;
    }

    .hero-badge-icon {
        width: 32px;
        height: 32px;
    }

    .hero-visual {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 0;
    }

    .hero-actions-group {
        width: 100%;
        gap: 32px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 56px;
        font-size: 16px;
        padding: 18px 24px;
        justify-content: center;
    }

    .hero-divider {
        display: none;
    }

    .hero-trust {
        display: none;
    }

    .taxpay-hero .hero-actions {
        flex-direction: row;
        width: 100%;
        flex-wrap: wrap;
    }

    .taxpay-hero .hero-actions .btn {
        flex: 1 1 0;
        min-width: 0;
    }

    .metric-card {
        position: static;
        margin-bottom: var(--spacing-md);
    }

    .trust-bar-logos {
        gap: 48px;
        flex-wrap: wrap;
        padding: 0;
    }

    .trust-bar-logos .trust-logo-wrapper {
        height: 35px;
    }

    .trust-bar-logos .trust-logo {
        height: 35px;
    }

    .problem-content,
    .problem-list {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .problem-title {
        font-size: var(--font-size-5xl);
    }

    .solutions-section {
        padding: 60px 24px;
    }

    .solutions-container {
        display: flex;
        flex-direction: column;
    }

    .solutions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 16px;
    }

    .platform-section {
        padding: 48px 0;
    }

    .platform-container {
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
        box-sizing: border-box;
    }

    .platform-header {
        margin-bottom: 32px;
    }

    .platform-title {
        font-size: var(--font-size-6xl);
    }

    .platform-feature {
        gap: 24px;
        margin-bottom: 40px;
    }

    .platform-feature-visual {
        padding: var(--spacing-lg);
    }

    .platform-feature-content h3 {
        margin-top: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .platform-feature-content p {
        margin-bottom: var(--spacing-lg);
    }

    .feature-list {
        gap: var(--spacing-sm);
    }

    .platform-features .platform-feature:nth-child(n+2) {
        display: none;
    }

    .platform-features .platform-feature:nth-child(n+2).show {
        display: grid;
    }

    .platform-view-more-container {
        display: block;
    }

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

    .step {
        border-bottom: 1px solid var(--color-gray-200);
        border-left: none;
    }

    .step.active {
        border-left: 4px solid var(--color-primary);
        border-bottom-color: var(--color-gray-200);
    }

    .coverage-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
        padding-top: var(--spacing-lg);
        padding-left: 24px;
        padding-right: 24px;
    }

    .coverage-stat {
        border-right: none;
        border-bottom: none;
        padding: 0;
        text-align: left;
    }

    .coverage-stat:last-child {
        border-bottom: none;
    }

    .coverage-stat-value {
        font-size: 32px;
        margin-bottom: var(--spacing-xs);
    }

    .coverage-stat-label {
        font-size: 12px;
        line-height: 1.4;
    }

    .services-header .btn.btn-primary {
        display: none;
    }

    .how-it-works-header .btn.btn-primary {
        display: none;
    }

    .solutions-header .btn.btn-outline-dark {
        display: none;
    }

    .scroll-to-top {
        bottom: 130px;
        right: 16px;
    }

    body.footer-in-view .scroll-to-top {
        bottom: 230px;
    }

    .resources-section {
        padding-top: 60px;
    }

    .resources-container {
        padding: 0;
    }

    .resources-grid {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
        margin-bottom: 32px;
        gap: 16px;
        margin-left: 0;
        scroll-padding-left: 24px;
        scroll-padding-right: 24px;
    }

    .resources-grid .resource-content p,
    .resources-grid .resource-link {
        display: none;
    }

    .resource-image {
        height: 200px;
    }

    .resource-card {
        min-width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        flex-shrink: 0;
    }

    .resources-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 0 24px;
        margin-bottom: 24px;
    }

    .resources-nav {
        display: none;
    }

    .footer-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .footer-cta-actions .btn {
        width: 100%;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl) var(--spacing-lg);
    }

    .footer-main .footer-column:first-child {
        grid-column: 1 / -1;
        margin-bottom: var(--spacing-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-bottom-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }
}

/* ===============================
   CASE STUDY PAGE
   =============================== */
.case-study-page {
    background: var(--color-white);
}

/* Breadcrumb */
.case-study-breadcrumb {
    background: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 16px var(--container-padding);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6a7282;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    color: #6a7282;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumb-list li[aria-current="page"] {
    color: #182537;
}

.breadcrumb-list img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

/* Hero */
.case-study-hero {
    background: #182537;
    border-bottom: 1px solid #e5e7eb;
    padding: 95px var(--container-padding) 80px;
    min-height: 572px;
    display: flex;
    align-items: center;
}

.case-study-hero-container {
    max-width: 892px;
    margin: 0 auto;
}

.case-study-tag {
    background: var(--color-white);
    color: #182537;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 8px 16px;
    display: inline-block;
    margin-bottom: 32px;
}

.case-study-hero h1 {
    font-size: 60px;
    line-height: 66px;
    letter-spacing: -1.5px;
    color: var(--color-white);
    margin-bottom: 24px;
}

.case-study-hero-subtitle {
    font-size: 24px;
    line-height: 39px;
    color: var(--color-white);
    margin-bottom: 50px;
}

.case-study-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.case-study-meta-item {
    display: flex;
    gap: 12px;
}

.case-study-meta-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.case-study-meta-label {
    font-size: 14px;
    line-height: 20px;
    color: #6a7282;
    margin-bottom: 4px;
}

.case-study-meta-value {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-white);
}

/* Services Used */
.case-study-services-used {
    background: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 48px var(--container-padding);
}

.case-study-section-label {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #6a7282;
    text-align: center;
    margin-bottom: 30px;
}

.case-study-section-label-white {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #99a1af;
    margin-bottom: 24px;
}

.case-study-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.case-study-tag-pill {
    border: 1px solid #101828;
    padding: 13px 25px;
    font-size: 14px;
    line-height: 20px;
    color: #101828;
    display: inline-block;
}

/* Stats */
.case-study-stats {
    background: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 80px var(--container-padding) 64px;
}

.case-study-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.case-study-stat {
    text-align: center;
}

.case-study-stat-number {
    font-size: 60px;
    line-height: 60px;
    letter-spacing: -1.5px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.case-study-stat-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 6px;
}

.case-study-stat-desc {
    font-size: 14px;
    line-height: 20px;
    color: #6a7282;
}

/* Challenge & Solution */
.case-study-challenge-solution {
    border-bottom: 1px solid #e5e7eb;
}

.case-study-challenge-solution-inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.case-study-challenge {
    position: relative;
    background: #101828;
    padding: 80px var(--spacing-2xl) 80px 0;
}

.case-study-challenge::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 50vw;
    background: #101828;
    pointer-events: none;
}

.case-study-solution {
    position: relative;
    background: #f3f4f6;
    padding: 80px 0 80px var(--spacing-2xl);
}

.case-study-solution::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 50vw;
    background: #f3f4f6;
    pointer-events: none;
}

.case-study-challenge-content,
.case-study-solution-content {
    max-width: 480px;
}

.case-study-challenge h2,
.case-study-solution h2 {
    font-size: 30px;
    line-height: 37.5px;
    font-weight: 500;
    margin-bottom: 24px;
}

.case-study-challenge h2 {
    color: var(--color-white);
}

.case-study-solution h2 {
    color: #101828;
}

.case-study-challenge p {
    font-size: 20px;
    line-height: 31px;
    color: #d1d5dc;
    margin-bottom: 20px;
}

.case-study-solution p {
    font-size: 20px;
    line-height: 31px;
    color: #364153;
    margin-bottom: 20px;
}

.case-study-challenge p:last-child,
.case-study-solution p:last-child {
    margin-bottom: 0;
}

/* Quote */
.case-study-quote {
    background: var(--color-white);
    padding: 100px var(--container-padding);
}

.case-study-quote .container {
    max-width: 848px;
    margin: 0 auto;
    position: relative;
}

.case-study-quote-mark {
    font-size: 120px;
    line-height: 48.75px;
    font-style: italic;
    color: var(--color-primary);
    position: absolute;
    left: -54px;
    top: -24px;
}

.case-study-quote-text {
    font-size: 30px;
    line-height: 48.75px;
    font-style: italic;
    color: #101828;
    margin-bottom: 32px;
}

.case-study-quote-author-name {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 4px;
}

.case-study-quote-author-title {
    font-size: 16px;
    line-height: 24px;
    color: #4a5565;
}

/* CTA */
.case-study-cta {
    background: #101828;
    border-top: 2px solid #e5e7eb;
    padding: 82px var(--container-padding) 80px;
    text-align: center;
}

.case-study-cta h2 {
    font-size: 48px;
    line-height: 48px;
    color: var(--color-white);
    margin-bottom: 24px;
}

.case-study-cta p {
    font-size: 20px;
    line-height: 28px;
    color: #d1d5dc;
    margin-bottom: 56px;
}

.case-study-cta-actions {
    display: flex;
    justify-content: center;
    gap: 26px;
}

/* Related Case Studies */
.case-study-related {
    background: #f0f3f7;
    border-top: 2px solid #f0f3f7;
    padding: 89px var(--container-padding) 64px;
}

.case-study-related-header {
    text-align: center;
    margin-bottom: 40px;
}

.case-study-related-header h2 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 16px;
}

.case-study-related-header p {
    font-size: 20px;
    line-height: 28px;
    color: #4a5565;
}

.case-study-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin-bottom: 56px;
}

.case-study-related-card {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    padding: 32px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.case-study-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.case-study-related-industry {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #6a7282;
}

.case-study-related-card h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #101828;
}

.case-study-related-card p {
    font-size: 16px;
    line-height: 24px;
    color: #4a5565;
}

.case-study-related-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #101828;
    font-size: 16px;
    line-height: 24px;
}

.case-study-related-link svg {
    transition: transform 0.2s ease;
}

.case-study-related-card:hover .case-study-related-link svg {
    transform: translateX(4px);
}

.case-study-related-cta {
    text-align: center;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
    }

    .platform-title {
        font-size: var(--font-size-4xl);
    }

    .footer-newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-newsletter-input {
        width: 100%;
        min-width: 0;
        height: 54px;
        min-height: 54px;
    }

    .footer-newsletter-actions .btn {
        width: 100%;
        height: 54px;
        min-height: 54px;
    }

    .footer-newsletter-disclaimer {
        width: 100%;
    }

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

    .footer-main .footer-column:first-child {
        grid-column: 1 / -1;
    }
}

/* ========================================
   Webinar Page Styles
   ======================================== */

.webinar-page {
    background: var(--color-white);
}

/* Breadcrumb */
.webinar-breadcrumb {
    background: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 24px 0;
}

.webinar-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #182537;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.webinar-back-link svg {
    width: 16px;
    height: 16px;
}

/* Article */
.webinar-article {
    padding: 64px 0 80px;
}

.webinar-article .container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0;
}

/* Header */
.webinar-header {
    margin-bottom: 32px;
}

.webinar-tag {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid #d1d5dc;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #101828;
    margin-bottom: 24px;
}

.webinar-header h1 {
    font-size: 60px;
    line-height: 66px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 24px;
}

.webinar-meta {
    display: flex;
    align-items: center;
    gap: 65px;
}

.webinar-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    color: #4a5565;
}

.webinar-meta-item svg {
    width: 16px;
    height: 16px;
}

/* Video Player */
.webinar-video {
    position: relative;
    width: 100%;
    height: 477px;
    background: #e5e7eb;
    border: 1px solid #d1d5dc;
    margin-bottom: 48px;
    overflow: hidden;
}

.webinar-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webinar-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #101828;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.webinar-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.webinar-play-btn svg {
    width: 40px;
    height: 40px;
    margin-left: 4px;
}

/* Content Sections */
.webinar-section {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 48px;
    margin-bottom: 48px;
}

.webinar-section:last-of-type {
    border-bottom: none;
}

.webinar-section h2 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 16px;
}

.webinar-section > p {
    font-size: 20px;
    line-height: 31px;
    color: #101828;
}

/* Key Topics Grid */
.webinar-topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.webinar-topic-card {
    background: #f0f3f7;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.webinar-topic-card-alt {
    background: #f9fafb;
}

.webinar-topic-number {
    font-size: 14px;
    line-height: 20px;
    color: #6a7282;
}

.webinar-topic-card p {
    font-size: 18px;
    line-height: 28px;
    color: #101828;
}

/* CTA Section */
.webinar-cta {
    background: var(--color-primary);
    padding: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.webinar-cta-content {
    flex: 1;
}

.webinar-cta h3 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 16px;
}

.webinar-cta p {
    font-size: 20px;
    line-height: 28px;
    color: var(--color-white);
    margin-bottom: 32px;
}

.webinar-cta .btn-dark {
    background: #101828;
    color: var(--color-white);
    height: 60px;
    padding: 16px 32px;
    font-size: 18px;
    line-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
}

.webinar-cta .btn-dark:hover {
    background: #364153;
}

.webinar-cta-icon {
    position: relative;
    flex-shrink: 0;
    width: 238px;
    height: 238px;
    opacity: 0.3;
}

.webinar-cta-icon img {
    width: 100%;
    height: 100%;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .webinar-breadcrumb {
        padding: 16px 0;
    }

    .webinar-article {
        padding: 32px 0 48px;
    }

    .webinar-header h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .webinar-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .webinar-video {
        height: 280px;
        margin-bottom: 32px;
    }

    .webinar-play-btn {
        width: 60px;
        height: 60px;
    }

    .webinar-play-btn svg {
        width: 30px;
        height: 30px;
    }

    .webinar-section {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .webinar-section h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .webinar-section > p {
        font-size: 18px;
        line-height: 28px;
    }

    .webinar-topics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .webinar-cta {
        flex-direction: column;
        padding: 32px 24px;
        gap: 32px;
    }

    .webinar-cta h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .webinar-cta p {
        font-size: 18px;
        line-height: 26px;
    }

    .webinar-cta-icon {
        width: 160px;
        height: 160px;
    }
}

/* ========================================
   Careers Page Styles
   ======================================== */

.careers-page {
    background: var(--color-white);
}

.careers-page .container {
    max-width: 1277px;
    margin: 0 auto;
}

/* Hero Section */
.careers-hero {
    background: #182537;
    min-height: 646px;
    position: relative;
    overflow: hidden;
    padding: 96px 0 97px;
}

.careers-hero .container {
    position: relative;
    z-index: 2;
}

.careers-hero-content {
    max-width: 584px;
    padding-top: 20px;
}

.careers-hero-label {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #d1d5dc;
    padding-bottom: 8px;
    border-bottom: 1px solid #314158;
    margin-bottom: 25px;
    display: inline-block;
    min-width: 133px;
    width: auto;
}

.careers-hero h1 {
    font-size: 50px;
    line-height: 58px;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 14px;
}

.careers-hero p {
    font-size: 20px;
    line-height: 28px;
    color: var(--color-white);
    margin-bottom: 47px;
    max-width: 611px;
}

.careers-hero .btn {
    height: 60px;
    padding: 16px 31px;
    font-size: 18px;
    line-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.careers-hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    max-width: 780px;
    height: 100%;
}

.careers-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #182537;
    opacity: 0.4;
    pointer-events: none;
}

.careers-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Stats Section */
.careers-stats {
    background: var(--color-white);
    padding: 82px 0;
}

.careers-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 32px;
}

.careers-stat {
    text-align: center;
}

.careers-stat-value {
    font-size: 60px;
    line-height: 40px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.careers-stat-label {
    font-size: 16px;
    line-height: 24px;
    color: #4a5565;
}

/* Why Join Section */
.careers-why {
    background: linear-gradient(180deg, #f9fafb 16.827%, #e6ecf2 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: 97px 0 128px;
}

.careers-why-layout {
    display: grid;
    grid-template-columns: 476px 1fr;
    gap: 64px;
}

.careers-why-intro h2 {
    font-size: 48px;
    line-height: 60px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 24px;
}

.careers-why-intro p {
    font-size: 20px;
    line-height: 28px;
    color: #4a5565;
    margin-bottom: 45px;
}

.careers-why-intro .btn {
    height: 64px;
    padding: 18px 42px;
    font-size: 18px;
    line-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.careers-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 27px;
    align-content: start;
}

.careers-why-card {
    background: var(--color-white);
    border: 1px solid #e5e7eb;
    padding: 27px 24px;
}

.careers-why-icon {
    width: 46px;
    height: 46px;
    border: 1px solid #d1d5dc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.careers-why-icon img {
    width: 24px;
    height: 24px;
}

.careers-why-card h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 12px;
}

.careers-why-card p {
    font-size: 16px;
    line-height: 24px;
    color: #4a5565;
}

/* Life at Desucla Section */
.careers-life {
    background: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 80px 0 98px;
}

.careers-life-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.careers-life-header h2 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 16px;
}

.careers-life-header p {
    font-size: 20px;
    line-height: 28px;
    color: #4a5565;
}

.careers-life-gallery {
    display: grid;
    grid-template-columns: 842px 1fr;
    grid-template-rows: 222px 222px;
    gap: 19px 27px;
}

.careers-life-image {
    position: relative;
    overflow: hidden;
}

.careers-life-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.2);
}

.careers-life-image-large {
    grid-row: 1 / 3;
}

.careers-life-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Benefits Section */
.careers-benefits {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 96px 0 98px;
}

.careers-benefits-header {
    text-align: center;
    margin-bottom: 66px;
}

.careers-benefits-header h2 {
    font-size: 48px;
    line-height: 48px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 24px;
}

.careers-benefits-header p {
    font-size: 20px;
    line-height: 28px;
    color: #4a5565;
    max-width: 720px;
    margin: 0 auto;
}

.careers-benefits-grid {
    display: grid;
    grid-template-columns: 408px 410px 410px;
    gap: 32px 25px;
}

.careers-benefit-card {
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    padding: 33px 33px 34px;
}

.careers-benefit-card h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: #101828;
    margin-bottom: 12px;
}

.careers-benefit-card p {
    font-size: 16px;
    line-height: 24px;
    color: #4a5565;
}

/* Open Positions Section */
.careers-positions {
    background: var(--color-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 95px 0 96px;
}

.careers-positions-header {
    margin-bottom: 53px;
}

.careers-positions-header h2 {
    font-size: 48px;
    line-height: 48px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 24px;
}

.careers-positions-header p {
    font-size: 20px;
    line-height: 28px;
    color: #4a5565;
    max-width: 661px;
}

.careers-positions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.careers-position {
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    padding: 33px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.careers-position:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.careers-position:hover h3 {
    color: var(--color-primary);
}

.careers-position:hover .btn-small {
    background-color: #1F3A8C;
    border-color: #1F3A8C;
}

.careers-position h3 {
    transition: color 0.2s ease;
}

.careers-position-info {
    flex: 1;
}

.careers-position h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 12px;
}

.careers-position > p,
.careers-position-info > p {
    font-size: 16px;
    line-height: 24px;
    color: #4a5565;
    margin-bottom: 12px;
}

.careers-position-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.careers-position-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    color: #4a5565;
}

.careers-position-tag img {
    width: 16px;
    height: 16px;
}

.careers-position .btn-small {
    height: 60px;
    min-width: 154px;
    padding: 18px 35px;
    font-size: 16px;
    line-height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .careers-page .container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .careers-hero {
        min-height: auto;
        padding: 120px 0 48px;
    }

    .careers-hero-content {
        max-width: 100%;
    }

    .careers-hero-label {
        margin-bottom: 24px;
    }

    .careers-hero h1 {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 16px;
    }

    .careers-hero p {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 32px;
    }

    .careers-hero-image {
        display: none;
    }

    .careers-stats {
        padding: 48px 0;
    }

    .careers-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .careers-stat-value {
        font-size: 48px;
    }

    .careers-why {
        padding: 64px 0;
    }

    .careers-why-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .careers-why-intro h2 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 16px;
    }

    .careers-why-intro p {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 32px;
    }

    .careers-why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .careers-life {
        padding: 64px 0;
    }

    .careers-life-header {
        margin-bottom: 32px;
    }

    .careers-life-header h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .careers-life-header p {
        font-size: 18px;
        line-height: 26px;
    }

    .careers-life-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }

    .careers-life-image-large {
        grid-row: auto;
    }

    .careers-life-image {
        height: 200px;
    }

    .careers-benefits {
        padding: 64px 0;
    }

    .careers-benefits-header {
        margin-bottom: 48px;
    }

    .careers-benefits-header h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .careers-benefits-header p {
        font-size: 18px;
        line-height: 26px;
    }

    .careers-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .careers-life-gallery {
        grid-template-columns: 1fr;
    }

    .careers-positions {
        padding: 64px 0;
    }

    .careers-positions-header {
        margin-bottom: 32px;
    }

    .careers-positions-header h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .careers-positions-header p {
        font-size: 18px;
        line-height: 26px;
    }

    .careers-position {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 24px;
    }

    .careers-position .btn-small {
        width: 100%;
    }

    .careers-position-meta {
        gap: 12px;
    }
}

/* ==========================================
   Careers Detail Page
   ========================================== */

.careers-detail-page {
    background: #ffffff;
}

/* Job Hero */
.job-hero {
    background: #182537;
    padding: 129px 0 50px;
    border-bottom: 1px solid #E5E7EB;
}

.job-hero-container {
    max-width: 1277px;
    margin: 0 auto;
}

.job-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 32px;
    transition: opacity 0.2s;
}

.job-back-link:hover {
    opacity: 0.8;
}

.job-back-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.job-hero-content h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 60px;
    color: #ffffff;
    margin: 0 0 24px 0;
    max-width: 698px;
}

.job-hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
}

.job-meta-item img {
    width: 20px;
    height: 20px;
}

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

.job-hero-actions .btn {
    height: 60px;
    padding: 16px 30px;
}

.job-hero-actions .btn span {
    font-size: 18px;
    line-height: 28px;
}

.job-hero-actions .btn-primary {
    min-width: 178px;
    width: auto;
}

.job-hero-actions .btn-outline {
    min-width: 129px;
    width: auto;
}

.job-hero-actions .btn-outline img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.job-hero-actions .btn-outline:hover img {
    filter: brightness(0);
}

.job-share-wrapper {
    position: relative;
}

.job-share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-white, #fff);
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 180px;
    z-index: 100;
}

.job-share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-dark, #1a1a2e);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.job-share-option:hover {
    background: var(--color-bg-light, #f5f5f7);
}

.job-share-option svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Job Content */
.job-content {
    padding: 65px 0 80px;
    background: #ffffff;
}

.job-content-container {
    max-width: 1277px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 48px;
    align-items: start;
}

.job-description {
    display: flex;
    flex-direction: column;
}

.job-section h2 {
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    color: var(--color-text-primary);
    margin: 0 0 24px 0;
}

/* Space between sections so headings don’t sit against the paragraph above */
.job-section + .job-section {
    margin-top: 48px;
}

.job-section h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: var(--color-text-primary);
    margin: 32px 0 16px 0;
}

.job-section p {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text-secondary);
    margin: 0 0 16px 0;
}

.job-section p:last-child {
    margin-bottom: 0;
}

.job-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.job-section ul li {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text-secondary);
    padding-left: 28px;
    margin-bottom: 0;
    position: relative;
}

.job-section ul li:last-child {
    margin-bottom: 0;
}

.job-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Job description body: same as .job-section (the_content() has no .job-section wrappers) */
.job-description h2 {
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    color: var(--color-text-primary);
    margin: 0 0 24px 0;
}

.job-description h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: var(--color-text-primary);
    margin: 32px 0 16px 0;
}

.job-description p {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text-secondary);
    margin: 0 0 16px 0;
}

.job-description p:last-child {
    margin-bottom: 0;
}

.job-description ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.job-description ul li {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text-secondary);
    padding-left: 28px;
    margin-bottom: 0;
    position: relative;
}

.job-description ul li:last-child {
    margin-bottom: 0;
}

.job-description ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Application Form Sidebar */
.job-apply-sidebar {
    position: sticky;
    top: 100px;
}

.job-apply-form {
    background: #182537;
    border: 1px solid #D1D5DC;
    padding: 32px;
}

.job-apply-form h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.job-apply-form > p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-400);
    margin: 0 0 32px 0;
}

.job-apply-sidebar .hubspot-form-embed {
    margin-top: 0;
}

.careers-no-positions {
    padding: 24px 0;
    color: var(--color-gray-400);
}

.job-apply-form form,
.job-apply-form .taxpay-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-apply-form-row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .job-apply-form-row--two {
        grid-template-columns: 1fr;
    }
}

.job-apply-form .job-apply-field input:not([type="file"]),
.job-apply-form .job-apply-field textarea {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    font-size: 14px;
    box-sizing: border-box;
    background: #ffffff;
    color: #101828;
    border: 1px solid #cad5e2;
    font-family: inherit;
}

.job-apply-form .job-apply-field textarea {
    height: auto;
    min-height: 120px;
    padding: 12px;
    resize: vertical;
}

.job-apply-form .job-apply-field input::placeholder,
.job-apply-form .job-apply-field textarea::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.job-apply-form .job-apply-field input:focus,
.job-apply-form .job-apply-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.job-apply-form .job-apply-field input.field-error,
.job-apply-form .job-apply-field textarea.field-error {
    border-color: #b91c1c;
}

.job-apply-disclaimer {
    font-size: 12px;
    line-height: 1.4;
    color: #94a3b8;
    margin: 0;
}

/* Job apply form: same styling as other HubSpot forms, adapted for dark sidebar */
.job-apply-form .taxpay-form input:not([type="checkbox"]) {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 1px solid #cad5e2;
    padding: 0 12px;
    font-size: 14px;
    box-sizing: border-box;
    background: #ffffff;
    color: #101828;
}
.job-apply-form .taxpay-form input:not([type="checkbox"])::placeholder {
    color: rgba(10, 10, 10, 0.5);
}
.job-apply-form .taxpay-form input:not([type="checkbox"]):focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Validation error: must come after .taxpay-form input so red border wins */
.job-apply-form .taxpay-form .job-apply-field input.field-error,
.job-apply-form .taxpay-form .job-apply-field textarea.field-error {
    border-color: #b91c1c;
}

/* Consent checkbox: visible below the fields, normal size and contrast */
.job-apply-form .taxpay-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    color: #e2e8f0;
    margin: 0;
}
.job-apply-form .taxpay-form-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex-shrink: 0;
    margin: 2px 0 0 0;
    padding: 0;
    border: 1px solid #cad5e2;
    border-radius: 0;
    box-sizing: border-box;
    background: #fff;
    cursor: pointer;
}
.job-apply-form .taxpay-form-checkbox input[type="checkbox"]:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 10px;
}
.job-apply-form .taxpay-form-checkbox span {
    flex: 1;
}
.job-apply-form .taxpay-form .btn {
    height: 65px;
    justify-content: center;
}
.job-apply-form .taxpay-form-message.success {
    color: #6ee7b7;
}
.job-apply-form .taxpay-form-message.error {
    color: #fca5a5;
}

/* Job apply: CV/resume drag-and-drop upload */
.job-apply-form .job-apply-file-upload {
    position: relative;
}
.job-apply-form .job-apply-resume-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.job-apply-form .file-upload-drop-zone {
    background: rgba(255, 255, 255, 0.06);
    border: 2px dashed #64748b;
    border-radius: 0;
    padding: 20px 16px;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.job-apply-form .file-upload-drop-zone:hover,
.job-apply-form .file-upload-drop-zone.is-dragover {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}
.job-apply-form .file-upload-drop-zone .file-upload-label {
    font-size: 14px;
    line-height: 1.4;
    color: #e2e8f0;
    margin: 0;
}
.job-apply-form .file-upload-drop-zone .file-upload-hint {
    font-size: 12px;
    color: #94a3b8;
}
.job-apply-form .file-upload-drop-zone .file-upload-filename {
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
}
.job-apply-form .file-upload-drop-zone.has-file .file-upload-label {
    color: #ffffff;
}

.job-apply-form .file-upload-drop-zone.field-error {
    border-color: #b91c1c;
    background: rgba(254, 226, 226, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

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

.form-group label {
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    background: #ffffff;
    border: 1px solid var(--color-gray-200);
    padding: 12px 16px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-primary);
    font-family: 'Source Sans 3', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.file-upload {
    background: #ffffff;
    border: 1px solid var(--color-gray-200);
    padding: 17px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 90px;
    position: relative;
    cursor: pointer;
}

.file-upload p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
    margin: 0;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.file-upload span {
    font-size: 12px;
    line-height: 16px;
    color: var(--color-text-tertiary);
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-disclaimer {
    font-size: 12px;
    line-height: 16px;
    color: var(--color-text-tertiary);
    margin: -8px 0 0 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .job-content-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .job-apply-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .job-hero {
        padding: 40px 0 32px;
    }

    .job-hero-container {
        padding: 0 20px;
    }

    .job-hero-actions .btn {
        height: 52px;
        padding: 12px 20px;
    }

    .job-hero-actions .btn span {
        font-size: 16px;
        line-height: 24px;
    }

    .job-hero-actions .btn-primary,
    .job-hero-actions .btn-outline {
        width: auto;
        min-width: 140px;
    }

    .job-back-link {
        margin-bottom: 24px;
        font-size: 14px;
    }

    .job-hero-content h1 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 16px;
    }

    .job-hero-meta {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        margin-bottom: 24px;
    }

    .job-meta-item {
        flex-shrink: 0;
    }

    .job-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .job-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .job-share-wrapper {
        display: none;
    }

    .job-content {
        padding: 48px 0 64px;
    }

    .job-content-container {
        padding: 0 20px;
    }

    .job-section h2,
    .job-description h2 {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 16px;
    }

    .job-section h3,
    .job-description h3 {
        font-size: 20px;
        line-height: 28px;
        margin: 24px 0 12px 0;
    }

    .job-section p,
    .job-description p {
        font-size: 16px;
        line-height: 24px;
    }

    .job-section ul li,
    .job-description ul li {
        font-size: 16px;
        line-height: 24px;
    }

    .job-apply-form {
        padding: 24px;
    }

    .job-apply-form h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================
   Help Center Page
   ========================================== */

.help-center-page {
    background: #ffffff;
}

/* Hero Section */
.help-hero {
    background: #182537;
    padding: 129px 0 50px;
    border-bottom: 1px solid #E5E7EB;
}

.help-hero-container {
    max-width: 1277px;
    margin: 0 auto;
}

.help-hero h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 48px;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.help-hero p {
    font-size: 20px;
    line-height: 28px;
    color: #ffffff;
    margin: 0;
    max-width: 663px;
}

/* CTA Section */
.help-cta-section {
    background: #ffffff;
    border-bottom: 1px solid #E5E7EB;
    padding: 49px 0;
}

.help-cta-container {
    max-width: 1277px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.help-cta-card {
    background: #F0F3F7;
    border: 1px solid #D1D5DC;
    padding: 28px 24px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.help-cta-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.help-cta-icon {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #D1D5DC;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.help-cta-icon img {
    width: 24px;
    height: 24px;
}

.help-cta-card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    color: #101828;
    margin: 0 0 2px 0;
}

.help-cta-card p {
    font-size: 16px;
    line-height: 24px;
    color: #4A5565;
    margin: 0 0 12px 0;
}

.help-cta-link {
    font-size: 16px;
    line-height: 24px;
    color: #101828;
    font-weight: 400;
    transition: color 0.2s;
}

.help-cta-card:hover .help-cta-link {
    color: var(--color-primary);
}

/* Content Section */
.help-content-section {
    padding: 64px 0 120px;
}

.help-content-container {
    max-width: 1277px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 272px 1fr;
    gap: 54px;
}

/* Sidebar */
.help-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.help-sidebar h4 {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6A7282;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin: 0 0 16px 0;
}

.help-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.help-sidebar-link {
    padding: 8px 0;
    font-size: 16px;
    line-height: 20px;
    color: #4A5565;
    text-decoration: none;
    transition: color 0.2s;
}

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

.help-sidebar-link.active {
    color: var(--color-primary);
    font-weight: 500;
}

/* FAQ controls (Expand all / Collapse all) */
.help-faq-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.help-faq-controls .btn {
    border-radius: 0;
}

/* Search help (above accordion list) */
.help-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.help-search-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
}

.help-search-input {
    flex: 1;
    min-width: 200px;
    height: 44px;
    padding: 0 14px;
    font-size: var(--font-size-base, 16px);
    line-height: 1.5;
    color: var(--color-text-primary, #182537);
    background: var(--color-white, #fff);
    border: 1px solid var(--color-gray-200, #E5E7EB);
    border-radius: 0;
    box-sizing: border-box;
}

.help-search-wrap .help-search-clear {
    height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.help-search-input::placeholder {
    color: var(--color-gray-500, #6B7280);
}

.help-faq-no-results {
    margin: 0 0 24px 0;
    font-size: var(--font-size-base, 16px);
    color: var(--color-gray-600, #4B5563);
}

.help-faq-item-search-hidden,
.help-faq-section-search-hidden {
    display: none !important;
}

/* FAQ Sections */
.help-faq-sections {
    max-width: 950px;
}

.help-faq-section {
    margin-bottom: 48px;
}

.help-faq-section h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: var(--color-primary-darker);
    margin: 0 0 24px 0;
}

.help-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.help-faq-empty-message {
    color: var(--color-gray-600);
    font-size: var(--font-size-base);
    padding: 24px 0;
    margin: 0;
}

.help-faq-empty-message a {
    color: var(--color-primary);
}

.help-faq-empty {
    color: var(--color-gray-600);
    font-size: var(--font-size-base);
    padding: var(--spacing-lg) 0;
    margin: 0;
}

.help-faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.help-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    background: var(--color-gray-50);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.help-faq-item-open .help-faq-question {
    background: var(--color-gray-50);
}

.help-faq-question span {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-primary-darker);
}

.help-faq-item-open .help-faq-question span {
    color: var(--color-primary);
}

/* Match homepage FAQs: right-arrow icon, 16x16, rotates 90deg when open */
.help-faq-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

.help-faq-item-open .help-faq-icon {
    transform: rotate(90deg);
    filter: brightness(0) saturate(100%) invert(35%) sepia(89%) saturate(1200%) hue-rotate(218deg);
}

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

.help-faq-item-open .help-faq-answer {
    max-height: 500px;
}

.help-faq-answer p {
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-gray-600);
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .help-hero-container {
        padding: 0 32px;
    }

    .help-cta-container {
        padding: 0 32px;
    }

    .help-content-container {
        padding: 0 32px;
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .help-sidebar {
        position: static;
    }

    .help-sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .help-sidebar-link {
        padding: 8px 16px;
        background: #F9FAFB;
        border: 1px solid #E5E7EB;
        border-radius: 4px;
    }

    .help-sidebar-link.active {
        background: var(--color-primary);
        color: #ffffff;
        border-color: var(--color-primary);
    }
}

@media (max-width: 768px) {
    .help-hero {
        padding: 88px 0 32px;
    }

    .help-hero-container {
        padding: 0 20px;
    }

    .help-hero h1 {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 16px;
    }

    .help-hero p {
        font-size: 18px;
        line-height: 26px;
    }

    .help-cta-section {
        padding: 32px 0;
    }

    .help-cta-container {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .help-content-section {
        padding: 48px 0 80px;
    }

    .help-content-container {
        padding: 0 20px;
        gap: 32px;
    }

    .help-faq-section {
        margin-bottom: 32px;
    }

    .help-faq-section h2 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 16px;
    }

    .help-faq-list {
        gap: 12px;
    }

    .help-faq-question {
        padding: 16px 20px;
    }

    .help-faq-question span {
        font-size: 16px;
        line-height: 24px;
    }

    .help-faq-answer p {
        padding: 16px 20px;
        font-size: 15px;
        line-height: 24px;
    }
}

/* ============================================
   Glossary Page
   ============================================ */

/* Hero Section */
.glossary-hero {
    background: #182537;
    border-bottom: 1px solid #253751;
    height: 500px;
    display: flex;
    align-items: center;
}

.glossary-hero-container {
    max-width: 1512px;
    width: 100%;
    margin: 0 auto;
    padding-left: 115px;
}

.glossary-hero-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
    color: #D1D5DC;
    text-transform: uppercase;
    border-bottom: 1px solid #314158;
    padding-bottom: 1px;
    margin-bottom: 40px;
    width: fit-content;
}

.glossary-hero h1 {
    font-size: 60px;
    font-weight: 400;
    line-height: 66px;
    letter-spacing: -1.2px;
    color: var(--color-white);
    margin: 0 0 24px 0;
    max-width: 757px;
}

.glossary-hero p {
    font-size: 20px;
    line-height: 32px;
    color: var(--color-white);
    margin: 0;
    max-width: 757px;
}

/* Glossary: no white line between sticky header and alphabet bar (header uses dark border) */
.glossary-page .header.header-scrolled {
    border-bottom-color: #253751;
}

/* Alphabet Navigation Section */
.glossary-alphabet-section {
    background: #182537;
    border-bottom: 1px solid #253751;
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 71px;
    z-index: 50;
    width: 100%;
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -1px;
}

.glossary-alphabet-container {
    max-width: 1512px;
    width: 100%;
    margin: 0 auto;
    padding-left: 115px;
    overflow-x: auto;
    overflow-y: hidden;
}

.glossary-alphabet {
    display: flex;
    gap: 4px;
    align-items: center;
    width: fit-content;
}

.glossary-alphabet-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    gap: 2px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.glossary-alphabet-btn .letter {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    transition: color 0.2s ease;
}

.glossary-alphabet-btn .count {
    font-size: 10px;
    font-weight: 400;
    line-height: 13.33px;
    transition: color 0.2s ease;
}

/* Active state - only when scrolled to that section */
.glossary-alphabet-btn.active {
    background: var(--color-primary);
}

.glossary-alphabet-btn.active .letter {
    color: var(--color-white);
}

.glossary-alphabet-btn.active .count {
    color: var(--color-white);
}

/* Available (with content) state - white background */
.glossary-alphabet-btn:not(.active):not(.disabled) {
    background: var(--color-white);
    border: 1px solid #E5E7EB;
}

.glossary-alphabet-btn:not(.active):not(.disabled) .letter {
    color: #101828;
}

.glossary-alphabet-btn:not(.active):not(.disabled) .count {
    color: #6A7282;
}

.glossary-alphabet-btn:not(.active):not(.disabled):hover {
    background: #F9FAFB;
    border-color: var(--color-gray-300);
    transform: translateY(-1px);
}

.glossary-alphabet-btn:not(.active):not(.disabled):hover .letter {
    color: var(--color-primary);
}

.glossary-alphabet-btn:not(.active):not(.disabled):active {
    transform: translateY(0);
}

/* Disabled (no content) state */
.glossary-alphabet-btn.disabled {
    background: #F9FAFB;
    opacity: 0.4;
    cursor: not-allowed;
}

.glossary-alphabet-btn.disabled .letter {
    color: #D1D5DC;
}

/* Content Section */
.glossary-content {
    padding: 80px 0 120px;
    border-bottom: 1px solid #E5E7EB;
}

.glossary-content-container {
    max-width: 1512px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 0 113px;
}

/* Terms List */
.glossary-terms {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.glossary-section {
    scroll-margin-top: 100px;
}

.glossary-letter {
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
    color: #101828;
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #E5E7EB;
    transition: all 0.3s ease;
}

.glossary-section.active .glossary-letter {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.glossary-term {
    padding: 32px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.glossary-term:last-child {
    border-bottom: none;
}

.glossary-term-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: var(--color-primary-darker);
    margin: 0 0 12px 0;
}

.glossary-term-definition {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-gray-600);
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .glossary-hero {
        height: auto;
        min-height: 300px;
        padding: 100px 32px 48px;
    }

    .glossary-hero-container {
        padding-left: 0;
    }

    .glossary-hero-label {
        margin-bottom: 24px;
    }

    .glossary-hero h1 {
        font-size: 42px;
        line-height: 50px;
        letter-spacing: -0.84px;
        margin-bottom: 16px;
    }

    .glossary-hero p {
        font-size: 18px;
        line-height: 28px;
    }

    .glossary-alphabet-section {
        height: auto;
        min-height: 100px;
        padding: 32px 0;
    }

    .glossary-alphabet-container {
        padding-left: 32px;
        padding-right: 32px;
    }
    
    .glossary-alphabet {
        -webkit-overflow-scrolling: touch;
    }

    .glossary-alphabet {
        gap: 3px;
    }

    .glossary-alphabet-btn {
        width: 40px;
        height: 40px;
    }

    .glossary-alphabet-btn .letter {
        font-size: 14px;
        line-height: 20px;
    }

    .glossary-alphabet-btn .count {
        font-size: 9px;
        line-height: 12px;
    }

    .glossary-content {
        padding: 48px 32px 80px;
    }

    .glossary-content-container {
        padding: 0;
    }

    .glossary-terms {
        gap: 48px;
    }

    .glossary-letter {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .glossary-term {
        padding: 24px 0;
    }

    .glossary-term-title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 8px;
    }

    .glossary-term-definition {
        font-size: 16px;
        line-height: 26px;
    }
}

/* ======================================
   Contact Page Styles
   ====================================== */

/* Contact Hero */
.contact-hero {
    background: #182537;
    border-bottom: 1px solid #253751;
    padding: 177px 0 96px;
    min-height: 353px;
}

.contact-hero-container {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding-left: 118px;
    padding-right: 118px;
    box-sizing: border-box;
}

.contact-hero h1 {
    font-size: 60px;
    line-height: 72px;
    font-weight: 500;
    color: var(--color-white);
    margin: 0 0 24px 0;
    max-width: 759px;
}

.contact-hero p {
    font-size: 24px;
    line-height: 32px;
    color: var(--color-white);
    margin: 0;
    max-width: 633px;
}

/* Contact Main Section */
.contact-main {
    background: var(--color-white);
    padding: 96px 0;
}

.contact-main-container {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding-left: 118px;
    padding-right: 118px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 626px) minmax(0, 537px);
    gap: 64px;
}

/* Contact Form */
.contact-form-wrapper h2 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 32px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.form-group label {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-primary-darker);
    font-weight: 400;
}

.form-group .required {
    color: #281010;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--color-gray-300);
    padding: 13px 16px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-primary-darker);
    font-family: 'Source Sans 3', sans-serif;
    border-radius: 0;
    background: var(--color-white);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group input {
    height: 50px;
}

.form-group select {
    height: 51px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('../images/down-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px 5px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 170px;
}

.form-group textarea::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.form-consent,
.contact-form-wrapper .form-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-consent input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-top: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-consent label,
.contact-form-wrapper .taxpay-form-checkbox {
    font-size: 10px;
    line-height: 20px;
    color: #364153;
    cursor: pointer;
}

.form-disclaimer {
    font-size: 10px;
    line-height: 20px;
    color: var(--color-gray-500);
    margin: -16px 0 0 0;
}

/* Contact Info Card */
.contact-info-card {
    position: relative;
    height: 720px;
}

.contact-info-image {
    position: relative;
    width: 100%;
    height: 620px;
    min-height: 620px;
    overflow: hidden;
    background: #e6ecf2;
}

/* Fill the section regardless of global img { height: auto }. */
.contact-info-image .contact-image,
.contact-info-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.contact-image-overlay {
    position: absolute;
    inset: 0;
    background: #182537;
    opacity: 0.1;
}

.contact-info-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 45px 35px 42px;
    background: #182537;
}

.contact-info-content h3 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
    color: var(--color-white);
    margin: 0 0 58px 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

/* When there are two lines (title + detail), align icon to top of text block. */
.contact-info-item:has(.contact-info-detail) {
    align-items: flex-start;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon img {
    width: 24px;
    height: 24px;
}

.contact-info-text {
    flex: 1;
}

.contact-info-title {
    font-size: 22px;
    line-height: 24px;
    color: var(--color-white);
    margin: 0 0 4px 0;
}

.contact-info-detail {
    font-size: 18px;
    line-height: 24px;
    color: var(--color-white);
    margin: 0;
}

/* Contact Options Section */
.contact-options {
    background: #f0f3f7;
    border-top: 1px solid var(--color-gray-300);
    padding: 64px 0 107px;
}

.contact-options-container {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding-left: 118px;
    padding-right: 118px;
    box-sizing: border-box;
}

.contact-options h2 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 400;
    color: var(--color-primary-darker);
    margin: 0 0 33px 0;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 411px));
    gap: 23px;
    max-width: 1279px;
}

.contact-option-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.contact-option-card h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: var(--color-primary-darker);
    margin: 0 0 12px 0;
}

.contact-option-card p {
    font-size: 16px;
    line-height: 24px;
    color: #4a5565;
    margin: 0 0 16px 0;
    flex: 1;
}

.contact-option-link {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-primary-darker);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Contact Page Responsive Styles */
@media (max-width: 1200px) {
    .contact-hero-container,
    .contact-main-container,
    .contact-options-container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .contact-hero h1,
    .contact-hero p {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .contact-hero {
        padding: 100px var(--container-padding) 64px;
    }

    .contact-hero-container {
        padding-left: 0;
        padding-right: 0;
    }

    .contact-main-container {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .contact-main-container .contact-form-wrapper {
        min-width: 0;
    }

    .contact-options-container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .contact-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        max-width: 100%;
    }

    .contact-info-card {
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px var(--container-padding) 48px;
        min-height: auto;
    }

    .contact-hero-container {
        padding-left: 0;
        padding-right: 0;
    }

    .contact-hero h1 {
        font-size: 36px;
        line-height: 44px;
        width: 100%;
        max-width: 100%;
    }

    .contact-hero p {
        font-size: 18px;
        line-height: 28px;
        width: 100%;
        max-width: 100%;
    }

    .contact-main {
        padding: 48px 0;
    }

    .contact-main-container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
        min-width: 0;
    }

    .contact-form-wrapper {
        min-width: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-info-card {
        height: auto;
        min-height: auto;
        position: relative;
    }

    .contact-info-image {
        height: 280px;
        min-height: 280px;
    }

    .contact-info-content {
        position: static;
        padding: 32px 24px 40px;
    }

    .contact-options-container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .contact-info-content h3 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 32px;
    }

    .contact-options {
        padding: 48px 0;
    }

    .contact-options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-options h2 {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 24px;
    }
}

/* ======================================
   Privacy Policy Page Styles
   ====================================== */

/* Privacy Hero */
.privacy-hero {
    background: var(--color-primary-darker);
    border-bottom: 1px solid var(--color-gray-900);
    padding: 177px 0 96px;
    min-height: 261px;
}

.privacy-hero-container {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding-left: 112px;
}

.privacy-hero h1 {
    font-size: 48px;
    line-height: 48px;
    font-weight: 500;
    color: var(--color-white);
    margin: 0 0 24px 0;
}

.privacy-hero p {
    font-size: 20px;
    line-height: 28px;
    color: var(--color-white);
    margin: 0;
}

/* Privacy Content – no overflow on ancestors so .privacy-sidebar sticky works */
.privacy-content {
    background: var(--color-white);
    padding: 64px 0 120px;
    overflow: visible;
}

.privacy-content-container {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding-left: 114px;
    display: grid;
    grid-template-columns: 272px 1fr;
    gap: 54px;
    align-items: start;
    overflow: visible;
}

/* Privacy Sidebar – sticky so it stays visible while scrolling */
.privacy-sidebar {
    position: sticky;
    top: 104px;
    align-self: start;
    max-height: calc(100vh - 104px - 32px);
    overflow-y: auto;
}

.privacy-sidebar-header {
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--color-gray-500);
    margin-bottom: 16px;
}

.privacy-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.privacy-sidebar-link {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-sidebar-link:hover {
    color: var(--color-primary-darker);
}

.privacy-sidebar-link.active {
    color: var(--color-primary);
    font-weight: 500;
}

/* Privacy Policy Content */
.privacy-policy-content {
    max-width: 953px;
}

.privacy-section {
    margin-bottom: 64px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 24px 0;
}

.privacy-section p {
    font-size: 16px;
    line-height: 26px;
    color: var(--color-gray-600);
    margin: 0 0 16px 0;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section strong {
    font-weight: 700;
    color: var(--color-primary-darker);
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.privacy-section ul li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    line-height: 26px;
    font-size: 16px;
    color: var(--color-gray-600);
}

.privacy-section ul li:last-child {
    margin-bottom: 0;
}

.privacy-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.privacy-section a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.privacy-section a:hover {
    color: var(--color-primary-hover);
}

/* Privacy Page Responsive Styles */
@media (max-width: 1024px) {
    .privacy-hero-container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .privacy-content-container {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .privacy-sidebar {
        position: static;
        border-bottom: 1px solid var(--color-gray-200);
        padding-bottom: 32px;
    }

    .privacy-sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .privacy-sidebar-link {
        padding: 4px 0;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 140px 0 64px;
        min-height: auto;
    }

    .privacy-hero h1 {
        font-size: 36px;
        line-height: 42px;
    }

    .privacy-hero p {
        font-size: 18px;
        line-height: 26px;
    }

    .privacy-content {
        padding: 48px 0 80px;
    }

    .privacy-section {
        margin-bottom: 48px;
    }

    .privacy-section h2 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 16px;
    }

    .privacy-section p,
    .privacy-section ul li {
        font-size: 15px;
        line-height: 24px;
    }
}

/* ======================================
   Thank You Page Styles
   ====================================== */

/* Thank You Hero */
.thankyou-hero {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 177px 0 96px;
    min-height: 459px;
}

.thankyou-hero-container {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 309.5px;
    text-align: center;
}

.thankyou-hero h1 {
    font-size: 48px;
    line-height: 48px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 24px 0;
}

.thankyou-hero p {
    font-size: 20px;
    line-height: 28px;
    color: var(--color-gray-600);
    margin: 0 0 40px 0;
    max-width: 616px;
    margin-left: auto;
    margin-right: auto;
}

.thankyou-hero .btn {
    margin-top: 16px;
}

/* What Happens Next */
.thankyou-next {
    background: #182537;
    border-bottom: 1px solid var(--color-gray-200);
    padding: 64px 0 64px;
}

.thankyou-next-container {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 309.5px;
}

.thankyou-next h2 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    color: var(--color-white);
    text-align: center;
    margin: 0 0 48px 0;
}

.thankyou-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.thankyou-step {
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    border-radius: var(--radius-sm);
    padding: 24px;
    min-height: 274px;
}

.thankyou-step-number {
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-primary-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 32px;
    color: var(--color-primary-darker);
    margin-bottom: 21px;
}

.thankyou-step h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 7px 0;
}

.thankyou-step p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-600);
    margin: 0;
}

/* While You Wait */
.thankyou-resources {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 64px 0 96px;
}

.thankyou-resources-container {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 309.5px;
}

.thankyou-resources h2 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    color: var(--color-primary-darker);
    text-align: center;
    margin: 0 0 16px 0;
}

.thankyou-resources-subtitle {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-gray-600);
    text-align: center;
    margin: 0 0 48px 0;
    max-width: 663px;
    margin-left: auto;
    margin-right: auto;
}

.thankyou-resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.thankyou-resource-card {
    background: #f0f3f7;
    border: 1px solid #d1d5dc;
    border-radius: var(--radius-sm);
    padding: 24px;
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 202px;
}

.thankyou-resource-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.thankyou-resource-card h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 12px 0;
}

.thankyou-resource-card p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-600);
    margin: 0 0 16px 0;
}

.thankyou-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-primary-darker);
    font-weight: 400;
    transition: color 0.2s ease;
}

.thankyou-resource-card:hover .thankyou-resource-link {
    color: var(--color-primary);
}

.thankyou-resource-link img {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.thankyou-resource-card:hover .thankyou-resource-link img {
    transform: translateX(4px);
}

/* Thank You Page Responsive Styles */
@media (max-width: 1024px) {
    .thankyou-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .thankyou-hero h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .thankyou-hero p {
        font-size: 18px;
        line-height: 28px;
    }

    .thankyou-next {
        padding: 48px 0;
    }

    .thankyou-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .thankyou-step {
        min-height: auto;
    }

    .thankyou-resources {
        padding: 48px 0 80px;
    }

    .thankyou-resources h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .thankyou-resources-subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 32px;
    }

    .thankyou-resources-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .thankyou-resource-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .thankyou-hero-container,
    .thankyou-next-container,
    .thankyou-resources-container {
        padding: 0 24px;
    }

    .thankyou-hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .thankyou-hero p {
        font-size: 16px;
        line-height: 24px;
    }

    .thankyou-next h2,
    .thankyou-resources h2 {
        font-size: 20px;
        line-height: 28px;
    }
}

/* ======================================
   404 Error Page Styles
   ====================================== */

/* 404 Error */
.error-404 {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 177px 0 96px;
    min-height: 651px;
}

.error-404-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.error-404-number {
    font-size: 128px;
    line-height: 128px;
    font-weight: 400;
    color: #182537;
    margin: 0 0 5px 0;
}

.error-404 h1 {
    font-size: 48px;
    line-height: 48px;
    font-weight: 500;
    color: #182537;
    margin: 0 0 24px 0;
}

.error-404 p {
    font-size: 20px;
    line-height: 28px;
    color: var(--color-gray-600);
    margin: 0 0 52px 0;
    max-width: 647px;
    margin-left: auto;
    margin-right: auto;
}

/* 404 Page Responsive Styles */
@media (max-width: 1024px) {
    .error-404 {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .error-404-number {
        font-size: 96px;
        line-height: 96px;
    }

    .error-404 h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .error-404 p {
        font-size: 18px;
        line-height: 28px;
    }
}

@media (max-width: 768px) {
    .error-404-container {
        padding: 0 24px;
    }

    .error-404-number {
        font-size: 72px;
        line-height: 72px;
    }

    .error-404 h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .error-404 p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 40px;
    }
}

/* ======================================
   Thank You Page Styles
   ====================================== */

/* Thank You Hero */
.thankyou-hero {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 177px 0 96px;
    min-height: 459px;
}

.thankyou-hero-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.thankyou-hero h1 {
    font-size: 48px;
    line-height: 48px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 24px 0;
}

.thankyou-hero p {
    font-size: 20px;
    line-height: 28px;
    color: var(--color-gray-600);
    margin: 0 0 40px 0;
    max-width: 616px;
    margin-left: auto;
    margin-right: auto;
}

.thankyou-hero .btn {
    margin-top: 16px;
}

/* What Happens Next */
.thankyou-next {
    background: #182537;
    border-bottom: 1px solid var(--color-gray-200);
    padding: 64px 0 64px;
}

.thankyou-next-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.thankyou-next h2 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    color: var(--color-white);
    text-align: center;
    margin: 0 0 48px 0;
}

.thankyou-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.thankyou-step {
    background: var(--color-white);
    border: 1px solid #d1d5dc;
    border-radius: var(--radius-sm);
    padding: 24px;
    min-height: 274px;
}

.thankyou-step-number {
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-primary-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 32px;
    color: var(--color-primary-darker);
    margin-bottom: 21px;
}

.thankyou-step h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 7px 0;
}

.thankyou-step p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-600);
    margin: 0;
}

/* While You Wait */
.thankyou-resources {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 64px 0 96px;
}

.thankyou-resources-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.thankyou-resources h2 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    color: var(--color-primary-darker);
    text-align: center;
    margin: 0 0 16px 0;
}

.thankyou-resources-subtitle {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-gray-600);
    text-align: center;
    margin: 0 0 48px 0;
    max-width: 663px;
    margin-left: auto;
    margin-right: auto;
}

.thankyou-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.thankyou-resource-card {
    background: #f0f3f7;
    border: 1px solid #d1d5dc;
    border-radius: var(--radius-sm);
    padding: 24px;
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 202px;
}

.thankyou-resource-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.thankyou-resource-card h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: var(--color-primary-darker);
    margin: 0 0 12px 0;
}

.thankyou-resource-card p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-600);
    margin: 0 0 16px 0;
}

.thankyou-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-primary-darker);
    font-weight: 400;
    transition: color 0.2s ease;
}

.thankyou-resource-card:hover .thankyou-resource-link {
    color: var(--color-primary);
}

.thankyou-resource-link img {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.thankyou-resource-card:hover .thankyou-resource-link img {
    transform: translateX(4px);
}

/* Thank You Page Responsive Styles */
@media (max-width: 1024px) {
    .thankyou-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .thankyou-hero h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .thankyou-hero p {
        font-size: 18px;
        line-height: 28px;
    }

    .thankyou-next {
        padding: 48px 0;
    }

    .thankyou-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .thankyou-step {
        min-height: auto;
    }

    .thankyou-resources {
        padding: 48px 0 80px;
    }

    .thankyou-resources h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .thankyou-resources-subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 32px;
    }

    .thankyou-resources-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .thankyou-resource-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .thankyou-hero-container,
    .thankyou-next-container,
    .thankyou-resources-container {
        padding: 0 24px;
    }

    .thankyou-hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .thankyou-hero p {
        font-size: 16px;
        line-height: 24px;
    }

    .thankyou-next h2,
    .thankyou-resources h2 {
        font-size: 20px;
        line-height: 28px;
    }
}
