/* Home page: offer bar, hero, live app replica, scroll story, animated tiles, pricing slider. */

/* Offer bar (every page) */
.offer-bar { background: var(--ink); color: #fff; font-size: .88rem; text-align: center; padding: 9px 16px; }
.offer-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.offer-bar b { font-weight: 700; }
.offer-bar .sun { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 197, 10, .2); }
.offer-bar u { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); }

/* Hero */
.h-hero { position: relative; padding: 64px 0 0; text-align: center; overflow: hidden; }
.h-hero::before { /* the orbit, very faint, behind the headline */
  content: ''; position: absolute; left: 50%; top: -340px; width: 980px; height: 980px; margin-left: -490px; border-radius: 50%;
  border: 1px solid var(--line); pointer-events: none;
}
.h-hero::after { content: ''; position: absolute; left: 50%; top: 58px; width: 14px; height: 14px; margin-left: 312px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 8px rgba(255, 197, 10, .16); pointer-events: none; }
@media (max-width: 900px) { .h-hero::after { display: none; } }
@keyframes sun { to { transform: rotate(360deg); } }
.badge-new { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: .86rem; font-weight: 600; color: var(--ink-2); background: #fff; text-decoration: none; position: relative; z-index: 1; }
.badge-new span { background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: .74rem; letter-spacing: .02em; }
.h-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.045em; max-width: 13.5em; margin: 22px auto 0; position: relative; z-index: 1; }
.h-hero h1 em { font-size: 1.08em; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.35em); transition: opacity .45s, transform .45s; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .04em .08em; }
.rotator > span.on { opacity: 1; transform: none; }
.h-hero .lead { margin: 22px auto 0; max-width: 36em; position: relative; z-index: 1; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; position: relative; z-index: 1; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn .price-tag { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 3px 8px; font-size: .74rem; font-weight: 800; margin-left: 2px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 18px; font-size: .9rem; color: var(--ink-2); position: relative; z-index: 1; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Tour chips under the hero app */
.tour-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 44px auto 18px; position: relative; z-index: 2; }
.tour-chips button { position: relative; overflow: hidden; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; height: 38px; padding: 0 16px; font: 600 .86rem/1 var(--font-body); color: var(--ink-2); cursor: pointer; }
.tour-chips button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tour-chips button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--sun); }
.tour-chips button[aria-selected="true"] i { animation: fill var(--tour-ms, 7000ms) linear forwards; }
.tour.paused .tour-chips button i { animation-play-state: paused; }

/* Stage: the replica keeps the app's real desktop size and scales to fit */
.stage { position: relative; margin: 0 auto; max-width: 1200px; z-index: 2; }
.stage-fade { position: relative; }
.stage-fade::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; z-index: 3; }
.scaler { position: relative; width: 100%; }
.ui {
  --u-bg: #f3f4f8; --u-card: #fff; --u-line: #e6e7ee; --u-fg: #12131a; --u-muted: #5d6070; --u-subtle: #8b8e9c; --u-hover: #ececf2;
  position: absolute; left: 0; top: 0; width: 1200px; height: 740px; transform-origin: 0 0;
  display: grid; grid-template-columns: 220px 1fr; background: var(--u-bg); color: var(--u-fg);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; border: 1px solid #dcdce4; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(11, 11, 15, .35), 0 0 0 6px rgba(255, 255, 255, .8);
  text-align: left;
}
.ui * { box-sizing: border-box; }
.ui-side { background: #fff; border-right: 1px solid var(--u-line); display: flex; flex-direction: column; }
.ui-ws { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--u-line); }
.ui-ws i { width: 32px; height: 32px; border-radius: 9px; background: #111; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; }
.ui-ws b { display: block; font-weight: 600; font-size: 14px; } .ui-ws small { font-size: 10.5px; letter-spacing: .14em; color: var(--u-subtle); }
.ui-nav { padding: 10px 10px; flex: 1; overflow: hidden; }
.ui-grp { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--u-subtle); margin: 14px 10px 6px; display: flex; justify-content: space-between; }
.ui-grp:first-child { margin-top: 6px; }
.ui-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; color: #3a3d4a; font-size: 13.5px; position: relative; transition: background .25s; }
.ui-item svg { width: 17px; height: 17px; color: #4b4e5c; flex: none; }
.ui-item.on svg { color: #111; }
.ui-item.on { background: #e9e9ef; color: var(--u-fg); font-weight: 600; }
.ui-item.on::before { content: ''; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: #111; }
.ui-me { border-top: 1px solid var(--u-line); padding: 12px 18px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.ui-me i { width: 30px; height: 30px; border-radius: 50%; background: #e9e9ef; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; }
.ui-me small { display: block; color: var(--u-subtle); font-size: 11.5px; }
.ui-me > div { white-space: nowrap; }
.ui-me .pw { display: none; }
.ui-main { display: flex; flex-direction: column; min-width: 0; position: relative; }
.ui-top { height: 48px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--u-line); font-size: 12.5px; color: var(--u-muted); }
.ui-top .timer::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #9a9cab; margin-right: 7px; vertical-align: middle; }
.ui-top .timer.run::before { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.ui-top .clock { margin-left: auto; color: var(--u-fg); font-weight: 600; font-size: 14px; }
.ui-top .clock small { color: var(--u-muted); font-weight: 400; margin-left: 8px; font-size: 12.5px; }
.ui-top .search { margin-left: auto; background: #f3f4f8; border: 1px solid var(--u-line); border-radius: 8px; padding: 6px 10px; display: flex; gap: 10px; align-items: center; }
.ui-top .search kbd { font: 600 10px/1 inherit; border: 1px solid var(--u-line); background: #fff; border-radius: 4px; padding: 3px 5px; }
.ui-top .bell { position: relative; width: 18px; height: 18px; }
.ui-top .bell b { position: absolute; top: -7px; right: -8px; background: #ef4444; color: #fff; font-size: 9.5px; border-radius: 999px; padding: 1px 5px; }
.ui-top .start { background: #e9e9ef; color: var(--u-fg); border-radius: 999px; padding: 7px 14px; font-weight: 600; }
.ui-page { flex: 1; padding: 26px 30px; overflow: hidden; position: relative; }
.ui-page > .scr { animation: scrIn .45s ease both; height: 100%; }
@keyframes scrIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.u-h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.u-sub { color: var(--u-muted); font-size: 14px; margin-top: 3px; }
.u-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.u-btn { display: inline-flex; align-items: center; gap: 7px; background: #111; color: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: transform .15s; }
.u-btn.ghost { background: #fff; color: var(--u-fg); box-shadow: inset 0 0 0 1px var(--u-line); }
.u-btn.soft { background: #e9e9ef; color: var(--u-fg); }
.u-btn.press { transform: scale(.94); }
.u-card { background: var(--u-card); border: 1px solid var(--u-line); border-radius: 16px; }
.u-chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 9px; font-size: 11.5px; font-weight: 600; background: #eef0f4; color: #4b4e5c; white-space: nowrap; transition: background .3s, color .3s; }
.u-chip.high { background: #fde8e8; color: #c0262d; } .u-chip.med { background: #fdf0d6; color: #a15c07; }
.u-chip.ok { background: #e3f5e9; color: #15803d; } .u-chip.blue { background: #e4effb; color: #1d63b0; } .u-chip.vio { background: #efe9ff; color: #6f3cf0; }
.u-av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; flex: none; }
.c1 { background: #f59e0b; } .c2 { background: #6f3cf0; } .c3 { background: #0ea5e9; } .c4 { background: #e11d48; } .c5 { background: #16a34a; } .c6 { background: #111; }
.u-seg { display: inline-flex; background: #e9e9ef; border-radius: 999px; padding: 3px; font-size: 13px; }
.u-seg span { padding: 6px 12px; border-radius: 999px; color: var(--u-muted); } .u-seg span.on { background: #d9dae2; color: var(--u-fg); font-weight: 600; }
.u-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--u-line); }
.u-row:first-child { border-top: 0; }
.u-row .g { flex: 1; min-width: 0; } .u-row .g b { display: block; font-weight: 600; } .u-row .g small { color: var(--u-muted); font-size: 12.5px; }

/* Board */
.u-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.u-col { background: #f7f7fa; border: 1px solid var(--u-line); border-radius: 14px; padding: 10px; min-height: 420px; }
.u-col h5 { margin: 4px 6px 12px; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.u-col h5 small { background: #e9e9ef; border-radius: 999px; padding: 2px 8px; font-size: 11.5px; }
.u-task { background: #fff; border: 1px solid var(--u-line); border-radius: 12px; padding: 12px 13px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.u-task b { display: block; font-weight: 600; margin: 8px 0; line-height: 1.35; }
.u-task .who { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--u-muted); white-space: nowrap; overflow: hidden; }
.u-task .who span.r { overflow: hidden; text-overflow: ellipsis; }
.u-task .who em { font-style: normal; color: var(--u-fg); font-weight: 500; }
.u-task .due { font-size: 12px; color: var(--u-muted); margin-top: 8px; }
.u-task.lift { position: absolute; z-index: 5; width: 212px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.28); transform: rotate(-2deg); transition: left .9s cubic-bezier(.5,0,.2,1), top .9s cubic-bezier(.5,0,.2,1), transform .3s; }

/* Chat */
.u-chat { display: grid; grid-template-columns: 250px 1fr; height: 100%; margin: -26px -30px; }
.u-chan { background: #fff; border-right: 1px solid var(--u-line); padding: 14px 12px; }
.u-chan .t { font-size: 10.5px; letter-spacing: .12em; color: var(--u-subtle); font-weight: 600; margin: 14px 6px 6px; }
.u-chan .c { padding: 8px 10px; border-radius: 9px; color: #3a3d4a; display: flex; justify-content: space-between; }
.u-chan .c.on { background: #e9e9ef; font-weight: 600; color: var(--u-fg); }
.u-chan .c b { background: #111; color: #fff; border-radius: 999px; font-size: 10.5px; padding: 1px 7px; }
.u-chan .p { display: flex; align-items: center; gap: 9px; padding: 7px 10px; }
.u-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; margin-left: auto; box-shadow: 0 0 0 2px #fff; }
.u-dot.away { background: #f59e0b; } .u-dot.off { background: #c4c6cf; }
.u-msgs { display: flex; flex-direction: column; padding: 18px 26px; gap: 14px; background: var(--u-bg); position: relative; }
.u-msgs .hd { font-weight: 700; font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--u-line); margin: -4px -26px 4px; padding-left: 26px; background: #fff; padding-top: 12px; margin-top: -18px; }
.u-m { display: flex; gap: 10px; align-items: flex-end; max-width: 78%; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.u-m.show { opacity: 1; transform: none; }
.u-m .bub { background: #fff; border: 1px solid var(--u-line); border-radius: 16px 16px 16px 4px; padding: 9px 13px; line-height: 1.45; }
.u-m .bub small { display: block; font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.u-m.me { align-self: flex-end; flex-direction: row-reverse; }
.u-m.me .bub { background: #111; color: #fff; border-color: #111; border-radius: 16px 16px 4px 16px; }
.u-m .meta { display: flex; justify-content: flex-end; gap: 4px; align-items: center; font-size: 10.5px; color: rgba(255,255,255,.6); margin-top: 3px; }
.tick { display: inline-flex; } .tick svg { width: 16px; height: 11px; }
.tick .t2 { opacity: 0; transition: opacity .3s; } .tick.dlv .t2, .tick.seen .t2 { opacity: 1; }
.tick path { stroke: rgba(255,255,255,.6); transition: stroke .3s; } .tick.seen path { stroke: #38bdf8; }
.u-typing .bub { display: inline-flex; gap: 4px; padding: 13px 14px; }
.u-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9cab; animation: dot 1s infinite; }
.u-typing i:nth-child(2) { animation-delay: .15s; } .u-typing i:nth-child(3) { animation-delay: .3s; }
.u-compose { margin-top: auto; background: #fff; border: 1px solid var(--u-line); border-radius: 999px; padding: 11px 16px; color: var(--u-subtle); display: flex; justify-content: space-between; }

/* Portal */
.u-portal { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.u-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.u-brand i { width: 38px; height: 38px; border-radius: 10px; background: #0f766e; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; }
.u-video { aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(135deg, #1e1b2e, #3b3551); position: relative; display: grid; place-items: center; color: #fff; overflow: hidden; }
.u-video .play { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.u-video .cap { position: absolute; left: 14px; bottom: 12px; font-size: 12px; opacity: .8; }
.u-video .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--sun); width: 0; transition: width 3s linear; }
.approved-flash { animation: okflash 1.2s ease; }
@keyframes okflash { 0% { background: #fff; } 30% { background: #e3f5e9; } 100% { background: #fff; } }

/* Invoices */
.u-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.u-stat { padding: 16px 18px; } .u-stat small { color: var(--u-muted); font-size: 12.5px; } .u-stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.u-stamp { position: absolute; right: 30px; top: 50%; transform: translateY(-50%) rotate(-10deg) scale(2); opacity: 0; border: 3px solid #15803d; color: #15803d; border-radius: 8px; padding: 2px 10px; font-weight: 800; letter-spacing: .12em; font-size: 16px; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .2s; }
.u-stamp.on { transform: translateY(-50%) rotate(-10deg) scale(1); opacity: 1; }

/* My day */
.u-grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.u-clockin { border-radius: 999px; border: 1px solid var(--u-line); background: #fff; padding: 9px 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all .3s; }
.u-clockin::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #9a9cab; }
.u-clockin.in { background: #111; color: #fff; border-color: #111; } .u-clockin.in::before { background: #22c55e; }
.u-lbl { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--u-subtle); margin-bottom: 10px; }
.u-check { width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid #c4c6cf; flex: none; transition: all .3s; position: relative; }
.u-check.done { background: #111; border-color: #111; }
.u-check.done::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.u-strike { transition: color .3s; } .done-row .u-strike { color: var(--u-subtle); text-decoration: line-through; }

/* Command bar */
.u-dim { position: absolute; inset: 0; background: rgba(15, 16, 22, .35); opacity: 0; transition: opacity .3s; z-index: 6; }
.u-dim.on { opacity: 1; }
.u-cmd { position: absolute; left: 50%; top: 90px; width: 560px; margin-left: -280px; background: #fff; border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); z-index: 7; opacity: 0; transform: translateY(-8px) scale(.98); transition: all .25s; overflow: hidden; }
.u-cmd.on { opacity: 1; transform: none; }
.u-cmd .in { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--u-line); font-size: 15px; min-height: 56px; }
.u-cmd .in .caret { width: 2px; height: 18px; background: #111; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.u-cmd .res { padding: 10px; opacity: 0; transition: opacity .3s; } .u-cmd .res.on { opacity: 1; }
.u-cmd .opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; }
.u-cmd .opt.on { background: #f1f1f5; }
.u-toast { position: absolute; right: 24px; bottom: 24px; background: #111; color: #fff; border-radius: 12px; padding: 12px 16px; font-weight: 600; z-index: 8; transform: translateY(20px); opacity: 0; transition: all .35s; display: flex; gap: 9px; align-items: center; }
.u-toast.on { transform: none; opacity: 1; }
.u-toast::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }

/* Cursor */
.u-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 10; pointer-events: none; transition: transform .8s cubic-bezier(.5, 0, .2, 1), opacity .3s; opacity: 0; }
.u-cursor.on { opacity: 1; }
.u-cursor::after { content: ''; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.u-cursor.click::after { animation: clk .45s ease; }
@keyframes clk { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.5); } }

/* "Replaces" strip */
.replaces { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; color: var(--ink-3); font-size: .95rem; }
.replaces s { text-decoration: none; position: relative; color: var(--ink-2); font-weight: 600; }
.replaces s::after { content: ''; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.replaces.in s::after { transform: scaleX(1); }
.replaces s:nth-child(2)::after { transition-delay: .15s; } .replaces s:nth-child(3)::after { transition-delay: .3s; } .replaces s:nth-child(4)::after { transition-delay: .45s; } .replaces s:nth-child(5)::after { transition-delay: .6s; } .replaces s:nth-child(6)::after { transition-delay: .75s; }
.replaces .arrow { font-weight: 800; color: var(--ink); }

/* Scroll story */
.story { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.story-steps { padding: 10vh 0 30vh; }
.story-step { padding: 26px 0 26px 24px; border-left: 2px solid var(--line); opacity: .38; transition: opacity .35s, border-color .35s; min-height: 38vh; }
.story-step.on { opacity: 1; border-left-color: var(--ink); }
.story-step .n { font: 700 .8rem/1 var(--font-body); color: var(--ink-3); letter-spacing: .1em; }
.story-step h3 { font-size: 1.7rem; margin: 10px 0 10px; letter-spacing: -.03em; }
.story-step p { color: var(--ink-2); margin: 0; }
.story-sticky { position: sticky; top: 110px; }
@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-sticky { top: 70px; z-index: 2; background: #fff; padding: 8px 0; }
  .story-steps { padding: 20px 0 10vh; }
  .story-step { min-height: 46vh; }
}

/* Bento of live tiles */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 24px; display: flex; flex-direction: column; overflow: hidden; position: relative; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.2rem; letter-spacing: -.02em; margin: 0 0 6px; }
.tile p { color: var(--ink-2); font-size: .95rem; margin: 0 0 20px; }
.tile .demo-area { margin-top: auto; background: #f3f4f8; border-radius: 14px; padding: 16px; min-height: 180px; position: relative; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; overflow: hidden; }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; } .span4 { grid-column: span 4; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .span2, .span3, .span4 { grid-column: span 1; } .tile.wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile.wide { grid-column: span 1; } }
.mini-card { background: #fff; border: 1px solid #e6e7ee; border-radius: 10px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.mini-card b { display: block; font-weight: 600; margin: 5px 0; }
/* tile: board */
.t-board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t-board .col { background: #eceef3; border-radius: 10px; padding: 8px; min-height: 148px; }
.t-board .col small { display: block; font-weight: 700; margin: 2px 4px 8px; color: #5d6070; }
.t-board .mover { animation: boardMove 5s ease-in-out infinite; animation-play-state: paused; }
.in .t-board .mover { animation-play-state: running; }
@keyframes boardMove { 0%, 20% { transform: none; } 45%, 80% { transform: translateX(calc(100% + 26px)); } 100% { transform: none; } }
/* tile: ticks */
.t-chat .u-m { max-width: 100%; }
.t-chat .u-m .bub { font-size: 13px; }
/* tile: signature */
.sig-svg path { stroke-dasharray: 520; stroke-dashoffset: 520; }
.in .sig-svg path { animation: draw 2.2s .4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.in .sig-signed { animation: in .3s 2.6s forwards; }
.sig-signed { opacity: 0; }
/* tile: paid stamp */
.t-paid .u-stamp { right: 18px; }
/* tile: bars */
.bars .b { display: grid; grid-template-columns: 90px 1fr 54px; gap: 10px; align-items: center; margin-bottom: 10px; }
.bars .track { height: 10px; border-radius: 99px; background: #e2e4ea; overflow: hidden; }
.bars .track i { display: block; height: 100%; width: 0; background: #111; border-radius: 99px; transition: width 1.4s cubic-bezier(.3,.8,.3,1); }
.bars .track i.behind { background: #f59e0b; }
/* tile: whiteboard */
.wb { background: #fff radial-gradient(#dcdde4 1px, transparent 1px) 0 0 / 16px 16px; }
.sticky { position: absolute; width: 104px; min-height: 70px; padding: 9px; font-size: 12px; font-weight: 600; border-radius: 4px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.25); }
.sticky.y { background: #fff1a8; } .sticky.p { background: #e9dcff; } .sticky.b { background: #d3ecff; }
.in .sticky.drift { animation: drift 5s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(26px, 10px) rotate(3deg); } }
.wb svg path { stroke-dasharray: 200; stroke-dashoffset: 200; }
.in .wb svg path { animation: draw 1.6s .8s forwards; }
/* tile: request lanes */
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 150px; }
.lane { background: #eceef3; border-radius: 10px; padding: 8px; position: relative; }
.lane small { font-weight: 700; color: #5d6070; display: block; margin: 2px 4px 8px; }
.req { position: absolute; left: 8px; right: 8px; top: 34px; z-index: 2; }
.in .req { animation: reqMove 5s ease-in-out infinite; }
@keyframes reqMove { 0%, 18% { transform: none; } 45%, 82% { transform: translateX(calc(100% + 26px)); } 100% { transform: none; } }

/* Remote team clocks */
.clocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .clocks { grid-template-columns: 1fr 1fr; } }
.clock-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; }
.clock-card .t { font: 800 2rem/1 var(--font-body); letter-spacing: -.03em; margin: 12px 0 4px; font-variant-numeric: tabular-nums; }
.clock-card .who { display: flex; align-items: center; gap: 10px; }
.clock-card .who b { display: block; font-size: .95rem; } .clock-card .who small { color: var(--ink-3); font-size: .82rem; }
.clock-card .st { font-size: .85rem; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.clock-card .st::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--st, #16a34a); }

/* Interactive command bar */
.cmd-demo { max-width: 760px; margin: 0 auto; }
.cmd-box { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.cmd-in { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 1.05rem; min-height: 62px; }
.cmd-in kbd { margin-left: auto; font: 600 .75rem/1 var(--font-body); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 7px; color: var(--ink-3); }
.cmd-out { padding: 14px; min-height: 150px; }
.cmd-out .opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #f5f5f8; animation: scrIn .35s ease both; }
.cmd-out .opt + .opt { margin-top: 8px; }
.cmd-sugs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.cmd-sugs button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 9px 15px; font: 500 .9rem/1.2 var(--font-body); color: var(--ink-2); cursor: pointer; }
.cmd-sugs button:hover, .cmd-sugs button.on { border-color: var(--ink); color: var(--ink); }

/* Pricing slider */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-box { border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: #fff; }
.calc-box.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.calc-box.dark h3, .calc-box.dark b { color: #fff; }
.calc label { font-weight: 700; display: flex; justify-content: space-between; margin-bottom: 14px; }
.calc output { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.calc input[type=range] { width: 100%; accent-color: #0b0b0f; height: 28px; }
.calc .scale { display: flex; justify-content: space-between; color: var(--ink-3); font-size: .82rem; }
.calc .plan-name { font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #bdbdc9; }
.calc .big { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 4px; }
.calc .big b { font-size: 3.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.calc .big s { color: #8e8e9c; font-size: 1.4rem; font-weight: 600; }
.calc .save { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; border-radius: 999px; padding: 5px 12px; font-size: .88rem; margin: 8px 0 18px; }
.calc .vs { border-top: 1px solid #2c2c36; padding-top: 16px; margin-top: 18px; color: #c7c7d2; font-size: .95rem; }
.calc .vs b { color: #fff; }
.calc-box.dark .btn-primary { background: #fff; color: var(--ink); width: 100%; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .h-hero::after { animation: none; } }

.ui.compact { grid-template-columns: 0 1fr; }
.ui.compact .ui-side { visibility: hidden; }
.ui.compact .ui-top .timer, .ui.compact .ui-top .clock small { display: none; }
.ui.compact .u-cols { grid-template-columns: repeat(3, 1fr); } .ui.compact .u-col:last-child { display: none; }
.ui.compact .u-chat { grid-template-columns: 0 1fr; } .ui.compact .u-chan { visibility: hidden; }
.ui.compact .u-grid2, .ui.compact .u-portal { grid-template-columns: 1fr; }
.ui.compact .u-grid2 > :last-child, .ui.compact .u-portal > :last-child { display: none; }
.ui.compact .u-head .u-seg, .ui.compact .u-head .u-btn.ghost { display: none; }
.ui.compact .u-cmd { width: 520px; margin-left: -260px; }
