/* Brand extensions, font loading and approved utility styles.
   Core colors/fonts/radii come from the compiled Maniform Astryx theme.
   Surface adaptations and legacy aliases are generated in maniform-surfaces.css. */
:root, [data-theme="light"] {
  --emphasis: #102e47;
  --motion-accent: var(--signature);
  --slate: #102e47;
  --inform-tint: #F2F5E9;
  --inform-tint-2: #E4E9D6;
  --inform-mark: #424E15;
  --inform-label: #535E2E;
  --inform-strong: #2B3113;
  --inform-on-mark: #f0e8d8;
  --reason-tint: #EDF4FF;
  --reason-tint-2: #D9E8FD;
  --reason-mark: #547DB7;
  --reason-label: #36598A;
  --reason-strong: #182E4C;
  --reason-on-mark: #020707;
  --conduct-tint: #ECF7EB;
  --conduct-tint-2: #D9ECD9;
  --conduct-mark: #548B56;
  --conduct-label: #356537;
  --conduct-strong: #173619;
  --conduct-on-mark: #020707;
  --govern-tint: #E8F7F8;
  --govern-tint-2: #D3ECEE;
  --govern-mark: #0E6D74;
  --govern-label: #15646A;
  --govern-strong: #023539;
  --govern-on-mark: #f0e8d8;
  --neutral-0: #f8f1e5;
  --neutral-50: #eee7d9;
  --neutral-100: #e4dccd;
  --neutral-200: #d4cbbb;
  --neutral-300: #C3CDCD;
  --neutral-500: #808888;
  --neutral-600: #636B6B;
  --neutral-700: #474F4F;
  --neutral-800: #2B3232;
  --neutral-900: #181E1F;
  --neutral-950: #0C1313;
  background-color: var(--ground); color: var(--ink);
}
[data-theme="stone"] {
  --emphasis: #102e47;
  --inform-tint: #F2F5E9;
  --inform-tint-2: #E4E9D6;
  --inform-mark: #424E15;
  --inform-label: #535E2E;
  --inform-strong: #2B3113;
  --inform-on-mark: #f0e8d8;
  --reason-tint: #EDF4FF;
  --reason-tint-2: #D9E8FD;
  --reason-mark: #547DB7;
  --reason-label: #36598A;
  --reason-strong: #182E4C;
  --reason-on-mark: #020707;
  --conduct-tint: #ECF7EB;
  --conduct-tint-2: #D9ECD9;
  --conduct-mark: #548B56;
  --conduct-label: #356537;
  --conduct-strong: #173619;
  --conduct-on-mark: #020707;
  --govern-tint: #E8F7F8;
  --govern-tint-2: #D3ECEE;
  --govern-mark: #0E6D74;
  --govern-label: #15646A;
  --govern-strong: #023539;
  --govern-on-mark: #f0e8d8;
  background-color: var(--ground); color: var(--ink);
}
[data-theme="deep"] {
  --emphasis: #CAD3D3;
  --inform-tint: #313525;
  --inform-tint-2: #3D432D;
  --inform-mark: #839158;
  --inform-label: #C6D0AD;
  --inform-strong: #E5EBD9;
  --inform-on-mark: #020707;
  --reason-tint: #273445;
  --reason-tint-2: #304158;
  --reason-mark: #9CC5FE;
  --reason-label: #B2CDF2;
  --reason-strong: #DBE9FC;
  --reason-on-mark: #020707;
  --conduct-tint: #283828;
  --conduct-tint-2: #314631;
  --conduct-mark: #99D49A;
  --conduct-label: #B3D5B3;
  --conduct-strong: #DCEEDC;
  --conduct-on-mark: #020707;
  --govern-tint: #213739;
  --govern-tint-2: #284548;
  --govern-mark: #63B4BB;
  --govern-label: #A7D4D8;
  --govern-strong: #D6EDEF;
  --govern-on-mark: #020707;
  background-color: var(--ground); color: var(--ink);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
  --radius-pill: 999px;
  --shadow-float: 0 24px 50px rgba(0, 0, 0, 0.20);
  --shadow-menu: 0 24px 60px rgba(0, 0, 0, 0.16);
  --nav-blur: 16px;
  --nav-ground-opacity: 72%;
  --measure: 65ch;
  --page-max: 1240px;
  /* Type inside diagrams only. Page headlines stay on the display scale. */
  --diagram-title: 17px;
  --diagram-node: 15px;
  --diagram-figure: 22px;
  --diagram-body: 13px;
  --diagram-support: 12px;
  --diagram-meta: 11px;
  --diagram-micro: 10px;
}
.display-1 { font-family: var(--font-display); font-size: 70px; line-height: 1.02; font-weight: 600; letter-spacing: -0.035em }
.display-2 { font-family: var(--font-display); font-size: 46px; line-height: 1.08; font-weight: 600; letter-spacing: -0.03em }
.display-3 { font-family: var(--font-display); font-size: 26px; line-height: 1.1; font-weight: 600; letter-spacing: -0.016em }
.title { font-family: var(--font-display); font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -0.016em }
.stat { font-family: var(--font-display); font-size: 64px; line-height: 1.0; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums }
.figure { font-family: var(--font-display); font-size: 30px; line-height: 1.0; font-weight: 600; letter-spacing: -0.016em; font-variant-numeric: tabular-nums }
.body-l { font-family: var(--font-body); font-size: 18px; line-height: 1.5; font-weight: 400 }
.body { font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-weight: 400 }
.body-s { font-family: var(--font-body); font-size: 13px; line-height: 1.45; font-weight: 400 }
.button { font-family: var(--font-body); font-size: 14px; line-height: 1.0; font-weight: 500 }
.label { font-family: var(--font-mono); font-size: 11px; line-height: 1.0; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase }
.data { font-family: var(--font-mono); font-size: 12px; line-height: 1.3; font-weight: 500; font-variant-numeric: tabular-nums }
