/* =========================================================================
 * should-i-sell-rycolston-com/page.css
 * Page-local styles for the Should You Sell assessment funnel.
 * Colors use design-system tokens (--p-* primitives and --s-* semantics)
 * wherever a matching token exists. Remaining hardcoded rgba() values have
 * no exact token counterpart (0.07, 0.1, 0.12, 0.14, 0.2 opacities, and
 * the focus-ring rgba(63,74,40,0.1)) and are intentionally left as-is.
 * ========================================================================= */

/* ============================================================
 * GLOBAL FUNNEL SHELL
 * ============================================================ */
body {
  background: var(--p-cream-200);
  color: var(--p-ink-900);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--p-font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}

/* squiggle underline — personality accent */
.squiggle {
  position: relative;
  white-space: nowrap;
}
.squiggle svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.32em;
  width: 100%;
  height: 0.4em;
}

/* ============================================================
 * SCREEN 1 — LANDING
 * ============================================================ */
#screen-landing {
  background: var(--p-cream-100);
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  max-width: 980px;
  margin: 24px auto;
  box-shadow: var(--s-shadow-lg);
  border: 1px solid var(--s-border-subtle);
}

/* nav */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--s-border-subtle);
}
.brand {
  font-family: var(--p-font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: var(--p-radius-pill);
  background: var(--p-olive-700);
  display: inline-block;
  flex: none;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--p-ink-500);
  font-weight: 500;
}
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--p-cream-100);
  background: var(--p-olive-700);
  padding: 9px 18px;
  border-radius: var(--p-radius-pill);
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--p-olive-900); }

/* hero */
.hero {
  padding: 74px 32px 64px;
  text-align: center;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--p-cream-50), transparent 60%),
    var(--p-cream-100);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-olive-500);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 54px;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin: 0 auto 20px;
}
.hero-sub {
  font-size: 19px;
  color: var(--p-ink-500);
  max-width: 46ch;
  margin: 0 auto 34px;
}

/* address bar */
.addr-bar {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--p-cream-50);
  padding: 8px;
  border-radius: var(--p-radius-pill);
  box-shadow: var(--s-shadow-md);
  border: 1px solid var(--s-border-muted);
}
.addr-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--p-font-body);
  font-size: 16px;
  padding: 12px 18px;
  color: var(--p-ink-900);
  outline: none;
}
.addr-bar input::placeholder { color: var(--p-ink-300); }

/* shared button */
.btn {
  font-family: var(--p-font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--p-cream-100);
  background: var(--p-olive-700);
  border: 0;
  padding: 14px 26px;
  border-radius: var(--p-radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn:hover { background: var(--p-olive-900); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  color: var(--p-ink-900);
  border: 1px solid var(--s-action-ghost-border);
}
.btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }

/* trust row */
.trust-row {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--p-ink-500);
}
.trust-row b { color: var(--p-ink-700); font-weight: 600; }
.micro {
  margin-top: 14px;
  font-size: 13px;
  color: var(--p-ink-300);
}

/* ============================================================
 * SCREEN 2 — ASSESSMENT WIZARD
 * ============================================================ */
#screen-assessment {
  max-width: 980px;
  margin: 0 auto 24px;
  background: var(--p-cream-100);
  border-radius: var(--p-radius-lg);
  box-shadow: var(--s-shadow-lg);
  border: 1px solid var(--s-border-subtle);
  padding: 48px 32px 40px;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 620px;
  margin: 0 auto 8px;
  font-size: 13px;
  color: var(--p-ink-500);
  font-weight: 500;
}
.progress {
  max-width: 620px;
  margin: 0 auto 34px;
  height: 8px;
  background: var(--p-cream-300);
  border-radius: var(--p-radius-pill);
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--p-olive-700);
  border-radius: var(--p-radius-pill);
  transition: width 0.3s ease;
}

.q-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--p-cream-50);
  border-radius: var(--p-radius-lg);
  box-shadow: var(--s-shadow-md);
  padding: 38px 36px;
}
.q-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-olive-500);
  margin-bottom: 10px;
}
.q-card h2 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

/* option pills */
.opts { display: grid; gap: 11px; }
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border: 1.5px solid rgba(27, 22, 36, 0.12);
  border-radius: var(--p-radius-pill);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  background: var(--p-cream-50);
  transition: all 0.15s;
  user-select: none;
}
.opt:hover { border-color: var(--p-olive-500); background: var(--p-olive-50); }
.opt.sel {
  border-color: var(--p-olive-700);
  background: var(--p-olive-50);
  box-shadow: inset 0 0 0 1px var(--p-olive-700);
}
.opt .mk {
  width: 22px;
  height: 22px;
  border-radius: var(--p-radius-pill);
  border: 2px solid rgba(27, 22, 36, 0.2);
  flex: none;
  display: grid;
  place-items: center;
}
.opt.sel .mk { border-color: var(--p-olive-700); background: var(--p-olive-700); }
.opt.sel .mk::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--p-radius-pill);
  background: var(--p-cream-50);
}

/* text / number inputs within q-card */
.field {
  width: 100%;
  font-family: var(--p-font-body);
  font-size: 16px;
  color: var(--p-ink-900);
  background: var(--p-cream-100);
  border: 1.5px solid rgba(27, 22, 36, 0.14);
  border-radius: var(--p-radius-md);
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.field:focus {
  border-color: var(--p-olive-700);
  box-shadow: 0 0 0 3px rgba(63, 74, 40, 0.1);
}
.field:last-child { margin-bottom: 0; }

/* wizard nav */
.q-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 620px;
  margin: 24px auto 0;
}

/* loading state */
.v-loading {
  text-align: center;
  color: var(--p-ink-500);
  font-size: 17px;
  padding: 48px 0;
}

/* ============================================================
 * SCREEN 3 — VERDICT
 * ============================================================ */
#screen-verdict {
  max-width: 980px;
  margin: 0 auto 24px;
  background: var(--p-cream-100);
  border-radius: var(--p-radius-lg);
  box-shadow: var(--s-shadow-lg);
  border: 1px solid var(--s-border-subtle);
  overflow: hidden;
}

.verdict {
  padding: 52px 32px 46px;
  text-align: center;
  background:
    radial-gradient(110% 70% at 50% -5%, var(--p-olive-50), transparent 62%),
    var(--p-cream-100);
}

.v-prop {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p-ink-300);
  margin-bottom: 12px;
}
.v-label {
  font-size: 16px;
  color: var(--p-ink-500);
  margin-bottom: 6px;
}
.v-headline {
  font-family: var(--p-font-display);
  font-size: 50px;
  letter-spacing: -0.03em;
  color: var(--p-olive-700);
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.1;
}
.v-sub {
  font-size: 17px;
  color: var(--p-ink-500);
  max-width: 40ch;
  margin: 0 auto 32px;
}

.v-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto 28px;
  text-align: left;
}
.v-card {
  background: var(--p-cream-50);
  border-radius: var(--p-radius-md);
  box-shadow: var(--s-shadow-sm);
  padding: 20px 22px;
  border: 1px solid var(--s-border-subtle);
}
.v-card .k {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p-ink-300);
  margin-bottom: 8px;
}

/* email gate card */
.gate-card {
  background: var(--p-cream-50);
  border-radius: var(--p-radius-lg);
  box-shadow: var(--s-shadow-lg);
  padding: 28px 30px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--s-border-muted);
  margin: 0 auto;
}
.gate-card .lock { font-size: 22px; margin-bottom: 6px; }
.gate-card h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.gate-card p { font-size: 14.5px; color: var(--p-ink-500); margin-bottom: 18px; }

.email-bar {
  display: flex;
  gap: 8px;
  background: var(--p-cream-100);
  padding: 7px;
  border-radius: var(--p-radius-pill);
  border: 1px solid rgba(27, 22, 36, 0.1);
}
.email-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--p-font-body);
  font-size: 15px;
  padding: 10px 16px;
  outline: none;
  color: var(--p-ink-900);
}
.email-bar input::placeholder { color: var(--p-ink-300); }
.gate-micro { font-size: 12px; color: var(--p-ink-300); margin-top: 12px; }

/* confidence note */
.confidence {
  max-width: 620px;
  margin: 30px auto 0;
  font-size: 13px;
  color: var(--p-ink-300);
  font-style: italic;
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(27, 22, 36, 0.07);
}

/* ============================================================
 * COMPLIANCE FOOTER
 * ============================================================ */
#compliance {
  max-width: 980px;
  margin: 0 auto 40px;
  padding: 16px 24px;
  border-top: 1px solid var(--s-border-muted);
}
.compliance-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--p-ink-300);
}
.compliance-brand { font-weight: 600; }
.compliance-links a {
  color: var(--p-ink-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.compliance-links a:hover { color: var(--p-ink-500); }
.compliance-disclaimer { font-style: italic; }

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 680px) {
  .hero h1 { font-size: 38px; }
  .v-headline { font-size: 36px; }
  .addr-bar { flex-direction: column; border-radius: var(--p-radius-lg); }
  .v-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  #screen-landing,
  #screen-assessment,
  #screen-verdict { margin: 12px; border-radius: var(--p-radius-md); }
}
