/* Shared styling for the auth landing pages.
   These are opened from an email, almost always on a phone, by someone who
   just tapped a link and wants reassurance that it worked. Big type, one
   message, no navigation to get lost in. */

:root {
  --beige: #f4e6d3;
  --green: #046c4d;
  --coral: #ff7f50;
  --dark: #24352d;
  --muted: #6f7b73;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--beige);
  color: var(--dark);
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: 22px;
  padding: 36px 28px 30px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
}

.badge.neutral {
  background: var(--coral);
}

.badge svg {
  width: 34px;
  height: 34px;
  stroke: var(--white);
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
  color: var(--green);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--dark);
}

p.muted {
  color: var(--muted);
  font-size: 14.5px;
}

.button {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 30px;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.button:active {
  opacity: 0.85;
}

footer {
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}

footer a {
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --beige: #12201a;
    --white: #1a2b24;
    --dark: #e8ece9;
    --muted: #93a49b;
    --green: #5cbd94;
  }
  .badge svg {
    stroke: #12201a;
  }
}
