/* AbjonX public design tokens. Private outreach keeps its own stylesheet. */
:root {
  color-scheme: light;
  --bg-page: #f7f8fa;
  --bg-section: var(--bg-page);
  --bg-section-alt: #eff3f3;
  --bg-featured: color-mix(in srgb, var(--brand) 6%, var(--bg-section-alt));
  --page-bg: var(--bg-page);
  --page-bg-alt: var(--bg-section-alt);
  --surface: #ffffff;
  --surface-soft: #f3f6f5;
  --surface-elevated: #ffffff;
  --surface-strong: var(--bg-featured);
  --card-bg: var(--surface);
  --card-hover: color-mix(in srgb, var(--brand) 6%, var(--surface));
  --card-bg-alt: var(--surface-soft);
  --text-primary: #20282f;
  --text-secondary: #51616e;
  --text-muted: #586875;
  --border: #dbe3df;
  --border-hover: var(--brand-border);
  --border-strong: #81909f;
  /* One brand source; shades resolve against the active theme's surfaces.
     Keep small text and focus indicators dark enough on light backgrounds. */
  --brand: #5acb0d;
  --brand-hover: color-mix(in srgb, var(--brand) 90%, #000000);
  --brand-ink: color-mix(in srgb, var(--brand) 48%, #000000);
  --brand-contrast: color-mix(in srgb, var(--brand) 16%, #000000);
  --brand-soft: color-mix(in srgb, var(--brand) 12%, transparent);
  --brand-border: color-mix(in srgb, var(--brand) 40%, var(--border));
  --footer-bg: #eef2f1;
  --footer-border: #d4dfd9;
  --closing-bg: var(--brand-soft);
  --closing-border: var(--brand-border);
  --overlay-bg: #03090de8;
  --art-watermark: #d1ebe61a;
  --success: #2e6d32;
  --warning: #855800;
  --danger: #ab2940;
  --shadow-sm: 0 2px 6px #14251b05, 0 1px 2px #14251b03;
  --shadow-md: 0 12px 32px #14251b0d, 0 2px 6px #14251b05;
  --shadow-menu: 0 16px 48px #14251b18;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container-max: 1320px;
  --container-gutter: 32px;
  --section-spacing: clamp(88px, 5vw, 104px);
  --section-gap: var(--section-spacing);
  --section-space: var(--section-spacing);
  --hero-space: clamp(48px, 4vw, 72px);
  --header-height: 80px;
  --card-padding: 24px;
  --card-padding-compact: 20px;
  --block-gap: 32px;
  --grid-gap: 24px;
  --control-height: 48px;
  --motion-ui: 180ms ease;
  --focus-ring: var(--brand-ink);
  --type-h1: clamp(48px, 3.2vw, 60px);
  --type-h2: clamp(32px, 2.65vw, 42px);
  --type-h3: clamp(20px, 1.65vw, 24px);
  --type-body: 16px;
  --type-small: 14px;
  --type-card-title: 20px;
  --measure: 68ch;
  /* Compatibility aliases for existing native product illustrations. */
  --surface-alt: var(--page-bg-alt);
  --bg: var(--page-bg);
  --bg-alt: var(--surface-alt);
  --surface-2: var(--surface-elevated);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --line: var(--border);
  --primary: var(--brand);
  --primary-dark: var(--brand-ink);
  --primary-soft: var(--brand-soft);
  --primary-border: var(--brand-border);
  --radius: var(--radius-lg);
  --radius-control: var(--radius-sm);
  --shadow: var(--shadow-sm);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #0e171e;
  --bg-section-alt: #132029;
  --surface: #142028;
  --surface-soft: #1b2831;
  --surface-elevated: #20313a;
  --text-primary: #f0f5f2;
  --text-secondary: #b2c1b9;
  --text-muted: #99ada1;
  --border: #2c3e43;
  --border-strong: #607e6d;
  --brand-ink: var(--brand);
  --footer-bg: #0d171e;
  --footer-border: #2c3e43;
  --success: #a2d881;
  --warning: #ebc57a;
  --danger: #ffb3bf;
  --shadow-sm: 0 2px 8px #0000000a;
  --shadow-md: 0 12px 32px #00000020;
  --shadow-menu: 0 16px 48px #00000040;
}
@media (min-width:1600px) { :root { --container-gutter:40px; } }
@media (max-width:1100px) { :root { --container-gutter:24px; --section-spacing:80px; --hero-space:56px; --header-height:76px; --type-h1:clamp(40px,5.2vw,52px); } }
@media (max-width:820px) { :root { --section-spacing:72px; --block-gap:28px; --type-h2:clamp(30px,4.5vw,36px); } }
@media (max-width:600px) { :root { --container-gutter:20px; --section-spacing:60px; --hero-space:44px; --header-height:72px; --card-padding:20px; --card-padding-compact:20px; --block-gap:24px; --grid-gap:16px; --type-h1:clamp(34px,9vw,40px); --type-h2:clamp(26px,7vw,32px); --type-h3:20px; } }
@media (max-width:360px) { :root { --container-gutter:16px; --section-spacing:52px; } }
