/*
 * Shared Desk: design tokens
 * Clean, light software for people who work together. White pages and pale grey bands,
 * bold ink headlines with one italic word in the lead, a violet rounded button, green
 * eyebrows, and the product shown in a window on a bright wavy wallpaper, with a floating
 * tool palette and named cursors that show other people at work.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&family=Inter:ital,wght@0,400;0,500;0,600;1,400;1,500&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white first, pale grey bands and cards */
  --sd-paper: #ffffff;
  --sd-panel: #f6f6f8;      /* bands, feature cards, quiet sections */
  --sd-panel-2: #efeff3;    /* inputs on grey, chips, toggles, drawn objects */
  --sd-panel-3: #e5e5eb;    /* hover, active tabs, stronger drawn objects */
  --sd-line: #e7e7ed;
  --sd-line-2: #d2d2db;

  /* Text */
  --sd-ink: #1d1c24;
  --sd-soft: #3f3e4a;       /* long article text */
  --sd-dim: #686775;
  --sd-faint: #a4a3b0;
  --sd-white: #ffffff;      /* text on violet and on cursor tags */

  /* The main accent: violet. Primary buttons, links, focus, selected objects */
  --sd-violet: #6656e8;
  --sd-violet-dark: #5343d2;
  --sd-violet-soft: #eeecfe;

  /* The second voice: green. Eyebrows, feature card titles, "fits" states */
  --sd-green: #1e9a57;
  --sd-green-soft: #e3f5ea;

  /* Cursor colors: one per person, only on cursors, name tags and their marks */
  --sd-red: #ee5537;
  --sd-blue: #2d86ef;
  --sd-amber: #f0a733;

  /* The wallpaper behind product windows: warm waves into cool, a green hill at the bottom */
  --sd-wall:
    radial-gradient(130% 60% at 20% 112%, #2b8f45 0 38%, transparent 38.5%),
    radial-gradient(90% 55% at 100% 105%, #6fbf3a 0 30%, transparent 30.5%),
    linear-gradient(118deg, #ff6a3f 0%, #f4527d 30%, #a978ff 60%, #5479ff 100%);

  /* Type */
  --sd-display: "Manrope", "Inter", system-ui, sans-serif;
  --sd-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sd-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --sd-text-hero: clamp(40px, 6vw, 76px);
  --sd-text-h2: clamp(30px, 3.8vw, 48px);
  --sd-text-h3: 19px;
  --sd-text-lead: 20px;
  --sd-text-body: 16px;
  --sd-text-small: 14px;
  --sd-text-micro: 12px;

  --sd-tracking-hero: -.035em;
  --sd-tracking-h2: -.03em;
  --sd-leading-tight: 1.08;

  /* Shape: rounded rectangles, not pills. Soft lifts on windows only */
  --sd-radius-xs: 4px;
  --sd-radius-sm: 8px;
  --sd-radius: 10px;
  --sd-radius-lg: 16px;
  --sd-radius-pill: 999px;
  --sd-border: 1px solid var(--sd-line);
  --sd-border-strong: 1px solid var(--sd-line-2);
  --sd-shadow-btn: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(29, 28, 36, .18);
  --sd-shadow-window: 0 1px 0 var(--sd-line), 0 24px 60px -24px rgba(29, 28, 36, .28), 0 2px 10px rgba(29, 28, 36, .06);
  --sd-shadow-tag: 0 2px 6px rgba(29, 28, 36, .2);
  --sd-ring: 0 0 0 3px var(--sd-violet-soft), 0 0 0 1px var(--sd-violet);

  /* Space */
  --sd-space-1: 4px;
  --sd-space-2: 8px;
  --sd-space-3: 12px;
  --sd-space-4: 16px;
  --sd-space-5: 24px;
  --sd-space-6: 32px;
  --sd-space-7: 48px;
  --sd-space-8: 72px;
  --sd-space-9: 112px;
  --sd-max: 1180px;
  --sd-max-text: 680px;

  --sd-ease: cubic-bezier(.2, .7, .2, 1);
}
