.agape {
  --agape-bg: #fbf7ef;
  --agape-paper: #fffdf9;
  --agape-ink: #302b26;
  --agape-muted: #71665b;
  --agape-accent: #a33f2c;
  --agape-accent-hover: #80301f;
  --agape-accent-wash: #f3e7dc;
  --agape-line: #d5cabc;
  --agape-error: #a62424;
  --agape-success: #476144;
  --agape-display: Georgia, 'Times New Roman', serif;
  --agape-body: inherit;
  --agape-small: .8125rem;
  --agape-radius: .125rem;
  --agape-duration: 160ms;
  --agape-gutter: clamp(1.25rem, 4.5vw, 5rem);
  font-family: var(--agape-body);
  color: var(--agape-ink);
  background: var(--agape-bg);
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
  isolation: isolate;
  box-sizing: border-box;
}
.agape *, .agape *::before, .agape *::after { box-sizing: border-box; }
.agape [hidden] { display: none !important; }
.agape p { margin: 0 0 1.25rem; }
.agape h2, .agape h3, .agape h4 { font-family: var(--agape-display); font-weight: 400; letter-spacing: -.035em; color: var(--agape-ink); text-transform: none; }
.agape h2 { font-size: clamp(2.75rem, 4.5vw, 5rem); line-height: 1.04; margin: 1.5rem 0; }
.agape h3 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.14; margin: .75rem 0 1.25rem; }
.agape h4 { font-size: 1.5rem; margin: 0; line-height: 1.2; }
.agape.agape a { color: var(--agape-accent); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.agape a:hover { color: var(--agape-accent-hover); }
.agape button, .agape input, .agape textarea, .agape summary { font: inherit; letter-spacing: inherit; }
.agape button { cursor: pointer; text-transform: none; border-radius: var(--agape-radius); box-shadow: none; margin: 0; }
.agape :is(button, input, textarea, a, summary):focus-visible { outline: .1875rem solid var(--agape-accent); outline-offset: .25rem; }
.agape :is(h3, .agape-success):focus { outline: none; }
.agape :is(button, input, textarea):disabled { cursor: not-allowed; }
.agape button:disabled { opacity: .55; }
.agape .agape-eyebrow { font-size: .6875rem; line-height: 1.8; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; margin: 0; color: var(--agape-muted); }
.agape-eyebrow span { display: inline-block; margin: 0 .5rem; }
.agape-consultation { width: 100%; }
.agape-consultation__inner { max-width: 85rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); padding: 5.5rem var(--agape-gutter); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.agape-intro { padding-top: 1rem; min-width: 0; }
.agape-intro h2 { color: var(--agape-accent); max-width: 10ch; }
.agape-lead { color: var(--agape-muted); max-width: 36ch; font-size: 1.0625rem; line-height: 1.8; }
.agape-process { margin-top: 2.5rem; border-top: 1px solid var(--agape-line); padding-top: 1.75rem; max-width: 28rem; }
.agape-process p { display: flex; gap: 1.25rem; align-items: baseline; margin: 0 0 1.4rem; font-size: .9375rem; line-height: 1.4; }
.agape-process p > span:first-child { color: var(--agape-accent); font-family: var(--agape-display); font-style: italic; font-size: 1.125rem; }
.agape-process small { display: inline-block; color: var(--agape-muted); font-size: .8125rem; margin-top: .35rem; }
.agape .agape-signature { color: var(--agape-muted); font-size: .875rem; margin: 2rem 0 0; }
.agape-signature span { display: block; font-family: var(--agape-display); color: var(--agape-accent); font-style: italic; font-size: 2.25rem; line-height: 1.4; }
.agape-signup-panel { border-top: .125rem solid var(--agape-accent); background: var(--agape-paper); padding: clamp(1.5rem, 3vw, 3rem); min-width: 0; }
.agape-signup-panel h3 { font-size: clamp(1.875rem, 2.5vw, 2.5rem); }
.agape-signup-panel > div > p:not(.agape-eyebrow):not(.agape-signature) { color: var(--agape-muted); font-size: .9375rem; }
.agape-form { margin-top: 1.75rem; }
.agape-field { margin: 0 0 1.25rem; min-width: 0; padding: 0; border: 0; }
.agape .agape-field > label, .agape .agape-field > legend { display: block; padding: 0; margin: 0 0 .5rem; font-size: .875rem; font-weight: 500; color: var(--agape-ink); line-height: 1.6; max-width: 100%; float: none; }
.agape .agape-field small { font-size: var(--agape-small); font-weight: 400; color: var(--agape-muted); }
.agape-required { color: var(--agape-accent); }
.agape .agape-field :is(input:not([type=checkbox]):not([type=radio]), textarea) { display: block; width: 100%; max-width: 100%; border: 1px solid var(--agape-line); border-radius: var(--agape-radius); background: var(--agape-paper); color: var(--agape-ink); padding: .8rem .9rem; font-size: 1rem; line-height: 1.5; box-shadow: none; margin: 0; min-height: 3.125rem; height: auto; transition: border-color var(--agape-duration); }
.agape .agape-field input:hover, .agape .agape-field textarea:hover { border-color: var(--agape-muted); }
.agape .agape-field input::placeholder, .agape .agape-field textarea::placeholder { color: var(--agape-muted); opacity: 1; font-size: .8125rem; }
.agape .agape-field textarea { resize: vertical; min-height: 6rem; }
.agape .agape-field input[readonly] { background: var(--agape-accent-wash); color: var(--agape-muted); }
.agape .agape-field [aria-invalid=true] { border-color: var(--agape-error) !important; }
.agape-field-error { display: block; color: var(--agape-error); font-size: var(--agape-small); line-height: 1.5; margin-top: .375rem; }
.agape-field-error:empty { display: none; }
.agape-note { margin: 0 0 1.5rem; border-bottom: 1px solid var(--agape-line); }
.agape-note summary { min-height: 2.75rem; padding: .5rem 0; font-size: .8125rem; color: var(--agape-muted); cursor: pointer; }
.agape-note[open] .agape-field { margin-top: .75rem; }
.agape .agape-field > .agape-check { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; font-size: .75rem; color: var(--agape-muted); line-height: 1.7; cursor: pointer; min-height: 2.75rem; }
.agape input:is([type=checkbox], [type=radio]) { appearance: auto; accent-color: var(--agape-accent); flex: 0 0 auto; width: 1.125rem; height: 1.125rem; margin: .2rem 0 0; position: static; opacity: 1; cursor: pointer; }
.agape .agape-button { border: 1px solid var(--agape-accent); background: var(--agape-accent); color: var(--agape-paper); min-height: 3.25rem; padding: .9rem 1.5rem; font-size: .875rem; font-weight: 500; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; line-height: 1.4; transition: background-color var(--agape-duration), border-color var(--agape-duration); white-space: normal; }
.agape .agape-button:hover:not(:disabled) { background: var(--agape-accent-hover); border-color: var(--agape-accent-hover); }
.agape-button > span:last-child:not(:first-child) { font-size: 1.375rem; line-height: 1; }
.agape-form .agape-button { width: 100%; }
.agape .agape-form-footnote { color: var(--agape-muted); font-size: .6875rem; line-height: 1.7; margin: .875rem 0 0; }
.agape-feedback { color: var(--agape-muted); font-size: .875rem; margin: 1rem 0; overflow-wrap: anywhere; }
.agape-feedback:empty { display: none; }
.agape-feedback.is-error { color: var(--agape-error); }
.agape-success { padding: 2rem 0; }
.agape-success-mark { display: inline-flex; justify-content: center; align-items: center; width: 3rem; height: 3rem; border: 1px solid var(--agape-success); border-radius: 50%; color: var(--agape-success); margin-bottom: 2rem; font-size: 1.25rem; }
.agape .agape-hp, .agape .agape-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The questionnaire is a quiet, chapter-based workspace, not a second marketing page. */
.agape-questionnaire { padding: 4rem var(--agape-gutter) 5rem; max-width: 88rem; margin: 0 auto; }
.agape-questionnaire__header { padding: 0 0 3rem; border-bottom: 1px solid var(--agape-line); }
.agape-questionnaire__header h2 { font-size: clamp(2.75rem, 4.5vw, 4.75rem); }
.agape-questionnaire__header em { font-weight: 400; color: var(--agape-accent); }
.agape-questionnaire__header > p:last-child { max-width: 43rem; color: var(--agape-muted); margin: 0; }
.agape-invitation { padding: 3rem 0; max-width: 42rem; }
.agape-questionnaire__layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 2fr); gap: clamp(2rem, 6vw, 6rem); padding-top: 3rem; margin: 0; }
.agape-sidebar { align-self: start; position: sticky; top: 3rem; min-width: 0; }
.agape-progress-label { display: flex; justify-content: space-between; gap: 1rem; font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; color: var(--agape-muted); }
.agape progress { display: block; width: 100%; height: .1875rem; border: 0; border-radius: 0; color: var(--agape-accent); background: var(--agape-line); appearance: none; margin-bottom: 1.75rem; }
.agape progress::-webkit-progress-bar { background: var(--agape-line); }
.agape progress::-webkit-progress-value { background: var(--agape-accent); }
.agape progress::-moz-progress-bar { background: var(--agape-accent); }
.agape-steps { display: flex; flex-direction: column; gap: .25rem; }
.agape .agape-step { display: flex; gap: .875rem; align-items: baseline; text-align: left; background: transparent; border: 0; color: var(--agape-muted); padding: .65rem .25rem; font-size: .8125rem; min-height: 2.75rem; border-radius: 0; }
.agape-step__number { font-family: var(--agape-display); font-style: italic; }
.agape .agape-step[aria-current=step] { color: var(--agape-accent); font-weight: 600; }
.agape .agape-step.is-complete { color: var(--agape-ink); }
.agape .agape-step:disabled { opacity: .65; }
.agape .agape-private-note { margin: 2.25rem 0 0; border-top: 1px solid var(--agape-line); padding-top: 1.5rem; }
.agape-private-note em { font-family: var(--agape-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; }
.agape-private-note span { display: block; font-size: .75rem; line-height: 1.8; color: var(--agape-muted); margin-top: .75rem; }
.agape-workspace { min-width: 0; }
.agape .agape-panel-description { color: var(--agape-muted); font-size: .9375rem; max-width: 48ch; margin-bottom: 2.25rem; }
.agape-fields { display: grid; gap: 1.75rem; }
.agape-fields .agape-field { margin-bottom: 0; }
.agape-fields--personal { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; }
.agape-fields--personal > :nth-child(-n+3) { grid-column: span 6; }
.agape-fields--personal > :nth-child(n+4) { grid-column: span 2; }
.agape .agape-choice-field > legend { font-size: 1rem; margin-bottom: .875rem; line-height: 1.65; }
.agape .agape-choice-hint { margin: -.5rem 0 .875rem; color: var(--agape-muted); font-size: .75rem; }
.agape-choices { display: flex; flex-wrap: wrap; gap: .625rem; }
.agape-choice { display: flex; align-items: baseline; gap: .625rem; cursor: pointer; border: 1px solid var(--agape-line); border-radius: var(--agape-radius); padding: .75rem 1rem; min-height: 3rem; font-size: .875rem; line-height: 1.5; background: var(--agape-paper); color: var(--agape-ink); font-weight: 400; margin: 0; transition: border-color var(--agape-duration), background-color var(--agape-duration); }
.agape-choice:hover { border-color: var(--agape-muted); }
.agape-choice:has(input:checked) { border-color: var(--agape-accent); background: var(--agape-accent-wash); }
.agape-choice:has(input:focus-visible) { outline: .1875rem solid var(--agape-accent); outline-offset: .1875rem; }
.agape-choice input:focus-visible { outline: none; }
.agape-form-navigation { border-top: 1px solid var(--agape-line); padding-top: 1.5rem; margin-top: 2.75rem; display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.agape .agape-back, .agape .agape-text-button { color: var(--agape-muted); background: transparent; border: 0; padding: .65rem .25rem; font-size: .8125rem; min-height: 2.75rem; }
.agape .agape-back:hover, .agape .agape-text-button:hover { color: var(--agape-accent); text-decoration: underline; text-underline-offset: .25em; }
.agape-save-note { font-size: .6875rem; color: var(--agape-muted); max-width: 15ch; text-align: center; }
.agape-review > p { color: var(--agape-muted); font-size: .9375rem; }
.agape-review-section { padding: 1.5rem 0; border-bottom: 1px solid var(--agape-line); }
.agape-review-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.agape-review dl { margin: 1rem 0 0; }
.agape-review dt { font-size: .75rem; color: var(--agape-muted); margin-top: 1rem; }
.agape-review dd { font-size: .9375rem; color: var(--agape-ink); margin: .25rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.agape-consent-box { margin-top: 2rem; background: var(--agape-paper); border: 1px solid var(--agape-line); padding: 1.25rem; }
.agape-questionnaire-success { max-width: 43rem; padding-top: 4rem; }
.agape-questionnaire-success > p:not(.agape-eyebrow):not(.agape-signature) { color: var(--agape-muted); }

@media (max-width: 960px) {
  .agape-consultation__inner { gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
  .agape .agape-eyebrow { font-size: .625rem; }
  .agape-questionnaire__layout { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 2.5rem; }
  .agape-save-note { display: none; }
}
@media (max-width: 700px) {
  .agape-consultation__inner { grid-template-columns: minmax(0, 1fr); padding-top: 3rem; padding-bottom: 3rem; gap: 2.75rem; }
  .agape-intro h2 { max-width: 12ch; font-size: clamp(3rem, 10vw, 4rem); }
  .agape-intro { padding: 0; }
  .agape-lead { max-width: 43ch; }
  .agape-process { margin-top: 2rem; max-width: none; }
  .agape-signup-panel { padding: 1.5rem; }
  .agape-questionnaire { padding-top: 2.5rem; padding-bottom: 3rem; }
  .agape-questionnaire__header { padding-bottom: 2rem; }
  .agape-questionnaire__layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-top: 1.75rem; }
  .agape-sidebar { position: static; }
  .agape-steps { flex-direction: row; justify-content: space-between; gap: .25rem; }
  .agape .agape-step { padding: .25rem .6rem; align-items: center; justify-content: center; min-height: 2.75rem; }
  .agape-step > span:last-child { display: none; }
  .agape-step__number { font-size: .875rem; }
  .agape .agape-step[aria-current=step] { border-bottom: 1px solid var(--agape-accent); }
  .agape progress { margin-bottom: .75rem; }
  .agape .agape-private-note { display: none; }
  .agape-fields { gap: 1.75rem; }
  .agape-choices { flex-direction: column; align-items: stretch; }
  .agape-form-navigation .agape-button { padding: .875rem 1.125rem; }
}
@media (max-width: 374px) {
  .agape-signup-panel { padding: 1.25rem; }
  .agape-fields--personal { grid-template-columns: minmax(0, 1fr); }
  .agape-fields--personal > :nth-child(n) { grid-column: auto; }
  .agape .agape-step { padding: .25rem .5rem; }
  .agape-eyebrow span { margin: 0 .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .agape *, .agape *::before, .agape *::after { transition: none !important; scroll-behavior: auto !important; }
}
