/* ═══════════════════════════════════════════════════════════
   AUS BD PTY LTD — site.css
   ACN: 668 029 696 | ABN: 33 668 029 696
   Theme: Light Blue & White
═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ───────────────────────────────────── */
:root {
    /* Backgrounds */
    --bg:        #ffffff;          /* primary — white */
    --bg2:       #eef5fc;          /* alternate — soft light blue */
    --bg3:       #ffffff;          /* card surface */
    --bg4:       #f3f8fe;          /* input background */

    /* Brand Accent */
    --blue:      #1565c0;          /* primary blue */
    --blue-h:    #0d47a1;          /* hover / deeper blue */
    --blue-l:    #e3f0fd;          /* very light blue tint */

    /* Navigation & Footer (stay dark for contrast) */
    --nav-bg:    #0d2b5e;          /* dark navy — navbar scrolled */
    --footer-bg: #0d2b5e;          /* dark navy — footer */

    /* Typography */
    --white:     #ffffff;
    --heading:   #0d2b5e;          /* dark navy — section headings */
    --text:      #253348;          /* dark navy-gray — body text */
    --muted:     #5b7080;          /* blue-gray — secondary text */

    /* Borders */
    --border:    rgba(21,101,192,0.12);
    --border-h:  rgba(21,101,192,0.24);

    /* Typography stacks */
    --fh:        'Oswald', sans-serif;
    --fb:        'Inter', sans-serif;

    /* Motion */
    --ease:      all 0.32s cubic-bezier(0.4,0,0.2,1);
    --ease-f:    all 0.15s ease;

    /* Shape */
    --r:         6px;
    --rl:        12px;

    /* Shadows — blue-tinted for light theme */
    --sh:        0 4px 20px rgba(21,101,192,0.08);
    --shl:       0 12px 40px rgba(21,101,192,0.14);

    /* Section padding */
    --sp:        6rem 0;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--fb);
    font-size: 1rem;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

/* overflow-x on html — does not break position:fixed the way body overflow-x does */
html { overflow-x: hidden; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--fh);
    color: var(--heading);
    line-height: 1.18;
    letter-spacing: 0.02em;
}

a { color: var(--blue); text-decoration: none; transition: var(--ease-f); }
a:hover { color: var(--blue-h); }
img { max-width: 100%; height: auto; display: block; }

/* ── Accessibility ───────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--blue);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--r);
    z-index: 9999;
    font-size: 0.875rem;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── Utilities ───────────────────────────────────────────── */
.sp { padding: var(--sp); }

.label {
    display: inline-block;
    font-family: var(--fb);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.65rem;
}

.stitle {
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    color: var(--heading);
}

.ssub {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.85;
    max-width: 520px;
}

.bar {
    width: 44px;
    height: 3px;
    background: var(--blue);
    margin: 1.1rem 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-r {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--blue);
    color: #fff;
    font-family: var(--fh);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 2px solid var(--blue);
    border-radius: var(--r);
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
}
.btn-r:hover, .btn-r:focus-visible {
    background: var(--blue-h);
    border-color: var(--blue-h);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(21,101,192,0.35);
    outline: none;
}

/* Outline button (blue) — used on light backgrounds */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    color: var(--blue);
    font-family: var(--fh);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 2px solid var(--blue);
    border-radius: var(--r);
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
}
.btn-outline:hover, .btn-outline:focus-visible {
    background: var(--blue-l);
    border-color: var(--blue-h);
    color: var(--blue-h);
    transform: translateY(-2px);
    outline: none;
}

/* Outline button — used in hero (dark background), stays white */
.btn-o {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    color: #fff;
    font-family: var(--fh);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--r);
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
}
.btn-o:hover, .btn-o:focus-visible {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.75);
    color: #fff;
    transform: translateY(-2px);
    outline: none;
}

/* ── Navbar ──────────────────────────────────────────────── */
#mainNav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    background: transparent;
    transition: background 0.4s ease, padding 0.4s ease;
}
#mainNav.scrolled {
    background: rgba(13,43,94,0.97);   /* dark navy */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nb-brand {
    font-family: var(--fh);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
}
/* "AUS" — white, always visible on dark navbar */
.b-aus { color: #ffffff; }
/* "BD"  — sky blue, distinct from white, fits blue theme */
.b-bd  { color: #5bb8f5; }
.b-tag {
    display: block;
    font-family: var(--fb);
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-top: 3px;
}

.navbar-nav .nav-link {
    font-family: var(--fh);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7) !important;
    padding: 0.4rem 1rem !important;
    position: relative;
    transition: color 0.2s;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 1rem; right: 1rem;
    height: 2px;
    background: #5bb8f5;           /* light blue underline on dark nav */
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #fff !important; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }


/* ── Hero (video — stays dark, overlaid) ────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d2b5e 50%, #0a1628 100%);
    z-index: 0;
}

.hero-vid-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-vid-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        108deg,
        rgba(0,0,0,0.74) 0%,
        rgba(0,0,0,0.52) 50%,
        rgba(0,0,0,0.22) 100%
    );
    transition: background 2s ease;
}
.hero-overlay.ended {
    background: linear-gradient(
        108deg,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.70) 50%,
        rgba(0,0,0,0.52) 100%
    );
}

.hero-body {
    position: relative;
    z-index: 3;
    padding-top: 80px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--fb);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.4rem;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.8s 0.3s forwards;
}
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #5bb8f5;           /* light blue line in hero */
    flex-shrink: 0;
}

.hero-h1 {
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.04;
    color: #fff;
    margin-bottom: 1.4rem;
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.9s 0.5s forwards;
}
/* "Stronger" highlight — sky blue visible on dark overlay */
.hero-h1 .hl { color: #5bb8f5; }

.hero-sub {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: rgba(255,255,255,0.65);
    line-height: 1.85;
    max-width: 460px;
    margin-bottom: 2.4rem;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s 0.7s forwards;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.9s 0.9s forwards;
}

.scroll-ind {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    opacity: 0;
    animation: fadeIn 1s 1.6s forwards;
}
.scroll-ind span {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}
.scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ── About ───────────────────────────────────────────────── */
.s-about { background: var(--bg2); }   /* soft light blue */

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    margin-top: 1.5rem;
}
.stat-cell {
    background: var(--bg3);
    padding: 1.6rem 1rem;
    text-align: center;
}
.stat-n {
    font-family: var(--fh);
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    display: block;
    line-height: 1;
}
.stat-l {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.35rem;
}

.check-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.8rem;
    margin: 0;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.92rem;
    color: var(--text);
}
.check-list li i {
    color: var(--blue);
    margin-top: 0.22rem;
    flex-shrink: 0;
}

.reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--bg);
    border: 1px solid var(--border-h);
    border-radius: var(--r);
    padding: 0.75rem 1.1rem;
    font-size: 0.82rem;
    color: var(--text);
    box-shadow: var(--sh);
}
.reg-badge i { color: var(--blue); font-size: 0.9rem; }

.director-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--rl);
    padding: 1.85rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--sh);
}
.dir-avatar {
    width: 52px; height: 52px;
    background: var(--blue-l);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; color: var(--blue); flex-shrink: 0;
}
.dir-name { font-family: var(--fh); font-size: 1.1rem; color: var(--heading); font-weight: 600; }
.dir-role { font-size: 0.7rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.dir-bio  { font-size: 0.88rem; color: var(--muted); line-height: 1.8; margin: 0; }

/* ── Services ────────────────────────────────────────────── */
.s-services { background: var(--bg); }   /* white */

.svc-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--rl);
    padding: 2.1rem 1.85rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--ease);
    box-shadow: var(--sh);
}
.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}
.svc-card:hover {
    border-color: var(--border-h);
    transform: translateY(-6px);
    box-shadow: var(--shl);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 54px; height: 54px;
    background: var(--blue-l);
    border-radius: var(--r);
    font-size: 1.45rem; color: var(--blue);
    margin-bottom: 1.4rem;
    transition: var(--ease);
}
.svc-card:hover .svc-icon {
    background: var(--blue);
    color: #fff;
}
.svc-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.7rem;
    color: var(--heading);
}
.svc-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.78;
    margin: 0;
}

/* ── Why Choose Us ───────────────────────────────────────── */
.s-why {
    background: var(--bg2);        /* soft light blue */
    position: relative;
    overflow: hidden;
}
.s-why::before {
    content: '';
    position: absolute;
    top: -180px; right: -180px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(21,101,192,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.65rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: var(--ease);
    box-shadow: var(--sh);
}
.why-card:hover {
    border-color: var(--border-h);
    background: var(--blue-l);
    box-shadow: var(--shl);
}
.why-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; min-width: 46px;
    background: var(--blue-l);
    border-radius: var(--r);
    font-size: 1.2rem; color: var(--blue);
    flex-shrink: 0;
}
.why-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    color: var(--heading);
}
.why-card p { font-size: 0.86rem; color: var(--muted); margin: 0; line-height: 1.75; }

/* ── Contact ─────────────────────────────────────────────── */
.s-contact { background: var(--bg); }   /* white */

.ci-item {
    display: flex; align-items: flex-start; gap: 1rem;
    margin-bottom: 1.65rem;
}
.ci-ico {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; min-width: 42px;
    background: var(--blue-l);
    border-radius: var(--r);
    color: var(--blue); font-size: 0.95rem;
}
.ci-text h5 {
    font-size: 0.7rem; font-family: var(--fb); font-weight: 600;
    letter-spacing: 0.13em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 0.2rem;
}
.ci-text p, .ci-text a { font-size: 0.9rem; color: var(--text); margin: 0; }
.ci-text a:hover { color: var(--blue); }

.form-wrap {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--rl);
    padding: 2.4rem;
    box-shadow: var(--sh);
}
.form-wrap h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.65rem;
    color: var(--heading);
}

.flabel {
    display: block;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 0.45rem;
}
.finput {
    width: 100%;
    background: var(--bg4);
    border: 1px solid var(--border-h);
    border-radius: var(--r);
    color: var(--text);
    font-family: var(--fb);
    font-size: 0.93rem;
    padding: 0.82rem 1.05rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}
.finput::placeholder { color: rgba(37,51,72,0.3); }
.finput:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
    background: var(--bg4);
    color: var(--text);
}
.finput.err { border-color: #e53935; }
textarea.finput { resize: vertical; min-height: 130px; }

.ferr { font-size: 0.78rem; color: #c62828; margin-top: 0.3rem; }

.alert-ok {
    background: rgba(21,160,98,0.07);
    border: 1px solid rgba(21,160,98,0.25);
    border-radius: var(--r);
    color: #0d6e45;
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    margin-bottom: 1.4rem;
}
.alert-fail {
    background: rgba(229,57,53,0.06);
    border: 1px solid rgba(229,57,53,0.22);
    border-radius: var(--r);
    color: #b71c1c;
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    margin-bottom: 1.4rem;
}

/* ── Footer (dark navy — mirrors navbar) ─────────────────── */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top { padding: 4rem 0 3rem; }

.foot-brand { font-family: var(--fh); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.foot-tag   { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.foot-desc  { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.82; margin-top: 0.9rem; max-width: 270px; }

.foot-h { font-family: var(--fh); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 1.1rem; }

.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 0.55rem; }
.foot-links a { font-size: 0.87rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.foot-links a:hover { color: var(--white); }

.foot-ci {
    display: flex; align-items: flex-start;
    gap: 0.7rem; margin-bottom: 0.8rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.foot-ci i { color: #5bb8f5; margin-top: 0.15rem; flex-shrink: 0; font-size: 0.82rem; }
.foot-ci a { color: rgba(255,255,255,0.5); }
.foot-ci a:hover { color: var(--white); }

.footer-bot { padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bot p { font-size: 0.78rem; color: rgba(255,255,255,0.28); margin: 0; }
.footer-bot .reg { font-size: 0.72rem; color: rgba(255,255,255,0.18); margin-top: 0.25rem; }

/* ── Scroll Animations ───────────────────────────────────── */
.fu {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fu.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes scrollPulse {
    0%,100% { opacity: 0.4; }
    50%      { opacity: 1;   }
}

/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .fu { opacity: 1; transform: none; }
    .hero-eyebrow, .hero-h1, .hero-sub, .hero-cta { opacity: 1; transform: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
    :root { --sp: 4.5rem 0; }
    /* Nav links — compact on tablets */
    .navbar-nav .nav-link {
        font-size: 0.78rem !important;
        padding: 0.35rem 0.6rem !important;
        letter-spacing: 0.06em;
    }
}
@media (max-width: 575.98px) {
    /* Nav links — minimal on phones */
    .navbar-nav .nav-link {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.45rem !important;
        letter-spacing: 0.04em;
    }
    #mainNav { padding: 0.9rem 0; }
}
@media (max-width: 767.98px) {
    :root { --sp: 3.5rem 0; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-r, .hero-cta .btn-o { width: 100%; justify-content: center; }
    .form-wrap { padding: 1.65rem; }
    .about-stats { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .hero-h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
}

/* ══════════════════════════════════════════════════════════════
   INNER PAGES — 404 / Privacy / Terms
══════════════════════════════════════════════════════════════ */

/* ── Page Hero (dark navy banner — replaces video hero) ── */
.page-hero {
    background: linear-gradient(135deg, #0d1f3c 0%, #0d2b5e 50%, #1a3a72 100%);
    padding: 7rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91,184,245,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-eyebrow {
    display: inline-block;
    font-family: var(--fb);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5bb8f5;
    background: rgba(91,184,245,0.12);
    border: 1px solid rgba(91,184,245,0.25);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    margin-bottom: 1.25rem;
}
.page-hero-title {
    font-family: var(--fh);
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.page-hero-title .hl { color: #5bb8f5; }
.page-hero-sub {
    font-family: var(--fb);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Breadcrumb ── */
.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
    font-family: var(--fb);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.page-breadcrumb a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}
.page-breadcrumb a:hover { color: #5bb8f5; }
.page-breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ── Content Page body ── */
.page-content {
    padding: var(--sp);
    background: var(--bg);
}
.page-content h2 {
    font-family: var(--fh);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--heading);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--blue-l);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
    font-family: var(--fh);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--heading);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.page-content p {
    font-family: var(--fb);
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.page-content ul, .page-content ol {
    font-family: var(--fb);
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.page-content li { margin-bottom: 0.35rem; }
.page-content a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-content a:hover { color: var(--blue-h); }
.page-content .last-updated {
    display: inline-block;
    font-family: var(--fb);
    font-size: 0.8rem;
    color: var(--muted);
    background: var(--bg4);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 0.3rem 0.8rem;
    margin-bottom: 2rem;
}

/* ── 404 Page ── */
.err-code {
    font-family: var(--fh);
    font-size: clamp(5rem, 20vw, 9rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 3px rgba(91,184,245,0.5);
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}
.err-section {
    padding: 5rem 0 6rem;
    background: var(--bg);
    text-align: center;
}
.err-section h2 {
    font-family: var(--fh);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--heading);
    margin-bottom: 1rem;
}
.err-section p {
    font-family: var(--fb);
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}
.err-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ── Tab nav for Privacy/Terms ── */
.policy-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2.5rem;
}
.policy-tab-btn {
    font-family: var(--fb);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 0.65rem 1.25rem;
    cursor: pointer;
    transition: var(--ease-f);
    border-radius: var(--r) var(--r) 0 0;
}
.policy-tab-btn:hover { color: var(--blue); background: var(--blue-l); }
.policy-tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.policy-panel { display: none; }
.policy-panel.active { display: block; }
