:root {
  --ink: #4d017d;
--sky: #f3eef6;
--dusk: #55335c;
--dusk-dark: #37243f;
--ember: #b8703a;
--ember-dark: #9a5c2c;
--mist: #967ca3;
--mist-light: #e3d7e8;
--cloud: #ffffff;

  --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 14px;
  --shadow-soft: 0 2px 10px rgba(51, 73, 92, 0.08);
  --shadow-card: 0 8px 28px rgba(51, 73, 92, 0.12);
  --max-width: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ember-dark); text-decoration-thickness: 1px; }
a:hover, a:focus-visible { color: var(--ember); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--dusk);
  line-height: 1.2;
  font-weight: 600;
}

/* ---- Skip-to-content, a11y basic ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dusk);
  color: #fff;
  padding: 0.75em 1.25em;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---- Top band ---- */
.site-header {
  background: linear-gradient(160deg, var(--dusk) 0%, var(--dusk-dark) 100%);
  color: #fff;
  padding: 2.25rem 1.25rem 3.25rem;
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-header__wordmark {
  display: inline-block;
  background: var(--cloud);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  line-height: 0;
  margin-bottom: 1.5rem;
  width: 100%;
}
.site-header__logo {
  display: block;
  width: 40%;
  text-align: center;
  margin: 0 auto;
}
.site-header h1 {
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  margin: 0 0 0.6rem;
  text-align: center;
}
.site-header p.lede {
  color: var(--mist-light);
  font-size: 1.05rem;
  margin: 0 2rem;
}

.site-header p.tagline {
  color: var(--sky);
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 3em;
}


/* ---- Page shell ---- */
.page {
  max-width: var(--max-width);
  margin: -2rem auto 0;
  padding: 0 1.25rem 3rem;
}

/* ---- Trust strip: short reassurance directly above the form ---- */
.trust-strip {
  background: var(--cloud);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: grid;
  gap: 0.65rem;
}
.trust-strip__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink);
}
.trust-strip__icon {
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--ember-dark);
}

/* ---- Card / form ---- */
.card {
  background: var(--cloud);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.25rem;
}
@media (min-width: 640px) {
  .card { padding: 2rem 2.25rem; }
}

.field { margin-bottom: 1.5rem; }
.field h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.field .hint {
  display: block;
  color: var(--mist);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

textarea, input[type="text"], input[type="email"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--mist-light);
  border-radius: 10px;
  background: var(--sky);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
textarea:focus, input:focus {
  border-color: var(--ember);
  background: var(--cloud);
}
textarea { min-height: 5.5rem; resize: vertical; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.checkbox-row input { margin-top: 0.3rem; flex: none; }
.checkbox-row label { font-weight: 400; }

.btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--ember);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover { background: var(--ember-dark); }
.btn:active { transform: translateY(1px); }

/* ---- Details / accordion for the deeper explanation ---- */
details.explainer {
  margin-top: 1.5rem;
  background: var(--cloud);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.25rem 1.25rem;
}
details.explainer summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--dusk);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details.explainer summary::-webkit-details-marker { display: none; }
details.explainer summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--ember-dark);
  transition: transform 0.15s ease;
  flex: none;
}
details.explainer[open] summary::after { transform: rotate(45deg); }
details.explainer .explainer-body { padding-bottom: 1.25rem; color: var(--ink); }
details.explainer ul { padding-left: 1.1rem; margin: 0.5rem 0; }
details.explainer li { margin-bottom: 0.9rem; }
details.explainer li:last-child { margin-bottom: 0; }

/* ---- Report view ---- */
.report h3 { margin-top: 1.5rem; }
.report h3:first-child { margin-top: 0; }
.report p { white-space: normal; }
.report-notice {
  border-left: 3px solid var(--ember);
  background: var(--sky);
  padding: 0.85rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  margin: 1.75rem 0;
}
.report-link-box {
  background: var(--sky);
  border: 1.5px dashed var(--mist);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  word-break: break-all;
  font-size: 0.95rem;
}

.error-box {
  background: #fdf0e8;
  border-left: 3px solid var(--ember);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
}

/* ---- Footer ---- */
.site-footer {
  text-align: center;
  color: var(--mist);
  font-size: 0.85rem;
  padding: 2.5rem 1.25rem 3rem;
}
.site-footer a { color: var(--mist); }

/* ---- Small "sr-only" helper ---- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* honeypot */
.hp-field { position: absolute; left: -9999px; }

/* ---- Wider screens: a little more breathing room, not a layout change.
   The whole point of this redesign is that the form is the page — we're
   not reintroducing a sidebar that competes with it. ---- */
@media (min-width: 640px) {
  body { font-size: 18px; }
  .site-header { padding: 3rem 2rem 4rem; }
}
