/* Insight brand tokens (from the Insight Brand & UI Standard, light theme). */
:root {
  --navy: #082947;
  --primary: #2485ba;
  --primary-strong: #1d6c98;
  --primary-strong-hover: #175a7f;
  --primary-tint: #e8f2f9;
  --teal: #36a899;
  --teal-text: #1f7d70;
  --teal-tint: #e6f5f2;
  --background: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --border: #dce3ec;
  --border-2: #c2ccd9;
  --foreground: #171d1a;
  --text-2: #566472;
  --text-3: #5f6b78;
  --warning-light: #fff6e5;
  --warning-border: #f2d49b;
  --warning-text: #6b4600;
  --success: #14724a;
  --success-light: #e7f4ed;
  --destructive: #b3271e;
  --on-navy: #ffffff;
  --on-navy-2: #b9c8d8;
  --shadow: 0 1px 2px rgba(8, 41, 71, .06), 0 4px 16px rgba(8, 41, 71, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.55 "Avenir Next", Avenir, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-strong); }
p { margin: 0 0 12px; }

/* Navy header */
.hero {
  background: var(--navy);
  color: var(--on-navy);
  padding: 20px 20px 72px;
}
.hero.compact { padding-bottom: 56px; }
.hero-inner { max-width: 520px; margin: 0 auto; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}
.logo { display: block; height: 26px; width: auto; }
.back {
  color: var(--on-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
}
.eyebrow {
  margin: 40px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-navy-2);
}
.hero.compact .eyebrow { margin-top: 28px; }
.hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero .lede { margin: 10px 0 0; color: var(--on-navy-2); font-size: 16px; }

/* Content sheet that overlaps the header */
main {
  max-width: 520px;
  margin: -44px auto 0;
  padding: 0 16px 40px;
}
.hero.compact + main { margin-top: -32px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px 20px;
}

/* Landing choices */
.choices { display: grid; gap: 12px; }
.choice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--foreground);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.choice:hover { border-color: var(--border-2); }
.choice:active { transform: scale(.99); }
.choice-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary-strong);
}
.choice.give .choice-icon { background: var(--teal-tint); color: var(--teal-text); }
.choice-icon svg { width: 24px; height: 24px; }
.choice-body { flex: 1; min-width: 0; }
.choice-body strong { display: block; font-size: 19px; line-height: 1.25; margin-bottom: 2px; }
.choice-body span { display: block; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
.chevron { flex: none; color: var(--text-3); width: 20px; height: 20px; }

.fineprint {
  margin: 28px 4px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
}
.footer {
  margin: 28px 4px 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-3);
}

/* Notices */
.notice {
  background: var(--warning-light);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.notice strong { color: var(--foreground); }
.setup-banner {
  border: 1px dashed var(--border-2);
  background: var(--surface-2);
  color: var(--text-2);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  margin: 0 0 16px;
}

/* Form */
.field { margin-bottom: 18px; }
label, legend { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%;
  font: inherit;
  font-size: 16px; /* 16px stops iOS zooming on focus */
  padding: 12px 14px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--foreground);
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23566472' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 133, 186, .2);
}
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.question { font-weight: 600; font-size: 14.5px; margin-bottom: 10px; padding: 0; }
.radio-row { display: flex; gap: 10px; }
.radio-row label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  font-weight: 500;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  cursor: pointer;
}
.radio-row label:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); }
.radio-row input { accent-color: var(--primary-strong); width: 18px; height: 18px; margin: 0; }
.hint { font-size: 13px; color: var(--text-2); margin: 6px 0 0; }
.error-text { color: var(--destructive); font-size: 14px; margin: 0 0 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: block;
  width: 100%;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 15px;
  border: 0;
  border-radius: 12px;
  background: var(--primary-strong);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--primary-strong-hover); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* Thank-you */
.thanks { text-align: center; padding: 32px 22px; }
.thanks-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
}
.thanks h2 { margin: 0 0 8px; font-size: 22px; }
.thanks p { color: var(--text-2); margin: 0 0 6px; }

/* Give: designation panel, then Zeffy's form (it draws its own card), then the receipt note */
.give-card {
  background: var(--teal-tint);
  border: 1px solid #cfe9e3;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.give-designation {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--teal-tint);
}
.give-designation-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--teal-text);
}
.give-designation-icon svg { width: 18px; height: 18px; }
.give-designation .label { display: block; font-size: 12.5px; color: var(--text-2); }
.give-designation .value { display: block; font-weight: 700; font-size: 17px; line-height: 1.3; }
.give-embed { margin-top: 16px; }
.give-embed iframe { display: block; width: 100%; border: 0; }
.give-footer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
}
.give-footer svg { flex: none; width: 18px; height: 18px; color: var(--success); margin-top: 1px; }
.give-help { margin: 12px 4px 0; text-align: center; font-size: 13px; color: var(--text-3); }
.nowrap { white-space: nowrap; }
.optional { font-weight: 400; color: var(--text-3); }
.radio-row label { white-space: nowrap; }
.give-story { margin-bottom: 16px; font-size: 15.5px; line-height: 1.6; }
.give-story p:last-child { margin-bottom: 0; }
.give-legal { margin: 24px 4px 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; line-height: 1.55; color: var(--text-2); }
.give-legal p { margin: 0 0 8px; }
