/* FlexPackMFG.com - Main Stylesheet
   Design tokens are injected as CSS custom properties via site_tokens_css().
   Color system: navy (#0d1b2e), green accent (#16a34a), white/gray backgrounds. */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: var(--header-height, 72px);
    background: var(--color-bg, #fff);
    color: var(--color-text, #1a202c);
    font-family: var(--font-body, system-ui, sans-serif);
    font-size: 1rem;
    line-height: 1.65;
}

a {
    color: var(--color-accent, #16a34a);
    text-decoration: underline;
}

a:hover {
    color: var(--color-accent-hover, #15803d);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-top: 0;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height, 72px);
    background: #fff;
    box-shadow: var(--shadow-header, 0 1px 8px rgba(0,0,0,0.08));
    z-index: 200;
}

.site-header__inner {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.site-logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--color-navy, #0d1b2e);
}

.logo-mfg {
    color: var(--color-accent, #16a34a);
    font-weight: 400;
}

.logo-tagline {
    font-size: 0.62rem;
    color: var(--color-text-muted, #64748b);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-top: 3px;
    font-weight: 400;
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */

.site-nav {
    margin-left: auto;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.site-nav__list a {
    color: var(--color-text, #1a202c);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
    padding: 0.4rem 0.6rem;
    display: block;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
    color: var(--color-accent, #16a34a);
}

/* Dropdown items */
.site-nav__item--has-dropdown {
    position: relative;
}

.nav-chevron::after {
    content: ' \25BE';
    font-size: 0.7em;
    opacity: 0.6;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-top: none;
    border-radius: 0 0 var(--radius-medium, 8px) var(--radius-medium, 8px);
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 300;
}

/* Transparent bridge over the gap so hover stays connected */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.site-nav__item--has-dropdown:hover > .nav-dropdown {
    display: block;
}

.nav-dropdown li a {
    display: block;
    padding: 0.5rem 1.1rem;
    white-space: nowrap;
    font-size: 0.85rem;
    color: var(--color-graphite, #374151);
    font-weight: 400;
}

.nav-dropdown li a:hover {
    color: var(--color-accent, #16a34a);
    background: var(--color-surface, #f8fafc);
}

/* CTA button in nav */
.nav-cta-btn {
    display: inline-block !important;
    padding: 0.45rem 1.1rem !important;
    background: var(--color-accent, #16a34a) !important;
    color: #fff !important;
    border-radius: var(--radius-small, 4px) !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 0.15s !important;
    margin-left: 0.75rem;
}

.nav-cta-btn:hover {
    background: var(--color-accent-hover, #15803d) !important;
    color: #fff !important;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    margin-left: auto;
}

.nav-hamburger span:not(.nav-hamburger__label) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-navy, #0d1b2e);
    border-radius: 2px;
    transition: transform 0.2s;
}

.nav-hamburger__label {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-navy, #0d1b2e);
    margin-top: 2px;
}

/* ── Layout ─────────────────────────────────────────────────────────────────── */

.page-wrapper {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.content-layout--single {
    grid-template-columns: 1fr;
    max-width: 820px;
}

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

.content-sidebar {
    position: sticky;
    top: calc(var(--header-height, 72px) + 1.5rem);
}

/* ── Breadcrumbs ─────────────────────────────────────────────────────────────── */

.breadcrumbs {
    margin-bottom: 1.5rem;
}

.breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--color-text-muted, #64748b);
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: '/';
    margin-right: 0.5rem;
}

.breadcrumbs__item.is-current {
    color: var(--color-text, #1a202c);
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-small, 4px);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    line-height: 1.4;
}

.btn--primary {
    background: var(--color-accent, #16a34a);
    color: #fff;
    border-color: var(--color-accent, #16a34a);
}

.btn--primary:hover {
    background: var(--color-accent-hover, #15803d);
    border-color: var(--color-accent-hover, #15803d);
    color: #fff;
}

.btn--outline {
    background: transparent;
    border-color: currentColor;
    color: var(--color-accent, #16a34a);
}

.btn--outline:hover {
    background: var(--color-accent, #16a34a);
    color: #fff;
    border-color: var(--color-accent, #16a34a);
}

.btn--outline-white {
    background: transparent;
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.btn--outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

.cta-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1.1rem;
    background: var(--color-accent, #16a34a);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-small, 4px);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ── Article / Default page ──────────────────────────────────────────────────── */

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.article-header h1 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--color-navy, #0d1b2e);
}

.article-excerpt {
    font-size: 1.1rem;
    color: var(--color-text-muted, #64748b);
    margin: 0;
    line-height: 1.55;
}

.article-content h2 {
    font-size: 1.5rem;
    color: var(--color-navy, #0d1b2e);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border, #e2e8f0);
}

.article-content h3 {
    font-size: 1.15rem;
    color: var(--color-graphite, #374151);
    margin-top: 1.5rem;
}

.article-content p {
    margin-bottom: 1.25rem;
}

/* ── Hub / Section landing ───────────────────────────────────────────────────── */

.hub-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border, #e2e8f0);
}

.hub-header h1 {
    font-size: 2.2rem;
    color: var(--color-navy, #0d1b2e);
    margin-bottom: 0.5rem;
}

.hub-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted, #64748b);
    max-width: 680px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hub-card {
    display: block;
    padding: 1.5rem;
    background: var(--color-surface, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-medium, 8px);
    text-decoration: none;
    color: var(--color-text, #1a202c);
    transition: box-shadow 0.15s, border-color 0.15s;
}

.hub-card:hover {
    box-shadow: var(--shadow-card-hover, 0 6px 24px rgba(0,0,0,0.12));
    border-color: var(--color-accent, #16a34a);
    color: var(--color-text, #1a202c);
}

.hub-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy, #0d1b2e);
    margin-bottom: 0.4rem;
}

.hub-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-muted, #64748b);
    margin: 0;
    line-height: 1.5;
}

/* ── Glossary ────────────────────────────────────────────────────────────────── */

.glossary-header {
    margin-bottom: 2rem;
}

.glossary-header h1 {
    font-size: 2rem;
    color: var(--color-navy, #0d1b2e);
}

.glossary-alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--color-surface, #f8fafc);
    border-radius: var(--radius-medium, 8px);
}

.glossary-alpha-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-small, 4px);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-graphite, #374151);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--color-border, #e2e8f0);
}

.glossary-alpha-nav a:hover {
    background: var(--color-accent, #16a34a);
    color: #fff;
    border-color: var(--color-accent, #16a34a);
}

.glossary-section {
    margin-bottom: 2.5rem;
}

.glossary-section__letter {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent, #16a34a);
    border-bottom: 2px solid var(--color-accent-light, #dcfce7);
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

.glossary-term {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.glossary-term:last-child {
    border-bottom: none;
}

.glossary-term dt {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-navy, #0d1b2e);
    margin-bottom: 0.25rem;
}

.glossary-term dd {
    margin: 0;
    color: var(--color-text-muted, #64748b);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */

.faq-header {
    margin-bottom: 2rem;
}

.faq-header h1 {
    font-size: 2rem;
    color: var(--color-navy, #0d1b2e);
}

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border, #e2e8f0);
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy, #0d1b2e);
    padding: 1.1rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-accent, #16a34a);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
    content: '\2212';
}

.faq-answer {
    padding: 0 0 1.25rem;
    color: var(--color-text-muted, #64748b);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── Contact / Lead form ─────────────────────────────────────────────────────── */

.contact-header {
    margin-bottom: 2rem;
}

.contact-header h1 {
    font-size: 2rem;
    color: var(--color-navy, #0d1b2e);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.lead-form {
    background: var(--color-surface, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-large, 12px);
    padding: 2rem;
}

.lead-form h2 {
    font-size: 1.3rem;
    color: var(--color-navy, #0d1b2e);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-graphite, #374151);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-small, 4px);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--color-text, #1a202c);
    background: #fff;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent, #16a34a);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-accent, #16a34a);
    color: #fff;
    border: none;
    border-radius: var(--radius-small, 4px);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.form-submit:hover {
    background: var(--color-accent-hover, #15803d);
}

/* ── Sidebar blocks ──────────────────────────────────────────────────────────── */

.sidebar-block {
    background: var(--color-surface, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-medium, 8px);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.sidebar-block__title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted, #64748b);
}

.sidebar-block__body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted, #64748b);
}

.sidebar-block__links {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sidebar-block__links a {
    font-size: 0.875rem;
}

.sidebar-block--cta {
    background: var(--color-navy, #0d1b2e);
    border-color: var(--color-navy, #0d1b2e);
    color: #fff;
}

.sidebar-block--cta .sidebar-block__title {
    color: rgba(255,255,255,0.6);
}

.sidebar-block--cta .sidebar-block__body {
    color: rgba(255,255,255,0.8);
}

.sidebar-block--cta .cta-btn {
    background: var(--color-accent, #16a34a);
    width: 100%;
    text-align: center;
}

/* ── Homepage: Hero ──────────────────────────────────────────────────────────── */

.home-hero {
    background: var(--color-navy, #0d1b2e) url('/assets/img/Flexpack-hero-image-DARK.jpg') right center no-repeat;
    background-size: 95% auto;
    padding: 6rem 0;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
}

.home-hero__mobile-image {
    display: none;
}

.home-hero__inner {
    width: 100%;
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.home-hero__content {
    position: relative;
    z-index: 1;
}

.home-hero__headline {
    font-family: var(--font-display, system-ui, sans-serif);
    font-size: 2.75rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.home-hero__subheadline {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 520px;
}

.home-hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn--hero-primary {
    background: var(--color-accent, #16a34a);
    color: #fff;
    border: 2px solid var(--color-accent, #16a34a);
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-small, 4px);
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s;
}

.btn--hero-primary:hover {
    background: var(--color-accent-hover, #15803d);
    border-color: var(--color-accent-hover, #15803d);
    color: #fff;
}

.btn--hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-small, 4px);
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.15s, background 0.15s;
}

.btn--hero-secondary:hover {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.home-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.hero-badge::before {
    content: '\2713';
    color: var(--color-accent, #16a34a);
    font-weight: 700;
    font-size: 0.75em;
}

/* ── Homepage: Topic Cards ───────────────────────────────────────────────────── */

.home-topics {
    background: var(--color-surface, #f8fafc);
    padding: 5rem 0;
}

.home-topics__inner {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    color: var(--color-navy, #0d1b2e);
    font-weight: 300;
    margin: 0;
}

.section-link {
    font-size: 0.875rem;
    color: var(--color-accent, #16a34a);
    font-weight: 600;
    text-decoration: none;
}

.section-link:hover {
    text-decoration: underline;
}

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

.topic-card {
    display: block;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-large, 12px);
    text-decoration: none;
    color: var(--color-text, #1a202c);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.topic-card:hover {
    box-shadow: var(--shadow-card-hover, 0 6px 24px rgba(0,0,0,0.12));
    border-color: var(--color-accent, #16a34a);
    transform: translateY(-2px);
    color: var(--color-text, #1a202c);
}

.topic-card__icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent-light, #dcfce7);
    border-radius: var(--radius-medium, 8px);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.topic-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy, #0d1b2e);
    margin-bottom: 0.5rem;
    font-family: var(--font-display, system-ui, sans-serif);
    letter-spacing: -0.01em;
}

.topic-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-muted, #64748b);
    margin: 0 0 1rem;
    line-height: 1.55;
}

.topic-card__cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent, #16a34a);
}

/* ── Homepage: Partners ──────────────────────────────────────────────────────── */

.home-partners {
    background: #fff;
    padding: 3.5rem 0;
    border-top: 1px solid var(--color-border, #e2e8f0);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.home-partners__inner {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.home-partners__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted, #64748b);
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    font-family: var(--font-display, system-ui, sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-muted, #64748b);
    text-decoration: none;
    letter-spacing: -0.01em;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-small, 4px);
    transition: color 0.15s, border-color 0.15s;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.partner-logo:hover {
    color: var(--color-navy, #0d1b2e);
    border-color: var(--color-navy, #0d1b2e);
}

/* ── Homepage: Stats ─────────────────────────────────────────────────────────── */

.home-stats {
    background: var(--color-navy, #0d1b2e);
    padding: 3rem 0;
}

.home-stats__inner {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 0;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem 2rem;
}

.stat-value {
    display: block;
    font-family: var(--font-display, system-ui, sans-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ── Homepage: Buyer Help ────────────────────────────────────────────────────── */

.home-buyer-help {
    background: #fff;
    padding: 5rem 0;
}

.home-buyer-help__inner {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.home-buyer-help h2 {
    font-size: 1.75rem;
    color: var(--color-navy, #0d1b2e);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.buyer-help-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.buyer-help-list li a {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--color-surface, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-medium, 8px);
    color: var(--color-graphite, #374151);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: border-color 0.15s, background 0.15s;
}

.buyer-help-list li a:hover {
    border-color: var(--color-accent, #16a34a);
    background: var(--color-accent-light, #dcfce7);
    color: var(--color-navy, #0d1b2e);
}

.buyer-help-aside {
    background: var(--color-surface, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-large, 12px);
    padding: 2rem;
}

.buyer-help-aside h3 {
    font-size: 1.1rem;
    color: var(--color-navy, #0d1b2e);
    margin-bottom: 0.75rem;
}

.buyer-help-aside p {
    font-size: 0.9rem;
    color: var(--color-text-muted, #64748b);
    margin-bottom: 1.25rem;
}

/* ── Homepage: Tech Library ──────────────────────────────────────────────────── */

.home-tech-library {
    background: var(--color-surface-alt, #f1f5f9);
    padding: 4rem 0;
}

.home-tech-library__inner {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.home-tech-library h2 {
    font-size: 1.75rem;
    color: var(--color-navy, #0d1b2e);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.home-tech-library p {
    color: var(--color-text-muted, #64748b);
    margin-bottom: 2rem;
}

.tech-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tech-topic-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #fff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--color-graphite, #374151);
    font-weight: 500;
}

/* ── Homepage: Newsletter ────────────────────────────────────────────────────── */

.home-newsletter {
    background: var(--color-navy, #0d1b2e);
    padding: 5rem 0;
}

.home-newsletter__inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.home-newsletter h2 {
    font-size: 2rem;
    color: #fff;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.home-newsletter p {
    color: rgba(255,255,255,0.65);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-small, 4px);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-accent, #16a34a);
}

.newsletter-form button {
    padding: 0.7rem 1.5rem;
    background: var(--color-accent, #16a34a);
    color: #fff;
    border: none;
    border-radius: var(--radius-small, 4px);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.newsletter-form button:hover {
    background: var(--color-accent-hover, #15803d);
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */

.site-footer {
    background: var(--color-navy-deep, #060d18);
    padding: 4rem 0 0;
    color: rgba(255,255,255,0.7);
}

.site-footer__inner {
    max-width: var(--content-width, 1280px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-footer__brand-name {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.6rem;
}

.site-footer__brand-name span {
    color: var(--color-accent, #16a34a);
    font-weight: 400;
}

.site-footer__tagline {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin: 0 0 0.4rem;
}

.site-footer__contact {
    margin: 0 0 0.75rem;
}

.site-footer__contact a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    text-decoration: none;
}

.site-footer__contact a:hover {
    color: rgba(255,255,255,0.8);
}

.site-footer__desc {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

.site-footer__col-heading {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__bottom {
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.site-footer__bottom-links {
    display: flex;
    gap: 1.25rem;
}

.site-footer__bottom-links a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    font-size: 0.8rem;
}

.site-footer__bottom-links a:hover {
    color: rgba(255,255,255,0.65);
}

/* ── Error page ──────────────────────────────────────────────────────────────── */

.error-page {
    text-align: center;
    padding: 6rem 1rem;
}

.error-page h1 {
    font-size: 7rem;
    font-weight: 200;
    margin: 0 0 0.5rem;
    color: var(--color-border, #e2e8f0);
    font-family: var(--font-display, system-ui, sans-serif);
    letter-spacing: -0.05em;
}

.error-page p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-text-muted, #64748b);
}

/* ── Utilities ───────────────────────────────────────────────────────────────── */

.text-muted {
    color: var(--color-text-muted, #64748b);
}

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

/* ── Mobile ──────────────────────────────────────────────────────────────────── */

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

    .site-footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Nav hamburger */
    .nav-hamburger {
        display: flex;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: var(--header-height, 72px);
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: 1.5rem;
        z-index: 199;
        overflow-y: auto;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .site-nav__item {
        width: 100%;
        border-bottom: 1px solid var(--color-border, #e2e8f0);
    }

    .site-nav__item--cta {
        border-bottom: none;
        margin-top: 1rem;
    }

    .site-nav__list a {
        font-size: 1.1rem;
        padding: 0.9rem 0;
        width: 100%;
    }

    .nav-cta-btn {
        display: block !important;
        text-align: center;
        margin-left: 0 !important;
        padding: 0.8rem 1rem !important;
        font-size: 0.9rem !important;
    }

    .nav-dropdown {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0.5rem 1rem;
        min-width: auto;
        background: transparent;
    }

    .nav-dropdown::before { display: none; }

    .nav-dropdown li a {
        font-size: 0.95rem;
        padding: 0.5rem 0;
        color: var(--color-text-muted, #64748b);
    }

    .nav-chevron { display: none; }

    /* Hero */
    .home-hero {
        background-image: none;
        padding: 0 0 2.5rem;
        min-height: auto;
        display: block;
    }

    .home-hero__mobile-image {
        display: block;
        width: 100%;
        height: 240px;
        object-fit: cover;
        object-position: center;
    }

    .home-hero__inner {
        padding-top: 2rem;
    }

    .home-hero__headline {
        font-size: 1.9rem;
    }

    /* Topic cards */
    .topic-grid {
        grid-template-columns: 1fr;
    }

    /* Buyer help */
    .home-buyer-help__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Stats */
    .home-stats__inner {
        gap: 0;
    }

    .stat-item {
        flex: 0 0 50%;
        padding: 1rem;
    }

    /* Newsletter form */
    .newsletter-form {
        flex-direction: column;
    }

    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Content layout */
    .content-layout {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
    }

    /* Footer: single column, larger text */
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer__links a {
        font-size: 1.25rem;
    }

    .site-footer__col-heading {
        font-size: 1rem;
    }

    .site-footer__brand-name {
        font-size: 1.5rem;
    }

    .site-footer__tagline,
    .site-footer__desc,
    .site-footer__contact a {
        font-size: 1.1rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 1rem;
    }

    .site-footer__bottom-links a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .home-hero {
        padding: 3rem 0 2.5rem;
    }

    .home-hero__ctas {
        flex-direction: column;
    }

    .btn--hero-primary,
    .btn--hero-secondary {
        width: 100%;
        text-align: center;
    }

    .partners-grid {
        gap: 1rem;
    }

    .partner-logo {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}
