/* Talopia design system. Public/marketing site is a bespoke, conversion-focused design
   (decoupled from hirelinks.de). Portal shell below is the original app layout. */
:root {
  --primary: #2563eb;
  --primary-soft: #eff6ff;
  --ink: #0f172a;
  --ink-hover: #1e293b;
  --success: #16a34a;
  --success-soft: #dcfce7;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --warning: #ca8a04;
  --warning-soft: #fef9c3;
  --orange: #ea580c;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --sidebar-w: 264px;

  /* Marketing design system (public site) */
  --indigo: #4f46e5;
  --accent: #f59e0b;          /* warm, optimistic highlight */
  --accent-soft: #fef3c7;
  --teal: #0ea5b7;
  --ink-deep: #0a1020;        /* deepest navy — hero/footer bands */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  --grad-text: linear-gradient(120deg, #2563eb 0%, #4f46e5 55%, #0ea5b7 100%);
  --shadow-card: 0 1px 2px rgba(15,23,42,.04), 0 10px 30px -14px rgba(15,23,42,.18);
  --shadow-lg: 0 30px 70px -20px rgba(15,23,42,.32);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5rem; font-weight: 700; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

/* Inline icons default to text size (more specific rules below override, e.g. nav). */
svg { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }

/* ---------- App shell ---------- */
.topbar {
  height: 64px; background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand-logo { width: 28px; height: 28px; flex-shrink: 0; }
.brand .logo { display: inline-flex; gap: 3px; }
.brand .logo span { width: 4px; height: 18px; background: var(--ink); border-radius: 2px; }
.brand .logo span:nth-child(2) { height: 22px; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.topbar-actions .tb-item {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  border-radius: var(--radius-sm); color: var(--muted); font-size: .9rem; border: 1px solid transparent;
}
.topbar-actions .tb-item:hover { background: var(--bg); text-decoration: none; }
.topbar-actions .tb-item.bordered { border-color: var(--border); }
.lang-form { margin: 0; }
.lang-form select { width: auto; padding: 7px 28px 7px 10px; border-radius: var(--radius-sm); font-size: .9rem; color: var(--muted); background-color: #fff; cursor: pointer; }

.layout { display: flex; min-height: calc(100vh - 64px); }
.sidebar {
  width: var(--sidebar-w); background: var(--surface); border-right: 1px solid var(--border);
  padding: 20px 14px; flex-shrink: 0;
}
.sidebar .portal-title { font-weight: 700; font-size: 1.05rem; color: var(--ink); padding: 0 10px; }
.sidebar .portal-user { color: var(--muted); font-size: .85rem; padding: 0 10px 16px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  color: #334155; font-weight: 500; margin-bottom: 2px;
}
.nav-item:hover { background: var(--bg); text-decoration: none; }
.nav-item.active { background: var(--primary-soft); color: var(--primary); }
.nav-item.active svg { color: var(--primary); }
.nav-item.disabled { color: #cbd5e1; pointer-events: none; }
.nav-item svg { width: 18px; height: 18px; color: #64748b; flex-shrink: 0; }

.content { flex: 1; min-width: 0; }
.page-header {
  background: linear-gradient(120deg, #eff6ff 0%, #f8fafc 60%);
  padding: 28px 32px; border-bottom: 1px solid var(--border);
}
.page-header h1 { margin: 0; }
.page-header .sub { color: var(--muted); margin: 4px 0 0; }
.page-body { padding: 28px 32px; max-width: 1180px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; margin-bottom: 20px;
}
.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.card-accent { border-left: 4px solid var(--primary); }

/* Inline form (e.g. recognition status tracker) */
.form-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form-inline select { width: auto; min-width: 240px; }
.cta-actions.start { justify-content: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem;
  border: 1px solid transparent; cursor: pointer; transition: background .12s; text-decoration: none;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-hover); text-decoration: none; color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg); text-decoration: none; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: #1d4ed8; color: #fff; text-decoration: none; }
.btn:disabled, .btn.disabled { opacity: .5; pointer-events: none; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: .8rem; font-weight: 600;
}
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-muted { background: #f1f5f9; color: #475569; }
.badge-blue { background: var(--primary-soft); color: var(--primary); }
.badge-time { background: #f1f5f9; color: #475569; }

/* ---------- Alerts / banners ---------- */
.banner { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .92rem; }
.banner-info { background: var(--primary-soft); color: #1e40af; }
.banner-warning { background: var(--warning-soft); color: #854d0e; }
.banner-danger { background: var(--danger-soft); color: var(--danger); border: 1px solid #fecaca; }
.banner-success { background: var(--success-soft); color: #166534; }
.messages { padding: 16px 32px 0; max-width: 1180px; }
.banner-action { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Progress ---------- */
.progress { background: #e2e8f0; height: 10px; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--ink); border-radius: 999px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-row.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .88rem; color: #334155; }
input, select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; color: var(--text); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
textarea { min-height: 90px; resize: vertical; }
.errorlist { color: var(--danger); list-style: none; padding: 0; margin: 4px 0 0; font-size: .85rem; }
.help { color: var(--muted); font-size: .82rem; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: auto; }

/* ---------- Visa cards ---------- */
.visa-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.visa-card.eligible { border-color: #bbf7d0; }
.visa-card.not-eligible { background: #fffbfb; }
.visa-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.visa-head h3 { margin: 0; font-size: 1.1rem; }
.req-list { list-style: none; padding: 0; margin: 10px 0; }
.req-list li { display: flex; align-items: center; gap: 8px; padding: 3px 0; color: #334155; }
.req-list li svg { width: 16px; height: 16px; }
.section-orange { color: var(--orange); font-weight: 700; margin-top: 10px; }
.bullet-orange { list-style: none; padding: 0; margin: 6px 0; }
.bullet-orange li { color: #9a3412; padding: 2px 0; }
.bullet-orange li::before { content: "•"; color: var(--orange); margin-right: 8px; }
.missing-box { background: var(--danger-soft); border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 12px; }
.missing-box .title { color: var(--danger); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.missing-box ul { margin: 6px 0 0; padding-left: 20px; color: var(--danger); }
.visa-foot { color: var(--muted); font-size: .86rem; margin-top: 12px; }

/* profile summary chips on visa page */
.summary-bar { display: flex; flex-wrap: wrap; gap: 18px; }
.summary-bar .chip-label { color: var(--muted); font-size: .85rem; }
.summary-bar b { background: var(--primary-soft); color: var(--primary); padding: 2px 10px; border-radius: 999px; margin-left: 6px; font-size: .8rem; }

/* ---------- Action plan ---------- */
.step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.step-num { width: 30px; height: 30px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.step-body { flex: 1; }
.step-body h4 { margin: 0 0 4px; }
.step-meta { display: flex; gap: 8px; margin-top: 8px; align-items: center; }

/* ---------- Job board split screen ---------- */
.job-board { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.job-list { display: flex; flex-direction: column; gap: 12px; max-height: 75vh; overflow-y: auto; padding-right: 4px; }
.job-list-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: #fff; cursor: pointer; }
.job-list-item:hover { border-color: var(--primary); text-decoration: none; }
.job-list-item.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.job-list-item .jt { font-weight: 700; color: var(--primary); }
.job-list-item .meta { color: var(--muted); font-size: .85rem; margin: 4px 0; }
.salary { color: var(--success); font-weight: 700; }
.job-detail { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: #fff; position: sticky; top: 84px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.filter-bar { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 10px; margin-bottom: 18px; align-items: end; }

/* ---------- Tables ---------- */
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); }
table.data th { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Tag input chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { background: var(--primary-soft); color: var(--primary); padding: 4px 10px; border-radius: 999px; font-size: .85rem; display: inline-flex; gap: 6px; align-items: center; }
.chip form { display: inline; }
.chip button { background: none; border: 0; color: var(--primary); cursor: pointer; padding: 0; font-size: 1rem; line-height: 1; }

/* ---------- KPI grid ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.kpi .num { font-size: 2rem; font-weight: 800; color: var(--ink); }
.kpi .lbl { color: var(--muted); font-size: .88rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 20px; }
.notfound .code { font-size: 5rem; font-weight: 800; color: var(--ink); }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 24px; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-width: 420px; padding: 32px; }
.auth-card .brand { justify-content: center; margin-bottom: 8px; }

/* Avatars */
.avatar { width: 30px; height: 30px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .8rem; }
.avatar-lg { width: 104px; height: 104px; font-size: 2rem; border: 1px solid var(--border); }
.avatar-row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.avatar-row .form-row { flex: 1; }

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.empty { text-align: center; color: var(--muted); padding: 40px; }

/* ============================================================
   MARKETING / PUBLIC SITE  (decoupled from hirelinks.de)
   ============================================================ */

/* ---- Nav ---- */
.public-nav {
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0 28px; position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.public-nav .brand { font-size: 1.3rem; }
.public-nav-actions { display: flex; align-items: center; gap: 6px; }
.public-nav-actions .nav-link { color: #475569; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 8px; }
.public-nav-actions .nav-link:hover { color: var(--ink); background: var(--bg); text-decoration: none; }
.public-nav-actions .lang-form { margin: 0 4px; }
.public-nav-actions .lang-form select { padding: 7px 26px 7px 10px; font-size: .88rem; }

/* ---- Marketing buttons ---- */
.btn-lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 12px; }
.btn-cta { background: var(--grad-primary); color: #fff; box-shadow: 0 14px 30px -10px rgba(37,99,235,.6); }
.btn-cta:hover { color: #fff; text-decoration: none; filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); box-shadow: var(--shadow); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #cbd5e1; text-decoration: none; transform: translateY(-1px); }

/* ---- Shared section scaffolding ---- */
.m-section { padding: 88px 24px; }
.m-section.alt { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }
.m-section-inner { max-width: var(--maxw); margin: 0 auto; }
.m-section-inner.narrow { max-width: 760px; }
.m-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.m-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.m-head p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .82rem; letter-spacing: .01em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.18); }
.eyebrow-2 { display: inline-block; color: var(--primary); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Hero ---- */
.m-hero { position: relative; overflow: hidden; padding: 56px 24px 0;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(79,70,229,.16), transparent 60%),
    radial-gradient(900px 480px at 8% 4%, rgba(37,99,235,.14), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}
.m-hero-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 48px 0 72px; }
.m-hero-copy h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; margin: 20px 0 0; }
.m-lead { color: #475569; font-size: 1.15rem; line-height: 1.6; margin: 22px 0 0; max-width: 36ch; }
.m-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.m-hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.m-hero-trust svg { color: var(--success); }
.m-hero-trust span { color: #cbd5e1; }

/* Hero mock card (product preview) */
.m-hero-visual { position: relative; }
.mock-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 22px; max-width: 420px; margin-left: auto;
}
.mock-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.mock-ava { width: 46px; height: 46px; border-radius: 999px; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.mock-top .badge { margin-left: auto; }
.mock-top .nm { font-weight: 700; color: var(--ink); }
.mock-top .rl { color: var(--muted); font-size: .85rem; }
.mock-section-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 16px 0 10px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); margin-bottom: 8px; }
.mock-row svg { color: var(--success); width: 18px; height: 18px; }
.mock-row.dim svg { color: #cbd5e1; }
.mock-row .t { flex: 1; font-weight: 600; color: #334155; font-size: .92rem; }
.mock-bar { height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; margin-top: 4px; }
.mock-bar > span { display: block; height: 100%; width: 100%; background: var(--grad-primary); border-radius: 999px; }
.mock-float {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-card); padding: 12px 14px; display: flex; align-items: center; gap: 10px;
}
.mock-float .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.mock-float b { display: block; color: var(--ink); font-size: .9rem; }
.mock-float span { color: var(--muted); font-size: .78rem; }

/* ---- Stat bar ---- */
.m-stats {
  max-width: var(--maxw); margin: 0 auto; transform: translateY(34px);
  background: var(--ink-deep); color: #fff; border-radius: var(--radius-xl);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 12px; box-shadow: var(--shadow-lg);
}
.m-stats .stat { text-align: center; padding: 6px 12px; }
.m-stats .stat + .stat { border-left: 1px solid rgba(255,255,255,.1); }
.m-stats .num { font-size: 2.1rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-stats .lbl { color: #94a3b8; font-size: .85rem; margin-top: 2px; }
.m-hero + .m-section { padding-top: 116px; }

/* ---- How it works (steps) ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-card); }
.step-no { position: absolute; top: -16px; left: 26px; width: 36px; height: 36px; border-radius: 10px; background: var(--grad-primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -6px rgba(37,99,235,.6); }
.step-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 14px 0 16px; }
.step-ic svg { width: 26px; height: 26px; }
.step-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); margin: 0; }

/* ---- Audience split ---- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-card); color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.split-card:hover { text-decoration: none; transform: translateY(-3px); border-color: #c7d2fe; box-shadow: 0 24px 50px -22px rgba(37,99,235,.4); }
.split-ic { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 18px; }
.split-ic svg { width: 28px; height: 28px; }
.split-ic.blue { background: var(--grad-primary); }
.split-ic.teal { background: linear-gradient(135deg, #0ea5b7 0%, #2563eb 100%); }
.split-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.split-card > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ticks li { display: flex; align-items: center; gap: 10px; color: #334155; font-weight: 500; font-size: .94rem; }
.ticks svg { color: var(--success); width: 18px; height: 18px; flex-shrink: 0; }
.split-link { font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.split-card:hover .split-link { gap: 10px; }

/* ---- Visa strip ---- */
.visa-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.visa-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 600; color: #334155; }
.visa-pill svg { color: var(--primary); width: 18px; height: 18px; }
.m-note { text-align: center; color: var(--muted); margin-top: 26px; }

/* ---- Testimonials ---- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); }
.tcard .stars { color: var(--accent); letter-spacing: 2px; font-size: 1rem; }
.tcard blockquote { margin: 12px 0 20px; color: #334155; font-size: 1.02rem; line-height: 1.6; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.tcard .who b { color: var(--ink); display: block; font-size: .94rem; }
.tcard .who span { color: var(--muted); font-size: .84rem; }

/* ---- FAQ ---- */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ---- Final CTA band ---- */
.m-cta { padding: 28px 24px 80px; }
.m-cta-inner {
  max-width: var(--maxw); margin: 0 auto; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(79,70,229,.5), transparent 60%),
    radial-gradient(600px 280px at 10% 100%, rgba(14,165,183,.4), transparent 60%),
    var(--ink-deep);
  color: #fff; border-radius: var(--radius-xl); padding: 72px 24px; box-shadow: var(--shadow-lg);
}
.m-cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.m-cta-inner p { color: #cbd5e1; max-width: 560px; margin: 12px auto 0; font-size: 1.08rem; }

/* legacy aliases still used by content pages / CTA actions */
a.feature-card:hover { border-color: var(--primary); text-decoration: none; box-shadow: 0 6px 24px rgba(37,99,235,.12); }
.cta-band { background: var(--ink-deep); color: #fff; text-align: center; padding: 76px 24px; }
.cta-band h2 { color: #fff; font-size: 2.2rem; font-weight: 800; }
.cta-band p { color: #cbd5e1; max-width: 640px; margin: 10px auto 0; font-size: 1.05rem; }

/* Registration role chooser */
.role-cards { display: flex; gap: 12px; margin-bottom: 6px; }
.role-card { flex: 1; border: 1px solid var(--border); border-radius: 10px; padding: 14px; cursor: pointer; display: flex; gap: 10px; align-items: center; font-weight: 600; }
.role-card input { width: auto; margin: 0; }
.role-card svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.role-card:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.auth-alt { text-align: center; margin-top: 16px; color: var(--muted); font-size: .9rem; }
.auth-alt a { font-weight: 600; }

/* Login role toggle + password field */
.seg-toggle { display: flex; background: #f1f5f9; border-radius: 10px; padding: 4px; margin: 6px 0 18px; }
.seg-toggle button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 8px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg-toggle button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,42,.12); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: .85rem; font-weight: 600; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 42px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; color: var(--muted); display: inline-flex; padding: 6px; }
.pw-eye:hover { color: var(--ink); }

/* Social login */
.auth-divider { display: flex; align-items: center; text-align: center; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { padding: 0 12px; }
.btn-social { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn-social:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
.btn-social svg { color: #0a66c2; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef2f7; color: var(--ink); text-decoration: none; }
.btn-light-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-light-outline:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }

/* Footer (dark, multi-column) */
.site-footer { background: var(--ink-deep); color: #94a3b8; }
.footer-top { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 40px; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin: 14px 0 18px; max-width: 34ch; font-size: .92rem; line-height: 1.6; color: #94a3b8; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); color: #cbd5e1; display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--primary); color: #fff; text-decoration: none; }
.footer-col h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
.footer-col a { display: block; color: #94a3b8; font-size: .92rem; padding: 6px 0; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { max-width: var(--maxw); margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Content pages */
.feature-icon { display: flex; align-items: center; justify-content: center; }
.page-hero { text-align: center; padding: 76px 24px 56px;
  background: radial-gradient(820px 360px at 50% -12%, rgba(37,99,235,.13), transparent 60%), linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.02em; margin: 0; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 16px auto 0; font-size: 1.1rem; }
.page-prose { max-width: 800px; margin: 0 auto; padding: 52px 24px 72px; }
.page-prose h2 { margin-top: 32px; }
.page-prose p { color: #334155; font-size: 1.02rem; line-height: 1.7; }
.prose-list { padding-left: 0; list-style: none; margin: 14px 0; }
.prose-list li { display: flex; gap: 10px; padding: 8px 0; color: #334155; align-items: flex-start; }
.prose-list li::before { content: "✓"; color: var(--success); font-weight: 800; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 32px 0; }
.info-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; background: #fff; box-shadow: var(--shadow-card); transition: transform .15s, box-shadow .15s; }
.info-card:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -22px rgba(15,23,42,.32); }
.info-card .feature-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--primary-soft); color: var(--primary); justify-content: center; margin-bottom: 14px; }
.info-card .feature-icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 6px; }

/* Contact modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.5); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 60; overflow: auto; }
.modal-overlay[hidden] { display: none; }
.modal { background: #fff; border-radius: 14px; width: 100%; max-width: 460px; padding: 24px; box-shadow: 0 20px 60px rgba(15,23,42,.3); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.modal-head h3 { margin: 0; }
.modal-close { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; display: inline-flex; }
.modal-close:hover { color: var(--ink); }
.label-counter { display: flex; justify-content: space-between; align-items: baseline; }
.counter { color: var(--muted); font-size: .78rem; }
.phone-row { display: flex; gap: 8px; }
.phone-row select { width: auto; flex: 0 0 112px; }

/* AI chat widget */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 50; }
.chat-fab { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; border: 0; cursor: pointer; padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(37,99,235,.35); font-weight: 600; font-family: inherit; font-size: .95rem; }
.chat-fab:hover { background: #1d4ed8; }
.chat-panel { position: absolute; right: 0; bottom: 64px; width: 360px; max-width: calc(100vw - 32px); height: 480px; max-height: 70vh; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 60px rgba(15,23,42,.3); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { background: var(--ink); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.chat-head span { display: inline-flex; align-items: center; gap: 8px; }
.chat-close { background: none; border: 0; color: #fff; cursor: pointer; display: inline-flex; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { max-width: 82%; padding: 10px 12px; border-radius: 12px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; }
.chat-msg.bot { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.typing { color: var(--muted); font-style: italic; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: #fff; }
.chat-input input { flex: 1; }
.chat-input .btn { padding: 10px 12px; }

@media (max-width: 980px) {
  .m-hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 32px 0 56px; }
  .m-hero-visual { order: -1; }
  .mock-card { margin: 0 auto; }
  .m-lead { max-width: none; }
  .steps-grid, .tcards { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .sidebar { display: none; }
  .form-grid, .job-board, .filter-bar { grid-template-columns: 1fr; }
  .job-detail { position: static; }
  .public-nav { height: auto; flex-wrap: wrap; gap: 8px; padding: 12px 20px; }
  .public-nav-actions { flex-wrap: wrap; }
  .m-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; transform: translateY(28px); }
  .m-stats .stat:nth-child(3) { border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom-inner { justify-content: center; }
  .m-section, .m-hero, .cta-band, .page-hero, .page-prose { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .m-hero-cta .btn, .cta-actions .btn { width: 100%; }
}
