:root {
  color-scheme: light;

  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.12);

  /* Brand-derived accents */
  --accent: #1b86b6;
  --accent-2: #1f9a7a;
  --accent-contrast: #ffffff;

  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --radius: 16px;
  --maxw: 980px;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0b1220;
  --surface: #0f1a2e;
  --text: #e5e7eb;
  --muted: #a3b2c7;
  --border: rgba(229, 231, 235, 0.14);

  --accent: #33a3d6;
  --accent-2: #35c29c;
  --accent-contrast: #041b22;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 25%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.theme-toggle {
  height: 40px;
  width: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 60px 0 30px;
}

h1 {
  font-size: clamp(36px, 4vw, 52px);
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 16px;
}

.card-grid {
  display: grid;
  gap: 18px;
  padding-bottom: 60px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-inner p {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0;
}
