/* ============================================================
   Careerly for Employers — shared styles
   Enterprise trust · navy + trust-blue + success green
   Type: Newsreader (serif headlines) / Libre Franklin (UI)
   ============================================================ */

:root {
  --navy: #0E2238;
  --navy-2: #14304E;
  --navy-3: #1C3F63;
  --ink: #0E2238;
  --slate: #45586E;
  --slate-2: #6B7E94;
  --slate-3: #93A3B6;
  --paper: #FFFFFF;
  --mist: #F4F7FB;
  --mist-2: #E9EFF6;
  --line: #DCE5EF;
  --line-soft: #EAF0F7;
  --blue: #2C5FE0;
  --blue-dark: #1E45B0;
  --blue-soft: #EAF0FD;
  --green: #15924F;
  --green-soft: #E4F4EA;
  --amber: #B7791F;
  --amber-soft: #FBF1DD;

  --d-line: rgba(255,255,255,0.12);
  --d-line-soft: rgba(255,255,255,0.07);
  --d-text: rgba(233,240,247,0.72);
  --d-text-dim: rgba(233,240,247,0.5);

  --font-serif: "Newsreader", Georgia, serif;
  --font-sans: "Libre Franklin", system-ui, sans-serif;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 60px);
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(14,34,56,0.06), 0 2px 8px rgba(14,34,56,0.04);
  --shadow: 0 4px 12px rgba(14,34,56,0.07), 0 16px 40px -20px rgba(14,34,56,0.18);
  --shadow-lg: 0 30px 70px -30px rgba(14,34,56,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.018em; }
.sans-h { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.02em; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }
.on-dark .eyebrow { color: #8FB0FF; }
.on-dark .eyebrow::before { background: #8FB0FF; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em; transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(28,63,99,.2); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(44,95,224,.5); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.on-dark .btn-ghost { color: #fff; border-color: var(--d-line); }
.on-dark .btn-ghost:hover { border-color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.btn-lg { padding: 17px 30px; font-size: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; transition: background .4s var(--ease), box-shadow .4s, padding .4s var(--ease), backdrop-filter .4s; }
.nav.scrolled { background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); padding: 11px 0; }
.nav-inner { display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-serif); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--navy); }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; }
.logo-mark img { width: 34px; height: 34px; object-fit: contain; display: block; }
.on-dark .logo-mark img, .footer-brand .logo-mark img, .nav.on-dark .logo-mark img { filter: brightness(0) invert(1); }
.logo .tag { font-family: var(--font-sans); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 3px 8px; border-radius: 5px; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--slate); padding: 8px 14px; border-radius: 8px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--mist); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-right .signin { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 8px 12px; }
.nav-toggle { display: none; }

/* mobile nav open state */
.nav-links.mobile-open {
  display: flex; flex-direction: column; align-items: flex-start;
  position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
  box-shadow: var(--shadow);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(120px, 16vh, 175px); padding-bottom: clamp(50px, 7vh, 90px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; background: var(--blue-soft); color: var(--blue-dark); border: 1px solid #D4E1FB; padding: 7px 14px 7px 10px; border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.hero h1 { font-size: clamp(42px, 5.6vw, 74px); line-height: 1.0; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero-lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--slate); max-width: 32em; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: var(--slate-2); font-size: 13.5px; }
.hero-trust .avs { display: flex; }
.hero-trust .av { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; font-family: var(--font-sans); }
.hero-trust .av:first-child { margin-left: 0; }

/* hero dashboard mock */
.hero-mock { position: relative; }
.mock-glow { position: absolute; inset: -8% -6% auto auto; width: 70%; height: 70%; background: radial-gradient(circle, rgba(44,95,224,.16), transparent 65%); filter: blur(10px); }
.mock {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); background: var(--mist); }
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--mist-2); display: block; }
.mock-bar .url { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 5px 12px; font-size: 12px; color: var(--slate-2); display: flex; align-items: center; gap: 7px; }
.mock-bar .url svg { width: 12px; height: 12px; color: var(--green); }
.mock-body { padding: 18px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-row .mt { font-family: var(--font-sans); font-weight: 700; font-size: 14px; color: var(--ink); }
.mock-chip { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: var(--blue-soft); color: var(--blue-dark); }
.mock-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.mock-filters span { font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 7px; border: 1px solid var(--line); color: var(--slate); }
.mock-filters span.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.cand {
  display: flex; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line-soft);
  border-radius: 12px; margin-bottom: 9px; background: #fff; transition: border-color .3s, transform .3s, box-shadow .3s;
  opacity: 0; transform: translateY(10px);
}
.hero-mock.in .cand { animation: candIn .6s var(--ease) forwards; }
@keyframes candIn { to { opacity: 1; transform: none; } }
.cand:hover { border-color: var(--blue); transform: translateX(2px); box-shadow: var(--shadow-sm); }
.cand-av { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-sans); font-weight: 700; font-size: 14px; color: #fff; }
.cand-meta { flex: 1; min-width: 0; }
.cand-meta .nm { font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.cand-meta .ro { font-size: 12.5px; color: var(--slate-2); }
.cand-tags { display: flex; gap: 5px; margin-top: 5px; }
.cand-tags i { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; background: var(--mist); color: var(--slate); }
.visa-badge { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--green-soft); color: var(--green); white-space: nowrap; }
.match { text-align: right; flex-shrink: 0; }
.match .pct { font-family: var(--font-sans); font-weight: 800; font-size: 17px; color: var(--green); letter-spacing: -.02em; }
.match .lb { font-size: 10px; color: var(--slate-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ============================================================
   STATS BAR
   ============================================================ */
.statbar { background: var(--navy); color: #fff; }
.statbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.statbar-grid .s { padding: 38px 28px; border-right: 1px solid var(--d-line-soft); }
.statbar-grid .s:last-child { border-right: none; }
.statbar .num { font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 4vw, 50px); line-height: 1; letter-spacing: -.02em; }
.statbar .num .u { color: #8FB0FF; }
.statbar .lb { font-size: 13.5px; color: var(--d-text); margin-top: 10px; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: clamp(74px, 10vw, 130px) 0; position: relative; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 54px); margin-top: 18px; }
.section-head .sub { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--slate); margin-top: 18px; line-height: 1.6; }
.section-dark .section-head .sub { color: var(--d-text); }

/* ============================================================
   PROBLEM / NICHE
   ============================================================ */
.niche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.niche-card { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 44px 42px; position: relative; overflow: hidden; }
.niche-card::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; opacity:.6; }
.niche-card .q { font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 33px); line-height: 1.22; position: relative; }
.niche-card .q b { color: #8FB0FF; font-weight: 600; }
.niche-points { display: flex; flex-direction: column; gap: 22px; }
.niche-pt { display: flex; gap: 16px; }
.niche-pt .ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.niche-pt .ic svg { width: 22px; height: 22px; }
.niche-pt h3 { font-family: var(--font-sans); font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin-bottom: 4px; }
.niche-pt p { color: var(--slate); font-size: 15px; line-height: 1.55; }

/* ============================================================
   FLOW (how it works mini)
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.flow-step { position: relative; padding: 0 26px; }
.flow-step:first-child { padding-left: 0; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 14px; color: var(--slate-3); font-size: 20px; }
.flow-num { width: 40px; height: 40px; border-radius: 11px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-sans); font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.flow-step.accent .flow-num { background: var(--blue); }
.flow-step.green .flow-num { background: var(--green); }
.flow-step h3 { font-family: var(--font-sans); font-weight: 700; font-size: 18.5px; letter-spacing: -.01em; margin-bottom: 8px; }
.flow-step p { color: var(--slate); font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   DASHBOARD FEATURE (split)
   ============================================================ */
.dash-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.dash-list { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.dash-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dash-list li:last-child { border-bottom: none; }
.dash-list .ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.dash-list .ic svg { width: 19px; height: 19px; }
.dash-list .tx h4 { font-family: var(--font-sans); font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.dash-list .tx p { color: var(--slate); font-size: 14px; margin-top: 2px; }
.guarantee { display: flex; align-items: center; gap: 13px; background: var(--amber-soft); border: 1px solid #EBD9B4; border-radius: 12px; padding: 16px 18px; margin-top: 26px; }
.guarantee svg { width: 24px; height: 24px; color: var(--amber); flex-shrink: 0; }
.guarantee p { font-size: 14.5px; font-weight: 600; color: #7A5212; }

/* ============================================================
   TRUST / FEATURES GRID
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.trust-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.trust-card .ic svg { width: 23px; height: 23px; }
.trust-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 18.5px; letter-spacing: -.01em; margin-bottom: 9px; }
.trust-card p { color: var(--slate); font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   LOGOS
   ============================================================ */
.logos { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos .lab { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--slate-3); margin-bottom: 24px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.logos-row .lg { font-family: var(--font-serif); font-weight: 600; font-size: 22px; color: var(--slate-2); letter-spacing: -.02em; opacity: .7; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testi { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.testi::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; opacity:.5; }
.testi-inner { position: relative; max-width: 900px; }
.testi blockquote { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 40px); line-height: 1.28; letter-spacing: -.02em; }
.testi blockquote b { color: #8FB0FF; font-weight: 500; }
.testi-by { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.testi-av { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy-3)); display: grid; place-items: center; font-family: var(--font-sans); font-weight: 700; color: #fff; }
.testi-name { font-family: var(--font-sans); font-weight: 700; font-size: 16px; }
.testi-role { font-size: 13.5px; color: var(--d-text); }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; left: 50%; top: 55%; transform: translate(-50%,-50%); width: 70vw; height: 70vw; max-width: 820px; max-height: 820px; background: radial-gradient(circle, rgba(44,95,224,.22), transparent 60%); pointer-events: none; }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(36px, 5.4vw, 70px); }
.cta h2 em { font-style: italic; color: #8FB0FF; }
.cta p { color: var(--d-text); font-size: 18px; max-width: 34ch; margin: 18px auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #081726; color: #fff; padding: clamp(56px, 7vw, 84px) 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--d-line-soft); }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: var(--d-text-dim); font-size: 14.5px; line-height: 1.6; max-width: 30ch; }
.footer-col h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--d-text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--d-text); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 26px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: var(--d-text-dim); }
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a { font-size: 13px; color: var(--d-text-dim); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } * { scroll-behavior:auto !important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid, .niche-grid, .dash-grid { grid-template-columns: 1fr; }
  .statbar-grid { grid-template-columns: 1fr 1fr; }
  .statbar-grid .s:nth-child(2) { border-right: none; }
  .statbar-grid .s { border-bottom: 1px solid var(--d-line-soft); }
  .flow { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .flow-step { padding: 0; }
  .flow-step::after { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-right .signin { display: none; }
  .nav-toggle { display: grid; }
  .trust-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
