/* Plotweave design tokens. Mirrors the Figma collection "Plotweave tokens" (mode: Dark).
   Source: handoff/tokens/tokens.css. Fonts are self-hosted in ./fonts (see fonts/LICENSES.md). */
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/FamiljenGrotesk-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/Geist-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/Geist-Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/Geist-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); }
/* Bengali subset only: downloaded just when a page shows Bangla text. */
@font-face {
  font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/NotoSansBengali-Variable.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}

:root {
  color-scheme: dark;

  /* Surfaces */
  --pw-bg-ink: #0F0D14;
  --pw-bg-velvet: #18151F;
  --pw-bg-raised: #221E2B;
  --pw-bg-hover: #2C2737;
  --pw-line: #2E2939;
  --pw-line-strong: #443D52;
  --pw-hairline: rgb(255 255 255 / 0.08);

  /* Text */
  --pw-text: #F1ECE4;
  --pw-text-muted: #A49DB3;
  --pw-text-faint: #746D84;
  --pw-text-on-light: #17141F;

  /* Meaning: where a shot is made */
  --pw-local: #7ADBB9;       --pw-local-tint: #1E302D;   /* your GPU, free, done */
  --pw-keys: #F2B66D;        --pw-keys-tint: #322821;    /* your paid keys, waiting */
  --pw-stock: #A3B6F5;       --pw-stock-tint: #23263A;   /* stock footage, music */
  --pw-danger: #F28B82;
  --pw-focus: #C9B8FF;

  /* Glass overlays on media */
  --pw-glass-bg: rgb(24 21 31 / 0.74);
  --pw-glass-border: rgb(255 255 255 / 0.12);
  --pw-glass-blur: 28px;

  /* Type */
  --pw-font-display: "Familjen Grotesk", "Geist", "Noto Sans Bengali", system-ui, sans-serif;
  --pw-font-ui: "Geist", "Noto Sans Bengali", system-ui, sans-serif;
  --pw-font-mono: "Geist Mono", ui-monospace, monospace;

  --pw-hero-size: 76px;   --pw-hero-lh: 80px;   --pw-hero-track: -0.03em;
  --pw-display-size: 64px; --pw-display-lh: 68px; --pw-display-track: -0.02em;
  --pw-h2-size: 40px;     --pw-h2-lh: 46px;     --pw-h2-track: -0.015em;
  --pw-h3-size: 24px;     --pw-h3-lh: 30px;     --pw-h3-track: -0.01em;
  --pw-body-l-size: 19px; --pw-body-l-lh: 30px;
  --pw-body-size: 16px;   --pw-body-lh: 26px;
  --pw-app-title-size: 20px; --pw-app-title-lh: 26px;
  --pw-app-size: 14px;    --pw-app-lh: 20px;
  --pw-small-size: 12px;  --pw-small-lh: 16px;
  --pw-money-size: 13px;  --pw-money-lh: 18px;

  /* Space */
  --pw-space-1: 4px;  --pw-space-2: 8px;  --pw-space-3: 12px; --pw-space-4: 16px;
  --pw-space-5: 20px; --pw-space-6: 24px; --pw-space-8: 32px; --pw-space-10: 40px;
  --pw-space-12: 48px; --pw-space-16: 64px; --pw-space-24: 96px; --pw-space-32: 128px;

  /* Radius */
  --pw-r-frame: 4px;
  --pw-r-control: 8px;
  --pw-r-panel: 12px;
  --pw-r-media: 20px;
  --pw-r-pill: 999px;

  /* Motion */
  --pw-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pw-dur: 180ms;
}

@media (max-width: 768px) {
  :root {
    --pw-hero-size: 44px; --pw-hero-lh: 48px;
    --pw-display-size: 44px; --pw-display-lh: 48px;
    --pw-h2-size: 30px; --pw-h2-lh: 36px;
    --pw-body-l-size: 17px; --pw-body-l-lh: 28px;
  }
}

@media (prefers-reduced-motion: reduce) { :root { --pw-dur: 0ms; } }

:focus-visible { outline: 2px solid var(--pw-focus); outline-offset: 2px; }
