/* Material · design system tokens · v3
   Source of truth for color, type, space, motion. Documented in /DESIGN.md.
   Rules follow elayadesign/ai-design-skills (landing-page-design), with the
   user's overrides: Nickel Gothic + Adapter, a Heist-style hero gradient with grain. */

:root {
  /* ── Color ─────────────────────────────────────────────
     Tinta: warm black (#131209, from the approved dark set), so the cold celeste glows against it.
     Papel: uncoated-paper white for text; never pure #FFF.
     Celeste: the brand, exact. Azul tinta: the one added color, only for the hero gradient and 3D light. */
  --color-bg: #131209;
  --color-bg-2: #1b1a12;
  --color-bg-3: #25241b;
  --color-text: #f2efe6;
  --color-text-2: #c4c0b4;
  --color-text-3: #8e8a7e;
  --color-line: rgb(242 239 230 / 0.12);
  --color-line-2: rgb(242 239 230 / 0.24);
  --color-accent: #3ca5d5;
  --color-accent-on-paper: #1a709b; /* celeste darkened for text on papel: 4.8:1, the brand celeste only reaches 2.4:1 */
  --color-accent-ink: #131209;
  --color-deep: #16507d;
  --color-focus: #3ca5d5;
  --color-error: #e0705a;

  /* Hero: warm black top and bottom, a band of azul tinta, a celeste bloom behind the headline */
  --gradient-hero:
    radial-gradient(55% 42% at 50% 46%, rgb(60 165 213 / 0.6) 0%, rgb(60 165 213 / 0) 100%),
    linear-gradient(180deg, #131209 0%, #131209 12%, #16507d 42%, #1d6596 54%, #183f5c 74%, #131209 100%); /* a long fade out at the foot */
  --gradient-title: linear-gradient(90deg, #f2efe6 0%, #a29e92 100%);

  /* ── Type ──────────────────────────────────────────────
     Nickel Gothic Variable: display only. One weight; its voice is the width axis (wdth 25 to 150).
     Adapter: everything you read. Adapter Mono: data, indices, captions. */
  --font-display: "nickel-gothic-variable", "Arial Narrow", sans-serif;
  --font-sans: "adapter-pe-variable", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "adapter-mono-pe-variable", ui-monospace, monospace;
  --wdth-compressed: 25;
  --wdth-xcondensed: 38;
  --wdth-condensed: 50;
  --wdth-narrow: 75;
  --wdth-regular: 100;

  /* Tailwind scale, size and paired line height */
  --text-xs: 0.75rem;   --leading-xs: 1rem;
  --text-sm: 0.875rem;  --leading-sm: 1.25rem;
  --text-base: 1rem;    --leading-base: 1.5rem;
  --text-lg: 1.125rem;  --leading-lg: 1.75rem;
  --text-xl: 1.25rem;   --leading-xl: 1.75rem;
  --text-2xl: 1.5rem;   --leading-2xl: 2rem;
  --text-3xl: 1.875rem; --leading-3xl: 2.25rem;
  --text-4xl: 2.25rem;  --leading-4xl: 2.5rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;
  --text-9xl: 8rem;

  /* ── Space: the only values allowed ──────────────────── */
  --space-0: 0;
  --space-25: 2px;
  --space-50: 4px;
  --space-75: 8px;
  --space-100: 12px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-500: 40px;
  --space-600: 48px;
  --space-700: 64px;
  --space-800: 80px;
  --space-900: 96px;

  /* ── Layout ────────────────────────────────────────── */
  --container: 1440px;
  --gutter: var(--space-700);
  --columns-gap: var(--space-300);
  --section-pad: var(--space-900);

  /* ── Shape: cut sheets, square corners ───────────────── */
  --radius: 0;
  --hairline: 1px;

  /* ── Motion ────────────────────────────────────────── */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-move: 500ms;
  --dur-fade: 300ms;
  --dur-reveal: 700ms;

  /* ── Layers ────────────────────────────────────────── */
  --z-stage: 1;
  --z-content: 2;
  --z-nav: 300;
  --z-skip: 400;
}

@media (max-width: 64rem) {
  :root { --gutter: var(--space-400); --section-pad: var(--space-800); }
}
@media (max-width: 40rem) {
  :root { --gutter: var(--space-200); --columns-gap: var(--space-200); --section-pad: var(--space-700); }
}
