:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: #25211d;
  background: #f3efe7;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f3efe7;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    linear-gradient(180deg, #e9e0d1 0, #f3efe7 10rem, #f3efe7 100%);
}

.page {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: start;
  padding:
    max(2rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(2rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

.answer-card {
  width: min(100%, 42rem);
  margin: 0 auto;
  overflow-wrap: anywhere;
  background: #fffdf9;
  border: 1px solid #d8cdbc;
  border-top: 0.35rem solid #7a2532;
  border-radius: 0.25rem;
  box-shadow: 0 0.75rem 2rem rgb(57 43 29 / 8%);
  padding: clamp(1.4rem, 6vw, 2.5rem);
}

h1 {
  margin: 0 0 1rem;
  color: #681f2a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 8vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.answer-content {
  font-size: clamp(1.125rem, 4.8vw, 1.3rem);
  line-height: 1.6;
}

.answer-content p {
  margin: 0;
}

.answer-content p + p,
.answer-content p + ul,
.answer-content ul + p {
  margin-top: 1rem;
}

.answer-content ul {
  margin-bottom: 0;
  padding-left: 1.35em;
}

.answer-content li {
  padding-left: 0.25em;
}

.answer-content li + li {
  margin-top: 0.7rem;
}

@media (min-width: 48rem) {
  .page {
    align-items: center;
    padding-block: 3rem;
  }
}

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