@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #242d26;
  --muted: #737a70;
  --green: #385b45;
  --green-dark: #294733;
  --cream: #f5f0e7;
  --paper: #fffefa;
  --line: #e8e5dc;
  --orange: #e88852;
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

button,
label,
summary {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(100% - 48px, 1024px);
  margin: 0 auto;
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px 10px 10px 3px;
  background: var(--green);
  color: white;
  font-size: 19px;
}

.topbar-note {
  max-width: 760px;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .03em;
  line-height: 1.5;
  text-align: right;
}

.topbar-verse {
  white-space: nowrap;
}

.intro {
  min-height: 328px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 36px 62px 42px;
  border-radius: 18px;
  background-color: #e9e9d8;
  background-image:
    linear-gradient(rgba(233, 233, 216, .9), rgba(233, 233, 216, .9)),
    url("assets/young-adult-community.jpg");
  background-position: center;
  background-size: cover;
}

.intro-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.eyebrow span {
  margin-right: 5px;
  color: var(--orange);
  font-size: 13px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-family: Manrope, sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -2.7px;
  line-height: 1.08;
}

h1 em {
  color: var(--green);
  font-style: normal;
}

.intro-description {
  max-width: 430px;
  margin-bottom: 17px;
  color: #656d61;
  font-size: 13px;
  line-height: 1.7;
}

.time-estimate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #60695e;
  font-size: 11px;
}

.intro-account-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.account-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--green);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.account-button-primary {
  background: var(--green);
  color: #fff !important;
}

.account-button-primary:hover {
  background: var(--green-dark);
}

.account-button-secondary {
  background: transparent;
  color: var(--green);
}

.account-button-secondary:hover {
  background: rgba(255, 254, 250, .55);
}

.clock-icon {
  font-size: 18px;
  line-height: 1;
}

.intro-art {
  height: 245px;
  position: relative;
  justify-self: center;
  width: 280px;
}

.cross-shape {
  width: 40px;
  height: 158px;
  position: absolute;
  top: 10px;
  left: 120px;
  border-radius: 5px;
  background: var(--green);
  box-shadow: 0 0 0 12px rgba(56, 91, 69, .06);
}

.cross-shape::before {
  width: 112px;
  height: 31px;
  position: absolute;
  top: 43px;
  left: -36px;
  border-radius: 4px;
  background: var(--green);
  content: "";
}

.art-caption {
  position: absolute;
  top: 187px;
  right: 0;
  left: 0;
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.55;
  text-align: center;
}

.form-card {
  margin: 22px 0 0;
  padding: 42px 62px 35px;
  border: 1px solid rgba(232, 229, 220, .8);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(48, 57, 46, .035);
}

.form-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.form-heading .eyebrow {
  margin-bottom: 8px;
}

h2 {
  margin-bottom: 0;
  font-family: Manrope, sans-serif;
  font-size: 23px;
  letter-spacing: -.8px;
}

.required-note,
.required-mark {
  color: #ab603c;
  font-size: 11px;
}

.required-note span {
  font-weight: 700;
}

.question-block {
  min-width: 0;
  margin: 0;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.question-block legend,
.question-label {
  display: block;
  width: 100%;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.required-mark {
  margin-left: 2px;
}

.field-hint {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.rating-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-top: 17px;
}

.rating-option {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
}

.rating-option input,
.choice-option input,
.pill-option input {
  position: absolute;
  opacity: 0;
}

.rating-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dedfd5;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}

.rating-label {
  font-size: 10px;
}

.rating-option input:checked + .rating-number {
  transform: translateY(-2px);
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.rating-option input:focus-visible + .rating-number,
.choice-option input:focus-visible + span,
.pill-option input:focus-visible + span {
  outline: 3px solid #e8b17c;
  outline-offset: 3px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 16px;
}

.other-enjoyable-field {
  margin-top: 18px;
}

.other-enjoyable-field[hidden] {
  display: none;
}

.attendee-question-list {
  display: grid;
  gap: 12px;
}

.attendee-question-card {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid #e4e3da;
  border-radius: 10px;
  background: #faf9f4;
}

.attendee-question-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.attendee-question-title,
.recipient-legend {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.remove-question-button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #e4e3da;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
}

.remove-question-button:hover {
  background: #fff;
  color: var(--green-dark);
}

.recipient-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.recipient-options legend {
  width: 100%;
  margin-bottom: 10px;
}

.other-recipient-field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.other-recipient-field[hidden] {
  display: none;
}

.add-question-button {
  min-height: 40px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid #cdd7c9;
  background: #eff3ea;
  color: var(--green-dark);
  font-size: 11px;
}

.add-question-button:hover {
  background: #e4ecdf;
}

.question-contact-fields {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e6d9c8;
  border-radius: 10px;
  background: #fbf5eb;
}

.question-contact-fields[hidden] {
  display: none;
}

.question-contact-notice {
  margin: 0 0 5px;
  color: #656d61;
  font-size: 11px;
  line-height: 1.65;
}

.choice-option,
.pill-option {
  position: relative;
  cursor: pointer;
}

.choice-option span,
.pill-option span {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border: 1px solid #e4e3da;
  border-radius: 8px;
  background: #fff;
  color: #596258;
  font-size: 11px;
  transition: background .15s, color .15s, border-color .15s;
}

.choice-option input:checked + span,
.pill-option input:checked + span {
  border-color: #9eae9d;
  background: #eff3ea;
  color: var(--green-dark);
}

.optional-note {
  margin-left: 8px;
  color: #93988d;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .09em;
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.pill-option span {
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 30px;
}

textarea,
.form-input {
  width: 100%;
  border: 1px solid #e4e3da;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

textarea {
  min-height: 78px;
  display: block;
  padding: 12px 13px;
  resize: vertical;
}

textarea::placeholder,
.form-input::placeholder {
  color: #a4a79e;
}

textarea:focus,
.form-input:focus {
  border-color: #809780;
  box-shadow: 0 0 0 3px rgba(56, 91, 69, .1);
}

.form-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
}

.closing-verse {
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: #f3f4eb;
}

.closing-verse p {
  margin: 0 0 11px;
  color: var(--green-dark);
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
}

.closing-verse cite {
  display: block;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.closing-verse cite span {
  margin-left: 7px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .08em;
}

.privacy-note {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.form-footer button {
  align-self: center;
}

.privacy-note span {
  margin-right: 5px;
  color: var(--orange);
}

button {
  min-height: 46px;
  flex-shrink: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: background .15s, transform .15s;
}

button:hover {
  transform: translateY(-1px);
  background: var(--green-dark);
}

button:focus-visible,
.secondary-button:focus-visible,
a:focus-visible {
  outline: 3px solid #e8b17c;
  outline-offset: 3px;
}

button span {
  margin-left: 7px;
  font-size: 15px;
}

.separate-follow-up,
.form-message {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.separate-follow-up {
  text-align: center;
}

.attendee-session-status {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 1px solid #cdd7c9;
  border-radius: 8px;
  background: #eff3ea;
  color: var(--green-dark);
  font-size: 11px;
  line-height: 1.6;
}

.attendee-session-status[hidden] {
  display: none;
}

.attendee-session-status a,
.account-links a {
  color: var(--green);
  font-weight: 700;
}

.account-links {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.separate-follow-up a,
.site-footer a {
  color: var(--green);
  font-weight: 600;
}

.form-error {
  color: #a13c2c;
}

.form-message[hidden] {
  display: none;
}

.button-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.button-link:hover {
  background: var(--green-dark);
}

.leader-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.leader-header h1 {
  margin: 8px 0 0;
  font-size: 34px;
}

.leader-header form {
  margin: 0;
}

.leader-header button,
.secondary-button {
  min-height: 40px;
}

.leader-card {
  margin: 14px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.leader-card h3 {
  margin: 0 0 12px;
  font-family: Manrope, sans-serif;
  font-size: 15px;
}

.leader-meta {
  color: var(--muted);
  font-size: 10px;
}

.leader-answer {
  margin: 8px 0 0;
  color: #566056;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.leader-empty {
  padding: 35px 20px;
  color: var(--muted);
  text-align: center;
}

.form-input {
  height: 44px;
  padding: 0 12px;
}

.form-stack {
  display: grid;
  gap: 12px;
}

.form-stack label {
  margin-bottom: -7px;
  font-size: 11px;
  font-weight: 600;
}

.login-card {
  max-width: 470px;
  margin: 25px auto;
}

.login-card h1 {
  margin: 8px 0 22px;
  font-size: 32px;
}

.leader-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 10px;
}

.leader-toolbar h2 {
  font-size: 19px;
}

.leader-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.submitted-questions {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.question-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0;
}

.question-filter {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #e4e3da;
  border-radius: 20px;
  background: #fff;
  color: #596258;
  font-size: 11px;
  text-decoration: none;
}

.question-filter span {
  color: var(--muted);
  font-size: 10px;
}

.question-filter.is-active {
  border-color: #9eae9d;
  background: #eff3ea;
  color: var(--green-dark);
}

.question-filter.is-active span {
  color: var(--green);
}

.submitted-question {
  margin: 10px 0;
}

.recipient-badge {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 16px;
  background: #eff3ea;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 700;
}

.leader-question-text {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.leader-questions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.leader-questions h4 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 12px;
}

.question-pagination p {
  flex: 1;
}

.question-pagination p:nth-child(2) {
  text-align: center;
}

.question-pagination p:last-child {
  text-align: right;
}

.leader-details {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.leader-details summary {
  cursor: pointer;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.leader-details .leader-card {
  border-left: 3px solid #d59a70;
}

.site-footer a {
  margin-left: 12px;
  font-size: 10px;
}

.button-link:focus-visible {
  outline: 3px solid #e8b17c;
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: .7;
}

.form-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff1ed;
}

.thank-you {
  padding: 54px 0 27px;
  text-align: center;
}

.thank-you[hidden] {
  display: none;
}

.thank-you-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #eff3ea;
  color: var(--green);
  font-size: 25px;
}

.thank-you .eyebrow {
  margin-bottom: 9px;
}

.thank-you h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.thank-you > p:not(.eyebrow) {
  max-width: 430px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.secondary-button {
  border: 1px solid #dfe3d9;
  background: transparent;
  color: var(--green);
}

.secondary-button:hover {
  background: #eff3ea;
  color: var(--green-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 23px 4px 28px;
  color: #7d8278;
  font-size: 10px;
}

.site-footer span:first-child {
  color: var(--green);
  font-family: Manrope, sans-serif;
  font-weight: 800;
}

.site-footer span:first-child span {
  margin-left: 3px;
  color: var(--orange);
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 28px, 560px);
  }

  .topbar {
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 14px 0;
  }

  .topbar-note {
    max-width: none;
    margin-left: 0;
    text-align: left;
  }

  .intro {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 34px 27px 19px;
  }

  h1 {
    font-size: clamp(37px, 10vw, 48px);
  }

  .intro-art {
    width: 230px;
    height: 204px;
    margin: 18px auto 0;
  }

  .cross-shape {
    width: 34px;
    height: 136px;
    top: 0;
    left: calc(50% - 17px);
  }

  .cross-shape::before {
    width: 96px;
    height: 27px;
    top: 38px;
    left: -31px;
  }

  .art-caption {
    top: 160px;
  }

  .form-card {
    margin-top: 14px;
    padding: 30px 24px 27px;
  }

  .form-heading {
    padding-bottom: 22px;
  }

  .rating-options {
    gap: 5px;
  }

  .rating-number {
    width: 39px;
    height: 39px;
  }

  .rating-label {
    max-width: 62px;
    font-size: 9px;
  }

  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .form-footer button {
    width: 100%;
  }

  .leader-header,
  .leader-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .leader-header h1 {
    font-size: 29px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-footer a {
    display: block;
    margin: 7px 0 0;
  }
}

@media (max-width: 380px) {
  .page-shell {
    width: min(100% - 20px, 560px);
  }

  .topbar-note {
    font-size: 10px;
  }

  .form-card {
    padding-right: 17px;
    padding-left: 17px;
  }

  .rating-options {
    gap: 3px;
  }

  .rating-number {
    width: 35px;
    height: 35px;
  }

  .rating-label {
    font-size: 8px;
  }
}
