/* Tema SpotLens: amber hangat di atas krem, Fraunces (serif) + Plus Jakarta Sans. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans.ttf") format("truetype"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --display-weight: 600;
  --display-tracking: -.02em;

  --gutter: clamp(1rem, 4.6vw, 2.5rem);
  --r: 1.3rem;
  --r-lg: 2rem;

  --bg: #fffaf1;
  --surface: #ffffff;
  --surface-2: #fdf1dc;
  --ink: #2b1d0e;
  --ink-2: #6a5239;
  --ink-3: #85694a;
  --ink-on-light: #6b3200;
  --line: rgb(180 110 20 / .16);
  --line-strong: rgb(180 110 20 / .32);

  --accent: #d98a06;
  --accent-2: #eaa63a;
  --tooth-hi: #fffefa;
  --tooth-lo: #f1dcb5;
  --accent-text: #a4540a;
  --accent-soft: rgb(217 138 6 / .13);
  --focus: #b45309;
  --grad: linear-gradient(120deg, #b45309 0%, #e0900f 100%);
  --btn: linear-gradient(120deg, #a8480a 0%, #bf6204 100%);
  --grad-deep: linear-gradient(135deg, #3f1f05 0%, #86400a 52%, #b8620c 100%);

  --glass: rgb(255 252 245 / .66);
  --glass-strong: rgb(255 250 240 / .88);
  --shadow: rgb(120 70 10 / .38);
  --glow-1: #ffd27a;
  --glow-2: #ffb9a3;
  --glow-3: #fff0c2;
  --op: .5;

  --ok: #15a35a;
  --bad: #d1365a;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #140e07;
  --surface: #1e150b;
  --surface-2: #2a1d0f;
  --ink: #fbefdc;
  --ink-2: #cdb593;
  --ink-3: #9d8362;
  --line: rgb(240 190 110 / .15);
  --line-strong: rgb(240 190 110 / .3);
  --accent: #f0a73a;
  --accent-2: #ffd58a;
  --tooth-hi: #fff8ea;
  --tooth-lo: #e8c98a;
  --accent-text: #f6bd62;
  --accent-soft: rgb(240 167 58 / .16);
  --focus: #f6bd62;
  --grad: linear-gradient(120deg, #f0a73a 0%, #ffd58a 100%);
  --glass: rgb(44 30 14 / .58);
  --glass-strong: rgb(22 15 8 / .86);
  --shadow: rgb(0 0 0 / .85);
  --glow-1: #8a4a06;
  --glow-2: #7a2f1a;
  --glow-3: #5a4210;
  --op: .5;
  --ok: #3ddc84;
  --bad: #ff6b8f;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #140e07; --surface: #1e150b; --surface-2: #2a1d0f;
    --ink: #fbefdc; --ink-2: #cdb593; --ink-3: #9d8362;
    --line: rgb(240 190 110 / .15); --line-strong: rgb(240 190 110 / .3);
    --accent: #f0a73a; --accent-2: #ffd58a; --tooth-hi: #fff8ea; --tooth-lo: #e8c98a;
    --accent-text: #f6bd62; --accent-soft: rgb(240 167 58 / .16); --focus: #f6bd62;
    --grad: linear-gradient(120deg, #f0a73a 0%, #ffd58a 100%);
    --glass: rgb(44 30 14 / .58); --glass-strong: rgb(22 15 8 / .86); --shadow: rgb(0 0 0 / .85);
    --glow-1: #8a4a06; --glow-2: #7a2f1a; --glow-3: #5a4210; --op: .5;
    --ok: #3ddc84; --bad: #ff6b8f;
  }
}
