/* ============================================================
   HEADER-STANDALONE.CSS — generated by gen-header-standalone.mjs
   DO NOT EDIT BY HAND: run the generator instead, and keep it honest
   with `node gen-header-standalone.mjs --check`.

   What this is: the design tokens and shared components the site header
   needs, scoped to the header's own roots, for pages that deliberately do
   not load base.css + layout.css — currently only pages/mini-app.html,
   which is a standalone Telegram-mini-app mock whose app shell base.css
   would restyle.

   Every value below is copied verbatim from base.css's :root table and
   from layout.css's .btn family. Nothing here can leak outside the
   header: every selector is scoped, and the token block sits on the two
   header roots, which only the header's own elements inherit from.
   ============================================================ */
/* Design tokens (from base.css :root) — the ones the header actually uses. */
.site-header, .mobile-nav {
  --border: var(--neutral-200);
  --border-focus: var(--brand-500);
  --border-strong: var(--neutral-300);
  --brand-100: #dcf0dc;
  --brand-200: #b8e0b8;
  --brand-300: #87c987;
  --brand-50: #f0f9f0;
  --brand-500: #2e8e2e;
  --brand-600: #237023;
  --brand-700: #1c5a1c;
  --brand-800: #164516;
  --color-primary-text: #ffffff;
  --color-warning: #c67c00;
  --color-warning-bg: #fff8e1;
  --font-family: "IRANSansX", system-ui, sans-serif;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --neutral-100: #f0ede6;
  --neutral-200: #e2ddd3;
  --neutral-300: #cfc8ba;
  --neutral-400: #b8ae9c;
  --neutral-600: #7e7265;
  --neutral-700: #5e5549;
  --neutral-900: #231f18;
  --radius-full: 9999px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --shadow-focus: 0 0 0 3px rgba(46,142,46,0.25);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-xl: 0 8px 32px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.07);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --surface-raised: #ffffff;
  --surface-sunken: var(--neutral-100);
  --text: var(--neutral-900);
  --text-faint: var(--neutral-400);
  --text-muted: var(--neutral-600);
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --transition-base: 180ms ease;
  --transition-fast: 120ms ease;
  --motion-fast: 140ms;
  --motion-base: 200ms;
  --motion-slow: 300ms;
  --motion-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --motion-spring: cubic-bezier(0.34, 1.28, 0.64, 1);
  --z-dropdown: 100;
  --z-overlay: 300;
  --z-sticky: 200;
}

/* from layout.css: .btn */
.site-header .btn, .mobile-nav .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font-family: var(--font-family); font-size: var(--text-sm); font-weight: var(--font-weight-semibold); line-height: 1; min-height: 40px; height: 40px; padding: 0 1.4em; border-radius: var(--radius-full); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; user-select: none; letter-spacing: 0.01em; transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), filter var(--transition-fast); }

/* from layout.css: .btn:focus-visible */
.site-header .btn:focus-visible, .mobile-nav .btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* from layout.css: .btn:active */
.site-header .btn:active, .mobile-nav .btn:active { transform: translateY(0) scale(0.97); }

/* from layout.css: .btn:disabled, .btn[aria-disabled="true"] */
.site-header .btn:disabled, .mobile-nav .btn:disabled, .site-header .btn[aria-disabled="true"], .mobile-nav .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* from layout.css: .btn--primary */
.site-header .btn--primary, .mobile-nav .btn--primary { background: linear-gradient(180deg, var(--brand-600) 0%, var(--brand-700) 100%); color: var(--color-primary-text); border-color: transparent; box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 12px color-mix(in srgb, var(--brand-600) 20%, transparent); }

/* from layout.css: .btn--primary:hover */
.site-header .btn--primary:hover, .mobile-nav .btn--primary:hover { filter: brightness(1.06); transform: translateY(-1.5px); box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 8px 20px color-mix(in srgb, var(--brand-600) 28%, transparent); color: var(--color-primary-text); }

/* from base.css: .demo-badge */
.site-header .demo-badge, .mobile-nav .demo-badge { display: inline-block; font-size: var(--text-xs); font-weight: var(--font-weight-medium); color: var(--color-warning); background: var(--color-warning-bg); border: 1px solid rgba(198,124,0,0.2); border-radius: var(--radius-full); padding: 2px var(--space-2); vertical-align: middle; white-space: nowrap; }
