:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #203f52;
  background: #f8f4ee;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: max(1.5rem, env(safe-area-inset-top)) 1rem max(1.5rem, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 50% 0%, #eaf2f4 0, #f8f4ee 68%);
}

.holding {
  position: relative;
  width: min(100%, 38rem);
  padding: clamp(2rem, 8vw, 4.5rem) clamp(1.25rem, 7vw, 4rem);
  overflow: hidden;
  border: 1px solid #d6e0df;
  border-radius: 1.75rem;
  background: #fffdfa;
  box-shadow: 0 1.5rem 4rem rgb(32 63 82 / 8%), 0 .2rem .7rem rgb(32 63 82 / 4%);
  text-align: center;
}

.intro, #story > p { color: #405f6a; font-size: 1.125rem; line-height: 1.7; }
#story { margin-top: 2rem; }
#story h2 { margin: 0; color: #203f52; font-size: clamp(1.25rem, 5vw, 1.6rem); line-height: 1.45; }
.choices, .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1rem; }
button {
  min-height: 48px;
  max-width: 100%;
  padding: .7rem 1rem;
  border: 1px solid #315f73;
  border-radius: 1rem;
  background: #315f73;
  color: #fff;
  font: inherit;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
}
button:hover { background: #244e62; }
button.secondary { border-color: #9cb9be; background: #f2f7f5; color: #244e62; }
button.secondary:hover { background: #e6f0ed; }
.status { min-height: 1.6em; margin: 1.5rem 0 0; color: #365b68; font-size: 1.0625rem; font-weight: 600; line-height: 1.6; }
[hidden] { display: none !important; }

.holding::before {
  position: absolute;
  inset: 0 0 auto;
  height: .35rem;
  background: linear-gradient(90deg, #a8c7d0, #6d9daf 52%, #c7d8d7);
  content: "";
}

.eyebrow {
  margin: 0;
  color: #315f73;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: .04em;
}

.tagline {
  margin: .55rem 0 2.5rem;
  color: #5b747d;
  font-size: .9375rem;
  line-height: 1.6;
}

h1 {
  max-width: 18em;
  margin: 0 auto;
  color: #203f52;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.35;
  text-wrap: balance;
}

.status {
  display: inline-block;
  margin: 1.5rem 0 0;
  padding: .65rem 1rem;
  border: 1px solid #dce7e5;
  border-radius: 999px;
  background: #f2f7f5;
  color: #365b68;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.6;
}

:focus-visible { outline: 3px solid #315f73; outline-offset: 4px; }

@media (max-width: 24rem) {
  .holding { padding: 2rem 1.125rem; border-radius: 1.25rem; }
  .tagline { margin-bottom: 2rem; }
  .choices, .actions { align-items: stretch; flex-direction: column; }
  .choices button, .actions button { width: 100%; }
  .status { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
