/* Certified Life Agency — recruiting landing. Dark navy / sky accent, serif display. */

:root {
  --navy-0: #060f1d;
  --navy-1: #0a1829;
  --navy-2: #0e2036;
  --ink: #f2f7fc;
  --mut: #9db3c9;
  --mut-2: #7d94ab;
  --sky: #56c1ff;
  --sky-deep: #2ea7ef;
  --sky-soft: rgba(86, 193, 255, 0.14);
  --line: rgba(157, 179, 201, 0.16);
  --card: rgba(255, 255, 255, 0.028);
  --radius: 16px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--navy-0);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.quiz-open { overflow: hidden; }

img, svg { display: block; }

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- ambient backdrop ---------- */

.sky-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90rem 48rem at 50% -18%, rgba(46, 125, 190, 0.26), transparent 62%),
    radial-gradient(60rem 36rem at 88% 32%, rgba(35, 90, 150, 0.14), transparent 60%),
    radial-gradient(52rem 32rem at 6% 78%, rgba(42, 110, 170, 0.1), transparent 60%),
    linear-gradient(176deg, var(--navy-1) 0%, var(--navy-0) 55%, #04090f 100%);
}

/* ---------- type ---------- */

h1, h2, .q-title {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}

.accent { color: var(--sky); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sky);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 650;
  border: 0;
  border-radius: 12px;
  padding: 1rem 1.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #6fcbff, var(--sky-deep));
  color: #04101d;
  box-shadow: 0 10px 30px -10px rgba(86, 193, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(86, 193, 255, 0.65), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }

.btn:focus-visible, .q-opt:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

/* ---------- header ---------- */

.site-head { padding: 1.4rem 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mut-2);
  margin-top: 0.1rem;
}

.head-cta { font-size: 0.92rem; padding: 0.68rem 1.25rem; border-radius: 10px; }

/* ---------- hero ---------- */

.hero { padding: 3.2rem 0 4rem; text-align: center; }

.hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 4.4rem);
  margin: 1.1rem auto 1.3rem;
  max-width: 17ch;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--mut);
  max-width: 44ch;
  margin: 0 auto 2rem;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto 2.4rem;
  text-align: left;
}

.hero-points li { display: flex; gap: 0.7rem; align-items: baseline; font-size: 1.06rem; font-weight: 500; }
.hero-points .tick { color: var(--sky); flex: none; transform: translateY(2px); }

.hero-cta-stack { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.hero-micro { font-size: 0.86rem; color: var(--mut-2); }
.hero-micro strong { color: var(--mut); font-weight: 600; }

/* ---------- proof strip ---------- */

.strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.016); }
.strip .wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.strip-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
.strip-item:nth-child(-n + 2) { border-top: 0; }
.strip-num { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.strip-lbl { font-size: 0.82rem; color: var(--mut-2); letter-spacing: 0.04em; margin-top: 0.15rem; }

/* ---------- sections ---------- */

section { padding: 4.6rem 0; }

.sec-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.sec-head h2 { font-size: clamp(1.8rem, 4.6vw, 2.6rem); margin-top: 0.9rem; }
.sec-head p { color: var(--mut); margin-top: 0.9rem; }

/* deal cards */

.deal-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.deal {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.deal:hover { border-color: rgba(86, 193, 255, 0.45); transform: translateY(-3px); }

.deal-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--sky-soft);
  color: var(--sky);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.deal h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.deal p { font-size: 0.94rem; color: var(--mut); }

/* ---------- how it works ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: 1fr; gap: 1rem; }

.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.8rem 1.5rem 1.6rem 1.5rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(86, 193, 255, 0.55);
  display: block;
  line-height: 1;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.12rem; font-weight: 650; margin-bottom: 0.4rem; }
.step p { font-size: 0.94rem; color: var(--mut); }

.start-note {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--ink);
}
.start-note .pill {
  display: inline-block;
  border: 1px solid rgba(86, 193, 255, 0.4);
  background: var(--sky-soft);
  color: var(--sky);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
}

/* ---------- fit / filter ---------- */

.fit-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.fit {
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--line);
}
.fit--yes { background: linear-gradient(180deg, rgba(86, 193, 255, 0.08), rgba(86, 193, 255, 0.02)); border-color: rgba(86, 193, 255, 0.3); }
.fit--no { background: var(--card); }

.fit h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 1rem; }
.fit ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.fit li { display: flex; gap: 0.65rem; align-items: baseline; font-size: 0.97rem; color: var(--mut); }
.fit--yes li { color: var(--ink); }
.fit .tick { color: var(--sky); flex: none; transform: translateY(2px); }
.fit .cross { color: var(--mut-2); flex: none; transform: translateY(2px); }

/* ---------- final CTA ---------- */

.final { text-align: center; padding-bottom: 5.5rem; }
.final h2 { font-size: clamp(2rem, 5.4vw, 3.1rem); max-width: 20ch; margin: 0.9rem auto 1rem; }
.final p { color: var(--mut); max-width: 42ch; margin: 0 auto 2rem; }

/* ---------- footer ---------- */

.site-foot { border-top: 1px solid var(--line); padding: 2.6rem 0 3rem; }
.site-foot .wrap { display: flex; flex-direction: column; gap: 1.1rem; align-items: center; text-align: center; }
.foot-brand { display: flex; align-items: center; gap: 0.55rem; color: var(--mut); font-family: var(--serif); font-weight: 600; }
.foot-brand .brand-mark { width: 22px; height: 25px; }
.foot-fine { font-size: 0.78rem; color: var(--mut-2); max-width: 56ch; }

/* ============================================================
   QUIZ OVERLAY
   ============================================================ */

.quiz {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 9, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.2s ease;
  overflow-y: auto;
}
.quiz.is-open { opacity: 1; }
.quiz[hidden] { display: none; }

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem 0.4rem;
  width: min(680px, 100%);
  margin-inline: auto;
}

.quiz-top .brand-mark { width: 26px; height: 29px; }

.quiz-close {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--mut);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.quiz-close:hover { color: var(--ink); border-color: var(--sky); }

.quiz-progress {
  width: min(680px, 100% - 2.6rem);
  margin: 0.8rem auto 0;
}
.quiz-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(157, 179, 201, 0.18);
  overflow: hidden;
}
.quiz-bar-fill {
  height: 100%;
  width: 6%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky-deep), #8fd8ff);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.quiz-step-label { font-size: 0.78rem; color: var(--mut-2); margin-top: 0.55rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

.quiz-stage {
  width: min(680px, 100% - 2.6rem);
  margin: 0 auto;
  padding: 2.2rem 0 4rem;
  flex: 1;
}

.q-screen { opacity: 0; transform: translateY(14px); transition: opacity 0.26s ease, transform 0.26s ease; }
.q-screen.is-in { opacity: 1; transform: none; }

.q-kicker {
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mut-2);
  margin-bottom: 1rem;
}
.q-kicker--go { color: var(--sky); }

.q-title { font-size: clamp(1.5rem, 4.6vw, 2.2rem); margin-bottom: 0.9rem; }
.q-title--q { font-size: clamp(1.3rem, 4vw, 1.75rem); line-height: 1.3; margin-bottom: 1.6rem; }
.q-sub { color: var(--mut); margin-bottom: 1.8rem; max-width: 48ch; }
.q-hint { font-size: 0.82rem; color: var(--mut-2); margin-top: 1.1rem; }

.q-start { width: 100%; max-width: 340px; }

.q-opts { display: flex; flex-direction: column; gap: 0.75rem; }

.q-opt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.q-opt:hover { border-color: rgba(86, 193, 255, 0.55); transform: translateY(-1px); }

.q-opt-mark {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--mut-2);
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.q-opt.is-picked { border-color: var(--sky); background: var(--sky-soft); }
.q-opt.is-picked .q-opt-mark { border-color: var(--sky); background: var(--sky); box-shadow: inset 0 0 0 3.5px var(--navy-1); }

.q-back {
  margin-top: 1.6rem;
  background: none;
  border: 0;
  color: var(--mut-2);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0;
}
.q-back:hover { color: var(--sky); }

/* contact form */

.q-form { display: flex; flex-direction: column; gap: 1.05rem; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }

.q-field { display: flex; flex-direction: column; gap: 0.35rem; }
.q-label { font-size: 0.82rem; font-weight: 600; color: var(--mut); letter-spacing: 0.03em; }

.q-input {
  font-family: var(--sans);
  font-size: 1.02rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.15s ease;
}
.q-input:focus { outline: none; border-color: var(--sky); }
.q-input.is-bad { border-color: #ff7a7a; }

.q-err { font-size: 0.78rem; color: #ff9a9a; min-height: 0; }
.q-err:empty { display: none; }

.q-consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-top: 0.3rem;
}
.q-consent input[type="checkbox"] {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--sky-deep);
  cursor: pointer;
}
.q-consent-text { font-size: 0.8rem; line-height: 1.55; color: var(--mut); cursor: pointer; }

/* honeypot — off-screen, invisible to humans, present for bots */
.q-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.q-submit { margin-top: 0.4rem; width: 100%; }
.q-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }

/* result screens */

.q-cal { margin-top: 1.4rem; }

.q-cal-pending {
  border: 1px dashed rgba(86, 193, 255, 0.4);
  background: var(--sky-soft);
  border-radius: var(--radius);
  padding: 2.4rem 1.6rem;
  text-align: center;
}
.q-cal-ic { color: var(--sky); display: flex; justify-content: center; margin-bottom: 0.9rem; }
.q-cal-ph-title { font-weight: 650; font-size: 1.05rem; }
.q-cal-ph-sub { font-size: 0.9rem; color: var(--mut); margin-top: 0.5rem; max-width: 40ch; margin-inline: auto; }

.q-cal-frame {
  width: 100%;
  min-height: 640px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}

.q-done { margin-top: 0.6rem; }

/* ---------- responsive ---------- */

@media (min-width: 720px) {
  .hero { padding: 4.8rem 0 5.4rem; }
  .strip .wrap { grid-template-columns: repeat(4, 1fr); }
  .strip-item { border-top: 0; border-left: 1px solid var(--line); }
  .strip-item:first-child { border-left: 0; }
  .deal-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .fit-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .head-cta { display: none; }
  .q-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
