/* bio-traders / careers — shared design system (every page) */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* navy — primary (buttons, dark panels) */
  --ink:       #15213D;
  --ink-2:     #1C2B4D;
  --ink-3:     #24365E;
  --ink-line:  rgba(255,255,255,.08);
  --cream:     #F4F7FC;
  --cream-dim: rgba(226,234,248,.70);
  /* light surfaces */
  --paper:     #E9EEF6;
  --paper-2:   #DFE6F1;
  --card:      #FFFFFF;
  --line:      #D6DEEB;
  --line-2:    #C4CFE0;
  --text:      #0F1A33;
  --muted:     #5B6780;
  --faint:     #8A96AD;
  /* blue accent (named "amber" for historical reasons: all pages use these vars) */
  --amber:     #3461D9;
  --amber-hi:  #4B74E6;
  --amber-ink: #2447A8;
  --accent-bg: #D8E3FA;
  --on-ink-accent: #A9C1FF;
  --focus:     rgba(52,97,217,.28);
  --green:     #22B07D;
  --radius:    8px;
  --wrap:      1180px;
  --shadow:    0 1px 2px rgba(15,26,51,.04), 0 8px 24px -14px rgba(15,26,51,.18);
  --f-display: 'Inter Tight', 'Inter', sans-serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(21,33,61,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(21,33,61,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.card-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }

/* ── type helpers ─────────────────────────────────────────── */
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; color: var(--amber-ink); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); opacity: .7; }
.on-ink .eyebrow, .eyebrow.amber { color: var(--on-ink-accent); }
.on-ink .eyebrow::before { background: var(--on-ink-accent); }
.h-display { font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; }
.h-section { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; line-height: 1.08; color: var(--text); }
.hl { color: var(--amber); background: var(--accent-bg); border-radius: 10px; padding: 0 .14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mono { font-family: var(--f-mono); }

/* ── nav (floating card) ──────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 24px 0; }
.nav-in { max-width: calc(var(--wrap) - 48px); margin: 0 auto; height: 76px; padding: 0 14px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.brand-sym { display: block; height: 46px; width: 46px; flex-shrink: 0; }
.brand-word { display: block; height: 36px; width: auto; aspect-ratio: 825.9 / 152.9; flex-shrink: 0; }
.brand small { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: 0; color: var(--amber); }
.brand small::before { content: '/ '; color: var(--faint); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-a { color: var(--muted); text-decoration: none; font-size: 15.5px; font-weight: 500; padding: 10px 14px; border-radius: var(--radius); transition: color .15s, background .15s; }
.nav-a:hover { color: var(--text); background: var(--paper); }
.brand, .nav-a { white-space: nowrap; }
.nav .btn-sm { padding: 13px 20px; margin-left: 8px; font-size: 15px; }
/* Services dropdown: opens on hover, click or keyboard focus */
.nav-svc { position: relative; }
.nav-svc-btn { background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 4px; }
.nav-svc-car { font-size: 10px; transition: transform .2s; }
.nav-svc-menu { position: absolute; top: 100%; left: 50%; width: 300px; padding-top: 10px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.nav-svc-menu::before { content: ''; position: absolute; inset: 10px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow), 0 18px 40px -18px rgba(15,26,51,.35); }
.nav-svc:hover .nav-svc-menu, .nav-svc:focus-within .nav-svc-menu, .nav-svc.open .nav-svc-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-svc:hover .nav-svc-car, .nav-svc.open .nav-svc-car { transform: rotate(180deg); }
.nav-svc-item { position: relative; display: block; margin: 6px; padding: 10px 12px; border-radius: 10px; text-decoration: none; transition: background .15s; }
.nav-svc-item:first-child { margin-top: 16px; }
.nav-svc-item:hover, .nav-svc-item:focus-visible { background: var(--paper); }
.nav-svc-item b { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.nav-svc-item b em { font: 500 10px var(--f-mono); font-style: normal; color: var(--amber-ink); background: var(--accent-bg); padding: 2px 7px; border-radius: 999px; }
.nav-svc-item span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 720px) { .nav-a.hide-sm, .nav-svc.hide-sm { display: none; } }
@media (max-width: 960px) { .brand-sym { height: 38px; width: 38px; } .brand-word { height: 27px; } .nav-a { font-size: 14px; padding: 8px 8px; } .nav .btn-sm { padding: 11px 16px; font-size: 14px; } }
@media (max-width: 440px) { .nav { padding: 10px 12px 0; } .nav-in { height: 64px; padding: 0 8px 0 10px; gap: 8px; } .brand-sym { display: none; } .brand-word { height: 24px; } .brand small { display: none; } .nav-a { padding: 8px 7px; } .nav .btn-sm { padding: 9px 12px; margin-left: 2px; } }
@media (max-width: 380px) { .brand-word { height: 21px; } .nav-a { padding: 8px 6px; } }

/* ── buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px/1 var(--f-body); padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn-amber, .btn-ink { background: var(--ink); color: #fff; }
.btn-amber:hover, .btn-ink:hover { background: var(--ink-3); box-shadow: 0 10px 24px -12px rgba(21,33,61,.7); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-bg); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ── forms ────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .label { font-size: 12.5px; font-weight: 600; color: var(--text); }
.field small { font-size: 12px; color: var(--muted); }
.input, .select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); font: 400 14px var(--f-body); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6780' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.input:focus, .select:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--focus); }
.input::placeholder { color: var(--faint); }

/* choice chips (radio / checkbox styled as pills) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text); background: var(--card); cursor: pointer; transition: all .15s; user-select: none; }
.chip-opt span:hover { border-color: var(--ink); }
.chip-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-opt input:focus-visible + span { box-shadow: 0 0 0 3px var(--focus); }

/* segmented cards (career status) */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg .seg-card { display: block; height: 100%; padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); transition: all .15s; }
.seg .seg-card b { display: block; font-size: 13.5px; font-weight: 600; }
.seg .seg-card i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.seg label:hover .seg-card { border-color: var(--ink); }
.seg input:checked + .seg-card { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); background: #F3F7FF; }
.seg input:checked + .seg-card b::after { content: ' ✓'; color: var(--amber); }
.seg input:focus-visible + .seg-card { box-shadow: 0 0 0 3px var(--focus); }
@media (max-width: 520px) { .seg { grid-template-columns: 1fr; } }

.alert { padding: 12px 14px; border-radius: var(--radius); font-size: 13.5px; margin-bottom: 18px; }
.alert-err { background: #FDF0EE; border: 1px solid #F2C9C2; color: #8C2A1C; }
.alert-ok  { background: #EEF7F2; border: 1px solid #BFE0CF; color: #1D5B3E; }

.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; font: 600 14px var(--f-body); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.gbtn:hover { border-color: var(--ink); box-shadow: 0 6px 18px -12px rgba(15,26,51,.5); }
.gbtn svg { width: 18px; height: 18px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; font: 500 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ── live feed card (landing hero, auth side panel) ───────── */
.feed { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 40px 80px -40px rgba(15,26,51,.45); overflow: hidden; }
.feed-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #F7F9FD; font: 500 11px var(--f-mono); color: var(--faint); }
.feed-h span { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.feed-dots { display: inline-flex; gap: 5px; margin-right: 6px; }
.feed-dots i { width: 9px; height: 9px; border-radius: 50%; }
.feed-dots i:nth-child(1) { background: #F0716B; } .feed-dots i:nth-child(2) { background: #F5BF4F; } .feed-dots i:nth-child(3) { background: #5CC77E; }
.feed-win { height: 392px; overflow: hidden; padding: 0 10px; mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); }
.feed-track { animation: feed 46s linear infinite; }
.feed:hover .feed-track { animation-play-state: paused; }
@keyframes feed { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.feed-row { display: block; text-decoration: none; padding: 12px 14px; margin: 8px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.feed-row:hover { border-color: var(--amber); box-shadow: 0 8px 20px -14px rgba(52,97,217,.6); }
.feed-co { display: inline-block; font: 600 10.5px var(--f-body); letter-spacing: .02em; color: var(--amber-ink); background: var(--accent-bg); padding: 2px 8px; border-radius: 999px; }
.feed-t { font-size: 14px; font-weight: 600; color: var(--text); margin: 6px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-m { font: 400 11.5px var(--f-mono); color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,176,125,.15); animation: pulse 1.8s infinite; display: inline-block; }

/* ── auth split layout ────────────────────────────────────── */
.auth { min-height: calc(100vh - 90px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; max-width: var(--wrap); margin: 0 auto; padding: 24px 24px 64px; }
.auth-side { position: sticky; top: 108px; align-self: start; min-height: calc(100vh - 132px); overflow: hidden; background: var(--ink); color: var(--cream); padding: 48px 44px; border-radius: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth-side::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%); pointer-events: none; }
.auth-side::after { content: ''; position: absolute; width: 520px; height: 520px; right: -200px; bottom: -220px; background: radial-gradient(circle, rgba(75,116,230,.35), transparent 65%); pointer-events: none; }
.auth-side > * { position: relative; }
.auth-side .feed { margin-top: 28px; max-width: 460px; border-color: transparent; }
.auth-side .feed-win { height: 300px; }
.auth-side h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.035em; line-height: 1.05; margin: 14px 0 14px; }
.auth-side p { color: var(--cream-dim); font-size: 15px; max-width: 420px; }
.auth-points { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.auth-points li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: var(--cream); }
.auth-points li b { font: 500 12px var(--f-mono); color: var(--on-ink-accent); }
.auth-stats { display: flex; gap: 32px; font: 400 12.5px var(--f-mono); color: var(--cream-dim); border-top: 1px solid var(--ink-line); padding-top: 22px; }
.auth-stats strong { display: block; font: 800 26px var(--f-display); color: #fff; letter-spacing: -.02em; }
.auth-main { display: flex; align-items: flex-start; justify-content: center; padding: 40px 32px 48px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); align-self: start; }
.auth-card { width: 100%; max-width: 480px; }
.auth-card h1 { font-family: var(--f-display); font-weight: 800; font-size: 32px; letter-spacing: -.03em; line-height: 1.1; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin: 6px 0 26px; }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-sec { padding-top: 22px; margin-top: 6px; border-top: 1px solid var(--line); }
.form-sec-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.form-sec-h .eyebrow { color: var(--muted); }
.form-sec-h .eyebrow::before { display: none; }
.form-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 20px; }
.form-foot a { color: var(--text); font-weight: 600; }
.fine { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
[hidden] { display: none !important; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; padding: 16px 16px 48px; }
  .auth-side { position: relative; top: 0; min-height: 0; padding: 32px 24px; }
  .auth-side .auth-points, .auth-side .auth-stats, .auth-side .feed { display: none; }
  .auth-main { padding: 28px 20px; }
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ── footer ───────────────────────────────────────────────── */
.foot { color: var(--muted); font-size: 13px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 32px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-left: 18px; }
.foot a:hover { color: var(--text); }

/* ── motion ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* Primary career-sector navigation */
.sector-bubbles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.sector-bubble { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 142px; padding: 18px 8px; border: 1px solid var(--line-2); border-radius: 40px; background: var(--card); text-decoration: none; text-align: center; box-shadow: var(--shadow); transition: transform .18s, border-color .18s, background .18s; }
.sector-bubble > b { font: 800 30px var(--f-display); color: var(--amber-ink); }
.sector-bubble > span { font-size: 11px; font-weight: 600; }
.sector-bubble small { font: 400 10px var(--f-mono); color: var(--muted); }
.sector-bubble:hover { transform: translateY(-4px); border-color: var(--amber); background: var(--accent-bg); }
.sector-bubble:focus-visible, .sector-option input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 4px; }
.sector-selector { border: 0; padding: 22px 0 4px; margin: 0; }
.sector-selector legend { float: left; width: 100%; margin-bottom: 12px; font: 500 12px var(--f-mono); color: var(--muted); }
.sector-options { display: flex; gap: 8px; flex-wrap: wrap; clear: both; }
.sector-option { position: relative; cursor: pointer; }
.sector-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sector-option span { display: inline-flex; gap: 8px; align-items: center; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 13px; transition: background .15s; }
.sector-option span b { color: var(--amber-ink); }
.sector-option input:checked + span { background: var(--ink); border-color: var(--ink); color: white; }
.sector-option input:checked + span b { color: var(--on-ink-accent); }
@media (max-width: 520px) {
  .sector-bubbles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-bubble { min-height: 125px; border-radius: 32px; }
  .sector-option span { padding: 10px 13px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .sector-bubble { transition: none; } }

/* ── combo: searchable multi-select (sign-up areas / cities) ── */
.combo { position: relative; }
.combo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.combo-chips:not(:empty) { margin-bottom: 8px; }
.combo-chip { display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--f-body); padding: 6px 10px 6px 12px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.combo-chip::after { content: '×'; font-size: 15px; line-height: 1; opacity: .7; }
.combo-chip:hover::after { opacity: 1; }
.combo-list { margin-top: 6px; max-height: 280px; overflow-y: auto; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow), 0 18px 40px -18px rgba(15,26,51,.35); padding: 6px; }
.combo-g { font: 500 10.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 10px 10px 4px; }
.combo-o { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.combo-o small { font: 400 11.5px var(--f-mono); color: var(--faint); }
.combo-o:hover, .combo-o.act { background: var(--paper); }
.combo-o[aria-selected="true"] { color: var(--amber-ink); font-weight: 600; }
.combo-o[aria-selected="true"]::after { content: '✓'; }
.combo-o[aria-selected="true"] small { display: none; }
.combo-none { padding: 10px; color: var(--muted); font-size: 14px; }
