:root {
  --white: #ffffff;
  --bg: #fafbf9;
  --ink: #14201a;
  --gray-700: #4b564e;
  --gray-400: #8b968e;
  --gray-200: #e2e7e2;
  --gray-100: #f1f3f0;
  --green-600: #1e7a4a;
  --green-700: #155c38;
  --green-100: #e3f3e8;

  --font-display: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

a { color: inherit; }

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo-up { color: var(--green-600); }
.logo-score { color: var(--gray-700); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 0;
}
.header-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

main { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 0 1rem;
  gap: 1.5rem;
}
.hero-copy { max-width: 760px; display: flex; flex-direction: column; gap: 1rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: 0;
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.lede {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin: 0;
  max-width: 54ch;
}

.vsl-wrap {
  position: relative;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 60px -24px rgba(20, 32, 26, 0.35);
}
.vsl { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }

.vsl-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  border: none;
  background: rgba(20, 32, 26, 0.25);
  cursor: pointer;
  transition: background 0.2s ease;
}
.vsl-play:hover { background: rgba(20, 32, 26, 0.15); }
.vsl-play:focus-visible { outline: 3px solid var(--green-100); outline-offset: -6px; }
.vsl-play-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 12px 40px rgba(20, 32, 26, 0.4);
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.vsl-play-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 18px 0 18px 30px;
  border-color: transparent transparent transparent var(--white);
}
.vsl-play:hover .vsl-play-icon { transform: scale(1.06); background: var(--green-700); }

.vsl-fallback {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1c2d22, #101b14);
  color: var(--gray-200);
  padding: 2rem;
}
.vsl-fallback-inner { max-width: 420px; text-align: center; }
.vsl-fallback-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-100);
  background: rgba(30, 122, 74, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 0.9rem;
}
.vsl-fallback code {
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.waitlist-form {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  max-width: 440px;
}
.waitlist-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.waitlist-form input:focus {
  outline: 2px solid var(--green-600);
  outline-offset: 1px;
}
.waitlist-form button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border: none;
  border-radius: 10px;
  background: var(--green-600);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.waitlist-form button:hover { background: var(--green-700); }
.waitlist-form button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.waitlist-form.is-done input,
.waitlist-form.is-done button { opacity: 0.5; pointer-events: none; }

.waitlist-note {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin: 0;
}
.waitlist-note.is-success { color: var(--green-700); font-weight: 500; }
.waitlist-note.is-error { color: #b3482f; font-weight: 500; }

.cta-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  border: none;
  border-radius: 10px;
  background: var(--green-600);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cta-button:hover { background: var(--green-700); }
.cta-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cta-button:active { transform: scale(0.98); }
.cta-button-secondary { margin-top: 1.75rem; }

.how-index {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-600);
  font-size: 1.05rem;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--gray-200);
  margin-top: 2rem;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.feature-reverse .feature-copy { order: 2; }
.feature-reverse .feat-visual { order: 1; }
.feature-copy { display: flex; flex-direction: column; gap: 0.6rem; }
.feature-copy p { margin: 0; color: var(--gray-700); font-size: 1rem; max-width: 36ch; }

.feat-visual {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px -20px rgba(20, 32, 26, 0.18);
  min-height: 220px;
}

/* --- Job feed visual --- */
.jf-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.jf-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.4s ease, border-color 0.4s ease;
}
.feat-jobfeed.is-visible .jf-row { opacity: 1; transform: translateY(0); }
.feat-jobfeed.is-visible .jf-row:nth-child(2) { transition-delay: 0.15s; }
.feat-jobfeed.is-visible .jf-row:nth-child(3) { transition-delay: 0.3s; }
.feat-jobfeed.is-visible .jf-row:nth-child(4) { transition-delay: 0.45s; }
.feat-jobfeed.is-visible .jf-row[data-match="true"] { background: var(--green-100); border-color: var(--green-600); }
.jf-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jf-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.jf-row[data-match="false"] .jf-title { color: var(--gray-400); text-decoration: line-through; }
.jf-tag { font-size: 0.78rem; color: var(--gray-400); margin-top: 0.1rem; }
.jf-badge {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-400);
}
.jf-row[data-match="true"] .jf-badge { background: var(--green-600); color: var(--white); }

/* --- Score gauge visual --- */
.feat-gauge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.gauge-svg { transform: rotate(135deg); }
.gauge-track, .gauge-fill {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
}
.gauge-track { stroke: var(--gray-100); stroke-dasharray: 367.5 490; }
.gauge-fill {
  stroke: var(--green-600);
  stroke-dasharray: 0 490;
  transition: stroke-dasharray 1.1s cubic-bezier(0.33, 1, 0.68, 1);
}
.feat-gauge.is-visible .gauge-fill { stroke-dasharray: 338.1 490; } /* 92% of the 367.5 arc length */
.gauge-dial { position: relative; width: 200px; height: 200px; }
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 72px;
  gap: 0.15rem;
}
.gauge-number { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 500; }
.gauge-max { font-family: var(--font-mono); font-size: 0.9rem; color: var(--gray-400); }
.gauge-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--green-600);
  color: var(--white);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: 0.9s;
}
.feat-gauge.is-visible .gauge-badge { opacity: 1; transform: scale(1); }

/* --- Notification visual --- */
.notify-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.notify-now { margin-left: auto; font-family: var(--font-mono); font-size: 0.75rem; color: var(--gray-400); }
.notify-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.9rem; }
.notify-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}
.notify-brand { font-family: var(--font-display); font-weight: 800; }
.notify-step::before {
  content: "\2713";
  flex-shrink: 0;
  box-sizing: border-box;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  color: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.feat-notify.is-visible .notify-step::before { color: var(--white); }
.feat-notify.is-visible .notify-step { color: var(--ink); transition-delay: 0.5s; }
.feat-notify.is-visible .notify-step::before { background: var(--green-600); border-color: var(--green-600); transition-delay: 0.5s; }
.feat-notify.is-visible .notify-step:nth-of-type(3) { transition-delay: 0.75s; }
.feat-notify.is-visible .notify-step:nth-of-type(3)::before { transition-delay: 0.75s; }
.feat-notify.is-visible .notify-step:nth-of-type(4) { transition-delay: 1s; }
.feat-notify.is-visible .notify-step:nth-of-type(4)::before { transition-delay: 1s; }
.notify-cta {
  margin-top: 0.9rem;
  height: 44px;
  border-radius: 10px;
  background: var(--green-600);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.notify-cta-idle, .notify-cta-done {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.notify-cta-idle { opacity: 1; transform: translateY(0); }
.notify-cta-done { opacity: 0; transform: translateY(8px); }
.feat-notify.is-visible .notify-cta-idle { opacity: 0; transform: translateY(-8px); transition-delay: 1.3s; }
.feat-notify.is-visible .notify-cta-done { opacity: 1; transform: translateY(0); transition-delay: 1.3s; }
.notify-cta { transition: background 0.3s ease; }
.feat-notify.is-visible .notify-cta { background: var(--green-700); transition-delay: 1.3s; }

.proof {
  text-align: center;
  padding: 2.5rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.proof p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto;
  text-wrap: balance;
}

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 32, 26, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
}
.modal-card {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 32px 80px -20px rgba(20, 32, 26, 0.4);
}
.modal-card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.9rem;
  line-height: 1.25;
  text-wrap: balance;
}
.modal-price {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}
.modal-card .waitlist-form { max-width: none; flex-direction: column; }
.waitlist-form input { min-width: 0; }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--gray-700);
  cursor: pointer;
}
.modal-close:hover { background: var(--gray-200); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-400);
}

@media (max-width: 600px) {
  .feature, .feature-reverse .feature-copy, .feature-reverse .feat-visual { grid-template-columns: 1fr; order: initial; }
  .feature { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .site-footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .waitlist-form button,
  .cta-button,
  .jf-row,
  .gauge-fill,
  .gauge-badge,
  .notify-step,
  .notify-step::before,
  .notify-cta-idle,
  .notify-cta-done {
    transition: none !important;
  }
}
