/* ================================================================
   Lazyconverter design tokens — mirrored from react/src/styles.css.
   This is the single source of truth for the PhotoCraft landing page
   and browser shell. The Rust editor uses the same values in
   photocraft/crates/ui-egui/src/theme.rs (Palette::LazyDark/LazyLight).
   ================================================================ */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/InstrumentSerif-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/InstrumentSerif-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f3f0e8;
  --bg-elev: #f7f4ec;
  --panel: #fdfbf5;
  --panel-2: #f7f3e9;
  --panel-3: #efeade;
  --line: rgba(28, 25, 20, 0.11);
  --line-strong: rgba(28, 25, 20, 0.2);
  --text: #181510;
  --text-soft: #302b23;
  --muted: #6d665b;
  --faint: #968e81;
  --lime: #b6e34c;
  --lime-2: #a6d63a;
  --lime-ink: #12160a;
  --violet: #7c5cf0;
  --cyan: #0891b2;
  --sky: #0369a1;
  --orange: #c2410c;
  --pink: #be185d;
  --teal: #0f766e;
  --blue: #1d4ed8;
  --red: #dc2626;
  --good: #15803d;
  --warn: #a16207;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(52, 44, 24, 0.14);
  --shadow-sm: 0 10px 26px rgba(52, 44, 24, 0.09);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --mono: 'SFMono-Regular', 'Cascadia Code', 'JetBrains Mono', Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

[data-theme='dark'] {
  --bg: #0a0c0f;
  --bg-elev: #0e1115;
  --panel: #12161b;
  --panel-2: #171c22;
  --panel-3: #1d232a;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #eef1f4;
  --text-soft: #c9cfd6;
  --muted: #8d97a2;
  --faint: #616b76;
  --lime: #c8f56a;
  --lime-2: #b7ea4f;
  --lime-ink: #0b0e0a;
  --violet: #a78bfa;
  --cyan: #67e8f9;
  --sky: #7dd3fc;
  --orange: #fdba74;
  --pink: #f9a8d4;
  --teal: #5eead4;
  --blue: #93c5fd;
  --red: #fb7185;
  --good: #86efac;
  --warn: #fcd34d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
  color-scheme: dark;
}
