/* Vendabo Site 2026: ia.html. Shared rules live in site.css. Manual: docs/design/vendabo-site-2026/DESIGN.md */
/* Hero: a conversation with your assistant, reading your store and asking before it changes anything */
.stage--ai { padding: 64px 24px 72px; }
.window--ai { max-width: 820px; text-align: left; }
.aic { display: grid; gap: 12px; align-content: end; min-height: 520px; padding: 20px 24px 24px; background: #ffffff; }
.aic > * { display: none; }
.aic > .is-on { display: block; animation: aic-in 500ms var(--ease) both; }
.aic > .tool.is-on, .aic > .ask.is-on { display: flex; }
@keyframes aic-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.you { justify-self: end; margin: 0; max-width: 78%; padding: 12px 14px; border-radius: 14px; border-bottom-right-radius: 4px; background: var(--navy); color: #ffffff; font-size: 14.5px; line-height: 1.45; }
.tool { justify-self: start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--cream); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.tool .app__icon { width: 20px; height: 20px; border-radius: 6px; }
.tool .app__icon img { width: 12px; height: 12px; }
.tool i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 1s var(--ease) infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.bot { justify-self: start; max-width: 88%; font-size: 14.5px; line-height: 1.55; color: var(--navy); }
.bot p { margin: 0; }
.sumtab { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sumtab span { padding: 10px 12px; border-radius: 10px; background: var(--cream); font-size: 12px; color: var(--text-3); }
.sumtab b { display: block; margin-top: 4px; font-family: var(--display); font-variation-settings: var(--display-fvs); font-weight: var(--display-wght); font-size: 18px; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sumtab em { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ok); }
.ask { justify-self: start; flex-direction: column; gap: 10px; width: min(100%, 460px); padding: 14px 16px; border-radius: 14px; border: 1px solid var(--sand); background: #ffffff; box-shadow: 0 10px 24px rgba(44, 62, 80, 0.08); font-size: 13.5px; }
.ask > b { font-size: 13px; font-weight: 600; color: #a35612; }
.ask dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.ask dt { color: var(--text-3); }
.ask dd { margin: 0; font-weight: 500; }
.ask__btns { display: flex; gap: 8px; }
.ask__btns span { height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; transition: transform 200ms var(--ease); }
.ask__ok { background: var(--navy); color: #ffffff; }
.ask__no { background: var(--beige); color: var(--navy); }
.ask__ok.is-press { transform: scale(0.95); }
.ask.is-done .ask__btns { display: none; }
.ask__done { display: none; align-items: center; gap: 6px; color: #17694a; font-weight: 600; }
.ask__done .icon { width: 15px; height: 15px; }
.ask.is-done .ask__done { display: inline-flex; }
.aic__input { display: flex; align-items: center; gap: 10px; margin: 0 24px 20px; padding: 10px 10px 10px 16px; border-radius: 14px; border: 1px solid var(--sand); font-size: 14px; color: var(--text-3); }
.aic__input span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aic__input b { width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #ffffff; display: grid; place-items: center; flex-shrink: 0; }
.aic__input b .icon { width: 16px; height: 16px; }

.sec-head { max-width: 760px; margin: 0 auto; text-align: center; }
.sec-head h2 { margin: 18px 0 0; }
.sec-head .lead { margin: 18px 0 0; }

/* What you can ask */
.asks { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acard { display: flex; flex-direction: column; padding: 28px; border-radius: 16px; background: #ffffff; }
.acard h3 { margin: 16px 0 0; font-size: 17px; font-weight: 600; }
.acard q { display: block; margin: 12px 0 0; font-family: var(--display); font-variation-settings: var(--display-fvs); font-weight: var(--display-wght); font-size: 21px; line-height: 1.3; letter-spacing: var(--track-s); color: var(--navy); quotes: '«' '»'; text-wrap: balance; }
.acard p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

/* Steps */
.psteps { position: relative; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
/* From the centre of the first circle to the centre of the last: column width = (100% - 2 gaps) / 3 */
.psteps__rail { position: absolute; left: 36px; right: calc((100% - 96px) / 3 - 36px); top: 36px; height: 1.5px; background: var(--line); overflow: hidden; }
.psteps__rail::after { content: ''; position: absolute; top: -1px; left: -80px; width: 80px; height: 3.5px; border-radius: 999px; background: linear-gradient(90deg, rgba(230, 126, 34, 0), var(--orange)); animation: rail 3.2s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
@keyframes rail { to { left: 100%; } }
.pstep__num { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: #ffffff; border: 1.5px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-variation-settings: var(--display-fvs); font-weight: var(--display-wght); font-size: 34px; color: var(--navy); }
.pstep:last-child .pstep__num { background: var(--orange); border-color: var(--orange); }
.pstep h3 { margin: 28px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.pstep p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

/* You stay in control (navy band) */
.ctrl { background: var(--navy); color: #ffffff; padding: 112px 0; }
.ctrl__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.chip--dark { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.ctrl h2 { margin: 18px 0 0; color: #ffffff; }
.ctrl .lead { margin: 18px 0 0; color: rgba(255, 255, 255, 0.78); }
.ctrl .flist li { color: rgba(255, 255, 255, 0.86); }
.perm { border-radius: 16px; background: #ffffff; color: var(--navy); padding: 24px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25); font-size: 13.5px; }
.perm__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #f2ece3; }
.perm__head b { display: block; font-size: 15px; font-weight: 600; }
.perm__head small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.perm ul { list-style: none; margin: 6px 0 0; padding: 0; }
.perm li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f6f1ea; }
.perm li small { display: block; font-size: 12px; color: var(--text-3); }
.perm__foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-3); }
.perm__foot span:last-child { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--beige); color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }

@media (max-width: 960px) {
  .stage--ai { padding: 20px 10px 28px; }
  .aic { min-height: 520px; padding: 16px; }
  .you { max-width: 90%; }
  .bot { max-width: 100%; }
  .sumtab { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sumtab span:last-child { grid-column: 1 / -1; }
  .aic__input { margin: 0 16px 16px; }
  .sec-head { text-align: left; }
  .asks { grid-template-columns: minmax(0, 1fr); margin-top: 32px; gap: 12px; }
  .acard { padding: 24px; }
  .psteps { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
  .psteps__rail { display: none; }
  .pstep { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .pstep__num { width: 56px; height: 56px; font-size: 26px; grid-row: span 2; }
  .pstep h3 { margin: 4px 0 0; font-size: 19px; }
  .pstep p { margin-top: 6px; }
  .ctrl { padding: 80px 0; }
  .ctrl__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .perm { padding: 20px; }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
