/* Evorio — site styles. Tokens from evorio-brand/system/tokens (color.json, typography.json). */

@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Winter Light (light mode) */
  --bg-base: #F6F9FC;
  --surface-raised: #FFFFFF;
  --border-subtle: #DDE6EF;
  --text-primary: #16222E;
  --text-secondary: #4E6377;
  --accent: #0B7568;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Polar Night (dark mode) */
    --bg-base: #0B1420;
    --surface-raised: #121E2E;
    --border-subtle: #1B2A3D;
    --text-primary: #E8F0F6;
    --text-secondary: #A7B8C7;
    --accent: #5CE0CB;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 1.0625rem;
}

.page {
  max-width: 41rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Hero */

.hero {
  padding: 5.5rem 0 3.5rem;
}

.lockup {
  display: block;
  width: min(19rem, 78%);
  height: auto;
  color: var(--text-primary); /* wordmark strokes/glyphs use currentColor */
}

.hero h1 {
  margin-top: 2.75rem;
  font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.hero p {
  margin-top: 1.25rem;
  color: var(--text-secondary);
  max-width: 52ch;
}

/* Sections */

section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

h2 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.75rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card .badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.1rem 0.65rem;
  margin-left: 0.5rem;
  vertical-align: 0.2em;
}

.card p {
  margin-top: 0.75rem;
  color: var(--text-secondary);
}

/* Footer */

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.25rem 0 3.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

footer .legal {
  margin-top: 0.35rem;
}

/* Prose pages (privacy) */

.prose {
  padding: 4rem 0 2rem;
}

.prose h1 {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--text-primary);
  margin: 2rem 0 0.5rem;
}

.prose p {
  margin-top: 0.75rem;
  color: var(--text-secondary);
}

.prose .updated {
  font-size: 0.875rem;
}

.home-link {
  display: inline-block;
  margin-top: 2.5rem;
}
