/* ============================================================
   TEKTON INDIA — Resin Table Configurator
   Design tokens + base styles
   ============================================================ */

:root {
  /* Core palette (brand tokens) */
  --bg:            #0A0B0D;
  --accent:        #2ECC71;   /* tweakable */
  --text:          #F5F6F7;

  /* Derived neutrals (oklch-harmonised on the dark base) */
  --surface-1:     #111316;   /* panels */
  --surface-2:     #16181C;   /* cards / inputs */
  --surface-3:     #1E2126;   /* hover / raised */
  --line:          #24272E;   /* hairlines */
  --line-soft:     #1A1D22;
  --text-dim:      #9AA0A8;
  --text-faint:    #5C626B;

  --accent-soft:   color-mix(in oklch, var(--accent) 14%, var(--surface-2));
  --accent-line:   color-mix(in oklch, var(--accent) 40%, var(--line));
  --accent-glow:   color-mix(in oklch, var(--accent) 30%, transparent);

  /* Brand red dot (from logo DNA, used sparingly) */
  --dot:           #E23A36;

  /* Type */
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;
  --type-scale:   1;     /* tweakable multiplier */

  /* Spacing rhythm */
  --pad:          clamp(18px, 2.4vw, 34px);
  --radius:       14px;
  --radius-sm:    9px;
  --radius-lg:    22px;

  --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
  --shadow-md:  0 8px 28px -8px rgba(0,0,0,.6);
  --shadow-lg:  0 30px 70px -24px rgba(0,0,0,.75);
  --ease:       cubic-bezier(.4,.01,.2,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; letter-spacing: -0.01em; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #06140c; }

/* Custom scrollbar */
.scroll::-webkit-scrollbar { width: 10px; }
.scroll::-webkit-scrollbar-track { background: transparent; }
.scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 20px; border: 3px solid var(--bg); }
.scroll::-webkit-scrollbar-thumb:hover { background: var(--surface-3); }

/* Numeric / spec text */
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* Focus ring */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
