/* Dropdar site. Indigo theme from DESIGN.md, dark by default, light follows the system.
   Inter (brand.md) is served from /fonts, subset to Latin; no third-party request is made. It has its
   own family name so a system font called "Inter", or a thin system-ui font, is never used instead. */
@font-face {
  font-family: 'Dropdar Inter';
  src: url('/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dropdar Inter';
  src: url('/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dropdar Inter';
  src: url('/fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #01010d;
  --surface: #0d0d1f;
  --line: #1e1e38;
  --border: #34345a;
  --fg: #f4f3ff;
  --muted: #a9a9c6;
  --link: #9d85ff;
  --accent: #88f9c0;
  --on-accent: #01010d;
  --hero: #6331fb;
  color-scheme: dark light;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f6ff;
    --surface: #ffffff;
    --line: #e2e0f4;
    --border: #bdbadd;
    --fg: #01010d;
    --muted: #4a4966;
    --link: #4b1fd8;
    --accent: #0b7a4b;
    --on-accent: #ffffff;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family:
    'Dropdar Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.brand {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}

nav a {
  display: inline-block;
  padding: 0.75rem 0 0.75rem 1.25rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

nav a:hover,
nav a[aria-current='page'] {
  color: var(--fg);
}

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

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 2.5rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0.75rem 0;
}

li {
  margin: 0.4rem 0;
}

.lede {
  color: var(--muted);
  font-size: 1.1875rem;
  margin-top: 0.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.25rem 1.25rem;
  margin: 1.25rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9688rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.75rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 600;
  white-space: nowrap;
}

td:last-child {
  color: var(--muted);
}

.badge {
  display: inline-block;
  margin-bottom: 0;
  padding: 0.125rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

footer.site {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 34rem) {
  h1 {
    font-size: 1.625rem;
  }
  th {
    white-space: normal;
  }
}

.pose {
  display: block;
  margin: 1rem 0 2rem;
  border-radius: 1.5rem;
  background: #88f9c0;
}
