/* ===== Fonts ===== */
@font-face {
  font-family: "Peace Sans";
  src: url("../fonts/PeaceSans.woff2") format("woff2"),
       url("../fonts/PeaceSans.otf") format("opentype"),
       url("../fonts/PeaceSans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ===== Tokens ===== */
:root {
  --black: #000001;
  --navy: #060B33;
  --blue: #285BE6;
  --pale-blue: #BCE7FB;
  --near-white: #E8F7FC;

  --white: #FFFFFF;
  --ink: var(--navy);
  --muted: #4A5578;

  --font-display: "Peace Sans", "Space Grotesk", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Montserrat", sans-serif;

  --container: 1200px;
  --radius: 20px;
  --radius-sm: 12px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--near-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0; }
p { line-height: 1.65; color: var(--muted); margin: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--black); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(232, 247, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(6, 11, 51, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img { height: 36px; width: auto; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Eyebrow / Tags ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--pale-blue);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.tag-light { color: var(--pale-blue); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 72px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--pale-blue) 0%, rgba(188,231,251,0) 70%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  color: var(--navy);
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-media { position: relative; padding: 10px 10px 46px; }

/* Swipe card stack (dating-app style job card) */
.swipe-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/4.9;
  margin: 0 auto;
}
.swipe-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.swipe-card-back {
  background: linear-gradient(160deg, var(--pale-blue), var(--near-white));
  transform: rotate(7deg) scale(0.94);
  z-index: 1;
  box-shadow: 0 20px 40px -20px rgba(6, 11, 51, 0.25);
}
.swipe-card-front {
  background: var(--white);
  transform: rotate(-4deg);
  z-index: 2;
  box-shadow: 0 30px 60px -18px rgba(6, 11, 51, 0.4);
  cursor: grab;
  touch-action: pan-y;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), opacity 0.35s ease, box-shadow 0.2s ease;
}
.swipe-card-front:active { cursor: grabbing; }
.swipe-card-front.drag-like { box-shadow: 0 0 0 4px rgba(40, 91, 230, 0.35), 0 30px 60px -18px rgba(6, 11, 51, 0.4); }
.swipe-card-front.drag-nope { box-shadow: 0 0 0 4px rgba(74, 85, 120, 0.3), 0 30px 60px -18px rgba(6, 11, 51, 0.4); }

@keyframes swipeCardDemo {
  0%, 100% { transform: translateX(0) rotate(-4deg); }
  30% { transform: translateX(46px) rotate(5deg); }
  55% { transform: translateX(-14px) rotate(-9deg); }
  78% { transform: translateX(6px) rotate(-1deg); }
}
.swipe-card-front.demo-swipe { animation: swipeCardDemo 1.5s cubic-bezier(.22,1,.36,1); }

@keyframes swipeHintArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
.swipe-hint svg { animation: swipeHintArrow 1.6s ease-in-out infinite; }
.swipe-card-top {
  position: relative;
  flex: 0 0 48%;
  background:
    linear-gradient(160deg, rgba(6, 11, 51, 0.55), rgba(40, 91, 230, 0.4)),
    url("../media/hf_20260914_110837_803289f5-8c63-4f82-b728-e136c11d6107.png") center 38% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swipe-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
}
.swipe-stamp {
  position: absolute;
  bottom: 12px; right: 14px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(232, 247, 252, 0.95);
  border: 1.5px solid rgba(232, 247, 251, 0.75);
  border-radius: 6px;
  padding: 3px 9px;
  transform: rotate(-6deg);
}
.swipe-card-body {
  flex: 1;
  padding: 18px 22px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.swipe-card-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.swipe-card-org {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.swipe-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.swipe-tags span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--pale-blue);
  padding: 6px 12px;
  border-radius: 999px;
}
.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 14px 0 20px;
}
.swipe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  box-shadow: 0 10px 20px -8px rgba(6, 11, 51, 0.3);
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.swipe-btn:hover { transform: translateY(-2px) scale(1.06); }
.swipe-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.swipe-btn svg { width: 20px; height: 20px; }
.swipe-btn-no { background: var(--white); border: 1.5px solid rgba(6, 11, 51, 0.15); color: var(--muted); }
.swipe-btn-yes { background: var(--blue); color: var(--white); }
.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.swipe-hint svg { width: 16px; height: 16px; color: var(--blue); }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); color: var(--navy); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid rgba(6, 11, 51, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(6,11,51,0.2); }
.step-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--pale-blue);
  -webkit-text-stroke: 1px var(--blue);
  margin-bottom: 18px;
}
.step h3 { font-family: var(--font-heading); font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.step p { font-size: 15px; }

.section-steps {
  position: relative;
  background:
    linear-gradient(160deg, rgba(6, 11, 51, 0.93), rgba(6, 11, 51, 0.8) 45%, rgba(40, 91, 230, 0.75)),
    url("../media/hf_20260908_113155_524a3056-9f0f-4d11-b43f-f670419117a7.png") center 30% / cover no-repeat;
}
.section-steps .tag { color: var(--pale-blue); }
.section-steps .section-head h2 { color: var(--white); }

/* Focus — full-bleed photo background, copy overlaid on the open (right) side */
.section-focus {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(6, 11, 51, 0.12) 0%, rgba(6, 11, 51, 0.35) 38%, rgba(6, 11, 51, 0.82) 62%, rgba(6, 11, 51, 0.92) 100%),
    url("../media/hf_20260914_091538_75471627-07b0-4cb4-b70a-47bacbbc0dea.png") center 22% / cover no-repeat;
}
.focus-inner {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.focus-copy { max-width: 500px; width: 100%; }
.focus-copy .tag { color: var(--pale-blue); }
.focus-copy h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--white); margin-bottom: 20px; }
.focus-copy p { margin-bottom: 20px; font-size: 16px; color: rgba(232, 247, 252, 0.82); }
.check-list { margin: 24px 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  color: var(--white);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--pale-blue);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid rgba(6, 11, 51, 0.06);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--pale-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-heading); font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 15px; }

/* Story */
.story { background: var(--navy); color: var(--near-white); padding: 100px 0; }
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--white); margin-bottom: 22px; }
.story p { color: rgba(232, 247, 252, 0.78); font-size: 16px; margin-bottom: 16px; }
.story-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Banner */
.banner {
  background: var(--pale-blue);
  padding: 110px 0;
  text-align: center;
}
.banner-inner { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.banner h2 {
  font-size: clamp(34px, 5vw, 58px);
  color: var(--navy);
}
.banner p { font-size: 18px; color: var(--navy); opacity: 0.75; }
.contact-email {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 4px;
  margin-top: -4px;
}
.contact-email:hover { color: var(--navy); border-color: var(--navy); }

/* ===== Footer ===== */
.site-footer { background: var(--black); padding: 44px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.logo-footer img { height: 34px; filter: brightness(0) invert(1); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-heading); font-size: 14px; color: rgba(232, 247, 252, 0.7); }
.footer-nav a:hover { color: var(--pale-blue); }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 13px;
  color: rgba(232, 247, 252, 0.5);
  text-align: right;
}
.footer-meta a { color: rgba(232, 247, 252, 0.85); font-family: var(--font-heading); font-size: 14px; }
.footer-meta a:hover { color: var(--pale-blue); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--near-white);
    border-bottom: 1px solid rgba(6,11,51,0.08);
    padding: 12px 24px 28px;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 18px; }

  .hero-inner { gap: 36px; }

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

  .footer-inner { justify-content: center; text-align: center; gap: 18px; }
  .footer-meta { align-items: center; text-align: center; }
  .footer-nav { justify-content: center; gap: 10px 18px; }
}

@media (max-width: 480px) {
  .site-footer { padding: 32px 0; }
  .logo-footer img { height: 28px; }
  .footer-nav { gap: 8px 10px; }
  .footer-nav a { font-size: 13px; }
  .footer-meta { font-size: 12px; }
  .footer-meta a { font-size: 13px; }
}

/* Two-column sections only stack on genuinely narrow (tablet/phone) widths,
   so a normal browser window keeps the hero split into text + card. */
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; width: 100%; max-width: 420px; margin: 0 auto; }

  .section-focus {
    min-height: 0;
    padding: 64px 0;
    background:
      linear-gradient(180deg, rgba(6, 11, 51, 0.68), rgba(6, 11, 51, 0.9)),
      url("../media/hf_20260914_091538_75471627-07b0-4cb4-b70a-47bacbbc0dea.png") center 15% / cover no-repeat;
  }
  .focus-inner { justify-content: center; }
  .focus-copy { max-width: 100%; text-align: left; }

  .story-inner { grid-template-columns: 1fr; }
  .story-media { order: -1; width: 100%; }

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

  .swipe-stack { aspect-ratio: 4/5.6; max-width: 300px; }
  .swipe-card-top { flex: 0 0 42%; }
  .swipe-card-icon { width: 48px; height: 48px; }
  .swipe-card-body { padding: 14px 18px 0; }
  .swipe-card-body h3 { font-size: 17px; margin-bottom: 4px; }
  .swipe-card-org { font-size: 12.5px; margin-bottom: 12px; }
  .swipe-tags { gap: 6px; }
  .swipe-tags span { font-size: 11px; padding: 5px 10px; }
  .swipe-actions { gap: 16px; padding: 10px 0 16px; }
  .swipe-btn { width: 40px; height: 40px; }
  .swipe-btn svg { width: 16px; height: 16px; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .hero { padding: 48px 0 64px; }
  .steps { grid-template-columns: 1fr; }
  .header-actions .btn-primary { padding: 10px 18px; font-size: 14px; }
  .banner { padding: 72px 0; }
  .story { padding: 70px 0; }
}
