/*
 * Swipe Mark: design tokens
 * Light, creative and a bit cheeky, like a homemade website someone is still fiddling with.
 * A warm paper page, a slim sidebar with a black capsule for log in, and a big serif wordmark
 * sitting on two rough highlighter swipes (butter yellow over blush pink). Headlines are a plain,
 * friendly sans in mixed case, buttons are wide flat blocks in electric violet and mint with
 * uppercase labels, and soft gray clay objects (balls, rings, tubes, springs, cubes) float in the
 * margins. A cursor arrow and a little mint "edit" chip make it feel hands-on.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Instrument+Sans:wght@400;500;600&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: warm paper, a slightly deeper sidebar and plain white cards */
  --sw-paper: #faf8f3;
  --sw-paper-deep: #f2efe7;
  --sw-white: #ffffff;
  --sw-line: #e3dfd5;
  --sw-line-strong: #c9c4b8;

  /* Text */
  --sw-ink: #17151c;
  --sw-ink-soft: #3b3842;
  --sw-muted: #7a7680;
  --sw-faint: #aaa6ad;

  /* Action colors: flat blocks, used for buttons and small chips */
  --sw-violet: #6b1fe3;
  --sw-violet-deep: #5310c4;
  --sw-violet-soft: #efe6fd;
  --sw-mint: #74dd9b;
  --sw-mint-deep: #4fc77d;
  --sw-mint-soft: #e2f7ea;
  --sw-mint-text: #1d7a44;

  /* Highlighter swipes: only behind wordmarks and key words */
  --sw-butter: #f4d777;
  --sw-blush: #eda6aa;

  /* Sage sticky note, for small asides */
  --sw-sage: #c3d3cc;
  --sw-sage-line: #9fb5ab;
  --sw-sage-text: #2e463d;

  /* Clay: soft grays for the floating 3D objects */
  --sw-clay-hi: #fbfaf8;
  --sw-clay: #dcd9d4;
  --sw-clay-lo: #a9a59f;
  --sw-clay-groove: rgba(60, 56, 50, .22);
  --sw-clay-drop: drop-shadow(0 14px 12px rgba(40, 36, 30, .18));

  /* Type */
  --sw-serif: "DM Serif Display", Georgia, serif;
  --sw-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sw-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --sw-text-mark: clamp(64px, 11vw, 132px);
  --sw-text-hero: clamp(36px, 4.6vw, 56px);
  --sw-text-h1: clamp(36px, 4.4vw, 54px);
  --sw-text-h2: clamp(30px, 3.4vw, 42px);
  --sw-text-h3: 22px;
  --sw-text-lead: clamp(19px, 2vw, 24px);
  --sw-text-body: 17px;
  --sw-text-small: 15px;
  --sw-text-label: 12px;

  --sw-tracking-head: -.02em;
  --sw-tracking-label: .08em;
  --sw-tracking-btn: .04em;

  /* Shape: nearly square blocks, a black capsule, dotted connectors */
  --sw-radius-xs: 3px;
  --sw-radius: 8px;
  --sw-radius-lg: 14px;
  --sw-radius-pill: 999px;
  --sw-border: 1px solid var(--sw-line);
  --sw-dots: 2px dotted var(--sw-ink-soft);
  --sw-shadow: 0 1px 2px rgba(23, 21, 28, .05), 0 8px 24px rgba(23, 21, 28, .06);
  --sw-focus: 0 0 0 3px var(--sw-paper), 0 0 0 5px var(--sw-violet);

  /* Space */
  --sw-sidebar: 210px;
  --sw-gutter: clamp(18px, 4vw, 48px);
  --sw-container: 960px;
  --sw-narrow: 680px;
  --sw-section: clamp(64px, 8vw, 112px);
  --sw-btn-h: 56px;
  --sw-btn-h-sm: 40px;
}
