/* collabuildr design tokens: the one place colors, type, corners, spacing and motion are set.
   Every page loads this first (the app, the home page, pricing, the setup guide, the 404), and every
   other stylesheet uses these names, never a raw value. The palette is shippedby's night: Midnight
   surfaces, Ivory text, one warm Persimmon for the thing to press. Rules are in DESIGN.md. */

/* Inter loads with display=swap. This fallback has Inter's measurements, so the swap moves nothing. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

:root {
  /* Palette */
  --night: #0E1524;          /* Midnight: the page */
  --navy-950: #0A101C;       /* the deepest panel: frames, the room's floor */
  --navy-900: #141D30;       /* cards, panels */
  --navy-800: #1B2539;       /* inputs, hover fill, a raised card */
  --navy-750: #212C43;       /* selected rows, chips on a card */
  --navy-700: #26314A;       /* hairlines, card borders */
  --navy-600: #36425E;       /* strong borders, input borders */
  --navy-500: #4A5674;       /* dividers, decorative */
  --moon: #F3EBDD;           /* Ivory: main text */
  --moon-dim: #B7B0A4;       /* secondary text */
  --moon-faint: #958F86;     /* hints, timestamps, labels */
  --persimmon: #F08A2C;      /* the one brand color: the thing to press, links, the logo's block */
  --persimmon-bright: #F6A253;
  --persimmon-deep: #D9741A;
  --persimmon-ink: #1C1512;  /* text on a Persimmon fill (7.2:1) */
  --persimmon-soft: rgba(240, 138, 44, 0.14);
  --persimmon-line: rgba(240, 138, 44, 0.45);
  --leaf: #8DBA74;           /* true and checked: done, live, paid */
  --leaf-soft: rgba(141, 186, 116, 0.14);
  --leaf-ink: #10200A;
  --honey: #F2B65A;          /* waiting on someone */
  --danger-red: #F0605A;     /* errors, destructive actions */
  --danger-soft: rgba(240, 96, 90, 0.1);
  --danger-ink: #1E0A09;
  --scrim: rgba(7, 11, 20, 0.74);
  --persimmon-haze: rgba(240, 138, 44, 0.09); /* the one soft light behind the home page's product shot */
  --black: #000;             /* a phone's notch */
  /* Light, for a project's own site shown in a frame or a share image */
  --cream: #F6F0E6;
  --cream-line: #D8CDBC;
  --ink: #1C1512;
  --ink-2: #3A2A1C;
  --hairline: rgba(243, 235, 221, 0.06); /* a 1px edge on something floating */

  --white: #fff;             /* behind a project's own site in a frame; a switch's knob */

  /* The room scene: the wooden table, the chalkboard and the paper board (public/room-art.js). */
  --wood-frame: #6B4A31; --wood-ledge: #7A5638; --wood-1: #5C3E28; --wood-2: #4B321F; --wood-top: #80583A; --wood-edge: #5F3F29;
  --chalk-1: #2B5446; --chalk-2: #1F3F35; --chalk-3: #1A362E; --chalk-ink: #EAF3EE;
  --paper: #EEE7D8; --paper-ink: #26283A; --paper-ink-2: #3A3C52; --paper-line: #B9B2A2; --paper-done: #2FA36B; --paper-faint: #6B6A75;

  /* People's colors in a room. Identity only, never a button. */
  --c-teal: #38D9A9;
  --c-violet: #9775FA;
  --c-orange: #FFA94D;
  --c-pink: #F06595;
  --c-blue: #4DABF7;
  --c-lime: #94D82D;

  /* Type: Inter for everything, tight on the big sizes. One scale. */
  --font: Inter, "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --chalk: "Caveat", "Segoe Print", "Bradley Hand", cursive; /* the room's chalkboard only */
  --t-xs: 12px;    /* timestamps, small labels */
  --t-sm: 13px;    /* secondary text, chips */
  --t-md: 14px;    /* dense UI text */
  --t-base: 15px;  /* body in the app, buttons */
  --t-lg: 16px;    /* inputs (never smaller, or iPhone zooms), lead lines */
  --t-xl: 18px;    /* card titles */
  --t-2xl: 21px;   /* screen titles */
  --t-3xl: 26px;   /* page titles */
  --t-4xl: 32px;   /* big numbers, page titles on desktop */
  --t-5xl: clamp(32px, 4.4vw, 52px);  /* home section headings */
  --t-6xl: clamp(44px, 7.6vw, 92px);  /* the home headline */
  --track-tight: -0.022em;  /* headings */
  --track-display: -0.04em; /* the home headline */

  /* Corners: small and even. Circles stay circles (avatars, dots, round icon buttons). */
  --r-xs: 4px;     /* tags, tiny marks */
  --r-sm: 6px;     /* chips, small controls */
  --r: 8px;        /* buttons, inputs */
  --r-lg: 12px;    /* cards, panels */
  --r-xl: 16px;    /* sheets, the product frame */
  --r-full: 999px; /* dots, switches, avatars */

  /* Space: a 4px grid */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;

  /* Depth: only floating things get a shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--navy-700);
  --shadow-shot: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--hairline);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 160ms;
  --slow: 200ms;
  --reveal: 900ms;

  /* What the app's stylesheets call these (style.css, pricing.css). */
  --bg: var(--night);
  --surface: var(--navy-900);
  --surface-2: var(--navy-800);
  --surface-3: var(--navy-750);
  --border: var(--navy-700);
  --border-strong: var(--navy-600);
  --text: var(--moon);
  --text-2: var(--moon-dim);
  --text-3: var(--moon-faint);
  --accent: var(--persimmon);
  --accent-hover: var(--persimmon-bright);
  --accent-ink: var(--persimmon-ink);
  --accent-soft: var(--navy-750);   /* a selected row or chip: neutral, so Persimmon stays for what to press */
  --accent-line: var(--navy-600);   /* the edge of a selected or highlighted card */
  --tab-pill: var(--navy-700);
  --green: var(--leaf);
  --green-soft: var(--leaf-soft);
  --amber: var(--honey);
  --danger: var(--danger-red);
  --radius: var(--r-lg);
  --radius-sm: var(--r);
  color-scheme: dark;
}
