/* ═══════════════════════════════════════════════
   SELF-HOSTED FONTS (nLPD compliant — no Google CDN)
   ═══════════════════════════════════════════════ */

/* Plus Jakarta Sans — latin-ext */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/sites/agorati/fonts/jakarta-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Plus Jakarta Sans — latin */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/sites/agorati/fonts/jakarta-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fraunces — latin-ext */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/sites/agorati/fonts/fraunces-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fraunces — latin */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/sites/agorati/fonts/fraunces-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fraunces italic — latin-ext */
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 300 400;
    font-display: swap;
    src: url('/sites/agorati/fonts/fraunces-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fraunces italic — latin */
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 300 400;
    font-display: swap;
    src: url('/sites/agorati/fonts/fraunces-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono — latin-ext */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/sites/agorati/fonts/jetbrains-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono — latin */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/sites/agorati/fonts/jetbrains-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ═══════════════════════════════════════════════
   AGORATI DESIGN SYSTEM
   Brand Manual — Forum Istituzionale / Verde Ticino
   ═══════════════════════════════════════════════ */

:root {
    /* ── Neutrals (same scale as ArtigianiTI) ── */
    --agt-black:     #141414;
    --agt-white:     #f9f9f9;
    --agt-gray-950:  #0d0d0d;
    --agt-gray-900:  #1a1a1a;
    --agt-gray-800:  #222222;
    --agt-gray-700:  #2a2a2a;
    --agt-gray-600:  #3a3a3a;
    --agt-gray-500:  #555555;
    --agt-gray-400:  #777777;
    --agt-gray-300:  #999999;
    --agt-gray-200:  #bbbbbb;
    --agt-gray-100:  #e5e5e5;
    --agt-gray-50:   #f5f5f5;

    /* ── Accent (Green — Forum Istituzionale) ── */
    --agt-accent:    #15803D;
    --agt-accent-dk: #116B33;
    --agt-accent-lt: #86EFAC;

    /* ── Semantic ── */
    --agt-success:   #2E7D4A;
    --agt-success-bg:#f0faf4;
    --agt-warning:   #C17817;
    --agt-warning-bg:#fdf6eb;
    --agt-error:     #B33A3A;
    --agt-error-bg:  #fdf2f2;

    /* ── Typography ── */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

    /* ── Type Scale (Major Third — 1.250) ── */
    --text-xs:   0.694rem;
    --text-sm:   0.833rem;
    --text-base: 1rem;
    --text-md:   1.125rem;
    --text-lg:   1.25rem;
    --text-xl:   1.563rem;
    --text-2xl:  1.953rem;
    --text-3xl:  2.441rem;
    --text-4xl:  3.052rem;
    --text-5xl:  3.815rem;

    /* ── Line Heights ── */
    --leading-tight:   1.15;
    --leading-snug:    1.3;
    --leading-normal:  1.5;
    --leading-relaxed: 1.65;
    --leading-loose:   1.8;

    /* ── Letter Spacing ── */
    --tracking-tight:    -0.025em;
    --tracking-normal:   0;
    --tracking-wide:     0.025em;
    --tracking-wider:    0.05em;
    --tracking-widest:   0.12em;
    --tracking-caps:     0.18em;

    /* ── Spacing (4px base) ── */
    --space-0:   0;
    --space-1:   4px;
    --space-2:   8px;
    --space-3:   12px;
    --space-4:   16px;
    --space-5:   20px;
    --space-6:   24px;
    --space-8:   32px;
    --space-10:  40px;
    --space-12:  48px;
    --space-16:  64px;
    --space-20:  80px;
    --space-24:  96px;

    /* ── Border Radius (Industrial — sharp edges) ── */
    --radius-none: 0;
    --radius-sm:   2px;
    --radius-md:   4px;
    --radius-lg:   6px;
    --radius-xl:   8px;
    --radius-full: 9999px;

    /* ── Shadows (minimal — craft feel) ── */
    --shadow-xs:    0 1px 2px rgba(20,20,20,0.06);
    --shadow-sm:    0 1px 3px rgba(20,20,20,0.08), 0 1px 2px rgba(20,20,20,0.04);
    --shadow-md:    0 4px 6px -1px rgba(20,20,20,0.08), 0 2px 4px -2px rgba(20,20,20,0.04);
    --shadow-lg:    0 10px 15px -3px rgba(20,20,20,0.08), 0 4px 6px -4px rgba(20,20,20,0.03);
    --shadow-xl:    0 20px 25px -5px rgba(20,20,20,0.08), 0 8px 10px -6px rgba(20,20,20,0.03);
    --shadow-accent: 0 4px 14px rgba(21,128,61,0.25);

    /* ── Transitions ── */
    --ease-default:    cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in:         cubic-bezier(0.4, 0, 1, 1);
    --ease-out:        cubic-bezier(0, 0, 0.2, 1);
    --duration-fast:   150ms;
    --duration-normal: 250ms;
    --duration-slow:   400ms;

    /* ── Z-Index Scale ── */
    --z-base:     1;
    --z-dropdown: 10;
    --z-sticky:   20;
    --z-overlay:  30;
    --z-modal:    40;
    --z-toast:    50;
}


/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Screen-reader only (accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Skip link (accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 200;
    background: var(--agt-accent);
    color: var(--agt-white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}
.skip-link:focus {
    top: 12px;
}

body {
    font-family: var(--font-primary);
    color: var(--agt-black);
    background: var(--agt-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }


/* ═══════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}
.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 32px;
}
.section {
    padding: 120px 0;
}
.section-sm {
    padding: 80px 0;
}


/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-default), transform 0.7s var(--ease-default);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* ═══════════════════════════════════════════════
   NAVIGATION
   Black background, industrial clean
   ═══════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: box-shadow 0.3s var(--ease-default), transform 0.3s var(--ease-default), border-color 0.3s var(--ease-default);
}
.nav.scrolled {
    background: rgba(13, 13, 13, 0.99);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--agt-white);
    display: flex;
    align-items: center;
    gap: 1px;
}
.nav-logo .ti { color: var(--agt-accent); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--agt-gray-300);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: color 0.2s var(--ease-default), background-color 0.2s var(--ease-default);
    cursor: pointer;
    position: relative;
}
.nav-link:hover,
.nav-link:focus-visible {
    color: var(--agt-white);
    background: rgba(255,255,255,0.06);
}
.nav-link:focus-visible {
    outline: 2px solid var(--agt-accent);
    outline-offset: 2px;
}
.nav-link.active {
    color: var(--agt-accent);
}

/* Hamburger (mobile) */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    z-index: 101;
}
.nav-hamburger:focus-visible {
    outline: 2px solid var(--agt-accent);
    outline-offset: 2px;
    border-radius: var(--radius-md);
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--agt-white);
    margin: 5px 0;
    transition: transform 0.3s var(--ease-default);
    border-radius: 2px;
}
.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ═══════════════════════════════════════════════
   HERO — Dark, forum-driven
   ═══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    background: var(--agt-black);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/agorati_hero.webp') center / cover no-repeat;
    opacity: 0;
    animation: hero-bg-fade 2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0.65), rgba(20, 20, 20, 0.80));
}
@keyframes hero-bg-fade {
    to { opacity: 1; }
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(21,128,61,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 90%, rgba(21,128,61,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 32px 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    text-align: left !important;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--agt-gray-300);
    margin-bottom: 28px;
}
.hero-tag-dot {
    width: 6px;
    height: 6px;
    background: var(--agt-accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-family: var(--font-primary);
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--agt-white);
    margin-bottom: 28px;
}
.hero h1 .accent {
    color: var(--agt-accent);
}

/* Weight contrast system — Plus Jakarta Sans 300/800 */
.hw-light { font-weight: 300; }
.hw-bold  { font-weight: 800; }
.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--agt-gray-300);
    font-weight: 300;
    max-width: 480px;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Hero visual card */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}
.hero-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 28px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.hero-card-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-card-title {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--agt-white);
}
.hero-trades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.hero-trade {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    transition: background 0.2s var(--ease-default);
}
.hero-trade:hover {
    background: rgba(21,128,61,0.08);
}
.hero-trade-emoji {
    font-size: 22px;
    line-height: 1;
    color: var(--agt-accent);
}
.hero-trade-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--agt-white);
}
.hero-card-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.hero-card-note {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--agt-accent);
}


/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--agt-white);
    background: var(--agt-accent);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: box-shadow 0.25s var(--ease-default), transform 0.25s var(--ease-default);
}
.btn-primary:hover {
    background: var(--agt-accent-dk);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}
.btn-primary:focus-visible {
    outline: 2px solid var(--agt-accent);
    outline-offset: 3px;
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--agt-white);
    background: transparent;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: box-shadow 0.25s var(--ease-default), transform 0.25s var(--ease-default), border-color 0.25s var(--ease-default);
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.04);
}
.btn-secondary:focus-visible {
    outline: 2px solid var(--agt-accent);
    outline-offset: 3px;
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--agt-accent);
    background: transparent;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--agt-accent);
    cursor: pointer;
    transition: box-shadow 0.25s var(--ease-default), transform 0.25s var(--ease-default);
}
.btn-ghost:hover {
    background: var(--agt-accent);
    color: var(--agt-white);
}
.btn-ghost:focus-visible {
    outline: 2px solid var(--agt-accent);
    outline-offset: 3px;
}


/* ═══════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════ */
.trust-bar {
    background: var(--agt-gray-900);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 24px 0;
}
.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}
.trust-items {
    display: flex;
    align-items: center;
    gap: 40px;
}
.trust-item {
    font-size: 14px;
    color: var(--agt-gray-300);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.trust-dot {
    width: 4px;
    height: 4px;
    background: var(--agt-accent);
    border-radius: 50%;
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════ */
.section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--agt-accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--agt-accent);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--agt-black);
    margin-bottom: 20px;
}
.section-title .light {
    font-weight: 300;
    color: var(--agt-gray-500);
}
.section-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--agt-gray-500);
    font-weight: 300;
    max-width: 580px;
}


/* ═══════════════════════════════════════════════
   HOW IT WORKS — Steps
   ═══════════════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 64px;
}
.step-item {
    text-align: center;
    position: relative;
}
.step-number {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--agt-accent);
    margin-bottom: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.step-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    border: 1px solid var(--agt-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: var(--agt-white);
}
.step-icon svg {
    width: 28px;
    height: 28px;
    color: var(--agt-accent);
}
.step-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--agt-black);
}
.step-desc {
    font-size: 14px;
    color: var(--agt-gray-500);
    line-height: 1.65;
}
/* Arrow connector between steps */
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 56px;
    right: -24px;
    width: 48px;
    height: 1px;
    background: var(--agt-gray-100);
}


/* ═══════════════════════════════════════════════
   CATEGORY GRID
   ═══════════════════════════════════════════════ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}
.category-card {
    background: var(--agt-white);
    border: 1px solid var(--agt-gray-100);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: box-shadow 0.3s var(--ease-default), transform 0.3s var(--ease-default), border-color 0.3s var(--ease-default);
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--agt-accent);
    opacity: 0;
    transition: opacity 0.3s;
}
.category-card:hover {
    border-color: var(--agt-accent);
    transform: translateY(-2px);
}
.category-card:hover::before {
    opacity: 1;
}
.category-emoji {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--agt-accent);
}
.category-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--agt-black);
    margin-bottom: 6px;
}
.category-desc {
    font-size: 14px;
    color: var(--agt-gray-500);
    line-height: 1.6;
}


/* ═══════════════════════════════════════════════
   CARDS (Generic — sharp edges, 1px border)
   ═══════════════════════════════════════════════ */
.card {
    background: var(--agt-white);
    border: 1px solid var(--agt-gray-100);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    transition: box-shadow 0.3s var(--ease-default), transform 0.3s var(--ease-default), border-color 0.3s var(--ease-default);
}
.card:hover {
    border-color: var(--agt-gray-200);
    transform: translateY(-2px);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(21,128,61,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--agt-accent);
}
.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--agt-black);
}
.card-desc {
    font-size: 15px;
    color: var(--agt-gray-500);
    line-height: 1.65;
}

/* Value props grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}


/* ═══════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════ */
.stats {
    background: var(--agt-black);
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(21,128,61,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    padding: 48px 24px;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-value {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 400;
    color: var(--agt-white);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.stat-value .accent-text { color: var(--agt-accent); }
.stat-label {
    font-size: 14px;
    color: var(--agt-gray-400);
    font-weight: 400;
}


/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-section {
    background: var(--agt-gray-50);
    position: relative;
    border-top: 1px solid var(--agt-gray-100);
    border-bottom: 1px solid var(--agt-gray-100);
}
.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--agt-black);
    margin-bottom: 20px;
}
.cta-desc {
    font-size: 17px;
    color: var(--agt-gray-500);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 40px;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════
   ENDORSEMENT BAR
   ═══════════════════════════════════════════════ */
.endorsement {
    background: var(--agt-gray-50);
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--agt-gray-100);
}
.endorsement-text {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--agt-gray-400);
}
.endorsement-text a {
    color: var(--agt-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.endorsement-text a:hover {
    color: var(--agt-accent-dk);
}


/* ═══════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════ */
.contact-section .section-tag { color: var(--agt-accent); }
.contact-section .section-tag::before { background: var(--agt-accent); }

/* Style the Livewire contact form elements */
.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="tel"],
.contact-section textarea,
.contact-section select {
    width: 100%;
    font-family: var(--font-primary);
    font-size: 15px;
    padding: 14px 16px;
    border: 1px solid var(--agt-gray-200);
    border-radius: var(--radius-md);
    background: var(--agt-white);
    color: var(--agt-black);
    transition: border-color 0.2s;
}
.contact-section input:focus,
.contact-section textarea:focus,
.contact-section select:focus {
    outline: none;
    border-color: var(--agt-accent);
    box-shadow: 0 0 0 3px rgba(21,128,61,0.12);
}
.contact-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--agt-black);
    margin-bottom: 6px;
}
.contact-section textarea {
    min-height: 140px;
    resize: vertical;
}


/* ═══════════════════════════════════════════════
   FOOTER — Black background, clean
   ═══════════════════════════════════════════════ */
.footer {
    background: var(--agt-black);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--agt-white);
    margin-bottom: 16px;
}
.footer-brand .ti { color: var(--agt-accent); }
.footer-desc {
    font-size: 14px;
    color: var(--agt-gray-400);
    line-height: 1.65;
    max-width: 320px;
}
.footer-col-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.footer-link {
    display: block;
    font-size: 14px;
    color: var(--agt-gray-400);
    padding: 8px 0;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--agt-white); }
.footer-link:focus-visible {
    outline: 2px solid var(--agt-accent);
    outline-offset: 2px;
}
.footer-address {
    font-style: normal;
    font-size: 14px;
    color: var(--agt-gray-400);
    line-height: 1.65;
    padding: 6px 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}
.footer-ecosystem {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}
.footer-ecosystem a {
    color: var(--agt-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-ecosystem a:hover { color: var(--agt-accent-lt); }


/* ═══════════════════════════════════════════════
   DARK SECTION
   ═══════════════════════════════════════════════ */
.section-dark {
    background: var(--agt-black);
    color: var(--agt-white);
}
.section-dark .section-tag {
    color: var(--agt-accent-lt);
}
.section-dark .section-tag::before {
    background: var(--agt-accent-lt);
}
.section-dark .section-title {
    color: var(--agt-white);
}
.section-dark .section-title .light {
    color: var(--agt-gray-400);
}
.section-dark .section-desc {
    color: var(--agt-gray-400);
}


/* ═══════════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════════ */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--agt-gray-500);
    background: var(--agt-white);
    border: 1px solid var(--agt-gray-100);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.2s var(--ease-default);
}
.filter-chip:hover {
    border-color: var(--agt-accent);
    color: var(--agt-accent);
}
.filter-chip.active {
    background: var(--agt-accent);
    color: var(--agt-white);
    border-color: var(--agt-accent);
}
.filter-chip svg {
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   EVENT CARDS
   ═══════════════════════════════════════════════ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.event-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--agt-white);
    border: 1px solid var(--agt-gray-100);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    transition: box-shadow 0.3s var(--ease-default), transform 0.3s var(--ease-default), border-color 0.3s var(--ease-default);
    position: relative;
    overflow: hidden;
}
.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--agt-accent);
    opacity: 0;
    transition: opacity 0.3s;
}
.event-card:hover {
    border-color: var(--agt-accent);
    transform: translateY(-2px);
}
.event-card:hover::before {
    opacity: 1;
}
.event-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 12px 0;
    border-radius: var(--radius-md);
    background: rgba(21,128,61,0.06);
    flex-shrink: 0;
}
.event-card-day {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--agt-accent);
    line-height: 1;
}
.event-card-month {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--agt-gray-400);
    margin-top: 4px;
}
.event-card-body {
    min-width: 0;
}
.event-card-category {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--agt-accent);
    margin-bottom: 6px;
    display: block;
}
.event-card-title {
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    color: var(--agt-black);
    margin-bottom: 8px;
    line-height: 1.3;
}
.event-card-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.event-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--agt-gray-400);
}
.event-card-meta svg {
    color: var(--agt-gray-300);
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */
.faq-item {
    border-bottom: 1px solid var(--agt-gray-100);
    padding: 28px 0;
}
.faq-item:first-child {
    border-top: 1px solid var(--agt-gray-100);
}
.faq-question {
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    color: var(--agt-black);
    margin-bottom: 8px;
}
.faq-answer {
    font-size: 15px;
    color: var(--agt-gray-500);
    line-height: 1.65;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { justify-content: center; }
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .step-item:not(:last-child)::after { display: none; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .stat-item:last-child { border-bottom: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .container, .container-narrow { padding: 0 20px; }
    .nav-hamburger { display: block; }
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px;
        gap: 8px;
        overflow-y: auto;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links .nav-link {
        font-size: 18px;
        padding: 16px;
    }
    .hero-content { padding: 120px 20px 80px; grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: clamp(32px, 8vw, 48px); }
    .hero-sub { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { text-align: center; justify-content: center; }
    .hero-visual { justify-content: center; }
    .hero-card { max-width: 100%; }
    .hero-trades-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-inner { flex-direction: column; gap: 12px; }
    .trust-items { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .steps-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .events-grid { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .hero-content { padding: 100px 16px 60px; }
    .hero h1 { font-size: clamp(28px, 7vw, 38px); }
    .hero-sub { font-size: 15px; max-width: 100%; }
    .hero-trades-grid { grid-template-columns: 1fr 1fr; }
    .hero-card { padding: 20px; }
    .steps-grid { gap: 20px; }
    .section { padding: 60px 0; }
    .container, .container-narrow { padding: 0 16px; }
    .forum-sidebar { display: none; }
    .forum-app { grid-template-columns: 1fr; }
}


/* =================================================
   FORUM PREVIEW MOCKUP
   ================================================= */
.forum-preview {
    perspective: 1200px;
}
.forum-browser {
    background: var(--agt-gray-900);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.06);
    transform: rotateX(2deg);
    transition: transform 0.6s var(--ease-default);
}
.forum-browser:hover {
    transform: rotateX(0deg);
}
.forum-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--agt-gray-950);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.forum-browser-dots {
    display: flex;
    gap: 6px;
}
.forum-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.forum-browser-dots span:nth-child(1) { background: #ff5f57; }
.forum-browser-dots span:nth-child(2) { background: #febc2e; }
.forum-browser-dots span:nth-child(3) { background: #28c840; }
.forum-browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--agt-gray-400);
    background: rgba(255,255,255,0.04);
    padding: 6px 12px;
    border-radius: 6px;
}
.forum-browser-url svg {
    color: var(--agt-accent);
    flex-shrink: 0;
}
.forum-app {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 420px;
}

/* Sidebar */
.forum-sidebar {
    background: rgba(255,255,255,0.02);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}
.forum-sidebar-brand {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 800;
    color: var(--agt-white);
    padding: 0 16px 16px;
    letter-spacing: -0.02em;
}
.forum-sidebar-section {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--agt-gray-500);
    padding: 12px 16px 8px;
}
.forum-sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--agt-gray-300);
    padding: 8px 16px;
    cursor: default;
    transition: background 0.15s;
}
.forum-sidebar-active {
    background: rgba(21,128,61,0.12);
    color: var(--agt-accent);
    border-right: 2px solid var(--agt-accent);
}
.forum-sidebar-dim {
    color: var(--agt-gray-500);
}
.forum-cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.forum-tier-badge {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--agt-gray-500);
    background: rgba(255,255,255,0.06);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Main content */
.forum-main {
    display: flex;
    flex-direction: column;
}
.forum-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.forum-topbar-title {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--agt-white);
}
.forum-btn-new {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    color: var(--agt-white);
    background: var(--agt-accent);
    padding: 6px 14px;
    border-radius: 6px;
    cursor: default;
}
.forum-topics {
    flex: 1;
}
.forum-topic {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}
.forum-topic:hover {
    background: rgba(255,255,255,0.02);
}
.forum-topic-pinned {
    background: rgba(21,128,61,0.04);
}
.forum-topic-pin {
    width: 16px;
    padding-top: 3px;
    color: var(--agt-accent);
    flex-shrink: 0;
}
.forum-topic-body {
    flex: 1;
    min-width: 0;
}
.forum-topic-title {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--agt-white);
    margin-bottom: 6px;
    line-height: 1.4;
}
.forum-topic-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.forum-topic-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--agt-gray-400);
}
.forum-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.forum-avatar-t1 { background: var(--agt-gray-600); }
.forum-avatar-t2 { background: #2563EB; }
.forum-avatar-t3 { background: #D97706; }
.forum-avatar-t4 { background: #DC2626; }
.forum-topic-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--agt-gray-500);
}
.forum-topic-stat svg {
    color: var(--agt-gray-600);
}
.forum-topic-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}
.forum-badge-open {
    color: #60A5FA;
    background: rgba(96,165,250,0.1);
}
.forum-badge-resolved {
    color: var(--agt-accent);
    background: rgba(21,128,61,0.12);
}

/* =================================================
   ROLES GRID — Chi può fare cosa
   ================================================= */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 64px;
}
.role-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 28px 24px;
    transition: border-color 0.3s var(--ease-default), transform 0.3s var(--ease-default);
}
.role-card:hover {
    border-color: rgba(21,128,61,0.3);
    transform: translateY(-2px);
}
.role-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.role-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.role-avatar-t1 { background: rgba(255,255,255,0.06); color: var(--agt-gray-400); }
.role-avatar-t2 { background: rgba(37,99,235,0.15); color: #60A5FA; }
.role-avatar-t3 { background: rgba(217,119,6,0.15); color: #FBBF24; }
.role-avatar-t4 { background: rgba(220,38,38,0.15); color: #F87171; }
.role-name {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    color: var(--agt-white);
}
.role-tier {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--agt-gray-500);
    margin-top: 2px;
}
.role-perms {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.role-perm {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
}
.role-perm svg {
    flex-shrink: 0;
    margin-top: 1px;
}
.role-perm-yes {
    color: var(--agt-gray-300);
}
.role-perm-yes svg {
    color: var(--agt-accent);
}
.role-perm-no {
    color: var(--agt-gray-600);
}
.role-perm-no svg {
    color: var(--agt-gray-700);
}

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


@media (max-width: 768px) {
    .forum-browser {
        transform: none;
    }
    .forum-topic-meta {
        gap: 10px;
    }
    .forum-topic {
        padding: 12px 16px;
    }
    .forum-topbar {
        padding: 12px 16px;
    }
    .forum-topic-title {
        font-size: 13px;
    }
}
