:root {
  --indigo: #4f46e5;
  --indigo-dark: #1e1b4b;
  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --emerald: #10b981;
  --amber: #facc15;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--slate-50);
  color: var(--slate-900);
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--indigo); }
.accent-serif { color: var(--indigo); font-family: 'Merriweather', serif; }

h1, h2, h3 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0;
}

p { line-height: 1.6; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo);
  background: #eef2ff;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow.center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

.center { text-align: center; }

.section-title { font-size: 40px; margin-bottom: 56px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 14px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--indigo); color: white; }
.btn-primary:hover { background: var(--slate-900); }
.btn-ghost { color: var(--slate-600); }
.btn-ghost:hover { color: var(--slate-900); }
.btn-outline { border-color: var(--slate-100); color: var(--slate-900); background: white; }
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-lg { padding: 18px 34px; font-size: 13px; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--slate-900);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--indigo);
  color: white;
}
.site-nav {
  display: flex;
  gap: 32px;
  flex-grow: 1;
}
.site-nav a {
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.site-nav a:hover { color: var(--indigo); }
.header-cta { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }

@media (max-width: 860px) {
  .site-nav { display: none; }
}

@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand { font-size: 18px; gap: 6px; }
  .brand-mark { width: 30px; height: 30px; }
  .header-cta { gap: 6px; }
  .header-cta .btn { padding: 10px 14px; font-size: 10px; letter-spacing: 0.06em; }
  .header-cta .btn-ghost { padding: 10px 6px; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--indigo-dark), #312e81 55%, var(--indigo));
  color: white;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 96px;
  padding-bottom: 96px;
  min-height: 560px;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy .accent-serif { color: #a5b4fc; }
.hero-sub {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  color: white;
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: white; }
.hero .btn-outline:hover { background: rgba(255,255,255,0.16); border-color: white; }

.hero-art {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
/* Soft glow behind the tilted oval frame, so the whole hero-art reads as one illustrated
   shape rather than a photo dropped in a rectangular box. */
.hero-art::before {
  content: '';
  position: absolute;
  width: 570px;
  height: 420px;
  background: linear-gradient(135deg, rgba(165,180,252,0.55), rgba(199,210,254,0.25) 55%, rgba(244,182,255,0.35));
  border-radius: 50%;
  filter: blur(10px);
  transform: rotate(24deg);
}
/* The frame is the tilted oval (rotated + clipped); the img inside counter-rotates the
   same amount so the photo itself reads upright, like looking through a tilted window. */
.hero-art-frame {
  position: relative;
  width: 510px;
  height: 385px;
  border-radius: 50%;
  overflow: hidden;
  transform: rotate(24deg);
  box-shadow: 0 32px 64px -16px rgba(0,0,0,0.5);
}
.hero-art-frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: center 24%;
  transform: translate(-50%, -50%) rotate(-24deg);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 48px; }
  .hero-sub { font-size: 19px; max-width: none; }
  .hero-art { height: 260px; order: -1; margin-bottom: 8px; }
  .hero-art::before { width: 340px; height: 240px; }
  .hero-art-frame { width: 300px; height: 210px; }
}

/* Pitch */
.pitch { padding: 96px 0; background: white; }
.pitch-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.pitch-copy h2 { font-size: 34px; line-height: 1.25; margin: 0 0 20px; }
.pitch-copy p { font-size: 16px; color: var(--slate-600); max-width: 460px; margin: 0 auto; }

/* Stats */
.stats { background: white; border-bottom: 1px solid var(--slate-100); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 56px 24px;
}
.stat-num {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 44px;
  color: var(--indigo);
}
.stat-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-400);
  margin-top: 8px;
}

/* Features */
.features { padding: 96px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 32px;
  padding: 40px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: 0 24px 48px rgba(79,70,229,0.08); transform: translateY(-4px); }
.feature-icon { margin-bottom: 20px; width: 88px; height: 88px; }
.feature-icon img { width: 100%; height: 100%; display: block; object-fit: contain; animation: iconFloat 3.6s ease-in-out infinite; }
.feature-card:nth-child(2) .feature-icon img { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon img { animation-delay: 1s; }
.feature-card h3 { font-size: 22px; margin-bottom: 12px; }
.feature-card p { color: var(--slate-600); font-size: 15px; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .feature-icon img { animation: none; }
}

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* Jobs */
.jobs { padding: 0 0 96px; }
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.job-card {
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 28px;
  padding: 28px;
  min-height: 160px;
}
.job-card.skeleton { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.job-card .job-company { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--indigo); margin-bottom: 8px; }
.job-card h4 { font-family: 'Merriweather', serif; font-size: 19px; margin-bottom: 10px; }
.job-card .job-meta { font-size: 12px; color: var(--slate-400); font-weight: 600; }
.jobs-cta { text-align: center; }

@media (max-width: 860px) {
  .job-grid { grid-template-columns: 1fr; }
}

/* Companies */
.companies { padding: 96px 0; background: white; }
.company-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.company-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-50);
  border-radius: 20px;
  padding: 20px;
  min-height: 88px;
}
.company-logo-item.skeleton { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
.company-logo-item img { max-width: 100%; max-height: 36px; object-fit: contain; }

@media (max-width: 860px) {
  .company-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .company-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Pricing */
.pricing { padding: 96px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 32px;
  padding: 40px;
}
.price-card.featured { background: var(--slate-900); color: white; border-color: var(--slate-900); }
.price-card.featured h3, .price-card.featured .price { color: white; }
.price-badge {
  position: absolute;
  top: -14px;
  left: 40px;
  background: var(--amber);
  color: var(--slate-900);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card h3 { font-size: 20px; margin-bottom: 16px; }
.price { font-family: 'Merriweather', serif; font-weight: 900; font-size: 44px; margin-bottom: 24px; }
.price span { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--slate-400); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 32px; }
.price-card li { padding: 10px 0; border-top: 1px solid rgba(148,163,184,0.2); font-size: 14px; font-weight: 600; }
.price-card.featured li { border-top-color: rgba(255,255,255,0.15); color: #e2e8f0; }

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Employers page */
.employers-intro { padding: 80px 0 16px; }
.employers-lede { max-width: 560px; margin: 20px auto 0; text-align: center; font-size: 18px; color: var(--slate-600); }
.pricing-grid-single { grid-template-columns: 1fr; max-width: 420px; }
.pricing-note { font-size: 12px; color: #94a3b8; margin: 16px 0 0; text-align: center; }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  color: white;
  text-align: center;
  padding: 96px 24px;
}
.final-cta h2 { color: white; font-size: 40px; margin-bottom: 16px; }
.final-cta p { color: #c7d2fe; font-size: 18px; margin-bottom: 32px; }

/* Footer */
.site-footer { background: var(--slate-900); color: #94a3b8; padding: 56px 0 24px; }
.footer-columns {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 20px;
  color: white;
  text-decoration: none;
}
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: white;
  margin: 0 0 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: 13px; font-weight: 600; }
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(148,163,184,0.15);
  padding-top: 24px;
  font-size: 12px;
  font-weight: 600;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #94a3b8; text-decoration: none; }
.footer-bottom-links a:hover { color: white; }

@media (max-width: 860px) {
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
}
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Legal pages (Terms / Privacy) */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal .updated { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-400); margin-bottom: 48px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal section { margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin-bottom: 16px; }
.legal p { color: var(--slate-600); font-size: 16px; margin-bottom: 16px; }
.legal p:last-child { margin-bottom: 0; }
.legal a { color: var(--indigo); font-weight: 700; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 600;
  padding: 16px;
}
.cookie-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--slate-900);
  color: white;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
}
.cookie-banner-inner a { color: white; text-decoration: underline; }
.cookie-banner-inner a:hover { color: #a5b4fc; }
.cookie-banner-btn {
  flex-shrink: 0;
  background: var(--indigo);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-banner-btn:hover { background: #4338ca; }
