/* OSS platform theme: Apple light chassis, OSS copper, Liquid Glass chrome.
   The design record (the Hallmark stamp, its waivers and what the redesign dropped) lives in .hallmark/stamp.css,
   because test/frontend.test.js keeps the middle dot out of public/. */
@import url("./tokens.css");
@import url("./base.css");

:root {
  color-scheme: light;
  /* Liquid Glass: a clear, saturated pane with a bright rim, used only for chrome that floats over content */
  --glass-fill: oklch(100% 0 0 / 0.58);
  --glass-fill-strong: oklch(100% 0 0 / 0.78);
  --glass-rim: oklch(100% 0 0 / 0.85);
  --glass-edge: oklch(25% 0.01 60 / 0.09);
  --glass-blur: blur(22px) saturate(185%);
  --glass-lift: 0 10px 30px -12px oklch(25% 0.03 55 / 0.22), 0 1px 2px oklch(25% 0.02 55 / 0.06);
  --glass-sheen: linear-gradient(180deg, oklch(100% 0 0 / 0.75), oklch(100% 0 0 / 0) 55%);
  --glass-hover: oklch(100% 0 0 / 0.7);
  /* overlays and the two small lifts the chrome uses */
  --tint-hover: oklch(25% 0.01 60 / 0.06);
  --tint-chip: oklch(25% 0.01 60 / 0.07);
  --lift-segment: 0 1px 3px oklch(25% 0.03 55 / 0.14);
  --lift-bubble: 0 1px 1px oklch(25% 0.02 55 / 0.06);
  --lift-knob: 0 2px 6px oklch(10% 0 0 / 0.3);
}

body {
  min-height: 100vh; display: flex; flex-direction: column;
  font-weight: 400; line-height: 1.5; letter-spacing: -0.011em; text-rendering: optimizeLegibility;
  /* the wallpaper the glass refracts: two still fields of brand copper and stone */
  background:
    radial-gradient(60rem 26rem at 12% -6rem, color-mix(in oklab, var(--color-accent) 14%, transparent), transparent 70%),
    radial-gradient(48rem 22rem at 92% -4rem, color-mix(in oklab, var(--color-on-tile-2) 40%, transparent), transparent 72%),
    var(--color-paper);
  background-attachment: fixed;
}
:lang(th) body, body:lang(th) { letter-spacing: 0; }
