/* ─────────────────────────────────────────────────────────────
   TaxSync Website — Main Stylesheet
   Design system matching the TaxSync app brand identity.
   ───────────────────────────────────────────────────────────── */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
    --brand-dark: #0B4A36;
    --brand-light: #E6F5EE;
    --accent: #12A06A;
    --accent-light: #3DBD82;
    --grey: #6B7280;
    --grey-light: #F9FAFB;
    --grey-border: #E5E7EB;
    --white: #FFFFFF;
    --black: #111827;

    --font-heading: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(11, 74, 54, 0.06);
    --shadow: 0 4px 24px rgba(11, 74, 54, 0.08);
    --shadow-lg: 0 12px 48px rgba(11, 74, 54, 0.12);
    --shadow-accent: 0 4px 24px rgba(18, 160, 106, 0.25);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    --container-width: 1200px;
    --header-height: 72px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--brand-dark);
}

ul,
ol {
    list-style: none;
}

/* ── Typography ───────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--brand-dark);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    color: var(--grey);
    max-width: 65ch;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 96px 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--white);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--brand-dark);
    border-color: var(--grey-border);
}

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

.btn-white {
    background: var(--white);
    color: var(--brand-dark);
    border-color: var(--white);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-arrow {
    transition: transform 0.2s ease;
}

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

/* ── Section Headers ──────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--brand-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    margin: 0 auto;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-logo img {
    height: 36px;
    width: auto;
}

.header-nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--brand-dark);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.header-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.header-actions .btn {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* ── Mobile Menu Toggle ───────────────────────────────────── */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-dark);
    transition: var(--transition);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-light) 0%, var(--white) 50%, #f0fdf4 100%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(18, 160, 106, 0.08) 0%, transparent 70%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px 0;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(18, 160, 106, 0.1);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-accent {
    display: block;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1875rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

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

.hero-trust {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    max-width: 480px;
}

/* ── Hero Dashboard Mockup ────────────────────────────────── */
.hero-dashboard-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--grey-border);
}

.mockup-bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--grey-light);
    border-bottom: 1px solid var(--grey-border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--grey-border);
}

.mockup-dot:first-child {
    background: #EF4444;
}

.mockup-dot:nth-child(2) {
    background: #F59E0B;
}

.mockup-dot:nth-child(3) {
    background: #22C55E;
}

.mockup-content {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 60px;
    background: var(--brand-dark);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-menu-item {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.mockup-menu-item.active {
    background: var(--accent);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mockup-card {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--grey-light);
}

.mockup-card-green {
    background: var(--brand-light);
}

.mockup-card-blue {
    background: #EFF6FF;
}

.mockup-card-amber {
    background: #FFFBEB;
}

.mockup-card-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.mockup-card-value {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.mockup-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.mockup-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    height: 100px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent), var(--accent-light));
    border-radius: 4px 4px 0 0;
    min-height: 12px;
    animation: barGrow 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/* ── Stats ────────────────────────────────────────────────── */
.stats {
    background: var(--brand-dark);
    padding: 56px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent-light);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--accent-light);
}

.stat-currency::before {
    content: '€';
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* ── How It Works ─────────────────────────────────────────── */
.how-it-works {
    background: var(--grey-light);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    max-width: 360px;
    width: 100%;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.step-icon {
    color: var(--accent);
    margin-bottom: 20px;
}

.step-title {
    margin-bottom: 12px;
}

.step-description {
    font-size: 0.9375rem;
    margin: 0 auto;
}

.step-connector {
    display: none;
}

/* ── Features ─────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-green {
    background: var(--brand-light);
    color: var(--accent);
}

.feature-icon-blue {
    background: #EFF6FF;
    color: #3B82F6;
}

.feature-icon-purple {
    background: #F3E8FF;
    color: #8B5CF6;
}

.feature-icon-orange {
    background: #FFF7ED;
    color: #F97316;
}

.feature-icon-teal {
    background: #F0FDFA;
    color: #14B8A6;
}

.feature-icon-rose {
    background: #FFF1F2;
    color: #F43F5E;
}

.feature-title {
    margin-bottom: 8px;
}

.feature-description {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ── Country Grid ─────────────────────────────────────────── */
.country-grid {
    background: var(--brand-light);
}

.countries {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.country-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.country-flag {
    font-size: 1.75rem;
    line-height: 1;
}

.country-name {
    font-weight: 600;
    color: var(--brand-dark);
    font-size: 0.9375rem;
    flex: 1;
}

.country-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: var(--brand-light);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.countries-note {
    text-align: center;
    font-size: 0.9375rem;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-credit-rule {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 720px;
}

.pricing-credit-rule-headline {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.pricing-credit-rule-note {
    font-size: 0.9375rem;
    color: var(--grey);
}

.pricing-model-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 4px;
}

.pricing-model-subtitle {
    font-size: 0.9375rem;
    color: var(--grey);
    margin-bottom: 20px;
}

.pricing-table-wrap {
    margin-bottom: 48px;
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-lg);
    padding: 8px;
}

.pricing-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.pricing-table thead th {
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    background: var(--brand-dark);
    padding: 14px 20px;
    white-space: nowrap;
}

.pricing-table thead th:first-child {
    border-radius: 8px 0 0 8px;
}

.pricing-table thead th:last-child {
    border-radius: 0 8px 8px 0;
}

.pricing-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--grey-border);
    font-size: 0.9375rem;
    color: var(--black);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table-tier {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-dark);
}

.pricing-table-row-featured td {
    background: var(--brand-light);
}

.pricing-table-cta {
    margin-top: 20px;
    text-align: center;
}

.pricing-cta {
    text-align: center;
    justify-content: center;
}

/* A note belonging to the table directly above it, not to the section. */
.pricing-table-footnote {
    font-size: 0.875rem;
    color: var(--grey);
    margin-top: -32px;
    margin-bottom: 48px;
}

.pricing-note {
    text-align: center;
    font-size: 0.875rem;
}

/* ── Testimonials / Trust ─────────────────────────────────── */
.testimonials {
    background: var(--grey-light);
}

.trust-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.trust-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-border);
    transition: var(--transition);
}

.trust-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.trust-icon {
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.trust-label {
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.trust-desc {
    font-size: 0.875rem;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--brand-dark) 100%);
    padding: 80px 0;
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin: 0 auto 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

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

.footer-logo {
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.875rem;
    max-width: 280px;
}

.footer-heading {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.social-link {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--accent-light);
}

/* ── Page Content ─────────────────────────────────────────── */
.page-content {
    padding-top: calc(var(--header-height) + 48px);
    min-height: 60vh;
}

/* ── Animations ───────────────────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */

/* Tablet (640px+) */
@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Tablet Landscape (768px+) */
@media (min-width: 768px) {
    .trust-categories {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps-grid {
        flex-direction: row;
        gap: 16px;
    }

    .step-connector {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .header-nav {
        display: flex;
    }

    .header-actions {
        display: flex;
    }

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

    .hero-inner {
        grid-template-columns: 1fr 1.1fr;
        padding: 80px 0;
    }

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

    .countries {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
    .container {
        padding: 0 32px;
    }
}

/* ── Mobile Nav Overlay ───────────────────────────────────── */
@media (max-width: 1023px) {
    .header-nav.open {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 32px 24px;
        z-index: 999;
    }

    .header-nav.open .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .header-nav.open .nav-link {
        font-size: 1.25rem;
        padding: 12px 0;
    }

    .header-nav.open+.header-actions {
        display: flex;
        position: fixed;
        bottom: 32px;
        left: 24px;
        right: 24px;
        z-index: 999;
    }

    .header-nav.open+.header-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ── Content Pages ────────────────────────────────────────── */

.content-page {
    padding: 6rem 0 4rem;
    min-height: 60vh;
    background: var(--grey-light);
}

.content-page .container {
    max-width: 900px;
}

/* Homepage dynamic sections: full-width, no card styling */
.home-dynamic {
    padding: 0;
    background: var(--white);
}

.home-dynamic .container {
    max-width: var(--container-width);
}

.home-dynamic .frame {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 4rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--grey-border);
}

.home-dynamic .frame:hover {
    box-shadow: none;
    transform: none;
}

.home-dynamic .frame:first-child {
    border-left: none;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.home-dynamic .frame:last-child {
    border-bottom: none;
}

/* Each tt_content element becomes a card */
.content-page .frame {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 3rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--grey-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    position: relative;
}

.content-page .frame:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

/* Green accent on first card (main heading) */
.content-page .frame:first-child {
    border-left: 4px solid var(--accent);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.content-page .frame:last-child {
    margin-bottom: 0;
}

/* Content element headers */
.content-page .frame h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 1.25rem;
    line-height: 1.25;
}

/* First card gets bigger heading */
.content-page .frame:first-child h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.content-page .frame h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
}

/* Body text inside content elements */
.content-page .ce-bodytext {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--grey);
}

.content-page .ce-bodytext p {
    margin-bottom: 1.25rem;
    max-width: none;
}

.content-page .ce-bodytext p:last-child {
    margin-bottom: 0;
}

.content-page .ce-bodytext strong {
    color: var(--brand-dark);
    font-weight: 600;
    display: inline-block;
    margin-top: 0.25rem;
}

.content-page .ce-bodytext a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(18, 160, 106, 0.3);
    transition: border-color 0.2s;
}

.content-page .ce-bodytext a:hover {
    border-bottom-color: var(--accent);
}

/* Override: .btn links keep their own colors inside body content */
.content-page .ce-bodytext a.btn {
    border-bottom: none;
}

.content-page .ce-bodytext a.btn-primary {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

.content-page .ce-bodytext a.btn-primary:hover {
    color: var(--white);
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

/* Feature list styling inside cards */
.content-page .ce-bodytext p strong:first-child {
    font-size: 1.0625rem;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .content-page {
        padding: 5rem 0 3rem;
    }

    .content-page .frame {
        padding: 1.75rem 1.5rem;
        border-radius: var(--radius-sm);
    }

    .content-page .frame:first-child {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* ── TYPO3 Form Framework ─────────────────────────────────── */

.frame-type-form_formframework {
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

/* Form row (for side-by-side fields) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Fieldsets */
.form-group,
.form-element {
    margin-bottom: 1.5rem;
}

/* Labels */
.form-group label,
.form-element label,
form[id^="contact-form"] label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

/* Required asterisk */
.form-group label .label-required,
.form-element .label-required {
    color: #E53E3E;
    margin-left: 0.2em;
}

/* Input fields, selects, textareas */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea,
.form-group select,
.form-element input[type="text"],
.form-element input[type="email"],
.form-element input[type="tel"],
.form-element input[type="number"],
.form-element input[type="url"],
.form-element textarea,
.form-element select,
form[id^="contact-form"] input[type="text"],
form[id^="contact-form"] input[type="email"],
form[id^="contact-form"] textarea,
form[id^="contact-form"] select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--black);
    background: var(--grey-light);
    border: 2px solid var(--grey-border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-element input:focus,
.form-element textarea:focus,
.form-element select:focus,
form[id^="contact-form"] input:focus,
form[id^="contact-form"] textarea:focus,
form[id^="contact-form"] select:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(18, 160, 106, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-element input::placeholder,
.form-element textarea::placeholder {
    color: #9CA3AF;
}

/* Select dropdown arrow */
.form-group select,
.form-element select,
form[id^="contact-form"] select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Textarea */
.form-group textarea,
.form-element textarea,
form[id^="contact-form"] textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit button */
.form-navigation button[type="submit"],
form[id^="contact-form"] button[type="submit"],
.form-group .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    margin-top: 0.5rem;
}

.form-navigation button[type="submit"]:hover,
form[id^="contact-form"] button[type="submit"]:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

/* Validation errors */
.form-group .error,
.form-element .error,
.form-element .form-error-message,
.help-block {
    display: block;
    font-size: 0.8125rem;
    color: #E53E3E;
    margin-top: 0.375rem;
    font-weight: 500;
}

.form-group input.error,
.form-group select.error,
.form-element input.error,
.form-element select.error {
    border-color: #E53E3E;
}

/* Confirmation message */
.form-confirmation {
    text-align: center;
    padding: 3rem 2rem;
}

.form-confirmation p {
    font-size: 1.125rem;
    color: var(--brand-dark);
    line-height: 1.7;
}

/* Fieldset styling */
fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

fieldset legend {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    padding: 0;
}

/* ── Content page top gradient bar ────────────────────────── */

.page-hero-mini {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #1a7a55 100%);
    padding: 7rem 0 2rem;
    margin-bottom: 0;
}

.page-hero-mini .page-title {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 0;
    font-weight: 700;
}

.page-hero-mini .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
}

/* ── Legal / Content Pages (TYPO3 content elements) ──────── */

.content-page {
    padding: 3rem 0 5rem;
}



.content-page h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.content-page h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--grey-border);
}

.content-page h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--black);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-page p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--grey);
    margin-bottom: 1rem;
    max-width: none;
}

.content-page ul,
.content-page ol {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-page ol {
    list-style: decimal;
}

.content-page li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--grey);
    margin-bottom: 0.375rem;
}

.content-page a:not(.btn) {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.content-page a:not(.btn):hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.content-page address,
.content-page .legal-address-block {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--grey);
    background: var(--grey-light);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    margin: 1rem 0;
}

.content-page .legal-updated {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-bottom: 2rem;
}

.content-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.content-page th {
    text-align: left;
    font-weight: 600;
    color: var(--brand-dark);
    padding: 0.75rem 1rem;
    background: var(--grey-light);
    border: 1px solid var(--grey-border);
}

.content-page td {
    padding: 0.625rem 1rem;
    border: 1px solid var(--grey-border);
    color: var(--grey);
}

/* ── Solutions Page Cards ────────────────────────────────── */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.solution-card {
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

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

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.solution-card p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--grey);
    margin-bottom: 0.75rem;
    max-width: none;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.solution-card li {
    font-size: 0.8125rem;
    color: var(--grey);
    padding: 0.25rem 0 0.25rem 1.25rem;
    position: relative;
}

.solution-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.solution-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.solution-icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.solution-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.solution-icon-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.solution-icon-orange {
    background: #fff7ed;
    color: #ea580c;
}

.solution-icon-teal {
    background: #ccfbf1;
    color: #0d9488;
}

.solution-icon-rose {
    background: #ffe4e6;
    color: #e11d48;
}

@media (max-width: 768px) {
    .content-page {
        padding: 2rem 0 3rem;
    }

    .content-page h2 {
        margin-top: 2rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   Interior page modernization (2026-07)
   Page hero band, wider content column, frame layout variants,
   media styling. Layout variants map to the "Layout" dropdown
   in the backend: 10 Feature Cards, 20 Accent Band,
   30 Checklist, 40 Accordion, 50 Two Columns.
   ============================================================ */

/* -- Page hero band ------------------------------------------ */

.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--brand-dark) 0%, #0E5C43 55%, #12734F 100%);
    padding: calc(var(--header-height) + 4rem) 0 3.5rem;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 160, 106, 0.35), transparent 70%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin: 0.75rem 0 0;
    max-width: 20ch;
}

.page-hero-lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 62ch;
}

.breadcrumb {
    font-size: 0.85rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: var(--accent-light);
    font-weight: 500;
}

/* -- Content page: wider, calmer cards ----------------------- */

.content-page {
    padding: 3.5rem 0 4.5rem;
}

.content-page .container {
    max-width: 1140px;
}

.content-page .frame {
    padding: 2.75rem 3.25rem;
}

.content-page .frame:hover {
    transform: none;
}

/* Keep long-form reading columns comfortable inside wide cards */
.content-page .frame-layout-0 p,
.content-page .frame-layout-0 ul,
.content-page .frame-layout-0 ol,
.content-page .frame-layout-30 p,
.content-page .frame-layout-30 ul,
.content-page .frame-layout-40 p,
.content-page .frame-layout-40 ul,
.content-page .frame-layout-40 ol {
    max-width: 78ch;
}

.content-page .ce-textpic p {
    max-width: none;
}

/* -- Layout 10: Feature Cards -------------------------------- */

/* This rule used to reset background, border and shadow so the cards floated
   free, but the glass pass further down re-applies the panel to every
   .content-page .frame, layout 10 included, and wins on source order. The
   panel is kept; what it was missing is the horizontal inset the other frames
   get, without which the card grid sits flush against the panel edge. Match
   .content-page .frame here; the 768px rule further down covers mobile. */
.content-page .frame-layout-10 {
    padding: 2.5rem 3.25rem;
}

.content-page .frame-layout-10:hover {
    box-shadow: none;
}

.content-page .frame-layout-10 > header h2,
.content-page .frame-layout-10 h2 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.content-page .frame-layout-10 .card-grid-intro {
    text-align: center;
    max-width: 62ch;
    margin: 0 auto 2.5rem;
    font-size: 1.0625rem;
    color: var(--grey);
}

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

.card-grid .content-card {
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-grid .content-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: rgba(18, 160, 106, 0.4);
}

.content-card .content-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--brand-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.content-card h3,
.content-card .content-card-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0;
}

.content-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--grey);
    margin: 0;
    max-width: none;
}

.content-card ul {
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
}

.content-card ul li {
    font-size: 0.95rem;
    color: var(--grey);
    padding-left: 1.4rem;
    position: relative;
    margin-bottom: 0.4rem;
    line-height: 1.55;
}

.content-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 0.85rem;
    height: 0.85rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2312A06A'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7 7a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4l2.3 2.29 6.3-6.3a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* -- Layout 20: Accent Band ---------------------------------- */

.content-page .frame-layout-20 {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #0E5C43 60%, #12734F 100%);
    border: none;
    text-align: center;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.content-page .frame-layout-20::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -140px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 160, 106, 0.4), transparent 70%);
    pointer-events: none;
}

.content-page .frame-layout-20:hover {
    box-shadow: var(--shadow-sm);
}

.content-page .frame-layout-20 h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.content-page .frame-layout-20 p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.content-page .frame-layout-20 strong {
    color: var(--white);
}

.content-page .frame-layout-20 a:not(.btn) {
    color: var(--accent-light);
    border-bottom-color: rgba(61, 189, 130, 0.5);
}

.content-page .frame-layout-20 a.btn-primary {
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

/* -- Layout 30: Checklist ------------------------------------ */

.content-page .frame-layout-30 ul {
    margin: 1rem 0;
    list-style: none;
    padding-left: 0;
}

.content-page .frame-layout-30 ul li {
    list-style: none;
    position: relative;
    padding-left: 2.1rem;
    margin-bottom: 0.85rem;
    line-height: 1.7;
}

.content-page .frame-layout-30 ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.22em;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2312A06A'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7 7a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4l2.3 2.29 6.3-6.3a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / 70%;
}

/* -- Layout 40: Accordion ------------------------------------ */

.content-page .frame-layout-40,
.content-page .frame-layout-40:first-child {
    padding: 0;
    overflow: hidden;
}

.content-page .frame-layout-40 > header {
    margin: 0;
}

.content-page .frame-layout-40 .accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1.5rem 2rem;
    text-align: left;
    font-family: var(--font-heading);
}

.content-page .frame-layout-40 .accordion-toggle h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.content-page .frame-layout-40 .accordion-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.2s ease;
}

.content-page .frame-layout-40.open .accordion-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--white);
}

.content-page .frame-layout-40 .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.content-page .frame-layout-40 .accordion-body-inner {
    padding: 0 2rem 1.75rem;
}

.content-page .frame-layout-40 .ce-bodytext {
    font-size: 1rem;
}

/* -- Layout 50: Two Columns ---------------------------------- */

.content-page .frame-layout-50 .two-col-body {
    column-count: 2;
    column-gap: 3.5rem;
}

.content-page .frame-layout-50 .two-col-body h3,
.content-page .frame-layout-50 .two-col-body p,
.content-page .frame-layout-50 .two-col-body li {
    break-inside: avoid;
}

/* -- Text and media elements --------------------------------- */

.content-page .ce-textpic {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.content-page .ce-textpic.ce-right {
    flex-direction: row-reverse;
}

.content-page .ce-textpic.ce-center,
.content-page .ce-textpic.ce-above {
    flex-direction: column;
    align-items: stretch;
}

.content-page .ce-textpic .ce-gallery {
    flex: 0 0 46%;
    min-width: 0;
}

.content-page .ce-textpic .ce-bodytext {
    flex: 1;
    min-width: 0;
}

/* Screenshots get a browser window frame */
.content-page .ce-gallery figure.image {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--grey-border);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.content-page .ce-gallery figure.image::before {
    content: "";
    display: block;
    height: 30px;
    background: #F3F4F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='12'%3E%3Ccircle cx='6' cy='6' r='5' fill='%23FCA5A5'/%3E%3Ccircle cx='26' cy='6' r='5' fill='%23FCD34D'/%3E%3Ccircle cx='46' cy='6' r='5' fill='%2386EFAC'/%3E%3C/svg%3E") no-repeat 14px center;
    border-bottom: 1px solid var(--grey-border);
}

.content-page .ce-gallery figure.image img {
    width: 100%;
    display: block;
}

.content-page .ce-gallery figcaption {
    font-size: 0.85rem;
    color: var(--grey);
    padding: 0.6rem 1rem;
    background: var(--grey-light);
    border-top: 1px solid var(--grey-border);
}

/* Plain illustration variant: no browser bar (SVG illustrations) */
.content-page .frame-illustration .ce-gallery figure.image {
    border: none;
    box-shadow: none;
    background: none;
    overflow: visible;
}

.content-page .frame-illustration .ce-gallery figure.image::before {
    display: none;
}

/* -- Reveal animation for content frames --------------------- */

.content-page .frame.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-page .frame.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .content-page .frame.reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* -- Responsive ---------------------------------------------- */

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

@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--header-height) + 2.5rem) 0 2.5rem;
    }

    .content-page .frame {
        padding: 1.75rem 1.5rem;
    }

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

    .content-page .frame-layout-50 .two-col-body {
        column-count: 1;
    }

    .content-page .ce-textpic,
    .content-page .ce-textpic.ce-right {
        flex-direction: column;
    }

    .content-page .ce-textpic .ce-gallery {
        flex-basis: auto;
        width: 100%;
    }

    .content-page .frame-layout-40 .accordion-toggle {
        padding: 1.15rem 1.25rem;
    }

    .content-page .frame-layout-40 .accordion-body-inner {
        padding: 0 1.25rem 1.25rem;
    }

    .content-page .frame-layout-20 {
        padding: 2.5rem 1.5rem;
    }
}

/* ============================================================
   REDESIGN LAYER (branch: redesign-gamma)
   Organic sunlit backdrop, frosted glass panels, serif display
   type. This block intentionally overrides the base skin above;
   removing the block restores the previous design.
   ============================================================ */

:root {
    --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --glass: rgba(255, 255, 255, 0.62);
    --glass-strong: rgba(255, 255, 255, 0.8);
    --glass-mint: rgba(230, 245, 238, 0.6);
    --glass-border: rgba(255, 255, 255, 0.7);
}

/* -- Organic backdrop ---------------------------------------- */

body {
    background: #EAF2E4;
}

body::before {
    content: "";
    position: fixed;
    inset: -10%;
    z-index: -2;
    background:
        radial-gradient(42% 34% at 12% 18%, rgba(163, 205, 110, 0.85), transparent 70%),
        radial-gradient(38% 30% at 85% 12%, rgba(210, 228, 140, 0.75), transparent 70%),
        radial-gradient(45% 38% at 78% 62%, rgba(88, 156, 96, 0.55), transparent 70%),
        radial-gradient(36% 30% at 25% 78%, rgba(140, 190, 116, 0.6), transparent 70%),
        radial-gradient(28% 24% at 55% 38%, rgba(235, 244, 200, 0.9), transparent 70%),
        radial-gradient(24% 20% at 42% 92%, rgba(96, 150, 82, 0.5), transparent 70%),
        linear-gradient(160deg, #DDEBC8 0%, #CFE3BE 45%, #C3DCB4 100%);
    filter: blur(70px) saturate(1.05);
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(6px 6px at 18% 30%, rgba(255, 255, 255, 0.5), transparent 60%),
        radial-gradient(9px 9px at 72% 22%, rgba(255, 255, 255, 0.4), transparent 60%),
        radial-gradient(7px 7px at 60% 74%, rgba(255, 255, 255, 0.35), transparent 60%),
        radial-gradient(5px 5px at 35% 60%, rgba(255, 255, 255, 0.4), transparent 60%);
    filter: blur(2px);
    pointer-events: none;
}

/* -- Display typography -------------------------------------- */

h1, h2, h3, h4,
.hero-title,
.page-hero-title,
.stat-number,
.stat-suffix,
.feature-title,
.step-title,
.content-card h3,
.content-card .content-card-title,
.section-title {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

h1, .hero-title, .page-hero-title {
    font-weight: 700;
}

/* -- Frosted glass recipe ------------------------------------ */

.site-header {
    background: rgba(250, 253, 246, 0.72);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.site-header.scrolled {
    background: rgba(250, 253, 246, 0.88);
}

.feature-card,
.step-card,
.testimonial-card,
.country-item,
.resource-card,
.content-page .frame,
.card-grid .content-card {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.1);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .feature-card,
    .step-card,
    .testimonial-card,
    .country-item,
    .resource-card,
    .content-page .frame,
    .card-grid .content-card {
        background: rgba(255, 255, 255, 0.92);
    }
}

.content-page .frame:first-child {
    border-left: 4px solid var(--accent);
}

.content-page .frame-layout-40,
.content-page .frame-layout-40:first-child {
    padding: 0;
}

/* Sections go transparent so the backdrop shows through */

.content-page,
.home-dynamic,
.how-it-works,
.country-grid,
.stats,
.testimonials,
.features,
.resources,
.pricing {
    background: transparent;
}

.home-dynamic .frame {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    border: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem 3.25rem;
    margin: 2.5rem 0;
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.1);
}

/* -- Home hero: light wash over the backdrop ----------------- */

.hero-bg {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 55%, rgba(255, 255, 255, 0) 100%);
}

.hero-bg::after {
    display: none;
}

/* -- Stats: light panel, huge serif numbers (Gamma style) ---- */

.stats {
    padding: 72px 0;
}

.stats .stats-grid {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.1);
    padding: 48px 32px;
}

.stat-item {
    color: var(--brand-dark);
}

.stat-number,
.stat-suffix {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.stat-label {
    color: var(--grey);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 8px;
}

/* -- Interior page hero: light and editorial ----------------- */

.page-hero {
    background: transparent;
    padding: calc(var(--header-height) + 4.5rem) 0 2.5rem;
}

.page-hero-bg,
.page-hero::after {
    display: none;
}

.page-hero-title {
    color: var(--brand-dark);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    max-width: 24ch;
}

.page-hero-lead {
    color: #3F5147;
    font-size: 1.1875rem;
}

.breadcrumb a {
    color: rgba(11, 74, 54, 0.6);
}

.breadcrumb a:hover {
    color: var(--brand-dark);
}

.breadcrumb-sep {
    color: rgba(11, 74, 54, 0.35);
}

.breadcrumb-current {
    color: var(--accent);
}

/* -- Country grid on the backdrop ---------------------------- */

.country-item {
    border-radius: var(--radius-lg);
}

.country-tag {
    background: rgba(18, 160, 106, 0.12);
}

/* -- Accent band and CTA keep the deep green anchor ---------- */

.content-page .frame-layout-20 {
    border-radius: var(--radius-xl);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* -- Numbered List variant (layout 60) ----------------------- */

.content-page .frame-layout-60,
.home-dynamic .frame-layout-60 {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1rem 0;
}

.numbered-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.numbered-row {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(11, 74, 54, 0.35);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.08);
}

.numbered-row-num {
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-dark);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.numbered-row-body {
    flex: 1;
    background: var(--glass-mint);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
}

.numbered-row-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--brand-dark);
}

.numbered-row-body p {
    margin: 0 0 0.5rem;
    max-width: none;
}

.numbered-row-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .numbered-row {
        flex-direction: column;
    }

    .numbered-row-num {
        flex-basis: auto;
        padding: 0.4rem 0;
        font-size: 1.25rem;
    }

    .numbered-row-body {
        padding: 1.1rem 1.25rem;
    }
}

/* -- Redesign refinements ------------------------------------ */

/* Card headings must win over the base .frame h2/h3 rules */
.content-page .frame h2,
.content-page .frame h3,
.content-page .frame:first-child h2,
.home-dynamic .frame h2,
.home-dynamic .frame h3,
.content-page .frame-layout-40 .accordion-toggle h2,
.testimonial-quote {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

/* Hero: tighter height, readable trust line */
.hero {
    min-height: 86vh;
}

.hero-trust {
    color: #4A5A50;
    opacity: 1;
}

/* Stats: three-up grid with section heading */
.stats .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

@media (max-width: 768px) {
    .stats-grid.stats-grid-three {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tighter hero, Gamma-style module grid, two-card grids */

.hero {
    min-height: 0;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 2rem;
}

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

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

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

/* -- Backdrop v2: rich bokeh image instead of the flat wash -- */

body::before {
    background: url('../Images/backdrop-bokeh.svg') center / cover no-repeat fixed;
    filter: none;
    inset: 0;
}

body::after {
    display: none;
}

/* Panels need more body against the richer backdrop */
:root {
    --glass: rgba(252, 254, 248, 0.82);
    --glass-mint: rgba(238, 248, 238, 0.85);
    --glass-border: rgba(255, 255, 255, 0.85);
}

.content-page .frame,
.home-dynamic .frame,
.feature-card,
.step-card,
.testimonial-card,
.country-item,
.card-grid .content-card,
.stats .stats-grid {
    background: var(--glass);
}

/* Hero: washed light band over the foliage so the serif title carries */
.hero-bg {
    background: linear-gradient(180deg, rgba(250, 253, 244, 0.92) 0%, rgba(250, 253, 244, 0.78) 60%, rgba(250, 253, 244, 0) 100%);
    display: block;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(250, 253, 244, 0.85) 0%, rgba(250, 253, 244, 0) 100%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
}

/* Text placed directly on the backdrop needs more weight */
.section-subtitle,
.countries-note {
    color: #33453B;
}

/* -- Hero v3: Gamma banner with warehouse illustration -------- */

.hero.hero-banner {
    min-height: 0;
    display: block;
    padding: calc(var(--header-height) + 5.5rem) 0 6.5rem;
    position: relative;
    overflow: hidden;
}

.hero-banner .hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(234, 244, 236, 0.82) 0%, rgba(226, 240, 230, 0.86) 70%, rgba(222, 238, 227, 0.95) 100%),
        url('../Images/hero-warehouse.jpg') center 30% / cover no-repeat;
}

.hero-banner .hero-bg::after {
    display: none;
}

.hero-banner .hero-inner {
    display: block;
    padding: 0;
}

.hero-banner .hero-title {
    font-size: clamp(2.25rem, 4.6vw, 3.4rem);
    line-height: 1.15;
    color: var(--brand-dark);
    max-width: 22ch;
    margin-bottom: 1.75rem;
}

.hero-banner .hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #33453B;
    max-width: 72ch;
    margin-bottom: 2.25rem;
}

.hero-banner .hero-subtitle strong {
    color: var(--brand-dark);
}

/* Gamma buttons: squared corners, flat */
.hero-banner .btn {
    border-radius: 8px;
    padding: 0.9rem 1.9rem;
    font-size: 1.0625rem;
}

.hero-banner .btn-primary {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    box-shadow: none;
}

.hero-banner .btn-primary:hover {
    background: #0E5C43;
    border-color: #0E5C43;
}

.hero-banner .btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--brand-dark);
    color: var(--brand-dark);
}

.hero-banner .btn-ghost:hover {
    background: var(--white);
}

/* -- Backdrop v3: the same foliage photo the reference uses -- */

body::before {
    background: url('../Images/backdrop-foliage.jpg') center / cover no-repeat fixed;
}

@media (max-width: 768px) {
    .hero.hero-banner {
        padding: calc(var(--header-height) + 3rem) 0 3.5rem;
    }
}

/* Soft veil over the foliage photo, as in the reference */
body::before {
    background:
        linear-gradient(180deg, rgba(243, 249, 240, 0.5) 0%, rgba(240, 247, 236, 0.42) 100%),
        url('../Images/backdrop-foliage.jpg') center / cover no-repeat fixed;
}

/* ============================================================
   Section rhythm v2: match the reference's alternation of open
   sections on the foliage and contained panels.
   - layout 10 and 70 sections sit directly on the backdrop
   - layout 60 (numbered) sits in a large mint glass band
   - layout 0 (tables, quotes, prose) keeps the white panel
   ============================================================ */

.home-dynamic .frame {
    padding: 4rem 0;
    margin: 0;
}

.home-dynamic .frame-layout-10,
.home-dynamic .frame-layout-70 {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
}

.home-dynamic .frame h2 {
    text-align: center;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    margin-bottom: 1rem;
}

.home-dynamic .frame-layout-10 .card-grid-intro,
.home-dynamic .frame-layout-70 .icon-cols-intro,
.home-dynamic .frame-layout-60 > p {
    text-align: center;
    max-width: 66ch;
    margin: 0 auto 2.75rem;
    color: #2F4237;
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* Numbered sections: the large mint band of the reference */
.home-dynamic .frame-layout-60 {
    background: var(--glass-mint);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.12);
    padding: 3.5rem 3.25rem;
    margin: 2.5rem 0;
}

.home-dynamic .frame-layout-60 h2 {
    text-align: left;
}

.home-dynamic .frame-layout-60 > p {
    text-align: left;
    margin-left: 0;
}

.numbered-row {
    background: rgba(255, 255, 255, 0.65);
}

/* -- Icon columns (layout 70): open trio like the reference -- */

.icon-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

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

.icon-col-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.icon-col h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.icon-col p,
.icon-col li {
    color: #2F4237;
    font-size: 1rem;
    line-height: 1.7;
    max-width: none;
}

/* -- Feature modules and stats: open on the backdrop --------- */

.feature-card {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1rem 0.5rem;
}

.feature-card:hover {
    box-shadow: none;
    transform: none;
}

.feature-icon {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.feature-description {
    color: #2F4237;
}

.stats .stats-grid {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 24px 0;
}

.stat-number,
.stat-suffix {
    font-size: clamp(3rem, 6vw, 4.5rem);
}

.section-subtitle {
    color: #2F4237;
}

@media (max-width: 992px) {
    .icon-cols,
    .icon-cols.icon-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .icon-cols,
    .icon-cols.icon-cols-4 {
        grid-template-columns: 1fr;
    }

    .home-dynamic .frame-layout-60 {
        padding: 2rem 1.25rem;
    }
}

/* Open home sections never carry the first-card accent border */
.home-dynamic .frame:first-child,
.home-dynamic .frame-layout-10:first-child,
.home-dynamic .frame-layout-70:first-child {
    border-left: none;
}

/* ============================================================
   Reference fidelity pass: per-section treatments
   ============================================================ */

/* -- Mint band wrapper (trust stats + feature modules) ------- */

.band.band-mint {
    background: var(--glass-mint);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    max-width: 1240px;
    margin: 2.5rem auto;
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.12);
    overflow: hidden;
}

.band-mint .stats,
.band-mint .features {
    background: transparent;
    padding: 3.5rem 0 1.5rem;
}

.band-mint .features {
    padding: 0 0 3rem;
}

.section-header-left {
    text-align: left;
}

.section-header-left .section-subtitle {
    margin-left: 0;
}

/* -- Regulation section (#c77): split band with illustration -- */

.home-dynamic #c77 {
    background: var(--glass-mint);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.12);
    padding: 3.5rem 46% 3.5rem 3.25rem;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.home-dynamic #c77::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 43%;
    background: url('../Images/office-illustration.jpg') center / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 18%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 18%);
}

.home-dynamic #c77 h2 {
    text-align: left;
    max-width: 18ch;
}

.home-dynamic #c77 .icon-cols-intro {
    text-align: left;
    margin: 0 0 2rem;
    max-width: none;
}

.home-dynamic #c77 .icon-cols {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.home-dynamic #c77 .icon-col {
    background: rgba(240, 250, 242, 0.75);
    border: 1.5px solid rgba(11, 74, 54, 0.55);
    border-radius: var(--radius-sm);
    padding: 1.15rem 1.5rem;
}

.home-dynamic #c77 .icon-col-icon {
    display: none;
}

.home-dynamic #c77 .icon-col h3 {
    margin-bottom: 0.35rem;
}

/* -- Workflow (#c78): dark first step, spanning third step --- */

.home-dynamic #c78 {
    background: var(--glass-mint);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.12);
    padding: 3.5rem 3.25rem;
    margin: 2.5rem 0;
}

.home-dynamic #c78::before {
    content: "";
    display: block;
    height: 96px;
    margin-bottom: 2rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 96' preserveAspectRatio='xMinYMid meet'%3E%3Cg fill='%230B4A36'%3E%3Cpath d='M0 4h560v10l40-15-40-15v10H0z' transform='translate(0,16)'/%3E%3Cpath d='M0 4h640v10l40-15-40-15v10H0z' transform='translate(0,46)'/%3E%3Cpath d='M0 4h720v10l40-15-40-15v10H0z' transform='translate(0,76)'/%3E%3C/g%3E%3C/svg%3E") left center / contain no-repeat;
}

.home-dynamic #c78 h2 {
    text-align: left;
}

.home-dynamic #c78 .card-grid-intro {
    text-align: left;
    margin: 0 0 2rem;
}

.home-dynamic #c78 .card-grid {
    grid-template-columns: 1fr 1fr;
}

.home-dynamic #c78 .content-card-icon {
    display: none;
}

.home-dynamic #c78 .content-card:nth-child(1) {
    background: #275E4A;
    border-color: #275E4A;
}

.home-dynamic #c78 .content-card:nth-child(1) h3,
.home-dynamic #c78 .content-card:nth-child(1) li,
.home-dynamic #c78 .content-card:nth-child(1) p {
    color: var(--white);
}

.home-dynamic #c78 .content-card:nth-child(1) ul li::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23A7E3C4'%3E%3Ccircle cx='10' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / contain;
}

.home-dynamic #c78 .content-card:nth-child(2) {
    background: none;
    border: none;
    box-shadow: none;
}

.home-dynamic #c78 .content-card:nth-child(3) {
    grid-column: 1 / -1;
    background: none;
    border: none;
    box-shadow: none;
}

.home-dynamic #c78 .content-card:nth-child(3) ul {
    columns: 2;
    column-gap: 3rem;
}

.home-dynamic #c78 .content-card:nth-child(3) ul li {
    break-inside: avoid;
}

.home-dynamic #c78 .content-card a.btn {
    margin-top: 1.25rem;
    align-self: flex-start;
    border-radius: 8px;
    background: var(--brand-dark);
    color: var(--white);
    border-bottom: none;
    padding: 0.8rem 1.6rem;
}

/* -- Targets band (#c80): kickers, serif subheads, dark tiles - */

.home-dynamic #c80 {
    background: var(--glass-mint);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.12);
    padding: 3.5rem 3.25rem;
    margin: 2.5rem 0;
}

.home-dynamic #c80 h2 {
    text-align: left;
    max-width: none;
}

.home-dynamic #c80 h3 {
    font-family: var(--font-display);
    color: var(--brand-dark);
    font-size: 1.35rem;
    margin: 2rem 0 0.75rem;
}

.home-dynamic #c80 p {
    max-width: 90ch;
}

.kicker {
    display: inline-block;
    background: var(--brand-dark);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin: 2.5rem 0 0.5rem;
}

.target-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.25rem 0 1.5rem;
}

.target-tile {
    background: #0F4A38;
    border-radius: var(--radius-sm);
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.target-tile:nth-child(4) {
    background: #2A6B52;
}

.target-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.target-cap {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    line-height: 1.5;
}

.target-divider {
    border: none;
    border-top: 1px solid rgba(11, 74, 54, 0.25);
    margin: 2.75rem 0 0.5rem;
}

.home-dynamic #c80 a.btn {
    display: inline-block;
    margin-top: 1.5rem;
    border-radius: 8px;
    background: var(--brand-dark);
    color: var(--white);
    border-bottom: none;
    padding: 0.85rem 1.7rem;
}

/* -- Comparison table (#c82) --------------------------------- */

.home-dynamic #c82 {
    background: var(--glass-mint);
    border: 1px solid var(--glass-border);
    border-left: none;
}

.home-dynamic #c82 h2 {
    text-align: left;
}

.home-dynamic #c82 table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.home-dynamic #c82 table tr:first-child td,
.home-dynamic #c82 table th {
    background: var(--brand-dark);
    color: var(--white);
    font-weight: 600;
}

.home-dynamic #c82 table td,
.home-dynamic #c82 table th {
    padding: 0.85rem 1rem;
    border: none;
    border-bottom: 1px solid rgba(11, 74, 54, 0.15);
    text-align: left;
}

/* -- Quote (#c83): open pull quote --------------------------- */

.home-dynamic #c83 {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 2.5rem 0;
}

.pull-quote {
    border-left: 3px solid var(--brand-dark);
    padding-left: 1.75rem;
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--brand-dark);
    max-width: 80ch;
}

.quote-attribution {
    padding-left: 1.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-top: 0.75rem;
}

.home-dynamic #c83 p:last-child {
    margin: 2rem 0 0 auto;
    max-width: 46ch;
    color: #2F4237;
}

/* -- Country grid + resources band --------------------------- */

.country-grid-band {
    padding: 2.5rem 0;
}

.country-grid-band .container {
    background: var(--glass-mint);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.12);
    padding: 3.5rem 3.25rem;
}

.country-resources-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.country-grid-band .countries {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
}

.country-grid-band .country-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.15rem 1.4rem;
    background: rgba(240, 250, 242, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.country-grid-band .country-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.country-grid-band .country-tag {
    background: none;
    padding: 0;
    color: var(--grey);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

/* Resources element rendered inside the band */
.resources-column h2 {
    text-align: left;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.resources-column p {
    position: relative;
    max-width: none;
}

.resources-column p strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--brand-dark);
    margin-bottom: 0.2rem;
    padding-left: 2.4rem;
}

.resources-column p strong::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.4rem;
    height: 1.4rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312A06A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
}

.resources-column p {
    padding-left: 2.4rem;
    margin-bottom: 1.4rem;
    color: #2F4237;
}

.resources-column > p:first-of-type {
    padding-left: 0;
}

.resources-column > p:first-of-type::before {
    display: none;
}

.resources-cta {
    border-radius: 8px;
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    margin-top: 0.5rem;
}

/* -- Pricing: reference table styling ------------------------- */

.pricing-table-row-featured .pricing-table-tier {
    font-family: var(--font-display);
}

.pricing-cta {
    border-radius: 8px;
}

/* -- Industries (#c133): dark mosaic ------------------------- */

#c133 h2 {
    text-align: left;
    font-size: 1.6rem;
}

#c133 .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

#c133 .content-card {
    background: #0F4A38;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 1.75rem 1.6rem;
}

#c133 .content-card:nth-child(4) {
    background: #2A6B52;
}

#c133 .content-card:hover {
    transform: none;
    box-shadow: none;
}

#c133 .content-card-icon {
    display: none;
}

#c133 .content-card h3 {
    color: var(--white);
    font-size: 1.1rem;
}

#c133 .content-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* -- Open closing CTA ---------------------------------------- */

.cta-banner.cta-open {
    background: transparent;
    padding: 3rem 0 5rem;
}

.cta-open .cta-title {
    color: var(--brand-dark);
    font-size: 1.7rem;
    text-align: left;
    margin-bottom: 1rem;
}

.cta-open .cta-subtitle {
    color: #2F4237;
    max-width: 80ch;
    margin-bottom: 1.75rem;
}

.cta-open .btn {
    border-radius: 8px;
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--white);
}

/* -- Responsive for the new section treatments --------------- */

@media (max-width: 992px) {
    .home-dynamic #c77 {
        padding-right: 3.25rem;
    }

    .home-dynamic #c77::after {
        display: none;
    }

    .country-resources-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-dynamic #c78 .card-grid,
    .target-tiles,
    #c133 .card-grid {
        grid-template-columns: 1fr;
    }

    .home-dynamic #c78 .content-card:nth-child(3) ul {
        columns: 1;
    }

    .home-dynamic #c77,
    .home-dynamic #c78,
    .home-dynamic #c80,
    .country-grid-band .container {
        padding: 2rem 1.25rem;
    }
}

/* Fidelity pass fixes */
.target-num,
.target-cap {
    display: block;
}

.home-dynamic #c80 .kicker {
    color: var(--white);
}

.resources-column p {
    padding-left: 0;
}

.resources-column p:has(> strong) {
    padding-left: 2.4rem;
}

/* ============================================================
   Reference alignment pass: left-aligned sections, charcoal
   stats, line-art icons, labeled block arrows, flush rows
   ============================================================ */

/* Left alignment across the landing sections */
.band-mint .section-header,
.stats .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.band-mint .section-header .section-subtitle,
.stats .section-header .section-subtitle {
    margin-left: 0;
}

.band-mint .stats,
.band-mint .features {
    padding-left: 3.25rem;
    padding-right: 3.25rem;
}

.home-dynamic .frame h2,
.home-dynamic .frame-layout-10 .card-grid-intro,
.home-dynamic .frame-layout-70 .icon-cols-intro {
    text-align: left;
    margin-left: 0;
}

.section-badge {
    display: none;
}

/* Stats: charcoal serif numbers, bold serif labels, left text */
.stats-grid.stats-grid-three {
    text-align: left;
    gap: 2rem;
    padding: 8px 0 24px;
}

.stat-number,
.stat-suffix {
    color: #453F36;
    font-size: clamp(2.6rem, 5vw, 3.9rem);
}

.stat-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--brand-dark);
    margin-top: 10px;
}

/* Feature modules: large line-art icons, no tiles */
.feature-icon {
    background: none;
    border: none;
    box-shadow: none;
    width: auto;
    height: auto;
    color: var(--brand-dark);
    margin-bottom: 0.9rem;
}

.feature-title {
    font-size: 1.3rem;
}

/* Regulation split: hard clipped illustration, tighter cards */
.home-dynamic #c77::after {
    -webkit-mask-image: none;
    mask-image: none;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    width: 45%;
}

.home-dynamic #c77 .icon-col {
    padding: 0.9rem 1.3rem;
}

.home-dynamic #c77 .icon-col h3 {
    font-size: 1.25rem;
}

/* Workflow: title first, then labeled block arrows */
.home-dynamic #c78::before {
    display: none;
}

.home-dynamic #c78 h2::after {
    content: "";
    display: block;
    height: 300px;
    margin: 2rem 0 1rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 300'%3E%3Cg fill='%232F5D49'%3E%3Cpath d='M0 10h640v80H0z'/%3E%3Cpath d='M640 0l80 50-80 50z'/%3E%3Cpath d='M0 110h710v80H0z'/%3E%3Cpath d='M710 100l80 50-80 50z'/%3E%3Cpath d='M0 210h780v80H0z'/%3E%3Cpath d='M780 200l80 50-80 50z'/%3E%3C/g%3E%3Cg font-family='Georgia, serif' font-weight='700' font-size='30'%3E%3Ctext x='40' y='60' fill='%23FFFFFF'%3EConnect %26amp; Import%3C/text%3E%3Ctext x='40' y='160' fill='%23FFFFFF'%3EAssess %26amp; Validate%3C/text%3E%3Ctext x='40' y='260' fill='%23FFFFFF'%3EGenerate %26amp; Submit%3C/text%3E%3C/g%3E%3C/svg%3E") left center / contain no-repeat;
}

.home-dynamic #c78 .content-card:nth-child(1) {
    background: #47695A;
    border-color: #47695A;
}

/* Numbered rows: number block flush inside a single bordered row */
.numbered-row {
    border: 1px solid rgba(11, 74, 54, 0.45);
    border-radius: var(--radius-sm);
    background: rgba(240, 250, 242, 0.75);
}

.numbered-row-num {
    flex-basis: 96px;
    font-size: 2rem;
    border-radius: 0;
}

.numbered-row-body {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1.35rem 1.9rem;
}

.numbered-row-body h3 {
    font-size: 1.35rem;
}

@media (max-width: 768px) {
    .band-mint .stats,
    .band-mint .features {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .home-dynamic #c78 h2::after {
        height: 160px;
    }
}

/* Feature modules: icons and text flush left, full-width header */
.band-mint .section-header,
.band-mint .section-header .section-title,
.band-mint .section-header .section-subtitle {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.feature-card {
    text-align: left;
}

.feature-icon {
    display: block;
    margin-left: 0;
    justify-content: flex-start;
}

/* ============================================================
   Uniform band width: every landing section panel measures the
   same outer width as the mint band (1240px)
   ============================================================ */

:root {
    --band-width: 1240px;
}

.band.band-mint {
    max-width: var(--band-width);
}

/* The DB-driven sections were inheriting the narrower interior
   container; give the homepage its own uniform width */
.home-dynamic .container {
    max-width: var(--band-width);
    padding-left: 0;
    padding-right: 0;
}

.country-grid-band .container,
.pricing .container,
.cta-banner .container,
.hero-banner .container,
.band-mint .container {
    max-width: var(--band-width);
}

@media (max-width: 1300px) {
    .home-dynamic .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .band.band-mint {
        margin-left: 24px;
        margin-right: 24px;
    }
}

/* Comparison table panel: proper band padding, single dark header */
.home-dynamic #c82 {
    padding: 3.5rem 3.25rem;
    margin: 2.5rem 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.12);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    overflow-x: auto;
}

.home-dynamic #c82 table tr:first-child td,
.home-dynamic #c82 table th {
    background: var(--brand-dark);
    color: var(--white);
}

.home-dynamic #c82 table:has(th) tbody tr:first-child td {
    background: transparent;
    color: inherit;
    font-weight: 400;
}

/* Benefits trio joins the comparison table band, hanging icons */
.home-dynamic #c82 {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.home-dynamic #c132 {
    background: var(--glass-mint);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.12);
    margin: 0 0 2.5rem;
    padding: 0.5rem 3.25rem 3rem;
}

.home-dynamic #c132 .icon-cols {
    margin-top: 0;
}

/* Hanging icon layout: icon left, title and text right */
.icon-col {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.1rem;
    align-content: start;
}

.icon-col .icon-col-icon {
    grid-row: 1 / span 6;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
}

.icon-col h3,
.icon-col p,
.icon-col ul {
    grid-column: 2;
}

/* Risk cards in the regulation split keep their stacked layout */
.home-dynamic #c77 .icon-col {
    display: block;
}

/* ============================================================
   DoC + AR block: reference layout
   ============================================================ */

/* Section title and intro flush left, cards without icons,
   right card open like the reference */
.home-dynamic #c102 h2 {
    text-align: left;
}

.home-dynamic #c102 .card-grid-intro {
    text-align: left;
    margin-left: 0;
}

.home-dynamic #c102 .content-card-icon {
    display: none;
}

.home-dynamic #c102 .content-card:nth-child(2) {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Key Benefits: compact left heading, outlined icons */
.home-dynamic #c130 {
    padding-top: 1rem;
}

.home-dynamic #c130 h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.home-dynamic #c130 .icon-col-icon {
    background: none;
    border: 1.5px solid rgba(11, 74, 54, 0.7);
    border-radius: 10px;
    box-shadow: none;
    width: 46px;
    height: 46px;
}

/* AR service steps: four bordered tiles, callout, two CTAs */
.home-dynamic #c131 {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 0 3rem;
    margin: 0;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    margin-bottom: 2rem;
}

.step-tile {
    background: rgba(240, 250, 242, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--brand-dark);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.4rem;
    box-shadow: var(--shadow-sm);
}

.step-tile-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.4rem;
}

.step-tile p {
    margin: 0;
    color: #2F4237;
    font-size: 1rem;
    line-height: 1.55;
    max-width: none;
}

.ar-callout {
    background: #DEF4E7;
    border-radius: var(--radius);
    padding: 1.6rem 2rem;
    margin-bottom: 2rem;
}

.ar-callout p {
    margin: 0;
    color: #2F4237;
    max-width: none;
    line-height: 1.75;
}

.ar-callout strong {
    color: var(--brand-dark);
}

.ar-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ar-ctas .btn {
    border-radius: 8px;
}

.home-dynamic #c131 .ar-ctas a.btn-primary {
    background: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
    border-bottom: none;
    padding: 0.85rem 1.7rem;
}

.home-dynamic #c131 .ar-ctas a.btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--brand-dark);
    color: var(--brand-dark);
    border-bottom: 1px solid var(--brand-dark);
    padding: 0.85rem 1.7rem;
}

/* Quote block: quote left, explanation right, dark text */
.home-dynamic #c83 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 4rem;
    align-items: start;
    padding: 2.5rem 0 3.5rem;
}

.home-dynamic #c83 .pull-quote {
    grid-column: 1;
    color: #12382B;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.home-dynamic #c83 .quote-attribution {
    grid-column: 1;
    color: #12382B;
}

.home-dynamic #c83 p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    max-width: none;
    color: #2F4237;
}

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

    .home-dynamic #c83 {
        display: block;
    }
}

/* Tight pricing to industries to CTA sequence like the reference */

.industries-section {
    background: transparent;
    padding: 0;
}

.industries-section .container {
    max-width: var(--band-width);
}

.industries-section #c133 {
    padding: 0 0 1rem;
}

.industries-section #c133 h2 {
    text-align: left;
    font-size: 1.6rem;
    margin: 0 0 1.25rem;
}

.industries-section #c133 .card-grid {
    margin-top: 0;
}

.pricing {
    padding-bottom: 2.5rem;
}

.pricing-note {
    margin-bottom: 0;
}

.cta-banner.cta-open {
    padding: 2rem 0 5rem;
}

.cta-open .cta-title {
    margin-top: 0;
}

.cta-open .cta-subtitle {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.cta-open .cta-inner,
.cta-open .cta-content {
    text-align: left;
    margin: 0;
    max-width: none;
}

/* DoC + AR block: continuous full-width wash like the reference */

body {
    overflow-x: hidden;
}

.home-dynamic #c102,
.home-dynamic #c130,
.home-dynamic #c131 {
    position: relative;
    z-index: 0;
}

.home-dynamic #c102::before,
.home-dynamic #c130::before,
.home-dynamic #c131::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    background: rgba(225, 239, 224, 0.66);
    backdrop-filter: blur(18px) saturate(1.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.05);
    z-index: -1;
}

.home-dynamic #c102 {
    padding-top: 4.5rem;
    margin-bottom: 0;
}

.home-dynamic #c130 {
    margin: 0;
}

.home-dynamic #c131 {
    padding-bottom: 4rem;
    margin-bottom: 2.5rem;
}

/* Numbered sections on interior pages: same mint band padding
   as on the homepage (they previously rendered edge to edge) */
.content-page .frame-layout-60 {
    background: var(--glass-mint);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(31, 71, 46, 0.12);
    padding: 3rem 3.25rem;
}

.content-page .frame-layout-60 h2 {
    text-align: left;
}

@media (max-width: 768px) {
    .content-page .frame-layout-60 {
        padding: 2rem 1.25rem;
    }
}

/* Accent Band (layout 20): keep the dark panel under the redesign
   (the glass panel override was washing it out, leaving white text
   on a light background) */
.content-page .frame-layout-20,
.home-dynamic .frame-layout-20 {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #0E5C43 60%, #12734F 100%);
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
}

.content-page .frame-layout-20 h2,
.home-dynamic .frame-layout-20 h2 {
    color: var(--white);
    text-align: center;
}

.content-page .frame-layout-20 p,
.home-dynamic .frame-layout-20 p {
    color: rgba(255, 255, 255, 0.88);
}

.content-page .frame-layout-20 strong {
    color: var(--white);
}

.content-page .frame-layout-20 a:not(.btn) {
    color: #7FE7C0;
    border-bottom-color: rgba(127, 231, 192, 0.5);
}

/* Mobile nav: the fixed overlay collapsed because backdrop-filter
   on the header makes it the containing block for fixed children.
   Anchor the panel under the header with a solid background. */
@media (max-width: 1023px) {
    .header-nav.open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        bottom: auto;
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        background: #F7FBF4;
        border-top: 1px solid var(--grey-border);
        overflow-y: auto;
        display: flex;
        padding: 32px 24px;
        z-index: 999;
    }
}

/* Open-menu action buttons: pin to the bottom of the menu panel
   (fixed positioning resolved against the filtered header and
   left them overlapping the logo) */
@media (max-width: 1023px) {
    .header-nav.open + .header-actions {
        position: absolute;
        top: calc(100dvh - 104px);
        bottom: auto;
        left: 24px;
        right: 24px;
        z-index: 1000;
    }
}

/* Text-and-media polish: top-align beside images, style
   below-text images, and join the split DoC section (#c69 + #c198)
   into one continuous panel */
.content-page .ce-textpic {
    align-items: flex-start;
}

.content-page .ce-below .ce-gallery,
.content-page .ce-textpic.ce-center .ce-gallery {
    max-width: 900px;
    margin: 2rem auto 0;
}

.content-page #c69 {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.content-page #c198 {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
    margin-top: 0;
    padding-top: 1rem;
}

/* Buttons inside content cards (e.g. Book a discovery call) */
.content-card a.btn-primary {
    display: inline-block;
    background: var(--brand-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    margin-top: 0.75rem;
    align-self: flex-start;
    font-weight: 600;
}

.content-card a.btn-primary:hover {
    background: #0E5C43;
    color: var(--white);
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 720px;
    margin: 0 auto;
    z-index: 2000;
    background: rgba(252, 254, 248, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent-text {
    flex: 1;
    min-width: 240px;
    margin: 0;
    font-size: 0.9rem;
    color: #33453B;
    max-width: none;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.6rem;
}

.cookie-consent-actions .btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.cookie-consent-actions .btn-ghost {
    border: 1px solid var(--grey-border);
    background: var(--white);
    color: var(--brand-dark);
}

/* Klaro consent manager: brand theming */
.klaro .cookie-notice,
.klaro .cookie-modal .cm-modal {
    background: rgba(250, 253, 246, 0.97) !important;
    color: #33453B !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg) !important;
}

.klaro .cookie-notice .cn-body p,
.klaro .cookie-modal .cm-modal p,
.klaro .cookie-modal .cm-modal .title,
.klaro .cookie-modal .cm-modal h1,
.klaro .cookie-modal .cm-modal label {
    color: #33453B !important;
}

.klaro a {
    color: var(--accent) !important;
}

.klaro .cm-btn {
    border-radius: 8px !important;
    background: var(--white) !important;
    color: var(--brand-dark) !important;
    border: 1px solid var(--grey-border) !important;
}

.klaro .cm-btn.cm-btn-success,
.klaro .cm-btn.cm-btn-accept-all {
    background: var(--brand-dark) !important;
    color: var(--white) !important;
    border: none !important;
}

.klaro .cm-list-input:checked + .cm-list-label .slider {
    background-color: var(--accent) !important;
}

.klaro .cookie-notice {
    border: 1px solid var(--grey-border) !important;
}
