:root {
  --cream: #F8F3EB;
  --cream-2: #F1EBE1;
  --ink: #141414;
  --muted: #5c574e;
  --green: #007330;
  --green-dark: #055c28;
  --navy: #040813;
  --line: #141414;
  --card: #fffdf9;
  --shadow: 4px 4px 0 #141414;
  --radius: 16px;
  --col: 34rem;
  --font: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body.eai-intake-body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.eai-intake {
  min-height: 100vh;
  padding: 20px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eai-intake__logo {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 4px auto 18px;
  box-shadow: 0 0 0 2px #0b1a2c;
}
.eai-progress {
  display: flex;
  gap: 5px;
  width: min(100%, var(--col));
  margin: 0 auto 28px;
}
.eai-progress span {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: #e4ddd2;
  transition: background .25s ease;
}
.eai-progress span.is-done,
.eai-progress span.is-current { background: var(--green); }

.eai-screen {
  width: min(100%, var(--col));
  margin: 0 auto;
  display: none;
  animation: eai-in .28s ease;
}
.eai-screen.is-on { display: block; }
@keyframes eai-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.eai-kicker {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 8px;
}
.eai-screen h1 {
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(1.55rem, 4.6vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-align: center;
  margin: 0 0 8px;
}
.eai-screen .eai-lead {
  text-align: center;
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 15px;
}
.eai-back {
  display: inline-block;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin: 0 0 16px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.eai-back:hover { color: var(--ink); }

.eai-choice, .eai-dept, .eai-pill, .eai-field input, .eai-path, .eai-visual, .eai-status {
  background: var(--card);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}
.eai-choice, .eai-dept, .eai-sug, .eai-path, .eai-pill {
  border-radius: 14px;
}

.eai-choice {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 16px;
  margin: 0 0 12px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.eai-choice:hover, .eai-dept:hover, .eai-sug:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #141414; }
.eai-choice:active, .eai-btn:active, .eai-dept:active, .eai-sug:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #141414; }
.eai-choice__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
}
.eai-choice__icon svg { width: 22px; height: 22px; }
.eai-choice b { display: block; font-size: 16px; }
.eai-choice small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; margin-top: 2px; }
.eai-choice__chev { margin-left: auto; font-size: 22px; font-weight: 700; color: #222; }

.eai-field { margin: 0 0 14px; }
.eai-field input, .eai-field input[type="email"], .eai-field input[type="tel"], .eai-field input[type="url"], .eai-field input[type="text"] {
  width: 100%;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  box-shadow: 3px 3px 0 #141414;
}
.eai-field input:focus { border-color: var(--green); }
.eai-field input::placeholder { color: #9a948a; }
.eai-textlink {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 8px;
  text-align: center;
}
.eai-textlink:hover { color: var(--ink); }

.eai-depts { display: grid; gap: 10px; margin: 0 0 18px; }
.eai-dept {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}
.eai-dept input { position: absolute; opacity: 0; pointer-events: none; }
.eai-dept__box {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
}
.eai-dept__box svg { display: none; width: 14px; height: 14px; }
.eai-dept.is-on { background: #eef7f1; }
.eai-dept.is-on .eai-dept__box { background: var(--green); border-color: var(--green-dark); }
.eai-dept.is-on .eai-dept__box svg { display: block; stroke: #fff; }
.eai-dept b { font-size: 15.5px; }
.eai-dept small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }

.eai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--green);
  color: #fff;
  border: 2px solid #062616;
  border-bottom-width: 5px;
  border-radius: 12px;
  padding: 14px 18px 12px;
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 3px 3px 0 #141414;
  text-decoration: none;
}
.eai-btn:hover { background: var(--green-dark); }
.eai-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: 3px 3px 0 #141414; transform: none; }
.eai-btn--ghost {
  background: var(--card);
  color: var(--ink);
  margin-top: 10px;
}

.eai-analyze { text-align: center; padding: 8px 0 4px; }
.eai-analyze .eai-spin {
  display: block;
  width: 28px;
  height: 28px;
  border-width: 3px;
  margin: 8px auto 18px;
}
.eai-analyze h1 { margin-top: 0; }
.eai-pct {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--green);
  margin: 0 0 18px;
}
.eai-status {
  text-align: left;
  border-radius: 16px;
  padding: 8px 16px;
  margin: 0 0 22px;
}
.eai-status li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #ece6dc;
  font-weight: 600;
  font-size: 15px;
  color: #b0aaa0;
}
.eai-status { margin-left: 0; padding-left: 16px; }
.eai-status ul { margin: 0; padding: 0; }
.eai-status li:last-child { border-bottom: 0; }
.eai-status li.is-run { color: var(--ink); }
.eai-status li.is-done { color: var(--ink); }
.eai-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #d9d2c6; background: #fff;
  display: grid; place-items: center; flex: 0 0 22px;
}
.eai-status li.is-done .eai-check {
  background: var(--green);
  border-color: var(--green-dark);
}
.eai-status li.is-run .eai-check { border-color: var(--green); }
.eai-check svg { width: 12px; height: 12px; display: none; }
.eai-status li.is-done .eai-check svg { display: block; stroke: #fff; }
.eai-spin {
  width: 10px; height: 10px; border: 2px solid #d9d2c6; border-top-color: var(--green);
  border-radius: 50%; display: none; animation: eai-spin .7s linear infinite;
}
.eai-status li.is-run .eai-spin { display: block; }
@keyframes eai-spin { to { transform: rotate(360deg); } }

.eai-agent-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 16px;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}
.eai-avatar {
  position: relative;
  width: 72px; height: 72px;
  flex: 0 0 72px;
}
.eai-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  display: block;
  background: #dfeee4;
}
.eai-dot {
  position: absolute;
  right: 1px; bottom: 1px;
  width: 16px; height: 16px;
  background: #22c55e;
  border: 2.5px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
.eai-agent-top .who b { display: block; font-size: 20px; line-height: 1.1; letter-spacing: -0.02em; }
.eai-agent-top .who small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.eai-placeholder {
  display: inline-block;
  margin: 4px 0 0;
  background: #fff4c8;
  border: 1.5px solid #141414;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.eai-agent-copy { text-align: center; margin: 0 0 8px; }
.eai-suggested { text-align: center; color: var(--muted); font-size: 12.5px; margin: 0 0 14px; }

.eai-visual {
  border-radius: 18px;
  min-height: 150px;
  margin: 0 0 16px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.eai-pills { display: grid; gap: 10px; margin: 0 0 22px; }
.eai-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 14.5px;
}
.eai-pill__ok {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #062616;
  display: grid; place-items: center;
}
.eai-pill__ok svg { width: 12px; height: 12px; stroke: #fff; }

.eai-paths { display: grid; gap: 10px; margin: 0 0 16px; }
.eai-path {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  margin: 0;
  font-weight: 700;
}
.eai-path input { position: absolute; opacity: 0; pointer-events: none; }
.eai-path__radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line);
  display: grid; place-items: center; flex: 0 0 18px;
}
.eai-path.is-on { background: #eef7f1; }
.eai-path.is-on .eai-path__radio::after {
  content: "";
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.eai-call {
  text-align: center;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.eai-call a { color: var(--green-dark); font-weight: 700; }

.eai-note, .eai-preview-banner {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
.eai-success h1 { margin-bottom: 10px; }
.eai-success p { text-align: center; color: var(--muted); }

.eai-err { color: #9b1c1c; font-size: 13px; font-weight: 600; text-align: center; margin: 0 0 10px; min-height: 1em; }

/* ---- agent visuals (original CSS, not copied art) ---- */
.viz-row { display: flex; gap: 8px; align-items: flex-end; }
.viz-tile {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  box-shadow: 3px 3px 0 #141414;
  padding: 10px 12px;
}
.viz-olivia { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.viz-olivia svg { width: 46px; height: 46px; }
.viz-badge {
  position: absolute; top: -8px; right: -8px;
  background: #e11d48; color: #fff;
  border: 2px solid #141414;
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  padding: 2px 6px;
  animation: eai-pop 1.6s ease-in-out infinite;
}
@keyframes eai-pop {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.viz-invoice { width: 200px; text-align: left; font-size: 12px; }
.viz-invoice .bar { height: 8px; background: #ece6dc; border-radius: 99px; margin: 6px 0; }
.viz-invoice .bar span { display: block; height: 8px; width: 0; background: var(--green); border-radius: 99px; animation: eai-fill 1.6s ease forwards; }
@keyframes eai-fill { to { width: 100%; } }
.viz-stamp {
  margin-top: 8px;
  display: inline-block;
  color: var(--green);
  border: 2px solid var(--green);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 11px;
  padding: 2px 8px;
  transform: rotate(-8deg);
  animation: eai-stamp .6s .9s both;
}
@keyframes eai-stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.4); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.viz-ads { display: flex; flex-direction: column; gap: 8px; width: 230px; }
.viz-metric { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; }
.viz-metric em {
  font-style: normal; background: var(--green); color: #fff;
  border: 1.5px solid #062616; border-radius: 999px; padding: 2px 8px; font-size: 11px;
}
.viz-browser { width: 240px; padding: 0; overflow: hidden; }
.viz-chrome { height: 22px; background: #ece6dc; border-bottom: 2px solid var(--line); display: flex; align-items: center; gap: 5px; padding: 0 8px; }
.viz-chrome i { width: 7px; height: 7px; border-radius: 50%; background: #c4bdb2; display: block; }
.viz-page { padding: 10px; }
.viz-page .row { height: 8px; background: #e8e2d8; border-radius: 99px; margin-bottom: 7px; animation: eai-pulse 1.4s ease-in-out infinite; }
.viz-page .row:nth-child(2) { width: 80%; animation-delay: .15s; }
.viz-page .row:nth-child(3) { width: 64%; animation-delay: .3s; }
.viz-hero { height: 36px; background: #dfeee4; border: 1.5px solid #141414; border-radius: 6px; margin-bottom: 8px; }
@keyframes eai-pulse { 50% { opacity: .45; } }
.viz-posts { display: flex; gap: 8px; }
.viz-post { width: 70px; height: 96px; padding: 0; overflow: hidden; animation: eai-float 2.4s ease-in-out infinite; }
.viz-post:nth-child(2) { animation-delay: .2s; transform: translateY(-6px); }
.viz-post:nth-child(3) { animation-delay: .4s; }
.viz-post .ph { height: 58px; background: #dfeee4; }
.viz-post .cap { height: 6px; background: #e8e2d8; margin: 8px 8px 0; border-radius: 99px; }
@keyframes eai-float { 50% { transform: translateY(-6px); } }
.viz-pipe { display: flex; gap: 8px; }
.viz-col { width: 68px; min-height: 110px; padding: 8px; }
.viz-col strong { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.viz-chip { height: 28px; background: #dfeee4; border: 1.5px solid #141414; border-radius: 6px; margin-bottom: 6px; }
.viz-chip.move { animation: eai-move 2.2s ease-in-out infinite; background: #bbdec8; }
@keyframes eai-move {
  0%,15% { transform: none; opacity: 1; }
  45%,55% { transform: translateX(76px); opacity: 1; }
  85%,100% { transform: translateX(152px); opacity: 1; }
}
.viz-kanban { width: 230px; }
.viz-task { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.viz-task i {
  width: 16px; height: 16px; border: 2px solid var(--line); border-radius: 4px; display: inline-block;
}
.viz-task.is-done i { background: var(--green); border-color: var(--green-dark); }
.viz-task.is-done { animation: none; }
.viz-task:nth-child(1) { animation: eai-tick 2.4s 0s both; }
.viz-task:nth-child(2) { animation: eai-tick 2.4s .6s both; }
.viz-task:nth-child(3) { animation: eai-tick 2.4s 1.2s both; }
@keyframes eai-tick { from { opacity: .4; } to { opacity: 1; } }

@media (max-width: 420px) {
  .eai-intake { padding: 16px 16px 40px; }
  .eai-intake__logo { width: 64px; height: 64px; }
  .eai-choice { padding: 12px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Hidden Gravity Form used only as the submit target in WordPress. */
.eai-intake-gf[hidden], .eai-intake-gf {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.eai-legend { font-weight:700; margin:4px 0 10px; font-size:15px; }
.eai-industries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.eai-ind {
  background: var(--card);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 14px 10px;
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  color: inherit;
  min-height: 52px;
}
.eai-ind:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #141414; }
.eai-ind:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #141414; }
.eai-ind.is-on { background: #eef7f1; }

.eai-status li { position: relative; }
.eai-row-pct {
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  margin-left: auto;
  margin-right: 8px;
  min-width: 2.2em;
  text-align: right;
}
.eai-status li.is-done .eai-row-pct { display: none; }

.eai-review {
  background: var(--card);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 16px 16px 12px;
  margin: 22px 0 0;
  text-align: left;
}
.eai-review-head {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
}
.eai-review-who { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.eai-review-who b { display: block; font-size: 14px; }
.eai-review-who small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.eai-mono {
  width: 36px; height: 36px; border-radius: 50%;
  background: #007330; color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 11px;
  flex: 0 0 36px;
  border: 2px solid var(--line);
}
.eai-review-q { margin: 0 0 12px; font-size: 14.5px; line-height: 1.45; }
.eai-review-q mark {
  background: #c8edcf;
  color: inherit;
  padding: 0 2px;
  font-weight: 700;
}
.eai-review-nav { display: flex; justify-content: space-between; }
.eai-rev-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 2px 2px 0 #141414;
}

/* ---- 1.4 visuals ---- */
.viz { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.viz-olivia { align-items: stretch; }
.viz-mail, .viz-cal { width: 118px; min-height: 118px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.viz-mail svg { width: 46px; height: 46px; }
.viz-zero {
  margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  color: var(--green); text-transform: uppercase; opacity: 0;
}
.viz-zero.is-on { opacity: 1; animation: eai-stamp .35s both; }
.viz-cal-top { font-weight: 800; font-size: 12px; margin-bottom: 8px; }
.viz-cal-event {
  background: #eef7f1; border: 1.5px solid #141414; border-radius: 8px;
  padding: 8px 8px 6px; font-size: 11px; font-weight: 700; width: 100%;
  animation: eai-stamp .5s .4s both;
}
.viz-cal-event span { display: block; color: var(--green); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }

.viz-emmett { flex-direction: column; }
.viz-flip { width: 180px; height: 100px; position: relative; perspective: 600px; }
.viz-inv { position: absolute; inset: 0; backface-visibility: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 14px 16px; font-weight: 700; }
.face-front { animation: eai-flip-out 1.4s .4s forwards; }
.face-back { transform: rotateY(180deg); animation: eai-flip-in 1.4s .4s forwards; }
.face-front .due { color: #9b1c1c; font-size: 12px; margin-top: 6px; }
@keyframes eai-flip-out { 50%,100% { transform: rotateY(-180deg); } }
@keyframes eai-flip-in { 50% { transform: rotateY(0deg); } 100% { transform: rotateY(0deg); } }
.viz-ticker { font-size: 13px; font-weight: 700; margin-top: 8px; }
.viz-ticker span { color: var(--green); }

.viz-dash { width: min(100%, 260px); padding: 14px 14px 8px; }
.viz-kpis { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.viz-kpis small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.viz-kpis b { font-size: 22px; letter-spacing: -0.03em; color: var(--green); }
.viz-chart { width: 100%; height: 70px; display: block; }
.chart-line { stroke-dasharray: 280; stroke-dashoffset: 280; animation: eai-draw 1.4s ease forwards; }
@keyframes eai-draw { to { stroke-dashoffset: 0; } }

.assemble { opacity: 0; transform: translateY(8px); animation: eai-assemble .45s ease forwards; }
.a1 { animation-delay: .1s; }
.a2 { animation-delay: .25s; }
.a3 { animation-delay: .4s; }
.a4 { animation-delay: .55s; }
@keyframes eai-assemble { to { opacity: 1; transform: none; } }
.viz-chrome span {
  flex: 1; height: 8px; background: #fff; border: 1px solid #cfc8bc; border-radius: 99px; margin-left: 6px;
}

.viz-phones { display: flex; gap: 8px; align-items: flex-end; justify-content: center; }
.phone { width: 78px; padding: 0; overflow: hidden; }
.phone .ph { height: 92px; background: linear-gradient(160deg, #dfeee4, #b7d8c3); }
.phone .views { font-size: 10px; font-weight: 800; padding: 6px 6px 8px; text-align: center; }
.phone.p1 { transform: rotate(-8deg); animation: eai-float 2.6s ease-in-out infinite; }
.phone.p2 { transform: translateY(-10px); animation: eai-float 2.6s .2s ease-in-out infinite; }
.phone.p3 { transform: rotate(8deg); animation: eai-float 2.6s .4s ease-in-out infinite; }

.viz-board { width: min(100%, 240px); text-align: left; }
.viz-phase { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.viz-phase i { width: 14px; height: 14px; border: 2px solid var(--line); border-radius: 50%; display: inline-block; }
.viz-phase i.is-done { background: var(--green); border-color: var(--green-dark); }
.viz-phase i.is-run { box-shadow: 0 0 0 3px #c8edcf; animation: eai-pop 1.2s ease-in-out infinite; }
.viz-bar { height: 8px; background: #ece6dc; border-radius: 99px; border: 1px solid #141414; overflow: hidden; margin-top: 6px; }
.viz-bar span { display: block; height: 100%; width: 0; background: var(--green); animation: eai-fill 1.8s ease forwards; }

.eai-choice, .eai-dept, .eai-sug, .eai-path, .eai-ind, .eai-btn { -webkit-tap-highlight-color: transparent; }

@media (max-width: 420px) {
  .eai-intake { padding: 14px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .eai-intake__logo { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 14px; }
  .eai-progress { margin-bottom: 20px; gap: 4px; }
  .eai-screen h1 { font-size: 1.45rem; }
  .eai-agent-copy { font-size: 1.28rem !important; }
  .eai-choice { padding: 12px; min-height: 64px; }
  .eai-pills { margin-bottom: 18px; }
  .eai-pill { font-size: 13.5px; }
  .phone { width: 72px; }
  .eai-review-q { font-size: 13.5px; }
  body { overflow-x: hidden; }
}

.viz-olivia { flex-wrap: nowrap !important; width: 100%; align-items: stretch; }
.viz-olivia .viz-mail, .viz-olivia .viz-cal {
  flex: 1 1 0;
  width: auto;
  max-width: 140px;
  min-width: 0;
  min-height: 124px;
}
.viz-zero { opacity: 0; height: 0; margin: 0; overflow: hidden; }
.viz-zero.is-on { opacity: 1; height: auto; margin-top: 8px; overflow: visible; }
.eai-status li.is-run > .eai-check { display: none !important; }

/* Suggested team + one-shot animations (v1.5.0). No heavy blur/filters. */
.eai-suggest { display: grid; gap: 10px; margin: 0 0 18px; }
.eai-sug {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 16px;
  box-shadow: 3px 3px 0 #141414;
  cursor: pointer;
  position: relative;
}
.eai-sug input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.eai-sug .eai-avatar { width: 56px; height: 56px; flex: 0 0 56px; }
.eai-sug .eai-avatar img { width: 56px; height: 56px; }
.eai-sug .eai-dot { width: 14px; height: 14px; }
.eai-sug-copy { min-width: 0; }
.eai-sug-copy b { display: block; font-size: 15.5px; }
.eai-sug-copy small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.eai-sug-copy em { display: block; font-style: normal; font-size: 12.5px; color: #333; margin-top: 4px; line-height: 1.35; }
.eai-sug.is-on { background: #eef7f1; }
.eai-switch {
  width: 42px; height: 24px;
  border-radius: 99px;
  background: #d5d0c8;
  border: 2px solid #141414;
  position: relative;
  flex: 0 0 42px;
  justify-self: end;
}
.eai-switch::after {
  content: "";
  position: absolute;
  top: 1px; left: 1px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #141414;
}
.eai-sug.is-on .eai-switch { background: var(--green); border-color: var(--green-dark); }
.eai-sug.is-on .eai-switch::after { transform: translateX(18px); background: #fff; }
.phone.p1, .phone.p2, .phone.p3, .viz-post, .viz-page .row, .viz-chip.move, .viz-phase i.is-run {
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@media (prefers-reduced-motion: reduce) {
  .eai-sug, .eai-choice, .eai-dept, .eai-path, .eai-btn { transform: none !important; }
}

/* v1.5.1 — ready list, honest review stars, projection chart, email capture */
.eai-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  background: #c8edcf;
  border-radius: 8px;
  padding: 2px 6px;
  margin-top: 4px;
  color: #007330;
}
.eai-star { width: 12px; height: 12px; display: block; }
.eai-ready-list { margin: 8px 0 20px; }
.eai-ready-list li { font-weight: 600; }
.eai-ready-list li.is-done .eai-check { display: grid; }
.eai-proj-card {
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 16px 16px 12px;
  margin: 4px 0 18px;
}
.eai-proj-hours {
  font-family: Archivo, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
  line-height: 1.15;
}
.eai-proj-hours span { color: var(--green); }
.eai-proj-chart { width: 100%; height: auto; display: block; overflow: visible; }
.eai-proj-curve { fill: none; stroke: #007330; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.eai-proj-fill { fill: #c8edcf; }
.eai-proj-axis { stroke: #141414; stroke-width: 1.5; opacity: .28; }
.eai-proj-label { font-size: 11px; fill: #6b665e; font-weight: 600; }
.eai-proj-marker circle { fill: #007330; stroke: #fff; stroke-width: 2; }
.eai-proj-marker line { stroke: #007330; stroke-width: 1.5; }
.eai-proj-hired { font-size: 10px; font-weight: 800; fill: #007330; }
.eai-privacy {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.4;
}
@media (prefers-reduced-motion: reduce) {
  .eai-proj-curve, .eai-proj-fill, .eai-proj-marker { transition: none !important; }
}

.eai-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #dfeee4;
  color: var(--green-dark);
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .02em;
}
.eai-plan-row .eai-avatar--initials,
.eai-avatar--initials[style*="44"] { font-size: 14px; }
.eai-plan {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  margin: 0 0 20px;
}
.eai-plan-team { display: grid; gap: 12px; margin: 0 0 16px; }
.eai-plan-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eai-plan-row b { display: block; font-size: 16px; }
.eai-plan-row small { display: block; color: var(--muted); font-size: 13px; }
.eai-plan-prices { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid #e4ddd2; }
.eai-plan-prices li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
}
.eai-plan-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 0;
  padding-top: 10px;
  border-top: 2px solid var(--line);
  font-size: 16px;
}
.eai-plan-total strong { font-size: 22px; color: var(--green-dark); }
.eai-plan-then {
  margin: 6px 0 0;
  text-align: right;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.eai-tiers { display: grid; gap: 14px; margin: 0 0 8px; }
.eai-tier {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #1a1a1a;
}
.eai-tier--base { border-color: #007330; }
.eai-tier-name {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #007330;
}
.eai-tier-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #1a1a1a;
}
.eai-tier-price b { font-size: 36px; line-height: 1; font-weight: 800; color: #007330; }
.eai-tier-price span { font-size: 16px; font-weight: 700; color: #374151; }
.eai-tier-bill { margin: 0; font-size: 13px; font-weight: 600; color: #736d64; }
.eai-tier-desc { margin: 0; font-size: 14.5px; line-height: 1.45; color: #1f2937; flex: 1; }
.eai-tier-includes { list-style: none; margin: 4px 0 0; padding: 0; }
.eai-tier-includes li {
  position: relative;
  padding: 3px 0 3px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}
.eai-tier-includes li:before { content: "✓"; position: absolute; left: 0; color: #007330; font-weight: 800; }
.eai-tier-faces { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.eai-tier-faces .eai-avatar { flex: 0 0 36px; }
.eai-bill {
  display: inline-flex;
  align-self: flex-start;
  border: 2px solid #007330;
  border-radius: 999px;
  overflow: hidden;
  margin: 2px 0 0;
}
.eai-bill-btn {
  appearance: none;
  border: 0;
  background: #fff;
  color: #007330;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  min-height: 36px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.eai-bill-btn.is-on { background: #007330; color: #fff; }
.eai-tier .eai-btn { width: 100%; margin-top: auto; }
.eai-tiers-more { display: grid; gap: 14px; }
@media (min-width: 640px) {
  .eai-tiers-more { grid-template-columns: 1fr 1fr; }
}
.viz-legal, .viz-med { display: grid; gap: 8px; padding: 14px; }
.viz-doc, .viz-cal-event {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
}
.viz-doc.is-on, .viz-cal-event:last-child { background: #dfeee4; color: var(--green-dark); }
.viz-cal-top { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.viz-cal-event { display: flex; justify-content: space-between; gap: 8px; }
.viz-cal-event span { color: var(--muted); font-weight: 600; }

/* Embedded on the live /ai-agent-teams/ page — not a full-canvas takeover */
.eai-intake--embed {
  min-height: 0;
  padding: 8px 0 28px;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  align-items: stretch;
}
.eai-intake--embed .eai-intake__logo { width: 64px; height: 64px; margin: 0 auto 14px; }
.eai-intake--embed .eai-screen {
  width: 100%;
  background: var(--card);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 22px 22px 26px;
}
.eai-intake--embed .eai-progress { width: 100%; }
#eai-intake-embed { max-width: 40rem; margin: 0 auto; }
.eai-intake-gf[hidden], .eai-intake-gf[style*="display: none"], .eai-intake-gf.is-hidden { display: none !important; }
@media (max-width: 430px) {
  .eai-intake--embed { padding: 4px 0 20px; }
  .eai-intake--embed .eai-screen { padding: 16px 14px 20px; }
  .eai-plan { padding: 14px 12px 12px; }
  .eai-plan-total strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .eai-screen, .eai-intake--embed .eai-screen { animation: none; }
}

/* 1.5.5: start-screen options are clearly clickable buttons (737 + 818) */
.eai-choices {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin: 4px 0 0;
}
.eai-choice {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 16px 16px;
  margin: 0;
  min-height: 76px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  background: #e7f4eb;
  border: 2px solid #007330;
  border-radius: 14px;
  box-shadow: 4px 4px 0 #062b1f;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  appearance: none;
  -webkit-appearance: none;
}
.eai-choice:hover,
.eai-choice:focus-visible {
  transform: translate(-2px, -3px);
  box-shadow: 7px 8px 0 #062b1f;
  background: #d5eddc;
  border-color: #055c28;
  outline: none;
}
.eai-choice:focus-visible {
  box-shadow: 7px 8px 0 #062b1f, 0 0 0 3px rgba(0, 115, 48, 0.35);
}
.eai-choice:active {
  transform: translate(1px, 2px);
  box-shadow: 2px 2px 0 #062b1f;
  background: #c5e6cf;
  border-color: #055c28;
}
.eai-choice__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #007330;
  border: 0;
  color: #fff;
  display: grid;
  place-items: center;
}
.eai-choice__icon svg { width: 22px; height: 22px; stroke: #fff; }
.eai-choice b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #04150f;
  letter-spacing: -0.02em;
}
.eai-choice small {
  display: block;
  color: #355c44;
  font-size: 13px;
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.35;
}
.eai-choice__chev {
  margin-left: auto;
  font-size: 26px;
  font-weight: 700;
  color: #007330;
  flex: 0 0 auto;
  align-self: center;
}
.eai-screen:has(.eai-choices) h1,
.eai-screen:has(.eai-choice) h1 {
  font-size: clamp(1.7rem, 5vw, 2.15rem);
}
@media (max-width: 430px) {
  .eai-choices { gap: 12px; }
  .eai-choice {
    width: 100%;
    min-height: 80px;
    padding: 16px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eai-choice { transition: none; }
  .eai-choice:hover, .eai-choice:focus-visible, .eai-choice:active { transform: none; }
}

/* ======================================================================
 * 1.5.6: the intake is always dark text on its light cards. It never
 * inherits a page's text color (page 737 sets light-on-green text on
 * .eg-ai, which made names, checklists and view counts unreadable).
 * ==================================================================== */
.eai-intake,
.eai-intake .eai-screen {
  color: #1a1a1a;
}
.eai-intake .eai-screen h1,
.eai-intake .eai-screen h2,
.eai-intake .eai-screen h3,
.eai-intake .eai-agent-copy,
.eai-intake .eai-legend {
  color: #1a1a1a;
}
.eai-intake .eai-screen .eai-lead,
.eai-intake .eai-suggested,
.eai-intake .eai-agent-top .who small,
.eai-intake .eai-back {
  color: #4b5563;
}
.eai-intake .eai-back:hover { color: #1a1a1a; }
.eai-intake .eai-agent-top .who b { color: #007330; }
.eai-intake .eai-pill,
.eai-intake .eai-dept b,
.eai-intake .eai-path,
.eai-intake .eai-ind,
.eai-intake .eai-sug,
.eai-intake .eai-review,
.eai-intake .eai-review-q,
.eai-intake .eai-review-who b,
.eai-intake .eai-status li.is-run,
.eai-intake .eai-status li.is-done {
  color: #1f2937;
}
/* Rows still waiting on the analyze screen: lighter, but still AA (≈4.9:1). */
.eai-intake .eai-status li { color: #736d64; }
.eai-intake .eai-status li.is-run,
.eai-intake .eai-status li.is-done { color: #1f2937; }
.eai-intake .eai-review-q mark { color: #1f2937; }
.eai-intake .viz-tile,
.eai-intake .viz-inv,
.eai-intake .viz-ticker,
.eai-intake .viz-task,
.eai-intake .viz-phase,
.eai-intake .viz-metric,
.eai-intake .viz-col strong,
.eai-intake .viz-cal-top,
.eai-intake .eai-proj-hours,
.eai-intake .eai-plan {
  color: #1f2937;
}
.eai-intake .viz-ticker span,
.eai-intake .eai-proj-hours span { color: #007330; }
.eai-intake .phone .views { color: #374151; background: #fff; }
.eai-intake .phone .ph { background: linear-gradient(160deg, #cfe6d7, #8fc3a2); }
.eai-intake .viz-post .ph { background: #cfe6d7; }
.eai-intake .viz-hero,
.eai-intake .viz-chip { background: #cfe6d7; }

/* ======================================================================
 * 1.5.6: full-screen, app-style intake overlay (page 737 "Build your team").
 * ==================================================================== */
html.eai-overlay-lock,
body.eai-overlay-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.eai-overlay-lock {
  position: fixed !important;
  left: 0;
  right: 0;
  width: 100%;
}
.eai-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #062b1f;
  color: #1a1a1a;
  display: none;
}
.eai-overlay.is-open {
  display: block;
  animation: eai-ovl-in .22s ease-out both;
}
@keyframes eai-ovl-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.eai-overlay__scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.eai-overlay__panel {
  width: min(100%, 40rem);
  min-height: 100%;
  margin: 0 auto;
  padding: calc(64px + env(safe-area-inset-top, 0px)) 16px calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.eai-overlay.is-open .eai-overlay__panel {
  animation: eai-ovl-up .28s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes eai-ovl-up {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.eai-overlay #eai-intake-embed { max-width: 100%; width: 100%; margin: 0 auto; }
.eai-overlay .eai-intake--embed { padding: 0 0 12px; max-width: 100%; }
.eai-overlay .eai-intake--embed .eai-screen {
  border-color: #04150f;
  box-shadow: 6px 6px 0 #04150f;
}
.eai-overlay .eai-progress span { background: rgba(255, 255, 255, .22); }
.eai-overlay .eai-progress span.is-done,
.eai-overlay .eai-progress span.is-current { background: #34d17a; }
.eai-overlay__close {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-width: 0;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, .55);
  background: rgba(4, 21, 15, .7);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.eai-overlay__close:hover { background: #007330; border-color: #fff; }
.eai-overlay__close:active { transform: scale(.94); }
.eai-overlay__close:focus-visible { outline: 3px solid #6ee7b7; outline-offset: 2px; }
.eai-overlay__close svg { display: block; }
@media (min-width: 768px) {
  .eai-overlay__panel { padding-top: 72px; padding-left: 24px; padding-right: 24px; }
  .eai-overlay__close { top: 20px; right: 24px; width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .eai-overlay.is-open,
  .eai-overlay.is-open .eai-overlay__panel { animation: none; }
}

/* 1.5.6: plan-screen avatars are round 44px circles (flex basis was 72px, which squashed them into ovals). */
.eai-plan-row .eai-avatar { flex: 0 0 44px; width: 44px; height: 44px; }
/* Theme buttons force a 4px radius with !important; keep the close control round. */
html body #eai-overlay button.eai-overlay__close { border-radius: 50% !important; padding: 0 !important; }

/* 1.6.3 Stripe checkout link on the Base (personal assistant) plan */
a.eai-btn.eai-btn--checkout, a.eai-btn.eai-btn--checkout:visited { color: #fff !important; display: flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; box-sizing: border-box; }
a.eai-btn.eai-btn--checkout:hover, a.eai-btn.eai-btn--checkout:focus { text-decoration: none; }
.eai-tier-secure { margin: 0; font-size: 12.5px; font-weight: 600; color: #736d64; text-align: center; }
.eai-tier .eai-textlink { padding: 4px 8px 0; }
