/* SuperAIJobs demo — shared tokens + site chrome (header, footer, modal). */
:root {
  --ink:#0d0f1a; --ink-2:#171a2e; --ink-3:#252a45;
  --violet:#6d5efc; --violet-dk:#5446e8; --violet-soft:#efedff; --violet-line:#d9d4ff;
  --lime:#c6f432; --lime-dk:#9fcc12;
  --green:#12a150; --green-soft:#e6f6ec;
  --hot:#ff6b3d; --hot-dk:#e8552a; --hot-soft:#fff0ea;
  --paper:#f6f6fa; --card:#ffffff; --line:#e6e6ef; --line-2:#f0f0f5;
  --text:#14151f; --body:#3a3d4f; --muted:#6b6f80;
  --display:'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --mono:'Geist Mono', ui-monospace, 'SF Mono', monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: var(--paper); color: var(--text); overflow-x: hidden; }
a { color: inherit; }
button { font-family: inherit; }

/* ── buttons ── */
.saj-btn-primary, .saj-btn-ghost, .saj-btn-lime {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.saj-btn-primary { background: var(--violet); color: #fff; }
.saj-btn-primary:hover { background: var(--violet-dk); }
.saj-btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.saj-btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.saj-btn-lime { background: var(--lime); color: var(--ink); }
.saj-btn-lime:hover { background: #d5ff4f; }
.saj-btn-block { width: 100%; padding: 12px 16px; font-size: 15px; }

/* ── logo ── */
.saj-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.saj-logo-mark { display: inline-flex; width: 32px; height: 32px; color: var(--violet); }
.saj-logo-mark svg { width: 100%; height: 100%; display: block; }
.saj-logo-word { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.saj-logo-word em { font-style: normal; color: var(--violet); }

/* ── header ── */
.saj-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.saj-header-inner { max-width: 1320px; margin: 0 auto; padding: 0 32px; height: 66px; display: flex; align-items: center; gap: 34px; }
.saj-nav { display: flex; gap: 4px; }
.saj-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--body); text-decoration: none; }
.saj-nav a:hover { background: var(--violet-soft); color: var(--violet-dk); }
.saj-nav a.is-active { color: var(--violet-dk); }
.saj-header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.saj-burger { display: none; width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.saj-burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
body.is-signed-in .saj-btn-ghost[data-saj-signin] { display: none; }

/* ── "just raised" ticker ── */
.saj-ticker { background: var(--ink); color: #c9cbe0; font-size: 13px; overflow: hidden; border-bottom: 1px solid var(--ink-3); }
.saj-ticker-inner { display: flex; align-items: center; height: 40px; }
.saj-ticker-label { flex: none; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 32px; background: var(--ink); position: relative; z-index: 1; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); box-shadow: 16px 0 16px var(--ink); }
.saj-ticker-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: saj-pulse 1.6s ease-in-out infinite; }
.saj-ticker-track { display: flex; gap: 34px; white-space: nowrap; animation: saj-scroll 80s linear infinite; padding-left: 16px; }
.saj-ticker:hover .saj-ticker-track { animation-play-state: paused; }
.saj-ticker a { text-decoration: none; color: #c9cbe0; }
.saj-ticker a strong { color: #fff; font-weight: 600; }
.saj-ticker a b { color: var(--lime); font-weight: 600; }
.saj-ticker a:hover strong { text-decoration: underline; }
@keyframes saj-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes saj-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .saj-ticker-track { animation: none; } }

/* ── footer ── */
.saj-footer { background: var(--ink); color: #a9acc4; margin-top: 40px; }
.saj-footer-inner { max-width: 1320px; margin: 0 auto; padding: 56px 32px 28px; }
.saj-footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; }
.saj-footer .saj-logo { color: #fff; }
.saj-footer .saj-logo-word em { color: var(--lime); }
.saj-footer-brand p { font-size: 14px; line-height: 1.6; margin: 16px 0 22px; max-width: 42ch; }
.saj-alert { display: grid; gap: 4px; padding: 18px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-3); max-width: 380px; }
.saj-alert strong { color: #fff; font-family: var(--display); font-size: 17px; font-weight: 700; }
.saj-alert span { font-size: 13px; margin-bottom: 10px; }
.saj-alert .saj-btn-lime { justify-self: start; }
.saj-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.saj-footer-cols h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.saj-footer-cols a { display: block; padding: 5px 0; font-size: 14px; color: #a9acc4; text-decoration: none; }
.saj-footer-cols a:hover { color: var(--lime); }
.saj-footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--ink-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.saj-footer-bottom a { color: #fff; }

/* ── demo sign-up modal ── */
.saj-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(13,15,26,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.saj-modal[hidden] { display: none; }
.saj-modal-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(13,15,26,.35); }
.saj-modal-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.saj-modal-x:hover { background: rgba(255,255,255,.22); }
.saj-modal-head { padding: 26px 26px 22px; color: #fff; background: radial-gradient(120% 140% at 90% 0%, var(--violet) 0%, var(--ink-2) 65%); }
.saj-modal-head .saj-logo-mark { width: 38px; height: 38px; color: var(--violet); }
.saj-modal-head h2 { margin: 14px 0 6px; font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -0.01em; }
.saj-modal-head p { margin: 0; font-size: 14px; line-height: 1.5; color: #c9cbe0; }
.saj-modal-body { padding: 22px 26px 24px; }
.saj-modal-body label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.saj-modal-body input { width: 100%; padding: 11px 13px; margin-bottom: 12px; border: 1.5px solid var(--violet-line); border-radius: 10px; font: inherit; font-size: 15px; }
.saj-modal-body input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(109,94,252,.2); }
.saj-modal-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }
.saj-modal-note a { color: var(--muted); }
.saj-modal-card { max-height: calc(100vh - 40px); overflow-y: auto; }
.saj-modal-body label span { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.saj-modal-body .saj-m-check { display: flex; align-items: center; gap: 8px; margin: 2px 0 16px; font-size: 14px; font-weight: 500; cursor: pointer; }
.saj-modal-body .saj-m-check input { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--violet); }
.saj-m-saved { margin-bottom: 16px; padding: 12px 14px; background: var(--violet-soft); border-radius: 12px; }
.saj-m-k { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-dk); }
.saj-m-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.saj-m-chips span { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--violet-line); color: var(--text); }
.saj-m-saved .saj-m-lead { margin: 0; }
.saj-m-lead { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--body); }
.saj-modal-body input.saj-m-otp { font-family: var(--mono); font-size: 24px; letter-spacing: .4em; text-align: center; }
.saj-m-status { min-height: 1em; margin: 10px 0 0; font-size: 13px; text-align: center; }
.saj-m-status:empty { display: none; }
.saj-m-status.is-err { color: #c2410c; }
.saj-m-status.is-ok { color: var(--green); }
.saj-m-link { display: block; margin: 12px auto 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--violet); cursor: pointer; }
.saj-m-link:hover { text-decoration: underline; }
body.saj-modal-open { overflow: hidden; }

/* ── toast ── */
.saj-toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(13,15,26,.3); transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.saj-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .saj-header-inner { padding: 0 16px; gap: 12px; height: 60px; }
  .saj-burger { display: inline-flex; }
  .saj-btn-ghost[data-saj-signin] { display: none; }
  .saj-header-actions .saj-btn-primary { padding: 8px 12px; font-size: 13px; }
  .saj-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 14px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(13,15,26,.08); }
  .saj-nav.is-open { display: flex; }
  .saj-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .saj-ticker-label { padding-left: 16px; }
  .saj-footer-inner { padding: 40px 16px 24px; }
  .saj-footer-top { grid-template-columns: 1fr; gap: 36px; }
  .saj-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .saj-logo-word { font-size: 18px; }
  .saj-header-actions .saj-btn-primary { display: none; }
}
