:root {
  color-scheme: dark;
  --forest-950: #07100d;
  --forest-900: #0b1712;
  --forest-800: #12271d;
  --moss-500: #7fa66b;
  --moss-300: #b4cf9e;
  --ember-400: #d39a5b;
  --paper: #f4f1e8;
  --muted: #b8c1b9;
  --line: rgba(180, 207, 158, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--forest-950); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% -10%, rgba(127, 166, 107, 0.18), transparent 34rem),
    linear-gradient(180deg, var(--forest-900), var(--forest-950));
  font-size: 1rem;
  line-height: 1.68;
}

a { color: var(--moss-300); text-underline-offset: 0.18em; }
a:hover { color: #d5e6c7; }
a:focus-visible { outline: 3px solid var(--ember-400); outline-offset: 4px; border-radius: 2px; }

.site-header,
.site-footer {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  object-fit: cover;
}

.wordmark { color: var(--paper); font-weight: 750; }
.wordmark-iq { color: #6ddbd5; }

.beta-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.1rem 0.65rem;
  border: 1px solid rgba(211, 154, 91, 0.55);
  border-radius: 999px;
  color: #edc99e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

main {
  width: min(100% - 2rem, 52rem);
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero { max-width: 46rem; }

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--moss-300);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.16; }
h1 { margin: 0; font-size: clamp(2.55rem, 8vw, 4.8rem); letter-spacing: -0.035em; }
.hero-secondary { display: inline-block; margin-top: 0.08em; font-size: 0.72em; }
h2 { margin: 2.8rem 0 0.7rem; color: #e8eadf; font-size: clamp(1.35rem, 4vw, 1.75rem); }
p, li { color: var(--muted); }
.lede { max-width: 43rem; margin-top: 1.2rem; color: #d4d9d2; font-size: clamp(1.05rem, 2.8vw, 1.25rem); }
.updated { margin-top: 1.4rem; color: #909d92; font-size: 0.9rem; }

.notice {
  margin-block: 2.25rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ember-400);
  border-radius: 0.65rem;
  background: rgba(18, 39, 29, 0.78);
  box-shadow: var(--shadow);
}

.notice strong { color: var(--paper); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.card {
  min-height: 13rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(18, 39, 29, 0.56);
  box-shadow: var(--shadow);
}

.card h2 { margin-top: 0; }
.card a { display: inline-block; min-height: 44px; padding-block: 0.55rem; font-weight: 700; }

ul, ol { padding-left: 1.4rem; }
li + li { margin-top: 0.45rem; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem 2.25rem;
  border-top: 1px solid var(--line);
  color: #909d92;
  font-size: 0.88rem;
}

.footer-links { display: flex; gap: 1.25rem; }

@media (max-width: 38rem) {
  .site-header { align-items: flex-start; }
  .brand-name { max-width: 10rem; }
  .card-grid { grid-template-columns: 1fr; }
  main { padding-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  :root { color-scheme: light; }
  body { color: #111; background: #fff; }
  p, li, .lede { color: #222; }
  .site-header, .site-footer { border-color: #bbb; }
  .beta-label, .brand-mark { color: #333; border-color: #777; }
  .wordmark { color: #111; }
  .wordmark-iq { color: #087f7b; }
}
