/* The home page. Everything reads without home.js: it only plays the hero's demo, moves the
   tour's pictures into one pinned frame on wide screens, and starts animations on scroll.
   With no script, every part shows its finished state. */

.h2.wide { max-width: 20ch; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 3.6vw, 52px) 0 0; overflow: hidden; }
.reveal-load { animation: fade-up var(--enter) var(--ease) both; }
.hero-title { margin-top: 20px; font-size: clamp(3rem, 5.4vw, 5.5rem); line-height: .95; letter-spacing: -.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: inline-block; animation: rise-text var(--enter) var(--ease) both; }
.hero-title .line + .line > span { animation-delay: .1s; }
.hero-title em { font-style: normal; color: var(--sun); }
@keyframes rise-text { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-top: clamp(22px, 2.4vw, 32px); animation: fade-up var(--enter) var(--ease) .35s both; }
.hero-foot .lede { grid-column: 1 / span 6; }
.hero-foot .actions { grid-column: 7 / span 6; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hero-foot .cta { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 12px; }

/* ---------- The cinema: one live demo, the agent driving the product by voice ---------- */
.cinema { position: relative; margin: clamp(32px, 3.4vw, 48px) 0 0; padding-bottom: clamp(88px, 9vw, 128px); }
.cinema .glow {
  position: absolute; left: 50%; bottom: 0; width: min(1500px, 150vw); aspect-ratio: 2 / 1; transform: translateX(-50%);
  border-radius: 1500px 1500px 0 0; pointer-events: none;
  background: radial-gradient(70% 90% at 50% 100%, #F08A55 0%, var(--sun) 30%, #E9946C 55%, rgba(240, 190, 160, .45) 75%, rgba(244, 241, 238, 0) 100%);
  animation: sunrise 2.2s var(--ease) .2s both;
}
.cinema .glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(40% 60% at 50% 100%, rgba(255, 236, 214, .55), transparent 70%); animation: breathe-glow 7s ease-in-out 2; }
@keyframes sunrise { from { transform: translate(-50%, 22%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes breathe-glow { 50% { opacity: .35; } }
.cinema::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); opacity: .14; }
.cinema > .wrap { position: relative; }

/* One window: the vendor's product, and under it what is being said. Light, like the page. */
.call {
  --hair: #EFE9E3; --mute: #8A7E75; --spring: cubic-bezier(.3, 1.25, .5, 1); --glide: cubic-bezier(.65, 0, .25, 1);
  position: relative; max-width: 1080px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(28, 23, 20, .07), 0 50px 100px -40px rgba(70, 25, 5, .42), 0 18px 36px -18px rgba(70, 25, 5, .16);
  font-size: 13px; line-height: 1.45; animation: lift var(--enter) var(--ease) .25s both;
}
@keyframes lift { from { transform: translateY(40px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.stage { position: relative; height: 540px; overflow: hidden; }

/* The vendor's product */
.ui { position: absolute; inset: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.ui-side { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 22px 14px; background: #FAF8F6; border-right: 1px solid var(--hair); }
.ui-logo { display: flex; align-items: center; gap: 9px; height: 24px; padding: 0 10px; margin-bottom: 18px; font-weight: 700; font-size: 14px; }
.ui-logo svg { width: 20px; height: 20px; }
.nav { position: relative; display: flex; align-items: center; height: 34px; padding: 0 10px; color: var(--mute); transition: color var(--quick) var(--ease); }
.nav-thumb { position: absolute; left: 14px; right: 14px; top: 64px; height: 34px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 1px 2px rgba(28, 23, 20, .06); transition: transform .5s var(--spring); }
.call[data-view="forecast"] .nav-thumb { transform: translateY(37px); }
.call[data-view="overview"] [data-nav="overview"], .call[data-view="forecast"] [data-nav="forecast"] { color: var(--ink); font-weight: 600; }
.ui-main { display: grid; gap: 16px; align-content: start; min-width: 0; padding: 24px 28px; }
.ui-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ui-title { display: grid; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.ui-title span { grid-area: 1 / 1; transition: opacity var(--quick) var(--ease), transform var(--quick) var(--ease); }
.call[data-view="overview"] .t-forecast, .call[data-view="forecast"] .t-overview { opacity: 0; transform: translateY(6px); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 10px; background: #F3EFEB; font-size: 12px; font-weight: 600; color: var(--mute); }
.seg span { position: relative; padding: 6px 14px; text-align: center; transition: color var(--quick) var(--ease); }
.seg-thumb { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc(50% - 3px); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(28, 23, 20, .1); transition: transform .5s var(--spring); }
.call[data-region="on"] .seg-thumb { transform: translateX(100%); }
.call:not([data-region="on"]) .seg-total, .call[data-region="on"] .seg-region { color: var(--ink); }
.ui-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ui-kpis > div { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--hair); border-radius: 12px; }
.ui-kpis span { font-size: 12px; color: var(--mute); }
.ui-kpis b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ui-chart { padding: 16px 18px 14px; border: 1px solid var(--hair); border-radius: 12px; }
.legend { display: flex; align-items: center; gap: 6px; height: 16px; font-size: 11.5px; color: var(--mute); opacity: 0; transition: opacity var(--move) var(--ease); }
.legend i { width: 8px; height: 8px; border-radius: 2px; margin-left: 12px; }
.legend i:first-child { margin-left: 0; }
.l-na { background: var(--sun); } .l-em { background: #E2D9D0; } .l-ap { background: #F0EBE6; box-shadow: inset 0 0 0 1px #E2D9D0; }
/* Each bar is the total; by region, North America rises in the sun from its foot and APAC lightens its top. */
.bars { display: flex; align-items: flex-end; gap: 9px; height: 150px; margin-top: 10px; }
.bars i { position: relative; flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: #E2D9D0; overflow: hidden; transform-origin: bottom; animation: grow var(--enter) var(--ease) both; animation-delay: calc(.9s + var(--i) * 40ms); }
.bars i::before, .bars i::after { content: ""; position: absolute; left: 0; right: 0; }
.bars i::before { bottom: 0; height: 46%; background: var(--sun); box-shadow: 0 -2px 0 #fff; transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--glide); transition-delay: calc(var(--i) * 25ms); }
.bars i::after { top: 0; height: 24%; background: #F0EBE6; box-shadow: 0 2px 0 #fff; opacity: 0; transition: opacity var(--move) var(--ease); transition-delay: calc(.15s + var(--i) * 25ms); }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }
.call[data-region="on"] .legend, .call[data-region="on"] .bars i::after { opacity: 1; }
.call[data-region="on"] .bars i::before { transform: none; }
.ui-rows { border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; }
.ui-rows > div { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1fr; align-items: center; gap: 12px; height: 40px; padding: 0 16px; transition: background-color var(--move) var(--ease); }
.ui-rows > div + div { border-top: 1px solid #F4F0EC; }
.r-name { font-weight: 600; }
.r-d { color: var(--mute); }
.deal { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.deal svg { flex: none; width: 18px; height: 18px; }
.call .pill { justify-self: start; padding: 2px 9px; border-radius: 999px; background: var(--sun-soft); color: var(--sun-ink); font-weight: 700; font-size: 11.5px; }
.call[data-region="on"] .ui-rows .r1 { background: #FDF5F1; }

/* What the agent leaves on screen, in the sidebar's empty corner: the question it passed to the team, the meeting
   it booked, then the record it wrote. Each grows out of the agent's click, and its lines arrive one by one. */
.pop { position: absolute; left: 14px; bottom: 14px; z-index: 2; width: 172px; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 12.5px; box-shadow: 0 0 0 1px rgba(28, 23, 20, .07), 0 20px 40px -18px rgba(70, 25, 5, .35); opacity: 0; transform: scale(.9); transform-origin: 92% 12%; transition: opacity .18s var(--ease), transform .25s var(--ease); pointer-events: none; }
.call[data-pop="gap"] .pop-gap, .call[data-pop="book"] .pop-book, .call[data-pop="crm"] .pop-crm { opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .55s var(--spring); }
.pop > * { animation: none; }
.call[data-pop="gap"] .pop-gap > *, .call[data-pop="book"] .pop-book > *, .call[data-pop="crm"] .pop-crm > * { animation: line-in .4s var(--ease) both; animation-delay: calc(.12s + var(--k, 0) * 110ms); }
.pop > :nth-child(2) { --k: 1; } .pop > :nth-child(3) { --k: 2; }
@keyframes line-in { from { opacity: 0; transform: translateY(6px); } }
.pop p { margin: 0; color: var(--mute); }
.pop b { display: block; color: var(--ink); font-size: 13px; font-weight: 700; }
.pop-head { display: flex; align-items: center; gap: 8px; }
.pop .pop-q { margin: 8px 0; color: var(--ink); font-weight: 600; line-height: 1.35; }
.pop-foot { display: flex; align-items: center; gap: 6px; }
.pop-tick { flex: none; width: 14px; height: 14px; }
.pop-tick path { fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; }
.call[data-pop="gap"] .pop-gap .pop-tick path, .call[data-pop="book"] .pop-book .pop-tick path { animation: draw .4s var(--ease) both; animation-delay: .6s; }
@keyframes draw { from { stroke-dashoffset: 16; } }
.pop-book { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 6px 10px; }
.pop-book .day { grid-row: span 2; }
.pop-who { display: flex; align-items: flex-start; gap: 8px; line-height: 1.3; }
.pop-who img { flex: none; margin-top: 1px; }
.pop .pop-wants { margin: 10px 0 8px; padding-top: 10px; border-top: 1px solid var(--hair); color: var(--ink); font-weight: 600; line-height: 1.35; }
.pop-next { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pop-next .good { padding: 1px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 11.5px; }
.call[data-pop="crm"] .pop-next .good { animation: stamp .5s var(--spring) both; animation-delay: .55s; }
@keyframes stamp { from { opacity: 0; transform: scale(.6); } }

/* What is being said, on top so it reads first: one line at a time, its words easing in, beside whoever says it */
.talk { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 88px; padding: 16px 24px; border-bottom: 1px solid var(--hair); }
.who { position: relative; display: grid; width: 40px; height: 40px; }
.who > span { grid-area: 1 / 1; display: grid; place-items: center; border-radius: 50%; opacity: 0; transform: scale(.8); transition: opacity var(--quick) var(--ease), transform .45s var(--spring); }
.who-g { background: #FBEDE6; }
.who-g svg { width: 22px; }
.who-b { background: #EDE8E3; color: var(--ink-2); font-size: 11.5px; font-weight: 700; }
.who-n { background: #FFF1EC; }
.call[data-who="g"] .who-g, .call[data-who="b"] .who-b, .call[data-who="n"] .who-n { opacity: 1; transform: none; }
.who::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0; }
.call[data-talking="on"] .who::after { animation: voice 1.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.call[data-who="g"] .who::after { box-shadow: 0 0 0 2px var(--sun); }
.call[data-who="b"] .who::after { box-shadow: 0 0 0 2px #B9ADA3; }
@keyframes voice { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }
.said { display: grid; }
.said p { grid-area: 1 / 1; align-self: center; margin: 0; font-size: 20px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.said p[data-state="now"] { opacity: 1; transform: none; }
.said p[data-state="past"] { transform: translateY(-8px); }
.said .sp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.said .saying .w { animation: word-in .55s var(--ease) both; }
@keyframes word-in { from { opacity: 0; filter: blur(5px); transform: translateY(.25em); } }
.said .w { display: inline-block; }
/* What the agent is doing before it answers: its orb turns while the words show, then rests */
.said p.t { color: var(--ink-3); }
.orb { display: inline-block; width: 22px; height: 22px; margin-right: 10px; vertical-align: -4px; overflow: visible; }
.orb circle { fill: var(--sun); transform-box: fill-box; transform-origin: center; }
.orb g { transform-origin: 10px 10px; }
.said p.t[data-state="now"] .orb g { animation: orb-turn 2.4s linear infinite; }
.said p.t[data-state="now"] .orb circle { animation: orb-dot 1.08s ease-in-out infinite; }
.orb circle:nth-child(1) { animation-delay: -0.00s; }
.orb circle:nth-child(2) { animation-delay: -0.12s; }
.orb circle:nth-child(3) { animation-delay: -0.24s; }
.orb circle:nth-child(4) { animation-delay: -0.36s; }
.orb circle:nth-child(5) { animation-delay: -0.48s; }
.orb circle:nth-child(6) { animation-delay: -0.60s; }
.orb circle:nth-child(7) { animation-delay: -0.72s; }
.orb circle:nth-child(8) { animation-delay: -0.84s; }
.orb circle:nth-child(9) { animation-delay: -0.96s; }
@keyframes orb-turn { to { transform: rotate(360deg); } }
@keyframes orb-dot { 0%, 100% { transform: scale(.45); opacity: .45; } 50% { transform: scale(1); opacity: 1; } }

/* The story's six moments: the one playing fills with the sun; any of them replays from there */
.marks { display: flex; align-items: center; gap: 2px; }
.marks[hidden] { display: none; }
.marks button { display: grid; place-items: center; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.marks [data-go] { width: 26px; }
.marks [data-go] i { position: relative; width: 20px; height: 3px; border-radius: 3px; background: rgba(28, 23, 20, .12); overflow: hidden; transition: background-color var(--quick) var(--ease); }
.marks [data-state="past"] i { background: rgba(28, 23, 20, .4); }
.marks [data-go]:hover i { background: rgba(28, 23, 20, .55); }
.marks [data-state="now"] i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sun); transform-origin: left; animation: progress var(--dur, 4s) linear both; }
@keyframes progress { from { transform: scaleX(0); } }
.marks .play { width: 32px; margin-right: 6px; border-radius: 50%; color: var(--ink); transition: background-color var(--quick) var(--ease); }
.marks .play:hover { background: #F3EFEB; }
.marks .play svg { width: 14px; height: 14px; fill: currentColor; }
.call.playing .i-play, .call:not(.playing) .i-pause { display: none; }
.marks button:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; border-radius: 8px; }
.paused .call *, .paused .call *::before, .paused .call *::after { animation-play-state: paused; }

/* The agent's cursor */
.ai-cursor { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: flex-start; pointer-events: none; transform: translate(62%, 60%); transition: transform 1.05s var(--glide), opacity var(--move) var(--ease); opacity: 0; }
html:not(.js) .ai-cursor { display: none; }
.ai-cursor .tip { width: 20px; height: 20px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .22)); }
.ai-cursor .face { width: 22px; height: 11px; }
.ai-cursor .eyes { transform-box: fill-box; transform-origin: 50% 70%; }
.ai-cursor.clicking .eyes { animation: blink var(--quick) var(--ease); }
@keyframes blink { 50% { transform: scaleY(.15); } }
.ai-cursor b { display: inline-flex; align-items: center; margin: 15px 0 0 -4px; padding: 6px 8px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(218, 84, 32, .35), 0 8px 18px -8px rgba(218, 84, 32, .65); }
.ai-cursor .click { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid var(--sun); opacity: 0; }
.ai-cursor.clicking .click { animation: click-ring var(--move) var(--ease); }
.ai-cursor.clicking .tip { animation: press var(--quick) var(--ease); }
@keyframes click-ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(4.5); } }
@keyframes press { 50% { transform: scale(.85); } }
.call:not([data-scene="0"]):not([data-scene="1"]) .ai-cursor { opacity: 1; }

@media (max-width: 900px) {
  .call { border-radius: 16px; }
  .stage { height: 480px; }
  .ui { grid-template-columns: minmax(0, 1fr); }
  .ui-side { display: none; }
  .ui-main { gap: 12px; padding: 18px 16px; }
  .ui-title { font-size: 16px; }
  .seg span { padding: 6px 10px; white-space: nowrap; }
  .ui-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-kpis > div:nth-child(3) { display: none; }
  .bars { height: 96px; gap: 5px; }
  .ui-rows > div { grid-template-columns: minmax(0, 1fr) auto 18px; }
  .deal span { display: none; }
  .r-num { display: none; }
  .call .pill { white-space: nowrap; }
  .legend { white-space: nowrap; }
  .legend i { margin-left: 8px; }
  .pop { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .pop-next { flex-direction: row; align-items: center; gap: 8px; }
  .talk { grid-template-columns: 32px minmax(0, 1fr); gap: 10px 12px; min-height: 0; padding: 14px 16px 8px; }
  .who { width: 32px; height: 32px; }
  .said p { font-size: 16.5px; }
  .marks { grid-column: 1 / -1; justify-content: center; }
}

.vc-sun svg { width: 26px; }
.wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.wave i { width: 3px; height: 100%; border-radius: 3px; background: var(--sun); transform-origin: center; animation: speak 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -.13s); }
@keyframes speak { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.chip { order: -1; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; box-shadow: 0 10px 24px -14px rgba(28, 23, 20, .5); animation: fade-up var(--move) var(--ease) both; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.src { background: #fff; color: #4A403A; }
.chip.gap { background: #FFF2D9; color: #8A5A00; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }

.av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #F3E6DD; color: #7A4A30; font-size: 11.5px; font-weight: 700; }
.day { flex: none; width: 40px; height: 44px; border-radius: 10px; background: #FCEDE6; color: var(--sun-ink); display: grid; place-items: center; align-content: center; font-weight: 700; font-size: 16px; line-height: 1; }
.day small { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }

/* Said to screen readers and to agents reading the page; the picture speaks for itself on screen. */
.cinema figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Use cases: where buyers find the agent, and where they land ---------- */
/* Two doors on the left (the website, an email), the sales team's HubSpot on the right, and the
   agent's hand carrying both buyers across. The page shows the finished picture; home.js plays each
   place once as it comes into view. */
.uses { padding-top: clamp(80px, 10vw, 140px); }
.ux { --spring: cubic-bezier(.3, 1.25, .5, 1); position: relative; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(48px, 6vw, 96px) minmax(0, .86fr); row-gap: 40px; }
.ux-site { grid-column: 1; grid-row: 1; }
.ux-mail { grid-column: 1; grid-row: 2; }
.ux-team { grid-column: 3; grid-row: 1 / 3; align-self: center; }
.ux-part h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.ux-part > p { margin-top: 6px; color: var(--ink-2); font-size: 1.0625rem; }
.ux-art { margin-top: 18px; }
.ux-site .ux-art, .ux-mail .ux-art { max-width: 460px; }
.ux > .ux-ink { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.u-site, .u-mail, .u-crm { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(28, 23, 20, .04), 0 18px 36px -22px rgba(28, 23, 20, .32); font-size: .8125rem; line-height: 1.35; color: var(--ink); }
.u-site b, .u-mail b, .u-crm b, .u-call b { display: block; font-size: .8125rem; font-weight: 600; }
.u-mail small, .u-crm small, .u-call time { display: block; color: var(--ink-3); font-size: .75rem; }
.u-call time { margin-top: 2px; }
.u-sun { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #FDF3EE; box-shadow: inset 0 0 0 1px #F8E2D6; }
.u-sun svg { width: 17px; }
.u-url { display: flex; align-items: center; gap: 5px; padding: 9px 14px; border-bottom: 1px solid #F0EBE6; color: var(--ink-3); font-size: .75rem; }
.u-url i { width: 7px; height: 7px; border-radius: 50%; background: #E9E2DB; }
.u-url span { margin-left: 8px; }
.u-page { display: grid; justify-items: start; gap: 10px; padding: 18px 20px 24px; }
.u-brand { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.u-brand svg { width: 16px; height: 16px; }
.u-head { font-size: 1.25rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.u-btn { position: relative; padding: 6px 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; }
.u-call { position: absolute; right: 22px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(28, 23, 20, .04), 0 14px 30px -14px rgba(28, 23, 20, .35); }
.u-call .wave { height: 13px; gap: 2px; }
.u-call .wave i { width: 2px; }
.u-mail, .u-crm { display: grid; gap: 12px; padding: 16px 18px 18px; }
.u-from { display: flex; align-items: center; gap: 9px; }
.u-mail .av, .u-crm .av { width: 30px; height: 30px; font-size: .625rem; }
.u-subj { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.u-demo { display: flex; align-items: center; gap: 10px; max-width: 340px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); }
.u-demo b { flex: 1; }
.u-play { position: relative; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); }
.u-play::after { content: ""; position: absolute; left: 9.5px; top: 7px; border-style: solid; border-width: 5px 0 5px 7.5px; border-color: transparent transparent transparent #fff; }
.u-trail { display: flex; gap: 6px; }
.u-trail span, .u-crm em { padding: 3px 9px; border-radius: 999px; font-size: .6875rem; font-weight: 700; font-style: normal; white-space: nowrap; }
.u-trail .ok, .u-crm .good { background: var(--ok-soft); color: var(--ok); }
.u-crm .hot { background: var(--sun-soft); color: var(--sun-ink); }
.u-crm-h { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.u-crm-h img { width: 16px; height: 16px; }
.u-crm ul { list-style: none; margin: 0; padding: 0; }
.u-crm li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid #F0EBE6; }
.u-crm li:last-child { padding-bottom: 2px; }
.u-crm li > span:nth-child(2) { flex: 1; min-width: 0; }
/* the buyer's pointer: it clicks once, and the demo grows out of the click */
.ux-cur { position: absolute; left: 64%; top: 56%; z-index: 3; width: 18px; height: 18px; opacity: 0; pointer-events: none; }
.u-play .ux-cur { left: 55%; top: 50%; }
.ux-cur svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ux-cur path { fill: var(--ink); stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; paint-order: stroke; }
.ux.armed .u-call { opacity: 0; transform: scale(.4); transform-origin: 8% 0; }
.ux.armed .u-trail span { opacity: 0; transform: scale(.8); transform-origin: 0 50%; }
.ux.armed .u-crm { opacity: 0; transform: translateY(10px) scale(.98); }
.ux.armed .u-crm li { opacity: 0; transform: translateX(-14px); }
.ux.armed .u-crm em { opacity: 0; transform: scale(1.3); }
.ux .go .ux-cur { animation: ux-cur 1.4s cubic-bezier(.3, .7, .3, 1) both; }
.ux .go .u-btn, .ux .go .u-demo { animation: ux-press .24s ease .58s; }
.ux.armed .go .u-call { opacity: 1; transform: none; transition: opacity .2s .72s, transform .6s var(--spring) .72s; }
.ux.armed .go .u-trail span { opacity: 1; transform: none; transition: opacity .2s .8s, transform .5s var(--spring) .8s; }
.ux.armed .go .u-crm { opacity: 1; transform: none; transition: opacity .3s .2s, transform .5s var(--spring) .2s; }
.ux.armed .go .u-crm li { opacity: 1; transform: none; transition: opacity .3s .55s, transform .55s var(--spring) .55s; }
.ux.armed .go .u-crm li + li { transition-delay: .85s; }
.ux.armed .go .u-crm em { opacity: 1; transform: none; transition: opacity .15s 1s, transform .4s var(--spring) 1s; }
.ux.armed .go .u-crm li + li em { transition-delay: 1.3s; }
@keyframes ux-cur {
  0% { opacity: 0; transform: translate(44px, 30px); }
  14% { opacity: 1; }
  42% { transform: none; }
  48% { transform: scale(.82); }
  56% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
@keyframes ux-press { 50% { transform: scale(.96); } }

/* ---------- The wait: one week, the usual way against Solacia ---------- */
/* Monday 13 to Monday 20 on one line; an event sits at --x, its hours since Monday 00:00 / 192.
   The page shows the finished week; home.js plays it once (a playhead walks the week) and draws
   the agent's marks in sun ink. */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/caveat-latin.woff2") format("woff2");
}
.wait .h2 { max-width: 30ch; text-wrap: balance; }
.wk { --mid: 75px; --spring: cubic-bezier(.3, 1.25, .5, 1); position: relative; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 136px minmax(0, 1fr); grid-template-rows: 30px 184px 150px; }
.wk-days { grid-column: 2; grid-row: 1; position: relative; display: flex; }
.wk-days span { flex: 1 1 0; position: relative; padding-left: 8px; padding-top: 4px; font-size: .75rem; color: var(--ink-3); white-space: nowrap; transition: color .2s; }
.wk-days span::before { content: ""; position: absolute; left: 0; top: 0; height: 364px; border-left: 1px dashed var(--line); }
.wk-days span:nth-child(6)::after, .wk-days span:nth-child(7)::after { content: ""; position: absolute; inset: 0 0 auto; height: 364px; background: rgba(28, 23, 20, .028); }
.wk-days span.cur { color: var(--ink); font-weight: 600; }
.wk-now { position: absolute; z-index: 0; top: 0; left: calc(var(--p, 0) * 100%); transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s; pointer-events: none; }
.wk-now::after { content: ""; position: absolute; left: 50%; top: 30px; width: 1px; height: 334px; background: var(--ink); }
.wk.run .wk-now { opacity: 1; }
.wk-lane { display: contents; }
.wk-name { grid-column: 1; margin: 0; padding-top: calc(var(--mid) - 12px); display: flex; gap: 8px; align-items: center; align-self: start; font-size: .9375rem; font-weight: 600; line-height: 1.5; }
.wk-usual .wk-name { grid-row: 2; }
.wk-sol .wk-name { grid-row: 3; }
.wk-sun { width: 22px; height: 11px; flex: none; }
.wk-sun svg { display: block; width: 100%; height: 100%; }
.wk-line { grid-column: 2; position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; }
.wk-usual .wk-line { grid-row: 2; }
.wk-sol .wk-line { grid-row: 3; box-shadow: inset 0 1px 0 var(--line); }
.wk-line::before { content: ""; position: absolute; left: 0; right: 0; top: var(--mid); height: 1px; background: var(--line-2); }
/* how warm the buyer is: the sun fades to grey while the usual way waits, and stays lit with Solacia */
.wk-line::after { content: ""; position: absolute; top: calc(var(--mid) - 1px); left: 11.04%; height: 3px; border-radius: 3px; clip-path: inset(0 calc((1 - var(--q, 1)) * 100%) 0 0); }
.wk-usual .wk-line::after { width: 81.67%; background: linear-gradient(90deg, var(--sun), #EBA27F 22%, var(--sun-soft) 45%, var(--line) 75%); }
.wk-sol .wk-line::after { width: 34.27%; background: var(--sun); }
.wk-line li { position: absolute; left: calc(var(--x) * 100%); top: var(--mid); width: 0; height: 0; }
.wk-usual li:nth-child(1), .wk-sol li:nth-child(1) { --x: .1104; }
.wk-usual li:nth-child(2) { --x: .1774; }
.wk-usual li:nth-child(3) { --x: .3125; }
.wk-usual li:nth-child(4) { --x: .9271; }
.wk-sol li:nth-child(2) { --x: .1121; }
.wk-sol li:nth-child(3) { --x: .4531; }
.wk-line li::before { content: ""; position: absolute; z-index: 1; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.wk-sol li::before { box-shadow: inset 0 0 0 2px var(--sun); }
.wk-line li::after { content: ""; position: absolute; left: -.5px; bottom: 0; width: 1px; height: 16px; background: var(--ink-3); transform-origin: bottom; }
.wk-line li.wk-down::after { top: 0; bottom: auto; transform-origin: top; }
.wk-card { --dy: 8px; position: absolute; left: -16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 7px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(28, 23, 20, .04), 0 8px 20px -10px rgba(28, 23, 20, .22); white-space: nowrap; transform-origin: 16px 100%; }
.wk-down .wk-card { --dy: -8px; bottom: auto; top: 16px; transform-origin: 16px 0; }
.wk-end .wk-card { left: auto; right: -16px; transform-origin: calc(100% - 16px) 0; }
.wk-card b { display: block; font-size: .84375rem; font-weight: 600; line-height: 1.25; }
.wk-card time { display: block; font-size: .75rem; color: var(--ink-3); line-height: 1.3; }
.wk-ico { position: relative; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--card); border: 1px solid #EFE9E3; color: var(--ink-2); }
.wk-ico svg { width: 16px; height: 16px; }
.wk-ico.wk-agent { background: #FDF3EE; border-color: #F8E2D6; }
.wk-ico.wk-agent svg { width: 20px; height: 10px; }
.wk-n { position: absolute; right: -5px; top: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .625rem; font-weight: 700; display: grid; place-items: center; }
.wk-date { width: 32px; height: 34px; flex: none; display: grid; grid-template-rows: 11px 1fr; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: #fff; text-align: center; }
.wk-date i { font-style: normal; font-size: .5rem; font-weight: 700; letter-spacing: .06em; line-height: 11px; background: var(--ink-2); color: #fff; }
.wk-sol .wk-date i { background: var(--sun); }
.wk-date b { font-size: .875rem; font-weight: 600; line-height: 21px; }
/* the agent's hand: Caveat in sun ink, a few words at most, drawn over the product */
.wk-note { position: absolute; z-index: 2; margin: 0; font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-weight: 600; font-size: 1.875rem; line-height: 1; color: var(--sun-ink); white-space: nowrap; }
.wk-wait { left: calc(136px + (100% - 136px) * .5188); top: 175px; translate: -50% 0; }
.wk-same { left: calc(136px + (100% - 136px) * .1104 + 200px); top: 246px; }
.wk-ink { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wk-ink path { fill: none; stroke: var(--sun); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; }
/* the week plays once in view: home.js arms it, then marks each event .on as the playhead passes */
.wk.armed .wk-line li::before { transform: scale(0); transition: transform .3s var(--spring); }
.wk.armed .wk-line li::after { transform: scaleY(0); transition: transform .25s ease-out .06s; }
.wk.armed .wk-card { opacity: 0; transform: translateY(var(--dy)) scale(.94); transition: opacity .2s .12s, transform .5s var(--spring) .12s; }
.wk.armed .wk-line li.on::before, .wk.armed .wk-line li.on::after, .wk.armed .wk-line li.on .wk-card { opacity: 1; transform: none; }
.wk.armed .wk-note { opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s var(--spring); }
.wk.armed .wk-ink path { stroke-dashoffset: 1; }
.wk.marked .wk-note { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.wk.marked .wk-ink path { stroke-dashoffset: 0; transition: stroke-dashoffset var(--len, .6s) cubic-bezier(.6, .05, .3, 1) var(--d, 0s); }
/* ---------- The agent's hand: sun-ink marks over the product (home.js draws them in view) ---------- */
[data-hand] { position: relative; }
[data-mark] { white-space: nowrap; }
[data-hand] > .hand { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hand path { fill: none; stroke: var(--sun); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.inked > .hand path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s cubic-bezier(.6, .05, .3, 1) var(--d, 0s); }
@media (max-width: 900px) {
  /* time runs down on a phone: each way is a short list, and the marks sit in the margin */
  .wk { display: block; }
  .wk-days { display: none; }
  .wk-lane { display: block; position: relative; }
  .wk-lane + .wk-lane { margin-top: 36px; }
  .wk-name { padding: 0; margin-bottom: 14px; }
  .wk-line { display: grid; gap: 12px; justify-items: start; padding-left: 24px; }
  .wk-sol .wk-line { box-shadow: none; }
  .wk-line::before { left: 5px; right: auto; top: 24px; bottom: 24px; width: 1px; height: auto; }
  .wk-line::after, .wk-usual .wk-line::after, .wk-sol .wk-line::after { left: 4px; top: 24px; bottom: 24px; width: 3px; height: auto; clip-path: inset(0 0 calc((1 - var(--q, 1)) * 100%) 0); }
  .wk-usual .wk-line::after { background: linear-gradient(180deg, var(--sun), #EBA27F 30%, var(--sun-soft) 60%, var(--line)); }
  .wk-line li { position: relative; left: auto; top: auto; width: auto; height: auto; max-width: calc(100% - 52px); }
  .wk-line li::before { left: -23px; top: 50%; margin-top: -4px; }
  .wk-line li::after { display: none; }
  .wk-card, .wk-down .wk-card, .wk-end .wk-card { position: relative; inset: auto; white-space: normal; transform-origin: 0 50%; }
  .wk-note, .wk-wait, .wk-same { position: static; display: block; margin: 12px 0 0 24px; translate: none; }
  .wk.drawn .wk-note { position: absolute; margin: 0; }
  .wk.drawn .wk-note.turned { rotate: -90deg; transform-origin: 0 0; }
}
.wk.measure .wk-card { transform: none !important; transition: none !important; }

/* ---------- The tour: five steps, one stage ---------- */
/* The steps are a list beside one picture frame. With the script each step plays in turn while the
   frame is in view: its picture plays its one moment and the line beside the step fills, then the
   next step starts. A click shows that step and stops the turns. Without the script, or with reduced
   motion, every picture shows its finished state. */
.tour { background: var(--paper-2); --ink-3: #6A5E55; }
.tr { --spring: cubic-bezier(.3, 1.25, .5, 1); margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tr-list { list-style: none; padding: 0; margin: 0; display: grid; }
.tr-item { position: relative; padding: 16px 0 16px 24px; }
.tr-item::before, .tr-bar { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--line); }
.tr-bar { background: var(--ink); transform: scaleY(0); transform-origin: top; }
.tr-item h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.15; letter-spacing: -.02em; }
.tr-item button { font: inherit; color: inherit; letter-spacing: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.tr-item p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; max-width: 27rem; }
.tr-frame { position: relative; min-width: 0; }
.tr-next { display: none; }
html.js .tr-next { position: absolute; right: 18px; bottom: 18px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(28, 23, 20, .6); transition: background .15s; }
html.js .tr-next:hover { background: #3A302A; }
.tr-next svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.js .tr-stage { cursor: pointer; padding-bottom: 76px; }
.tr-item button::after { content: ""; position: absolute; inset: 0; }
.tr-item button:focus-visible { outline: none; }
.tr-item:has(button:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.tr-stage { position: relative; display: grid; gap: 40px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: #2B2420; }
.tr-pic { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; }
/* the pictures read at a glance: product type a size up from the other sections */
.tr-stage { font-size: 15px; }
@media (min-width: 700px) {
  .tr-stage .mini-bar span, .tr-stage .mini-side { font-size: 12.5px; }
  .tr-stage .mini-kpis span { font-size: 18px; padding: 9px 11px; }
  .tr-stage .mini-kpis small { font-size: 11.5px; }
  .tr-stage .mini-chart { height: 112px; gap: 8px; }
  .tr-stage .mini-rows { font-size: 14px; }
  .tr-stage .mini-rows span { padding: 8px 2px; }
  .tr-stage .stops span { font-size: 13px; padding: 7px 13px; }
  .tr-stage .langs span { font-size: 14px; padding: 8px 16px; }
}
.tr-stage .qa .q, .tr-stage .qa .a { padding: 10px 14px; }
.tr-stage .chip { font-size: 12.5px; }
.tr-stage .lines { height: 168px; }
.tr-stage .lines b, .tr-stage .lines span { font-size: 18px; padding: 12px 16px; }
.tr-stage .checks span:last-child { font-size: 16px; }
.tr-stage .checks b { font-size: 12.5px; }
.tr-stage .checks p { padding: 15px 18px; }
.tr-stage .verdict b { font-size: 17px; }
.tr-stage .vis-handoff .card { padding: 18px 20px; }
.tr-stage .vis-handoff .card .k { font-size: 11px; }
.tr-stage .vis-handoff .card b { font-size: 16.5px; }
.tr-stage .vis-handoff .card small { font-size: 14px; }

/* 01 show */
.mini { position: relative; background: #fff; border: 1px solid #ECE6E0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(60, 25, 5, .35); }
.mini-bar { display: flex; gap: 5px; padding: 10px 12px; border-bottom: 1px solid #F0EBE6; }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: #E4DDD6; }
.mini-bar span { margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.mini-body { display: grid; grid-template-columns: 82px 1fr; }
.mini-side { border-right: 1px solid #F0EBE6; padding: 12px 8px; display: grid; gap: 4px; align-content: start; font-size: 11px; color: var(--ink-3); }
.mini-side span { padding: 4px 6px; border-radius: 6px; }
.mini-side .on { background: var(--paper); color: var(--ink); font-weight: 600; }
.mini-main { padding: 14px; display: grid; gap: 10px; align-content: start; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-kpis span { padding: 7px 9px; border-radius: 8px; border: 1px solid #F0EBE6; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.mini-kpis small { display: block; font-size: 10px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; padding: 8px; border: 1px solid #F0EBE6; border-radius: 8px; }
.mini-chart i { flex: 1; border-radius: 3px; background: linear-gradient(to top, var(--sun) 0 40%, #E2D9D0 40%); }
.mini-chart i:nth-child(1) { height: 35%; } .mini-chart i:nth-child(2) { height: 42%; } .mini-chart i:nth-child(3) { height: 40%; } .mini-chart i:nth-child(4) { height: 55%; }
.mini-chart i:nth-child(5) { height: 61%; } .mini-chart i:nth-child(6) { height: 70%; } .mini-chart i:nth-child(7) { height: 82%; } .mini-chart i:nth-child(8) { height: 94%; }
.mini-rows { display: grid; font-size: 12px; }
.mini-rows span { display: flex; justify-content: space-between; gap: 10px; padding: 6px 2px; border-top: 1px solid #F0EBE6; }
.mini-rows b { font-weight: 600; }
.mini-rows em { font-style: normal; color: var(--ink-3); }
.mini-rows span:first-child em { color: var(--sun-ink); font-weight: 600; }
@media (max-width: 520px) { .mini-body { grid-template-columns: 1fr; } .mini-side { display: none; } }
.stops { display: flex; flex-wrap: wrap; gap: 8px; }
.stops span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #ECE6E0; color: #6E625A; font-weight: 600; font-size: 12px; }
.stops span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #D6CEC6; }
.stops .done::before { background: var(--ok); border-color: var(--ok); }
.stops .now { color: var(--ink); border-color: var(--sun); }
.stops .now::before { background: var(--sun); border-color: var(--sun); }

/* 02 answers */
.qa { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #ECE6E0; box-shadow: 0 24px 50px -34px rgba(60, 25, 5, .35); }
.qa .q { align-self: flex-end; max-width: 85%; padding: 9px 12px; border-radius: 14px 14px 5px 14px; background: var(--ink); color: #fff; }
.qa .a { align-self: flex-start; max-width: 92%; padding: 9px 12px; border-radius: 14px 14px 14px 5px; background: #F5F1ED; }
.qa + .qa { margin-left: 28px; }
.qa .chip { order: 0; align-self: flex-start; animation: none; }

/* 03 language */
.langs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid #ECE6E0; align-self: flex-start; }
.langs span { padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 12.5px; color: #6E625A; }
.langs span:first-child { background: var(--ink); color: #fff; }
.lines { position: relative; height: 150px; }
.lines p { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; opacity: 0; }
.lines p:first-child { opacity: 1; }
.lines b { align-self: flex-end; padding: 10px 14px; border-radius: 16px 16px 5px 16px; background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; }
.lines span { align-self: flex-start; padding: 10px 14px; border-radius: 16px 16px 16px 5px; background: #fff; border: 1px solid #ECE6E0; font-size: 15px; }
.wave.big { height: 34px; gap: 4px; align-self: center; }
.wave.big i { width: 4px; }

/* 04 qualify */
.checks { display: grid; gap: 10px; }
.checks p { display: grid; grid-template-columns: 28px 86px 1fr; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #ECE6E0; }
.checks b { color: #9A8E85; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.checks span:last-child { font-weight: 600; font-size: 14px; }
/* an empty box the agent ticks off by hand (home.js) */
.tick { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.verdict { align-self: flex-start; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.verdict span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.verdict b { font-size: 15px; }

/* 05 handoff */
.vis-handoff .card { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #ECE6E0; display: grid; gap: 2px; box-shadow: 0 24px 50px -34px rgba(60, 25, 5, .4); }
img.brand { width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; }
.vis-handoff .card .k { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9A8E85; }
.vis-handoff .card b { font-size: 14.5px; }
.vis-handoff .card small { color: #6E625A; font-size: 12.5px; }
.vis-handoff .crm { border-left: 4px solid #FF7A59; }
.vis-handoff .slack { border-left: 4px solid #4A154B; margin-left: 24px; }
.vis-handoff .mail { border-left: 4px solid var(--sun); margin-left: 48px; }

/* With the script: one picture at a time in the frame, the others stacked under it */
html.js .tr-stage { gap: 0; }
html.js .tr-pic { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
html.js .tr-pic.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease) .12s, transform .6s var(--ease) .12s, visibility 0s; }
html.js .tr-item { transition: opacity .3s; }
html.js .tr-item:not(.is-active) { opacity: .42; }
html.js .tr-item:not(.is-active):hover { opacity: .75; }
html.js .tr-item.is-active .tr-bar { transform: none; }
.tr.auto .tr-item.is-active .tr-bar { animation: tr-fill var(--beat, 5s) linear both; }
.tr.paused .tr-bar, .tr.paused .tr-pic * { animation-play-state: paused !important; }
@keyframes tr-fill { from { transform: scaleY(0); } to { transform: none; } }
/* each picture's moment, replayed whenever its step comes up */
html.js .tr-pic:not(.is-active) .mini-chart i { transform: scaleY(.15); }
.mini-chart i { transform-origin: bottom; transition: transform .7s var(--spring) calc(.25s + var(--i, 0) * .06s); }
.mini-chart i:nth-child(2) { --i: 1; } .mini-chart i:nth-child(3) { --i: 2; } .mini-chart i:nth-child(4) { --i: 3; } .mini-chart i:nth-child(5) { --i: 4; } .mini-chart i:nth-child(6) { --i: 5; } .mini-chart i:nth-child(7) { --i: 6; } .mini-chart i:nth-child(8) { --i: 7; }
html.js .tr-pic:not(.is-active) .stops .now { color: #6E625A; border-color: #ECE6E0; }
html.js .tr-pic:not(.is-active) .stops .now::before { background: transparent; border-color: #D6CEC6; }
.stops .now, .stops .now::before { transition: color .2s .9s, border-color .2s .9s, background .2s .9s; }
html.js .tr-pic:not(.is-active) .qa > *, html.js .tr-pic:not(.is-active) .qa + .qa { opacity: 0; transform: translateY(8px); }
.qa > *, .qa + .qa { transition: opacity .3s var(--ease), transform .45s var(--spring); }
.qa:first-child .q { transition-delay: .25s; } .qa:first-child .a { transition-delay: .8s; } .qa:first-child .chip { transition-delay: 1.25s; }
.qa + .qa { transition-delay: 2s; } .qa + .qa .q { transition-delay: 2.2s; } .qa + .qa .a { transition-delay: 2.8s; } .qa + .qa .chip { transition-delay: 3.35s; }
html.js .tr-pic:not(.is-active) .checks p, html.js .vis-handoff:not(.is-active) .card { opacity: 0; transform: translateY(12px); }
.checks p, .vis-handoff .card { transition: opacity .35s var(--ease), transform .5s var(--spring); }
.checks p:nth-child(2), .vis-handoff .card:nth-child(2) { transition-delay: .2s; }
.checks p:nth-child(3), .vis-handoff .card:nth-child(3) { transition-delay: .4s; }
.checks p:nth-child(4) { transition-delay: .6s; }
html.js .tr-pic:not(.is-active) .verdict { opacity: 0; transform: scale(1.3); }
.verdict { transition: opacity .15s 1.75s, transform .45s var(--spring) 1.75s; }
/* after a click the visitor leads: each step's moment plays in about a second */
.tr.manual .mini-chart i { transition-delay: calc(var(--i, 0) * .03s); }
.tr.manual .stops .now, .tr.manual .stops .now::before { transition-delay: .3s; }
.tr.manual .qa:first-child .q { transition-delay: 0s; } .tr.manual .qa:first-child .a { transition-delay: .12s; } .tr.manual .qa:first-child .chip { transition-delay: .24s; }
.tr.manual .qa + .qa { transition-delay: .3s; } .tr.manual .qa + .qa .q { transition-delay: .36s; } .tr.manual .qa + .qa .a { transition-delay: .48s; } .tr.manual .qa + .qa .chip { transition-delay: .6s; }
.tr.manual .checks p, .tr.manual .vis-handoff .card { transition-delay: 0s; }
.tr.manual .checks p:nth-child(2), .tr.manual .vis-handoff .card:nth-child(2) { transition-delay: .08s; }
.tr.manual .checks p:nth-child(3), .tr.manual .vis-handoff .card:nth-child(3) { transition-delay: .16s; }
.tr.manual .checks p:nth-child(4) { transition-delay: .24s; }
.tr.manual .verdict { transition-delay: .55s; }
.tr.manual .vis-language.is-active .langs span, .tr.manual .vis-language.is-active .lines p { animation-duration: 3.6s; }
/* the same answer in three languages: two seconds each, then Portuguese stays */
html.js .vis-language.is-active .langs span:nth-child(1) { animation: lang-a 6s steps(1) both; }
html.js .vis-language.is-active .langs span:nth-child(2) { animation: lang-b 6s steps(1) both; }
html.js .vis-language.is-active .langs span:nth-child(3) { animation: lang-c 6s steps(1) both; }
html.js .vis-language.is-active .lines p:nth-child(1) { animation: line-a 6s var(--ease) both; }
html.js .vis-language.is-active .lines p:nth-child(2) { animation: line-b 6s var(--ease) both; }
html.js .vis-language.is-active .lines p:nth-child(3) { animation: line-c 6s var(--ease) both; }
@keyframes lang-a { 0% { background: var(--ink); color: #fff; } 33.33%, 100% { background: transparent; color: #6E625A; } }
@keyframes lang-b { 0% { background: transparent; color: #6E625A; } 33.33% { background: var(--ink); color: #fff; } 66.66%, 100% { background: transparent; color: #6E625A; } }
@keyframes lang-c { 0% { background: transparent; color: #6E625A; } 66.66%, 100% { background: var(--ink); color: #fff; } }
@keyframes line-a { 0% { opacity: 0; transform: translateY(8px); } 5%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes line-b { 0%, 33% { opacity: 0; transform: translateY(8px); } 38%, 62% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes line-c { 0%, 66% { opacity: 0; transform: translateY(8px); } 71%, 100% { opacity: 1; transform: none; } }

/* ---------- How it works: what the engine does for a buyer ---------- */
/* Three questions a buyer asks, each on a white card with the agent's answer: it shows the screen,
   it remembers what they said, it answers what the team answered once. The page shows the finished
   cards; home.js plays each once as it comes into view, never before the one before it. */
.en { --spring: cubic-bezier(.3, 1.25, .5, 1); --glide: cubic-bezier(.65, 0, .25, 1); list-style: none; padding: 0; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 16px clamp(20px, 2.6vw, 36px); }
.en-part { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 16px; min-width: 0; }
.en-part h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.en-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px rgba(28, 23, 20, .04), 0 24px 48px -30px rgba(60, 25, 5, .32); font-size: .9375rem; line-height: 1.4; color: var(--ink); }
.en-card p { margin: 0; }
.en-q { align-self: flex-end; max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 5px 16px; background: var(--ink); color: #fff; }
.en-was { opacity: .5; }
.en-later { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: .75rem; }
.en-later::before, .en-later::after { content: ""; flex: 1; height: 1px; background: #EFE9E3; }
.en-a { align-self: flex-start; display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.en-a > span:last-child { padding: 10px 14px; border-radius: 16px 16px 16px 5px; background: #F5F1ED; }
.en-sun { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #FDF3EE; box-shadow: inset 0 0 0 1px #F8E2D6; }
.en-sun svg { width: 16px; }
/* her screen: the agent's pointer lands on the rows, then the box lights, as in a call */
.en-screen { position: relative; margin-top: 4px; overflow: hidden; border: 1px solid #ECE6E0; border-radius: 14px; background: #fff; }
.en-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid #F0EBE6; }
.en-bar i { width: 7px; height: 7px; border-radius: 50%; background: #E4DDD6; }
.en-bar span { margin-left: 8px; font-size: .75rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-rows { position: relative; margin: 12px 14px 14px; font-size: .8125rem; }
.en-rows p { display: grid; grid-template-columns: minmax(0, 7.4em) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 6px; }
.en-rows p + p { border-top: 1px solid #F0EBE6; }
.en-rows b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-rows em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.en-rows i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--sun) var(--w), #EFE9E3 var(--w)); }
.en-rows p:nth-child(1) i { --w: 92%; } .en-rows p:nth-child(2) i { --w: 40%; } .en-rows p:nth-child(3) i { --w: 20%; }
.en-rows::after { content: ""; position: absolute; inset: -3px -4px; border: 2px solid var(--sun); border-radius: 10px; background: rgba(218, 84, 32, .05); box-shadow: 0 0 0 4px rgba(218, 84, 32, .1); pointer-events: none; }
.en-cur { position: absolute; right: 30%; bottom: 22px; z-index: 2; display: flex; align-items: flex-start; pointer-events: none; }
.en-cur > svg { width: 18px; height: 18px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .22)); }
.en-cur > svg path { fill: var(--ink); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.en-cur b { display: inline-flex; margin: 13px 0 0 -4px; padding: 5px 7px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(218, 84, 32, .35), 0 8px 18px -8px rgba(218, 84, 32, .65); }
.en-cur b svg { width: 18px; height: 9px; }
/* played once in view: the question, the answer, then what the answer shows */
.en.armed .en-card > * { opacity: 0; transform: translateY(8px) scale(.98); }
.en.armed .en-q { transform-origin: 100% 100%; }
.en.armed .en-a { transform-origin: 0 100%; }
.en.armed .en-cur { opacity: 0; transform: translate(70px, 50px); }
.en.armed .en-rows i { transform: scaleX(0); transform-origin: left; }
.en.armed .en-rows::after { opacity: 0; transform: scale(.97); }
.en.armed .go > .en-was { opacity: .5; transform: none; }
.en.armed .go > :not(.en-was), .en.armed .go .en-cur, .en.armed .go .en-rows i, .en.armed .go .en-rows::after { opacity: 1; transform: none; }
.en.armed .go > * { transition: opacity .25s var(--t, 0s), transform .5s var(--spring) var(--t, 0s); }
.en-card > :nth-child(2) { --t: .35s; } .en-card > :nth-child(3) { --t: .8s; } .en-card > :nth-child(4) { --t: 1.2s; } .en-card > :nth-child(5) { --t: 1.7s; }
.en.armed .go .en-rows i { transition: transform .7s var(--glide) 1.35s; }
.en.armed .go .en-cur { transition: opacity .2s 1.5s, transform .7s var(--glide) 1.5s; }
.en.armed .go .en-rows::after { transition: opacity .2s 2.2s, transform .35s var(--spring) 2.2s; }

/* ---------- Fit and pricing ---------- */
.deal-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.fit h3 { margin-top: 40px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fit ul { list-style: none; padding: 0; margin-top: 14px; border-top: 1px solid var(--line); }
.fit li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.fit li::before { content: ""; position: absolute; left: 0; top: 1.22em; width: 20px; height: 10.5px; background: url("/icons/tick.svg") no-repeat center / contain; }
.fit .no li::before { top: 1.4em; width: 14px; height: 7px; border-radius: 14px 14px 0 0; background: var(--line-2); }
.price-card { position: sticky; top: 108px; padding: clamp(32px, 4vw, 48px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(28, 23, 20, .04), 0 30px 60px -40px rgba(28, 23, 20, .35); color: var(--ink-2); }
.price-k { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.price-h { margin: 18px 0 20px; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; color: var(--ink); }
.price-card p + p { margin-top: 12px; }
.price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.price-actions .text-link { color: var(--ink); }

/* ---------- Questions ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-weight: 600; font-size: 1.1875rem; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; margin-top: -2px; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; transition: transform var(--quick) var(--ease), background-color var(--quick) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-2); margin-top: -6px; }

/* ---------- For agents ---------- */
.agents-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.agents-p { margin-top: 20px; color: var(--ink-2); max-width: 30rem; }
.term { border-radius: 20px; background: #fff; color: var(--ink); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(28, 23, 20, .04), 0 30px 60px -40px rgba(28, 23, 20, .35); }
.term-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--ink-3); }
.term .dots i { background: var(--line); }
.term .dots i:first-child { background: var(--sun); }
.term pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font: .875rem/1.7 var(--mono); }
.t-p { color: var(--sun); }
.t-o { color: var(--ink-3); }
.agents { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.agents a { display: block; padding: 20px 0 22px; border-top: 1px solid var(--line); text-decoration: none; }
.agents a code { font-size: .9375rem; color: var(--ink); }
.agents a span { display: block; color: var(--ink-3); font-size: .9375rem; margin-top: 4px; }
.agents a:hover code { color: var(--sun-ink); }

/* ---------- Closing ---------- */
.closing { position: relative; padding: clamp(120px, 16vw, 220px) 0 clamp(104px, 13vw, 180px); text-align: center; }
.closing .wrap { position: relative; }
.closing .h2 { font-size: clamp(3rem, 8vw, 7.5rem); line-height: .95; letter-spacing: -.045em; margin: 0 auto; max-width: 11ch; }
.closing p { margin: 28px auto 0; font-size: 1.1875rem; color: var(--ink-2); max-width: 34rem; }
.closing .hand path { stroke-width: 6; }
.closing .actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 44px; }
.closing a.mail { color: var(--ink); font-weight: 600; }
.section.closing + * { border-top: 0; }

/* ---------- Integrations: a tile for each kind of tool, and what it gets ---------- */
/* A row of tiles with the tools' real logos; the panel under them shows what one kind of tool
   receives after a demo, as the tool shows it. With the script, one panel at a time: the tiles turn
   once while in view, and a click (or the arrow keys) picks one and stops the turns. Without it,
   every panel shows, one under the other. */
.integ-h { max-width: 18ch; }
.ig { --spring: cubic-bezier(.3, 1.25, .5, 1); margin-top: clamp(40px, 5vw, 64px); }
.ig-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ig-tile { position: relative; overflow: hidden; display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 108px; padding: 16px 8px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink-2); font: 600 .875rem/1.2 var(--font); box-shadow: 0 1px 2px rgba(28, 23, 20, .04); transition: box-shadow .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.ig-marks { display: flex; align-items: center; justify-content: center; gap: 8px; height: 34px; }
.ig-marks img { width: 28px; height: 28px; object-fit: contain; }
.ig-marks img.wide { width: 40px; }
.ig-marks img.ico { width: 34px; height: 34px; }
.ig-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sun); transform: scaleX(0); transform-origin: left; }
html.js .ig-tile { cursor: pointer; }
html.js .ig-tile:hover { border-color: var(--line-2); color: var(--ink); }
html.js .ig-tile.is-on { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun), 0 18px 36px -24px rgba(218, 84, 32, .55); color: var(--ink); }
.ig-tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ig.auto .ig-tile.is-on .ig-bar { animation: ig-fill var(--beat, 4.2s) linear both; }
.ig.paused .ig-bar, .ig.paused .ig-panel * { animation-play-state: paused !important; }
@keyframes ig-fill { to { transform: none; } }
.ig-stage { display: grid; margin-top: 16px; padding: 10px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(28, 23, 20, .04), 0 30px 60px -40px rgba(60, 25, 5, .35); }
.ig-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px; }
.ig-panel + .ig-panel { margin-top: 10px; }
.ig-text { align-self: center; padding: 28px clamp(20px, 3vw, 44px); }
.ig-text h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.025em; max-width: 14ch; }
.ig-text p { margin-top: 12px; color: var(--ink-2); max-width: 26rem; }
.ig-text a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.ig-text .ig-tag { display: inline-block; margin-top: 16px; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: .75rem; font-weight: 600; }
.ig-art { display: grid; place-items: center; min-width: 0; min-height: 340px; padding: clamp(20px, 3vw, 40px); border-radius: 20px; background: var(--paper); }
/* the fragments: each tool as it shows the record, on a white card */
.ig-card { width: min(100%, 440px); margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(28, 23, 20, .04), 0 24px 44px -28px rgba(60, 25, 5, .4); color: var(--ink); font-size: .875rem; line-height: 1.4; }
.ig-card p { margin: 0; }
.ig-card .ig-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--ink-3); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ig-head img { width: 16px; height: 16px; object-fit: contain; }
.ig-head span { margin-left: auto; color: var(--ink); letter-spacing: .04em; }
.ig-who { display: flex; align-items: center; gap: 12px; }
.ig-who > span:nth-child(2) { flex: 1; min-width: 0; }
.ig-who b, .ig-task b { display: block; font-weight: 600; }
.ig-who small, .ig-task small, .ig-cal small { display: block; color: var(--ink-3); font-size: .75rem; }
.ig-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #F3E6DD; color: #7A4A30; font-size: .6875rem; font-weight: 700; }
.ig-who em { padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: .75rem; font-weight: 700; font-style: normal; }
.ig-props { margin: 14px 0 0; border-top: 1px solid #F0EBE6; }
.ig-props div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #F0EBE6; }
.ig-props dt { color: var(--ink-3); }
.ig-props dd { margin: 0; text-align: right; }
.ig-card .ig-task { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; }
.ig-task i { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.ig-cal ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ig-cal li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); align-items: center; gap: 12px; }
.ig-cal time { color: var(--ink-3); font-size: .75rem; font-variant-numeric: tabular-nums; }
.ig-cal li > span { padding: 8px 12px; border-radius: 10px; font-size: .8125rem; }
.ig-cal .busy { background: repeating-linear-gradient(-45deg, #F3EFEB 0 6px, #EBE5DF 6px 7px); color: var(--ink-3); }
.ig-cal .free { border: 1px dashed var(--line-2); color: var(--ink-3); }
.ig-cal .on > span { background: var(--sun-soft); border-left: 3px solid var(--sun); }
.ig-cal .on time { color: var(--ink); font-weight: 600; }
.ig-msg { display: flex; gap: 12px; }
.ig-app { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: #FDF3EE; box-shadow: inset 0 0 0 1px #F8E2D6; }
.ig-app svg { width: 20px; }
.ig-msg > div { display: grid; gap: 3px; min-width: 0; }
.ig-from { display: flex; align-items: baseline; gap: 6px; }
.ig-from span { padding: 0 4px; border-radius: 3px; background: #EEEAE6; color: var(--ink-3); font-size: .625rem; font-weight: 700; text-transform: uppercase; }
.ig-from time { color: var(--ink-3); font-size: .75rem; }
.ig-link { color: #1264A3; }
.ig-table table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.ig-table th { padding: 0 8px 8px 0; color: var(--ink-3); font-size: .6875rem; font-weight: 600; text-align: left; white-space: nowrap; }
.ig-table td { padding: 9px 8px 9px 0; border-top: 1px solid #F0EBE6; white-space: nowrap; }
.ig-table td:last-child { font: .75rem var(--mono); color: var(--ink-2); }
.ig-code { overflow-x: auto; padding: 18px 20px; font: .75rem/1.65 var(--mono); color: var(--ink-2); white-space: pre; }
.ig-code code { font: inherit; }
.c-k { color: var(--sun-ink); }
.ig-chat { display: grid; gap: 10px; }
.ig-you { justify-self: end; max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 5px 16px; background: #F5F1ED; }
.ig-tool { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); font: .75rem var(--mono); }
.ig-tool img { width: 14px; height: 14px; }
.ig-said { line-height: 1.5; }
.ig-files { list-style: none; margin: 0; padding: 0; border-top: 1px solid #F0EBE6; }
.ig-files li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F0EBE6; }
.ig-files img { flex: none; width: 18px; height: 18px; object-fit: contain; }
.ig-files li > span:not(.tick) { flex: 1; min-width: 0; font-weight: 600; }
.ig-files small { display: block; color: var(--ink-3); font-size: .75rem; font-weight: 400; }
.ig-files .tick { flex: none; }
.ig-docs .ig-chat { margin-top: 14px; }
/* with the script: one panel at a time, stacked in one place; the card arrives, then its lines */
html.js .ig-panel { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
html.js .ig-panel.is-on { opacity: 1; visibility: visible; transition: opacity .35s var(--ease) .08s, visibility 0s; }
html.js .ig-panel.is-on .ig-card { animation: ig-card .55s var(--spring) .1s both; }
html.js .ig-panel.is-on .ig-card > * { animation: ig-line .45s var(--ease) both; }
html.js .ig-panel.is-on .ig-card > :nth-child(2) { animation-delay: .25s; }
html.js .ig-panel.is-on .ig-card > :nth-child(3) { animation-delay: .4s; }
html.js .ig-panel.is-on .ig-card > :nth-child(4) { animation-delay: .55s; }
html.js .ig-panel.is-on .ig-code { animation: ig-card .55s var(--spring) .1s both; }
@keyframes ig-card { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes ig-line { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 1120px) {
  .ig-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  /* the tiles become a strip that scrolls sideways */
  .ig-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; }
  .ig-tiles::-webkit-scrollbar { display: none; }
  .ig-tile { flex: none; width: 112px; min-height: 96px; scroll-snap-align: start; }
  .ig-panel { grid-template-columns: minmax(0, 1fr); }
  .ig-text { padding: 18px 14px 6px; }
  .ig-art { min-height: 0; padding: 18px 12px; }
}
@media (max-width: 400px) {
  .ig-code { padding: 16px; font-size: .6875rem; white-space: pre-wrap; overflow-wrap: anywhere; }
  .ig-table th:nth-child(2), .ig-table td:nth-child(2) { display: none; }
  .ig-who .ig-av { display: none; }
}

/* Reveal on scroll (only with the script) */
html.js .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
html.js .reveal { transition: opacity var(--enter) var(--ease), transform var(--enter) var(--ease); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
}
@media (max-width: 900px) {
  .en { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; max-width: 520px; row-gap: 48px; }
  .en-part { grid-row: auto; grid-template-rows: none; }
  .hero-foot .lede, .hero-foot .actions { grid-column: 1 / -1; }
  .hero-foot .actions { justify-self: start; align-items: flex-start; margin-top: 32px; }
  .hero-foot .cta { justify-content: flex-start; flex-wrap: wrap; }
  .ux { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .ux-site, .ux-mail, .ux-team { grid-column: 1; grid-row: auto; }
  .tr { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tr-frame { order: -1; }
  .deal-grid, .faq-grid, .agents-grid { grid-template-columns: minmax(0, 1fr); }
  .price-card { position: relative; top: 0; }
  .agents { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .u-call { position: relative; right: auto; bottom: auto; width: fit-content; margin: -18px 14px 0 auto; }
  .qa + .qa { margin-left: 0; }
  .vis-handoff .slack, .vis-handoff .mail { margin-left: 0; }
  .checks p { grid-template-columns: 26px 1fr; }
  .checks p span:last-child { grid-column: 2; }
  .faq details p { padding-right: 0; }
}
/* The narrowest phones (320 px): the pricing card's button fits inside the card. */
@media (max-width: 400px) {
  .u-crm .av { display: none; }
  .langs span { padding: 7px 11px; }
  .price-card { padding: 28px 22px; }
}
@media (max-width: 359px) {
  .price-actions .button { padding: 0 18px; }
  .price-actions .button .sun { display: none; }
}

/* Loops outside the demo play a few times once their picture is on screen (home.js adds .live), then rest. Without IntersectionObserver they stay still. */
html.js .u-call .wave i, html.js .wave.big i { animation-play-state: paused; }
html.js .live.u-call .wave i, html.js .live .wave.big i { animation-play-state: running; }
.u-call .wave i, .wave.big i { animation-iteration-count: 4; animation-fill-mode: forwards; }

/* Reduced motion: site.css stops every animation, so give each looping picture a still state. */
@media (prefers-reduced-motion: reduce) {
  .wave i { transform: scaleY(.5); }
  .wave i:nth-child(3n+1) { transform: scaleY(.85); }
  .wave i:nth-child(4n) { transform: scaleY(.3); }
}

/* Bar heights and stagger, set here so the page needs no inline styles (CSP). */
.bars i:nth-child(1) { --h: 34%; --i: 0; }
.bars i:nth-child(2) { --h: 41%; --i: 1; }
.bars i:nth-child(3) { --h: 38%; --i: 2; }
.bars i:nth-child(4) { --h: 49%; --i: 3; }
.bars i:nth-child(5) { --h: 55%; --i: 4; }
.bars i:nth-child(6) { --h: 52%; --i: 5; }
.bars i:nth-child(7) { --h: 61%; --i: 6; }
.bars i:nth-child(8) { --h: 66%; --i: 7; }
.bars i:nth-child(9) { --h: 63%; --i: 8; }
.bars i:nth-child(10) { --h: 72%; --i: 9; }
.bars i:nth-child(11) { --h: 78%; --i: 10; }
.bars i:nth-child(12) { --h: 84%; --i: 11; }
.bars i:nth-child(13) { --h: 90%; --i: 12; }
.bars i:nth-child(14) { --h: 97%; --i: 13; }
.wave i:nth-child(1) { --i: 0; } .wave i:nth-child(2) { --i: 1; } .wave i:nth-child(3) { --i: 2; } .wave i:nth-child(4) { --i: 3; }
.wave i:nth-child(5) { --i: 4; } .wave i:nth-child(6) { --i: 5; } .wave i:nth-child(7) { --i: 6; } .wave i:nth-child(8) { --i: 7; }
.wave i:nth-child(9) { --i: 8; } .wave i:nth-child(10) { --i: 9; } .wave i:nth-child(11) { --i: 10; } .wave i:nth-child(12) { --i: 11; }

/* ---------- The 3D sun (sun3d.js, sun3d-gl.js): a canvas over the flat sun, on capable screens ---------- */
/* Same box as .cinema .glow, without its own rise: the script draws the rise. */
.cinema .sun3d { position: absolute; left: 50%; bottom: 0; width: min(1500px, 150vw); aspect-ratio: 2 / 1; transform: translateX(-50%); pointer-events: none; }
