/* Hallmark · shape: kept · genre: modern-minimal · theme: brand · redesign: restyle · job: try
 * paper: oklch(14.0% 0.007 270) · accent: oklch(69.6% 0.149 162) · display: Plus Jakarta Sans · body: Plus Jakarta Sans · hero: kept · nav: kept · footer: kept · signature: kept (the plate under the 60-second intake)
 * axes: dark/geometric-sans/chromatic-emerald · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R4 V2 · weakest: V, a kept layout cannot vary from itself; the system carries the change (one emerald signal with obsidian ink, one sans plus mono for figures, labels in sentence case, rings on every control) */
/* Hallmark · waive 2b · single-hue ramp from --color-slate-300 to --color-cyan-400, both stops tokens, on the wordmark only · brand-guidelines.md section 3 sets the Health half of the Syntro Health wordmark in exactly this gradient */
/* Hallmark · waive 78 · Long Document pages (FAQ, methodology, guideline hubs, about) whose heads label reference blocks · the restyle keeps each page's layout and Bootstrap head scale; home h2s were raised to 40px */
/* Hallmark · waive 25 · answer capsules and table notes on the guideline hubs run the full card width · widening or narrowing those cards is a layout change the owner kept out of this restyle */
/* Hallmark · waive 71 · FAQ accordion headers and sovereign coverage cards sit in Bootstrap cards with fixed padding · re-spacing those clinical reference blocks belongs to a full redesign, not this restyle */
/* Hallmark · waive 59 · the nutrition index is a dense catalogue of ten condition guides parted by hairlines · the kept layout stacks its condition rows at 24px on purpose */
/* Hallmark · waive 49b · a real phrase that cannot shorten, two lines at most on a 320px phone · condition guide names such as Chronic Kidney Disease (Stages 3-4) are clinical titles */
/* Hallmark · dropped csrf_token · every form still carries its hidden csrf_token field; its value is a fresh per-session token, so the before record's value never matches */
/* Hallmark · dismissed 30b · the ph- prefix is the Product Hunt launch pill, not the Phosphor icon library; bootstrap-icons is the only icon set */
/* Hallmark · finish-review: subagent · 6 findings · 3 resolved (phone header fit, macro discs, Recommended badge clip) · 1 dismissed (macro donut measures 570px before and after; the shot caught its animation) · 2 open (walkthrough card needs a real poster frame; the face's hyphen reads long beside digits) */
/* Hallmark · dismissed 74 · the slate and emerald hex values are the brand's own, named in docs/brand-guidelines.md section 4, not a framework default picked by reflex */

/* Brand truth: every value below is read from docs/brand-guidelines.md (section 3 and 4)
   and the existing static/css/style.css palette; nothing is recalled from memory. */
:root {
  /* ── Brand canvas and neutrals (brand-guidelines.md §4) ── */
  --color-obsidian: #08090c;
  --color-slate-card: #111520;
  --color-slate-950: #020617;
  --color-slate-900: #0f172a;
  --color-slate-850: #141f36;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-shadow-ink: #020305;

  /* ── Bio-emerald (primary signal) ── */
  --color-emerald-900: #064e3b;
  --color-emerald-800: #065f46;
  --color-emerald-700: #047857;
  --color-emerald-600: #059669;
  --color-emerald-500: #10b981;
  --color-emerald-400: #34d399;
  --color-emerald-300: #6ee7b7;
  --color-emerald-200: #a7f3d0;
  --color-emerald-100: #d1fae5;
  --color-emerald-50: #ecfdf5;

  /* ── Cellular cyan (telemetry, links, AI insight) ── */
  --color-cyan-900: #0c4a6e;
  --color-cyan-800: #075985;
  --color-cyan-700: #0369a1;
  --color-cyan-600: #0284c7;
  --color-cyan-500: #0ea5e9;
  --color-cyan-400: #38bdf8;
  --color-cyan-300: #7dd3fc;
  --color-cyan-200: #bae6fd;
  --color-cyan-100: #e0f2fe;
  --color-cyan-50: #f0f9ff;

  /* ── Clinical gold (caution) ── */
  --color-gold-900: #78350f;
  --color-gold-800: #92400e;
  --color-gold-700: #b45309;
  --color-gold-600: #d97706;
  --color-gold-500: #f59e0b;
  --color-gold-400: #fbbf24;
  --color-gold-300: #fcd34d;
  --color-gold-200: #fde68a;
  --color-gold-100: #fef3c7;
  --color-gold-50: #fffbeb;

  /* ── Clinical rose (contraindication, allergen, warning) ── */
  --color-rose-900: #7f1d1d;
  --color-rose-800: #991b1b;
  --color-rose-700: #b91c1c;
  --color-rose-600: #dc2626;
  --color-rose-500: #ef4444;
  --color-rose-400: #f87171;
  --color-rose-300: #fca5a5;
  --color-rose-200: #fecaca;
  --color-rose-100: #fee2e2;
  --color-rose-50: #fef2f2;

  /* ── Data series that need their own hue (Eatwell food groups, macro fat) ── */
  --color-data-fruit: #fb923c;
  --color-data-fruit-ink: #9a3412;
  --color-data-fruit-wash: #ffedd5;
  --color-data-oil: #84cc16;
  --color-data-oil-ink: #365314;
  --color-data-oil-wash: #f7fee7;
  --color-data-fat: #8b5cf6;
  --color-data-fat-ink: #7e22ce;
  --color-data-fat-wash: #faf5ff;
  --color-saffron: #ff9933;
  --color-producthunt: #da552f;
  --color-producthunt-ink: #ff8566;

  /* ── Roles (Hallmark) ── */
  --color-paper: var(--color-obsidian);
  --color-paper-2: var(--color-slate-900);
  --color-paper-3: var(--color-slate-850);
  --color-ink: var(--color-slate-50);
  --color-ink-2: var(--color-slate-400);
  /* brand muted #64748b reads 3.75:1 on slate surfaces; lifted on the slate hue to pass 4.5:1 */
  --color-muted: #8291a7;
  --color-rule: color-mix(in srgb, var(--color-slate-50) 9%, transparent);
  --color-rule-strong: color-mix(in srgb, var(--color-slate-50) 16%, transparent);
  --color-accent: var(--color-emerald-500);
  --color-accent-strong: var(--color-emerald-400);
  --color-accent-ink: var(--color-obsidian);
  --color-signal-2: var(--color-cyan-400);
  --color-focus: var(--color-emerald-400);
  --color-warn: var(--color-gold-500);
  --color-danger: var(--color-rose-500);
  --color-error: var(--color-rose-400);
  --color-success: var(--color-emerald-400);
  --color-shadow: var(--color-shadow-ink);

  /* ── Type (brand-guidelines.md §3) ── */
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-outlier: var(--font-mono);
  --tracking-display: -0.025em;

  /* ── Shared scale (Hallmark scaffold) ── */
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --transition-ui: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --radius-input: 10px; --radius-card: 14px; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: 0 1px 2px color-mix(in srgb, var(--color-shadow) 40%, transparent);
  --shadow-raised: 0 12px 24px -8px color-mix(in srgb, var(--color-shadow) 60%, transparent);
}
