/* CV-revamp landing — matches the onboarding wizard's cream theme so the
   visual handoff from landing → wizard feels seamless. The other talent
   pages (transition, corp) use the dark marketing theme; this page is
   deliberately different because it leads straight into the wizard. */

:root {
  --cream: #fffadb;
  --cream-soft: #fff5cc;
  --ink: #020301;
  --ink-60: rgba(2, 3, 1, 0.62);
  --ink-40: rgba(2, 3, 1, 0.42);
  --ink-12: rgba(2, 3, 1, 0.12);
  --marigold: #f1b240;
  --marigold-light: #f9d07a;
  --marigold-dark: #c9962a;
  --green: #1a7a52;
  --border: rgba(2, 3, 1, 0.12);
  --card-bg: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  background: var(--cream);
  color: var(--ink);
}

body {
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display { font-family: 'Syne', sans-serif; }

.fade-up      { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left    { opacity: 0; transform: translateX(-32px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right   { opacity: 0; transform: translateX(32px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.fade-right.visible { opacity: 1; transform: translateX(0); }

#main-nav { transition: background .3s, box-shadow .3s; }
#main-nav.nav-scrolled {
  background: rgba(255, 250, 219, 0.97) !important;
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(0, 0, 0, .04);
}

.nav-link {
  color: rgba(2, 3, 1, 0.72);
}
.nav-link:hover { color: var(--ink); }

#mobile-menu { transform: translateY(-100%); transition: transform .4s cubic-bezier(.16,1,.3,1); }
#mobile-menu.open { transform: translateY(0); }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--marigold-dark);
}

.section-band {
  background: var(--cream-soft);
}

.card-hover { transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s, border-color .3s; }
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(2, 3, 1, .08);
  border-color: rgba(241, 178, 64, .6) !important;
}

a, button { transition: all .2s ease; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--marigold); border-radius: 3px; }

/* ── Hero copy ───────────────────────────────────────────────────────── */

.hero-eyebrow {
  display: inline-block;
}

.hero-title {
  color: var(--ink);
  line-height: 1.1;
}
.hero-title-accent { color: var(--marigold-dark); }

.hero-lede {
  color: var(--ink-60);
}

/* ── Benefits ────────────────────────────────────────────────────────── */

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(241, 178, 64, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.benefit-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--marigold-dark);
}

.benefit-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0 0 2px;
}
.benefit-body {
  font-size: 0.88rem;
  color: var(--ink-60);
  margin: 0;
  line-height: 1.5;
}

/* ── CTA pill ────────────────────────────────────────────────────────── */

.cv-revamp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--green);
  color: #ffffff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.875rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(26, 122, 82, 0.22);
  cursor: pointer;
  border: none;
}
.cv-revamp-cta:hover {
  background: #156141;
  transform: translateY(-1px);
}

/* Outline variant — pairs with the filled green CTA. The Build button
   uses this so the two doors (Upload / Build) read as siblings, not
   primary vs disabled. */
.cv-revamp-cta--alt {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--marigold);
  box-shadow: none;
}
.cv-revamp-cta--alt:hover {
  background: rgba(241, 178, 64, 0.14);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Row that lays the two CTAs side-by-side on >= 480px viewports and
   stacks them on mobile. */
.cv-revamp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.cv-revamp-cta-row .cv-revamp-cta {
  flex: 1 1 auto;
  min-width: 180px;
}

.cv-revamp-cta-foot {
  font-size: 0.78rem;
  color: var(--ink-40);
  margin-top: 0.65rem;
}

/* ── CV preview card on the right of the hero ───────────────────────
   This is a real-looking sample CV (Adaeze Okafor, Solar Project
   Engineer) so visitors immediately see the kind of output they'll
   get — not just an abstract skeleton. The region template tabs
   below let them flip between US / UK / NG / CA layouts. */

.cv-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cv-preview {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem 1.75rem 2rem;
  box-shadow: 0 18px 50px rgba(2, 3, 1, 0.1);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

.cv-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--marigold);
}

.cv-pv-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 0.2rem;
  color: var(--ink);
}

.cv-pv-role {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--marigold-dark);
  margin: 0 0 0.45rem;
}

.cv-pv-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  font-size: 0.72rem;
  color: var(--ink-60);
  margin: 0 0 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ink-12);
}

.cv-pv-section {
  margin-top: 1.05rem;
}
.cv-pv-section:first-of-type { margin-top: 0; }

.cv-pv-section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--marigold-dark);
  margin: 0 0 0.5rem;
}

.cv-pv-exp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.cv-pv-exp-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
}

.cv-pv-exp-date {
  font-size: 0.68rem;
  color: var(--ink-40);
  white-space: nowrap;
}

.cv-pv-exp-company {
  font-size: 0.72rem;
  color: var(--ink-60);
  margin: 0 0 0.35rem;
}

.cv-pv-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--ink-60);
}

.cv-pv-bullets li {
  padding-left: 0.7rem;
  position: relative;
  margin-bottom: 0.18rem;
}

.cv-pv-bullets li::before {
  content: '•';
  color: var(--marigold-dark);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.cv-pv-skill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.4rem;
}

.cv-pv-skill {
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  background: rgba(241, 178, 64, 0.16);
  color: var(--marigold-dark);
  border-radius: 999px;
}

/* ── Region template tabs ────────────────────────────────────────── */

.cv-template-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  padding: 0.55rem 0.6rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  box-shadow: 0 4px 14px rgba(2, 3, 1, 0.04);
}

.cv-template-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  background: transparent;
  border: none;
  border-radius: 0.55rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-60);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cv-template-tab:hover {
  background: rgba(241, 178, 64, 0.1);
  color: var(--ink);
}

.cv-template-tab.is-active {
  background: var(--marigold);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(241, 178, 64, 0.35);
}

.cv-template-tab-flag {
  font-size: 1rem;
  line-height: 1;
}

/* ── Inline-style replacements (lint clean-up) ──────────────────── */

.cv-revamp-cta--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.fade-up.d100 { transition-delay: 100ms; }
.fade-up.d200 { transition-delay: 200ms; }

/* ── How-it-works cards ──────────────────────────────────────────────── */

.step-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
}

.step-num {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(241, 178, 64, 0.18);
  color: var(--marigold-dark);
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.step-body {
  font-size: 0.88rem;
  color: var(--ink-60);
  margin: 0;
  line-height: 1.55;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.lp-footer {
  background: var(--cream-soft);
  border-top: 1px solid var(--border);
}
.lp-footer-text {
  color: var(--ink-40);
  font-size: 0.72rem;
}
