@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Raleway:wght@300;400;500&display=swap");

/**
 * @license
 * MyFonts Webfont Build ID 3867246
 * Brittany Signature by Creatype Studio
 * Licensed to the website owner.
 */
@font-face {
  font-family: "BrittanySignature";
  src: url("/fonts/brittany-signature.woff2") format("woff2"),
       url("/fonts/brittany-signature.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --paper: #fefefe;
  --ivory: #f4f4f4;
  --ink: #565656;
  --muted: #7b7480;
  --brand: #634c7a;
  --brand-deep: #3f3150;
  --lavender: #b5adc3;
  --stone: #d8d4dc;
  --line: rgba(99, 76, 122, .22);
  --soft-brand: rgba(181, 173, 195, .16);
  --error: #8a3f52;
  --font-body: "Montserrat", sans-serif;
  --font-display: "Raleway", sans-serif;
  --font-script: "BrittanySignature", "Raleway", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.72;
}
button, textarea, input { color: inherit; font: inherit; }
button { cursor: pointer; }

.site-header {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(254, 254, 254, .96);
}
.brand { display: block; width: max-content; color: var(--brand); text-decoration: none; }
.wordmark-lockup { display: block; position: relative; width: 132px; height: 61px; line-height: 1; }
.wordmark-lockup .brand-name {
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: var(--font-script);
  font-size: 47px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: .78;
  white-space: nowrap;
}
.wordmark-lockup small {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 51px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .38em;
  line-height: 1;
  white-space: nowrap;
}
.area-label {
  color: var(--brand);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.progress-shell { height: 2px; background: var(--ivory); position: sticky; top: 0; z-index: 10; }
.progress-bar { height: 100%; width: 0; background: var(--brand); transition: width .35s ease; }
.questionnaire { width: min(820px, 90vw); margin: 0 auto; min-height: calc(100vh - 180px); }
.step { display: none; padding: 82px 0 70px; animation: rise .35s ease; }
.step.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.intro { max-width: 760px; margin: 0 auto; padding-top: 96px; }

.eyebrow, .step-count {
  color: var(--brand);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .25em;
  line-height: 1.3;
  text-transform: uppercase;
}
.step-count { float: right; color: var(--muted); letter-spacing: .18em; }
h1, h2 {
  margin: 20px 0 26px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.08;
}
h1 { max-width: 720px; font-size: clamp(44px, 6.2vw, 66px); }
h2 { max-width: 720px; font-size: clamp(36px, 4.6vw, 52px); }
.lead { max-width: 700px; color: var(--ink); font-size: 16px; font-weight: 300; line-height: 1.8; }
.lead.small { font-size: 14px; }

.intro-meta { display: flex; gap: 12px; flex-wrap: wrap; margin: 40px 0 30px; }
.intro-meta span {
  border: 1px solid var(--line);
  padding: 13px 17px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .02em;
}
.intro-meta b { color: var(--brand); font-family: var(--font-display); font-size: 18px; font-weight: 400; margin-right: 4px; }
.note { max-width: 650px; color: var(--muted); font-size: 11px; line-height: 1.8; }

.field { display: block; margin: 32px 0; font-size: 13px; font-weight: 400; }
.field textarea {
  display: block;
  width: 100%;
  min-height: 116px;
  margin-top: 12px;
  padding: 18px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea::placeholder { color: #9c96a1; }
.field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99, 76, 122, .08); background: #fff; }
.field textarea.invalid, fieldset.invalid { border-color: var(--error); }
.field.optional > span { margin-left: 8px; color: var(--muted); font-size: 10px; font-weight: 300; }
.hint { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 300; }

.scenario, .context {
  margin: 30px 0;
  padding: 24px 26px;
  border-left: 2px solid var(--brand);
  background: var(--soft-brand);
  color: var(--ink);
}
.scenario em { color: var(--brand-deep); font-family: var(--font-display); font-size: 20px; font-weight: 300; }
fieldset { margin: 30px 0; padding: 0; border: 0; }
legend { margin-bottom: 13px; font-size: 13px; font-weight: 400; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 9px 0;
  padding: 16px 17px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.choice:hover, .choice:has(input:checked) { border-color: var(--brand); background: var(--soft-brand); }
.choice input { flex: 0 0 auto; margin: 5px 0 0; accent-color: var(--brand); }
.choice span { font-size: 12px; line-height: 1.65; }

.situation-list { margin: 26px 0; padding: 0; list-style: none; counter-reset: item; }
.situation-list li { position: relative; padding: 14px 12px 14px 42px; border-bottom: 1px solid var(--line); font-size: 13px; }
.situation-list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 4px;
  color: var(--brand);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
}
.numbers { display: grid; grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr; align-items: center; gap: 8px; margin: 36px 0; }
.numbers span {
  min-height: 104px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}
.numbers b { display: block; margin-bottom: 7px; color: var(--brand); font-family: var(--font-display); font-size: 30px; font-weight: 300; line-height: 1; }
.numbers i { height: 1px; background: var(--line); }

.actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 52px; }
.actions.single { justify-content: flex-start; }
.primary, .secondary {
  min-height: 52px;
  padding: 0 27px;
  border: 1px solid;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
}
.primary { border-color: var(--brand); background: var(--brand); color: #fff; }
.primary:hover { border-color: var(--brand-deep); background: var(--brand-deep); }
.primary:disabled { opacity: .55; cursor: wait; }
.secondary { border-color: var(--line); background: transparent; color: var(--brand); }
.secondary:hover { border-color: var(--brand); }

.review-card { margin: 14px 0; padding: 23px; border: 1px solid var(--line); background: var(--paper); }
.review-card header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.review-card h3 { margin: 0; color: var(--brand); font-family: var(--font-display); font-size: 22px; font-weight: 300; line-height: 1.2; }
.review-card button { border: 0; background: transparent; color: var(--brand); font-size: 10px; text-decoration: underline; }
.review-answer { margin: 8px 0; color: var(--ink); font-size: 11px; line-height: 1.7; white-space: pre-wrap; }
.review-answer b { color: var(--brand-deep); font-weight: 500; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 31px 0 0; font-size: 11px; }
.consent input { margin-top: 5px; accent-color: var(--brand); }
.form-error { min-height: 20px; color: var(--error); font-size: 11px; }

.success { max-width: 620px; margin: 0 auto; padding-top: 130px; text-align: center; }
.success-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
}

.trap, .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
footer {
  min-height: 78px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.home-page { min-height: 100vh; display: grid; place-items: center; }
.home-card { width: min(620px, 88vw); padding: 56px; border: 1px solid var(--line); background: var(--paper); }
.home-card .brand { margin-bottom: 50px; }
.home-card h1 { font-size: clamp(40px, 6vw, 62px); }

@media (max-width: 680px) {
  .site-header { height: 88px; padding: 0 20px; }
  .wordmark-lockup { width: 118px; height: 56px; }
  .wordmark-lockup .brand-name { font-size: 42px; }
  .wordmark-lockup small { top: 8px; left: 46px; font-size: 11px; }
  .area-label { font-size: 8px; }
  .questionnaire { width: min(100% - 36px, 820px); }
  .step { padding: 56px 0 50px; }
  .intro { padding-top: 66px; }
  h1 { font-size: clamp(39px, 11vw, 50px); }
  h2 { font-size: clamp(34px, 9.5vw, 44px); }
  .lead { font-size: 14px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers i { display: none; }
  .actions { position: sticky; bottom: 0; margin-top: 36px; padding: 14px 0; background: rgba(254, 254, 254, .96); }
  .primary, .secondary { padding: 0 18px; }
  footer { min-height: 88px; padding: 20px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
  .home-card { padding: 36px 28px; }
}

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