/* Hallmark · shape: Showcase · genre: modern-minimal · theme: custom (the owner's sixth direction, 30 November 2026: Sentry's theme and UI patterns, the system not the identity; documentation/brand/DESIGN.md) · redesign: full · job: sign up · idea: "The product shown as it is: a dark aubergine stage for the story, a calm light workbench for the record." · vibe: "clear, technical, calm, confident"
 * paper: app #faf9fb, marketing #201631 under one violet glow · accent: violet at hue 262 (#784ec1), shifted off the reference's 248 · display: Outfit · body: Figtree · mono: Geist Mono · hero: head, line, two actions, then the dashboard captured · nav: edge-aligned, sentence case · footer: link groups under the wordmark · imagery: the product captured · signature: the real dashboard, in the reference's own shell
 * axes: dark-marketing+light-app/geometric-sans/monochrome-violet · posture: Committed · contrast: pass (pairs measured in DESIGN.md) · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the hero's capture must be the real dashboard on sample data, not a drawing */
/* Hallmark · waive 47c · the hero and showcase windows are the product built or captured inside data-slot=dashboard with data-kind=product; their values read as samples (Example Marine Services) · the live dashboard sits behind a sign-in */
/* Hallmark · waive 42 · nav and footer follow the owner's reference (Sentry's marketing site, 30 November 2026): edge-aligned nav with two actions; footer link groups · the owner asked for the reference's own nav and footer patterns on 30 November 2026 */
/* Stint design tokens, 30 November 2026. The app is light by default (dark under [data-theme="dark"]); marketing pages
   set data-surface="marketing" on the root and are dark by default (theme.js). Components read only the semantic names;
   the account app's older --color-* names are mapped at the end. */
:root {
  color-scheme: light;

  /* Ground, surfaces, ink: the app, light */
  --bg: #faf9fb;
  --bg-soft: #f6f4f8;
  --rail: #f6f4f8;
  --surface: #ffffff;
  --surface-2: #f5f3f7;
  --surface-3: #ece7f1;
  --ink: #2f2334;
  --text: #4d4058;
  --text-subtle: #73637e;
  --text-faint: #786a81;
  --line: #e2dbe6;
  --line-strong: #d3cad9;
  --line-control: #8f839b;

  /* Brand: violet at hue 262 */
  --brand-1: #784ec1;
  --brand-2: #6636ba;
  --brand-3: #653fa6;
  --brand-deep-1: #6636ba; --brand-deep-2: #5a2fa6; --brand-deep-3: #4b2789;
  --accent: #653fa6;
  --accent-soft: #eae2f8;
  --accent-ink: #4b2789;
  --select: #eae2f8; --select-text: #653fa6;
  --link: #653fa6;
  --white: #ffffff;
  --black: #2f2334;
  --tile-ink: #2b2233; --tile-ink-hi: #45384f;
  --on-brand: #ffffff; --on-brand-ink: #2f2334; --on-brand-hover: #f3eefb;
  --sheen-1: rgb(255 255 255 / 0.22); --sheen-2: rgb(255 255 255 / 0.14);
  --veil: rgb(255 255 255 / 0.06); --split-line: rgb(255 255 255 / 0.35); --toast-edge: rgb(255 255 255 / 0.35); --toast-hover: rgb(255 255 255 / 0.1); --spin-on-dark: rgb(255 255 255 / 0.3);

  /* The marketing glow (one hue) */
  --glow: #673c9f;
  --glow-alpha: 0;

  /* Actions */
  --primary-bg: #784ec1;
  --primary-bg-hover: #6636ba;
  --primary-text: #ffffff;
  --quiet-bg: #ffffff;
  --danger-bg: #d63c48; --danger-bg-hover: #bf2f3b; --danger-text: #ffffff;
  --glass-nav: rgb(250 249 251 / 0.86);

  /* States (text on its own ground; the bright success green is for icons) */
  --ok-bg: #e6f5ee; --ok-text: #17694f; --ok-icon: #1f8a6e;
  --warn-bg: #fdf1e4; --warn-text: #9a4a0b; --warn-edge: #f2c48d;
  --err-bg: #fdecee; --err-text: #b4232f; --err-edge: #f1b5b9;
  --info-bg: #f3f6fd; --info-text: #2353b8; --info-edge: #c9d6f2;
  --neutral-bg: #efecf2; --neutral-text: #4d4058;

  /* Dark surfaces inside the light app: toasts, coach marks */
  --toast-bg: #2b2233; --toast-text: #ffffff; --toast-muted: #c9bfd4;

  /* Skeletons and spinner */
  --skeleton: #ece7f1; --skeleton-hi: #f5f3f7;
  --spin-track: #e2dbe6;

  /* Code windows stay dark in both themes */
  --code-bg: #1d1628; --code-bar: #241c31; --code-line: #362c45;
  --code-text: #ece6f3; --code-key: #c9bfd4; --code-punct: #a497b2; --code-comment: #978aa6; --code-string: #c3a8f2;
  --dot-red: #ff6b6b; --dot-amber: #fcc419; --dot-green: #51cf66;

  /* Chart series, the reference's order */
  --series-1: #3e3a8c; --series-2: #784ec1; --series-3: #d0599b; --series-4: #f08c3c; --series-5: #f2c94c;

  /* Focus */
  --focus: #784ec1;

  /* Shadows: menus, modals and toasts only; cards are flat */
  --shadow-sm: 0 1px 2px rgb(47 35 52 / 0.06);
  --shadow-card: none;
  --shadow-menu: 0 4px 16px rgb(47 35 52 / 0.12);
  --shadow-lift: 0 8px 32px rgb(47 35 52 / 0.2);
  --shadow-toast: 0 4px 12px rgb(20 12 28 / 0.25);
  --shadow-window: 0 2px 4px rgb(20 12 28 / 0.2), 0 40px 80px -24px rgb(10 4 20 / 0.6);

  /* Type */
  --font-display: 'Outfit', 'Figtree', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Figtree', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.125rem; --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 2rem;
  --text-h2: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  --text-h1: clamp(2.75rem, 1.2rem + 5.6vw, 6.5rem);
  --tracking-display: -0.02em; --tracking-tight: -0.01em;
  --leading-snug: 1.1; --leading-body: 1.55;

  /* Space (8px grid, with 4px steps) */
  --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: 128px;

  /* Canvas */
  --container: 1200px; --container-narrow: 1024px; --container-prose: 720px;
  --gutter: 24px;
  --section-pad: 64px;
  --nav-height: 72px;
  --rail-width: 72px; --subnav-width: 240px; --rail-bar-h: 61px;
  --control-h: 40px; --control-h-sm: 32px;

  /* Shape */
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 8px; --r-xl: 10px; --r-2xl: 12px; --r-3xl: 16px; --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-micro: 120ms; --dur-short: 180ms; --dur-mid: 240ms; --dur-long: 600ms;

  /* Layers */
  --z-raised: 10; --z-sticky-nav: 300; --z-menu: 400; --z-modal: 450; --z-toast: 500;
}
@media (min-width: 768px) { :root { --section-pad: 112px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --text-sm: 0.9375rem; --text-xs: 0.875rem; } }

/* The app's dark theme: chosen with the toggle, remembered in this browser. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #211b2d;
  --bg-soft: #1b1626;
  --rail: #1b1626;
  --surface: #2b2537;
  --surface-2: #312a3e;
  --surface-3: #3a3249;
  --ink: #f3eff7;
  --text: #d3cadd;
  --text-subtle: #b9aec6;
  --text-faint: #968aa5;
  --line: #3a3249;
  --line-strong: #4a4159;
  --line-control: #7d7190;
  --brand-1: #aa86ea;
  --brand-2: #c3a8f2;
  --brand-3: #9a74e0;
  --accent: #c3a8f2;
  --accent-soft: #3a2f52;
  --accent-ink: #e4d8fa;
  --select: #3a2f52; --select-text: #d9c8f7;
  --link: #c3a8f2;
  --black: #f3eff7;
  --primary-bg: #aa86ea;
  --primary-bg-hover: #bb9cf0;
  --primary-text: #1b1626;
  --quiet-bg: #2b2537;
  --danger-bg: #d63c48; --danger-bg-hover: #bf2f3b; --danger-text: #ffffff;
  --glass-nav: rgb(33 27 45 / 0.86);
  --ok-bg: #163a2f; --ok-text: #7be0bd; --ok-icon: #4fd1a5;
  --warn-bg: #3b2a14; --warn-text: #f5c27e; --warn-edge: #6b4a1f;
  --err-bg: #3f1d25; --err-text: #ffb3b9; --err-edge: #6e2e38;
  --info-bg: #1e2a4a; --info-text: #b9cdfa; --info-edge: #33467a;
  --neutral-bg: #312a3e; --neutral-text: #d3cadd;
  --toast-bg: #ffffff; --toast-text: #2f2334; --toast-muted: #73637e;
  --skeleton: #3a3249; --skeleton-hi: #443b54;
  --spin-track: #4a4159;
  --focus: #aa86ea;
  --series-1: #8f8be0; --series-2: #aa86ea; --series-3: #e58bbd; --series-4: #f5a96b; --series-5: #f5d77a;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-menu: 0 4px 16px rgb(0 0 0 / 0.45);
  --shadow-lift: 0 8px 32px rgb(0 0 0 / 0.55);
  --shadow-toast: 0 4px 12px rgb(0 0 0 / 0.5);
}

/* Marketing pages in their dark default: the aubergine stage with one violet glow. */
:root[data-surface="marketing"][data-theme="dark"] {
  --bg: #201631;
  --bg-soft: #1a1129;
  --surface: #2b2140;
  --surface-2: #33284b;
  --surface-3: #3d3157;
  --ink: #ffffff;
  --text: #e4dcef;
  --text-subtle: #d6cce6;
  --text-faint: #a89cc0;
  --line: #3d3157;
  --line-strong: #4d4069;
  --line-control: #8a7da5;
  --accent: #c3a8f2;
  --link: #c3a8f2;
  --glow-alpha: 0.85;
  /* The marketing primary is the white button; the secondary is the outline with a violet edge. */
  --primary-bg: #ffffff;
  --primary-bg-hover: #f1ebfa;
  --primary-text: #201631;
  --quiet-bg: transparent;
  --glass-nav: rgb(32 22 49 / 0.82);
}

/* The account app's names, on the same themed values. */
:root {
  --color-paper: var(--bg);
  --color-paper-2: var(--surface-2);
  --color-paper-3: var(--surface-3);
  --color-surface: var(--surface);
  --color-ink: var(--ink);
  --color-ink-2: var(--text);
  --color-muted: var(--text-subtle);
  --color-rule: var(--line);
  --color-rule-strong: var(--line-strong);
  --color-rule-control: var(--line-control);
  --color-accent: var(--accent);
  --color-accent-strong: var(--accent-ink);
  --color-accent-ink: var(--primary-text);
  --color-accent-soft: var(--accent-soft);
  --color-accent-text: var(--accent);
  --color-mint: var(--accent);
  --color-mint-strong: var(--accent-ink);
  --color-mint-ink: var(--primary-text);
  --color-focus: var(--focus);
  --color-warn: var(--warn-text); --color-warn-text: var(--warn-text); --color-warn-soft: var(--warn-bg);
  --color-error: var(--err-text); --color-error-soft: var(--err-bg);
  --color-info: var(--info-text); --color-info-soft: var(--info-bg);
  --font-outlier: var(--font-mono);
  --radius-control: 6px; --radius-card: 8px; --radius-window: 12px; --radius-plan: 12px; --radius-pill: 9999px;
  --shadow-float: var(--shadow-lift);
  --shadow-glow: none;
}
