/* ---------- Shared by every look ---------- */
/* Shared colour and font tokens: the tool icons' sheen and edge, the live site's brand cards, the toast and the demo switcher.
   Every value is the one the live page uses, only lifted into tokens, so the icons and the cards look exactly as before. */
:root {
  --sw-focus: #1958c5;
  --sw-font-brand: Manrope, system-ui, sans-serif;
  --sw-font-ui: system-ui, sans-serif;
  --sw-font-pick: system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Tool icons */
  /* Brand cards: shadow, then one group per site */
  --sw-card-edge: rgba(20, 32, 43, 0.05);
  --sw-card-drop: rgba(20, 32, 43, 0.35);
  --swd-glow: rgba(204, 152, 116, 0.22); --swd-glow-0: rgba(204, 152, 116, 0); --swd-bg: #0e0a07; --swd-ink: #ffffff; --swd-accent: #cc9874;
  --swd-muted: rgba(252, 250, 246, 0.78); --swd-line: rgba(255, 255, 255, 0.12);
  --lan-glow: rgba(136, 190, 248, 0.35); --lan-glow-0: rgba(136, 190, 248, 0); --lan-bg: #2652bb; --lan-ink: #ffffff;
  --lan-muted: rgba(255, 255, 255, 0.86); --lan-line: rgba(255, 255, 255, 0.18);
  --spa-top: #fdf7ef; --spa-bottom: #f5ede4; --spa-ink: #633b2c; --spa-edge: #eddcc8; --spa-accent: #986a3e; --spa-muted: #525252;
  --sw-soc-face: #ffffff; --sw-soc-drop: rgba(0, 0, 0, 0.45); --sw-visit-drop: rgba(0, 0, 0, 0.5);
  /* Toast */
  --sw-toast-bg: #14202b; --sw-toast-ink: #fff;
  /* Design switcher (demo only) */
  --sw-pick-bg: rgba(20, 24, 31, .92); --sw-pick-ink: #fff; --sw-pick-drop: rgba(10, 20, 40, .5); --sw-pick-dim: rgba(255, 255, 255, .7);
  --sw-pick-coin: rgba(255, 255, 255, .14); --sw-pick-on: #fff; --sw-pick-on-ink: #14181f; --sw-pick-on-coin: #1958c5;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sw-focus); outline-offset: 2px; }

/* Tool icons: each tool's colour (c), glyph colour (g) and one accent (a). Kept from "A, compact". */
.ic { flex: none; display: grid; place-items: center; border-radius: 27%; color: var(--g); background: var(--c); }
.ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic .w { fill: currentColor; stroke: none; }
.ic .a { fill: var(--a); stroke: none; opacity: .55; }
.ic .as { stroke: var(--a); }
.ic .cut { stroke: var(--c); stroke-width: 1.8; }
.ic .bgf { fill: var(--c); stroke: none; }
.ic use { stroke: none; }

/* Websites and social media: the live page's brand cards, unchanged (staff-tools.css). */
.brand { --out: cubic-bezier(0.16, 1, 0.3, 1); position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 22px 22px 18px; border-radius: 16px;
  box-shadow: 0 1px 2px var(--sw-card-edge), 0 12px 28px -22px var(--sw-card-drop); font-family: var(--sw-font-brand); }
.brand-swd { background: radial-gradient(120% 120% at 100% 0%, var(--swd-glow), var(--swd-glow-0) 55%), var(--swd-bg); color: var(--swd-ink); --b-accent: var(--swd-accent); --b-muted: var(--swd-muted); --b-line: var(--swd-line); --b-btn: var(--swd-ink); --b-btn-ink: var(--swd-bg); }
.brand-langley { background: radial-gradient(80% 120% at 100% 100%, var(--lan-glow), var(--lan-glow-0) 60%), var(--lan-bg); color: var(--lan-ink); --b-accent: var(--lan-ink); --b-muted: var(--lan-muted); --b-line: var(--lan-line); --b-btn: var(--lan-ink); --b-btn-ink: var(--lan-bg); }
.brand-spa { background: linear-gradient(180deg, var(--spa-top), var(--spa-bottom)); color: var(--spa-ink); border: 1px solid var(--spa-edge); --b-accent: var(--spa-accent); --b-muted: var(--spa-muted); --b-line: var(--spa-edge); --b-btn: var(--spa-ink); --b-btn-ink: var(--spa-top); }
.brand-mark { display: flex; align-items: center; min-height: 44px; }
.brand-mark img { display: block; max-width: 100%; }
.brand-name { margin: 6px 0 0; font-size: 15px; line-height: 1.3; font-weight: 700; }
.brand-visit { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; align-self: flex-start; overflow: hidden; color: inherit; text-decoration: none; border-radius: 6px; }
.brand-host { font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; color: var(--b-accent); overflow-wrap: anywhere; }
.brand-go { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 6px; padding: 0 12px; border-radius: 8px; background: var(--b-btn); color: var(--b-btn-ink); font-size: 13px; font-weight: 700; }
.brand-go .arr { width: 13px; height: 13px; transition: transform 240ms var(--out); }
.brand-use { margin: 8px 0 0; max-width: 46ch; font-size: 14px; line-height: 1.5; color: var(--b-muted); text-wrap: pretty; }
.soc-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--b-line); }
.soc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 4px 2px; overflow: hidden; border-radius: 10px; color: inherit; text-decoration: none; }
.soc-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sw-soc-face); box-shadow: 0 6px 14px -8px var(--sw-soc-drop); transition: transform 240ms var(--out); }
.soc-btn svg { display: block; }
.soc-label { font-size: 12px; line-height: 1.25; font-weight: 600; text-align: center; color: var(--b-muted); }
@media (hover: hover) and (pointer: fine) {
  .soc:hover .soc-btn { transform: translateY(-3px); }
  .brand-visit:hover .brand-go { box-shadow: 0 8px 18px -10px var(--sw-visit-drop); }
  .brand-visit:hover .arr { transform: translate(2px, -2px); }
}

/* Toast for copied phone numbers and emails */
.toast { position: fixed; z-index: 200; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 8px); opacity: 0; pointer-events: none;
  background: var(--sw-toast-bg); color: var(--sw-toast-ink); font: 600 13px/1.3 var(--sw-font-ui); padding: 9px 14px; border-radius: 10px; transition: opacity .18s, transform .18s; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; user-select: all; }

/* Design switcher (demo only) */
.pick { position: fixed; z-index: 190; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px;
  background: var(--sw-pick-bg); color: var(--sw-pick-ink); font: 600 13px/1 var(--sw-font-pick); box-shadow: 0 10px 30px -10px var(--sw-pick-drop); backdrop-filter: blur(8px); white-space: nowrap; max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; }
.pick a.all { padding: 0 12px; color: var(--sw-pick-dim); font-weight: 500; }
.pick a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px 0 6px; border-radius: 999px; color: var(--sw-pick-ink); }
.pick a i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sw-pick-coin); font-style: normal; font-size: 12px; }
.pick a[aria-current="page"] { background: var(--sw-pick-on); color: var(--sw-pick-on-ink); }
.pick a[aria-current="page"] i { background: var(--sw-pick-on-coin); color: var(--sw-pick-on); }
@media (max-width: 480px) { .pick a.all { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
