/* landing-page: the public pages' own tokens (M21, DEC-008). Every value the page's sheet needs that the
   portal's tokens.css does not already name lives here, once. Rules live in landing-page.css. The values are
   the approved board's (canvas Main.dc.html); a number in a name is the board's pixel value. */
:root {
  --lp-plain-max: 640px;      /* the plain pages' column: the dialog's width on the board */
  --lp-logo-w: 180px;         /* the full logo in the plain pages' header */
  --lp-title-size: 26px;      /* the dialog's and the plain page's title (board: 26px / 800) */
  --lp-title-weight: 800;
  --lp-sent-size: 20px;       /* "Enquiry sent." (board: 20px / 800) */
  --lp-tile: 48px;            /* the confirmation's tick tile */

  /* Type: the sizes the portal's --text-* scale (12, 13, 15, 17, 20) does not hold */
  --lp-text-14: 14px;
  --lp-text-16: 16px;
  --lp-text-18: 18px;
  --lp-text-22: 22px;
  --lp-text-24: 24px;
  --lp-text-h1: clamp(40px, 5.4vw, 72px);
  --lp-text-h2: clamp(30px, 3.4vw, 44px);
  --lp-text-h2-panel: clamp(28px, 2.9vw, 38px);
  --lp-text-lead: clamp(17px, 1.4vw, 19px);

  /* Spacing: the steps the portal's --space-* scale (4, 8, 12, 16, 22, 28, 36, 44, 48, 64) does not hold */
  --lp-space-2: 2px;
  --lp-space-6: 6px;
  --lp-space-10: 10px;
  --lp-space-14: 14px;
  --lp-space-18: 18px;
  --lp-space-20: 20px;
  --lp-space-24: 24px;
  --lp-space-26: 26px;
  --lp-space-30: 30px;
  --lp-space-32: 32px;
  --lp-space-40: 40px;
  --lp-space-56: 56px;
  --lp-space-72: 72px;
  --lp-space-96: 96px;
  --lp-pull-12: -12px;        /* a role card's benefit sits 6 px under its name, inside the card's 18 px gap */
  --lp-pull-14: -14px;        /* the dialog's lead line sits 6 px under its 30 px title, in a head 44 px tall */
  --lp-pull-28: -28px;      /* the map leans out of the dark panel above 980 px */
  --lp-pull-36: -36px;
  --lp-pad-panel: clamp(32px, 6vw, 72px);   /* the dark coverage panel */
  --lp-pad-close: clamp(40px, 7vw, 88px);   /* the closing call, top and bottom */
  --lp-header-offset: 96px;   /* a section's scroll margin: the floating header (12 + 62) plus one step */

  /* Radius: beyond the portal's --radius-* (4 to 16, pill) */
  --lp-r-14: 14px;
  --lp-r-18: 18px;
  --lp-r-24: 24px;
  --lp-r-26: 26px;
  --lp-r-28: 28px;            /* the enquiry dialog's panel (24 at 480 px and narrower) */
  --lp-r-32: 32px;
  --lp-r-36: 36px;

  /* Logo widths (board: 168 in the header, 140 at 480 px and narrower, 150 in the footer) */
  --lp-logo-bar: 168px;
  --lp-logo-xs: 140px;
  --lp-logo-foot: 150px;

  /* Glass (AC36). Solid is what every browser gets; the tint is used only with backdrop-filter.
     Text on the tint: the page's lightest text on glass is --fg-3 (#4A524D). Over the darkest thing behind a
     glass surface, the coverage panel (--enroute-ink-900), the tint composes to rgb(211, 211, 211): 5.4:1.
     Over white it is 7.9:1. The board's 0.72 gave 4.2:1 over the dark panel, so the alpha is 0.82. */
  --lp-glass-solid: #FFFFFF;
  --lp-glass-tint: rgba(255, 255, 255, 0.82);
  --lp-glass-edge: rgba(255, 255, 255, 0.82);
  --lp-glass-blur: 18px;      /* under 20 px, never animated */
  --lp-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 0 rgba(10, 13, 11, 0.04), 0 20px 44px -20px rgba(10, 13, 11, 0.24);

  /* Rings and washes */
  --lp-ring: inset 0 0 0 1px var(--border-1);
  --lp-card-shadow: inset 0 0 0 1px var(--border-1), var(--shadow-card);
  --lp-step-shadow: var(--shadow-md), inset 0 0 0 1px var(--border-1);
  --lp-wash: rgba(10, 13, 11, 0.06);            /* hover on a header or menu link */
  --lp-wash-soft: rgba(10, 13, 11, 0.04);       /* hover on a step button */
  --lp-on-ink-bg: rgba(255, 255, 255, 0.1);     /* the outline button on the dark panel */
  --lp-on-ink-bg-hover: rgba(255, 255, 255, 0.18);
  --lp-on-ink-ring: inset 0 0 0 1px rgba(255, 255, 255, 0.22);

  /* Route line placing: the framework draws the node (22 px) and the truck (26 px); the page places them */
  --lp-node: 22px;
  --lp-node-half: 11px;
  --lp-truck-half: 13px;
  --lp-truck-ring: 0 0 0 3px var(--bg-paper), 0 4px 10px -2px rgba(0, 170, 61, 0.5);

  /* The three roles (AC15, C24): tile background and icon colour */
  --lp-role-client-bg: var(--enroute-amber-100);
  --lp-role-client-fg: var(--enroute-amber-800);
  --lp-role-transporter-bg: var(--enroute-violet-100);
  --lp-role-transporter-fg: var(--enroute-violet-700);
  --lp-role-supplier-bg: var(--enroute-ink-100);
  --lp-role-supplier-fg: var(--enroute-ink-700);

  /* The coverage map */
  --lp-map-tint: linear-gradient(150deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.56));
  --lp-map-shadow: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.42));
  --lp-map-rim: rgba(255, 255, 255, 0.92);
  --lp-map-line: rgba(10, 13, 11, 0.3);         /* province lines, drawn on the tint */
  --lp-gantry-ring: 0 0 0 2px var(--fg-on-ink), 0 1px 5px 2px rgba(10, 13, 11, 0.35);
  --lp-pulse-from: 0 0 0 2px rgba(0, 147, 53, 0.6);
  --lp-pulse-to: 0 0 0 14px rgba(0, 147, 53, 0);
}
