@import url("fonts.926031749058.css");

/* ---- Brand tokens (from sba.tc: Encode Sans + Barlow, navy #223989, blue #2a60a9) ---- */
:root {
    --navy-950: #080d20;
    --navy-900: #0f1633;
    --navy: #223989;
    --blue: #2a60a9;
    --sky: #8bb4ff;
    --gold: #f5c242;
    --ink: #232429;
    --gray: #999b9f;

    --bg: #f6f8fc;
    --bg-alt: #ffffff;
    --fg: #1b1f2c;
    --muted: #586074;
    --card: #ffffff;
    --border: #dfe3ec;
    --link: var(--blue);
    --focus: #f5c242;
    --hero-glow: rgba(42, 96, 169, 0.14);
    --shadow: 0 1px 2px rgba(8, 13, 32, 0.06), 0 10px 30px rgba(8, 13, 32, 0.08);
    --sticker-shadow: drop-shadow(0 8px 10px rgba(8, 13, 32, 0.22));
    --ok: #1f8a57;
    --warn: #b7791f;
    --bad: #c2373c;
    --radius: 16px;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0a0f22;
        --bg-alt: #0e1530;
        --fg: #e7eaf3;
        --muted: #a6adc2;
        --card: #121a3a;
        --border: #263160;
        --link: #8bb4ff;
        --hero-glow: rgba(139, 180, 255, 0.12);
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
        --sticker-shadow: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
        --ok: #4cc38a;
        --warn: #f0b44c;
        --bad: #ff7a7e;
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #0a0f22;
    --bg-alt: #0e1530;
    --fg: #e7eaf3;
    --muted: #a6adc2;
    --card: #121a3a;
    --border: #263160;
    --link: #8bb4ff;
    --hero-glow: rgba(139, 180, 255, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    --sticker-shadow: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
    --ok: #4cc38a;
    --warn: #f0b44c;
    --bad: #ff7a7e;
    color-scheme: dark;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: "Encode Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
h1, h2, h3, h4 { font-family: "Barlow", "Encode Sans", sans-serif; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.eyebrow { font-family: "Encode Sans Condensed", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--blue); margin-bottom: 0.75rem; display: inline-block; }
:root[data-theme="dark"] .eyebrow { color: var(--sky); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: var(--sky); } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--gold); color: var(--navy-950); padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Header (navy band, white wide logo — same in both themes) ---- */
.site-header { background: linear-gradient(100deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy) 100%); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 14px rgba(8, 13, 32, 0.25); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; display: block; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: rgba(255, 255, 255, 0.86); text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 8px 10px; border-radius: 8px; display: block; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions form { margin: 0; }
.icon-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: inline-grid; place-items: center; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }
@media (max-width: 960px) {
    .main-nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--navy-950); display: none; padding: 8px 16px 16px; margin: 0; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; }
    .nav-toggle { display: inline-grid; margin-left: auto; }
    .header-actions { margin-left: 0; }
    .brand img { height: 32px; }
}
@media (max-width: 520px) {
    .header-actions .btn-label { display: none; }
}

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 700; font-size: 1rem; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 6px 18px rgba(34, 57, 137, 0.35); }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; background: radial-gradient(60% 70% at 85% 30%, var(--hero-glow), transparent 70%), radial-gradient(40% 50% at 10% 90%, var(--hero-glow), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 .accent { background: linear-gradient(120deg, var(--blue), #7c5cff 55%, #e85d9a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero-note { font-size: 0.9rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.hero-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--ok); }
@media (max-width: 900px) {
    .hero { padding: 44px 0 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Portal preview card (illustration of the product, labelled "Example") */
.preview { background: var(--card); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; transform: rotate(1.2deg); }
.preview-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.preview-head strong { font-family: "Barlow", sans-serif; font-size: 1.1rem; }
.tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.preview-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 0.93rem; }
.preview-row span:first-child { font-weight: 600; }

/* ---- Meter ---- */
.meter-block { margin: 6px 0 12px; }
.meter-numbers { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.meter-numbers strong { color: var(--fg); font-family: "Barlow", sans-serif; font-size: 1.6rem; }
meter { width: 100%; height: 14px; border-radius: 999px; overflow: hidden; border: 0; background: var(--bg); }
meter::-webkit-meter-bar { background: var(--bg); border-radius: 999px; border: 1px solid var(--border); height: 14px; }
meter::-webkit-meter-optimum-value { background: linear-gradient(90deg, var(--blue), #7c5cff); border-radius: 999px; }
meter::-webkit-meter-suboptimum-value { background: linear-gradient(90deg, #f28c28, var(--gold)); border-radius: 999px; }
meter::-webkit-meter-even-less-good-value { background: linear-gradient(90deg, var(--bad), #f28c28); border-radius: 999px; }
meter::-moz-meter-bar { background: linear-gradient(90deg, var(--blue), #7c5cff); border-radius: 999px; }

/* ---- Sections ---- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 46em; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---- Sticker wall: SBATC's own service lines (NOT client logos) ---- */
.sticker-wall { list-style: none; margin: 0; padding: 8px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 22px 18px; justify-items: center; }
.sticker-wall li { width: 100%; max-width: 156px; text-align: center; }
.sticker-wall figure { margin: 0; }
.sticker-wall figcaption { font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.sticker { width: 100%; height: auto; display: block; filter: var(--sticker-shadow); transition: transform 0.25s cubic-bezier(.2, .9, .3, 1.4), filter 0.25s ease; }
.sticker-label { font-family: "Encode Sans Condensed", sans-serif; font-weight: 800; font-size: 21px; letter-spacing: 1.5px; }
.sticker-wall li:nth-child(1) .sticker { transform: rotate(-7deg); }
.sticker-wall li:nth-child(2) .sticker { transform: rotate(5deg); }
.sticker-wall li:nth-child(3) .sticker { transform: rotate(-3deg) translateY(6px); }
.sticker-wall li:nth-child(4) .sticker { transform: rotate(8deg); }
.sticker-wall li:nth-child(5) .sticker { transform: rotate(-5deg) translateY(-4px); }
.sticker-wall li:nth-child(6) .sticker { transform: rotate(3deg); }
.sticker-wall li:nth-child(7) .sticker { transform: rotate(-9deg) translateY(5px); }
.sticker-wall li:nth-child(8) .sticker { transform: rotate(6deg) translateY(-3px); }
.sticker-wall li:nth-child(9) .sticker { transform: rotate(-4deg); }
.sticker-wall li:nth-child(10) .sticker { transform: rotate(9deg) translateY(4px); }
.sticker-wall li:nth-child(11) .sticker { transform: rotate(-6deg); }
.sticker-wall li:nth-child(12) .sticker { transform: rotate(4deg) translateY(-5px); }
.sticker-wall li:nth-child(13) .sticker { transform: rotate(-2deg) translateY(3px); }
.sticker-wall li:hover .sticker { transform: rotate(0deg) scale(1.08) translateY(-6px); filter: drop-shadow(0 16px 18px rgba(8, 13, 32, 0.3)); }
@media (prefers-reduced-motion: reduce) { .sticker { transition: none; } }

/* ---- Cards / grids ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-family: "Barlow", sans-serif; font-weight: 800; margin-bottom: 14px; }
.plan-card { display: flex; flex-direction: column; }
.plan-card .price { font-family: "Barlow", sans-serif; font-size: 2.2rem; font-weight: 800; line-height: 1; margin: 6px 0 2px; }
.plan-card .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan-card .hours { font-weight: 700; color: var(--blue); }
.plan-card.featured { border: 2px solid var(--blue); position: relative; }
.plan-card.featured::before { content: "Recommended"; position: absolute; top: -12px; left: 20px; background: var(--gold); color: var(--navy-950); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 999px; }
.callout { border-left: 4px solid var(--gold); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; box-shadow: var(--shadow); }
.mt-24 { margin-top: 24px; }
.banner { background: var(--gold); color: var(--navy-950); font-weight: 700; text-align: center; padding: 8px 16px; font-size: 0.9rem; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(110deg, var(--navy-950), var(--navy) 70%, var(--blue)); color: #fff; border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.8); }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.85em; background: var(--bg); border: 1px solid var(--border); padding: 1px 5px; border-radius: 6px; }

details.cat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; }
details.cat > summary { cursor: pointer; padding: 14px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; list-style: none; }
details.cat > summary::-webkit-details-marker { display: none; }
details.cat > summary::after { content: "+"; font-weight: 800; color: var(--blue); }
details.cat[open] > summary::after { content: "–"; }
details.cat .inner { padding: 0 18px 18px; }
details.cat h4 { margin: 14px 0 8px; font-size: 1rem; }

/* ---- Forms ---- */
.form-card { max-width: 520px; margin: 48px auto; }
label { font-weight: 600; display: block; margin-bottom: 6px; }
input[type="email"], input[type="text"], select, textarea { width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(42, 96, 169, 0.3); border-color: var(--blue); }
.field { margin-bottom: 18px; }
.field .help { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.errorlist { list-style: none; margin: 6px 0 0; padding: 0; color: var(--bad); font-size: 0.88rem; font-weight: 600; }
.radio-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.radio-list label { font-weight: 500; display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.radio-list div { display: contents; }

/* ---- Messages / pills ---- */
.messages { list-style: none; padding: 0; margin: 20px 0 0; }
.messages li { padding: 12px 16px; border-radius: 12px; margin-bottom: 8px; font-weight: 600; border: 1px solid var(--border); background: var(--card); }
.messages .success { border-color: var(--ok); }
.messages .error { border-color: var(--bad); }
.pill { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); white-space: nowrap; }
.pill-new, .pill-triage { color: var(--blue); border-color: currentColor; }
.pill-quoted { color: var(--warn); border-color: currentColor; }
.pill-approved, .pill-in_progress { color: #7c5cff; border-color: currentColor; }
.pill-waiting { color: var(--muted); }
.pill-resolved, .pill-closed { color: var(--ok); border-color: currentColor; }
.pill-rejected { color: var(--bad); border-color: currentColor; }

/* ---- Portal layout ---- */
.portal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 36px 0 24px; }
.portal-head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 0.94rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.quote-box { border: 2px solid var(--gold); }
.thread { display: grid; gap: 12px; margin-bottom: 20px; }
.msg { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.msg-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.msg-body { white-space: pre-wrap; }
.empty { text-align: center; color: var(--muted); padding: 32px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.75); margin-top: 72px; padding: 40px 0 28px; font-size: 0.92rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.site-footer img { height: 36px; width: auto; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 28px; padding-top: 16px; font-size: 0.82rem; }
