/* Tecpoint v0.1 — project choices, 2026-11-25.
 * Proposed implementation baseline, not copied Dropbox CSS.
 * Brand red matches the direct libcdr SVG export; see assets/LOGO-SOURCE.md.
 * Font faces are self-hosted in public/fonts/fonts.css.
 * Numeric implementation authority: change here, then sync DESIGN/MOTION.
 */
:root {
  color-scheme: light;

  --tp-brand: #e30016;
  --tp-brand-hover: #c50013;
  --tp-link: var(--tp-brand-hover);
  --tp-on-brand: #ffffff;
  --tp-contact-surface: #892055;
  --tp-solutions-surface: #ded1eb;
  --tp-solutions-open: #eee6f4;
  --tp-topic-border: #ffffffc0;
  --tp-topic-selected: var(--tp-paper);
  --tp-ink: #191b1d;
  --tp-paper: #f7f6f2;
  --tp-white: #ffffff;
  --tp-muted: #5c5f62;
  --tp-line: #d2d1cb; /* decorative only; not an input boundary */
  --tp-control-border: #767873;
  --tp-lime: #c5e34a;
  --tp-lilac: #c0ace5;
  --tp-ice: #71d2e2;
  --tp-sand: #f5a14b;
  --tp-monitor-ink: #283d1c;
  --tp-vision-ink: #452957;
  --tp-vision-surface: #f2d66d;
  --tp-vision-scene-ink: #473b22;
  --tp-data-ink: #224b50;
  --tp-autonomy-hover: #344d2b;
  --tp-diagram-connection: #ffffff60; /* >=3:1 on --tp-ink */
  --tp-error: #b41919;
  --tp-success: #256038;
  --tp-focus-light: #ffffff;
  --tp-focus-dark: #191b1d;

  --tp-font-display: "Golos Text", system-ui, sans-serif;
  --tp-font-text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tp-type-hero: clamp(3.25rem, 7.2vw, 6rem);
  --tp-type-section: clamp(2.75rem, 5.2vw, 5.5rem);
  --tp-type-title: clamp(1.5rem, 1.15rem + 1.4vw, 2.5rem);
  --tp-type-lead: clamp(1.25rem, 1.1rem + .6vw, 1.75rem);
  --tp-type-body: clamp(1rem, .95rem + .2vw, 1.125rem);
  --tp-type-small: .875rem;
  --tp-leading-display: 1.08;
  --tp-leading-title: 1.16;
  --tp-leading-body: 1.6;
  --tp-tracking-display: -.035em;
  --tp-measure: 64ch;

  --tp-space-1: .25rem;
  --tp-space-2: .5rem;
  --tp-space-3: .75rem;
  --tp-space-4: 1rem;
  --tp-space-6: 1.5rem;
  --tp-space-8: 2rem;
  --tp-space-12: 3rem;
  --tp-space-16: 4rem;
  --tp-space-24: 6rem;
  --tp-space-32: 8rem;
  --tp-page-gutter: clamp(1.25rem, 3.2vw, 3.5rem);
  --tp-section-space: clamp(4rem, 8vw, 8rem);
  --tp-container: 100rem;
  --tp-grid-columns: 4;
  --tp-grid-gap: 1rem;
  --tp-radius-scene: 0;
  --tp-radius-control: 0;
  --tp-radius-tile: 0;
  --tp-mosaic-gap: .5rem;
  --tp-mosaic-row: clamp(13.5rem, 19vw, 17.5rem);
  --tp-type-tile: clamp(1.5rem, 2.35vw, 2.5rem);
  --tp-type-page-title: clamp(3rem, 8.4vw, 8rem);
  --tp-type-partner: clamp(2rem, 4.8vw, 4.75rem);
  --tp-page-hero-height: 27rem;
  --tp-editorial-number-width: 4rem;
  --tp-content-measure: 42rem;
  --tp-home-title: clamp(3.75rem, 8.4vw, 8.5rem);
  --tp-home-card-title-mobile: clamp(2rem, 11vw, 2.75rem);
  /* Travel inside product scenes, in SVG viewBox units. */
  --tp-tile-travel: 64px;
  --tp-tile-turn: 100deg;
  --tp-tile-tool-travel: 28px;
  --tp-tile-gaze: 22px;
  --tp-home-header-height: 82px;
  --tp-home-stage-min: 30rem;
  --tp-home-tablet-min: 42rem;
  --tp-home-panel-pad: clamp(1rem, 1.65vw, 2rem);
  --tp-home-stage-title: clamp(2.5rem, 4.2vw, 5.25rem);
  --tp-home-stage-card-title: clamp(1.375rem, 2.2vw, 2.625rem);
  --tp-home-stage-small-title: clamp(1.125rem, 1.65vw, 1.75rem);
  --tp-home-stage-tablet-title: clamp(2rem, 4.2vw, 2.5rem);
  --tp-home-stage-mobile-title: clamp(2rem, 8.5vw, 2.75rem);
  --tp-home-stage-mobile-card-title: clamp(1rem, 4.8vw, 1.375rem);
  --tp-home-copy: clamp(.875rem, 1.05vw, 1rem);
  --tp-home-mobile-row: clamp(13rem, 27svh, 16rem);
  --tp-home-entrance-distance: 12px;
  --tp-menu-gutter: clamp(.75rem, 1.4vw, 1.5rem);
  --tp-menu-title: clamp(1.5rem, 2.5vw, 2.75rem);
  --tp-menu-title-mobile: clamp(1.125rem, 4.8vw, 1.75rem);
  --tp-menu-copy: clamp(.875rem, 1.15vw, 1.125rem);
  --tp-menu-row-min: 8rem;
  --tp-menu-enter-clearance: 8px;
  --tp-catalog-title: clamp(2.5rem, 5.2vw, 5.75rem);
  --tp-catalog-card-title: clamp(1.75rem, 3vw, 3.25rem);
  --tp-catalog-card-height: 24rem;
  --tp-catalog-image-height: 23rem;
  --tp-catalog-table-width: 38rem;
  --tp-catalog-drawing-height: 12rem;
  --tp-catalog-drawing-height-small: 10rem;
  --tp-catalog-lubrication: var(--tp-lime);
  --tp-catalog-greases: var(--tp-sand);
  --tp-catalog-machines: var(--tp-ink);
  --tp-catalog-piping: var(--tp-ice);
  --tp-company-surface: var(--tp-paper);
  --tp-company-logo-width: 13rem;
  --tp-company-logo-height: 5rem;
  --tp-company-slot-height: 7rem;
  --tp-company-logo-small-width: 9rem;
  --tp-dozor-hero-title: clamp(3rem, 5.8vw, 6rem);
  --tp-dozor-mobile-title: clamp(2rem, 11vw, 2.75rem);
  --tp-dozor-subtitle: clamp(1.625rem, 2.45vw, 2.5rem);
  --tp-dozor-threshold: clamp(6rem, 12vw, 12rem);
  --tp-dozor-hero-space: clamp(2rem, 3.6vw, 4rem);
  --tp-dozor-diagram-height: 18rem;
  --tp-dozor-nav-height: 3.5rem;
  --tp-dozor-hero-surface: var(--tp-paper);
  --tp-dozor-reg-surface: var(--tp-ink);
  --tp-dozor-reg-ink: var(--tp-white);
  --tp-dozor-driver-surface: var(--tp-lilac);
  --tp-dozor-line-surface: var(--tp-lime);
  --tp-dozor-form-surface: var(--tp-contact-surface);
  --tp-border-width: 1px;
  --tp-target-min: 2.75rem;
  --tp-z-header: 20;
  --tp-z-menu: 40;
  --tp-z-dialog: 60;

  --tp-duration-fast: 120ms;
  --tp-duration-ui: 200ms;
  --tp-duration-panel: 300ms;
  --tp-duration-scene: 600ms;
  --tp-duration-menu-entry: 800ms;
  --tp-duration-stagger: 50ms;
  --tp-motion-reveal-distance: 1rem;
  --tp-ease-ui: cubic-bezier(.23, 1, .32, 1);
  --tp-ease-panel: cubic-bezier(.32, .72, 0, 1);
  --tp-ease-scene: cubic-bezier(.65, 0, .45, 1);

  /* Cursor response: distances are in each illustration's SVG viewBox units. */
  --tp-pointer-response: var(--tp-duration-fast);
  --tp-pointer-hero-spread: 32px;
  --tp-pointer-gaze: 18px;
  --tp-pointer-route-travel: 70px;
  --tp-pointer-layer-separation: 18px;
  --tp-pointer-orbit-turn: 24deg;
  --tp-pointer-process-scale: .035;
  --tp-pointer-vehicle-travel: 24px;
  --tp-pointer-machine-turn: 16deg;
  --tp-pointer-package-travel: 32px;
  --tp-pointer-signal-travel: 32px;
}

/* CSS custom properties cannot be used as media-query breakpoints. */
@media (min-width: 48rem) {
  :root { --tp-grid-columns: 8; --tp-grid-gap: 1.5rem; }
}
@media (min-width: 75rem) {
  :root { --tp-grid-columns: 12; }
}

/* This file defines tokens, not component animation behavior.
 * Reduced-motion static end states and JS cancellation are mandatory per
 * docs/MOTION.md; shortening durations alone is insufficient.
 */
