/* TardiGREATS meeting page (public/meet/index.html).
   The page wears the website's look (cream, ink, Bricolage Grotesque + Nunito Sans, sticker cards).
   The Visual Suspect Meetings widget is restyled the way its kit allows (option B):
   - the --vsm-* variables on .vsm-root (the widget sets its own inside @layer vsm, so these win), and
   - a few of its classes through #tg-meet, a selector stronger than its own. No !important.
   Every text colour pair below is 4.5:1 or more (checked 2026-10-22). */

:root {
  --tg-cream: #FBF7F0;
  --tg-ink: #16223A;
  --tg-body: #4A5368;
  --tg-line: #E6DCCB;
  --tg-orange: #FF8A3D;
  --tg-orange-text: #B4501F;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--tg-cream);
  color: var(--tg-ink);
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ── Page chrome ── */
.tgm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 40px);
}
.tgm-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1; }
.tgm-logo__word { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.04em; }
.tgm-logo__tiles { display: inline-flex; gap: 3px; }
.tgm-logo__tiles span {
  width: 24px; height: 29px; border-radius: 6px; display: grid; place-items: center;
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 18px;
}
.tgm-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 2px solid var(--tg-ink); border-radius: 999px;
  font-weight: 800; font-size: 15px; text-decoration: none;
}
.tgm-back:hover { background: #fff; }
.tgm-back:focus-visible, .tgm-foot a:focus-visible, .tgm-logo:focus-visible { outline: 3px solid var(--tg-orange-text); outline-offset: 3px; }

.tgm-main { max-width: 1180px; margin: 0 auto; padding: clamp(12px, 3vw, 32px) clamp(16px, 4vw, 40px) 48px; }
.tgm-intro { display: flex; flex-direction: column; gap: 10px; margin: 0 0 28px; max-width: 760px; }
.tgm-eyebrow { margin: 0; font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tg-orange-text); }
.tgm-title {
  margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(38px, 5.4vw, 64px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance;
}
.tgm-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--tg-body); max-width: 620px; }

/* The card the widget lives in (the website's sticker card). */
.tgm-card {
  border: 3px solid var(--tg-ink);
  border-radius: 28px;
  box-shadow: 0 8px 0 var(--tg-ink);
  background: #fff;
  overflow: hidden;
  min-height: 240px;
}

.tgm-fallback { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 560px; padding: 48px clamp(20px, 4vw, 40px) 56px; }
.tgm-fallback__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #FFE3C4; color: var(--tg-orange-text); }
.tgm-fallback__title { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; }
.tgm-fallback__text { margin: 0; padding: 0; font-size: 16px; line-height: 1.55; color: var(--tg-body); }
.tgm-card > noscript > .tgm-fallback__text { display: block; padding: 40px; }

.tgm-foot {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 40px) 40px;
  font-size: 14px; font-weight: 700; color: var(--tg-body);
}
.tgm-foot a { text-decoration: none; }
.tgm-foot a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .tgm-logo__word { font-size: 22px; }
  .tgm-logo__tiles span { width: 20px; height: 25px; font-size: 15px; border-radius: 5px; }
  .tgm-back { padding: 8px 14px; font-size: 14px; }
  .tgm-back__more { display: none; }
  .tgm-card { border-radius: 22px; }
}

/* ── The Meetings widget: the TardiGREATS look ──
   ground = the card, surface = cream panels (preview, inputs, notes), raised = the line colour.
   accent is the text-safe orange (links, focus, the agree box); the primary button gets the site's
   bright orange call-to-action below. */
#tg-meet .vsm-root {
  --vsm-accent: #B4501F;
  --vsm-on-accent: #FFFFFF;
  --vsm-ground: #FFFFFF;
  --vsm-surface: #FBF7F0;
  --vsm-raised: #E9E0D2;
  --vsm-ink: #16223A;
  --vsm-muted: #4A5368;
  --vsm-success: #1F7A44;
  --vsm-danger: #C23A46;
  --vsm-recording: #C23A46;
  --vsm-radius: 14px;
  --vsm-tile-radius: 18px;
  --vsm-gap: 12px;
  --vsm-font-heading: 'Bricolage Grotesque', 'Nunito Sans', system-ui, sans-serif;
  --vsm-font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --vsm-logo-height: 28px;
}

#tg-meet .vsm-root .vsm-title { font-weight: 800; letter-spacing: -0.025em; }
#tg-meet .vsm-root .vsm-brand__name { font-family: var(--vsm-font-body); font-weight: 800; }
#tg-meet .vsm-root .vsm-btn { border-radius: 999px; font-weight: 800; }
#tg-meet .vsm-root .vsm-btn--icon { border-radius: 999px; }
#tg-meet .vsm-root .vsm-btn--primary {
  background: #FF8A3D;
  color: #16223A;
  box-shadow: 0 4px 0 #16223A;
  border: 2px solid #16223A;
}
#tg-meet .vsm-root .vsm-btn--primary:hover:not([disabled]) { background: #FFA766; }
#tg-meet .vsm-root .vsm-btn--primary[disabled] { box-shadow: none; }
#tg-meet .vsm-root .vsm-field input,
#tg-meet .vsm-root .vsm-field select { box-shadow: inset 0 0 0 2px var(--vsm-raised); }
#tg-meet .vsm-root .vsm-field input:focus-visible,
#tg-meet .vsm-root .vsm-field select:focus-visible { box-shadow: inset 0 0 0 2px var(--vsm-accent); }
#tg-meet .vsm-root .vsm-field__label { font-weight: 700; color: var(--vsm-ink); }
#tg-meet .vsm-root .vsm-consent__title { font-weight: 800; }
