/* ───────────────────────────────────────────────
   Brand tokens
─────────────────────────────────────────────── */
:root {
  --big-stone: #172134;
  --royal-blue: #5877E6;
  --gull-gray: #9AA2B3;
  --cadet-blue: #ADB4C6;
  --athens-gray: #E7E8EC;
  --whisper: #E7EEFF;
  --white: #FFFFFF;
  --orange: #FE7501;
  --orange-light: #FF9A3E;
  --teal: #2ABFBF;
  --red: #E54848;
  --green: #16A34A;
  --header-h: 64px;
  --font: 'Rubik', 'SF Pro Display', -apple-system, sans-serif;
  --font-en: 'Inter', sans-serif;
}

/* ───────────────────────────────────────────────
   Reset / base
─────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: var(--white);
  overflow-x: hidden;
}
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  color: var(--big-stone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(254,117,1,0.2); }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

/* ───────────────────────────────────────────────
   Reveal-on-scroll
─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────────
   Shared primitives
─────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--royal-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow--orange { color: var(--orange); }
.eyebrow--blue   { color: var(--royal-blue); }
.eyebrow--teal   { color: var(--teal); }
.eyebrow--red    { color: var(--red); }

.section-title {
  font-size: clamp(26px, 5.2vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--big-stone);
  margin: 0;
  text-align: center;
}
.section-title--right { text-align: right; }
.section-title--light { color: var(--white); }

.section-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--gull-gray);
  margin: 16px 0 0;
  max-width: 640px;
}
.section-lead--center { margin-inline: auto; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--royal-blue));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(254, 117, 1, 0.28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(254, 117, 1, 0.36);
}

.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.deco-blob--orange { background: var(--orange); }
.deco-blob--blue   { background: var(--royal-blue); }
.deco-blob--red    { background: var(--red); }

/* ───────────────────────────────────────────────
   Header
─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 200;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--athens-gray);
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--big-stone);
}
.site-header__logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* ───────────────────────────────────────────────
   Hero
─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 60px) 32px 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.deco-blob--hero-1 { width: 620px; height: 620px; top: -180px; right: -120px; opacity: 0.16; }
.deco-blob--hero-2 { width: 420px; height: 420px; top: 20%; left: -200px; opacity: 0.10; }

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  text-align: center;
}
.hero__copy { max-width: 920px; }
.hero__title {
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--big-stone);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__lead {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--gull-gray);
  margin: 20px auto 0;
  max-width: 620px;
}
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 36px auto 0;
}
.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--big-stone);
  border: 1px solid var(--athens-gray);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.pill--ai {
  background: #E9D5FF;
  color: #7C3AED;
  border-color: #D8B4FE;
}
.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ───────────────────────────────────────────────
   Advantages
─────────────────────────────────────────────── */
.advantages {
  padding: 80px 32px 110px;
  background: linear-gradient(180deg, #E7EEFF55 0%, var(--white) 60%, #E7EEFF66 100%);
  position: relative;
  overflow: hidden;
}
.deco-blob--adv-1 { width: 420px; height: 420px; top: -120px; right: -200px; opacity: 0.06; }
.deco-blob--adv-2 { width: 420px; height: 420px; bottom: -160px; left: -200px; opacity: 0.05; }

.advantages__inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.advantages__inner .section-title { max-width: 760px; margin: 0 auto; }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--athens-gray);
  border-radius: 18px;
  padding: 28px;
  text-align: right;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px -12px rgba(23, 33, 52, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -14px rgba(23, 33, 52, 0.18);
}
.adv-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 8%, transparent);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
}
.adv-card__icon svg { width: 26px; height: 26px; }
.adv-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--big-stone);
  line-height: 1.35;
}
.adv-card__text {
  font-size: 14px;
  color: var(--gull-gray);
  line-height: 1.6;
}

/* ───────────────────────────────────────────────
   Features
─────────────────────────────────────────────── */
.features {
  padding: 120px 32px 0;
  background: var(--white);
  position: relative;
}
.features__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 120px;
}
.feature-row__copy { text-align: right; }
.feature-row__copy .section-lead { font-size: 16px; }
.visual-wrap { position: relative; }
.visual-glow {
  position: absolute;
  inset: -16px;
  filter: blur(40px);
  border-radius: 28px;
  z-index: 0;
}
.visual-glow--orange-blue {
  background: linear-gradient(135deg, rgba(254,117,1,0.30), rgba(88,119,230,0.30));
}
.visual-glow--teal-blue {
  background: linear-gradient(135deg, rgba(42,191,191,0.30), rgba(88,119,230,0.25));
}

/* ───────────────────────────────────────────────
   Committee mock
─────────────────────────────────────────────── */
.committee-mock,
.decision-mock {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--athens-gray);
  box-shadow: 0 24px 48px -16px rgba(23, 33, 52, 0.22);
  background: var(--white);
  direction: rtl;
}
.mock-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #FAFBFC;
  border-bottom: 1px solid var(--athens-gray);
}
.mock-chrome__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--big-stone);
}
.mock-chrome__title svg { display: block; }
.mock-chrome__meta { font-size: 11px; color: var(--gull-gray); }

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--royal-blue));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-en);
  box-shadow: 0 4px 10px rgba(254, 117, 1, 0.25);
}
.ai-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
}

.mock-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mock-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.form-field__label {
  font-size: 11px;
  color: var(--gull-gray);
  margin-bottom: 5px;
}
.form-field .req { color: var(--red); margin-inline-start: 4px; }
.form-field__input {
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--athens-gray);
  background: var(--white);
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--big-stone);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.form-field.is-typing .form-field__input {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(254, 117, 1, 0.18);
}
.form-field .value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.form-field:not(.has-value) .value::before {
  content: attr(data-placeholder);
  color: var(--cadet-blue);
}
.form-field .caret {
  display: none;
  width: 1px;
  height: 11px;
  background: var(--orange);
  animation: blinkCaret 0.9s steps(2) infinite;
}
.form-field.is-typing .caret { display: inline-block; }
.form-field .chev { color: var(--cadet-blue); font-size: 9px; }

/* Decision modal mini form */
.dec-field__label { font-size: 8px; color: var(--gull-gray); margin-bottom: 3px; }
.dec-field__input {
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--athens-gray);
  background: var(--white);
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--big-stone);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dec-field.is-typing .dec-field__input {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(42, 191, 191, 0.15);
}
.dec-field .value { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dec-field:not(.has-value) .value::before { content: '—'; color: var(--cadet-blue); }
.dec-field .caret {
  display: none;
  width: 1px;
  height: 9px;
  background: var(--teal);
  animation: blinkCaret 0.9s steps(2) infinite;
}
.dec-field.is-typing .caret { display: inline-block; }
.dec-field .dec-avatar {
  display: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--royal-blue); color: var(--white);
  font-size: 7px; font-weight: 700;
  align-items: center; justify-content: center;
}
.dec-field.has-value .dec-avatar { display: inline-flex; }
.dec-field .dec-icon { color: var(--cadet-blue); display: inline-flex; }
.dec-field.has-value .dec-icon { color: var(--teal); }

/* Color row */
.color-row { display: flex; gap: 8px; }
.color {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.color.is-picked {
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px currentColor, 0 6px 14px rgba(0,0,0,0.2);
  transform: scale(1.1);
}

/* People */
.people-row .chip-box {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--athens-gray);
  background: var(--white);
  padding: 6px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.people-row .placeholder {
  font-size: 11px;
  color: var(--cadet-blue);
}
.people-row.is-opened .placeholder { display: none; }
.people-row .chip {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(88, 119, 230, 0.12);
  color: var(--royal-blue);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.people-row .chip::before {
  content: attr(data-letter);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.people-row.is-opened .chip { display: inline-flex; }
.people-row .chip.is-in { opacity: 1; transform: translateY(0); }

/* Actions */
.mock-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}
.mock-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mock-btn--sm { padding: 5px 12px; border-radius: 6px; font-size: 9px; }
.mock-btn--ghost {
  border: 1px solid var(--athens-gray);
  background: var(--white);
  color: var(--big-stone);
}
.mock-btn--primary {
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--royal-blue));
  box-shadow: 0 3px 8px rgba(254, 117, 1, 0.2);
}
.mock-btn--primary.is-pulse {
  transform: scale(1.04);
  box-shadow: 0 6px 14px rgba(254, 117, 1, 0.33);
}
.mock-btn--teal {
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--royal-blue));
  box-shadow: 0 3px 8px rgba(42, 191, 191, 0.25);
}
.mock-btn--teal.is-pulse {
  transform: scale(1.06);
  box-shadow: 0 6px 14px rgba(42, 191, 191, 0.5);
}

/* ───────────────────────────────────────────────
   Decision Tracker mock
─────────────────────────────────────────────── */
.dec-filterbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--athens-gray);
  background: var(--white);
}
.dec-filter {
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--athens-gray);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 9px;
  color: var(--cadet-blue);
}

.dec-thead {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 2fr 1fr 0.9fr 0.6fr;
  gap: 6px;
  padding: 8px 10px;
  font-size: 9px;
  font-weight: 700;
  color: var(--gull-gray);
  background: #FAFBFC;
  border-bottom: 1px solid var(--athens-gray);
}

.dec-rows { position: relative; }
.dec-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 2fr 1fr 0.9fr 0.6fr;
  gap: 6px;
  padding: 9px 10px;
  font-size: 10px;
  color: var(--big-stone);
  background: var(--white);
  border-bottom: 1px solid var(--athens-gray);
  align-items: center;
  transition: background 0.3s ease;
}
.dec-row:last-child { border-bottom: none; }
.dec-row.is-hover { background: rgba(42, 191, 191, 0.10); }
.dec-row.is-selected { background: rgba(42, 191, 191, 0.06); }
.dec-row.is-selected .topic { font-weight: 600; }

.cell { display: flex; align-items: center; gap: 6px; }
.cell .cdot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.cell.topic, .cell .topic { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell.muted { color: var(--gull-gray); }
.cell.en { font-family: var(--font-en); font-size: 9px; }
.cell .small { font-size: 9px; color: var(--gull-gray); white-space: nowrap; }
.cell .avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: var(--white);
  font-size: 7px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cell .tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: var(--c);
  font-size: 9px;
  font-weight: 700;
}
.cell .prog {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  transition: transform 0.5s ease, background 0.4s ease, color 0.4s ease;
}
.prog--mid {
  background: rgba(254, 117, 1, 0.18);
  color: var(--orange);
}
.prog--done {
  background: rgba(22, 163, 74, 0.18);
  color: var(--green);
}
.prog.is-bump { transform: scale(1.15); }

/* Decision modal */
.dec-modal {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 42%;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(42, 191, 191, 0.40);
  box-shadow: 0 18px 40px -8px rgba(42, 191, 191, 0.35);
  padding: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-16px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.dec-modal.is-open { opacity: 1; transform: translateX(0) scale(1); }
.dec-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.dec-modal__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--big-stone);
}
.dec-modal__title-icon {
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(42, 191, 191, 0.18);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.dec-modal__badge {
  font-size: 8px;
  font-weight: 700;
  color: var(--orange);
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(254, 117, 1, 0.15);
}
.dec-modal__body { display: flex; flex-direction: column; gap: 7px; }
.dec-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 10px;
}

.priority-row { display: flex; gap: 4px; }
.prio {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  background: transparent;
  color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  transition: all 0.4s ease;
}
.prio.is-picked {
  background: var(--c);
  color: var(--white);
  border-color: var(--c);
}

/* ───────────────────────────────────────────────
   Meeting book + AI Chat overlay
─────────────────────────────────────────────── */
.meetingbook-frame {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid var(--athens-gray);
  box-shadow: 0 24px 48px -16px rgba(23, 33, 52, 0.22);
  background: #FAFBFC;
  line-height: 0;
}
.meetingbook-frame > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.meetingbook-dim {
  position: absolute;
  inset: 0;
  background: rgba(23, 33, 52, 0.18);
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.7s ease 250ms;
}
.meetingbook-frame.is-active .meetingbook-dim { opacity: 1; }

.chat-overlay {
  position: absolute;
  top: -60px;
  bottom: -60px;
  right: 3%;
  width: min(340px, 42%);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(23, 33, 52, 0.32);
  border: 1px solid var(--athens-gray);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 350ms, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 350ms;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  line-height: 1.5;
  z-index: 3;
}
.meetingbook-frame.is-active .chat-overlay {
  opacity: 1;
  transform: translateX(0);
}
.chat-overlay__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(254,117,1,0.07), rgba(88,119,230,0.07));
  border-bottom: 1px solid var(--athens-gray);
}
.chat-overlay__logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--royal-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 11px;
  font-family: var(--font-en);
  letter-spacing: 1px;
}
.chat-overlay__heading { flex: 1; }
.chat-overlay__title { font-size: 13px; font-weight: 700; color: var(--big-stone); }
.chat-overlay__status {
  font-size: 10px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}
.chat-overlay__status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.chat-overlay__close { font-size: 16px; color: var(--cadet-blue); }

.chat-overlay__messages {
  flex: 1;
  padding: 14px 14px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg__label {
  font-size: 10px;
  font-weight: 600;
  color: var(--gull-gray);
  margin-bottom: 4px;
}
.chat-msg__label--ai { color: var(--orange); text-align: left; }
.chat-msg__bubble {
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--big-stone);
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.chat-msg__bubble--ai {
  border-radius: 12px 12px 4px 12px;
  background: linear-gradient(135deg, rgba(254,117,1,0.06), rgba(88,119,230,0.06));
  border: 1px solid rgba(254, 117, 1, 0.15);
  color: var(--big-stone);
  line-height: 1.55;
}
.chat-msg__bubble--typing {
  padding: 10px 14px;
  border-radius: 12px 12px 4px 12px;
  background: rgba(254, 117, 1, 0.07);
  border: 1px solid rgba(254, 117, 1, 0.15);
  display: flex;
  gap: 4px;
}
.chat-msg--user { align-self: flex-start; max-width: 92%; }
.chat-msg--ai, .chat-msg--typing { align-self: flex-end; max-width: 92%; display: none; }
.chat-msg--typing { max-width: 60%; }
.chat-msg.is-visible { display: block; }

.caret {
  display: none;
  width: 1px;
  height: 11px;
  background: currentColor;
  vertical-align: middle;
  animation: blinkCaret 0.9s steps(2) infinite;
}
.caret.is-on { display: inline-block; }
.chat-msg--user .caret { background: var(--white); }
.chat-msg--ai .caret { background: var(--orange); }

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: typingDot 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-dot:nth-child(3) { animation-delay: 0.36s; }

.chat-overlay__input {
  padding: 10px 12px;
  border-top: 1px solid var(--athens-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-overlay__field {
  flex: 1;
  padding: 8px 12px;
  border-radius: 10px;
  background: #F4F5F8;
  border: 1px solid var(--athens-gray);
  font-size: 11px;
  color: var(--cadet-blue);
}
.chat-overlay__send {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--royal-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
}

/* ───────────────────────────────────────────────
   AI capabilities (dark)
─────────────────────────────────────────────── */
.ai-section {
  padding: 120px 32px;
  background: var(--big-stone);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.deco-blob--ai-1 { width: 520px; height: 520px; top: -120px; right: -120px; opacity: 0.18; }
.deco-blob--ai-2 { width: 460px; height: 460px; bottom: -140px; left: -140px; opacity: 0.18; }

.ai-section__inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ai-section__header { text-align: center; margin-bottom: 64px; }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ai-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px;
  height: 100%;
}
.ai-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--royal-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ai-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.ai-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

/* ───────────────────────────────────────────────
   Results
─────────────────────────────────────────────── */
.results {
  padding: 120px 32px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.deco-blob--res-1 { width: 420px; height: 420px; top: -120px; right: -160px; opacity: 0.08; }
.deco-blob--res-2 { width: 420px; height: 420px; bottom: -160px; left: -160px; opacity: 0.08; }

.results__inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.results__header { text-align: center; margin-bottom: 64px; }
.results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.result-card {
  border-radius: 18px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--athens-gray);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px -12px rgba(23, 33, 52, 0.10);
  text-align: right;
}
.result-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-card__num {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: var(--c);
  font-family: var(--font-en);
  letter-spacing: -0.02em;
}
.result-card__label {
  font-size: 15px;
  color: var(--big-stone);
  line-height: 1.4;
  font-weight: 600;
}

/* ───────────────────────────────────────────────
   CTA
─────────────────────────────────────────────── */
.cta {
  padding: 120px 32px;
  background: linear-gradient(180deg, rgba(231, 238, 255, 0.4) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.deco-blob--cta-1 { width: 520px; height: 520px; top: -100px; left: -160px; opacity: 0.14; }
.deco-blob--cta-2 { width: 460px; height: 460px; bottom: -160px; right: -160px; opacity: 0.14; }

.cta__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta__logo { display: inline-block; }
.cta__title {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--big-stone);
  margin: 20px 0 0;
  letter-spacing: -0.02em;
}
.cta__lead {
  font-size: 18px;
  color: var(--gull-gray);
  line-height: 1.55;
  margin: 16px 0 0;
}
.cta__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ───────────────────────────────────────────────
   Footer
─────────────────────────────────────────────── */
.site-footer {
  background: var(--big-stone);
  color: var(--white);
  padding: 44px 32px 32px;
}
.site-footer__row {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.site-footer__brand svg { display: block; }
.site-footer__name {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: 0.5px;
}
.site-footer__tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 8px;
}
.site-footer__sqlink {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer__sqlabel {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-en);
  letter-spacing: 2px;
}
.site-footer__sqlink img { height: 18px; opacity: 0.9; }
.site-footer__legal {
  max-width: 1180px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-en);
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ───────────────────────────────────────────────
   Animations
─────────────────────────────────────────────── */
@keyframes typingDot {
  0%, 80%, 100% { transform: translateY(0) scale(0.85); opacity: 0.4; }
  40% { transform: translateY(-3px) scale(1.1); opacity: 1; }
}
@keyframes blinkCaret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ───────────────────────────────────────────────
   Responsive
─────────────────────────────────────────────── */
@media (max-width: 880px) {
  .advantages__grid,
  .ai-grid,
  .results__grid {
    grid-template-columns: 1fr;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 64px;
  }
  /* Move visual under copy for first/third rows; before copy for the (reversed) decision row */
  #decision-feature .feature-row__visual { order: 2; }
  #decision-feature .feature-row__copy   { order: 1; }
  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 32px) 20px 48px;
  }
  .hero__title { font-size: 34px; }
  .hero__lead  { font-size: 15px; }
  .hero__pills { gap: 6px; }
  .pill { padding: 6px 11px; font-size: 12px; }
  .advantages { padding: 48px 20px 64px; }
  .advantages__grid { gap: 14px; margin-top: 36px; }
  .adv-card { padding: 22px; }
  .adv-card__icon { width: 44px; height: 44px; }
  .adv-card__icon svg { width: 22px; height: 22px; }
  .adv-card__title { font-size: 16px; }
  .adv-card__text  { font-size: 13.5px; }
  .features { padding: 56px 16px 0; }
  .ai-section { padding: 64px 20px; }
  .ai-section__header { margin-bottom: 36px; }
  .ai-grid { gap: 12px; }
  .results { padding: 56px 20px; }
  .results__header { margin-bottom: 28px; }
  .results__grid { gap: 14px; }
  .result-card { padding: 22px; }
  .result-card__num { font-size: 40px; }
  .result-card__label { font-size: 14px; }
  .cta { padding: 64px 20px; }
  .cta__title { font-size: 28px; }
  .cta__lead  { font-size: 15px; }
  .site-footer { padding: 36px 20px 28px; }
  .chat-overlay {
    width: min(280px, 70%);
    top: -80px;
    bottom: -80px;
    right: 5%;
  }
  /* On mobile, simplify the decision tracker mock — hide the small filterbar/cells overflow */
}
