:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f1e8;
  color: #172421;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(244, 71, 59, .08), transparent 30%),
    #f7f1e8;
}

.share-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: max(22px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
}

.share-card {
  width: min(100%, 560px);
  overflow: hidden;
  border: 1px solid #e7ddd2;
  border-radius: 30px;
  background: #fffefb;
  box-shadow: 0 18px 48px rgba(38, 31, 25, .12);
}

.share-card header {
  display: flex;
  min-height: 92px;
  align-items: center;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #eee6dd;
}

.brand img { display: block; width: 224px; max-width: 66vw; height: auto; }
.event-copy, .missing { padding: 26px 28px 30px; }
.eyebrow { color: #f4473b; font-size: .78rem; font-weight: 900; letter-spacing: .08em; }

.pill, .status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.pill { border: 1px solid #f4473b; background: #fff0ec; color: #b9342b; }
.is-trip .pill { border-color: #9c84e0; background: #f1ecff; color: #624ca8; }
.status { float: right; background: #e9f5e9; color: #087443; }
.status.is-cancelled { background: #ffebe8; color: #b9342b; }
.status.is-completed { background: #f0eeeb; color: #68726f; }

h1 {
  margin: 22px 0 7px;
  font-size: clamp(2rem, 8vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.kind-description { margin: 0; color: #68726f; font-size: 1rem; line-height: 1.45; }
.facts { display: grid; gap: 10px; margin: 25px 0; }

.facts div {
  display: grid;
  gap: 3px;
  border: 1px solid #e8dfd6;
  border-radius: 17px;
  padding: 12px 14px;
  background: #fbf8f4;
}

.facts dt { color: #707a77; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.facts dd { margin: 0; font-size: 1rem; font-weight: 750; }

.primary {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-radius: 17px;
  background: #087f48;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.privacy-note { margin: 12px 5px 0; color: #737c79; font-size: .78rem; line-height: 1.45; text-align: center; }
.missing p:not(.eyebrow) { color: #68726f; line-height: 1.55; }
.missing .primary { margin-top: 24px; }

@media (max-width: 420px) {
  .share-card header { min-height: 80px; padding: 20px 22px 15px; }
  .event-copy, .missing { padding: 22px; }
  .pill, .status { min-height: 31px; padding: 0 11px; font-size: .67rem; }
}
