/* =========================================================
   KENZIE SITE CONSOLIDATED CSS (ALL PAGES)
   Drop-in replacement for inline <style> blocks.
   ========================================================= */

/* ---------- Responsive font sizing (used everywhere) ---------- */
@media (max-width:700px) {
    html {
        font-size: 135%;
    }
}

@media (max-width:420px) {
    html {
        font-size: 125%;
    }
}

/* ---------- Theme tokens ---------- */
:root {
    /* LIGHT, CLEAR THEME */
    --bg-color: #f6f8fc;
    --bg-alt: #eef2f8;
    --card-bg: #ffffff;

    --accent: #0ea5e9;
    --accent-soft: rgba(14, 165, 233, .12);
    --accent-strong: #0284c7;

    --text-main: #0f172a;
    --text-muted: #475569;

    --border-soft: rgba(15, 23, 42, .14);
    --shadow-soft: 0 22px 45px rgba(15, 23, 42, .10);

    --radius-lg: 16px;
    /* some pages used 18px; we keep 16 as base */
    --radius-pill: 999px;

    --danger: #dc2626;
    /* install pages */
    --ok: #059669;
    /* install pages */

    --ok-bg: rgba(5, 150, 105, .08);
    /* signup */
    --ok-border: rgba(5, 150, 105, .30);
    --warn-bg: rgba(220, 38, 38, .06);
    --warn-border: rgba(220, 38, 38, .22);
}

/* ---------- Reset ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: radial-gradient(circle at top, #ffffff 0, var(--bg-color) 45%, var(--bg-alt) 100%);
    color: var(--text-main);
    min-height: 100vh;
    padding: 0;
}

/* ---------- Common wrappers ---------- */
.page-shell {
    width: 100%;
    max-width: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .92));
    border-radius: 0;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}

.content {
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
}

main {
    width: 100%;
    padding: 28px 28px 28px;
    max-width: 1320px;
    margin: 0 auto;
}

@media (max-width:600px) {
    main {
        padding: 18px 14px 22px;
    }
}

/* =========================================================
   HEADER + NAV (Unified for all pages)
   Works for:
   - header img
   - .header-left + .brand-text
   - nav.top-nav or nav or .top-nav
   - .nav-link .nav-cta
   ========================================================= */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 28px 14px;
    border-bottom: 1px solid var(--border-soft);
    background: radial-gradient(circle at top left, rgba(14, 165, 233, .10), rgba(255, 255, 255, .92) 60%);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width:600px) {
    header {
        padding: 14px 14px 12px;
    }
}

.header-left,
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

header img,
.brand img {
    height: 46px;
    width: auto;
    flex: 0 0 auto;
}

/* Brand blocks used on most pages */
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

@media (max-width:600px) {
    .brand-text h1 {
        font-size: 1.1rem;
    }
}

.brand-text p {
    font-size: .82rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 72ch;
}

.brand-pill {
    font-size: .7rem;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(14, 165, 233, .45);
    background: rgba(14, 165, 233, .06);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent-strong);
    font-weight: 800;
    white-space: nowrap;
}

/* Install pages sometimes used .header-text instead */
.header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.header-text h1 {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: .03em;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.header-text p {
    font-size: .9rem;
    color: var(--text-muted);
}

.header-pill {
    font-size: .7rem;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(14, 165, 233, .35);
    background: rgba(14, 165, 233, .08);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent-strong);
    font-weight: 900;
    white-space: nowrap;
}

/* Nav containers (3 variants across pages) */
nav.top-nav,
nav,
.top-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

nav.top-nav::-webkit-scrollbar,
nav::-webkit-scrollbar,
.top-nav::-webkit-scrollbar {
    display: none;
}

@media (max-width:700px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav.top-nav,
    nav,
    .top-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .brand-text p {
        max-width: 42ch;
    }
}

/* Nav links */
.nav-link {
    font-size: .85rem;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid transparent;
    background: transparent;
    transition: background .15s ease-out, color .15s ease-out, border-color .15s ease-out, transform .12s ease-out;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-main);
    border-color: rgba(15, 23, 42, .14);
    background: rgba(15, 23, 42, .04);
}

.nav-link.active {
    color: var(--text-main);
    background: rgba(14, 165, 233, .08);
    border-color: rgba(14, 165, 233, .35);
    font-weight: 800;
}

/* CTA button in nav */
.nav-cta {
    font-size: .85rem;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    border: 1px solid rgba(2, 132, 199, .7);
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(14, 165, 233, .22);
    transition: transform .12s ease-out, box-shadow .12s ease-out;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(14, 165, 233, .30);
}

/* =========================================================
   Buttons used across pages
   ========================================================= */
.btn-primary,
.card-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(2, 132, 199, .7);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(14, 165, 233, .22);
    transition: transform .12s ease-out, box-shadow .12s ease-out;
    white-space: nowrap;
}

.btn-primary:hover,
.card-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(14, 165, 233, .30);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 23, 42, .14);
    background: rgba(15, 23, 42, .03);
    color: var(--text-main);
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .12s ease-out, border-color .12s ease-out, transform .12s ease-out;
    white-space: nowrap;
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, .06);
    border-color: rgba(2, 132, 199, .35);
    transform: translateY(-1px);
}

/* Signup page uses .btn for form */
.btn {
    margin-top: 6px;
    padding: 12px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-weight: 1000;
    border: none;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(14, 165, 233, .25);
    transition: transform .12s ease, box-shadow .12s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(14, 165, 233, .28);
}

/* =========================================================
   Cards + common typography
   ========================================================= */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, .12);
    padding: 16px 16px 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.card+.card {
    margin-top: 14px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1rem;
    font-weight: 900;
}

.card-pill {
    font-size: .75rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent-strong);
    border: 1px solid rgba(14, 165, 233, .25);
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.card-body {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.section-title {
    font-size: .96rem;
    font-weight: 900;
    margin-top: 18px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-main);
}

.section-text {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.55;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.badge {
    font-size: .78rem;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(15, 23, 42, .03);
    color: var(--text-muted);
    font-weight: 800;
}

/* Used in downloads mini-block too */
.badge.soft {
    border-color: rgba(15, 23, 42, .14);
    color: var(--text-muted);
    background: rgba(15, 23, 42, .03);
}

/* =========================================================
   Inputs / forms
   ========================================================= */
.input-like,
.prompt-input {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .14);
    background: #fff;
    font-size: .92rem;
    outline: none;
    color: var(--text-main);
}

.input-like:focus,
.prompt-input:focus {
    border-color: rgba(2, 132, 199, .6);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .14);
}

.submit-btn,
.prompt-go {
    margin-top: 4px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(2, 132, 199, .7);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-size: .92rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(14, 165, 233, .20);
    transition: transform .12s ease-out, box-shadow .12s ease-out;
}

.submit-btn:hover,
.prompt-go:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(14, 165, 233, .28);
}

/* =========================================================
   Footer (unified)
   ========================================================= */
footer {
    border-top: 1px solid rgba(15, 23, 42, .10);
    padding: 12px 28px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .75);
}

@media (max-width:600px) {
    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px 16px;
    }
}

/* =========================================================
   HOME (index.html)
   ========================================================= */
main.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 24px;
}

@media (max-width:900px) {
    main.home-grid {
        grid-template-columns: 1fr;
    }
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-kicker,
.team-kicker,
.contact-kicker,
.kicker {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--accent-strong);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(14, 165, 233, .16);
}

.hero-title {
    font-size: 2.05rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.02em;
}

.hero-title span {
    color: var(--accent-strong);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 44rem;
    line-height: 1.55;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
    align-items: center;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.hero-meta-pill {
    font-size: .82rem;
    padding: 7px 11px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(255, 255, 255, .75);
    color: var(--text-muted);
}

.hero-meta-pill strong {
    color: var(--text-main);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 6px;
}

@media (max-width:700px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}

.highlight-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, .12);
    padding: 12px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.highlight-title {
    font-size: .88rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.highlight-body {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.bottom-visual {
    margin-top: 22px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .10);
    background: #fff;
}

.bottom-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.side-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list {
    margin-top: 10px;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-list li {
    font-size: .88rem;
    color: var(--text-muted);
}

.feature-list li span {
    color: var(--text-main);
    font-weight: 900;
}

.note {
    font-size: .82rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.55;
}

/* Prompt demo */
.prompt-demo {
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: linear-gradient(135deg, rgba(14, 165, 233, .06), rgba(255, 255, 255, .9));
    padding: 12px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .06);
}

.prompt-label {
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 8px;
}

.prompt-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.prompt-chip {
    font-size: .8rem;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(15, 23, 42, .03);
    color: var(--text-main);
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

/* =========================================================
   OUR TEAM (Our_Team.html)
   ========================================================= */
.team-header {
    margin-bottom: 22px;
}

.team-title {
    font-size: 2.1rem;
    font-weight: 900;
    margin-top: 8px;
    letter-spacing: -.02em;
}

.team-subtitle {
    margin-top: 10px;
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 56rem;
}

.team-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

@media(max-width:900px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: var(--card-bg);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.team-photo {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(15, 23, 42, .02);
    margin-bottom: 14px;
    display: block;
}

.small-photo {
    width: min(70%, 320px);
    margin: 0 auto 14px auto;
    border-radius: 16px;
}

.team-name {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.team-role {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.45;
}

.team-tagline {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.team-section-block {
    margin-bottom: 16px;
}

.team-section-block h3 {
    font-size: .85rem;
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 900;
    margin-bottom: 8px;
}

.team-section-block ul {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-section-block li {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.improved-shared {
    padding: 28px;
    margin-top: 34px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78));
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.shared-title {
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 10px;
}

.shared-subtitle {
    font-size: .98rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 56rem;
    margin-bottom: 18px;
}

.shared-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

@media(max-width:800px) {
    .shared-columns {
        grid-template-columns: 1fr;
    }
}

.shared-block {
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(15, 23, 42, .02);
    border-radius: 18px;
    padding: 18px;
}

.shared-block h4 {
    font-size: .9rem;
    margin-bottom: 10px;
    font-weight: 900;
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.shared-block ul {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shared-block li {
    font-size: .94rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* =========================================================
   MY PROGRAM + DOWNLOADS (shared blocks)
   ========================================================= */
.program-hero {
    padding: 18px 0 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: start;
}

@media (max-width:900px) {
    .program-grid {
        grid-template-columns: 1fr;
    }
}

.bullet-list {
    margin-top: 10px;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bullet-list li {
    font-size: .88rem;
    color: var(--text-muted);
}

.platform-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width:700px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
}

.mini {
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(15, 23, 42, .03);
    padding: 12px;
}

.mini h4 {
    font-size: .92rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.mini p {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.program-info-panel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .10);
    background: #fff;
}

.program-info-image img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.img-caption {
    padding: 12px 14px;
    font-size: .85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .9);
    border-top: 1px solid rgba(15, 23, 42, .10);
}

/* Topic scroller */
.program-scroller-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, .12);
    padding: 16px 16px 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.scroller-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.scroller-title {
    font-size: 1.02rem;
    font-weight: 950;
}

.scroller-subtitle {
    font-size: .84rem;
    color: var(--text-muted);
    margin-top: 4px;
    max-width: 36rem;
    line-height: 1.35;
}

.scroller-pill {
    font-size: .72rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(14, 165, 233, .25);
    background: rgba(14, 165, 233, .08);
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    white-space: nowrap;
}

.topic-info-panel {
    background: rgba(14, 165, 233, .06);
    border: 1px solid rgba(14, 165, 233, .18);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.topic-info-title {
    font-size: .98rem;
    font-weight: 950;
    margin-bottom: 4px;
}

.topic-info-text {
    font-size: .86rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.scroll-list-container {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 6px;
}

.scroll-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scroll-item {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(255, 255, 255, .9);
    color: var(--text-main);
    cursor: pointer;
    transition: .15s ease;
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: 9px;
    user-select: none;
}

.scroll-item:hover {
    background: rgba(14, 165, 233, .06);
    border-color: rgba(14, 165, 233, .25);
    transform: translateX(3px);
}

.scroll-item.active {
    border-color: rgba(14, 165, 233, .45);
    background: rgba(14, 165, 233, .10);
}

.scroll-item .tag {
    margin-left: auto;
    font-size: .72rem;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(15, 23, 42, .03);
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 800;
}

/* Downloads page additions */
.download-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.download-item a,
.mini-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .14);
    background: rgba(15, 23, 42, .03);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
    transition: transform .12s ease-out, box-shadow .12s ease-out, border-color .12s ease-out, background .12s ease-out;
}

.download-item a:hover,
.mini-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(14, 165, 233, .16);
    border-color: rgba(2, 132, 199, .45);
    background: rgba(14, 165, 233, .06);
}

.download-item-title,
.mini-title {
    color: var(--text-main);
    font-size: .92rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.download-item-meta,
.mini-desc {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.platform-badge {
    font-size: .73rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 23, 42, .14);
    background: rgba(255, 255, 255, .85);
    display: inline-block;
    margin-left: 6px;
    color: var(--text-muted);
    font-weight: 800;
}

.full-span {
    grid-column: 1 / -1;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

@media (max-width:900px) {
    .mini-grid {
        grid-template-columns: 1fr;
    }
}

.mini-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

/* =========================================================
   INSTALL PAGES (install1-4)
   ========================================================= */
h2.section-title {
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tagline {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.55;
}

.callout {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(15, 23, 42, .03);
    color: var(--text-muted);
    line-height: 1.55;
}

.callout strong {
    color: var(--accent-strong);
}

.callout.ok {
    border-color: rgba(5, 150, 105, .35);
    background: rgba(5, 150, 105, .08);
}

.callout.ok strong {
    color: var(--ok);
}

.callout.warn {
    border-color: rgba(220, 38, 38, .30);
    background: rgba(220, 38, 38, .06);
}

.callout.warn strong {
    color: var(--danger);
}

.steps {
    margin-top: 10px;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.steps li {
    color: var(--text-muted);
    line-height: 1.55;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .92em;
    background: rgba(15, 23, 42, .06);
    padding: 0 6px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, .10);
    color: var(--text-main);
}

.code {
    margin-top: 10px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: #0b1220;
    padding: 12px 12px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .84rem;
    color: #e5e7eb;
    line-height: 1.55;
    white-space: pre;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.code .dim {
    color: #9ca3af;
}

.code .ok {
    color: var(--ok);
}

.code .bad {
    color: var(--danger);
}

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.requirements-list li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .86rem;
    text-decoration: none;
    color: var(--accent-strong);
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(14, 165, 233, .08);
    border: 1px solid rgba(14, 165, 233, .25);
    transition: background .12s ease-out, transform .12s ease-out, box-shadow .12s ease-out;
    font-weight: 800;
}

.requirements-list li a:hover {
    background: rgba(14, 165, 233, .12);
    transform: translateY(-.5px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, .14);
}

.warning {
    font-size: .8rem;
    color: var(--danger);
    margin-top: 10px;
    line-height: 1.5;
}

/* =========================================================
   CONTACT (Contact.html)
   ========================================================= */
.contact-hero {
    margin-bottom: 24px;
}

.contact-title {
    font-size: 1.7rem;
    font-weight: 900;
    margin-top: 6px;
    margin-bottom: 6px;
}

.contact-subtitle {
    font-size: .95rem;
    color: var(--text-muted);
    max-width: 46rem;
    line-height: 1.55;
}

.contact-tagline {
    margin-top: 10px;
    font-size: .9rem;
    color: var(--text-main);
    font-weight: 800;
}

.contact-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr);
    gap: 24px;
}

@media (max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    margin-bottom: 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.info-card-title {
    font-size: .98rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.info-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(14, 165, 233, .25);
    background: var(--accent-soft);
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 10px;
    font-weight: 900;
}

.info-card-body {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.55rem;
}

.info-highlight {
    color: var(--text-main);
    font-weight: 900;
}

.info-list {
    list-style: none;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-list li {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.45rem;
}

.info-list li strong {
    color: var(--text-main);
}

.contact-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.contact-badge {
    font-size: .8rem;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(15, 23, 42, .14);
    background: rgba(15, 23, 42, .03);
    color: var(--text-main);
    font-weight: 800;
}

.world-banner {
    margin-top: 6px;
    font-size: .95rem;
    font-weight: 900;
    color: var(--accent-strong);
}

.contact-form-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 20px 20px 18px;
    border: 1px solid rgba(15, 23, 42, .12);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .10);
}

.form-title {
    font-size: 1.02rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.55;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-row-single {
    margin-bottom: 10px;
}

.form-field {
    flex: 1;
}

@media (max-width:560px) {
    .form-row {
        flex-direction: column;
    }
}

label {
    display: block;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .14);
    background: rgba(15, 23, 42, .03);
    padding: 9px 11px;
    font-size: .88rem;
    color: var(--text-main);
    outline: none;
    transition: border-color .15s ease-out, box-shadow .15s ease-out, background .15s ease-out;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(2, 132, 199, .55);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .18);
    background: rgba(255, 255, 255, .95);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-note {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.55;
}

/* =========================================================
   SIGNUP (Signup.html) — styles you posted (plus safe defaults)
   ========================================================= */
.trial-banner {
    margin-top: 18px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(14, 165, 233, .10), rgba(14, 165, 233, .06));
    border: 1px solid rgba(14, 165, 233, .28);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.trial-badge {
    flex: 0 0 auto;
    font-size: .72rem;
    font-weight: 1000;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    color: var(--accent-strong);
    background: rgba(14, 165, 233, .10);
    border: 1px solid rgba(14, 165, 233, .25);
    white-space: nowrap;
}

.trial-text strong {
    color: var(--text-main);
    font-weight: 900;
}

.trial-text p {
    margin-top: 4px;
    color: var(--text-muted);
    line-height: 1.55;
    font-size: .92rem;
}

.bullets {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width:600px) {
    .bullets {
        grid-template-columns: 1fr;
    }
}

.bullet {
    padding: 14px;
    border-radius: 16px;
    background: rgba(15, 23, 42, .02);
    border: 1px solid var(--border-soft);
}

.bullet strong {
    font-size: .95rem;
}

.bullet p {
    font-size: .88rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.45;
}

.feature-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width:700px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.feature h3 {
    font-size: .92rem;
    font-weight: 950;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.mini-list {
    margin-top: 10px;
    padding-left: 18px;
    color: var(--text-muted);
    line-height: 1.55;
    font-size: .88rem;
    display: grid;
    gap: 6px;
}

.divider {
    margin: 14px 0 10px;
    height: 1px;
    background: rgba(15, 23, 42, .10);
}

.trust {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.trust-item {
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(15, 23, 42, .02);
    border-radius: 14px;
    padding: 12px;
    color: var(--text-muted);
    line-height: 1.55;
    font-size: .86rem;
}

.trust-item strong {
    color: var(--text-main);
}

/* Helpful: ensure headings behave nicely */
h1 {
    font-weight: 900;
}

h1 span {
    color: var(--accent-strong);
}