/* ==========================================================================
   IOTA Design Tokens
   --------------------------------------------------------------------------
   Single source of truth for the IOTA brand shell (landing page + chrome).
   Solution subdirectories define their OWN tokens so each can carry a
   distinct visual identity. Override or extend here, not in component CSS.
   ========================================================================== */

:root {
  /* ---- Brand color ---- */
  --color-bg: #08090a;
  --color-surface: #111214;
  --color-ink: #f7f7f8;
  --color-ink-soft: #989ba4;
  --color-ink-faint: #62656f;
  --color-line: rgb(255 255 255 / 0.08);

  --color-accent: #f1f1f2;        /* monochrome primary accent */
  --color-accent-2: #c9cbd1;      /* subdued secondary accent */
  --color-accent-3: #8a8d97;      /* muted utility accent */
  --color-accent-soft: #1a1b1f;
  --color-accent-ink: #111214;

  /* ---- Typography ---- */
  /* Pretendard: de-facto standard for modern Korean UI; covers Latin too. */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system,
               BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
               "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-display: var(--font-sans);
  --font-mono: "SF Mono", "Fira Code", ui-monospace, monospace;

  /* Fluid type scale */
  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  --text-2xl: clamp(1.8rem, 1.4rem + 2vw, 2.6rem);
  --text-hero: clamp(2.4rem, 1.6rem + 4vw, 4.5rem);

  /* ---- Spacing scale ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6.5rem;

  /* ---- Shape & elevation ---- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.18);
  --shadow-md: 0 12px 32px rgb(0 0 0 / 0.28);
  --shadow-lg: 0 24px 64px rgb(0 0 0 / 0.42);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 600ms;

  /* ---- Layout ---- */
  --container-max: 1140px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);
}
