/* Lexi — one stylesheet for the four pages of the app's public site.
   Self-contained: no fonts, scripts or assets are fetched from anywhere, so
   the pages load on a reviewer's slow hotel Wi-Fi and in a privacy browser
   that blocks third parties. */

:root {
  --brand: #6C4EE4;
  --brand-soft: #EFEBFF;
  --accent: #FFB800;
  --ink: #1B1B2F;
  --ink-soft: #55566E;
  --page: #FFFFFF;
  --surface: #F7F8FC;
  --border: #E3E5F0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #A794FF;
    --brand-soft: #241F3D;
    --ink: #F2F2F7;
    --ink-soft: #B0B2C7;
    --page: #131327;
    --surface: #1B1B33;
    --border: #2E2E4D;
  }
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background-color: var(--page);
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

header.masthead {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.masthead .name { font-weight: 700; font-size: 1.05rem; }
.masthead .tag { color: var(--ink-soft); font-size: 0.9rem; }

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.5rem;
  color: var(--ink);
}

h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.35rem;
}

p, li { color: var(--ink-soft); }
p { margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }
strong { color: var(--ink); }

a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a:hover, a:focus-visible { border-bottom-color: currentColor; }

.lede { font-size: 1.1rem; }

.updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}

.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  margin-bottom: 0.6rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
}

th { color: var(--ink); font-weight: 700; white-space: nowrap; }

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

footer nav a { margin-right: 1rem; display: inline-block; }
