/* Handoff layer on the v3 landing page. Brand green is #67B346. */
:root { --green: #67B346; }
.button:hover { background: #78b85a; }
.brand .signature-emblem { background: transparent; padding: 0; border-radius: 0; }

.hero { border-radius: 0; overflow: hidden; }
.hero-foot {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr) minmax(0, 1.05fr);
  align-items: center;
}
.hero-foot > div {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.hero-foot strong {
  flex: 0 0 auto;
  font-size: clamp(30px, 2.7vw, 40px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.hero-foot span {
  flex: 1 1 9.5rem;
  min-width: 9.5rem;
  max-width: 16rem;
  font-size: 15px;
  line-height: 1.45;
}
.hero-content,
.hero-foot { position: relative; z-index: 2; }
.hero-form-card { z-index: 3; }
.hero-coordinate { z-index: 2; }
.hero-cut { position: relative; z-index: 3; display: block; width: 100%; }
.hero-cut-desktop { height: 72px; }
.hero-cut-mobile { display: none; height: 44px; }

.story-photo {
  width: min(1120px, calc(100% - 112px));
  margin: 48px auto 0;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e9df;
}
.story-photo img { display: block; width: 100%; height: min(420px, 52vw); object-fit: cover; }
.story-photo-dark {
  width: 100%;
  margin: 36px 0 8px;
  background: #121910;
  border-color: #35452a;
}
.process .story-photo img { height: min(360px, 48vw); }

.ask-saint { position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.ask-saint-launch,
.ask-saint-close {
  border: 1px solid #3f6a2c;
  border-radius: 999px;
  background: #67B346;
  color: #10160e;
  font: inherit;
  font-weight: 650;
  min-height: 46px;
  padding: 10px 16px;
}
.ask-saint-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(360px, calc(100vw - 28px));
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 16px;
  border-radius: 22px;
  background: #f8fbf5;
  color: #151a16;
  border: 1px solid #d5e1cc;
  box-shadow: 0 18px 50px rgba(9, 20, 5, 0.18);
}
.ask-saint-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ask-saint-head h2 { font-size: 20px; letter-spacing: -0.03em; }
.ask-saint-close { min-height: 36px; padding: 6px 12px; background: #fff; }
.ask-saint-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ask-saint-links a {
  border: 1px solid #d5e1cc;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  background: #fff;
}
.ask-saint-note { font-size: 14px; line-height: 1.5; color: #303b30; }
.ask-saint-panel label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 6px; }
.ask-saint-panel textarea {
  width: 100%;
  min-height: 88px;
  border-radius: 12px;
  border: 1px solid #c9d6c2;
  padding: 10px;
  font: inherit;
  margin-bottom: 10px;
}
.ask-saint-answer { margin: 12px 0 0; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }

.incident-page { background: #f4f6f4; color: #151a16; }
.incident-page h1 { font-size: clamp(40px, 5vw, 64px); max-width: 12ch; color: #151a16; line-height: 1.02; }
.incident-main { padding: 36px 0 72px; }
.incident-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 36px;
  align-items: start;
}
.incident-call {
  display: inline-flex;
  margin-top: 18px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
  font-weight: 650;
  color: #1d3a14;
  border-bottom: 3px solid #67B346;
}
.incident-card {
  background: #fff;
  border: 1px solid #e3e9df;
  border-radius: 28px;
  padding: 26px 24px;
}
.incident-card .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.incident-card .full { grid-column: 1 / -1; }
.incident-card label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 6px; }
.incident-card input,
.incident-card select,
.incident-card textarea {
  width: 100%;
  border: 1px solid #c9d6c2;
  border-radius: 12px;
  min-height: 44px;
  padding: 10px;
  font: inherit;
  background: #fff;
}
.incident-card textarea { min-height: 120px; }
.incident-card .form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 14px; }
.incident-warning { font-size: 14px; color: #3d4a3c; margin: 12px 0 0; }
.incident-status { margin-top: 14px; font-size: 15px; }
.incident-status[data-state="error"] { color: #8a2b1f; }
.incident-status[data-state="saved"] { color: #245016; }

@media (max-width: 1150px) {
  .hero-foot { grid-template-columns: 1fr; gap: 16px; }
  .hero-foot > div {
    display: grid;
    grid-template-columns: minmax(12.5rem, 40%) 1fr;
    align-items: center;
    gap: 16px;
  }
  .hero-foot strong { font-size: 32px; white-space: normal; }
  .hero-foot span { font-size: 15px; min-width: 0; max-width: none; }
}
@media (max-width: 900px) {
  .hero-cut-desktop { display: none; }
  .hero-cut-mobile { display: block; }
  .hero-foot strong { font-size: 28px; }
  .hero-foot span { font-size: 15px; }
  .story-photo { width: calc(100% - 40px); margin-top: 28px; border-radius: 22px; }
  .incident-hero,
  .incident-card .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ask-saint { right: 10px; bottom: 10px; }
  .ask-saint-launch { min-height: 44px; padding: 8px 14px; }
  .hero-foot > div { grid-template-columns: minmax(9.2rem, 46%) 1fr; }
  .hero-foot strong { font-size: 22px; white-space: normal; }
  .hero-foot span { font-size: 13px; max-width: none; }
  .hero-cut-mobile { height: 36px; }
}
