/* ==========================================================================
   Hittegodskontoret — Unified Greydot Design System
   April 2026 — Bridges HG, ER & Greydot visual identity
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    /* Greydot unified palette */
    --gd-blue: #2d658e;
    --gd-blue-deep: #1e4d6f;
    --gd-blue-darker: #153a55;
    --gd-navy: #0a2540;
    --gd-navy-ink: #0f1f38;
    --gd-orange: #e8722a;
    --gd-orange-hover: #d4621e;
    --gd-orange-light: rgba(232, 114, 42, 0.08);
    --gd-teal-bg: #eefdfc;
    --gd-teal-muted: #e2f5f3;
    --gd-cream: #faf9f5;

    /* Neutrals */
    --n-white: #ffffff;
    --n-50: #f7f8f9;
    --n-100: #eef0f3;
    --n-150: #e4e7eb;
    --n-200: #dde1e6;
    --n-300: #c1c7ce;
    --n-400: #8d95a0;
    --n-500: #6b7280;
    --n-600: #4b5563;
    --n-700: #374151;
    --n-800: #1f2937;
    --n-900: #0a0a0a;

    /* Logo ring gradient stops (matches Greydot circle) */
    --logo-ring-1: #c97a2e;
    --logo-ring-2: #b5652a;
    --logo-ring-3: #8b4c24;

    /* Typography */
    --font-serif: 'Abhaya Libre', Georgia, 'Times New Roman', serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing & layout */
    --container: 1080px;
    --gap: 24px;
    --radius: 6px;
    --radius-lg: 10px;
    --radius-pill: 100px;
    --transition: 0.25s ease;
    --transition-slow: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--n-600);
    background: var(--n-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Typography — Abhaya Libre headings, DM Sans body
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gd-navy-ink);
    letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5em; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4em; }
h4 { font-size: 0.95rem; font-weight: 600; }
p { margin-bottom: 1em; }
a { color: var(--gd-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gd-blue-deep); }
ul, ol { margin-bottom: 1em; padding-left: 1.5em; }
li { margin-bottom: 0.3em; }
strong { color: var(--n-800); }

/* ==========================================================================
   Buttons — Orange primary (from ER), Blue secondary (from HG)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75em 2em;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--gd-orange);
    color: var(--n-white);
    border-color: var(--gd-orange);
    box-shadow: 0 2px 8px rgba(232, 114, 42, 0.2);
}
.btn-primary:hover {
    background: var(--gd-orange-hover);
    border-color: var(--gd-orange-hover);
    color: var(--n-white);
    box-shadow: 0 4px 16px rgba(232, 114, 42, 0.3);
}

.btn-secondary {
    background: var(--gd-blue);
    color: var(--n-white);
    border-color: var(--gd-blue);
}
.btn-secondary:hover {
    background: var(--gd-blue-deep);
    border-color: var(--gd-blue-deep);
    color: var(--n-white);
    box-shadow: 0 4px 14px rgba(45, 101, 142, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--gd-blue);
    border-color: var(--gd-blue);
}
.btn-ghost:hover { background: var(--gd-blue); color: var(--n-white); }

.btn-large { padding: 0.9em 2.4em; font-size: 0.9rem; }
.btn-full { width: 100%; }
.btn-success { background: #2a7d72; border-color: #2a7d72; color: var(--n-white); }

/* ==========================================================================
   Header — Greydot ecosystem header with circle logo
   ========================================================================== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 72px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    border-bottom-color: var(--n-100);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Greydot logo (image) */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo:hover { text-decoration: none; }

.logo-img {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.logo-img-sm {
    width: 36px; height: 36px;
}

/* Legacy circle logo (kept for compatibility) */
.logo-circle {
    position: relative;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, var(--logo-ring-1), var(--logo-ring-2), var(--logo-ring-3), var(--logo-ring-2), var(--logo-ring-1));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.logo-circle-inner {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #4a4a4a;
    display: flex; align-items: center; justify-content: center;
}
.logo-circle-text {
    font-family: var(--font-sans);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
}

.logo-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gd-navy-ink);
    letter-spacing: -0.02em;
}
.logo-tagline {
    font-family: var(--font-serif);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gd-orange);
    margin-top: 2px;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--n-500);
    text-decoration: none;
    letter-spacing: 0.01em;
    position: relative;
    padding-bottom: 2px;
    transition: color var(--transition);
}
.main-nav a::after {
    content: '';
    position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--gd-orange);
    border-radius: 1px;
    transition: width var(--transition);
}
.main-nav a:hover { color: var(--gd-navy-ink); text-decoration: none; }
.main-nav a:hover::after { width: 100%; }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 24px; height: 18px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--gd-navy-ink); position: absolute; left: 0; transition: all 0.3s ease; border-radius: 1px; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }
.nav-toggle.is-active span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero — Dark navy overlay (ER style) + institutional serif
   ========================================================================== */
.hero {
    position: relative;
    padding: 140px 0 90px;
    background: var(--gd-navy);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(45, 101, 142, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(232, 114, 42, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 114, 42, 0.4), var(--gd-blue), rgba(232, 114, 42, 0.4), transparent);
}

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

.hero-content { max-width: 660px; }

.hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gd-orange);
    margin-bottom: 1.2rem;
}
.hero-overline::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--gd-orange);
    border-radius: 1px;
}

.hero h1 {
    color: var(--n-white);
    margin-bottom: 0.7em;
    font-weight: 800;
}

.hero-lead {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    margin-bottom: 2.2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   Sections — alternating white / teal (HG+Greydot style)
   ========================================================================== */
.section { padding: 80px 0; }
.section-teal { background: var(--gd-teal-bg); }
.section-light { background: var(--n-50); }
.section-cream { background: var(--gd-cream); }
.section-cta {
    background: linear-gradient(135deg, var(--gd-navy) 0%, var(--gd-navy-ink) 100%);
}

.section-header { text-align: left; margin-bottom: 48px; }
.section-header p { color: var(--n-500); font-size: 0.92rem; max-width: 640px; }
.section-header-center { text-align: center; }
.section-header-center p { margin-left: auto; margin-right: auto; }

/* Orange accent bar before section headers */
.section-header h2::before {
    content: '';
    display: block;
    width: 32px; height: 3px;
    background: var(--gd-orange);
    border-radius: 2px;
    margin-bottom: 16px;
}
.section-header-center h2::before { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Stats bar — HG style with blue numbers
   ========================================================================== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--n-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.stat-item {
    padding: 32px 20px 24px;
    background: var(--n-white);
    text-align: center;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--gd-blue);
    margin-bottom: 4px;
    line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--n-600); line-height: 1.4; }
.stat-source { font-size: 0.68rem; color: var(--n-400); margin-top: 8px; font-style: italic; }

/* ==========================================================================
   Two-column layout
   ========================================================================== */
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.col-side { position: sticky; top: 96px; }
.two-col-equal { grid-template-columns: 1fr 1fr; }

/* ==========================================================================
   Data grid (ranking cards)
   ========================================================================== */
.data-grid { margin: 1.5em 0; }
.data-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--n-150);
    border-radius: var(--radius);
    margin-bottom: 6px;
    background: var(--n-white);
    transition: all var(--transition);
}
.data-card:hover { border-color: var(--gd-blue); box-shadow: 0 2px 8px rgba(45,101,142,0.08); }
.data-rank {
    width: 36px; height: 36px; min-width: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(45, 101, 142, 0.08);
    color: var(--gd-blue);
    font-family: var(--font-serif);
    font-weight: 700; font-size: 1rem;
    border-radius: 50%;
}
.data-info strong { display: block; font-size: 0.88rem; color: var(--gd-navy-ink); }
.data-info span { font-size: 0.78rem; color: var(--n-400); }

/* Fact box (sidebar) — orange accent (ER style) */
.fact-box {
    background: var(--n-white);
    border: 1px solid var(--n-150);
    border-left: 3px solid var(--gd-orange);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 24px;
}
.fact-box h3 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gd-orange);
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 0.8em;
}
.fact-box ul { padding-left: 1.2em; margin-bottom: 0; }
.fact-box li { font-size: 0.84rem; color: var(--n-600); margin-bottom: 0.6em; }
.fact-box li:last-child { margin-bottom: 0; }

/* ==========================================================================
   Data table — clean institutional
   ========================================================================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.85rem;
}
.data-table th {
    text-align: left;
    padding: 12px 16px;
    background: rgba(45, 101, 142, 0.06);
    color: var(--gd-navy-ink);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--n-200);
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--n-100);
    color: var(--n-600);
}
.data-table td:nth-child(2) { font-weight: 600; color: var(--gd-blue); }
.data-table tbody tr:hover { background: rgba(45, 101, 142, 0.02); }
.source-note { font-size: 0.72rem; color: var(--n-400); font-style: italic; margin-top: 0.5em; }

/* ==========================================================================
   Law grid — cards with blue icons
   ========================================================================== */
.law-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}
.law-card {
    padding: 28px 24px;
    background: var(--n-white);
    border: 1px solid var(--n-150);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.law-card:hover { border-color: var(--gd-blue); box-shadow: 0 4px 16px rgba(45,101,142,0.06); }
.law-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius);
    background: rgba(45, 101, 142, 0.07);
    display: flex; align-items: center; justify-content: center;
    color: var(--gd-blue);
    margin-bottom: 16px;
}
.law-card h3 { font-size: 1rem; color: var(--gd-navy-ink); }
.law-card p { font-size: 0.85rem; color: var(--n-600); margin: 0; line-height: 1.7; }

/* Info box — blue accent (HG style) */
.info-box {
    background: rgba(45, 101, 142, 0.04);
    border-left: 3px solid var(--gd-blue);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 24px 28px;
    margin: 1.5em 0;
}
.info-box h4 { font-size: 0.9rem; margin-bottom: 0.7em; color: var(--gd-navy-ink); }
.info-box ul { margin-bottom: 0; padding-left: 1.2em; }
.info-box li { font-size: 0.85rem; color: var(--n-600); margin-bottom: 0.5em; }
.info-box li:last-child { margin-bottom: 0; }
.info-box a { font-weight: 500; }

/* ==========================================================================
   Step list — orange numbered steps
   ========================================================================== */
.step-list { margin: 1.5em 0; }
.step-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--n-100);
}
.step-item:last-child { border-bottom: none; }
.step-num {
    width: 32px; height: 32px; min-width: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gd-blue);
    color: var(--n-white);
    font-family: var(--font-serif);
    font-weight: 700; font-size: 0.85rem;
    border-radius: 50%;
    margin-top: 2px;
}
.step-item strong { display: block; color: var(--gd-navy-ink); margin-bottom: 2px; font-size: 0.88rem; }
.step-item p { font-size: 0.82rem; color: var(--n-600); margin: 0; line-height: 1.6; }

/* ==========================================================================
   Features grid (erhverv)
   ========================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.feature-card {
    padding: 24px 22px;
    border: 1px solid var(--n-150);
    border-radius: var(--radius-lg);
    background: var(--n-white);
    transition: all var(--transition);
}
.feature-card:hover { border-color: var(--gd-blue); box-shadow: 0 4px 16px rgba(45,101,142,0.06); }
.feature-card h3 { color: var(--gd-navy-ink); font-size: 0.95rem; }
.feature-card p { font-size: 0.82rem; margin: 0; color: var(--n-600); line-height: 1.7; }

/* Segments — orange left border (ER-inspired) */
.segments-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.segment-card {
    padding: 22px 20px;
    background: var(--gd-teal-bg);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--gd-orange);
    transition: all var(--transition);
}
.segment-card:hover { background: var(--gd-teal-muted); }
.segment-card h3 { color: var(--gd-blue); font-size: 0.95rem; }
.segment-card p { font-size: 0.82rem; margin: 0; color: var(--n-600); }

/* ==========================================================================
   CTA / Signup — Dark section with orange button
   ========================================================================== */
.cta-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-content h2 { color: var(--n-white); }
.cta-content h2::before { background: var(--gd-orange); }
.cta-content p { color: rgba(255,255,255,0.55); font-size: 0.92rem; }

.check-list { list-style: none; padding-left: 0; margin-top: 1.2rem; }
.check-list li {
    position: relative; padding-left: 28px;
    margin-bottom: 0.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.check-list li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    color: var(--gd-orange);
    font-weight: 700;
}

.signup-form {
    background: var(--n-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
}
.signup-form h3 { margin-bottom: 1.2em; font-size: 1.1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--n-700);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.form-group input {
    width: 100%;
    padding: 0.65em 0.9em;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    border: 1px solid var(--n-200);
    border-radius: var(--radius);
    background: var(--n-50);
    transition: all var(--transition);
    color: var(--n-800);
}
.form-group input:focus {
    outline: none;
    border-color: var(--gd-blue);
    background: var(--n-white);
    box-shadow: 0 0 0 3px rgba(45, 101, 142, 0.08);
}
.form-group input::placeholder { color: var(--n-400); }

.slug-input {
    display: flex; align-items: center;
    border: 1px solid var(--n-200); border-radius: var(--radius);
    background: var(--n-50); overflow: hidden;
    transition: all var(--transition);
}
.slug-input:focus-within { border-color: var(--gd-blue); background: var(--n-white); box-shadow: 0 0 0 3px rgba(45, 101, 142, 0.08); }
.slug-prefix {
    padding: 0.65em 0 0.65em 0.9em;
    font-size: 0.75rem; color: var(--n-400);
    white-space: nowrap; font-family: var(--font-sans);
}
.slug-input input { border: none; background: transparent; padding-left: 2px; font-family: var(--font-sans); font-size: 0.82rem; }
.slug-input input:focus { border: none; outline: none; background: transparent; box-shadow: none; }
.form-note { font-size: 0.72rem; color: var(--n-400); text-align: center; margin-top: 0.6rem; margin-bottom: 0; }

/* ==========================================================================
   Contact section
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.contact-main h2 { margin-bottom: 0.5em; }
.contact-main > p { color: var(--n-500); font-size: 0.92rem; margin-bottom: 1.5em; }

.contact-list { margin: 0; }
.contact-list dt {
    font-size: 0.68rem;
    color: var(--n-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-top: 16px;
}
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd {
    font-size: 0.92rem;
    color: var(--gd-navy-ink);
    font-weight: 500;
    margin-left: 0;
}
.contact-list dd a { font-weight: 500; }

/* Reference cards */
.ref-card {
    background: var(--n-white);
    border: 1px solid var(--n-150);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 14px;
    transition: border-color var(--transition);
}
.ref-card:hover { border-color: var(--n-300); }
.ref-card h3 {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gd-orange);
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 14px;
}
.ref-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--n-100);
    text-decoration: none;
    transition: all var(--transition);
}
.ref-link:last-child { border-bottom: none; padding-bottom: 0; }
.ref-link:hover { text-decoration: none; padding-left: 4px; }
.ref-link:hover strong { color: var(--gd-blue); }
.ref-link strong { display: block; font-size: 0.85rem; color: var(--gd-navy-ink); transition: color var(--transition); }
.ref-link span { font-size: 0.76rem; color: var(--n-400); }

/* ==========================================================================
   Ecosystem bar — "Part of Greydot" section
   ========================================================================== */
.ecosystem-bar {
    padding: 40px 0;
    background: var(--gd-teal-bg);
    border-top: 1px solid var(--gd-teal-muted);
    border-bottom: 1px solid var(--gd-teal-muted);
}
.ecosystem-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.ecosystem-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--n-400);
}
.ecosystem-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.ecosystem-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.ecosystem-link:hover { background: rgba(45, 101, 142, 0.06); text-decoration: none; }
.ecosystem-link-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--n-white);
    flex-shrink: 0;
}
.ecosystem-link-icon.hg { background: var(--gd-blue); }
.ecosystem-link-icon.er { background: var(--gd-orange); }
.ecosystem-link-icon.gd { background: var(--n-700); }
.ecosystem-link-name { font-size: 0.82rem; font-weight: 600; color: var(--gd-navy-ink); }
.ecosystem-link-desc { font-size: 0.7rem; color: var(--n-400); }

/* ==========================================================================
   Footer — Dark navy (consistent across HG/ER)
   ========================================================================== */
.site-footer { background: var(--gd-navy-ink); padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-logo .logo-circle { width: 36px; height: 36px; }
.footer-logo .logo-circle-inner { width: 28px; height: 28px; }
.footer-logo .logo-circle-text { font-size: 5.5px; }
.footer-logo .logo-img { width: 36px; height: 36px; }
.footer-logo .logo-title { color: var(--n-white); font-size: 1rem; }
.footer-logo .logo-tagline { color: var(--gd-orange); opacity: 0.7; }
.footer-brand p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin: 0; line-height: 1.6; }

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.25);
    margin-bottom: 0.8rem;
}
.footer-links a {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.35rem;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--n-white); text-decoration: none; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p { font-size: 0.7rem; color: rgba(255,255,255,0.2); margin: 0; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 0.7rem; color: rgba(255,255,255,0.2); text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.5); }

/* ==========================================================================
   Page Hero — Subpage headers (lighter than main hero)
   ========================================================================== */
.page-hero {
    padding: 120px 0 48px;
    background: var(--gd-navy);
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(45, 101, 142, 0.2) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 114, 42, 0.3), var(--gd-blue), rgba(232, 114, 42, 0.3), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    color: var(--n-white);
    font-weight: 800;
    margin-bottom: 0.4em;
}
.page-hero-lead {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    max-width: 640px;
    margin: 0;
}
.page-hero-lead a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.page-hero-lead a:hover { color: var(--n-white); }

/* ==========================================================================
   Highlights grid — Frontpage link cards
   ========================================================================== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.highlight-card {
    display: block;
    padding: 28px 24px;
    background: var(--n-white);
    border: 1px solid var(--n-150);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition);
}
.highlight-card:hover {
    border-color: var(--gd-blue);
    box-shadow: 0 4px 16px rgba(45,101,142,0.08);
    text-decoration: none;
    transform: translateY(-2px);
}
.highlight-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius);
    background: rgba(45, 101, 142, 0.07);
    display: flex; align-items: center; justify-content: center;
    color: var(--gd-blue);
    margin-bottom: 16px;
}
.highlight-card h3 { font-size: 1.05rem; color: var(--gd-navy-ink); margin-bottom: 0.4em; }
.highlight-card p { font-size: 0.85rem; color: var(--n-600); margin-bottom: 0.8em; line-height: 1.6; }
.highlight-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gd-blue);
    letter-spacing: 0.01em;
}
.highlight-card:hover .highlight-link { color: var(--gd-orange); }

/* ==========================================================================
   Mini CTA — Centered dark CTA block for frontpage
   ========================================================================== */
.mini-cta {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}
.mini-cta h2 { color: var(--n-white); margin-bottom: 0.5em; }
.mini-cta h2::before { margin-left: auto; margin-right: auto; }
.mini-cta p {
    color: rgba(255,255,255,0.55);
    font-size: 0.92rem;
    margin-bottom: 1.5em;
}

/* ==========================================================================
   Nav current state
   ========================================================================== */
.main-nav a.is-current { color: var(--gd-navy-ink); }
.main-nav a.is-current::after { width: 100%; background: var(--gd-orange); }

/* ==========================================================================
   Animations — subtle, institutional
   ========================================================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeUp 0.7s var(--transition-slow) both; }
.hero-overline { animation: fadeUp 0.7s var(--transition-slow) 0.1s both; }
.hero h1 { animation: fadeUp 0.7s var(--transition-slow) 0.2s both; }
.hero-lead { animation: fadeUp 0.7s var(--transition-slow) 0.3s both; }
.hero-actions { animation: fadeUp 0.7s var(--transition-slow) 0.4s both; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .highlights-grid { grid-template-columns: 1fr; }
    .two-col,
    .two-col-equal,
    .contact-layout { grid-template-columns: 1fr; gap: 28px; }
    .col-side { position: static; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .cta-layout { grid-template-columns: 1fr; gap: 32px; }
    .features-grid, .segments-grid, .law-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .ecosystem-inner { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed; top: 72px; left: 0; right: 0;
        background: var(--n-white);
        flex-direction: column;
        padding: 1.2rem 1.5rem;
        gap: 0.8rem;
        border-bottom: 1px solid var(--n-150);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .main-nav.is-active { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .main-nav a::after { display: none; }
    .nav-toggle { display: block; }
    .section { padding: 56px 0; }
    .hero { padding: 110px 0 60px; }
    .page-hero { padding: 100px 0 36px; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .logo-title { font-size: 1rem; }
}

@media (max-width: 480px) {
    .stats-bar { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
