/* Distillate Labs — brand theme.
   Layout idea: one left-aligned column of plain talk; indigo carries the brand,
   marigold is spent only on the "distilled" result (the bindu, the primary action). */
:root {
  /* brand colours */
  --neel: #2B2F8F;        /* indigo, the dye named after India: primary */
  --neel-deep: #14163F;   /* indigo at night: text */
  --genda: #F5A30A;       /* marigold: the distilled drop, one accent */
  --chalk: #F5F6FB;       /* cool paper: background */
  --slate: #5C6080;       /* secondary text */
  --mist: #DADDEE;        /* hairlines and tints */

  /* roles (these flip in dark mode; use these in components) */
  --bg: var(--chalk);
  --surface: #FFFFFF;
  --ink: var(--neel-deep);
  --muted: var(--slate);
  --line: var(--mist);
  --primary: var(--neel);
  --on-primary: var(--chalk);
  --accent: var(--genda);
  --on-accent: var(--neel-deep);
  --band: var(--neel);
  --band-ink: var(--chalk);
  --band-muted: #C9CCF2;
  --band-line: #4A4FB0;

  /* type */
  --font-display: "Anek Latin", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.9375rem;
  --step-0: 1.125rem;
  --step-1: 1.375rem;
  --step-2: clamp(1.625rem, 2.6vw, 2rem);
  --step-3: clamp(2rem, 4.2vw, 3.125rem);
  --step-4: clamp(2.625rem, 6.4vw, 5.5rem);

  /* shape and space */
  --radius: 14px;
  --radius-pill: 999px;
  --measure: 34rem;
  --gutter: max(16px, 4vw);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1030; --surface: #181B45; --ink: #ECEDF8; --muted: #A4A8CC; --line: #2B2F66;
    --primary: #B3B8FF; --on-primary: #0E1030;
    --band: #181B45; --band-ink: #ECEDF8; --band-muted: #A4A8CC; --band-line: #2B2F66;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1030; --surface: #181B45; --ink: #ECEDF8; --muted: #A4A8CC; --line: #2B2F66;
  --primary: #B3B8FF; --on-primary: #0E1030;
  --band: #181B45; --band-ink: #ECEDF8; --band-muted: #A4A8CC; --band-line: #2B2F66;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-display); text-wrap: balance;
  font-variation-settings: "wdth" 90; letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); font-weight: 700; line-height: 0.98; }
h2 { font-size: var(--step-3); font-weight: 700; line-height: 1.04; }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.2; font-variation-settings: "wdth" 96; }
a { color: var(--primary); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(72rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-display); font-variation-settings: "wdth" 110;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted);
}
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.35rem; border-radius: var(--radius-pill); border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  font: 600 var(--step-0)/1.2 var(--font-body); text-decoration: none;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.logo { display: inline-flex; color: var(--ink); }
.logo svg { height: 2.25rem; width: auto; display: block; }
.logo .drop { fill: var(--primary); }
.logo .bindu { fill: var(--accent); }
.logo .word { fill: currentColor; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
