/* GEODESIC - the launcher's face (design/starters/geodesic/launcher.css). Contract version 1.

   Faceted and crystalline: cut-glass bubbles, polygon cards, a triangulated wall, a hexagonal launcher.

   A STARTER DESIGN (designer-css-plan section 2.6): ours, read-only, loaded and changed and saved as a workspace's own
   design. Written ONLY against the --cv-* tokens and the data-cv-* parts, moments, turns, states and screens of
   design/contract.json - never a class name, never an !important. A design's CSS lands in the cascade layer cv.design (the
   server wraps it; on the go site's stage, Tests/Design/ShotCases.Starters.cs does), so it beats our default bundle
   without a specificity war. url() reaches only this package's own files.

   1. THE TOKENS - on :root of the launcher frame - announced, not built: the frame that will wear this file is P3
      (designer-css-plan 2.8); until then Tests/Design/ShotCases.Starters.cs draws it on a stand-in frame. They equal
      manifest.json's tokens, value for value (Tests/Design/StarterLibraryTests).
   2. THE LOOK - every shape, glow, picture and motion is scoped to the conversation's own screen
      ([data-cv-screen="thread"]). A protected screen (confirm, consent, payment, sign-in) and a protected part (the
      verified note, Powered by, a signature, an action's confirm) take COLOURS ONLY, inside the contrast floor - so when
      the locked layer lands (P1) nothing here has to move. Motion runs only when the reader has not asked for less. */

:root {
  /* reference */
  --cv-color-brand: #0f8f7e;
  --cv-color-ink: #14213d;
  --cv-color-paper: #f4f7fb;
  --cv-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cv-font-display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cv-radius-s: 0px;
  --cv-radius-m: 0px;
  --cv-radius-l: 0px;
  --cv-shadow-1: 0 1px 2px rgba(20, 33, 61, .12);
  --cv-shadow-2: 0 6px 18px rgba(20, 33, 61, .14);
  --cv-shadow-3: 0 24px 60px rgba(20, 33, 61, .2);
  --cv-motion-fast: 120ms;
  --cv-motion-slow: 240ms;
  /* semantic */
  --cv-surface: #ffffff;
  --cv-on-surface: var(--cv-color-ink);
  --cv-accent: #0f8f7e;
  --cv-on-accent: #ffffff;
  --cv-muted: #4a5a78;
  --cv-danger: #b3261e;
  --cv-focus: var(--cv-accent);
  --cv-bubble-me-bg: #0f8f7e;
  --cv-bubble-me-ink: #ffffff;
  --cv-bubble-them-bg: #ffffff;
  --cv-bubble-them-ink: #14213d;
  --cv-field-font-size: 16px;
}

/* ── Geodesic ─────────────────────────────────────────────────────────────────────────────────────── */

/* A hexagon: the launcher (cut on a layer under it, so its badge is never cut), its badge and the teaser's corners. */
[data-cv-part="launcher"] { background: transparent; color: #ffffff; box-shadow: none; isolation: isolate; }
[data-cv-part="launcher"]::before {
  content: ""; position: absolute; inset: -3px; z-index: -1; clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  background: linear-gradient(135deg, #13a894 0 50%, #0f8f7e 50%);
}
[data-cv-part="launcher-badge"] { border-radius: 0; clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); background: #14213d; color: #ffffff; min-width: 24px; }
[data-cv-part="teaser"] { border-radius: 0; clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px); background: #ffffff; color: #14213d; box-shadow: none; border: 0; }
[data-cv-part="teaser-close"] { color: #0f8f7e; }
