:root {
  color-scheme: light dark;
  --bg: #0f1115;
  --card: #1a1d24;
  --text: #e7e9ee;
  --muted: #9aa2b1;
  --accent: #6d8bff;
  --accent-strong: #3557e8;
  --border: #2a2e38;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f5f7;
    --card: #ffffff;
    --text: #14161a;
    --muted: #5b6270;
    --accent: #3557e8;
    --accent-strong: #3557e8;
    --border: #e2e4e9;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
}

.site-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

.site-brand-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent);
}

/* Main / typography */
main {
  padding: 3rem 0 1rem;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

p.sub {
  color: var(--muted);
  margin: 0 0 2rem;
}

p, li {
  line-height: 1.6;
}

a {
  color: var(--accent);
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 320px;
  min-width: 280px;
}

.hero-text .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

.hero-art {
  flex: 1 1 280px;
  min-width: 240px;
  display: flex;
  justify-content: center;
}

.hero-art img {
  max-width: 100%;
  height: auto;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Feature strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  padding-bottom: 3rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.feature-card h2 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--accent);
}
