/* Secret Share v1 — design tokens.
   Values come from the Social Edge brand package; values marked "derived" fill gaps the
   brand doesn't define (see HANDOFF.md, Visual system). */
:root {
  /* Surfaces */
  --bg-page: #F8F8F8;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F4F4F4;
  --bg-info: #F4F6FC;
  --wash: linear-gradient(115deg, #C7DEFB 0%, #F9FAFE 48%, #C9D9F3 100%); /* S01 only */
  --band: #2730CC;                 /* recipient and help band, email rule */
  --band-text-sub: #DDE4FF;
  --scrim: rgba(6, 57, 91, .45);
  --scrim-panel: rgba(6, 57, 91, .35);

  /* Borders */
  --border-subtle: #E0E0E0;
  --border-row: #F0F0F0;
  --border-input: #C6C6C6;
  --border-value: #DDE4FF;

  /* Text */
  --text-display: #140081;        /* hero headlines, link and secret values */
  --text-heading: #21272A;
  --text-strong: #333333;
  --text-body: #4D5358;
  --text-muted: #697077;
  --text-disabled: #8D9298;
  --text-lockup: #06395B;          /* "Secret Share" next to the logo */
  --eyebrow: #4F52FF;

  /* Actions */
  --action: #0F62FE;
  --action-hover: #0043CE;         /* also secondary-button text in production */
  --action-press: #002D9C;
  --action-busy: #8DA4FF;          /* derived */
  --action-soft: #EFF2FD;
  --action-soft-hover: #DDE4FF;
  --danger: #A1261B;               /* derived */
  --danger-hover: #8E1F16;         /* derived */
  --danger-soft: #FDECEA;          /* derived */
  --danger-busy: #D98C84;          /* derived */

  /* Status badges (derived; always text plus icon) */
  --status-pending-bg: #E5EDFF;  --status-pending-fg: #0043CE;
  --status-redeemed-bg: #E3F4EA; --status-redeemed-fg: #0B6B3A;
  --status-revoked-bg: #FDECEA;  --status-revoked-fg: #A1261B;
  --status-expired-bg: #F0F0F0;  --status-expired-fg: #4D5358;

  /* Callouts (derived; no coloured left-border bars) */
  --callout-info-bg: #F4F6FC;    --callout-info-fg: #140081;
  --callout-warn-bg: #FFF6E5;    --callout-warn-fg: #5C3D00;  --callout-warn-border: #F2CF8C;  --callout-warn-icon: #8A5A00;
  --callout-error-bg: #FDECEA;   --callout-error-fg: #7A1C14;
  --callout-success-bg: #E3F4EA; --callout-success-fg: #0B6B3A;
  --callout-neutral-bg: #F4F4F4; --callout-neutral-fg: #21272A;
  --selection-value: #B8CCFF;

  /* Type */
  --font-sans: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Shape */
  --radius-sm: 8px;    /* inputs, options, value boxes */
  --radius-md: 12px;   /* callouts, small cards, table */
  --radius-lg: 20px;   /* large cards, dialogs, S01 card */
  --radius-pill: 999px;

  /* Elevation (navy-tinted) */
  --shadow-sm: 0 2px 8px rgba(6, 57, 91, .07);
  --shadow-md: 0 8px 24px rgba(6, 57, 91, .09);
  --shadow-lg: 0 18px 48px rgba(6, 57, 91, .12);
  --shadow-dialog: 0 18px 48px rgba(6, 57, 91, .2);
  --shadow-reveal: 0 14px 32px rgba(15, 98, 254, .22);

  /* Focus and motion */
  --focus-ring: 0 0 0 3px rgba(1, 176, 240, .45);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --duration-fast: 120ms;

  /* Layout */
  --gutter-desktop: 40px;
  --gutter-phone-employee: 16px;
  --gutter-phone-recipient: 24px;
  --width-wide: 1200px;   /* S02, S03 */
  --width-detail: 960px;  /* S05 */
  --width-ready: 800px;   /* S04 */
  --bp-phone: 767px;      /* documentation only: media queries use max-width: 767px */
}
