/* PlungeAI design tokens · v1.0 · 2026-11-13. The approved website's values (base.css, sections.css) with the mint in place
   of the orange. tokens.json holds the same values with their roles, the contrast pairs and the logo geometry. */
:root {
  /* neutrals: the site's grey scale */
  --pl-g50: #ffffff;   /* white page, cards on the light page, the white logo */
  --pl-g100: #ededed;  /* the page */
  --pl-g200: #cacaca;  /* frames before an image loads, quiet rules */
  --pl-g400: #b3b3b3;  /* body and labels on dark slabs */
  --pl-g600: #7d7d7d;  /* the draft's eyebrows (plungeai.css); 3.52:1 on #ededed, so only 24 px and up; the live page kit uses g700 */
  --pl-g700: #545454;  /* body text on the light page */
  --pl-g800: #323232;  /* strip words, glass base */
  --pl-g850: #151515;  /* dark slabs, text on light */
  --pl-g900: #000000;  /* object tiles, text on mint, the black logo */

  /* the one colour */
  --pl-mint: #52ffba;     /* Fresh mint, hsl(156 100% 66%): fills and colour on black; text on it is black (16.37:1) */
  --pl-mint-hi: #7affca;  /* hover on mint fills */
  --pl-mint-lt: #b8ffe2;  /* tints, and the text-button hover on dark */
  --pl-mint-ink: #007a49; /* mint as text or link on light: 4.62:1 on #ededed, 5.41:1 on white */
  --pl-on-mint: #000000;

  /* backdrops for object photographs only */
  --pl-bd-periwinkle: #5585ff; --pl-bd-yellow: #dfda25; --pl-bd-gold: #a58900; --pl-bd-emerald: #68d133;
  --pl-bd-cobalt: #0040ef; --pl-bd-evergreen: #248600; --pl-bd-mint: #52ffba;

  /* glass */
  --pl-glass: rgba(50,50,50,.4);      /* nav and glass buttons, with --pl-glass-blur */
  --pl-glass-card: rgba(50,50,50,.8); /* glass cards, blur 21px */
  --pl-glass-menu: rgba(0,0,0,.6);    /* menus, blur 21px */
  --pl-glass-blur: blur(12px) saturate(140%);
  --pl-rim: conic-gradient(from 0deg,#ffffff80,#ffffff38,#ffffff80,#ffffff38,#ffffff80,#ffffff38,#ffffff80,#ffffff38,#ffffff80 360deg);

  /* type */
  --pl-font-sans: "Space Grotesk", Avenir, "Avenir Next", system-ui, sans-serif; /* everything read, 500; 700 for buttons, eyebrows, product wordmarks */
  --pl-font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;              /* small uppercase, code, typewriter mode */
  --pl-font-app: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; /* signed-in apps, preset plungeai-rooms: branding/apps.md */
  --pl-w-read: 500; --pl-w-strong: 700;
  --pl-h1: 56px; --pl-h2: 40px; --pl-h3: 26px; --pl-h4: 20px; --pl-body: 16px; --pl-small: 14px;
  --pl-btn: 12px; --pl-eyebrow: 12px; --pl-chip: 11px; --pl-label: 10px; --pl-stat-label: 14px;
  --pl-lh-h: 1; --pl-lh-h3: 30px; --pl-lh-h4: 1.1; --pl-lh-body: 1.4; --pl-lh-mono: 1.04;
  --pl-track-h: -0.02em; --pl-track-label: 0.1em; --pl-track-chip: 0.06em;
  --pl-foot-word: clamp(64px, 17.4vw, 252px);
  --pl-dm-stat: 9px; --pl-dm-closer: 10.5px; /* dot-matrix pitch */

  /* space */
  --pl-gut: 80px; --pl-pad: 48px; --pl-rhythm: 144px; --pl-rhythm-lg: 150px; --pl-slab-gap: 176px;
  --pl-page-max: 1448px; --pl-top-gap: 36px;
  --pl-s-8: 8px; --pl-s-12: 12px; --pl-s-16: 16px; --pl-s-24: 24px; --pl-s-32: 32px; --pl-s-40: 40px; --pl-s-48: 48px;
  --pl-s-56: 56px; --pl-s-64: 64px; --pl-s-72: 72px; --pl-s-96: 96px;

  /* radius */
  --pl-r-xs: 24px;  /* tiles, cards, menus */
  --pl-r-md: 32px;  /* slabs, hero, footer, frames */
  --pl-r-pill: 999px;

  /* motion */
  --pl-e: cubic-bezier(.22,.7,.3,1);   /* reveals and shards */
  --pl-e2: cubic-bezier(.4,0,.2,1);    /* chrome and the dial */
  --pl-dur-control: 150ms; --pl-dur-menu: 250ms; --pl-dur-sheet: 300ms; --pl-dur-swap: 450ms; --pl-dur-fold: 500ms;
  --pl-dur-dm: 550ms; --pl-dur-reveal: 800ms; --pl-dur-rise: 900ms; --pl-stagger: 80ms;
  --pl-type-del: 28ms; --pl-type-add: 55ms; --pl-type-hold: 2300ms;
  --pl-rotate: 5s; --pl-bars: 10s; --pl-float: 7s; --pl-drift: 28s; --pl-strip: 70s;

  /* logo: heights are sun top to g bottom; D is the sun, 50 wordmark units */
  --pl-logo-min: 24px;        /* main wordmark, 8 mm in print */
  --pl-logo-small-min: 16px;  /* small wordmark 16–23 px, 5–8 mm; under 16 px use the symbol on its tile (16 px and up) */
  --pl-logo-ratio: 3.7295;    /* main wordmark width / height */
  --pl-logo-small-ratio: 3.7507;
  --pl-lockup-ratio: 5.257;
  --pl-logo-clear: 0.282;     /* D as a share of the main wordmark's height */
}
@media (max-width: 1023px) {
  :root { --pl-gut: 16px; --pl-pad: 24px; --pl-rhythm: 72px; --pl-rhythm-lg: 72px; --pl-slab-gap: 104px;
    --pl-h1: 40px; --pl-h2: 32px; --pl-h3: 24px; --pl-h4: 18px; --pl-r-md: 24px; --pl-dm-stat: 7px; --pl-dm-closer: 8px; }
}
