/* Light (Apple-like) */
:root,
[data-theme="light"] {
  color-scheme: light;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --h-weight: 600;
  --h-tracking: -0.025em;

  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --link: #0066cc;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --on-accent: #ffffff;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --chip-bg: #f5f5f7;
  --border: #d2d2d7;
  --card-border: transparent;
  --header-bg: rgba(255, 255, 255, 0.8);
  --header-border: rgba(0, 0, 0, 0.08);
  --ok: #0071e3;
  --on-ok: #ffffff;
  --no: #c7c7cc;
  --stamp: #1a7f37;

  --radius-card: 18px;
  --radius-card-lg: 28px;
  --radius-btn: 980px;
  --radius-chip: 980px;
  --radius-icon: 12px;
  --shadow-card: none;

  --device-edge: #d2d2d7;
  --device-body: #fbfbfd;
  --device-mark: #1d1d1f;
  --led: #30d158;
  --floor: rgba(0, 0, 0, 0.07);
  --glow: none;
}

/* Dark (Apple Pro pages) */
[data-theme="dark"] {
  color-scheme: dark;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --h-weight: 600;
  --h-tracking: -0.03em;

  --bg: #000000;
  --bg-alt: #0b0b0c;
  --surface: #1d1d1f;
  --surface-2: #161617;
  --text: #f5f5f7;
  --text-muted: #a1a1a6;
  --link: #2997ff;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --on-accent: #ffffff;
  --accent-soft: rgba(41, 151, 255, 0.14);
  --chip-bg: #1d1d1f;
  --border: #38383b;
  --card-border: rgba(255, 255, 255, 0.06);
  --header-bg: rgba(0, 0, 0, 0.72);
  --header-border: rgba(255, 255, 255, 0.08);
  --ok: #30d158;
  --on-ok: #000000;
  --no: #636366;
  --stamp: #30d158;

  --radius-card: 20px;
  --radius-card-lg: 28px;
  --radius-btn: 980px;
  --radius-chip: 980px;
  --radius-icon: 12px;
  --shadow-card: none;

  --device-edge: #48484a;
  --device-body: #2c2c2e;
  --device-mark: #f5f5f7;
  --led: #30d158;
  --floor: rgba(41, 151, 255, 0.1);
  --glow: radial-gradient(closest-side, rgba(41, 151, 255, 0.3), transparent);
}

[data-theme="dark"] .plan {
  background: linear-gradient(180deg, #1d1d1f 0%, #111112 100%);
}

[data-theme="dark"] .hero h1 {
  background: linear-gradient(180deg, #ffffff 30%, #a1a1a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
