/* Fallback design tokens (auto-generated) */
:root {
  --color-bg: #0b0f19;
  --color-text: #cbd5e1;
  --color-primary: #2563eb;
  --color-primary-light: #3b82f6;
  --font-body: 'Noto Sans SC', -apple-system, system-ui, sans-serif;
  --font-heading: 'Noto Sans SC', -apple-system, system-ui, sans-serif;
  --max-width: 1200px;

  /* Standard Tokens */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --radius-default: 4px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

html { scroll-behavior: smooth; }
body { margin: 0; }

/* Base typography */
body { font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading, var(--font-body)); }

/* Canonical site shell.
 * The provider normally supplies brand-specific rules for these classes, but
 * a missing style.css must never leave the shared header/mobile navigation and
 * footer as raw document flow. Keep this deterministic shell deliberately
 * neutral so isolated generations remain usable without inheriting another
 * brand's stylesheet. Brand-specific utility classes still come from
 * tailwind.css.
 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  backdrop-filter: blur(16px);
}
.nav-inner {
  width: min(100% - 3rem, var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo, .logo-mark { display: inline-flex; align-items: center; }
.logo-mark { font-size: 1.75rem; font-weight: 750; letter-spacing: -0.06em; }
.nav-desktop { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2rem; }
.nav-list a { display: inline-flex; padding: 1.5rem 0; color: #334155; font-size: 0.9375rem; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }
.mobile-menu { display: none; }
.site-footer { background: #0f172a; color: #e2e8f0; }
.footer-inner { width: min(100% - 3rem, var(--max-width)); margin: 0 auto; padding: 4rem 0 2rem; }
.footer-brand { margin-bottom: 2rem; }
.footer-logo { font-size: 1.75rem; font-weight: 750; letter-spacing: -0.06em; }
.footer-tagline { max-width: 34rem; margin-top: 0.75rem; color: #94a3b8; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-col h4 { margin-bottom: 1rem; color: #fff; font-weight: 650; }
.footer-col li + li { margin-top: 0.625rem; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(148, 163, 184, 0.2); color: #94a3b8; font-size: 0.875rem; }
@media (max-width: 767px) {
  .nav-inner { width: min(100% - 2rem, var(--max-width)); min-height: 64px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-block; }
  .mobile-menu { position: fixed; inset: 64px 0 auto; z-index: 49; padding: 1rem; background: #fff; box-shadow: var(--shadow-lg); }
  .mobile-menu.is-open, .mobile-menu[aria-hidden="false"] { display: block; }
  .mobile-nav-list { display: grid; gap: 0.25rem; }
  .mobile-nav-link { display: block; padding: 0.875rem 1rem; border-radius: var(--radius-md); color: #334155; }
  .mobile-nav-link:hover { background: #f1f5f9; color: var(--color-primary); }
  .footer-inner { width: min(100% - 2rem, var(--max-width)); }
  .footer-nav { grid-template-columns: 1fr; }
}