/* FIX1 (R3 brand F1, 3D-14): the viewer wears the SynLearns brand token sheet. Part 1 below is /home/fareez541/BRAND/brand/brand-tokens.css copied unchanged (D-1606).
   Part 2 keeps the legacy --brand-* names the viewer files still read (welcome.css, peel.css) as aliases of the canonical tokens: Montserrat for text, 400/600/800 only, mono for labels. Names that the sheet itself defines are not repeated, so the sheet wins.
   Montserrat is the site's own /fonts files (same origin). Purple is never text. */
@font-face{font-family:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/montserrat-400.woff2) format("woff2")}
@font-face{font-family:Montserrat;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/montserrat-600.woff2) format("woff2")}
@font-face{font-family:Montserrat;font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/montserrat-800.woff2) format("woff2")}
/* ---- part 1: brand-tokens.css, unchanged ---- */
/* SynLearns brand tokens (D-1606). Kept identical to brand-tokens.json; rules in sys/10-A-core.md.
   Color tokens on the live :root keep their live values. --brand-print-* = print exception, never screen UI. */
:root {
  /* color */
  --brand-void: #050508; /* page ground on every screen surface */
  --brand-surface: #11111E; /* raised panel, pill, toggle */
  --brand-ink: #F4F7FB; /* the only near-white text color */
  --brand-soft: #C9D1DC; /* secondary text, wordmark descriptor, clinical-action bar */
  --brand-muted: #B0B5C4; /* captions, footer text, fine print */
  --brand-line: #2A2339; /* decorative hairline only (1.36:1) */
  --brand-line-strong: #626279; /* boundary a user must see: input, toggle, menu (3.43:1) */
  --brand-cyan: #00E5FF; /* signal: link, eyebrow, focus, status, pearl */
  --brand-purple: #9D00FF; /* depth: glows and art only, never text */
  --brand-gold: #FFD700; /* action: primary button fill, one emphasis phrase */
  --brand-gold-hover: #FFE697; /* primary button hover fill */
  --brand-on-gold: #100D03; /* label ink on gold (the only one) */
  --brand-on-cyan: #051117; /* ink on the cyan band */
  --brand-success: #43E6A0; /* form success state only */
  --brand-warning: #FF6B6B; /* form error state; pitfall role on screen */
  --brand-void-rgb: 5 5 8; /* void channels for alpha mixes */
  --brand-cyan-rgb: 0 229 255; /* cyan channels for glows */
  --brand-purple-rgb: 157 0 255; /* purple channels for glows */
  --brand-gold-rgb: 255 215 0; /* gold channels for glows */
  --brand-card-from: #14111F; /* card gradient top stop */
  --brand-card-to: #0D0B14; /* card gradient bottom stop */
  --brand-card: linear-gradient(135deg,#14111F,#0D0B14); /* the one card fill */
  --brand-gold-text-from: #FFF0A2; /* gold text gradient stop 1 */
  --brand-gold-text-mid: #FFCD45; /* gold text gradient stop 2 */
  --brand-gold-text-to: #EEA700; /* gold text gradient stop 3 */
  --brand-gold-text: linear-gradient(105deg,#FFF0A2 0%,#FFCD45 55%,#EEA700 100%); /* emphasis phrase in headings >= 24px */
  --brand-signal: linear-gradient(90deg,#9D00FF,#00E5FF,#FFD700); /* signal rule: purple to cyan to gold, in that order */
  --brand-glow-gold: 0 0 25px rgba(255,215,0,.1); /* primary button glow */
  --brand-glow-gold-hover: 0 0 35px rgba(255,215,0,.27); /* primary button hover glow */
  --brand-focus: #00E5FF; /* focus ring color */
  --brand-callout-pearl: #00E5FF; /* screen PEARL bar and label */
  --brand-callout-pitfall: #FF6B6B; /* screen PITFALL bar and label */
  --brand-callout-action: #C9D1DC; /* screen CLINICAL ACTION bar and label */
  /* print */
  --brand-print-paper: #FEFEFE; /* teaching page paper */
  --brand-print-ink: #0F1116; /* teaching page text */
  --brand-print-slate: #4A5C64; /* running head, rule, sources, folio, table borders */
  --brand-print-teal: #265A5E; /* title box, badges, RECALL/ANSWER label, table head, PEARL bar */
  --brand-print-teal-bar: #9ABEBE; /* contents part bar */
  --brand-print-teal-tile: #CEDEDA; /* contents numeral tile */
  --brand-print-teal-numeral: #598E8F; /* contents numeral, >= 14pt bold only */
  --brand-print-card: #F2F6F2; /* PEARL and CLINICAL ACTION card, table rows */
  --brand-print-pitfall-card: #FAF6D6; /* PITFALL card */
  --brand-print-pitfall: #914B10; /* PITFALL bar and label */
  --brand-print-ecg-minor: #F2D2D6; /* ECG paper minor grid */
  --brand-print-ecg-major: #E6A6AE; /* ECG paper major grid */
  --brand-print-trace: #101116; /* waveform trace */
  --brand-print-black: #120E0E; /* rich black on screen proof of dark pages */
  --brand-print-black-cmyk: 48 37 30 100; /* rich black build C M Y K */
  --brand-print-cover-black: #0E0E0E; /* cover ground */
  --brand-print-white: #FBFBFC; /* wordmark and headings on dark print */
  --brand-print-silver: #DEE2E5; /* body text on dark print */
  --brand-print-silver-2: #A9B0C0; /* secondary text on dark print */
  --brand-print-gold-dark: #735018; /* metallic gold shadow stop */
  --brand-print-gold-mid: #D7AA43; /* metallic gold mid stop */
  --brand-print-gold-light: #F4E699; /* metallic gold light stop */
  --brand-print-gold: #EAC149; /* flat gold for small text on dark print */
  --brand-print-cyan: #47BACF; /* print cyan (art, rules, small accents) */
  --brand-print-purple: #453F9F; /* print purple, art only (2.25:1) */
  --brand-print-halo: #1E2642; /* hexagon halo on dark print */
  --brand-print-spine: #F0EEE1; /* spine text */
  --brand-print-tac-interior: 215%; /* interior total ink cap */
  --brand-print-tac-cover: 233%; /* cover total ink cap (printer limit 240%) */
  /* type */
  --brand-font-sans: Montserrat, Arial, Helvetica, sans-serif; /* brand face, all text */
  --brand-font-mono: 'DejaVu Sans Mono', ui-monospace, monospace; /* label face, screen only */
  --brand-font-display: Cinzel, 'Times New Roman', serif; /* print display: series titles only; fallback serif is not Georgia (REV-2) */
  --brand-t-floor: 12px; /* smallest text anywhere on screen */
  --brand-t-label: 13px; /* eyebrow, label, footer link row */
  --brand-t-button: 14px; /* button label */
  --brand-t-body: 16px; /* body */
  --brand-t-lead: 20px; /* lead paragraph */
  --brand-t-h3: 20px; /* h3 */
  --brand-t-sec: 26px; /* h2 on document pages */
  --brand-h2: clamp(36px,4vw,58px); /* h2 on landing and sales sections */
  --brand-h1: clamp(36px,4.5vw,70px); /* h1 on every page */
  --brand-w-regular: 400; /* body */
  --brand-w-semibold: 600; /* labels, nav, buttons, wordmark */
  --brand-w-heavy: 800; /* h1, h2, h3 */
  --brand-lh-h1: 1; /* h1 leading */
  --brand-lh-h2: 1.05; /* h2 leading */
  --brand-lh-h3: 1.3; /* h3 leading */
  --brand-lh-body: 1.65; /* body leading */
  --brand-lh-prose: 1.7; /* long prose and legal leading */
  --brand-tr-h1: -0.035em; /* h1 tracking */
  --brand-tr-h2: -0.02em; /* h2 tracking */
  --brand-tr-label: 0.12em; /* eyebrow and mono label tracking */
  --brand-tr-wordmark: 0.2em; /* wordmark tracking */
  --brand-tr-button: 0.01em; /* button tracking */
  --brand-print-t-part: 28pt; /* part-opener title (print) */
  --brand-print-t-title: 22pt; /* page title (print) */
  --brand-print-t-body: 11.3pt; /* body and key (print) */
  --brand-print-t-label: 9.3pt; /* running head, callout label, sources, folio (print) */
  --brand-print-t-refs: 7pt; /* references only; print floor */
  --brand-print-t-spine: 8pt; /* spine title (Cinzel Bold) */
  --brand-print-t-spine-co: 6pt; /* spine brand-name line (Montserrat 500); the one print-floor exception besides references (core 3.3) */
  /* space */
  --brand-s0: 4px; /* half step: icon to text gap */
  --brand-s1: 8px; /* scale step 1 */
  --brand-s2: 16px; /* scale step 2 */
  --brand-s3: 24px; /* scale step 3 */
  --brand-s4: 40px; /* scale step 4 */
  --brand-s5: 64px; /* scale step 5 */
  --brand-s6: 100px; /* scale step 6 */
  --brand-gutter: 6%; /* page side gutter */
  --brand-measure: 68ch; /* prose max width */
  --brand-wide: 1120px; /* content max width */
  --brand-header-max: 1440px; /* header and footer max width */
  --brand-hero-max: 1700px; /* hero max width */
  --brand-section-y: 100px; /* section vertical padding */
  --brand-section-y-phone: 64px; /* section vertical padding at <= 760px */
  --brand-cols: 12; /* columns above 760px */
  --brand-cols-phone: 4; /* columns at <= 760px */
  --brand-col-gap: 24px; /* column gap above 760px */
  --brand-col-gap-phone: 16px; /* column gap at <= 760px */
  --brand-bp-phone: 760px; /* phone breakpoint (max-width) */
  --brand-print-trim-w: 8.5in; /* book trim width */
  --brand-print-trim-h: 11in; /* book trim height */
  --brand-print-bleed: 9pt; /* bleed every side */
  --brand-print-margin-left: 36pt; /* teaching page text margin left */
  --brand-print-margin-right: 32pt; /* teaching page text margin right */
  --brand-print-head: 30pt; /* running head below trim top */
  --brand-print-folio: 26pt; /* folio above trim foot */
  /* shape */
  --brand-radius: 0; /* every UI box */
  --brand-radius-object: 3px; /* depicted physical objects only: book, page */
  --brand-radius-round: 50%; /* dots, badges, orbits only */
  --brand-notch: 12px; /* primary button corner cut */
  --brand-button-notch: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px)); /* primary button clip-path */
  --brand-button-pad: 17px 23px; /* primary button padding */
  --brand-tap: 44px; /* minimum tap target */
  --brand-focus-width: 3px; /* focus ring width */
  --brand-focus-offset: 5px; /* focus ring offset */
  --brand-badge: 24px; /* numbered figure badge diameter (screen) */
  /* logo */
  --brand-logo-h: 48px; /* visible hex height in header above 760px */
  --brand-logo-h-phone: 40px; /* visible hex height in header at <= 760px */
  --brand-logo-x: 12px; /* clear-space unit X = visible hex height / 4 (at 48px) */
  --brand-logo-x-phone: 10px; /* X at 40px hex */
  --brand-logo-aspect: 0.87; /* visible hex width / height */
  --brand-logo-min: 33px; /* smallest visible hex height for the full artwork on screen; 32px and below use the simplified variant (core 1.5, R4) */
  --brand-logo-min-lockup: 33px; /* smallest hex height in the L1 lockup; full artwork only (core 1.5) */
  --brand-logo-favicon-max: 32px; /* at or below this use the simplified variant, hexagon alone (L3) only (core 1.5) */
  --brand-logo-min-print: 12mm; /* smallest visible hex height in print */
  /* motion */
  --brand-ease: cubic-bezier(.16,1,.3,1); /* enter, reveal, lift */
  --brand-ease-ui: ease; /* hover and color changes */
  --brand-dur-ui: .2s; /* hover, press, color */
  --brand-dur-fade: .3s; /* poster crossfade, caption fade */
  --brand-dur-lift: .35s; /* card or page lift */
  --brand-dur-enter: .7s; /* hero copy enter */
  --brand-dur-reveal: .9s; /* scroll reveal */
  --brand-stagger: .1s; /* delay between siblings in a reveal */
  --brand-dur-sting: 2.3s; /* neuron-vector sting (logo animation); equals the 2.30 s sound logo (R3) */
  --brand-loop-min: 5s; /* shortest allowed loop period */
  --brand-lift: -3px; /* primary button hover rise */
  --brand-reveal-shift: 24px; /* largest reveal translate */
  /* z */
  --brand-z-base: 0; /* page content */
  --brand-z-raised: 10; /* cards over glows and grid */
  --brand-z-header: 100; /* header */
  --brand-z-motion: 110; /* PAUSE MOTION control */
  --brand-z-overlay: 1000; /* menu sheet, dialog */
}

/* ---- part 2: legacy names as aliases (no value of its own that the sheet defines) ---- */
:root{
  --brand-cap-ratio:.715; /* same value as components/brand/brand.css (brand fix 3): wordmark cap-height ratio, read by welcome.css and peel.css */
  --brand-bg:var(--brand-void);
  --brand-text:var(--brand-ink);
  --brand-eyebrow:var(--brand-muted);
  --brand-glow:radial-gradient(ellipse at 80% 42%,#622ea41a,transparent 55%),radial-gradient(ellipse at 12% 2%,#56209912,transparent 50%);
  --brand-button-glow:0 0 25px #FFD7001a;
  --brand-body:16px/1.65;
  --brand-font:var(--brand-font-sans);
  --brand-mono:var(--brand-font-mono);
  --brand-h1-size:clamp(36px,4.5vw,70px);
  --brand-h1-size-phone:clamp(25px,7.6vw,32px);
  --brand-h1-weight:var(--brand-w-heavy);
  --brand-h1-leading:.96;
  --brand-h1-tracking:-.035em;
  --brand-h1-shadow:0 4px 40px #0009;
  --brand-h2-size:clamp(33px,4vw,58px);
  --brand-h2-size-phone:36px;
  --brand-h2-leading-phone:1;
  --brand-h2-tracking-phone:-1.2px;
  --brand-h2-weight:var(--brand-w-heavy);
  --brand-h2-leading:.98;
  --brand-h2-tracking:-1.6px;
  --brand-eyebrow-size:var(--brand-t-label);
  --brand-eyebrow-size-phone:var(--brand-t-label);
  --brand-eyebrow-leading-phone:1.5;
  --brand-eyebrow-weight:var(--brand-w-semibold);
  --brand-eyebrow-tracking:1.6px;
  --brand-hero-gutter:6%;
  --brand-section-gutter:max(6%,calc((100vw - 1266px)/2));
  --brand-section-gutter-phone:6%;
  --brand-grid:70px;
  --brand-button-size:var(--brand-t-button);
  --brand-button-weight:600;
  --brand-button-tracking:.1px;
  --brand-header-bg:var(--brand-void);
  --brand-header-line:var(--brand-line);
  --brand-header-pad-y:20px;
  --brand-header-pad-y-phone:14px;
  --brand-wordmark-size:18px;
  --brand-wordmark-size-phone:15px;
  --brand-wordmark-weight:800;
  --brand-wordmark-tracking:3px;
  --brand-mark-size:54px;
  --brand-mark-size-phone:46px;
  --brand-floor-size:12px;
  --brand-label-size:13px;
  --brand-wordmark-sub-tracking:2.8px;
  --brand-wordmark-sub-tracking-phone:2px;
  --brand-nav-size:16px;
  --brand-nav-weight:600;
  --brand-nav-gap:32px;
  --brand-nav-tracking:.2px;
  --brand-login-line:#344149;
  --brand-login-size:14px;
  --brand-login-weight:var(--brand-w-semibold);
  --brand-menu-line:var(--brand-line-strong);
  --brand-footer-line:#2c2337;
  --brand-footer-text:#8c9fa7;
  --brand-footer-title:22px;
  --brand-footer-title-phone:20px;
  --brand-footer-title-tracking:-.8px;
  --brand-footer-pad:40px 24px;
  --brand-footer-pad-phone:30px 20px;
  --brand-hero-pad-top:102px;
  --brand-hero-pad-bottom:110px;
  --brand-hero-pad-top-phone:75px;
  --brand-hero-pad-bottom-phone:70px;
  --brand-hero-min:720px;
  --brand-grid-line:#34274c22;
  --brand-grid-opacity:.5;
  --brand-grid-mask:linear-gradient(to right,#000,transparent 80%);
  --brand-h1-rule:linear-gradient(90deg,#FFD700,#ffd70000);
  --brand-lead-size:20px;
  --brand-lead-ink:var(--brand-ink);
  --brand-outline-line:#626279;
  --brand-h3-size:20px;
  --brand-h3-weight:var(--brand-w-semibold);
  --brand-h3-tracking:-.4px;
  --brand-card-dist:linear-gradient(135deg,#14111f,#0d0b14);
}
