/* infinitea-tokens.css
   Shared design tokens for infinitea.cloud pages.
   Source of truth: home_control/static/brand-anchor.json
   Created: 2026-04-12 (mission 90902fe0, POUR phase)
*/

/* ── Light theme (default) ── */
:root {
  /* Backgrounds */
  --bg-deep:    #fdf9f4;
  --bg-main:    #fefcf8;
  --bg-card:    #fefcf8;

  /* Borders */
  --border:     #e2e8f0;

  /* Text */
  --text-1:     #1a1a2e;
  --text-2:     #475569;
  --text-3:     #64748b;

  /* Brand colors — WCAG 4.5:1 verified */
  --teal:       #0a7e73;
  --teal-dim:   #f0fdfa;
  --amber:      #8a6d1e;
  --amber-dim:  #fffbeb;
  --indigo:     #5558d4;
  --indigo-dim: #eef2ff;
  --green:      #117a3b;
  --green-dim:  #f0fdf4;
  --red:        #dc2626;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Cards */
  --card-radius:  12px;
  --card-shadow:  0 1px 3px rgba(0,0,0,0.06);

  /* Nav */
  --nav-bg:       rgba(255,255,255,0.9);
  --nav-bg-solid: rgba(255,255,255,0.95);
  --nav-blur:     blur(12px);

  /* Dot grid background */
  --dot-grid:     radial-gradient(circle, #cbd5e1 0.5px, transparent 0.5px);
  --dot-size:     32px 32px;
  --dot-opacity:  0.4;

  /* Animation */
  --ease-default: power2.out;
  --duration-fast: 300ms;
  --duration-slow: 1200ms;

  /* Breakpoints (as reference — use in media queries) */
  /* --bp-mobile:  320px;  */
  /* --bp-tablet:  768px;  */
  /* --bp-desktop: 1024px; */
  /* --bp-wide:    1440px; */
}


/* ── Shared base reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Google Fonts import ── */
/* Load via <link> in HTML for perf:
   https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@300;400;500;600&display=swap
*/

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}
