/* DEPLOYED_2026_05_07_MARKER_H2P4K */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400;500;600;700&display=swap');
:root {
    --navy:       #1a1f3a;
    --indigo:     #2E266D;
    --gold:       #b8975a;
    --gold-light: #d4b07a;
    --cream:      #faf8f4;
    --warm-white: #f5f2ec;
    --text-dark:  #1a1f3a;
    --text-mid:   #4a4f6a;
    --text-light: #8a8fa8;
    --border:     rgba(46,38,109,0.12);
    --error:      #c0392b;
  }

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

  html, body {
    font-family: 'Jost', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
  }

  /* ── NAV ── */
  nav {
    background: rgba(250,248,244,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 18px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--indigo);
    text-decoration: none;
  }

  .nav-logo em { font-style: italic; font-weight: 300; }

  .nav-back {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
  }

  .nav-back:hover { color: var(--indigo); }

  .nav-back svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
  }

  /* ── PAGE HEADER ── */
  .page-header {
    background: var(--navy);
    padding: 72px 40px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .page-header::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(46,38,109,0.55) 0%, transparent 70%);
    pointer-events: none;
  }

  .header-inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.1s forwards;
  }

  .rule {
    width: 40px; height: 1px;
    background: var(--gold);
    margin: 0 auto 24px;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.15s forwards;
  }

  .page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.1;
    color: white;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.25s forwards;
  }

  .page-header h1 em { font-style: italic; color: var(--gold-light); }

  .header-sub {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    max-width: 480px;
    margin: 0 auto 28px;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.35s forwards;
  }

  .header-meta {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.28);
    opacity: 0;
    animation: fadeUp 0.5s ease 0.45s forwards;
  }

  /* ── FORM SECTION ── */
  .form-section {
    background: var(--cream);
    padding: 72px 40px;
  }

  .form-inner {
    max-width: 580px;
    margin: 0 auto;
  }

  /* Form card */
  .form-card {
    background: white;
    border: 1px solid var(--border);
    padding: 52px 48px;
    box-shadow: 0 4px 32px rgba(26,31,58,0.06);
  }

  .form-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 300;
    color: var(--navy);
    text-align: center;
    margin-bottom: 6px;
  }

  /* Price display */
  .price-block {
    text-align: center;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
  }

  .price-amount {
    display: none;
  }

  .price-was {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-light);
    text-decoration: line-through;
    text-decoration-color: var(--text-light);
    line-height: 1;
    margin-bottom: 2px;
  }

  .price-now {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 300;
    color: var(--indigo);
    line-height: 1;
    margin-bottom: 8px;
  }

  .price-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
  }

  .price-therapy {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--gold);
  }

  /* Partner group */
  .partner-group { margin-bottom: 28px; }

  .partner-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .partner-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 28px;
  }
  .field:last-child {
    margin-bottom: 0;
  }
  /* Extra breathing room between input bottom and next field label */
  .field input {
    margin-bottom: 0;
  }
  .partner-group .field + .field {
    margin-top: 20px;
  }
  .field-row .field + .field {
    margin-top: 0;
  }

  .field label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mid);
  }

  .field input {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 12px 14px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
    -webkit-appearance: none;
  }

  .field input:focus {
    border-color: var(--indigo);
    background: white;
  }

  .field input::placeholder { color: var(--text-light); }

  .field input.error-field {
    border-color: var(--error);
    background: rgba(192,57,43,0.03);
  }

  /* Error banner (server-rendered when validation fails) */
  .error-msg {
    display: none;
    background: #fef2f2;
    border: 1px solid var(--error);
    color: #991b1b;
    padding: 16px 20px;
    margin-bottom: 28px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
  }
  .error-msg.visible { display: block; }

  .partner-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
  }

  /* Radio button groups — used by signup form for relationship/living/children gates.
     Styled as stacked, full-width tappable cards consistent with the form aesthetic. */
  .radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
  }
  .radio-option:hover {
    border-color: var(--gold-light);
    background: var(--warm-white);
  }
  .radio-option input[type="radio"] {
    /* Override .field input styling — radios need their own shape and rendering */
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: auto;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: initial;
    accent-color: var(--indigo);
    flex-shrink: 0;
    cursor: pointer;
  }
  .radio-option:has(input[type="radio"]:checked) {
    border-color: var(--indigo);
    background: var(--warm-white);
  }
  .radio-option span {
    flex: 1;
  }

  /* Form footer */
  .form-footer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }

  .form-notice {
    font-size: 11px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
  }

  /* Error message */
  .error-msg {
    display: none;
    background: rgba(192,57,43,0.05);
    border: 1px solid rgba(192,57,43,0.2);
    border-left: 3px solid var(--error);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 400;
    color: var(--error);
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .error-msg.visible { display: block; }

  /* Submit button */
  .submit-btn {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding: 18px 32px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    display: block;
    position: relative;
  }

  .submit-btn:hover:not(:disabled) {
    background: var(--gold-light);
    transform: translateY(-1px);
  }

  .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
  }

  /* Loading spinner inside button */
  .btn-text { transition: opacity 0.2s; }
  .btn-spinner {
    display: none;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 18px; height: 18px;
    border: 2px solid rgba(26,31,58,0.3);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
  }

  .submit-btn.loading .btn-text { opacity: 0; }
  .submit-btn.loading .btn-spinner { display: block; }

  .checkout-note {
    margin-top: 14px;
    font-size: 11px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
  }

  /* ── HOW IT WORKS ── */
  .how-section {
    background: var(--warm-white);
    padding: 72px 40px;
  }

  .how-inner { max-width: 860px; margin: 0 auto; }

  .section-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 14px;
  }

  .section-h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--navy);
    text-align: center;
    margin-bottom: 48px;
  }

  .section-h2 em { font-style: italic; }

  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .step {
    background: white;
    padding: 36px 28px;
    transition: background 0.25s ease;
  }

  .step:hover { background: var(--navy); }
  .step:hover .step-num { color: rgba(184,151,90,0.2); }
  .step:hover .step-title { color: white; }
  .step:hover .step-body { color: rgba(255,255,255,0.55); }

  .step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 300;
    color: rgba(46,38,109,0.07);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.25s ease;
  }

  .step-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 10px;
    transition: color 0.25s ease;
  }

  .step-body {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mid);
    transition: color 0.25s ease;
  }

  .checkout-strip {
    margin-top: 2px;
    background: white;
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    padding: 18px 28px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-mid);
  }

  .checkout-strip strong { font-weight: 500; color: var(--navy); }

  /* ── PRIVACY ── */
  .privacy-section {
    background: var(--cream);
    padding: 56px 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .privacy-inner { max-width: 720px; margin: 0 auto; }

  .privacy-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
  }

  .privacy-row:last-child { margin-bottom: 0; }

  .p-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(46,38,109,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .p-icon svg {
    width: 15px; height: 15px;
    stroke: var(--indigo);
    fill: none;
    stroke-width: 1.5;
  }

  .p-text {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-mid);
  }

  .p-text strong { font-weight: 500; color: var(--navy); }

  .p-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 20px 0;
  }

  /* ── FOOTER ── */
  footer {
    background: #111626;
    padding: 44px 40px;
  }

  .footer-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    list-style: none;
  }

  .footer-links a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: rgba(255,255,255,0.9); }

  .footer-copy {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 640px) {
    nav { padding: 16px 20px; }
    .nav-logo { font-size: 13px; }
    .page-header { padding: 56px 24px 48px; }
    .form-section { padding: 48px 20px; }
    .form-card { padding: 36px 24px; }
    .field-row { grid-template-columns: 1fr; gap: 10px; }
    .field-row .field + .field { margin-top: 0; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .how-section { padding: 56px 20px; }
    .privacy-section { padding: 44px 20px; }
    footer { padding: 36px 20px; }


/* ── ASSESSMENT COMPLETE PAGE ── */
.check-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(184,151,90,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.2s forwards;
  background: transparent;
}
.check-circle svg {
  width: 22px; height: 22px;
  stroke: #b8975a;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.state-section { display: none; }
.state-section.visible { display: block; }
.content-card {
  background: white;
  border: 1px solid rgba(46,38,109,0.12);
  padding: 48px 44px;
  box-shadow: 0 4px 32px rgba(26,31,58,0.06);
  text-align: center;
}
.assessment-id-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #b8975a;
  margin-bottom: 28px;
}
.content-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 300;
  color: #1a1f3a;
  margin-bottom: 10px;
  line-height: 1.15;
}
.content-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  color: #2E266D;
  margin-bottom: 20px;
  line-height: 1.4;
}
.content-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #4a4f6a;
  margin-bottom: 28px;
}
.content-divider {
  width: 48px; height: 1px;
  background: #b8975a;
  margin: 0 auto 28px;
  opacity: 0.5;
}
.next-steps {
  background: #faf8f4;
  border: 1px solid rgba(46,38,109,0.1);
  border-left: 3px solid #b8975a;
  padding: 24px 28px;
  text-align: left;
  margin-bottom: 36px;
}
.next-steps-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #b8975a;
  margin-bottom: 12px;
  display: block;
}
.next-steps-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: #4a4f6a;
}
.partner-status {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.partner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #faf8f4;
  border: 1px solid rgba(46,38,109,0.1);
}
.partner-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1f3a;
  letter-spacing: 0.05em;
}
.status-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
}
.status-complete { background: rgba(46,38,109,0.08); color: #2E266D; }
.status-waiting  { background: rgba(184,151,90,0.1);  color: #b8975a; }
.cta-btn {
  display: inline-block;
  background: #b8975a;
  color: #1a1f3a;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 18px 48px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover { background: #d4b07a; transform: translateY(-1px); }
.both-complete-accent {
  background: linear-gradient(135deg, rgba(46,38,109,0.04) 0%, rgba(184,151,90,0.06) 100%);
  border: 1px solid rgba(184,151,90,0.2);
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: center;
}
.both-complete-accent p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: #4a4f6a;
}
.both-complete-accent strong { font-weight: 500; color: #1a1f3a; }
@media (max-width: 640px) {
  .content-card { padding: 32px 24px; }
  .next-steps { padding: 18px 20px; }
}
  }

/* ── ASSESSMENT COMPLETE PAGE v5 ── */
.complete-wrap {
  background: #faf8f4;
  padding: 56px 40px;
}
.complete-card {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border: 1px solid rgba(46,38,109,0.12);
  padding: 48px 44px;
  box-shadow: 0 4px 32px rgba(26,31,58,0.06);
  text-align: center;
}
.complete-id {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #b8975a;
  margin-bottom: 24px;
}
.complete-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 300;
  color: #1a1f3a;
  margin-bottom: 8px;
  line-height: 1.15;
}
.complete-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 300;
  color: #2E266D;
  margin-bottom: 18px;
  line-height: 1.4;
}
.complete-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: #4a4f6a;
  margin-bottom: 24px;
}
.complete-divider {
  width: 48px;
  height: 1px;
  background: #b8975a;
  margin: 0 auto 24px;
  opacity: 0.5;
}
.complete-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #faf8f4;
  border: 1px solid rgba(46,38,109,0.1);
}
.status-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1f3a;
}
.status-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
}
.pill-done { background: rgba(46,38,109,0.08); color: #2E266D; }
.pill-wait { background: rgba(184,151,90,0.1);  color: #b8975a; }
.complete-accent {
  background: linear-gradient(135deg, rgba(46,38,109,0.04) 0%, rgba(184,151,90,0.06) 100%);
  border: 1px solid rgba(184,151,90,0.2);
  padding: 18px 22px;
  margin-bottom: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: #4a4f6a;
}
.complete-next {
  background: #faf8f4;
  border: 1px solid rgba(46,38,109,0.1);
  border-left: 3px solid #b8975a;
  padding: 20px 24px;
  text-align: left;
  margin-bottom: 32px;
}
.complete-next-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #b8975a;
  margin-bottom: 10px;
}
.complete-next p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: #4a4f6a;
  margin: 0;
}
.complete-btn {
  display: inline-block;
  background: #b8975a;
  color: #1a1f3a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 44px;
  text-decoration: none;
}
.complete-btn:hover { background: #d4b07a; }
@media (max-width: 640px) {
  .complete-wrap { padding: 40px 20px; }
  .complete-card { padding: 32px 22px; }
}