/* ============================================================
   yourtime — base design tokens
   ============================================================ */

:root {
  --bg: #050505;
  --bg-panel: #0c0c0c;
  --ink: #f2efe9;
  --ink-dim: rgba(242, 239, 233, 0.55);
  --ink-faint: rgba(242, 239, 233, 0.3);
  --hairline: rgba(242, 239, 233, 0.14);
  --hairline-strong: rgba(242, 239, 233, 0.32);

  /* pillar palettes */
  --life-a: #97761d;
  --life-b: #3e300b;
  --work-a: #333c7c;
  --work-b: #0f1330;
  --health-a: #3a7c58;
  --health-b: #122e21;
  --sleep-a: #79828f;
  --sleep-b: #2e333c;

  --mono: "Space Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

::selection { background: rgba(163, 128, 31, 0.55); color: #fff; }

/* tiny uppercase mono label used everywhere */
.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* faint background grid (visible on desktop framing) */
.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 220px 220px;
}
