:root {
  --ink: #352b35;
  --plum: #5b3b51;
  --plum-deep: #432b3d;
  --rose: #b47b7b;
  --gold: #ba9461;
  --sage: #879387;
  --paper: #f7f1e8;
  --paper-deep: #eee3d4;
  --white: #fffdf9;
  --line: rgba(67, 43, 61, 0.17);
  --shadow: 0 24px 60px rgba(70, 44, 58, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(180, 123, 123, 0.11), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

button, input, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 99;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  color: white;
  background: var(--plum-deep);
  border-radius: 99px;
}

.skip-link:focus { transform: none; }

.site-header {
  max-width: 1220px;
  margin: 0 auto;
  padding: 1.4rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--plum);
  font-family: var(--serif);
  letter-spacing: -0.08em;
}

.brand strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.brand small { display: block; margin-top: -0.25rem; color: #776a73; font-size: 0.72rem; letter-spacing: 0.08em; }

.privacy-pill {
  padding: 0.42rem 0.8rem;
  color: var(--plum);
  background: rgba(255,255,255,.48);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

main { overflow: hidden; }

.hero {
  position: relative;
  max-width: 1220px;
  min-height: 780px;
  margin: 0 auto;
  padding: 4rem 2.2rem 6.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 241, 232, .2) 0%, rgba(247, 241, 232, .08) 50%, transparent 72%);
}

.hero-copy { position: relative; z-index: 2; width: min(64%, 720px); }

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1, h2, legend {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h1 { max-width: 750px; margin: 0; color: var(--plum-deep); font-size: clamp(2.5rem, 4vw, 4.3rem); letter-spacing: -.045em; }

.hero-lede,
.hero-examples,
.hero-purpose { color: #655964; font-size: 1.15rem; }
.hero-story-copy {
  max-width: 680px;
  margin: 1.8rem 0 2.2rem;
  padding: 1.1rem 1.25rem;
  background: rgba(247, 241, 232, .78);
  border: 1px solid rgba(255, 253, 249, .55);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(67, 43, 61, .08);
  backdrop-filter: blur(2px);
}
.hero-lede { max-width: 610px; margin: 0 0 1rem; }
.hero-examples { max-width: 650px; margin: 0 0 1rem; }
.hero-purpose { max-width: 650px; margin: 0; }

.button {
  display: inline-flex;
  min-height: 3.2rem;
  padding: 0.78rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 99px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(186, 148, 97, .35); outline-offset: 3px; }
.button-primary { color: white; background: var(--plum); box-shadow: 0 10px 26px rgba(67, 43, 61, .2); }
.button-primary:hover { background: var(--plum-deep); }
.button-quiet { color: var(--plum); background: transparent; border-color: var(--line); }
.button:disabled { opacity: .6; cursor: wait; transform: none; }

.form-section {
  padding: 7rem max(2.2rem, calc((100vw - 1220px)/2));
  display: grid;
  grid-template-columns: minmax(250px, .66fr) minmax(0, 1.34fr);
  gap: 5rem;
  color: var(--ink);
  background: #e9dfd6;
}

.form-intro { position: sticky; top: 2rem; align-self: start; }
.form-intro h2 { margin: 0 0 1rem; color: var(--plum-deep); font-size: clamp(2.5rem, 4vw, 4.3rem); letter-spacing: -.045em; }
.form-intro > p:not(.eyebrow) { max-width: 32rem; color: #6f6269; }

.trust-note { margin-top: 2rem; padding: 1.1rem; display: flex; gap: .8rem; background: rgba(255,253,249,.5); border: 1px solid rgba(91,59,81,.12); border-radius: 18px; }
.trust-note > span { color: var(--gold); font-size: 1.4rem; line-height: 1.2; }
.trust-note p { margin: 0; color: #655963; font-size: .88rem; }

.form-shell { padding: 2rem; background: var(--white); border: 1px solid rgba(91,59,81,.1); border-radius: 26px; box-shadow: var(--shadow); }

.progress { margin: 0 0 2.4rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.progress li { position: relative; display: flex; gap: .5rem; align-items: center; color: #958991; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.progress li:not(:last-child)::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.progress span { display: grid; place-items: center; width: 1.7rem; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.progress li.is-active, .progress li.is-complete { color: var(--plum); }
.progress li.is-active span, .progress li.is-complete span { color: white; background: var(--plum); border-color: var(--plum); }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: .6rem; color: var(--plum-deep); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.035em; }
.field-help { margin: 0 0 2rem; color: #766a72; }

label:not(.choice-card, .check-row, .tag-grid label) { display: block; margin: 1.45rem 0 .45rem; font-size: .88rem; font-weight: 800; }
.optional { color: #958991; font-size: .74rem; font-weight: 500; }

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: .9rem 1rem;
  color: var(--ink);
  background: #fdfaf6;
  border: 1px solid rgba(91,59,81,.19);
  border-radius: 13px;
  transition: border .18s ease, box-shadow .18s ease;
}

textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #a89da3; }
input.is-invalid, textarea.is-invalid { border-color: #a54f5f; box-shadow: 0 0 0 3px rgba(165,79,95,.1); }

.field-meta { min-height: 1.3rem; margin-top: .3rem; display: flex; justify-content: space-between; gap: 1rem; color: #958991; font-size: .72rem; }
.field-meta p { margin: 0; }
.field-error { min-height: 1.2em; margin: .3rem 0 0; color: #984252; font-size: .76rem; font-weight: 650; }
.field-meta .field-error { flex: 1; }

.form-actions { margin-top: 2rem; display: flex; justify-content: space-between; gap: 1rem; }
.form-actions-end { justify-content: flex-end; }

.choice-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.choice-card { padding: 1rem; display: flex; gap: .7rem; align-items: flex-start; background: #fdfaf6; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.choice-card:has(input:checked) { background: rgba(180,123,123,.09); border-color: var(--rose); }
.choice-card input { margin-top: .22rem; accent-color: var(--plum); }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { font-size: .88rem; }
.choice-card small { margin-top: .15rem; color: #847881; line-height: 1.3; }

.nested-fieldset { margin-top: 1.6rem; }
.experience-fieldset { margin-top: .5rem; }
.nested-fieldset legend { margin-bottom: .7rem; font-family: var(--sans); font-size: .88rem; font-weight: 800; letter-spacing: 0; }
.tag-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-grid label { padding: .55rem .8rem; background: #fdfaf6; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: .78rem; }
.tag-grid label:has(input:checked) { color: white; background: var(--plum); border-color: var(--plum); }
.tag-grid input { position: absolute; opacity: 0; pointer-events: none; }
.identity-label { margin: 1.9rem 0 .2rem; font-size: .88rem; font-weight: 800; }

.check-row { margin-top: 1.5rem; display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; font-size: .88rem; }
.check-row input { width: 1.1rem; height: 1.1rem; margin-top: .18rem; flex: 0 0 auto; accent-color: var(--plum); }
.consent-row { padding: 1rem; background: var(--paper); border-radius: 13px; }

.review-card { display: grid; gap: 1.3rem; }
.review-item { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: 0; }
.review-item dt { color: #958991; font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.review-item dd { margin: .35rem 0 0; white-space: pre-wrap; }
.review-item.story dd { max-height: 18rem; overflow: auto; padding-right: .5rem; }
.review-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.review-tags span { padding: .3rem .55rem; background: var(--paper); border-radius: 99px; font-size: .74rem; }

.alert { margin-bottom: 1.4rem; padding: .85rem 1rem; color: #7d3340; background: #f8e3e6; border: 1px solid #e3b3bb; border-radius: 12px; font-size: .88rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.success-view { padding: 4rem 1rem; text-align: center; }
.success-view h2 { max-width: 30rem; margin: .6rem auto 1rem; color: var(--plum-deep); font-size: clamp(2.5rem, 5vw, 4.4rem); }
.success-view > p:not(.eyebrow, .receipt) { max-width: 34rem; margin: 0 auto 1.5rem; color: #6f6269; }
.success-mark { display: block; margin-bottom: 1rem; color: var(--gold); font-size: 3.2rem; }
.receipt { margin: 2rem 0; color: #8b7f87; font-size: .8rem; }

footer {
  margin: 0;
  padding: 1.6rem max(2.2rem, calc((100vw - 1220px)/2));
  color: #4b3a49;
  background:
    radial-gradient(circle at 12% 4%, rgba(216, 148, 126, .42), transparent 25rem),
    radial-gradient(circle at 62% 8%, rgba(247, 216, 145, .5), transparent 28rem),
    radial-gradient(circle at 92% 88%, rgba(167, 154, 183, .3), transparent 24rem),
    linear-gradient(135deg, #ecd0b8 0%, #f7e5bb 47%, #e3c8bd 100%);
  box-shadow: inset 0 1px rgba(255, 250, 232, .58);
}
.footer-brand { display: grid; justify-items: start; gap: .9rem; }
.footer-logo {
  display: block;
  width: 9rem;
  max-width: 36vw;
}
.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-details { font-size: .78rem; line-height: 1.65; }
.footer-details a { color: inherit; text-underline-offset: .18em; }
.footer-details a:hover { color: var(--plum); }

[hidden] { display: none !important; }

@media (max-width: 850px) {
  .hero { min-height: 760px; padding-top: 4rem; align-items: flex-start; }
  .hero-copy { width: min(76%, 650px); }
  .hero-background { object-position: 58% center; }
  .form-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-intro { position: static; }
}

@media (max-width: 580px) {
  .site-header, .hero, .form-section, footer { padding-left: 1rem; padding-right: 1rem; }
  .privacy-pill { display: none; }
  .hero { min-height: 860px; padding-top: 2.75rem; padding-bottom: 15rem; align-items: flex-start; }
  .hero-copy { width: 100%; }
  .hero-background { object-position: 78% center; }
  .hero::after { background: linear-gradient(180deg, rgba(247, 241, 232, .2) 0%, rgba(247, 241, 232, .08) 62%, transparent 86%); }
  .hero-story-copy { background: rgba(247, 241, 232, .574); }
  .form-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .form-shell { padding: 1.15rem; border-radius: 19px; }
  .progress li { gap: .3rem; font-size: .62rem; }
  .progress li:not(:last-child)::after { display: none; }
  .choice-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; }
  .form-actions .button { flex: 1; }
  .footer-logo { width: 7.5rem; max-width: 42vw; }
}

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

.listener-section { max-width: 1220px; margin: 0 auto; padding: 5rem 2.2rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.listener-section h2 { margin: 0 0 1.2rem; color: var(--plum-deep); font-size: clamp(2.5rem, 4vw, 4.3rem); letter-spacing: -.045em; }
.listener-name { color: var(--plum); font-size: 1rem; }
.listener-copy { color: #655964; font-size: 1.1rem; }
.listener-copy p { margin: 0 0 1.2rem; }
.listener-copy p:last-child { margin-bottom: 0; }
@media (max-width: 850px) { .listener-section { grid-template-columns: 1fr; gap: 1.5rem; } }
@media (max-width: 580px) { .listener-section { padding: 3.5rem 1rem; } }

/* Distinct background colors for each main-page section. */
.listener-section {
  max-width: none;
  padding-left: max(2.2rem, calc((100vw - 1150px) / 2));
  padding-right: max(2.2rem, calc((100vw - 1150px) / 2));
  background: #bfd8e9;
}
.form-section {
  background: #aacbdd;
  border-top: 1px solid rgba(91, 59, 81, .12);
}
@media (max-width: 580px) { .listener-section { padding-left: 1rem; padding-right: 1rem; } }

.listener-image { display: block; width: 13rem; max-width: 100%; height: auto; margin-top: 1.75rem; border-radius: 12px; }

.listener-copy { max-width: 72ch; }
.listener-link { margin: 1rem 0 0; color: var(--plum-deep); }
.listener-link a { color: inherit; text-underline-offset: .18em; }
