:root {
  --bg: #edf2fa;
  --ink: #0d1c33;
  --muted: #5a6e8f;
  --card: rgba(255, 255, 255, 0.8);
  --line: rgba(41, 76, 130, 0.2);
  --accent: #1d4f91;
  --accent-2: #2b7fff;
  --mint: #dff8eb;
  --gold: #dba533;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(20, 45, 84, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(199, 222, 255, 0.48), transparent 36%),
    radial-gradient(circle at 80% 0%, rgba(218, 237, 255, 0.62), transparent 40%),
    linear-gradient(180deg, #f4f8ff 0%, var(--bg) 60%, #e8eef8 100%);
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand span,
.cta,
.tab-btn {
  font-family: 'Sora', sans-serif;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 65, 112, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 65, 112, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
  z-index: -2;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.48;
  z-index: -3;
}

.bg-orb-1 {
  width: 320px;
  height: 320px;
  background: #9bc8ff;
  top: -120px;
  left: -80px;
}

.bg-orb-2 {
  width: 420px;
  height: 420px;
  background: #b6cfff;
  right: -120px;
  top: 120px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(239, 245, 255, 0.72);
  border-bottom: 1px solid rgba(92, 120, 164, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding-top: 4px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  line-height: 0;
}

.brand img {
  width: auto;
  height: 28px;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  color: #324d75;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  top: 2px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  color: white;
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(33, 82, 149, 0.25);
  font-size: 14px;
  font-weight: 700;
}

.cta-small {
  padding: 10px 16px;
  position: relative;
  top: 2px;
}

.cta.ghost {
  color: #173c73;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 76, 138, 0.24);
  box-shadow: none;
}

.hero {
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 30px;
  align-items: start;
}

.hero-copy {
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 800;
  color: #3f648f;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero-sub {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.metric-value {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #123667;
}

.metric-label {
  margin: 4px 0 0;
  color: #51688a;
  font-size: 13px;
}

.hero-phone {
  justify-self: center;
  width: min(390px, 100%);
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(150deg, #ffffff, #dce9fa);
  border: 1px solid #c8d9f0;
  box-shadow: 0 28px 50px rgba(18, 45, 86, 0.18);
  transform: rotate(2deg);
}

.hero-phone img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.panel {
  margin-top: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.03em;
}

.feature-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  background: white;
  border: 1px solid #dae4f2;
  border-radius: 14px;
  padding: 16px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.feature-icon-blue {
  background: #e5efff;
  color: #1c4f93;
}

.feature-icon-teal {
  background: #e0f5ef;
  color: #0d6b56;
}

.feature-icon-gold {
  background: #fdf2de;
  color: #9c6615;
}

.feature-icon-coral {
  background: #fee9e3;
  color: #8a3e2a;
}

.feature-icon-sky {
  background: #e6f2fb;
  color: #275b9d;
}

.feature-icon-indigo {
  background: #ececff;
  color: #4548a9;
}

.feature-card h3 {
  margin: 0;
  font-size: 18px;
}

.feature-card p {
  margin: 8px 0 0;
  color: #5f7394;
  line-height: 1.55;
  font-size: 14px;
}

.roles {
  margin-top: 44px;
}

.roles-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.03em;
}

.roles-sub {
  margin: 10px 0 0;
  color: #536a8e;
  max-width: 70ch;
  line-height: 1.6;
}

.roles-jump-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roles-jump-links a {
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #1e4d8d;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #c0d5f3;
}

.roles-jump-links a:hover {
  background: rgba(228, 239, 255, 0.95);
}

.journey-stack {
  margin-top: 18px;
  display: grid;
  gap: 22px;
}

.journey-block {
  border-radius: 22px;
  border: 1px solid #c9dbf4;
  padding: 20px;
  box-shadow: 0 18px 38px rgba(23, 51, 92, 0.1);
}

.journey-block-worker {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(230, 240, 255, 0.8));
}

.journey-block-employer {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(228, 245, 239, 0.78));
}

.journey-block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.journey-chip {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  border: 1px solid #b9d0f0;
  background: rgba(255, 255, 255, 0.9);
  color: #1e4d8d;
}

.journey-block-head h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.journey-kicker {
  margin: 0 0 3px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10.5px;
  font-weight: 800;
  color: #56759f;
}

.panel-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.journey-flow {
  display: grid;
  gap: 18px;
}

.journey-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 20px;
  align-items: center;
  padding: 18px 18px 18px 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d7e4f5;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(24, 54, 98, 0.08);
}

.journey-step-reverse .journey-text {
  order: 2;
}

.journey-step-reverse .journey-shot {
  order: 1;
}

.journey-text p:last-child {
  margin: 8px 0 0;
  color: #587091;
  line-height: 1.6;
  font-size: 14px;
  max-width: 55ch;
}

.step-label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #5f7ea7;
  font-weight: 800;
}

.step-card h3 {
  margin: 6px 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.journey-text h3 {
  margin: 6px 0 0;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.journey-shot {
  display: grid;
  gap: 10px;
  justify-self: center;
  justify-items: center;
  align-items: center;
  width: 100%;
  max-width: 460px;
}

.journey-shot:not(.dual-shot):not(.triple-shot) {
  max-width: 280px;
}

.dual-shot {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.triple-shot {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-shot img {
  width: auto;
  max-width: 100%;
  display: block;
  border-radius: 11px;
  border: 1px solid #cfdbef;
  background: white;
  max-height: 420px;
  object-fit: contain;
}

.journey-step:nth-child(odd) {
  background: rgba(249, 252, 255, 0.93);
}

.panel-shot-grid img,
.mosaic img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid #cfdbef;
  background: white;
}

.mosaic {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.final-cta {
  margin: 40px auto 60px;
  text-align: center;
  padding: 34px 24px;
  border-radius: var(--radius);
  border: 1px solid #bfd2ee;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.84), rgba(226, 239, 255, 0.9));
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.04em;
}

.final-cta p {
  margin: 12px auto 24px;
  max-width: 68ch;
  color: #4c6386;
  line-height: 1.65;
}

.reveal-up,
.reveal-up-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 800ms cubic-bezier(0.21, 1, 0.36, 1) forwards;
}

.reveal-up-delay {
  animation-delay: 160ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-phone {
    transform: rotate(0deg);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-block {
    padding: 16px;
  }

  .journey-block-head h3 {
    font-size: 22px;
  }

  .journey-step {
    grid-template-columns: 1fr;
  }

  .journey-step-reverse .journey-text,
  .journey-step-reverse .journey-shot {
    order: initial;
  }

  .dual-shot,
  .triple-shot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .container {
    width: min(1140px, calc(100% - 28px));
  }

  .site-header {
    position: static;
  }

  .cta-small {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .panel-shot-grid,
  .mosaic,
  .dual-shot,
  .triple-shot {
    grid-template-columns: 1fr;
  }


  .journey-block-head {
    align-items: flex-start;
  }

  .roles-jump-links {
    width: 100%;
  }

  .journey-shot:not(.dual-shot):not(.triple-shot) {
    max-width: 230px;
  }
}
