@font-face {
  font-family: "Gabarito";
  src: url("/fonts/gabarito-var.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #edf1ec;
  --fg: #243230;
  --fg-muted: #5f6f6b;
  --fg-faint: #93a19c;
  --accent: #0d7d5c;
  --accent-wash: #e2f2ec;
  --border: #cfd9d1;
  --sheet: url("/shell-sheet-light.svg");
  --sheet-opacity: 0.75;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0e14;
    --fg: #e9ecf3;
    --fg-muted: #98a3b8;
    --fg-faint: #5d6880;
    --accent: #45c58f;
    --accent-wash: rgba(69, 197, 143, 0.12);
    --border: #222a3b;
    --sheet: url("/shell-sheet-dark.svg");
    --sheet-opacity: 0.6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0e14;
  --fg: #e9ecf3;
  --fg-muted: #98a3b8;
  --fg-faint: #5d6880;
  --accent: #45c58f;
  --accent-wash: rgba(69, 197, 143, 0.12);
  --border: #222a3b;
  --sheet: url("/shell-sheet-dark.svg");
  --sheet-opacity: 0.6;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 3rem 16px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--sheet);
  background-size: cover;
  background-position: center;
  opacity: var(--sheet-opacity);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 34rem;
  text-align: center;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.mark {
  color: var(--accent);
  display: block;
  margin: 0 auto 1.75rem;
}

.chip {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  font-family: "Gabarito", "Avenir Next", sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 13vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  color: var(--fg);
}

.lede {
  margin: 0 auto;
  max-width: 28rem;
  font-size: clamp(1.02rem, 3.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--fg-muted);
  text-wrap: balance;
}

hr {
  width: 2.75rem;
  height: 1px;
  border: 0;
  margin: 2.25rem auto;
  background: var(--accent);
  opacity: 0.55;
}

.body {
  margin: 0 auto;
  max-width: 27rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--fg-faint);
  text-wrap: pretty;
}

footer {
  margin-top: 3.5rem;
}

footer p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--fg-faint);
}

@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
}
