/* public.css — shared base styles for all public marketing pages */

:root {
    --black:  #000000;
    --s1:     #0a0a0a;
    --s2:     #111111;
    --bd:     rgba(255,255,255,.08);
    --bd2:    rgba(255,255,255,.15);
    --wh:     #ffffff;
    --mu:     #777777;
    --su:     #aaaaaa;
    --ac:     #22d3ee;
    --acd:    rgba(34,211,238,.1);
    --red:    #f87171;
    --ora:    #fb923c;
    --yel:    #facc15;
    --grn:    #4ade80;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--black);
    color: var(--wh);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────── */
.pub-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center;
    padding: 0 48px; height: 60px;
    background: rgba(0,0,0,.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--bd);
}
.pub-nav-logo {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 16px; font-weight: 700; letter-spacing: -.3px;
    color: var(--wh); text-decoration: none; margin-right: auto;
}
.pub-nav-links {
    display: flex; gap: 32px;
    position: absolute; left: 50%; transform: translateX(-50%);
}
.pub-nav-links a {
    font-size: 13.5px; font-weight: 500; color: var(--mu);
    text-decoration: none; transition: color .15s; white-space: nowrap;
}
.pub-nav-links a:hover,
.pub-nav-links a.active { color: var(--wh); }
.pub-nav-actions { display: flex; gap: 8px; align-items: center; }
.pub-ghost {
    padding: 7px 16px; border: 1px solid var(--bd);
    border-radius: 7px; font-size: 13px; font-weight: 500;
    color: var(--su); text-decoration: none; transition: all .15s;
}
.pub-ghost:hover { color: var(--wh); border-color: var(--bd2); }
.pub-solid {
    padding: 7px 16px; background: var(--wh); color: var(--black);
    border-radius: 7px; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: opacity .15s;
}
.pub-solid:hover { opacity: .88; }
.pub-ham {
    display: none; background: none; border: 1px solid var(--bd);
    color: var(--mu); width: 36px; height: 36px; border-radius: 7px;
    font-size: 14px; cursor: pointer; align-items: center; justify-content: center;
}
.pub-mob {
    display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
    background: rgba(0,0,0,.97); border-bottom: 1px solid var(--bd);
    flex-direction: column;
}
.pub-mob.open { display: flex; }
.pub-mob a {
    padding: 13px 24px; font-size: 14px; color: var(--mu);
    text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.04);
    transition: color .15s;
}
.pub-mob a:hover { color: var(--wh); }
@media(max-width:860px) {
    .pub-nav { padding: 0 20px; }
    .pub-nav-links { display: none; }
    .pub-ham { display: flex; }
}

/* ── FOOTER ──────────────────────────────── */
.pub-footer { border-top: 1px solid var(--bd); background: #050505; padding: 56px 40px 32px; }
.pub-footer-top {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 48px; border-bottom: 1px solid var(--bd);
}
.pub-footer-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 15px; font-weight: 800; color: var(--wh); margin-bottom: 10px;
}
.pub-footer-brand p { font-size: 13px; color: var(--mu); line-height: 1.7; max-width: 220px; }
.pub-footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #333; margin-bottom: 14px; }
.pub-footer-col a { display: block; font-size: 13px; color: var(--mu); text-decoration: none; margin-bottom: 9px; transition: color .15s; }
.pub-footer-col a:hover { color: var(--wh); }
.pub-footer-bottom {
    max-width: 1100px; margin: 24px auto 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #333;
}
.pub-footer-bottom a { color: #333; text-decoration: none; }
.pub-footer-bottom a:hover { color: var(--mu); }
@media(max-width:768px) {
    .pub-footer-top { grid-template-columns: 1fr 1fr; }
    .pub-footer { padding: 40px 20px 24px; }
    .pub-footer-bottom { flex-direction: column; text-align: center; }
}
@media(max-width:480px) { .pub-footer-top { grid-template-columns: 1fr; } }

/* ── SHARED BUTTONS ──────────────────────── */
.btn-wh {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 13px 26px; background: var(--wh); color: var(--black);
    border-radius: 9px; font-size: 14px; font-weight: 700;
    text-decoration: none; transition: opacity .15s;
}
.btn-wh:hover { opacity: .88; }
.btn-bd {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 13px 26px; background: transparent; border: 1px solid var(--bd2);
    color: var(--su); border-radius: 9px; font-size: 14px; font-weight: 500;
    text-decoration: none; transition: all .15s;
}
.btn-bd:hover { color: var(--wh); border-color: rgba(255,255,255,.3); }

/* ── TYPOGRAPHY HELPERS ──────────────────── */
.pub-section { padding: 120px 24px; }
.pub-section-dim { background: #080808; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.pub-wrap { max-width: 1100px; margin: 0 auto; }
.pub-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ac); margin-bottom: 12px; }
.pub-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(30px,4vw,48px); font-weight: 800;
    letter-spacing: -1.5px; color: var(--wh); line-height: 1.07; margin-bottom: 14px;
}
.pub-desc { font-size: 15px; color: var(--mu); line-height: 1.75; max-width: 480px; }
.pub-tc { text-align: center; }
.pub-tc .pub-desc { margin: 0 auto; }

/* ── REVEAL ANIMATION ───────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; }
.d2 { transition-delay: .12s; }
.d3 { transition-delay: .18s; }
.d4 { transition-delay: .24s; }

@media(max-width:768px) { .pub-section { padding: 80px 20px; } }
