/* Benvela Health: one accent (green), everything else neutral. Colors match the app's design system. */
:root {
  --background: #f2f2f7;
  --surface: #ffffff;
  --text: #1c1c1e;
  --text-secondary: #6e6e73;
  --separator: #e5e5ea;
  --accent: #2e9d57;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #000000;
    --surface: #1c1c1e;
    --text: #ffffff;
    --text-secondary: #8e8e93;
    --separator: #2c2c2e;
    --accent: #5bc77e;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 2rem;
}

.mark {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 1.5rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 8vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.125rem;
}

p {
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

.lead {
  font-size: 1.1875rem;
}

.card {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: 1rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  .badge {
    color: #04170b;
  }
}

.muted {
  color: var(--text-secondary);
}

a {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

footer {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--separator);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

footer p {
  margin: 0 0 0.25rem;
}

@media (min-width: 40rem) {
  main {
    padding-top: 7rem;
  }
}
