/* GuestReply AI home: the concierge story. Built on the Lamp-lit tokens (fonts from /brand/fonts.css). */
/* Layout: a plain paper page. The concierge lives in one fixed 3D layer and walks the reader through pinned chapters, acting out each one beside short copy. Lamp-lit design system. */
:root {
  color-scheme: light;
  --paper: #F6F5F1;
  --sand: #ECE8E0;
  --white: #FFFFFF;
  --midnight: #141F46;
  --ink-body: #3B3F55;
  --ink-muted: #675E50;
  --line: #DEDAD0;
  --reply: #0155EF;
  --reply-hover: #0047CC;
  --reply-wash: #E8EFFD;
  --lamp: #E0962A;
  --lamp-ink: #8A4B00;
  --success: #0E7A4E;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--midnight); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
:where(a, button):focus-visible { outline: 2px solid var(--reply); outline-offset: 3px; border-radius: 6px; }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.top { position: fixed; z-index: 5; top: env(safe-area-inset-top, 0px); left: 0; right: 0; background: linear-gradient(rgb(var(--bgc)) 72%, rgba(var(--bgc),0)); transition: background .4s; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(16px, 4vw, 56px); }
.top img { display: block; width: 173px; height: 24px; }
:root { --bgc: 246,245,241; }
html[data-night] { --bgc: 9,14,40; }
.top .logo-night { display: none; }
html[data-night] .top .logo-day { display: none; }
html[data-night] .top .logo-night { display: block; }
html[data-night] .top nav a:not(.btn) { color: #C9D3F0; }
@media (max-width: 480px) { .lang-pill { height: 48px; min-width: 220px; padding: 0 24px; } .lang-word { font-size: 21px; } .lang-line { font-size: 17px; } .moon { top: 9%; right: 7%; } }
/* Night: the page fades to midnight while the concierge works the night shift */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: radial-gradient(120% 90% at 30% 40%, #1A2552 0%, #0B1235 55%, #070C22 100%); }
.sky::before, .sky::after { content: ""; position: absolute; inset: 0; background-repeat: repeat; }
.sky::before { background-image: radial-gradient(1.2px 1.2px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 140px 90px, #cfe0ff, transparent), radial-gradient(1.4px 1.4px at 260px 40px, #fff, transparent), radial-gradient(1px 1px at 330px 160px, #fff, transparent), radial-gradient(1.2px 1.2px at 80px 200px, #cfe0ff, transparent); background-size: 380px 240px; opacity: .55; animation: twinkle 4s ease-in-out infinite alternate; }
.sky::after { background-image: radial-gradient(1px 1px at 60px 120px, #fff, transparent), radial-gradient(1.3px 1.3px at 210px 20px, #fff, transparent), radial-gradient(1px 1px at 300px 210px, #cfe0ff, transparent); background-size: 340px 260px; opacity: .4; animation: twinkle 5.5s 1s ease-in-out infinite alternate; }
.moon { position: absolute; right: 9%; top: 11%; width: clamp(64px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; transform: translate(var(--mx, 0px), var(--my, 0px)) rotate(var(--mr, 0deg)); opacity: calc(.15 + var(--rise, 0) * .85); filter: drop-shadow(0 0 14px rgba(255, 238, 200, .3)) drop-shadow(0 0 40px rgba(255, 230, 170, .14)); will-change: transform; }
.moon::before { content: ""; position: absolute; inset: -70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 236, 190, .08), rgba(255, 236, 190, 0)); z-index: -1; }
.moon svg { display: block; width: 100%; height: 100%; }
@keyframes twinkle { from { opacity: .25; } to { opacity: .7; } }
[data-ch="night"] .kicker { color: #8FB0FF; }
[data-ch="night"] h2 { color: #FFFFFF; }
[data-ch="night"] h2 em { color: #ADC5F0; }
.lang { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 6px; }
.lang-pill { position: relative; overflow: hidden; height: 64px; min-width: 280px; justify-content: center; padding: 0 34px; border-radius: 999px; background: linear-gradient(90deg, #0A35E8, #1F86FF); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 14px 40px rgba(31,134,255,.45); display: inline-flex; align-items: center; justify-content: center; }
.lang-word { font: 600 28px/1 var(--sans), "Hiragino Sans", "Noto Sans", system-ui, sans-serif; color: #FFFFFF; white-space: nowrap; letter-spacing: -.01em; }
.lang-word.out { animation: langOut .32s cubic-bezier(.5,0,.75,0) both; }
.lang-word.in { animation: langIn .45s cubic-bezier(.2,.9,.25,1.15) both; }
@keyframes langOut { to { opacity: 0; transform: translateY(-26px); filter: blur(4px); } }
@keyframes langIn { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.lang-line { font: 600 22px/1.2 var(--sans); color: #FFFFFF; }
.lang-line b { color: #6FA8FF; }
.night-channels { display: flex; flex-wrap: wrap; gap: 8px; }
.night-channels span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(201,211,240,.22); color: #C9D3F0; font: 400 12px/1 var(--mono); }
.top nav { display: flex; align-items: center; gap: 26px; font: 500 15px/1 var(--sans); }
.top nav a:not(.btn) { color: var(--ink-body); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--midnight); }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--reply); color: #FFFFFF; font: 600 16px/1 var(--sans); text-decoration: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.2), 0 1px 2px rgba(1,30,90,.25), 0 6px 16px rgba(1,85,239,.24); transition: transform 150ms var(--ease), box-shadow 150ms, background 150ms; }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.2), 0 2px 4px rgba(1,30,90,.25), 0 12px 26px rgba(1,85,239,.32); }
.btn:active { transform: translateY(1px); background: var(--reply-hover); }
.btn span { transition: transform 150ms; }
.btn:hover span { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

main { position: relative; z-index: 1; }
.chapter { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 110px clamp(16px, 7vw, 120px) 72px; }
.chapter.right .pin { justify-content: flex-end; }
.chapter.center .pin { justify-content: center; text-align: center; align-items: flex-end; padding-bottom: 12vh; }
.copy { width: var(--cw, clamp(300px, max(40vw, 18vw + 260px), 500px)); max-width: 100%; margin-bottom: var(--reserve, 0px); margin-inline-start: var(--cshift, 0px); transition: width .5s var(--ease), margin .5s var(--ease); display: flex; flex-direction: column; gap: 20px; }
.center .copy { width: min(720px, 100%); align-items: center; }
.chapter.center[data-ch=close] .pin { align-items: center; padding-bottom: clamp(20px, 5vh, 56px); }
[data-ch=close] .copy { margin-top: var(--rtop, 0px); } [data-ch=close] .integr { margin-top: 12px; }
.kicker { font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--reply); }
h1 { font: 400 clamp(38px, min(6.4vw, 9.5vh), 100px)/1.08 var(--serif); letter-spacing: -.01em; }
h1 span { display: block; white-space: nowrap; }
#hero .copy { width: var(--cw, clamp(300px, max(50vw, 12vw + 300px), 700px)); }
.chapter.right .copy { margin-inline-start: 0; margin-inline-end: var(--cshift, 0px); }
#hero h1 { font-size: clamp(34px, min(5.4vw, 8.6vh), 88px); }
h1 .hi { font-weight: 400; color: var(--reply); }
h1 .hl { position: relative; display: inline-block; }
h1 .ul { position: absolute; left: 0; bottom: -.02em; width: 100%; height: .16em; overflow: visible; }
h1 .ul path { fill: none; stroke: #ADC5F0; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 420; animation: draw 1s .5s cubic-bezier(.6,0,.2,1) both; }
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
.lead strong { font-weight: 600; color: var(--midnight); }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ticks span::before { content: "✓"; margin-right: 6px; color: var(--success); }
.split .legend b { color: var(--reply); } .split .legend span + span b { color: var(--lamp-ink); }
h2 { font: 400 clamp(30px, min(4.6vw, 7.2vh), 68px)/.96 var(--serif); text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--reply); }
.lead { font: 400 18px/1.55 var(--sans); color: var(--ink-body); max-width: 30em; }
.terms { font: 400 12px/1.5 var(--mono); color: var(--ink-muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.center .actions { justify-content: center; }

/* Copy enters with each chapter */
html.js .copy { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .chapter.live .copy { opacity: 1; transform: none; }

/* Chat card (always light) */
.chat { background: var(--white); border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(20,31,70,.06), 0 24px 56px rgba(20,31,70,.14); }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #EEEAE2; font: 600 14px/1.2 var(--sans); }
.chat-head small { display: block; font: 400 11px/1.4 var(--mono); color: var(--ink-muted); margin-top: 3px; }
.bubble { max-width: 86%; padding: 11px 14px; font: 400 14.5px/1.5 var(--sans); }
.bubble small { display: block; margin-top: 4px; font: 400 10.5px/1.4 var(--mono); opacity: .75; }
.guest { align-self: flex-start; background: var(--sand); border-radius: 18px 18px 18px 4px; }
.reply { align-self: flex-end; background: var(--reply); color: #FFFFFF; border-radius: 18px 18px 4px 18px; }
.typing { align-self: flex-end; display: inline-flex; gap: 5px; padding: 13px 15px; background: var(--reply-wash); border-radius: 18px 18px 4px 18px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--reply); animation: bob 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.msg { display: flex; flex-direction: column; gap: 5px; }
.msg-ai { align-items: flex-end; }
.msg .bubble { max-width: 88%; }
.who { display: flex; align-items: center; gap: 7px; font: 400 11px/1 var(--mono); color: var(--ink-muted); }
.who b { font: 600 12.5px/1 var(--sans); color: var(--midnight); }
.av { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.av-guest { background: #E4D9C6; color: #6B4A1E; font: 600 11px/1 var(--sans); }
.av-ai { background: var(--reply-wash); }
.av-ai img { width: 15px; height: 15px; display: block; }
.tag { padding: 3px 6px; border-radius: 6px; font: 500 10px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.tag-guest { background: var(--sand); color: var(--ink-muted); }
.tag-ai { background: var(--reply); color: #FFFFFF; }
.auto { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--sans); color: var(--ink-body); }
.auto i { width: 7px; height: 7px; border-radius: 50%; background: #12A06A; box-shadow: 0 0 0 3px rgba(18,160,106,.15); }
.chat-head { align-items: center; }
.notifs { position: relative; display: flex; flex-direction: column; max-width: 470px; }
.wa { position: relative; z-index: 2; display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px 13px 12px; border-radius: 24px; background: #ECECEE; box-shadow: 0 10px 30px rgba(20,31,70,.14), 0 1px 2px rgba(20,31,70,.06); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, var(--sans); color: #000; }
.wa-back { order: 2; z-index: 1; margin: -38px 12px 0; padding-top: 44px; background: #E2E2E5; box-shadow: 0 8px 20px rgba(20,31,70,.10); }
.wa-back .wa-icon { opacity: .85; }
.wa-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px; background: linear-gradient(180deg, #5FFC7B, #28D146); display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.08); }
.wa-icon svg { width: 27px; height: 27px; display: block; }
.wa-main { flex: 1; min-width: 0; }
.wa-note { display: flex; gap: 8px; align-items: baseline; max-width: 470px; font: 400 13.5px/1.5 var(--sans); color: var(--ink-muted); }
.wa-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--lamp); transform: translateY(-1px); }
.wa-head { display: flex; align-items: baseline; gap: 8px; }
.wa-head b { font-weight: 600; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
.wa-head time { margin-left: auto; font-size: 13px; color: rgba(60,60,67,.6); }
.wa-text { margin-top: 1px; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; color: #000; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.paid { align-self: flex-end; padding: 6px 12px; border-radius: 999px; background: #E7F4EE; color: var(--success); font: 500 12px/1.2 var(--mono); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.js .step { display: none; }
html.js .step.on { display: block; animation: rise .42s var(--ease) both; }
html.js .msg.step.on { display: flex; }
html.js .step.on.done { display: none; }
html.js .wa.step.on { display: flex; animation: drop .5s cubic-bezier(.2,.9,.25,1.15) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-18px) scale(.97); } to { opacity: 1; transform: none; } }
html.js .typing.step.done { display: none; }

/* Split and escalation */
.split { display: flex; flex-direction: column; gap: 10px; }
.legend { display: flex; justify-content: space-between; font: 400 13px/1.3 var(--sans); color: var(--ink-body); }
.legend b { font: 600 20px/1 var(--sans); color: var(--midnight); margin-right: 6px; }
.track { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--sand); box-shadow: inset 0 1px 2px rgba(20,31,70,.12); }
.track .ai { background: var(--reply); width: 0; } .track .human { background: var(--lamp); width: 0; }
.esc { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid #F0E3CC; border-radius: 18px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(20,31,70,.06), 0 6px 18px rgba(20,31,70,.07); }
.esc-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #FFF6E5; color: var(--lamp-ink); display: inline-flex; align-items: center; justify-content: center; }
.esc strong { display: block; font: 600 13px/1.3 var(--sans); color: var(--lamp-ink); }
.esc p { font: 400 14px/1.45 var(--sans); }

/* Outcomes */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; border-radius: 18px; background: var(--white); box-shadow: 0 1px 2px rgba(20,31,70,.06), 0 6px 18px rgba(20,31,70,.07); opacity: .55; transition: opacity .4s var(--ease), box-shadow .4s, transform .4s var(--ease); }
.tile.play { opacity: 1; }
.tile.active { box-shadow: 0 0 0 2px #C9D8F8, 0 12px 28px rgba(1,85,239,.14); transform: translateY(-2px); }
.t-label { font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.t-num { font: 400 40px/1 var(--serif); color: var(--midnight); }
.tile.play .t-num { color: var(--reply); }
.t-num span { font-size: .55em; margin-left: 2px; }
.t-cap { font: 400 12px/1.35 var(--sans); color: var(--ink-muted); }
.viz { height: 64px; display: flex; align-items: center; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; align-content: center; }
.cal i { aspect-ratio: 1; border-radius: 5px; background: #DCE6FB; }
.cal i.g { background: transparent; box-shadow: inset 0 0 0 1.5px #9FB8F2; }
.tile.play .cal i.g { animation: fillgap .4s var(--ease) both; animation-delay: calc(.25s + var(--i) * .05s); }
@keyframes fillgap { to { background: var(--reply); box-shadow: none; } }
.stars { gap: 4px; }
.st { width: 18%; max-width: 30px; }
.st path { fill: var(--line); transition: fill .3s; }
.tile.play .st path { animation: star .35s var(--ease) both; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes star { 0% { fill: var(--line); transform: scale(1); } 60% { transform: scale(1.18); } 100% { fill: var(--reply); transform: scale(1); } }
.st path { transform-origin: 12px 12px; }
.dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 2px; align-content: center; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--line); }
.tile.play .dots i.a { animation: dotA .3s both; animation-delay: calc(var(--i) * 9ms); }
.tile.play .dots i.h { animation: dotH .3s both; animation-delay: calc(.95s + var(--i) * 2ms); }
@keyframes dotA { to { background: #9FB8F2; } }
@keyframes dotH { to { background: var(--lamp); transform: scale(1.35); } }
.ups { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
.ups span { font: 500 11px/1 var(--mono); padding: 4px 8px; border-radius: 999px; background: #E7F4EE; color: var(--success); opacity: 0; transform: translateY(6px); }
.ups span::before { content: "+ "; }
.tile.play .ups span { animation: up .4s var(--ease) both; animation-delay: calc(.2s + var(--i) * .25s); }
@keyframes up { to { opacity: 1; transform: none; } }

/* Outcomes: one at a time, each with its own animation */
.olist { display: flex; flex-direction: column; gap: 10px; }
.oi { display: flex; flex-direction: column; gap: 6px; }
.oi h3 { margin: 0; font: 400 clamp(26px, min(3.2vw, 5vh), 46px)/1.02 var(--serif); color: var(--midnight); opacity: .3; transition: opacity .45s var(--ease); }
.oi h3 em { font-style: italic; color: var(--reply); }
.oi h3 .hi { font-weight: 400; color: var(--reply); }
.oi.active h3 { opacity: 1; }
.oi h3[role=button] { cursor: pointer; } .oi:not(.active) h3:hover { opacity: .6; } .oi h3:focus-visible { outline: 2px solid var(--reply); outline-offset: 4px; border-radius: 6px; }
.od { font: 400 15px/1.45 var(--sans); color: var(--ink-body); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .45s; }
.oi.active .od { max-height: 3em; opacity: 1; }
.anim { position: relative; height: 0; overflow: hidden; border-radius: 20px; background: var(--white); box-shadow: 0 1px 2px rgba(20,31,70,.06), 0 14px 34px rgba(20,31,70,.10); opacity: 0; transform: translateY(10px) scale(.98); transition: max-height .6s var(--ease), opacity .4s, transform .5s var(--ease), margin .5s; }
.oi.active .anim { opacity: 1; transform: none; margin: 4px 0 8px; }
.anim * { box-sizing: border-box; }
/* ---------- Outcome scenes: live HTML, driven by a small timeline (no video) ---------- */
.anim { container-type: inline-size; height: auto !important; max-height: 0; }
.oi.active .anim { max-height: 640px; }
html.measuring .oi.active .anim { max-height: none; }
.sc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(14px, 4cqw, 30px); align-items: center; padding: clamp(14px, 3.4cqw, 24px); transition: opacity .4s; }
.sc.fade { opacity: 0; }
@container (max-width: 470px) { .sc { grid-template-columns: minmax(0, 1fr); } }
.sc [data-in] { opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .3s, transform .45s cubic-bezier(.2,.9,.25,1.25); }
.sc [data-in].on { opacity: 1; transform: none; }
.sc-col { display: flex; flex-direction: column; gap: clamp(6px, 1.4cqw, 9px); min-width: 0; }
.sc p { margin: 0; }
.sc-label { font: 500 clamp(9.5px, 1.75cqw, 11.5px)/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.sc-b { align-self: flex-start; max-width: 94%; padding: .62em .95em; border-radius: 16px; border-end-start-radius: 5px; background: #EEEAE2; color: var(--midnight); font: 500 clamp(12.5px, 2.4cqw, 15.5px)/1.32 var(--sans); }
.sc-b.ai { align-self: flex-end; background: var(--reply); color: #FFFFFF; border-radius: 16px; border-end-end-radius: 5px; }
.sc-meta, .sc-who, .sc-chip { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; }
.sc-meta { font: 500 clamp(10px, 1.85cqw, 12.5px)/1 var(--mono); color: var(--success); }
.sc-ring { width: 1.5em; height: 1.5em; transform: rotate(-90deg); }
.sc-ring circle { fill: none; stroke-width: 3.5; } .sc-ring circle:first-child { stroke: var(--line); }
.sc-ring circle + circle { stroke: var(--success); stroke-linecap: round; stroke-dasharray: 75.4; stroke-dashoffset: calc(75.4 * (1 - var(--p, 0))); }
.sc-who { font: 600 clamp(10.5px, 1.85cqw, 12.5px)/1 var(--sans); color: var(--midnight); } .sc-who img { width: 1.4em; height: 1.4em; border-radius: 30%; }
.sc-chip { padding: .5em .85em; border-radius: 999px; background: #E3F4EA; color: var(--success); font: 500 clamp(10px, 1.85cqw, 12.5px)/1 var(--mono); }
.sc-row p { margin: 0 0 6px; font: 500 clamp(11px, 2cqw, 13.5px)/1.2 var(--sans); color: var(--ink-muted); }
.sc-row.ai p { color: var(--midnight); }
.sc-bar { display: flex; align-items: center; gap: 10px; }
.sc-bar i { display: block; height: clamp(12px, 2.6cqw, 18px); width: calc(var(--w) * var(--g, 0)); border-radius: 6px; background: #C9CEDC; }
.sc-row.ai .sc-bar i { background: linear-gradient(90deg, #0A35E8, #3FA0FF); }
html[dir="rtl"] .sc-row.ai .sc-bar i { background: linear-gradient(270deg, #0A35E8, #3FA0FF); }
.sc-bar b { font: 400 clamp(20px, 4cqw, 30px)/1 var(--serif); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.sc-row.ai .sc-bar b { color: var(--reply); }
.sc-badge { align-self: flex-start; padding: .55em .95em; border-radius: 999px; background: var(--reply); color: #FFFFFF; font: 600 clamp(12px, 2.3cqw, 15.5px)/1 var(--sans); }
.sc-review { padding: clamp(12px, 2.6cqw, 18px); border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.sc-rhead { display: flex; align-items: center; gap: 8px; font: 400 clamp(10px, 1.8cqw, 12px)/1 var(--mono); color: var(--ink-muted); }
.sc-rhead b { font: 600 clamp(12px, 2.1cqw, 14px)/1 var(--sans); color: var(--midnight); }
.sc-av { width: 2.2em; height: 2.2em; border-radius: 50%; background: #E2D9C6; display: grid; place-items: center; font: 600 clamp(10px, 1.8cqw, 12px)/1 var(--sans); color: var(--ink-muted); }
.sc-stars { display: flex; gap: 4px; margin: 10px 0 8px !important; }
.sc-stars svg { width: clamp(16px, 3.4cqw, 24px); height: auto; fill: #F2B33D; }
.sc-rtext { min-height: 2.7em; font: 400 clamp(12px, 2.25cqw, 15px)/1.4 var(--sans); color: var(--midnight); }
.sc-avg { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.sc-avg b { font: 400 clamp(24px, 5cqw, 38px)/1 var(--serif); color: var(--reply); }
.sc-up { font: 500 clamp(10.5px, 1.9cqw, 13px)/1 var(--sans); color: var(--success); }
.sc-total b { font: 400 clamp(30px, 7.4cqw, 56px)/1 var(--serif); color: var(--midnight); font-variant-numeric: tabular-nums; }
.sc-ups { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-ups span { padding: .5em .8em; border-radius: 999px; background: #E7EEFE; color: var(--reply); font: 500 clamp(10.5px, 1.9cqw, 13px)/1 var(--sans); }
.sc-ups b { font-weight: 600; }
/* operations: dots flow through the hub */
.sc.sc-ops-wrap { display: block; padding: clamp(10px, 2.4cqw, 18px); }
.sc-ops { position: relative; aspect-ratio: 1000 / 360; min-height: 170px; }
.sc-ops-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
html[dir="rtl"] .sc-ops-svg { transform: scaleX(-1); }
.sc-ops-svg path { fill: none; stroke: #DCE6FB; stroke-width: 3; stroke-dasharray: 4 9; vector-effect: non-scaling-stroke; }
.sc-ops-svg path.amber { stroke: #F3DDBA; }
.sc-dots circle { fill: var(--reply); } .sc-dots circle.t { fill: #D9822B; }
.sc-src { position: absolute; inset-inline-start: 0; top: 0; }
.sc-src b, .sc-dst b { display: block; font: 400 clamp(22px, 5.4cqw, 44px)/1 var(--serif); color: var(--midnight); }
.sc-hub { position: absolute; left: 44%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 clamp(10px, 1.8cqw, 12.5px)/1 var(--sans); color: var(--midnight); white-space: nowrap; }
html[dir="rtl"] .sc-hub { left: 56%; }
.sc-hub img { width: clamp(34px, 7.4cqw, 60px); height: auto; border-radius: 30%; box-shadow: 0 8px 20px rgba(1,85,239,.3); animation: hubPulse 1.4s ease-in-out infinite; }
@keyframes hubPulse { 50% { transform: scale(1.07); } }
.sc-dst { position: absolute; inset-inline-end: 0; text-align: end; }
.sc-dst.ok { top: 4%; } .sc-dst.team { bottom: 4%; }
.sc-dst.ok .sc-label, .sc-dst.ok b { color: var(--success); } .sc-dst.team .sc-label, .sc-dst.team b { color: #D9822B; }
.sc-dst b small { font-size: .5em; }
html[lang="ar"] .sc-label { letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .sc [data-in] { transition: none; } .sc-hub img { animation: none; } }

.list { display: flex; flex-direction: column; gap: 22px; }
.item { display: flex; flex-direction: column; gap: 6px; opacity: .26; transition: opacity .5s var(--ease); }
.item.active { opacity: 1; }
.item h3 { font: 400 clamp(36px, 4vw, 56px)/1 var(--serif); }
.item h3 em { font-style: italic; color: var(--reply); }
.item p { font: 400 16px/1.5 var(--sans); color: var(--ink-body); max-width: 28em; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.item.active p { max-height: 6em; }

#pricing .p4 { position: relative; display: inline-block; isolation: isolate; }
#pricing .p4 em { color: var(--reply); font-size: 1.22em; line-height: .8; padding: 0 .04em; }
#pricing .p4 .ul { position: absolute; left: -4%; bottom: -.1em; width: 108%; height: .18em; overflow: visible; z-index: -1; }
#pricing .p4 .ul path { fill: none; stroke: #ADC5F0; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset .9s .35s cubic-bezier(.6,0,.2,1); }
#pricing.live .p4 .ul path { stroke-dashoffset: 0; }
.tiers { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tiers div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 15px/1.3 var(--sans); color: var(--ink-body); }
.tiers b { font: 400 30px/1 var(--serif); color: var(--midnight); font-weight: 400; }
.tiers b span { font: 400 11px/1 var(--mono); color: var(--ink-muted); margin-left: 4px; }

.slot { display: none; }
.desk { display: none; position: fixed; left: 0; right: 0; bottom: 0; height: var(--desk, 0px); z-index: 2; pointer-events: none; background: linear-gradient(rgba(var(--bgc),0), rgb(var(--bgc)) 40px); }
.desk::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: min(260px, 60vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(222,218,208,0), var(--line), rgba(222,218,208,0)); }
.integr { width: min(1040px, 92vw); margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (min-aspect-ratio: 1/1) and (max-height: 620px) { .integr .fine { display: none; } .lg { height: 48px; } }
.trust { margin-top: clamp(6px, 2.4vh, 26px); display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.trust-label { display: flex; align-items: center; gap: 16px; width: 100%; justify-content: center; font: 400 clamp(22px, 2.1vw, 30px)/1 var(--serif); letter-spacing: .07em; color: var(--midnight); }
.trust-label::before, .trust-label::after { content: ""; flex: 1; max-width: 90px; height: 1px; background: linear-gradient(90deg, rgba(222,218,208,0), var(--line)); }
.trust-label::after { transform: scaleX(-1); }
.marquee.mini { width: 100%; }
.marquee.mini { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee.mini .mq-track { animation-duration: 20s; }
.marquee.mini .lg { height: 44px; padding: 0 18px; border-radius: 12px; font-size: 13px; }
.marquee.mini .lg img { height: 17px; } .marquee.mini .lg img.sq { height: 20px; }
.int-head { display: inline-flex; align-items: center; gap: 8px; font: 400 14px/1.3 var(--sans); color: var(--ink-body); }
.int-head b { font-weight: 600; color: var(--reply); }
.watch { width: 18px; height: 18px; fill: none; stroke: var(--reply); stroke-width: 1.8; stroke-linecap: round; }
.watch .hand { transform-origin: 12px 13.5px; animation: tick 3s steps(12) infinite; }
@keyframes tick { to { transform: rotate(360deg); } }
.marquee { direction: ltr; width: 100%; overflow: hidden; padding: 4px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.mq-track { display: flex; width: max-content; animation: marq 22s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-set { display: flex; gap: 12px; padding-right: 12px; }
.lg { flex: none; height: 58px; padding: 0 24px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(14, 22, 64, .04), 0 6px 18px -10px rgba(14, 22, 64, .18); font: 600 15px/1 var(--sans); color: #1F2937; }
.lg img { height: 22px; width: auto; display: block; }
.lg img.sq { height: 26px; }
@keyframes marq { to { transform: translateX(-50%); } }
/* Testimonials */
.quotes { display: flex; flex-direction: column; gap: 12px; }
html.js .q.step.on { display: block; }
.q { margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(14,22,64,.04), 0 10px 26px -16px rgba(14,22,64,.25); }
.q blockquote { margin: 0 0 12px; font: 400 clamp(17px, 1.45vw, 21px)/1.3 var(--serif); color: var(--midnight); }
.q figcaption { display: flex; align-items: center; gap: 10px; font: 400 12px/1.35 var(--sans); color: var(--ink-muted); }
.q figcaption b { display: block; font: 600 13px/1.3 var(--sans); color: var(--midnight); }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0A35E8, #3FA0FF); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .02em; }
.calc-link { font: 600 15px/1 var(--sans); color: var(--reply); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; padding: 10px 4px; }
.calc-link span { transition: transform 150ms var(--ease); } .calc-link:hover span { transform: translateX(3px); }
/* Footer + FAQ */
.site-foot { position: relative; z-index: 3; background: var(--paper); border-top: 1px solid var(--line); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 9vh, 96px) clamp(16px, 5vw, 56px) 28px; }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; }
.faq-head .lead { font-size: 16px; } .faq-head a { color: var(--reply); }
.faq-list { border-top: 1px solid var(--line); }
.fq { border-bottom: 1px solid var(--line); }
.fq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 500 17px/1.35 var(--sans); color: var(--midnight); }
.fq summary::-webkit-details-marker { display: none; }
.fq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .25s var(--ease), background .2s; }
.fq summary i::before, .fq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--midnight); transform: translate(-50%, -50%); }
.fq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s var(--ease); }
.fq[open] summary i { background: var(--reply); border-color: var(--reply); } .fq[open] summary i::before, .fq[open] summary i::after { background: #fff; } .fq[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.fq summary:hover { color: var(--reply); }
.fq p { margin: 0 0 18px; max-width: 40em; font: 400 15.5px/1.6 var(--sans); color: var(--ink-body); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; } .foot-brand p { margin: 0; font: 400 14px/1.5 var(--sans); color: var(--ink-body); max-width: 22em; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.foot-grid nav { display: flex; flex-direction: column; gap: 10px; }
.foot-grid nav p { margin: 0 0 4px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.foot-grid nav a { font: 400 15px/1.3 var(--sans); color: var(--midnight); text-decoration: none; } .foot-grid nav a:hover { color: var(--reply); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font: 400 12px/1.4 var(--mono); color: var(--ink-muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-head { position: static; } .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
}

/* Testimonials: one card per customer, arriving like messages */
.thread { display: flex; flex-direction: column; gap: clamp(10px, 1.6vh, 14px); }
html.js .tcard.step.on { display: block; animation: msgIn .55s cubic-bezier(.2,.9,.25,1.12) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(.97); transform-origin: 0 100%; } }
.tcard { margin: 0; padding: clamp(14px, 1.8vh, 18px) clamp(16px, 2vw, 22px); background: #fff; border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; box-shadow: 0 1px 2px rgba(14,22,64,.04), 0 16px 34px -24px rgba(14,22,64,.3); }
.thead { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 28px; }
.tlogo { display: inline-flex; align-items: center; height: 28px; }
.tlogo img { display: block; width: auto; } .tlogo .lg-bh { height: 15px; } .tlogo .lg-ss { height: 24px; } .tlogo .lg-tl { height: 28px; }
.stars { display: inline-flex; gap: 1px; } .stars svg { width: 13px; height: 13px; fill: #F2B33D; }
.tcard blockquote { margin: 10px 0 0; }
.tcard blockquote p { margin: 0; font: 400 clamp(16px, 1.45vw, 21px)/1.28 var(--serif); color: var(--midnight); text-wrap: pretty; }
.tcard figcaption { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font: 400 12.5px/1.4 var(--sans); color: var(--ink-muted); }
.tcard figcaption b { font-weight: 600; color: var(--midnight); }
.tcard figcaption a { color: var(--reply); font-weight: 600; text-decoration: none; }
.tcard figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tcard .ext { width: 10px; height: 10px; margin-left: 2px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.ttyping { width: max-content; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; }
html.js .ttyping.step.on { display: flex; gap: 4px; } html.js .ttyping.step.on.done { display: none; }
.ttyping span { width: 7px; height: 7px; border-radius: 50%; background: #9AA3BF; animation: tdot 1s infinite ease-in-out; }
.ttyping span:nth-child(2) { animation-delay: .15s; } .ttyping span:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.js .tcard.step.on { animation: none; } .ttyping span { animation: none; } }

/* Outcome visuals: short Remotion loops, a wide and a stacked cut */

.fine { margin-top: 14px; font: 400 11px/1.5 var(--mono); color: var(--ink-muted); }
.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px clamp(16px, 4vw, 56px); border-top: 1px solid var(--line); font: 400 12px/1.4 var(--mono); color: var(--ink-muted); background: var(--paper); }

.top img { width: clamp(132px, 13vw + 70px, 173px); height: auto; }
.top nav { gap: clamp(12px, 2.4vw, 26px); font-size: clamp(13.5px, .5vw + 11px, 15px); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; place-items: center; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 16px; height: 1.6px; background: var(--midnight); position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; } .menu-btn i::before { top: -5px; } .menu-btn i::after { top: 5px; }
.top.open .menu-btn i { background: transparent; } .top.open .menu-btn i::before { transform: translateY(5px) rotate(45deg); } .top.open .menu-btn i::after { transform: translateY(-5px) rotate(-45deg); }
.menu { position: absolute; inset-inline-end: clamp(12px, 4vw, 56px); top: calc(100% + 2px); display: none; flex-direction: column; width: min(300px, calc(100vw - 24px)); padding: 8px; background: #fff; border: 1px solid rgba(20,31,70,.08); border-radius: 20px; box-shadow: 0 2px 4px rgba(14,22,64,.06), 0 28px 60px -24px rgba(14,22,64,.45); }
.menu a { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; font: 500 16px/1.2 var(--sans); color: var(--midnight); text-decoration: none; transition: background .15s, color .15s; }
.menu a::after { margin-inline-start: auto; content: "→"; font: 400 15px/1 var(--sans); color: var(--ink-muted); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .2s var(--ease); }
.menu a:hover, .menu a:focus-visible { background: var(--paper); color: var(--reply); }
.menu a:hover::after, .menu a:focus-visible::after { opacity: 1; transform: none; color: var(--reply); }
html[dir="rtl"] .menu a::after { content: "←"; }
.menu a::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; color: var(--ink-muted); opacity: .75; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; transition: color .15s, opacity .15s; }
.menu a:hover::before, .menu a:focus-visible::before { color: var(--reply); opacity: 1; }
.menu a[href$="#outcomes"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z'/%3E%3Cpath d='M19 16v4M17 18h4'/%3E%3C/svg%3E"); }
.menu a[href$="#pricing"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.3'/%3E%3C/svg%3E"); }
.menu a[href$="#customers"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.6-3.5 3.3-5.5 6.5-5.5s5.9 2 6.5 5.5'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18 14.8c2 .6 3.3 2.4 3.6 5.2'/%3E%3C/svg%3E"); }
.menu a[href*="integration"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2v5M15 2v5M6 7h12v4a6 6 0 0 1-12 0zM12 17v5'/%3E%3C/svg%3E"); }
.menu a[href*="compare"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M8 21h8M5 7h14M5 7l-3 7a3 3 0 0 0 6 0zM19 7l-3 7a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.menu a[href*="calculator"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2.5' width='14' height='19' rx='2.5'/%3E%3Cpath d='M8.5 6.5h7v3h-7zM9 13.5h.01M12 13.5h.01M15 13.5h.01M9 17.5h.01M12 17.5h.01M15 17.5h.01'/%3E%3C/svg%3E"); }
.menu a[href*="faq"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.3a2.5 2.5 0 0 1 4.9.8c0 1.7-2.5 2.3-2.5 3.9M12 17.2h.01'/%3E%3C/svg%3E"); }
.menu a.menu-login { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E"); }
html[dir="rtl"] .menu a.menu-login::before { transform: scaleX(-1); }
.menu .sep { height: 1px; margin: 6px 14px; background: var(--line); }
.menu a.menu-login { justify-content: center; margin-top: 6px; border: 1px solid var(--line); font-weight: 600; }
.menu a.menu-login::after { display: none; }
.menu a.menu-login:hover { border-color: var(--reply); background: rgba(1,85,239,.05); }
.top.open .menu { display: flex; animation: rise .25s var(--ease) both; }
/* The header collapses step by step only when its items don't fit (measured in script) */
.top nav { flex: none; white-space: nowrap; }
.top > a { flex: none; }
.top nav > a, .top .btn { white-space: nowrap; }
.top.c1 nav > a:not(.btn) { display: none; } .top.c1 .menu-btn { display: grid; }
.top.c2 .lang-switch summary { width: 42px; padding: 0; justify-content: center; } .top.c2 .lang-switch summary :is(.code, .c) { display: none; }
.top.c3 .btn-sm { padding: 0 16px; }
.top.c4 .btn-sm { padding: 0 13px; font-size: 13px; } .top.c4 .btn-sm span { display: none; } .top.c4 nav { gap: 8px; }
.top.c5 > a img { width: 128px; height: auto; }
.top .logo-mark { display: none; } .top.c6 > a img:not(.logo-mark) { display: none !important; } .top.c6 > a .logo-mark { display: block; width: 32px; height: 32px; }
/* Small widths: denser components (layout itself stays fluid) */
@media (max-width: 480px) {
  .lead { font-size: 15.5px; }
  .chat { padding: 12px; gap: 8px; border-radius: 20px; }
  .chat-head { display: none; }
  .bubble { font-size: 13.5px; padding: 9px 12px; }
  .esc { padding: 12px; } .esc p { font-size: 13px; }
  .wa-back { display: none !important; } .wa-text { font-size: 14px; }
  .list { gap: 6px; }
  .oi h3 { font-size: clamp(22px, 6vw, 32px); } .od { font-size: 13.5px; }
  .tiles { gap: 8px; } .tile { padding: 10px 10px 8px; gap: 4px; } .t-num { font-size: 28px; } .viz { height: 40px; } .viz.ups { height: auto; } .ups span { font-size: 10px; padding: 3px 6px; } .t-cap { display: none; }
  .item h3 { font-size: clamp(22px, 5.4vw, 30px); }
  .item.active h3 { font-size: clamp(28px, 7vw, 40px); }
  .item p { font-size: 14.5px; }
  .tiers div { padding: 8px 0; } .tiers b { font-size: 24px; }
  .btn { min-height: 48px; padding: 0 22px; }
}
@media (max-width: 480px) and (max-height: 720px) {
  .chapter:not(#hero) .lead { display: none; }
  .copy { gap: 10px; }
}
/* Short landscape windows */
@media (min-aspect-ratio: 1/1) and (max-height: 620px) {
  .copy { width: clamp(280px, 46vw, 500px); }
  .top { padding-top: 12px; padding-bottom: 12px; }
  .pin { padding-top: 76px; padding-bottom: 20px; }
  .copy { gap: 12px; }
  .lead { font-size: 15px; }
  .chat-head { display: none; }
  .bubble { padding: 8px 12px; font-size: 13.5px; }
}
@media (min-aspect-ratio: 1/1) and (max-height: 460px) {
  .pin { padding-top: 60px; padding-bottom: 12px; }
  .kicker { display: none; }
  .chat { padding: 10px; gap: 6px; } .bubble { font-size: 12.5px; padding: 6px 10px; } .bubble small { display: none; }
  .lead { display: none; } #hero .lead { display: block; font-size: 14px; }
  .esc { padding: 10px; } .item p { font-size: 13.5px; } .list { gap: 4px; } .item h3 { font-size: 30px; }
  .tiers div { padding: 6px 0; } .tiers b { font-size: 22px; }
}

/* ---------- Fluid narrowing: below ~760px wide, a few elements make room for the concierge, gradually ---------- */
:root { --nar: 0px; }
html.measuring .step { display: block !important; } html.measuring .ttyping { display: none !important; }
.chapter.below .pin { padding-bottom: clamp(10px, 2vh, 24px); } html.measuring * { transition: none !important; }
.desk { display: none !important; }
.pin { padding-top: clamp(80px, 12.2vh, 110px); padding-bottom: clamp(28px, 8vh, 72px); }
[data-ch=chat] .copy > .kicker, [data-ch=chat] h2, [data-ch=voices] .copy > .kicker, [data-ch=voices] h2 { margin-inline-start: var(--nar); }
[data-ch=handover] h2, [data-ch=pricing] h2 { margin-inline-end: var(--nar); }
#hero .actions { margin-right: var(--nar); }
[data-ch=night] .lang-line { margin-right: calc(var(--nar) * 1.3); }
.oi h3, .oi .od { margin-right: calc(var(--nar) * .75); }
@media (prefers-reduced-motion: reduce) {
  h1 .ul path { animation: none; }
  #pricing .p4 .ul path { transition: none; stroke-dashoffset: 0; }
  .mq-track, .watch .hand { animation: none; }
  html.js .copy { transition: none; } html.js .step.on { animation: none; }
}
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--reply); color: #fff; font: 600 14px/1 var(--sans); text-decoration: none; }
.skip-link:focus { top: 12px; }

.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line, #DEDAD0); background: rgba(255,255,255,.7); font: 600 13px/1 var(--sans, sans-serif); letter-spacing: .04em; color: var(--midnight, #141F46); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.lang-switch summary svg.g { width: 17px; height: 17px; stroke: var(--ink-muted, #675E50); stroke-width: 1.5; }
html[data-night] .lang-switch summary svg.g { stroke: #AEB9DC; }
.lang-switch[open] summary svg.c { transform: rotate(180deg); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; display: flex; flex-direction: column; min-width: 160px; padding: 6px; background: #fff; border: 1px solid var(--line, #DEDAD0); border-radius: 14px; box-shadow: 0 20px 44px -18px rgba(14,22,64,.35); }
.lang-menu a { padding: 10px 12px; border-radius: 9px; font: 500 15px/1 var(--sans, sans-serif); color: var(--midnight, #141F46); text-decoration: none; }
.lang-menu a:hover { background: var(--paper, #F6F5F1); color: var(--reply, #0155EF); }
.lang-menu a[aria-current] { color: var(--reply, #0155EF); }
html[data-night] .lang-switch summary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #E7ECFA; }
html:not([lang="en"]) h1 span { white-space: normal; }
.top nav .lang-menu a:not(.btn) { display: block; color: var(--midnight, #141F46); }
.top nav .lang-menu a:not(.btn):hover, .top nav .lang-menu a[aria-current] { color: var(--reply, #0155EF); }
html[data-night] .top nav .lang-menu a:not(.btn) { color: var(--midnight, #141F46); }
html[data-night] .top nav .lang-menu a[aria-current] { color: var(--reply, #0155EF); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; }
html[lang="ja"] { --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", serif; --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif; }
html[lang="zh-CN"] { --serif: "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "SimSun", serif; --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif; }
html[lang="ar"] { --serif: "Noto Naskh Arabic", "Geeza Pro", "Times New Roman", serif; --sans: "Noto Sans Arabic", "Geeza Pro", Tahoma, system-ui, sans-serif; }
html[lang="ru"] { --serif: "Instrument Serif", Georgia, "Times New Roman", serif; }
html:is([lang="ja"], [lang="zh-CN"], [lang="ar"]) { --mono: var(--sans); }
html:is([lang="ja"], [lang="zh-CN"], [lang="ar"]) em { font-style: normal; }
html:is([lang="ja"], [lang="zh-CN"], [lang="ar"]) * { letter-spacing: 0 !important; }
html:is([lang="ja"], [lang="zh-CN"]) :is(h1, h2) { line-break: strict; text-wrap: pretty; }
html:is([lang="ja"], [lang="zh-CN"]) h2 { font-size: clamp(26px, min(3.8vw, 6.2vh), 56px); line-height: 1.18; }
html[dir="rtl"] input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(270deg, #0A35E8, #3FA0FF) 100% 0 / var(--p) 100% no-repeat, #E4E0D6; }
html:is([lang="ja"], [lang="zh-CN"]) h1 { font-size: clamp(30px, min(4.8vw, 8vh), 76px); line-height: 1.18; }
html:is([lang="ja"], [lang="zh-CN"]) #hero h1 { font-size: clamp(28px, min(4vw, 7vh), 64px); line-height: 1.18; }
html[lang="ar"] #hero h1 { font-size: clamp(30px, min(4.6vw, 7.6vh), 76px); line-height: 1.25; }
html[dir="rtl"] .btn span, html[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
.foot-langs a { color: inherit; text-decoration: none; } .foot-langs a:hover, .foot-langs a[aria-current] { color: var(--reply, #0155EF); }
