:root {
  color-scheme: dark;
  --bg: #070b0f;
  --bg-alt: #0b1116;
  --surface: #101820;
  --surface-2: #141e27;
  --border: #1c2a33;
  --gradient-edge: var(--border); /* darker end of card and About gradients */
  --text: #eaf5f2;
  --text-secondary: #93a8a6;
  --text-muted: #869998; /* 4.9:1 or better on every dark surface */
  --accent-text: #3aefcc; /* eyebrows, highlights, links */
  --accent-line: #3aefcc; /* step nodes, bullets */
  --accent-dim: #26a58f; /* section labels, CTA and portrait borders; 4.8:1 or better */
  --accent-tint: rgba(58, 239, 204, 0.08);
  --portrait-bg: linear-gradient(
    135deg,
    rgba(58, 239, 204, 0.18),
    rgba(58, 239, 204, 0.04)
  );
  --action-bg: #3aefcc; /* primary button */
  --action-text: #04241e;
  --header-bg: rgba(7, 11, 15, 0.85);
  --lattice: 58, 239, 204; /* hero canvas, as r, g, b */
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f3f2f3; /* brand Light + 50% White */
  --surface: #ffffff;
  --surface-2: #e7e4e6; /* brand Light */
  --border: #d7d7d8;
  --gradient-edge: #e7e4e6;
  --text: #36393b; /* brand Dark: 11.6:1 on white */
  --text-secondary: #4a4d4f; /* 5.9:1 or better on every light surface */
  --text-muted: #5e6162; /* 4.9:1 or better on every light surface */
  --accent-text: #377067; /* mint + Dark: 4.5:1 or better on every light surface */
  --accent-line: #377067;
  --accent-dim: #377067;
  --accent-tint: #dcfcf6;
  --portrait-bg: #dcfcf6;
  --action-bg: #36393b;
  --action-text: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.85);
  --lattice: 55, 112, 103;
}
