@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&family=Geist:wght@300;400;500;600;700&display=swap");

/* ── styles.css ── */
/* ════════════════════════════════════════════════════════════════
   KitchenHub Design System — global entry point.
   Consumers link this ONE file. It is an @import manifest only;
   every token, font-face, and base rule lives in tokens/*.
   ════════════════════════════════════════════════════════════════ */

/* ── tokens/fonts.css ── */
/* ────────────────────────────────────────────────────────────────
   KitchenHub — Webfonts
   Geist (UI sans) + Geist Mono (numerics & the KH mark), Vercel's
   typefaces. Loaded from Google Fonts. These are the REAL fonts —
   no substitution. If you need offline/production weights, drop the
   .woff2 files into tokens/fontfiles/ and replace this @import with
   local @font-face rules.
   ──────────────────────────────────────────────────────────────── */



/* ── styles.css ── */

/* ── tokens/colors.css ── */
/* ────────────────────────────────────────────────────────────────
   KitchenHub — Color tokens
   A warm-neutral surface/foreground ramp + sparse oklch semantic
   accents. Nothing is true white or true black. Mint is the only
   brand-carrying hue; the rest signal state.
   ──────────────────────────────────────────────────────────────── */

:root {
}

/* ── styles.css ── */

/* ── tokens/typography.css ── */
/* ────────────────────────────────────────────────────────────────
   KitchenHub — Typography tokens
   Two families, no third. Geist for everything that isn't a number;
   Geist Mono for every quantity, price, count, ID, and the KH mark.
   ss01+cv11 are always on (curly a, stylistic 1/4/9); tnum on numerics
   so columns of figures line up.
   ──────────────────────────────────────────────────────────────── */

:root {
}

/* ─── Base type ─── */
html, body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mono,
code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-feature-settings: "ss01";
}

/* ─── Semantic type roles (console) ─── */
.kh-display { font-size: var(--text-display); font-weight: 600; letter-spacing: -0.6px; line-height: 1.15; }
.kh-h1, h1  { font-size: var(--text-h1);      font-weight: 600; letter-spacing: -0.4px; line-height: 1.2;  margin: 0; }
.kh-h2, h2  { font-size: var(--text-h2);      font-weight: 600; letter-spacing: -0.1px; line-height: 1.3;  margin: 0; }
.kh-body    { font-size: var(--text-body);    font-weight: 400; line-height: 1.45; color: var(--fg-2); }
.kh-body-sm { font-size: var(--text-body-sm); font-weight: 400; line-height: 1.45; color: var(--fg-2); }
.kh-caption { font-size: var(--text-caption); font-weight: 400; color: var(--fg-3); }
.kh-meta    { font-size: var(--text-meta);    font-weight: 500; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.4px; }
.kh-numeric { font-family: var(--font-mono); font-feature-settings: "tnum"; font-weight: 600; letter-spacing: -0.3px; }

/* ── styles.css ── */

/* ── tokens/spacing.css ── */
/* ────────────────────────────────────────────────────────────────
   KitchenHub — Spacing, radii & elevation tokens
   Spacing is multiples of 4. Radii step 6→20. Shadows are VERY subtle;
   hairlines do most of the elevation work (borders before shadows).
   ──────────────────────────────────────────────────────────────── */

:root {
}

/* ── styles.css ── */

/* ── tokens/base.css ── */
/* ────────────────────────────────────────────────────────────────
   KitchenHub — Base & motion
   App-wide background texture, selection color, button reset, and the
   three reusable keyframes (pulse-dot, slide-in, shimmer). Motion is
   restrained: 120–220ms, animating background / border-color / shadow.
   ──────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }

::selection { background: var(--mint); color: var(--fg); }

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

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

/* ─── Fixed dot-grid texture (used app-wide & on marketing) ─── */
.kh-dotgrid::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(20,20,18,0.018) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.6;
}

/* ─── Scrollbars ─── */
.kh-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.kh-scroll::-webkit-scrollbar-track { background: transparent; }
.kh-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; border: 2px solid var(--bg); }
.kh-scroll::-webkit-scrollbar-thumb:hover { background: var(--fg-4); }

/* ─── Keyframes ─── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
@keyframes slide-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }

.pulse-dot { animation: pulse-dot 1.6s ease-in-out infinite; }

/* ─── Skeleton loader ─── */
.skeleton {
  background: linear-gradient(90deg, var(--surface-3) 0%, #ececea 50%, var(--surface-3) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
  color: transparent !important;
}

/* ─── Staggered screen entrance ─── */
.stagger > * { opacity: 0; animation: slide-in 420ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 60ms; }
.stagger > *:nth-child(3) { animation-delay: 120ms; }
.stagger > *:nth-child(4) { animation-delay: 180ms; }
.stagger > *:nth-child(5) { animation-delay: 240ms; }
.stagger > *:nth-child(6) { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .stagger > * { animation: none; opacity: 1; }
  .pulse-dot { animation: none; }
}

/* ── styles.css ── */


/* ── tokens/fonts.css ── */

/* ── tokens/colors.css ── */

/* ── tokens/typography.css ── */

/* ── tokens/spacing.css ── */

/* ── tokens/base.css ── */

