/* ═══════════════════════════════════════════════════
   ATOMINC SHARED STYLESHEET — nav, footer, tokens
   ═══════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #f7f6f3;
    color: #0d1a0f;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── TOKENS ── */
:root {
    --green: #16a34a;
    --green-light: #dcfce7;
    --green-mid: #22c55e;
    --ink: #0d1a0f;
    --ink-muted: #4b5563;
    --surface: #f9fafb;
    --surface2: #f0fdf4;
    --border: #e5e7eb;
    --navy: #1a0f3c;
    --pink: #e63975;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.22, 1, .36, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* ── TYPOGRAPHY TOKENS ── */
.s-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 14px;
}

.s-h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 18px;
}

.s-h2 em {
    font-style: normal;
    color: var(--green);
}

.s-h2.light {
    color: #fff;
}

.s-h2.light em {
    color: #86efac;
}

.s-h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
}

.s-body {
    font-size: 1.05rem;
    color: var(--ink-muted);
    line-height: 1.7;
    max-width: 560px;
}

.s-btn-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 4px 20px rgba(22, 163, 74, .3);
}

.s-btn-green:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(22, 163, 74, .35);
}

.s-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--border);
    transition: all .25s;
}

.s-btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

.s-check {
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ════════════════════════════════════════════
   GIANT HERO SYSTEM (Global)
   ════════════════════════════════════════════ */
.hero-giant {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 80vh;
    background: radial-gradient(circle at 50% 50%, #1a0f3c 0%, #0b0618 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

#hero-squares-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.giant-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0;
    background: linear-gradient(135deg, #ff2d75, #ff4d8d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.giant-heading em {
    font-style: normal;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.giant-heading-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 15px 0 30px;
    color: #ffffff;
}

.giant-heading-sub strong {
    font-weight: 700;
    color: #fff;
}

.hero-support {
    max-width: 680px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.btn-neon-pink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff2d75, #ff4d8d);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 20px 48px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 40px rgba(255, 45, 117, 0.4);
    border: none;
}

.btn-neon-pink:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(255, 45, 117, 0.5);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .hero-giant {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: 70vh;
    }

    .giant-heading {
        font-size: 3.5rem;
    }

    .giant-heading-sub {
        font-size: 1.8rem;
    }
}

/* ════════════════════════════════════════════
   MEGA-DROPDOWN NAVIGATION
   ════════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background: #1a0f3c;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    transition: box-shadow .3s;
}

.nav-logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: -.03em;
    flex-shrink: 0;
}

.nav-logo .logo-inc {
    color: #f59e0b;
}

/* Nav center — list of dropdown triggers */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    line-height: 1;
}

.nav-trigger:hover,
.nav-item:hover .nav-trigger {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.nav-trigger.active {
    color: #e63975;
    font-weight: 600;
}

.nav-trigger .chev {
    font-size: .6rem;
    opacity: .55;
    transition: transform .2s, opacity .2s;
    margin-top: 1px;
}

.nav-item:hover .nav-trigger .chev {
    transform: rotate(180deg);
    opacity: .9;
}

/* Right nav buttons */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-ghost-nav {
    text-decoration: none;
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, .2);
    transition: all .2s;
}

.btn-ghost-nav:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.btn-pill-nav {
    text-decoration: none;
    color: #1a0f3c;
    font-size: .85rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    background: #fff;
    transition: all .25s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}

.btn-pill-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

/* ── DROPDOWN PANEL ── */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .14), 0 4px 16px rgba(0, 0, 0, .06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .22s cubic-bezier(.22, 1, .36, 1);
    z-index: 600;
    min-width: 220px;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Wide mega panel for Platform */
.nav-dropdown.wide {
    min-width: 560px;
    left: 0;
    transform: translateX(0) translateY(8px);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.nav-item:hover .nav-dropdown.wide {
    transform: translateX(0) translateY(0);
}

.nav-dropdown.wide2 {
    min-width: 460px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 16px;
    left: 0;
    transform: translateX(0) translateY(8px);
}

.nav-item:hover .nav-dropdown.wide2 {
    transform: translateX(0) translateY(0);
}

/* Dropdown items */
.ndp-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s;
}

.ndp-item:hover {
    background: #f7f6f3;
}

.ndp-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.ndp-name {
    font-size: .85rem;
    font-weight: 700;
    color: #0d1a0f;
    margin-bottom: 2px;
}

.ndp-desc {
    font-size: .75rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Simple list dropdown */
.ndp-simple a {
    display: block;
    padding: 9px 14px;
    font-size: .85rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all .15s;
}

.ndp-simple a:hover {
    background: #f0fdf4;
    color: var(--green);
    font-weight: 600;
}

/* Dropdown section header */
.ndp-label {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    padding: 4px 12px 8px;
    display: block;
}

/* ── MOBILE HAMBURGER ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}

/* ════════════════════════════════════════════
   PAGE HERO (shared across sub-pages)
   ════════════════════════════════════════════ */
.page-hero {
    padding: 140px 0 80px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(22, 163, 74, .15) 0%, transparent 55%);
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(230, 57, 117, .1) 0%, transparent 50%);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 163, 74, .15);
    border: 1px solid rgba(22, 163, 74, .25);
    color: #86efac;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -.04em;
    color: #fff;
    margin-bottom: 20px;
}

.page-hero h1 em {
    font-style: normal;
    color: #e63975;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 36px;
}

.page-hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ════════════════════════════════════════════
   SECTION LAYOUTS (reusable)
   ════════════════════════════════════════════ */
.sec {
    padding: 100px 0;
}

.sec.white {
    background: #fff;
}

.sec.light {
    background: var(--surface);
}

.sec.dark {
    background: var(--navy);
}

.sec.teal {
    background: #17474a;
}

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

.sec-center .s-body {
    margin: 0 auto;
    text-align: center;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split.rev {
    direction: rtl;
}

.split.rev>* {
    direction: ltr;
}

.split-text {
    display: flex;
    flex-direction: column;
}

.split-text .s-body {
    margin-bottom: 24px;
}

/* Feature list */
.feat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: var(--ink);
    line-height: 1.5;
}

.feat-list li.light-li {
    color: rgba(255, 255, 255, .85);
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

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

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

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all .3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
    border-color: transparent;
}

.card.dark-card {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
}

.card.dark-card:hover {
    background: rgba(255, 255, 255, .1);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.card h4 {
    font-size: .95rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.card.dark-card h4 {
    color: #fff;
}

.card p {
    font-size: .84rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

.card.dark-card p {
    color: rgba(255, 255, 255, .6);
}

.card-link {
    font-size: .82rem;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    margin-top: 14px;
    display: inline-block;
}

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

/* UI mockup shell */
.ui-shell {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .08);
}

.ui-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ui-dots {
    display: flex;
    gap: 5px;
}

.ui-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.ui-dots span:nth-child(1) {
    background: #f87171;
}

.ui-dots span:nth-child(2) {
    background: #fbbf24;
}

.ui-dots span:nth-child(3) {
    background: #34d399;
}

.ui-addr {
    font-size: .72rem;
    color: #9ca3af;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 6px;
    flex: 1;
    font-family: monospace;
}

.ui-content {
    padding: 18px;
}

/* Pricing teaser (used in sub-pages) */
.pricing-strip {
    background: linear-gradient(135deg, #14532d, #16a34a 60%, #15803d);
    padding: 80px 0;
    text-align: center;
}

.pricing-strip h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -.03em;
}

.pricing-strip p {
    font-size: 1rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 32px;
}

/* Integration logo grid */
.int-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 48px;
}

.int-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all .25s;
    cursor: default;
}

.int-item:hover {
    border-color: var(--green);
    box-shadow: 0 4px 16px rgba(22, 163, 74, .12);
    transform: translateY(-3px);
}

.int-logo {
    font-size: 1.3rem;
}

.int-name {
    font-size: .75rem;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    transition: color .25s;
}

.int-item:hover .int-name {
    color: var(--green);
}

/* Blog card */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.blog-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.blog-content {
    padding: 22px;
}

.blog-tag {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 8px;
}

.blog-content h4 {
    font-size: .95rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-content p {
    font-size: .82rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-read {
    font-size: .82rem;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
}

.blog-read:hover {
    text-decoration: underline;
}

/* ════════════════════════════════════════════
   FOOTER — full expanded
   ════════════════════════════════════════════ */
.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #022c22 100%);
    padding: 80px 0 0;
}

.sf-top {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.sf-logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
    letter-spacing: -.03em;
}

.sf-logo .logo-inc {
    color: #f59e0b;
}

.sf-brand-desc {
    font-size: .88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .45);
    max-width: 240px;
}

.sf-socials {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}

.sf-social {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .45);
    text-decoration: none;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all .2s;
}

.sf-social:hover {
    border-color: var(--green-mid);
    color: var(--green-mid);
}

.sf-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.sf-col h5 {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.sf-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.sf-col ul a {
    font-size: .84rem;
    color: rgba(255, 255, 255, .45);
    text-decoration: none;
    transition: color .2s;
}

.sf-col ul a:hover {
    color: #fff;
}

.sf-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: .77rem;
    color: rgba(255, 255, 255, .28);
}

.sf-bottom a {
    color: rgba(255, 255, 255, .28);
    text-decoration: none;
}

.sf-bottom a:hover {
    color: rgba(255, 255, 255, .6);
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split.rev {
        direction: ltr;
    }

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

    .cards-grid.g4 {
        grid-template-columns: 1fr 1fr;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        padding: 20px;
    }

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

    .sf-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

    .nav-dropdown.wide,
    .nav-dropdown.wide2 {
        grid-template-columns: 1fr;
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .site-nav {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .container {
        padding: 0 20px;
    }

    .cards-grid,
    .cards-grid.g4,
    .cards-grid.g2 {
        grid-template-columns: 1fr;
    }

    .sf-cols {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .page-hero {
        padding: 120px 0 60px;
    }
}

@media (max-width: 480px) {
    .sf-cols {
        grid-template-columns: 1fr 1fr;
    }

    .sf-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

/* ════════════════════════════════════════════
   RESPONSIVE SECTION SPACING
   tablet → mobile → small-mobile
   ════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .page-hero {
        padding: 100px 0 60px;
    }

    .container {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 48px;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 64px 0 40px;
    }

    .container {
        padding: 0 16px;
    }
}

/* ══════════════════════════════════════════
   NEW STRUCTURED METRICS (FORCE GRID)
   ══════════════════════════════════════════ */
section.metrics-section {
    display: block !important;
    background: #fff !important;
    padding: 80px 0 !important;
    border-bottom: 1px solid var(--border) !important;
    width: 100% !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
}

/* Support for 5 items in about.html */
.metrics-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.metric-item {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
}

.metric-number {
    display: block !important;
    font-size: clamp(2.5rem, 5vw, 4.2rem) !important;
    font-weight: 900 !important;
    color: var(--ink) !important;
    line-height: 1 !important;
    margin-bottom: 12px !important;
}

.metric-number span {
    display: inline !important;
    font-size: 0.5em !important;
    font-weight: 700 !important;
    color: var(--green) !important;
    vertical-align: super !important;
}

.metric-title {
    display: block !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--ink) !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.metric-desc {
    display: block !important;
    font-size: 0.82rem !important;
    color: var(--ink-muted) !important;
    line-height: 1.5 !important;
    max-width: 260px !important;
    margin: 0 auto !important;
}

@media (max-width: 1024px) {

    .metrics-grid,
    .metrics-grid.cols-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px 20px !important;
    }
}

@media (max-width: 600px) {

    .metrics-grid,
    .metrics-grid.cols-5 {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
        gap: 0 !important;
    }

    .metric-item {
        padding: 30px 0 !important;
        border-bottom: 1px solid var(--border) !important;
    }

    .metric-item:last-child {
        border-bottom: none !important;
    }
}