:root {
  color-scheme: light dark;
  --bg: #111111;
  --panel: #1b1b1f;
  --panel-2: #232329;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --accent: #25d34f;
  --line: rgba(255, 255, 255, 0.08);
  --button: #0a84ff;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f5f7;
    --panel: #ffffff;
    --panel-2: #f0f0f5;
    --text: #111111;
    --muted: #5f6470;
    --line: rgba(17, 17, 17, 0.08);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #17171a 100%);
  color: var(--text);
  line-height: 1.5;
}

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

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero {
  padding: 42px 0 28px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  line-height: 0.98;
}

.subhead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 720px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
}

.button.primary {
  background: var(--button);
  color: white;
  border-color: transparent;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.list li + li {
  margin-top: 8px;
}

.section {
  padding: 18px 0 28px;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.micro {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.article {
  padding: 24px 0 40px;
}

.article h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 14px;
}

.article h2 {
  margin-top: 28px;
}

.article p,
.article li {
  max-width: 760px;
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
