/* GENERATED by tools/build-fallback.py - do not edit */
/* Minimal reset (Tailwind preflight is not loaded in fallback mode) */
*,*::before,*::after{box-sizing:border-box}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0}
img,svg{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit}
.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}
.sr-only:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal;padding:.5rem 1rem;background:#E10600;color:#fff}

/* ==========================================================================
   TRIBERSEC design system
   Dark, minimal, premium. Deep black + logo red, a trace of purple.
   Fonts: Plus Jakarta Sans (headings) + Inter (body).
   Component classes are plain CSS so the public site does not depend on
   Tailwind utility generation; Tailwind remains for the admin/portal views.
   ========================================================================== */


:root {
    --bg: #080808;
    --bg-soft: #0d0d0e;
    --surface: #111113;
    --surface-2: #17171a;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #f4f4f5;
    --text-2: #b4b4bb;
    --text-3: #85858d;
    --red: #E10600;
    --red-bright: #ff4036;
    --red-deep: #7a0000;
    --purple: #6d4bd8;
    --font-display: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --radius: 16px;
    --radius-lg: 24px;
    --header-h: 72px;
}

@media all {
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
        margin: 0;
        font-family: var(--font-body);
        font-size: 1rem;
        line-height: 1.7;
        color: var(--text-2);
        background: var(--bg);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    ::selection { background: rgba(225, 6, 0, 0.4); color: #fff; }
}

/* ---------- Typography ---------- */
.t-display, .t-h2, .t-h3 {
    font-family: var(--font-display);
    color: var(--text);
    margin: 0;
    text-wrap: balance;
}
.t-display { font-size: clamp(2.35rem, 5.2vw, 4rem); font-weight: 600; line-height: 1.07; letter-spacing: -0.035em; }
.t-h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.028em; }
.t-h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; }
.t-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.75; color: var(--text-2); max-width: 38rem; }
.t-body { font-size: 0.97rem; line-height: 1.75; color: var(--text-2); }
.t-small { font-size: 0.86rem; line-height: 1.6; color: var(--text-3); }
.t-accent { color: var(--red-bright); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-body); font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-bright);
}
.eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--plain::before { display: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.container--narrow { max-width: 820px; }
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--tint {
    background:
        radial-gradient(ellipse 60% 55% at 85% 0%, rgba(225, 6, 0, 0.10), transparent 62%),
        radial-gradient(ellipse 45% 50% at 0% 100%, rgba(109, 75, 216, 0.06), transparent 60%),
        var(--bg-soft);
    border-block: 1px solid var(--line);
}
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head > div { max-width: 40rem; }
.section-head .t-h2 { margin-top: 0.9rem; }
.section-head p { margin: 1rem 0 0; }
.stack > * + * { margin-top: var(--stack, 1rem); }
.cols { display: grid; gap: 1.25rem; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .cols--2, .cols--3, .cols--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ambient background ---------- */
.site-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--bg); overflow: hidden; }
.site-bg::before {
    content: ''; position: absolute; inset: -20%;
    background:
        radial-gradient(ellipse 55% 40% at 88% 4%, rgba(190, 8, 0, 0.20), transparent 65%),
        radial-gradient(ellipse 40% 35% at 4% 60%, rgba(109, 75, 216, 0.07), transparent 65%),
        radial-gradient(ellipse 50% 30% at 70% 100%, rgba(150, 0, 0, 0.12), transparent 65%);
    animation: ambient 26s ease-in-out infinite alternate;
}
.site-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 25%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 60% at 50% 25%, #000 10%, transparent 75%);
}
@keyframes ambient { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2%, 2%, 0) scale(1.06); } }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong);
    display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
    padding: 0.85rem 1.4rem; border-radius: 999px; border: 1px solid var(--btn-bd);
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible, .link-arrow:focus-visible, .nav a:focus-visible, .faq summary:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
.btn--primary { --btn-bg: var(--red); --btn-bd: var(--red); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: #f01408; --btn-bd: #f01408; transform: translateY(-1px); }
.btn--ghost:hover { --btn-bd: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.05); }
.btn--sm { padding: 0.62rem 1.05rem; font-size: 0.84rem; }
.btn--block { display: flex; width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--text); text-decoration: none; transition: color 0.25s; }
.link-arrow svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--red-bright); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(8, 8, 8, 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; display: block; transition: opacity 0.25s; }
.brand:hover img { opacity: 0.85; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { position: relative; padding: 0.35rem 0; font-size: 0.9rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color 0.25s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--red-bright); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.header-actions .login-link { font-size: 0.9rem; font-weight: 500; color: var(--text-2); text-decoration: none; }
.header-actions .login-link:hover { color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: #fff; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: rgba(8, 8, 8, 0.96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.mobile-menu.is-open { display: block; animation: fadeDown 0.3s var(--ease); }
.mobile-menu a:not(.btn) { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; font-weight: 500; color: var(--text); text-decoration: none; }
.mobile-menu .btn { margin-top: 0.75rem; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .nav, .header-actions { display: none; } .menu-toggle { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); }
.hero::before { /* left black -> right crimson, as in the webinar deck */
    content: ''; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(ellipse 60% 70% at 88% 18%, rgba(170, 6, 0, 0.55), transparent 62%),
        radial-gradient(ellipse 50% 60% at 100% 100%, rgba(110, 0, 0, 0.45), transparent 65%),
        radial-gradient(ellipse 35% 45% at 0% 100%, rgba(109, 75, 216, 0.08), transparent 70%),
        linear-gradient(100deg, #080808 0%, #080808 34%, rgba(60, 4, 4, 0.9) 100%);
}
.hero::after { /* fine grid, fading out */
    content: ''; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero__copy .t-display { margin-top: 1.4rem; }
.hero__copy .t-display .t-accent { display: block; }
.hero__copy .t-lead { margin-top: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.hero__tagline { margin-top: 2.75rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); }
.hero__tagline b { color: var(--red-bright); font-weight: 600; }
.hero__art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: end; }
.hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px), 0); transition: transform 0.6s var(--ease); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { translate: 0 -6px; } to { translate: 0 8px; } }
.float-card {
    position: absolute; display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1.05rem 0.8rem 0.85rem;
    border-radius: 14px; border: 1px solid var(--line-strong);
    background: rgba(16, 16, 18, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 14px), 0);
    transition: transform 0.6s var(--ease);
}
.float-card__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(225, 6, 0, 0.16); color: var(--red-bright); }
.float-card__icon svg { width: 19px; height: 19px; }
.float-card strong { display: block; font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: #fff; line-height: 1.3; }
.float-card small { display: block; font-size: 0.74rem; color: var(--text-3); line-height: 1.4; }
.float-card--a { top: 12%; left: -4%; --d: 0s; }
.float-card--b { top: 46%; right: -6%; --d: -2s; }
.float-card--c { bottom: 9%; left: 6%; --d: -4s; }
.float-card > .float-card__inner { display: flex; align-items: center; gap: 0.8rem; animation: bob 7s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes bob { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__art { justify-self: center; max-width: 440px; margin-top: 1rem; }
    .float-card--a { left: 0; } .float-card--b { right: 0; } .float-card--c { left: 4%; }
}
@media (max-width: 520px) { .strip__row { flex-direction: column; gap: 0.6rem; } .float-card small { display: none; } .float-card { padding: 0.6rem 0.8rem 0.6rem 0.65rem; } .hero__art { max-width: 340px; } }

/* page header (inner pages) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 90% at 92% 0%, rgba(170, 6, 0, 0.38), transparent 65%), linear-gradient(100deg, #080808 25%, rgba(48, 4, 4, 0.8) 100%); }
.page-hero .t-display { margin-top: 1.1rem; font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 46rem; }
.page-hero .t-lead { margin-top: 1.25rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: var(--text-3); margin-bottom: 1.5rem; }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: 0.5; }

/* strip of areas */
.strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.strip__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.35rem; }
.strip__item { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 0.86rem; font-weight: 500; color: var(--text-2); }
.strip__item i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- Cards ---------- */
.card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
    border-radius: var(--radius); border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}
a.card:hover, .card--hover:hover { transform: translateY(-4px); border-color: rgba(225, 6, 0, 0.45); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.card--pad { padding: 1.75rem; }
.card__art { position: relative; height: 150px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #1a0606, #0b0b0c 70%); }
.card__art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 90% at 85% 10%, rgba(200, 8, 0, 0.5), transparent 65%); transition: transform 0.8s var(--ease); }
.card__art::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000); mask-image: linear-gradient(120deg, transparent 20%, #000); }
a.card:hover .card__art::before { transform: scale(1.18); }
.card__art svg { position: absolute; z-index: 1; left: 1.5rem; bottom: 1.25rem; width: 38px; height: 38px; color: #fff; opacity: 0.92; }
.card__art--2 { background: linear-gradient(135deg, #12081c, #0b0b0c 70%); }
.card__art--2::before { background: radial-gradient(ellipse 70% 90% at 85% 10%, rgba(120, 60, 220, 0.38), transparent 65%), radial-gradient(ellipse 50% 70% at 10% 100%, rgba(190, 8, 0, 0.3), transparent 70%); }
.card__art--3 { background: linear-gradient(135deg, #1b0909, #0b0b0c 70%); }
.card__art--3::before { background: radial-gradient(ellipse 70% 90% at 15% 0%, rgba(200, 8, 0, 0.5), transparent 65%); }
.card__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.card h3 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; color: var(--text); transition: color 0.3s; }
a.card:hover h3 { color: #fff; }
.card p { margin: 0.7rem 0 0; font-size: 0.92rem; line-height: 1.7; color: var(--text-2); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.35rem; font-size: 0.82rem; color: var(--text-3); }
.card__foot .go { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); color: #fff; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.card__foot .go svg { width: 14px; height: 14px; }
a.card:hover .go { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.chip { display: inline-flex; align-items: center; padding: 0.28rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: capitalize; color: var(--text-2); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.chip--red { color: #ff8a82; border-color: rgba(225, 6, 0, 0.4); background: rgba(225, 6, 0, 0.1); }
.card--soon { border-style: dashed; }
.card--soon .card__art svg { opacity: 0.7; }

/* feature items (why / approach) */
.feature { padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: border-color 0.4s, transform 0.4s var(--ease); }
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(225, 6, 0, 0.12); color: var(--red-bright); margin-bottom: 1.25rem; }
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 { margin: 0; line-height: 1.35; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.feature p { margin: 0.6rem 0 0; font-size: 0.92rem; line-height: 1.7; color: var(--text-2); }

/* split section */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, rgba(225, 6, 0, 0.7), rgba(255, 255, 255, 0.06)); }
.steps li { position: relative; display: flex; gap: 1.25rem; padding-block: 0.95rem; }
.steps .num { flex: none; position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(225, 6, 0, 0.55); color: #fff; font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; }
.steps strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text); }
.steps span.d { display: block; margin-top: 0.2rem; font-size: 0.9rem; line-height: 1.65; color: var(--text-2); }

/* mission / vision panel */
.panel { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(225, 6, 0, 0.08), rgba(255, 255, 255, 0.015) 55%); }
.panel .t-h3 { margin-top: 0.75rem; font-size: 1.35rem; }
.panel p { margin: 0.9rem 0 0; }

/* events */
.event-card .date { display: flex; align-items: baseline; gap: 0.55rem; margin-bottom: 1rem; font-family: var(--font-display); }
.event-card .date b { font-size: 2.1rem; font-weight: 600; line-height: 1; color: #fff; letter-spacing: -0.03em; }
.event-card .date span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-bright); }

/* FAQ accordion */
.faq-list { display: grid; gap: 0.75rem; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s, background 0.3s; }
.faq[open], .faq:hover { border-color: rgba(225, 6, 0, 0.35); }
.faq[open] { background: rgba(255, 255, 255, 0.035); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.15rem 1.35rem; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); background: linear-gradient(var(--text), var(--text)) center / 10px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 10px no-repeat; transition: transform 0.35s var(--ease), border-color 0.3s; }
.faq[open] summary::after { transform: rotate(45deg); border-color: var(--red); }
.faq__body { padding: 0 1.35rem 1.35rem; font-size: 0.95rem; line-height: 1.75; color: var(--text-2); max-width: 46rem; animation: fadeDown 0.35s var(--ease); }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); border-radius: var(--radius-lg); border: 1px solid rgba(225, 6, 0, 0.3); background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(180, 6, 0, 0.5), transparent 70%), linear-gradient(180deg, #170707, #0b0b0c); }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 75%); }
.cta .t-h2 { max-width: 34rem; margin: 1rem auto 0; }
.cta .t-lead { margin: 1.25rem auto 0; }
.cta .hero__cta { justify-content: center; }

/* rich text (descriptions) */
.rich { font-size: 1.02rem; line-height: 1.85; color: var(--text-2); }
.rich p { margin: 0 0 1.1rem; }
.rich h2, .rich h3 { color: var(--text); font-family: var(--font-display); margin: 2rem 0 0.75rem; }
.rich a { color: var(--red-bright); }
.rich ul { padding-left: 1.2rem; }
.check-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.97rem; line-height: 1.6; color: var(--text-2); }
.check-list li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 0.2rem; border-radius: 50%; background: rgba(225, 6, 0, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ff4036' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr); } }
.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.aside dl { margin: 1.1rem 0 1.5rem; display: grid; gap: 0.9rem; }
.aside dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.aside dd { margin: 0.15rem 0 0; color: var(--text); font-size: 0.97rem; text-transform: capitalize; }
.aside .btn + .btn { margin-top: 0.75rem; }
.h-rule { margin: 3rem 0 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.batch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.85rem; padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.batch strong { color: var(--text); font-family: var(--font-display); font-weight: 600; }
.batch small { display: block; color: var(--text-3); font-size: 0.82rem; }

/* contact + forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.channel { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); text-decoration: none; transition: border-color 0.3s, transform 0.3s var(--ease); }
.channel:hover { border-color: rgba(225, 6, 0, 0.45); transform: translateX(3px); }
.channel + .channel { margin-top: 0.85rem; }
.channel .ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(225, 6, 0, 0.12); color: var(--red-bright); }
.channel .ic svg { width: 19px; height: 19px; }
.channel small { display: block; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.channel b { display: block; font-weight: 500; color: #fff; font-size: 1rem; }
.form-card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: block; margin-bottom: 1.1rem; }
.field > span { display: block; margin-bottom: 0.45rem; font-size: 0.84rem; font-weight: 500; color: var(--text-2); }
.field > span em { font-style: normal; color: var(--text-3); }
.input, .field input:not([type='checkbox']):not([type='radio']), .field select, .field textarea {
    width: 100%; padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid var(--line-strong);
    background: rgba(0, 0, 0, 0.4); color: #fff; font: inherit; font-size: 0.95rem; line-height: 1.5;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23b4b4bb' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px; padding-right: 2.5rem; }
.field select option { background: #111113; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(225, 6, 0, 0.75); box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.14); }
.alert { padding: 0.85rem 1.1rem; margin-bottom: 1.1rem; border-radius: 12px; font-size: 0.9rem; border: 1px solid; }
.alert--ok { color: #86efac; border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.08); }
.alert--err { color: #ffb4ae; border-color: rgba(225, 6, 0, 0.4); background: rgba(225, 6, 0, 0.09); }
.check { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--text-2); cursor: pointer; }
.check input { accent-color: var(--red); width: 1rem; height: 1rem; }

/* auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1.25rem; }
.auth__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; max-width: 980px; overflow: hidden; border-radius: 28px; border: 1px solid var(--line-strong); background: rgba(12, 12, 13, 0.82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); }
.auth__card--single { max-width: 480px; grid-template-columns: minmax(0, 1fr); }
.auth__side { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 2.5rem; background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(190, 8, 0, 0.55), transparent 65%), linear-gradient(160deg, #1b0707, #0a0a0b); }
.auth__side img.mesh { position: absolute; z-index: -1; right: -45%; bottom: -30%; width: 115%; opacity: 0.32; pointer-events: none; }
.auth__side .brand img { height: 52px; }
.auth__side .t-h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-top: 1rem; }
.auth__side p { margin: 1rem 0 0; }
.auth__main { padding: clamp(2rem, 4vw, 3rem); }
.auth__main .t-h3 { font-size: 1.7rem; letter-spacing: -0.025em; }
.auth__main .sub { margin: 0.5rem 0 1.75rem; font-size: 0.93rem; color: var(--text-3); }
.auth__alt { margin-top: 1.5rem; text-align: center; font-size: 0.9rem; color: var(--text-3); }
.auth__alt a, .text-link { color: var(--red-bright); text-decoration: none; font-weight: 500; }
.auth__alt a:hover, .text-link:hover { color: #fff; }
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; font-size: 0.88rem; }
.auth .mobile-brand { display: none; margin-bottom: 1.5rem; }
@media (max-width: 800px) { .auth__card { grid-template-columns: minmax(0, 1fr); } .auth__side { display: none; } .auth .mobile-brand { display: inline-flex; } }

/* footer */
.site-footer { position: relative; margin-top: 2rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(60, 4, 4, 0.22)); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr 1.2fr; gap: 3rem; padding-block: 4rem 3rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.site-footer h4 { margin: 0 0 1.1rem; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.site-footer a { color: var(--text-2); text-decoration: none; font-size: 0.92rem; transition: color 0.25s; }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 56px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--text-3); }

/* certificate verify (kept simple, shares public layout) */
.cert-box { padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--fade { transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .hero__art img, .float-card { transform: none !important; }
}

/* ==========================================================================
   Portal / admin / pagination dark re-theme.
   The admin, student and dashboard views were written with light-theme
   Tailwind utilities (bg-white, text-gray-*, ...). Rather than editing ~100
   views, those utilities are re-mapped here, scoped to `.portal` (layouts.app)
   and `.pager` (pagination), so behaviour and markup stay untouched.
   ========================================================================== */
@media all {
    .portal *, .pager * { border-color: rgba(255, 255, 255, 0.1); }
}
.portal { background: var(--bg); color: var(--text-2); font-family: var(--font-body); }
.portal h1, .portal h2, .portal h3, .portal h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
.portal .bg-white, .pager .bg-white { background-color: var(--surface); }
.portal .bg-gray-50 { background-color: rgba(255, 255, 255, 0.03); }
.portal .bg-gray-100 { background-color: rgba(255, 255, 255, 0.07); }
.portal .bg-red-50 { background-color: rgba(225, 6, 0, 0.10); }
.portal .bg-green-50, .portal .bg-green-100 { background-color: rgba(34, 197, 94, 0.14); }
.portal .bg-yellow-50, .portal .bg-yellow-100 { background-color: rgba(245, 158, 11, 0.14); }
.portal .bg-blue-100 { background-color: rgba(96, 130, 255, 0.16); }
.portal .text-gray-900, .portal .text-gray-800, .portal .text-black { color: var(--text); }
.portal .text-gray-700, .pager .text-gray-700 { color: #d4d4d8; }
.portal .text-gray-600, .pager .text-gray-600 { color: #b4b4bb; }
.portal .text-gray-500, .pager .text-gray-500 { color: #8d8d95; }
.portal .text-gray-400 { color: #6f6f77; }
.portal .text-red-600, .portal .text-red-500 { color: var(--red-bright); }
.portal .text-red-800 { color: #ffb4ae; }
.portal .text-green-800, .portal .text-green-600 { color: #86efac; }
.portal .text-yellow-800 { color: #fcd34d; }
.portal .text-blue-800 { color: #a5b8ff; }
.portal .border-gray-100, .portal .border-gray-200, .portal .border-gray-300, .pager .border-gray-300 { border-color: rgba(255, 255, 255, 0.1); }
.portal .border-red-200 { border-color: rgba(225, 6, 0, 0.35); }
.portal [class*='divide-'] > * { border-color: rgba(255, 255, 255, 0.08); }
.portal .hover\:text-gray-900:hover { color: #fff; }
.portal .hover\:bg-gray-50:hover { background-color: rgba(255, 255, 255, 0.05); }
.portal .shadow-sm, .portal .shadow-md { box-shadow: none; }
.portal .rounded-xl.bg-white, .portal .rounded-lg.bg-white, .portal .rounded-2xl.bg-white { border: 1px solid var(--line); }
.portal table { color: var(--text-2); }
.portal th { color: var(--text-3); font-weight: 600; }
.portal input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='submit']), .portal select, .portal textarea {
    background-color: rgba(0, 0, 0, 0.4); color: #fff; border-color: rgba(255, 255, 255, 0.14); border-radius: 10px;
}
.portal input:focus, .portal select:focus, .portal textarea:focus { outline: none; border-color: rgba(225, 6, 0, 0.75); box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.14); }
.portal select option { background: #111113; color: #fff; }
.portal input::placeholder, .portal textarea::placeholder { color: #6f6f77; }
.portal input[type='checkbox'], .portal input[type='radio'] { accent-color: var(--red); }
.portal .bg-red-600 { background-color: var(--red); border-radius: 999px; }
.portal a.bg-red-600, .portal button.bg-red-600 { transition: background 0.25s, transform 0.25s var(--ease); }
.portal .hover\:bg-red-700:hover, .portal .bg-red-600:hover { background-color: #f01408; }
.portal a { transition: color 0.2s; }
.pager .bg-white { color: #d4d4d8; }
.pager [aria-current='page'] > span { background-color: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
.pager a:hover { background-color: rgba(255, 255, 255, 0.08) !important; color: #fff !important; }
.pager .dark\:bg-gray-800 { background-color: var(--surface); }

/* indigo accents used by a few admin forms -> brand red */
.portal .text-indigo-600 { color: var(--red-bright); }
.portal .hover\:text-indigo-900:hover { color: #fff; }
.portal .bg-indigo-600 { background-color: var(--red); border-radius: 999px; }
.portal .hover\:bg-indigo-700:hover { background-color: #f01408; }
.portal .focus\:border-indigo-500:focus { border-color: rgba(225, 6, 0, 0.75); }
.portal .focus\:ring-indigo-500:focus { --tw-ring-color: rgba(225, 6, 0, 0.35); }

.portal-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(8, 8, 8, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.portal-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.portal-nav { display: flex; flex-wrap: wrap; gap: 0.15rem 0.35rem; }
.portal-nav a { padding: 0.45rem 0.8rem; border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: background 0.25s, color 0.25s; }
.portal-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.portal-nav a.is-active { background: rgba(225, 6, 0, 0.14); color: #fff; }
.portal-user { display: flex; align-items: center; gap: 1rem; font-size: 0.86rem; }
.portal-user a, .portal-user button { color: var(--text-2); background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-decoration: none; }
.portal-user a:hover { color: #fff; }
.portal-user button { color: var(--red-bright); }
.portal-user button:hover { color: #ff8a82; }
.portal-main { padding-block: 2.25rem 4rem; }
.portal-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 50% 35% at 90% 0%, rgba(170, 6, 0, 0.16), transparent 65%), var(--bg); }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 6px; border: 2px solid #0a0a0a; }
::-webkit-scrollbar-thumb:hover { background: #3c3c42; }
