/* Stencil Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* /Stencil Fonts */

/* Archivo Black (the marketing homepage's headlines, .mk wrapper in app.css) loads from
   <head> in root.tsx. Inter's line above belongs to the Brand kit; root.tsx requests the
   same address from <head> too, so the browser has it before it reaches this file. */

:root {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: oklch(0.968 0.011 125);
  --foreground: oklch(0.24 0.012 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.24 0.012 250);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.24 0.012 250);
  --primary: #1E6B34;
  --primary-foreground: oklch(0.98 0.01 90);
  --secondary: oklch(0.935 0.008 90);
  --secondary-foreground: oklch(0.24 0.012 250);
  --muted: oklch(0.935 0.008 90);
  --muted-foreground: oklch(0.46 0.014 250);
  --accent: oklch(0.925 0.014 150);
  --accent-foreground: oklch(0.24 0.012 250);
  --destructive: oklch(0.52 0.2 27);
  --destructive-foreground: oklch(0.98 0.01 90);
  --border: oklch(0.905 0.014 125);
  --input: oklch(0.86 0.012 125);
  --ring: #1E6B34;
  --success: oklch(0.48 0.12 150);
  --warning: oklch(0.76 0.16 70);
  --chart-1: oklch(0.42 0.09 155);
  --chart-2: oklch(0.76 0.16 70);
  --chart-3: oklch(0.62 0.07 155);
  --chart-4: oklch(0.36 0.02 250);
  --chart-5: oklch(0.72 0.03 250);
  --sidebar: oklch(0.42 0.088 152);
  --sidebar-foreground: oklch(0.98 0.008 125);
  --sidebar-primary: #a3e635;
  --sidebar-primary-foreground: #132a13;
  --sidebar-accent: oklch(0.49 0.095 150);
  --sidebar-accent-foreground: oklch(0.99 0.005 125);
  --sidebar-border: oklch(1 0 0 / 15%);
  --sidebar-ring: #a3e635;
  /* The dark charcoal bar across the top of the signed-in app. */
  --topbar: oklch(0.235 0.012 150);
  --topbar-foreground: oklch(0.97 0.006 125);
  --topbar-muted: oklch(0.3 0.014 150);
  --topbar-border: oklch(1 0 0 / 10%);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.945 0.014 125);
  --surface-hover:   color-mix(in srgb, var(--foreground) 5%,  var(--background));
  --surface-active:  color-mix(in srgb, var(--foreground) 9%, var(--background));
  --surface-elevated: oklch(1 0 0);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.94 0.011 125);
  --border-muted: oklch(0.92 0.012 125);
  --border-strong: oklch(0.72 0.012 90);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.38 0.012 250);

  /* ── primary depth (hover/tint states for brand colour) ─────── */
  --primary-hover: color-mix(in srgb, var(--primary) 88%, var(--foreground));
  --primary-muted: color-mix(in srgb, var(--primary) 16%, var(--background));
  --primary-soft:  color-mix(in srgb, var(--primary) 9%,  var(--background));
  --primary-tint:  color-mix(in srgb, var(--primary) 5%,  var(--background));

  /* ── focus ring (alpha-blended, for soft ring style) ────────── */
  --focus-ring: oklch(0.42 0.09 155 / 0.35);

  /* ── error (form validation — distinct from destructive) ─────── */
  --error: oklch(0.52 0.2 27);
  --error-foreground: oklch(0.98 0.01 90);

  /* ── radius ───────────────────────────────────────────────────── */
  --radius: 0.625rem;
  --radius-none: 0rem;
  --radius-sm: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-xl: 0.875rem;
  --radius-full: 9999px;

  /* ── typography ───────────────────────────────────────────────── */
  /* Inter everywhere in the signed-in app, labels and numbers included — the former
     monospace accent (JetBrains Mono) read as a typewriter font, so --font-mono now
     matches --font-sans. Tabular figures still line up via the tabular-nums utility. */
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-weight-display: 600;
  --line-height-display: 1.1;
  --tracking-display: -0.015em;
  --font-weight-body: 400;
  --line-height-body: 1.55;
  --tracking-body: 0em;
  --font-weight-mono: 500;

  /* ── shadows ──────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 0 rgba(30, 36, 32, 0.06);
  --shadow-md: 0 2px 6px rgba(30, 36, 32, 0.08);
  --shadow-lg: 0 8px 24px rgba(30, 36, 32, 0.12);

  /* ── motion ───────────────────────────────────────────────────── */
  --duration-fast: 100ms;
  --duration-normal: 180ms;
  --duration-slow: 280ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);

  /* ── spacing ──────────────────────────────────────────────────── */
  --spacing-base: 0.2rem;
}

.dark {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: oklch(0.17 0.01 250);
  --foreground: oklch(0.93 0.008 90);
  --card: oklch(0.21 0.011 250);
  --card-foreground: oklch(0.93 0.008 90);
  --popover: oklch(0.21 0.011 250);
  --popover-foreground: oklch(0.93 0.008 90);
  --primary: oklch(0.7 0.12 155);
  --primary-foreground: oklch(0.15 0.02 155);
  --secondary: oklch(0.27 0.012 250);
  --secondary-foreground: oklch(0.93 0.008 90);
  --muted: oklch(0.27 0.012 250);
  --muted-foreground: oklch(0.72 0.012 250);
  --accent: oklch(0.28 0.02 155);
  --accent-foreground: oklch(0.95 0.008 90);
  --destructive: oklch(0.68 0.19 25);
  --destructive-foreground: oklch(0.13 0.01 250);
  --border: oklch(1 0 0 / 12%);
  --input: oklch(1 0 0 / 16%);
  --ring: oklch(0.7 0.12 155);
  --success: oklch(0.72 0.13 150);
  --warning: oklch(0.8 0.16 72);
  --chart-1: oklch(0.7 0.12 155);
  --chart-2: oklch(0.8 0.16 72);
  --chart-3: oklch(0.55 0.08 155);
  --chart-4: oklch(0.8 0.01 250);
  --chart-5: oklch(0.5 0.02 250);
  --sidebar: oklch(0.14 0.015 155);
  --sidebar-foreground: oklch(0.92 0.008 90);
  --sidebar-primary: #a3e635;
  --sidebar-primary-foreground: #132a13;
  --sidebar-accent: oklch(0.21 0.02 155);
  --sidebar-accent-foreground: oklch(0.97 0.008 90);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: #a3e635;
  --topbar: oklch(0.12 0.01 150);
  --topbar-foreground: oklch(0.95 0.006 125);
  --topbar-muted: oklch(0.2 0.012 150);
  --topbar-border: oklch(1 0 0 / 8%);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.2 0.01 250);
  --surface-elevated: oklch(0.25 0.012 250);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(1 0 0 / 6%);
  --border-muted: oklch(1 0 0 / 9%);
  --border-strong: oklch(1 0 0 / 24%);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.8 0.01 250);

  /* ── primary depth ────────────────────────────────────────────── */
  --primary-tint: color-mix(in srgb, var(--primary) 8%, var(--background));

  /* ── focus ring ───────────────────────────────────────────────── */
  --focus-ring: oklch(0.7 0.12 155 / 0.45);

  /* ── error ────────────────────────────────────────────────────── */
  --error: oklch(0.68 0.19 25);
  --error-foreground: oklch(0.13 0.01 250);
}

/* Stencil Tweaks */
/* /Stencil Tweaks */