/**
 * ═══════════════════════════════════════════════
 * FLAVOR MACHINES — Main Design System
 * "Engineering Curator" — Industrial Precision
 *                         & Editorial Depth
 * ═══════════════════════════════════════════════
 *
 * Design Rules (from DESIGN.md):
 *   - NO 1px solid borders for sectioning
 *   - Boundaries via tonal layering only
 *   - Glassmorphism for floating elements
 *   - Asymmetric layouts (2/3 + 1/3 splits)
 *   - Manrope (Display) + Inter (Body)
 *   - Shadows tinted with on-surface blue-grey
 */

/* ───── 1. Design Tokens ───── */
:root {
    /* Primary Palette */
    --fm-primary:              #00288e;
    --fm-primary-container:    #1e40af;
    --fm-primary-fixed:        #a8c4ff;
    --fm-on-primary:           #ffffff;
    --fm-on-primary-container: #d6e3ff;

    /* Secondary */
    --fm-secondary:            #575e71;
    --fm-secondary-container:  #dbe2f9;
    --fm-on-secondary-container: #141b2d;

    /* Tertiary (CTA Orange — from strategy) */
    --fm-cta:                  #e67e22;
    --fm-cta-hover:            #d35400;

    /* Surfaces (The layering system) */
    --fm-surface:              #f9f9ff;
    --fm-surface-container-lowest:  #ffffff;
    --fm-surface-container-low:     #eff3ff;
    --fm-surface-container:         #e9edfa;
    --fm-surface-container-high:    #dee9fd;
    --fm-surface-container-highest: #d3ddf2;
    --fm-surface-dim:               #d9d9e0;

    /* Text */
    --fm-on-surface:           #1a1b20;
    --fm-on-surface-variant:   #44474f;
    --fm-outline:              #75777f;
    --fm-outline-variant:      #c4c6d0;

    /* On-dark (for dark backgrounds) */
    --fm-text-on-dark:         rgba(255,255,255,.92);
    --fm-text-on-dark-muted:   rgba(255,255,255,.6);

    /* Shadows (tinted with on-surface, never pure black) */
    --fm-shadow-sm:  0 2px 8px   rgba(26,27,32,.04);
    --fm-shadow-md:  0 8px 24px  rgba(26,27,32,.06);
    --fm-shadow-lg:  0 20px 40px rgba(18,28,42,.06);
    --fm-shadow-xl:  0 32px 64px rgba(18,28,42,.08);

    /* Glass */
    --fm-glass-bg:     rgba(249,249,255,.82);
    --fm-glass-border: rgba(255,255,255,.3);
    --fm-glass-blur:   12px;

    /* Spacing */
    --fm-space-1:  .25rem;
    --fm-space-2:  .5rem;
    --fm-space-3:  .75rem;
    --fm-space-4:  1rem;
    --fm-space-6:  1.5rem;
    --fm-space-8:  2rem;
    --fm-space-10: 2.5rem;
    --fm-space-12: 3rem;
    --fm-space-16: 4rem;
    --fm-space-20: 5rem;
    --fm-space-24: 6rem;

    /* Radius */
    --fm-radius-sm: 4px;
    --fm-radius-md: 8px;
    --fm-radius-lg: 12px;
    --fm-radius-xl: 16px;
    --fm-radius-full: 999px;

    /* Typography */
    --fm-font-display: 'Manrope', system-ui, sans-serif;
    --fm-font-body:    'Inter', system-ui, sans-serif;

    /* Container */
    --fm-container: 1200px;
    --fm-container-wide: 1400px;
}

/* ───── 2. 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(--fm-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--fm-on-surface);
    background: var(--fm-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--fm-primary); text-decoration: none; }
a:hover { color: var(--fm-primary-container); }

/* ───── 3. Typography ───── */
.fm-display--lg {
    font-family: var(--fm-font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--fm-on-surface);
}
.fm-display--md {
    font-family: var(--fm-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.fm-display--sm {
    font-family: var(--fm-font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.fm-display--xs {
    font-family: var(--fm-font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.fm-headline--lg { font-family: var(--fm-font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.fm-headline--md { font-family: var(--fm-font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.fm-headline--sm { font-family: var(--fm-font-display); font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.fm-headline--xs { font-family: var(--fm-font-display); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.fm-body--lg { font-size: 1.125rem; line-height: 1.65; }
.fm-body--md { font-size: 1rem; line-height: 1.6; }
.fm-body--sm { font-size: .875rem; line-height: 1.6; }
.fm-body--xs { font-size: .75rem; line-height: 1.5; }
.fm-label--sm { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.fm-label--md { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.fm-text-muted { color: var(--fm-on-surface-variant); }
.fm-text-on-dark { color: var(--fm-text-on-dark); }

em { font-style: italic; color: var(--fm-primary); }

/* ───── 4. Layout ───── */
.fm-container {
    max-width: var(--fm-container);
    margin: 0 auto;
    padding: 0 var(--fm-space-6);
}
.fm-section {
    padding: var(--fm-space-24) 0;
}
.fm-section--alt {
    background: var(--fm-surface-container-low);
}
.fm-section__header {
    max-width: 640px;
    margin-bottom: var(--fm-space-12);
}
.fm-section__header > * + * { margin-top: var(--fm-space-3); }
.fm-section__eyebrow {
    font-family: var(--fm-font-display);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--fm-primary);
}

/* ───── 5. Buttons ───── */
.fm-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    font-family: var(--fm-font-display);
    font-weight: 600;
    font-size: .875rem;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    border-radius: var(--fm-radius-md);
    text-decoration: none;
    white-space: nowrap;
}
.fm-btn--primary {
    background: linear-gradient(135deg, var(--fm-primary) 0%, var(--fm-primary-container) 100%);
    color: var(--fm-on-primary);
    padding: .75rem 1.5rem;
    box-shadow: var(--fm-shadow-sm);
}
.fm-btn--primary:hover {
    box-shadow: var(--fm-shadow-md);
    transform: translateY(-1px);
    color: var(--fm-on-primary);
}
.fm-btn--secondary {
    background: var(--fm-surface-container-high);
    color: var(--fm-on-surface);
    padding: .75rem 1.5rem;
}
.fm-btn--secondary:hover {
    background: var(--fm-surface-dim);
}
.fm-btn--ghost {
    background: transparent;
    color: var(--fm-on-primary);
    padding: .75rem 1.5rem;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3);
}
.fm-btn--ghost:hover {
    background: rgba(255,255,255,.08);
    color: var(--fm-on-primary);
}
.fm-btn--tertiary {
    background: none;
    color: var(--fm-primary);
    padding: .5rem 0;
    border-bottom: 2px solid transparent;
}
.fm-btn--tertiary:hover {
    border-bottom-color: var(--fm-primary);
}
.fm-btn--lg { padding: 1rem 2rem; font-size: .9375rem; }
.fm-btn--sm { padding: .5rem 1rem; font-size: .8125rem; }
.fm-btn--full { width: 100%; justify-content: center; }

/* ───── 6. Chips ───── */
.fm-chip {
    display: inline-flex;
    align-items: center;
    padding: .25rem .625rem;
    font-size: .75rem;
    font-weight: 600;
    border-radius: var(--fm-radius-sm);
    background: var(--fm-secondary-container);
    color: var(--fm-on-secondary-container);
}
.fm-chip--sm { font-size: .6875rem; padding: .1875rem .5rem; }
.fm-chip--accent { background: rgba(230,126,34,.1); color: #b85c16; }
.fm-chip--glass {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    color: var(--fm-text-on-dark);
    border: 1px solid rgba(255,255,255,.15);
    transition: background .2s;
    text-decoration: none;
}
.fm-chip--glass:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ───── 7. Header (Glassmorphic) ───── */
.fm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(249,249,255,.85);
    backdrop-filter: blur(var(--fm-glass-blur));
    -webkit-backdrop-filter: blur(var(--fm-glass-blur));
    box-shadow: var(--fm-shadow-sm);
    transition: box-shadow .3s;
}
.fm-header__inner {
    max-width: var(--fm-container-wide);
    margin: 0 auto;
    padding: 0 var(--fm-space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.fm-header__brand {
    display: flex;
    align-items: center;
    gap: var(--fm-space-3);
    text-decoration: none;
}
.fm-header__brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--fm-primary), var(--fm-primary-container));
    color: #fff;
    font-family: var(--fm-font-display);
    font-weight: 800;
    font-size: .875rem;
    border-radius: var(--fm-radius-md);
}
.fm-header__brand-text {
    font-family: var(--fm-font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--fm-on-surface);
}
.fm-header__actions { display: flex; align-items: center; gap: var(--fm-space-4); }

/* Nav */
.fm-nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--fm-space-8);
}
.fm-nav > li { position: relative; }
.fm-nav > li > a {
    font-family: var(--fm-font-body);
    font-size: .875rem;
    font-weight: 500;
    color: var(--fm-on-surface-variant);
    text-decoration: none;
    padding: .5rem 0;
    transition: color .2s;
}
.fm-nav > li > a:hover,
.fm-nav > li.current-menu-item > a {
    color: var(--fm-primary);
}
/* Active dot indicator */
.fm-nav > li.current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--fm-primary);
}
/* Dropdown */
.fm-nav__sub {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 220px;
    padding: var(--fm-space-3) 0;
    background: rgba(249,249,255,.92);
    backdrop-filter: blur(16px);
    border-radius: var(--fm-radius-lg);
    box-shadow: var(--fm-shadow-lg);
    list-style: none;
}
.fm-nav > li:hover > .fm-nav__sub { display: block; }
.fm-nav__sub a {
    display: block;
    padding: .5rem 1.25rem;
    font-size: .8125rem;
    color: var(--fm-on-surface-variant);
}
.fm-nav__sub a:hover { color: var(--fm-primary); background: var(--fm-surface-container-low); }

/* Mobile toggle */
.fm-header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.fm-header__toggle span {
    width: 22px; height: 2px;
    background: var(--fm-on-surface);
    border-radius: 2px;
    transition: .3s;
}

/* ───── 8. Hero ───── */
.fm-hero {
    position: relative;
    padding: calc(72px + var(--fm-space-16)) 0 var(--fm-space-20);
    overflow: hidden;
}
.fm-hero__bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #001245 0%, var(--fm-primary) 40%, #0d1f4d 100%);
    z-index: 0;
}
.fm-hero__gradient {
    position: absolute;
    top: -30%; right: -15%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(30,64,175,.35) 0%, transparent 65%);
    filter: blur(60px);
}
.fm-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fm-space-12);
    align-items: center;
}
.fm-hero__content { color: var(--fm-text-on-dark); }
.fm-hero__eyebrow {
    font-family: var(--fm-font-display);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--fm-primary-fixed);
    margin-bottom: var(--fm-space-4);
}
.fm-hero__content h1 { color: #fff; margin-bottom: var(--fm-space-6); }
.fm-hero__content h1 em { color: var(--fm-primary-fixed); }
.fm-hero__sub { color: var(--fm-text-on-dark-muted); margin-bottom: var(--fm-space-8); max-width: 520px; }
.fm-hero__actions { display: flex; gap: var(--fm-space-4); flex-wrap: wrap; margin-bottom: var(--fm-space-10); }

.fm-hero__proof {
    display: flex;
    align-items: center;
    gap: var(--fm-space-8);
    padding-top: var(--fm-space-8);
    border-top: 1px solid rgba(255,255,255,.1);
}
.fm-hero__proof-number {
    display: block;
    font-family: var(--fm-font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}
.fm-hero__proof-label { font-size: .75rem; color: var(--fm-text-on-dark-muted); }
.fm-hero__proof-divider { width: 1px; height: 40px; background: rgba(255,255,255,.12); }

/* Hero Visual */
.fm-hero__visual { position: relative; }
.fm-hero__image-frame {
    background: var(--fm-surface-container-low);
    border-radius: var(--fm-radius-xl);
    overflow: hidden;
    box-shadow: var(--fm-shadow-xl);
}
.fm-hero__image-frame img { width: 100%; display: block; }
.fm-hero__placeholder { width: 100%; }
.fm-hero__placeholder svg { width: 100%; height: auto; }

/* Floating card */
.fm-hero__float-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: var(--fm-space-3);
    padding: var(--fm-space-4) var(--fm-space-6);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-radius: var(--fm-radius-lg);
    box-shadow: var(--fm-shadow-lg);
}
.fm-hero__float-icon { color: var(--fm-primary); }
.fm-hero__float-value { display: block; font-family: var(--fm-font-display); font-weight: 800; font-size: 1.25rem; color: var(--fm-primary); }
.fm-hero__float-desc { font-size: .6875rem; color: var(--fm-on-surface-variant); }

/* ───── 9. Trust Bar ───── */
.fm-trust-bar {
    padding: var(--fm-space-10) 0;
    background: var(--fm-surface-container-lowest);
}
.fm-trust-bar__label {
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fm-outline);
    margin-bottom: var(--fm-space-6);
}
.fm-trust-bar__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fm-space-12);
    flex-wrap: wrap;
    opacity: .5;
}
.fm-trust-bar__logo img { filter: grayscale(100%); transition: filter .3s, opacity .3s; }
.fm-trust-bar__logo:hover img { filter: grayscale(0); opacity: 1; }

/* ───── 10. Industry Cards ───── */
.fm-industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--fm-space-6);
}
.fm-industry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--fm-space-8);
    background: var(--fm-surface-container-lowest);
    border-radius: var(--fm-radius-lg);
    box-shadow: var(--fm-shadow-sm);
    text-decoration: none;
    color: var(--fm-on-surface);
    transition: transform .3s ease, box-shadow .3s ease;
}
.fm-industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fm-shadow-lg);
    color: var(--fm-on-surface);
}
.fm-industry-card__tag {
    position: absolute;
    top: var(--fm-space-4);
    right: var(--fm-space-4);
    font-size: .625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .1875rem .5rem;
    background: rgba(230,126,34,.1);
    color: var(--fm-cta);
    border-radius: var(--fm-radius-sm);
}
.fm-industry-card__icon {
    width: 48px; height: 48px;
    margin-bottom: var(--fm-space-6);
    color: var(--fm-primary);
}
.fm-industry-card__icon svg { width: 100%; height: 100%; }
.fm-industry-card h3 { margin-bottom: var(--fm-space-3); }
.fm-industry-card p { flex: 1; }
.fm-industry-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    margin-top: var(--fm-space-6);
    background: var(--fm-surface-container-low);
    border-radius: 50%;
    color: var(--fm-primary);
    transition: background .2s;
}
.fm-industry-card:hover .fm-industry-card__arrow { background: var(--fm-primary); color: #fff; }

/* ───── 11. Category Cards (Home) ───── */
.fm-products-home__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--fm-space-6);
}
.fm-cat-card {
    display: flex;
    flex-direction: column;
    background: var(--fm-surface-container-lowest);
    border-radius: var(--fm-radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--fm-on-surface);
    box-shadow: var(--fm-shadow-sm);
    transition: transform .3s, box-shadow .3s;
}
.fm-cat-card:hover { transform: translateY(-4px); box-shadow: var(--fm-shadow-lg); color: var(--fm-on-surface); }
.fm-cat-card__image { overflow: hidden; }
.fm-cat-card__image img { width: 100%; transition: transform .6s ease; }
.fm-cat-card:hover .fm-cat-card__image img { transform: scale(1.03); }
.fm-cat-card__placeholder { aspect-ratio: 3/2; background: var(--fm-surface-container-high); }
.fm-cat-card__body { padding: var(--fm-space-6) var(--fm-space-8); }
.fm-cat-card__meta { display: flex; gap: var(--fm-space-2); margin-bottom: var(--fm-space-3); }
.fm-cat-card__body h3 { margin-bottom: var(--fm-space-2); }
.fm-cat-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    margin-top: var(--fm-space-4);
    font-family: var(--fm-font-display);
    font-weight: 600;
    font-size: .8125rem;
    color: var(--fm-primary);
}
/* Featured card spans full first column */
.fm-cat-card--featured { grid-row: span 2; }

/* ───── 12. Why Section ───── */
.fm-why__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fm-space-16);
    align-items: center;
}
.fm-why__content > * + * { margin-top: var(--fm-space-4); }
.fm-why__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fm-space-6);
}
.fm-metric {
    padding: var(--fm-space-8);
    background: var(--fm-surface-container-lowest);
    border-radius: var(--fm-radius-lg);
    box-shadow: var(--fm-shadow-sm);
}
.fm-metric__value {
    display: block;
    font-family: var(--fm-font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--fm-primary);
    line-height: 1;
}
.fm-metric__unit {
    font-family: var(--fm-font-display);
    font-size: .875rem;
    font-weight: 600;
    color: var(--fm-primary);
}
.fm-metric__label {
    display: block;
    margin-top: var(--fm-space-2);
    font-size: .8125rem;
    color: var(--fm-on-surface-variant);
}

/* ───── 13. Tech Cards ───── */
.fm-tech__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fm-space-6);
}
.fm-tech-card {
    padding: var(--fm-space-8);
    background: var(--fm-surface-container-lowest);
    border-radius: var(--fm-radius-lg);
    box-shadow: var(--fm-shadow-sm);
}
.fm-tech-card__icon { margin-bottom: var(--fm-space-6); }
.fm-tech-card__text-icon {
    font-family: var(--fm-font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--fm-primary);
}
.fm-tech-card h4 { margin-bottom: var(--fm-space-3); }

/* ───── 14. Testimonial ───── */
.fm-testimonial__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.fm-testimonial__quote { margin-bottom: var(--fm-space-8); }
.fm-testimonial__quote p { font-style: italic; color: var(--fm-on-surface); }
.fm-testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fm-space-4);
    margin-bottom: var(--fm-space-6);
}
.fm-testimonial__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--fm-surface-container-high);
}
.fm-testimonial__author cite { font-style: normal; display: block; }

/* ───── 15. FAQ ───── */
.fm-faq__layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--fm-space-16);
}
.fm-faq__item {
    padding: var(--fm-space-6) 0;
}
.fm-faq__item + .fm-faq__item {
    /* Use tonal shift instead of borders */
    padding-top: var(--fm-space-6);
    margin-top: 2px;
    background: linear-gradient(to bottom, var(--fm-surface-container-low) 0%, transparent 4px);
}
.fm-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--fm-font-display);
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
}
.fm-faq__question::-webkit-details-marker { display: none; }
.fm-faq__chevron { transition: transform .3s; flex-shrink: 0; margin-left: var(--fm-space-4); }
.fm-faq__item[open] .fm-faq__chevron { transform: rotate(180deg); }
.fm-faq__answer { padding-top: var(--fm-space-4); color: var(--fm-on-surface-variant); max-width: 600px; }

/* ───── 16. Bottom CTA ───── */
.fm-bottom-cta {
    padding: var(--fm-space-20) 0;
    background: linear-gradient(135deg, #001245 0%, var(--fm-primary) 100%);
    color: var(--fm-text-on-dark);
}
.fm-bottom-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fm-space-12);
}
.fm-bottom-cta__content h2 { color: #fff; margin-bottom: var(--fm-space-3); }
.fm-bottom-cta__content p { max-width: 480px; }
.fm-bottom-cta__actions { display: flex; gap: var(--fm-space-4); flex-shrink: 0; }

/* ───── 17. Footer ───── */
.fm-footer {
    padding: var(--fm-space-16) 0 var(--fm-space-8);
    background: var(--fm-on-surface);
    color: rgba(255,255,255,.6);
}
.fm-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--fm-space-10);
    margin-bottom: var(--fm-space-12);
}
.fm-footer__heading {
    font-family: var(--fm-font-display);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.3);
    margin-bottom: var(--fm-space-6);
}
.fm-footer__links { list-style: none; }
.fm-footer__links li + li { margin-top: var(--fm-space-3); }
.fm-footer__links a {
    color: rgba(255,255,255,.6);
    font-size: .875rem;
    text-decoration: none;
    transition: color .2s;
}
.fm-footer__links a:hover { color: #fff; }
.fm-footer__certifications { display: flex; gap: var(--fm-space-2); margin-top: var(--fm-space-6); }
.fm-footer__certifications .fm-chip { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); font-size: .6875rem; }
.fm-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--fm-space-8);
    font-size: .8125rem;
}
.fm-footer__social { display: flex; gap: var(--fm-space-4); }
.fm-footer__social a { color: rgba(255,255,255,.4); transition: color .2s; }
.fm-footer__social a:hover { color: #fff; }
