/* Lifehack Method — design tokens.
   Canonical color spec: 32-domain-lifehack/60-knowledge-base/brand/colors.md */

:root {
  /* Carrier */
  --ink:           oklch(0.21 0.020 195);
  --ink-2:         oklch(0.32 0.030 195);

  /* Neutrals — tinted toward teal */
  --paper:         oklch(0.985 0.005 195);
  --paper-2:       oklch(0.96 0.008 195);
  --rule:          oklch(0.86 0.012 195);
  --rule-2:        oklch(0.92 0.010 195);
  --muted:         oklch(0.55 0.010 195);
  --muted-2:       oklch(0.70 0.010 195);

  /* Teals */
  --teal-deep:     oklch(0.49 0.085 192);
  --teal:          oklch(0.66 0.105 192);
  --teal-mid:      oklch(0.74 0.085 195);
  --teal-light:    oklch(0.80 0.075 188);
  --teal-wash:     oklch(0.93 0.025 188);
  --teal-mist:     oklch(0.98 0.012 188);

  /* Direction green */
  --green:         oklch(0.65 0.20 135);
  --green-bright:  oklch(0.78 0.21 132);
  --green-wash:    oklch(0.96 0.07 130);

  /* Warmth */
  --gold:          oklch(0.86 0.14 95);
  --gold-soft:     oklch(0.93 0.10 95);
  --cream:         oklch(0.97 0.04 95);

  /* Signal */
  --alarm:         oklch(0.58 0.16 28);

  /* Type */
  --font-display:  'Fraunces', 'Iowan Old Style', 'Charter', Georgia, serif;
  --font-body:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono:     'Berkeley Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale */
  --type-monumental: clamp(96px, 14vw, 200px);
  --type-display:    clamp(56px, 7.5vw, 104px);
  --type-h1:         clamp(38px, 4.4vw, 56px);
  --type-h2:         clamp(26px, 2.8vw, 36px);
  --type-h3:         20px;
  --type-lead:       19px;
  --type-body:       17px;
  --type-ui:         15px;
  --type-meta:       13px;
  --type-eyebrow:    12px;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 80px;
  --space-9: 128px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-2:  cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:    180ms;
  --dur-normal:  320ms;
  --dur-slow:    640ms;
  --dur-pause:   1400ms;

  /* Layout */
  --reading-col: 64ch;
  --hairline:    1px solid var(--rule);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--teal); color: var(--paper); }

a { color: var(--teal-deep); text-decoration-color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
