/* =========================================================================
   Zyga marketing site — component layer
   Built entirely on the design-system tokens in
   design-system/colors_and_type.css (the contract). No raw brand hex here —
   only tokens, plus a couple of documented on-brand constants.

   Mirrors the reference UI kit (ui_kits/site). Edit freely to iterate: the
   look & feel stays consistent because every value flows from a token.
   ========================================================================= */

/* ---- On-brand constants not (yet) in the token file ------------------- */
:root {
  --warm-deep:      var(--color-brand-warm-deep);   /* #8a4a3c — readable warm text */
  --tag-text:       #7a3a4a;   /* deep mauve text on --color-tag-bg chips */
  --action-border:  #c8d8f3;   /* soft blue border for action-bg surfaces */
  --linkedin:       #0a66c2;
  --site-max:       1200px;
  --nav-blur:       saturate(180%) blur(8px);
}

/* ---- Reset & base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-md);            /* site body 16px */
  line-height: var(--lh-normal);
  color: var(--color-text-primary);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }
::selection { background: var(--color-action-bg); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--color-border-hover); border-radius: var(--radius-full); }

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

/* ---- Layout ------------------------------------------------------------ */
.container { max-width: var(--site-max); margin-inline: auto; }
.section { padding: 96px 32px; }
.section--tight-top { padding-top: 0; }

.hl { color: var(--warm-deep); font-style: normal; }   /* decorative keyword highlight — warm, never blue */

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: var(--fw-medium);
  border: 0; border-radius: var(--radius-lg);
  cursor: pointer; white-space: nowrap;
  transition: background .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn svg { width: 14px; height: 14px; }

/* sizes */
.btn--sm { font-size: 12px; padding: 8px 14px; }
.btn--md { font-size: 13px; padding: 10px 18px; }
.btn--lg { font-size: 14px; padding: 12px 22px; }

/* variants */
.btn--primary { background: var(--color-action); color: var(--color-text-inverse); }
.btn--primary:hover { background: var(--color-action-hover); }
.btn--primary:active { background: var(--color-action-active); }
.btn--ghost { background: transparent; color: var(--color-text-primary); border: 0.5px solid var(--color-border); }
.btn--ghost:hover { background: var(--color-surface-hover); }
.btn--inverse { background: var(--color-surface); color: var(--color-text-primary); }
.btn--dark { background: var(--color-ink); color: var(--color-text-inverse); }
.btn--pill { border-radius: var(--radius-full); }

/* ---- Header / pill nav ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 20px 24px;
  display: flex; justify-content: center;
}
.nav-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 14px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: var(--nav-blur);
  backdrop-filter: var(--nav-blur);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.nav-pill__logo { display: flex; align-items: center; }
.nav-pill__logo img { height: 22px; width: auto; }
.nav-divider { width: 1px; height: 16px; background: var(--color-border); flex: none; }
.nav-links { display: flex; gap: 10px; }
.nav-link {
  font-size: 13px; font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  padding: 6px 12px; border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background .12s, color .12s;
}
.nav-link:hover { background: var(--color-surface-hover); color: var(--color-text-primary); }
.nav-link.is-active { color: var(--color-text-primary); background: var(--color-surface-hover); }

.nav-toggle { display: none; }

/* ---- Nav dropdown (shared: Services menu) ------------------------------
   A hover/focus/click flyout used in the flowbar nav. The trigger reuses
   .nav-link styling; the panel is token-built with a transparent hover
   bridge (.nav-dropdown padding-top) so the pointer never falls into a gap. */
.nav-item { position: relative; display: flex; }
.nav-item__trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: 0; cursor: pointer; font-family: inherit;
}
.nav-item__trigger svg { width: 11px; height: 11px; transition: transform .18s ease; }
.nav-item:hover .nav-item__trigger,
.nav-item.is-open .nav-item__trigger { background: var(--color-surface-hover); color: var(--color-text-primary); }
.nav-item:hover .nav-item__trigger svg,
.nav-item.is-open .nav-item__trigger svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;               /* transparent hover bridge */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, visibility .16s;
  z-index: 60;
}
.nav-dropdown__card {
  width: 300px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 6px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transform: translateY(4px);
  transition: transform .16s ease;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-item:hover .nav-dropdown__card,
.nav-item:focus-within .nav-dropdown__card,
.nav-item.is-open .nav-dropdown__card { transform: translateY(0); }

.nav-dropdown__link {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  transition: background .12s ease;
}
.nav-dropdown__link:hover { background: var(--color-surface-hover); }
.nav-dropdown__ic {
  flex: none; width: 30px; height: 30px; border-radius: var(--radius-lg);
  background: var(--color-brand-warm-bg); color: var(--warm-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-dropdown__ic svg { width: 16px; height: 16px; }
.nav-dropdown__title { font-size: 13.5px; font-weight: var(--fw-semibold); color: var(--color-text-primary); }
.nav-dropdown__desc { display: block; font-size: 12px; line-height: 1.4; color: var(--color-text-secondary); margin-top: 2px; }

/* mobile kebab menu: a small section label above the grouped service links */
.flowbar__menu-label {
  font-size: 10px; font-weight: var(--fw-semibold);
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-text-muted);
  padding: 10px 12px 4px;
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--color-bg-page);
  color: var(--color-text-primary);
  padding: 80px 32px 112px;
  text-align: center;
  border-bottom: 0.5px solid var(--color-border);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 0%, rgba(228, 168, 154, 0.28), transparent 70%);
}
.hero__wash {
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(247, 236, 240, 0.6));
}
.hero__inner {
  position: relative; max-width: 900px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.hero h1 {
  font-size: 60px; line-height: 1.05; letter-spacing: -0.025em;
  font-weight: var(--fw-bold); max-width: 820px;
}
.hero__sub {
  font-size: var(--fs-lg); color: var(--color-text-secondary);
  max-width: 580px; line-height: 1.55;
}

/* eyebrow badge pill */
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 6px 5px 14px; border-radius: var(--radius-full);
  background: var(--color-surface); border: 0.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  font-size: 12px; color: var(--color-text-secondary); font-weight: var(--fw-medium);
  white-space: nowrap;
}
.badge-pill__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: var(--radius-full);
  background: var(--color-brand-warm);
  font-size: 12px; font-weight: var(--fw-bold); color: var(--color-ink);
}
.badge-pill__ai { color: var(--warm-deep); font-weight: var(--fw-semibold); }

/* email capture */
.email-capture {
  margin-top: 8px;
  display: flex; gap: 6px; align-items: center;
  background: var(--color-surface); padding: 6px; border-radius: var(--radius-full);
  border: 0.5px solid var(--color-border); box-shadow: var(--shadow-md);
  min-width: 460px;
}
.email-capture__field { display: flex; align-items: center; gap: 8px; padding: 0 14px; flex: 1; }
.email-capture__field svg { width: 16px; height: 16px; color: var(--color-text-muted); }
.email-capture input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: var(--color-text-primary); font-family: inherit;
  font-size: 14px; padding: 10px 0;
}
.email-capture input::placeholder { color: var(--color-text-muted); }

/* social proof */
.social-proof {
  display: flex; gap: 24px; align-items: center; margin-top: 8px;
  font-size: 13px; color: var(--color-text-muted);
}
.social-proof strong { color: var(--color-text-primary); font-variant-numeric: tabular-nums; }
.social-proof .dot { color: var(--color-border); }

/* ---- Section header (label + H2) -------------------------------------- */
.section-header {
  display: grid; grid-template-columns: 1fr 2fr; gap: 32px;
  align-items: end; margin-bottom: 48px;
}
.section-header h2 {
  font-size: 36px; font-weight: var(--fw-bold);
  line-height: 1.15; letter-spacing: -0.015em;
}
.section-header--plain { display: block; margin-bottom: 64px; }
.section-header--plain h2 { max-width: none; }

.eyebrow {
  display: inline-block; padding: 4px 10px;
  background: var(--color-tag-bg); color: var(--tag-text);
  font-size: 11px; font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ---- Bento cards ------------------------------------------------------- */
.bento { display: flex; gap: 16px; flex-wrap: wrap; }
.bento-card {
  flex: 1; min-width: 0;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.bento-card--wide { flex: 2; }
.bento-card--accent { border-color: var(--color-brand-warm-soft); }
.bento-card__icon {
  width: 36px; height: 36px; border-radius: var(--radius-lg);
  background: var(--color-surface-hover); color: var(--color-text-secondary);
  display: inline-flex; align-items: center; justify-content: center;
}
.bento-card__icon svg { width: 18px; height: 18px; }
.bento-card--accent .bento-card__icon { background: var(--color-action-bg); color: var(--color-action); }
.bento-card h3 { margin-top: 4px; font-size: var(--fs-h4); font-weight: var(--fw-semibold); letter-spacing: -0.005em; }
.bento-card__body { font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); }

/* ---- Mockup primitives (inside bento cards) --------------------------- */
.mock { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.mock--split { flex-direction: row; gap: 16px; }
.mock__col { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mock__label {
  font-size: 11px; font-weight: var(--fw-semibold);
  color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em;
}

/* lead rows */
.lead-row {
  display: flex; flex-direction: column; gap: 8px; padding: 12px;
  background: var(--color-bg-canvas); border: 0.5px solid var(--color-border);
  border-radius: 10px;
}
.lead-row--hl { background: var(--color-brand-warm-bg); border-color: var(--color-brand-warm-soft); }
.lead-row__head { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 26px; height: 26px; border-radius: var(--radius-full);
  background: var(--color-brand-warm); color: #fff;
  font-size: 12px; font-weight: var(--fw-semibold);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.avatar--muted { background: var(--color-surface-hover); color: var(--color-text-secondary); }
.avatar--action { background: var(--color-action); }
.avatar--sq { border-radius: var(--radius-md); }
.lead-row__name { font-size: 14px; font-weight: var(--fw-medium); }
.lead-row__icp { margin-left: auto; font-size: 11px; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.prio {
  font-size: 10px; font-weight: var(--fw-semibold);
  padding: 2px 7px; border-radius: var(--radius-full);
  background: var(--color-ink); color: #fff;
}
.prio--muted { background: var(--color-surface-hover); color: var(--color-text-secondary); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-weight: var(--fw-medium);
  background: var(--color-tag-bg); color: var(--tag-text);
  padding: 2px 8px; border-radius: var(--radius-md);
}
.chip-neutral {
  font-size: 11px; font-weight: var(--fw-medium);
  background: var(--color-surface-hover); color: var(--color-text-secondary);
  padding: 3px 9px; border-radius: var(--radius-md);
}

/* contact rows */
.contact-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  background: var(--color-bg-canvas); border: 0.5px solid var(--color-border);
  border-radius: 10px;
}
.contact-row--new { background: var(--color-action-bg); border-color: var(--action-border); }
.contact-row__meta { display: flex; flex-direction: column; line-height: 1.25; }
.contact-row__meta .name { font-size: 13px; font-weight: var(--fw-medium); }
.contact-row__meta .role { font-size: 11px; color: var(--color-text-secondary); }
.tag-new { margin-left: auto; font-size: 10px; color: var(--color-action); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.05em; }

.verified-list { margin-left: 36px; margin-top: 4px; display: flex; flex-direction: column; gap: 6px; }
.verified-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-text-secondary); }
.verified-item__icon {
  width: 20px; height: 20px; border-radius: var(--radius-md);
  background: var(--color-surface-hover); color: var(--color-text-secondary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: var(--fw-semibold);
}
.verified-item__value { flex: 1; color: var(--color-text-primary); }
.check {
  width: 16px; height: 16px; border-radius: var(--radius-full);
  background: var(--color-success-bg); color: var(--color-success-text);
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: var(--fw-bold); flex: none;
}

/* voice / message mockups */
.voice-quote {
  padding: 14px; border-radius: 10px;
  background: var(--color-brand-warm-bg); border: 0.5px solid var(--color-brand-warm-soft);
}
.voice-quote p { font-size: 13px; line-height: 1.5; color: var(--color-text-primary); }
.voice-quote__tag { margin-top: 10px; font-size: 11px; color: var(--warm-deep); font-weight: var(--fw-semibold); }

.msg-bubble { border-radius: 10px; padding: 12px; font-size: 13px; }
.msg-bubble--in { background: var(--color-bg-canvas); border: 0.5px solid var(--color-border); }
.msg-bubble--ai { background: var(--color-action-bg); border: 0.5px solid var(--action-border); color: var(--color-text-primary); }
.msg-bubble--ai .spark { color: var(--color-action); font-weight: var(--fw-semibold); margin-right: 6px; }

.adapt-panel { flex: 1; background: var(--color-bg-canvas); border: 0.5px solid var(--color-border); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.adapt-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-text-primary); }
.status-dot {
  width: 16px; height: 16px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: var(--fw-bold); flex: none;
  background: var(--color-success-bg); color: var(--color-success-text);
}
.status-dot--warning { background: var(--color-warning-bg); color: var(--color-warning-text); }

.channel-row { display: flex; gap: 8px; margin-top: 4px; }
.channel-chip { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--color-text-secondary); }
.channel-chip__mark {
  width: 18px; height: 18px; border-radius: var(--radius-sm);
  background: var(--color-surface-hover); color: var(--color-text-secondary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: var(--fw-bold);
}
.channel-chip__mark--linkedin { background: var(--linkedin); color: #fff; }
.channel-chip strong { font-weight: var(--fw-medium); color: var(--color-text-primary); }

/* signal bars + decision rows */
.signal-row { display: flex; align-items: center; gap: 10px; }
.signal-row__label { font-size: 12px; color: var(--color-text-primary); font-weight: var(--fw-medium); min-width: 80px; }
.bar { flex: 1; height: 6px; background: var(--color-surface-hover); border-radius: var(--radius-full); }
.bar__fill { height: 100%; border-radius: var(--radius-full); background: var(--color-action); }
.bar__fill--warm { background: var(--color-brand-warm); }
.bar__fill--hot { background: var(--color-danger); }
.badge-danger { font-size: 10px; font-weight: var(--fw-semibold); padding: 2px 7px; background: var(--color-danger-bg); color: var(--color-danger-text); border-radius: var(--radius-md); }

.decision-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  background: var(--color-bg-canvas); border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg); font-size: 12px;
}
.decision-row--hl { background: var(--color-brand-warm-bg); border-color: var(--color-brand-warm-soft); }
.decision-row__level { font-weight: var(--fw-semibold); color: var(--color-text-secondary); min-width: 60px; }

/* multi-thread */
.thread-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--color-bg-canvas); border: 0.5px solid var(--color-border); border-radius: 10px; }
.thread-card__head { display: flex; align-items: center; gap: 10px; }
.thread-card__count { margin-left: auto; font-size: 11px; color: var(--color-text-muted); }
.thread-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.thread-row__role { color: var(--color-text-secondary); min-width: 80px; }
.thread-row__status { margin-left: auto; font-size: 11px; font-weight: var(--fw-semibold); }
.status-success { color: var(--color-success-text); }
.status-warning { color: var(--color-warning-text); }
.status-neutral { color: var(--color-text-secondary); }
.ai-note { padding: 10px 12px; background: var(--color-action-bg); border-radius: var(--radius-lg); font-size: 12px; color: var(--color-info-text); }
.ai-note strong { font-weight: var(--fw-semibold); }

/* ---- Human control tabs ----------------------------------------------- */
.control-section { background: var(--color-bg-blush); padding: 104px 32px 128px; }
.control-section h2 { font-size: 36px; font-weight: var(--fw-bold); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 64px; }
.control-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; }
.control-tabs { display: flex; flex-direction: column; gap: 2px; }
.control-tab {
  position: relative; text-align: left; padding: 12px 14px;
  font-size: 14px; font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  background: transparent; border: 0.5px solid transparent; border-radius: 10px;
  cursor: pointer; transition: background .12s, border-color .12s;
}
.control-tab.is-active {
  font-weight: var(--fw-semibold); color: var(--color-text-primary);
  background: var(--color-surface); border-color: var(--color-border);
}
.control-tab.is-active::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 2px; background: var(--color-action); border-radius: 2px;
}
.control-panel { display: none; }
.control-panel.is-active { display: block; }
.tab-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.tab-layout h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); letter-spacing: -0.01em; }
.tab-layout__body { margin: 12px 0 18px; font-size: var(--fs-base); line-height: 1.55; color: var(--color-text-secondary); }
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-primary); }
.feature-list .check { background: var(--color-surface-hover); color: var(--color-text-secondary); }

/* audit dark panel */
.panel-dark { background: var(--color-ink); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.panel-dark__label { font-size: 11px; font-weight: var(--fw-semibold); color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 0.06em; }
.reason-card { background: rgba(255,255,255,.05); border: 0.5px solid rgba(255,255,255,.08); border-radius: 10px; padding: 12px; display: flex; gap: 10px; }
.reason-card__who { width: 24px; height: 24px; border-radius: var(--radius-md); background: rgba(228,168,154,.18); color: var(--color-brand-warm); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: var(--fw-bold); flex: none; }
.reason-card p { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.88); }
.reason-card__when { font-size: 11px; color: rgba(255,255,255,.4); }

/* light visual panels */
.panel-light { background: var(--color-surface); border: 0.5px solid var(--color-border); border-radius: 14px; padding: 18px; }
.panel-light__label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: var(--fw-semibold); color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.sim-thread { display: flex; flex-direction: column; gap: 10px; }
.sim-bubble { max-width: 85%; border-radius: 10px; padding: 10px 12px; }
.sim-bubble--out { align-self: flex-start; background: var(--color-action-bg); border: 0.5px solid var(--action-border); }
.sim-bubble--in { align-self: flex-end; background: var(--color-brand-warm-bg); border: 0.5px solid var(--color-brand-warm-soft); }
.sim-bubble__label { font-size: 10px; font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.sim-bubble--out .sim-bubble__label { color: var(--color-info-text); }
.sim-bubble--in .sim-bubble__label { color: var(--warm-deep); }
.sim-bubble p { font-size: 13px; color: var(--color-text-primary); }
.sim-foot { margin-top: 14px; padding: 8px 12px; background: var(--color-bg-canvas); border: 0.5px solid var(--color-border); border-radius: var(--radius-lg); font-size: 12px; color: var(--color-text-secondary); }

.approval-row { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--color-bg-canvas); border: 0.5px solid var(--color-border); border-radius: 10px; }
.approval-row__title { font-size: 13px; font-weight: var(--fw-medium); color: var(--color-text-primary); }
.approval-row__kind { font-size: 11px; color: var(--color-text-secondary); }

.instruct-input { display: flex; gap: 8px; margin-top: 6px; }
.instruct-input input { flex: 1; padding: 10px 12px; border-radius: var(--radius-lg); border: 0.5px solid var(--color-border); background: var(--color-surface); font-size: 13px; font-family: inherit; outline: none; }
.bubble-line { display: flex; gap: 10px; }
.bubble-line__who { width: 26px; height: 26px; border-radius: var(--radius-md); color: #fff; font-size: 11px; font-weight: var(--fw-semibold); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bubble-line__who--warm { background: var(--color-brand-warm); }
.bubble-line__who--action { background: var(--color-action); }
.bubble-line__text { flex: 1; font-size: 13px; line-height: 1.5; color: var(--color-text-primary); }

/* ---- Comparison cards -------------------------------------------------- */
.comp-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; }
.comp-card {
  background: var(--color-surface); border: 0.5px solid var(--color-border);
  border-radius: var(--radius-2xl); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  color: var(--color-text-primary);
}
.comp-card--dark { background: var(--color-ink); border-color: transparent; color: #fff; }
.comp-card__label {
  align-self: flex-start; padding: 3px 9px; border-radius: var(--radius-md);
  background: var(--color-surface-hover); color: var(--color-text-secondary);
  font-size: 10px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.06em;
}
.comp-card--dark .comp-card__label { background: var(--color-brand-warm); color: var(--color-ink); }
.comp-card h3 { margin-top: 4px; font-size: 22px; font-weight: var(--fw-semibold); letter-spacing: -0.005em; }
.comp-card__tools { font-size: 12px; color: var(--color-text-muted); font-weight: var(--fw-medium); }
.comp-card--dark .comp-card__tools { color: rgba(255,255,255,.6); }
.comp-list { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.comp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.comp-list .dash { width: 16px; height: 16px; color: var(--color-text-muted); font-size: 12px; margin-top: 2px; flex: none; }
.comp-list .check-pos { width: 18px; height: 18px; border-radius: var(--radius-full); background: rgba(125,225,196,.18); color: var(--color-kpi-mint-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: var(--fw-bold); flex: none; margin-top: 1px; }
.comp-card--dark .comp-list li { color: rgba(255,255,255,.92); }
.comp-card__cta { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--color-brand-warm); font-size: 13px; font-weight: var(--fw-medium); }

/* ---- Audience grid ----------------------------------------------------- */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience-card {
  background: var(--color-bg-page); border: 0.5px solid var(--color-border);
  border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.audience-card__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius-lg);
  background: var(--color-brand-warm-bg); color: var(--warm-deep);
  font-size: 14px; font-weight: var(--fw-bold);
}
.audience-card h4 { font-size: 17px; font-weight: var(--fw-semibold); }
.audience-card p { font-size: 13px; line-height: 1.55; color: var(--color-text-secondary); }

/* ---- Final CTA ---------------------------------------------------------
   Light warm closing band — deliberately not dark, so it reads distinctly
   above the dark footer. Warm glow + top border give it presence. */
.final-cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(58% 60% at 50% 0%, rgba(228, 168, 154, 0.30), transparent 70%),
    var(--color-bg-blush);
  color: var(--color-text-primary);
  padding: 96px 32px 112px; text-align: center;
  border-top: 0.5px solid var(--color-border);
}
.final-cta__inner { position: relative; max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final-cta h2 { font-size: var(--fs-h1); font-weight: var(--fw-bold); line-height: 1.1; letter-spacing: -0.02em; }
.final-cta h2 .hl { color: var(--warm-deep); }
.final-cta__sub { font-size: 17px; color: var(--color-text-secondary); max-width: 480px; }
.final-cta__note { font-size: 12px; color: var(--color-text-muted); }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--color-bg-page); border-top: 0.5px solid var(--color-border); padding: 48px 32px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
/* v3 pages: brand block left, link columns grouped and pushed right */
.footer-grid:has(.footer-links) { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer-links { display: flex; gap: 96px; padding-right: 56px; }
.footer-brand img { height: 26px; width: auto; }
.footer-brand p { margin-top: 12px; font-size: 13px; color: var(--color-text-secondary); line-height: 1.55; max-width: 260px; }
.footer-col__title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); font-weight: var(--fw-semibold); margin-bottom: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: var(--color-text-secondary); }
.footer-col a:hover { color: var(--color-text-primary); }
.footer-bottom { max-width: var(--site-max); margin: 32px auto 0; padding-top: 24px; border-top: 0.5px solid var(--color-border); display: flex; justify-content: space-between; font-size: 12px; color: var(--color-text-muted); }

/* ---- Flow header (v3 pages) --------------------------------------------
   Transparent over the hero at the top of the page; shrinks into a compact
   floating pill once the user scrolls. Responsive: nav links + Sign in fold
   into a kebab menu at narrow widths, the CTA follows when really narrow. */
.flowbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 8px 24px 0;
  pointer-events: none;
}
.flowbar__inner {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; max-width: var(--site-max);
  padding: 10px 14px;
  border: 0.5px solid transparent; border-radius: var(--radius-full);
  background: transparent;
  /* the pill narrows from the edges toward the center, unhurried */
  transition: max-width .6s cubic-bezier(.3,.7,.2,1), background .45s ease,
              box-shadow .45s ease, border-color .45s ease, margin-top .45s ease;
}
/* three zones: logo left · links centered · actions right */
.flowbar__logo { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; }
.flowbar__logo .logo-full { height: 33px; width: auto; flex: none; }
.flowbar__logo .logo-mark { height: 30px; width: auto; flex: none; display: none; }
.flowbar__inner > .nav-links { flex: none; }
.flowbar__right { display: flex; align-items: center; gap: 6px; flex: 1 1 0; justify-content: flex-end; }
.beta-chip {
  font-size: 10px; font-weight: var(--fw-semibold);
  padding: 2px 8px; border-radius: var(--radius-full);
  background: var(--color-brand-warm-bg); color: var(--warm-deep);
  border: 0.5px solid var(--color-brand-warm-soft);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* shrunk state: same element sizes, the bar just narrows edges-to-center.
   Zones stop flexing so spacing hugs the content evenly. */
.flowbar.is-scrolled .flowbar__inner {
  max-width: 700px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: var(--nav-blur);
  backdrop-filter: var(--nav-blur);
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}
/* keep the three zones balanced when shrunk: logo pinned left,
   links centered, actions pinned right (zones stay equal-width). */
.flowbar.is-scrolled .beta-chip { display: none; }

/* kebab menu */
.flowbar__kebab {
  display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: none;
  border: 0.5px solid var(--color-border); border-radius: var(--radius-full);
  background: var(--color-surface); color: var(--color-text-secondary);
  cursor: pointer; padding: 0;
}
.flowbar__kebab svg { width: 16px; height: 16px; }
.flowbar__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 190px;
  display: none; flex-direction: column; gap: 2px;
  padding: 6px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.flowbar__menu.is-open { display: flex; }
.flowbar__menu .nav-link { padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.flowbar__menu .btn { display: none; margin-top: 4px; justify-content: center; }
@media (max-width: 740px) {
  .flowbar__inner > .nav-links { display: none; }
  .flowbar__signin { display: none; }
  .flowbar__kebab { display: inline-flex; }
}
@media (max-width: 480px) {
  .flowbar__right > .btn { display: none; }
  .flowbar__menu .btn { display: inline-flex; }
}

/* ---- Footer socials (v3 pages) ---------------------------------------- */
.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: var(--radius-lg);
  border: 0.5px solid var(--color-border); background: var(--color-surface);
  color: var(--color-text-secondary);
  transition: color .12s, border-color .12s;
}
.footer-socials a:hover { color: var(--color-text-primary); border-color: var(--color-border-hover); }
.footer-socials svg { width: 13px; height: 13px; }

/* ---- Dark footer variant (v3 pages) ------------------------------------ */
.site-footer--dark { background: var(--color-ink); border-top: 0; color: rgba(255,255,255,.85); }
.site-footer--dark .footer-brand img { height: 30px; }
.site-footer--dark .footer-brand p { color: rgba(255,255,255,.55); }
.site-footer--dark .footer-col__title { color: rgba(255,255,255,.4); }
.site-footer--dark .footer-col a { color: rgba(255,255,255,.7); }
.site-footer--dark .footer-col a:hover { color: #fff; }
.site-footer--dark .footer-bottom { border-top-color: rgba(255,255,255,.12); color: rgba(255,255,255,.4); }
.site-footer--dark .footer-socials a {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.72);
}
.site-footer--dark .footer-socials a:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.footer-compare-all {
  display: inline-flex; margin-top: 8px;
  padding: 6px 12px; border-radius: var(--radius-full);
  border: 0.5px solid var(--color-border);
  font-weight: var(--fw-medium);
}
.site-footer--dark .footer-compare-all { border-color: rgba(255,255,255,.22); }
.site-footer--dark .footer-compare-all:hover { border-color: rgba(255,255,255,.45); }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1080px) {
  .comp-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .footer-grid:has(.footer-links) { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 40px; padding-right: 0; }
  .section { padding: 72px 24px; }
  .section-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .section-header h2, .control-section h2 { font-size: 30px; }
  .hero h1 { font-size: 44px; }
  .bento-card, .bento-card--wide { flex: 1 1 100%; }
  .mock--split { flex-direction: column; }
  .control-layout { grid-template-columns: 1fr; gap: 28px; }
  .control-tabs { flex-direction: row; flex-wrap: wrap; }
  .tab-layout { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-divider { display: none; }
  .hero { padding: 56px 20px 88px; }
  .hero h1 { font-size: 34px; }
  .hero__sub { font-size: var(--fs-base); }
  .hero__sub br, .hero h1 br { display: none; }
  .email-capture { min-width: 0; width: 100%; flex-wrap: wrap; }
  .email-capture__field { flex: 1 1 100%; }
  .email-capture .btn { flex: 1 1 100%; justify-content: center; }
  .social-proof { flex-direction: column; gap: 8px; }
  .social-proof .dot { display: none; }
  .audience-grid, .footer-grid { grid-template-columns: 1fr; }
  .final-cta h2 { font-size: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
