/* Joyride home page, laid out after jellyfish.co: gradient hero with the product in a frame and chapter tabs, a logo
   ribbon, role panels with real screens, a dark integrations band, a "why" grid, a gradient call to action, and a dark
   footer. The gradient is the grainy blue from the book-a-demo card. */
.home { background: #fff; --grad: radial-gradient(42% 75% at 22% 48%, rgba(12,30,130,.32) 0%, rgba(12,30,130,0) 72%), radial-gradient(30% 80% at 96% 25%, rgba(70,220,255,.95) 0%, rgba(70,220,255,0) 70%), radial-gradient(28% 70% at 80% 108%, rgba(60,150,255,.8) 0%, rgba(60,150,255,0) 70%), radial-gradient(30% 60% at 14% 112%, rgba(70,110,255,.6) 0%, rgba(70,110,255,0) 70%), linear-gradient(100deg, #1a3ec6 0%, #1d47d0 35%, #2264e6 60%, #2590f2 82%, #2cbaf4 100%); --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Nav: one floating pill, as on jellyfish.co */
.home .nav, .home .nav[data-state="condensed"] { top: 16px; width: min(1080px, calc(100vw - 32px)); height: 60px; padding: 0 10px 0 22px; background: rgba(255,255,255,.84); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset, 0 12px 32px -20px rgba(3,10,40,.45); }
.home .nav[data-open="true"] { height: auto; }

/* Shared */
.eyebrow-h { font-size: 20px; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
.big-h { margin: 18px 0 0; font-size: 62px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: var(--blue); text-wrap: balance; }
.hb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 28px; border: 0; border-radius: 999px; font: 600 17px var(--font-sans); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap; transition: background-color .2s, transform .2s var(--ease); }
.hb:hover { transform: translateY(-1px); }
.hb-ink { background: var(--ink); color: #fff; } .hb-ink:hover { background: #142560; }
.hb-blue { background: var(--blue); color: #fff; } .hb-blue:hover { background: var(--blue-ink); }
.hb-white { background: #fff; color: var(--ink); } .hb-white:hover { background: #eef2ff; }
.home svg[aria-hidden] { flex: none; }

/* ---------- Hero ---------- */
.h-hero { position: relative; isolation: isolate; padding: 0; text-align: center; }
.h-top { position: relative; padding: 148px 24px 80px; }
/* Hero backdrop, as on jellyfish.co: a deep-blue arch hanging from the top, lighter blue rising from the bottom corners. */
.h-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(64% 92% at 50% -4%, #1431ae 0%, #1736bc 52%, #1c44cb 64%, rgba(28,68,203,0) 79%),
  radial-gradient(38% 48% at -2% 102%, rgba(110,224,255,.95) 0%, rgba(90,205,255,.55) 40%, rgba(90,205,255,0) 75%),
  radial-gradient(38% 48% at 102% 102%, rgba(110,224,255,.95) 0%, rgba(90,205,255,.55) 40%, rgba(90,205,255,0) 75%),
  linear-gradient(180deg, #2350d6 0%, #2c74e6 40%, #3a9cf0 72%, #4cbcf6 100%); }
.h-bg::after { content: ""; position: absolute; inset: 0; opacity: .95; mix-blend-mode: overlay; background-image: var(--noise); background-size: 220px 220px; }
.h-copy { max-width: 980px; margin: 0 auto; color: #fff; }
.h-copy h1 { font-size: 64px; line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
.h-copy p { margin: 22px auto 0; max-width: 560px; font-size: 20px; line-height: 1.5; color: rgba(255,255,255,.94); text-wrap: balance; }
.h-form { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.h-form input { width: 300px; height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 400 17px var(--font-sans); outline: none; box-shadow: 0 10px 30px -18px rgba(3,10,40,.5); }
.h-form input::placeholder { color: #3b4664; }
.h-form input:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
.h-frame { width: min(1200px, 100%); margin: 92px auto 0; padding: 14px; border-radius: 26px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.5); box-shadow: 0 50px 100px -50px rgba(3,10,40,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.h-screen { border-radius: 14px; background: #f6f6f3; box-shadow: 0 1px 2px rgba(3,10,40,.12); text-align: left; }
.h-tabs { width: min(1200px, calc(100% - 48px)); margin: 32px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; text-align: left; }
.h-tab { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .25s, border-color .25s; }
.h-tab b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.h-tab span { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.h-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; }
.h-tab:hover { border-color: var(--line-strong); }
.h-tab.on { background: var(--blue-soft); border-color: transparent; }
.h-tab.on::after { opacity: 1; }

/* ---------- Illustrations: product screens drawn at a fixed size and scaled to fit ---------- */
.il-fit { position: relative; overflow: hidden; width: 100%; }
.il { position: absolute; left: 0; top: 0; transform-origin: 0 0; font-family: var(--font-sans); color: var(--ink); font-size: 15px; line-height: 1.4; letter-spacing: -0.005em; }
.il b { font-weight: 600; }
.il em { font-style: normal; }
.il .lg { width: 22px; height: 22px; object-fit: contain; flex: none; }
.il .lg.sm { width: 18px; height: 18px; } .il .lg.md { width: 28px; height: 28px; }
.il .ini { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.il .ini.sm { width: 28px; height: 28px; border-radius: 7px; font-size: 11.5px; } .il .ini.xs { width: 20px; height: 20px; border-radius: 5px; font-size: 9px; } .il .ini.lg { width: 48px; height: 48px; border-radius: 11px; font-size: 17px; }
.il .jr-mark { width: 24px; height: 24px; flex: none; }
.il .pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.il .pill svg, .il .btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.il .pill.green { background: #e3f3ea; color: #12704c; } .il .pill.amber { background: #fdf1df; color: #a85b06; } .il .pill.blue { background: var(--blue-soft); color: var(--blue); } .il .pill.red { background: #fbe9e5; color: #b4331f; }
.il .btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid #d9dde6; background: #fff; font-size: 14.5px; font-weight: 500; }
.il .btn.pri { background: var(--ink); border-color: var(--ink); color: #fff; }
.il-card { background: #fff; border: 1px solid #e5e7ee; border-radius: 16px; box-shadow: 0 1px 2px rgba(10,23,64,.04), 0 18px 40px -26px rgba(10,23,64,.35); }
.il-ch { display: flex; align-items: baseline; gap: 10px; }
.il-ch b { font-size: 17px; } .il-ch span { font-size: 13.5px; color: var(--ink-3); }
.il-hero { width: 1152px; height: 648px; display: flex; background: #fbfbfa; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.il-hero.on { opacity: 1; }
/* Sidebar, as in the product */
.sb { width: 196px; flex: none; display: flex; flex-direction: column; gap: 1px; padding: 16px 10px 12px; background: #f3f2ee; border-right: 1px solid #e6e5e0; }
.sb-logo { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.il .sb-logo .jr-mark { width: 24px; height: 24px; }
.sb-sec { padding: 14px 8px 5px; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.sb-i { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 8px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.sb-i svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sb-i.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px #e6e5e0, 0 1px 2px rgba(10,23,64,.05); }
.sb-n { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.sb-n.amber { background: #fdf1df; color: #a85b06; }
.sb-bottom { margin-top: auto; }
/* Page */
.pg { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pg-h { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 24px; }
.pg-h h4 { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.pg-crumb { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 1px; }
.pg-r { display: flex; align-items: center; gap: 10px; }
.pg-range { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid #dfe2e8; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 500; }
.pg-range svg { width: 13px; height: 13px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-save { display: flex; align-items: baseline; gap: 6px; margin-right: 6px; } .pg-save em { font-size: 12.5px; color: var(--ink-3); } .pg-save b { font-size: 15px; color: var(--blue); }
.pg-b { position: relative; flex: 1; min-height: 0; padding: 0 24px 22px; }
.pg-b > [class^="v-"] { height: 100%; }
.b-link { position: absolute; left: 0; top: 0; width: 956px; height: 584px; pointer-events: none; overflow: visible; z-index: 2; }
.b-link path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 5 5; }
.b-link circle { fill: var(--blue); } .b-link.amber circle { fill: #f2a024; } .b-link.amber path { stroke: #f2a024; }

/* 1. Spend */
.v-spend { display: flex; flex-direction: column; gap: 14px; }
.a-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.a-stat { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.a-stat span { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.a-stat b { margin-top: 2px; font-size: 28px; letter-spacing: -0.03em; line-height: 1.15; }
.a-stat em { font-size: 12.5px; color: var(--ink-3); }
.a-stat.f { border-color: transparent; background: var(--blue); color: #fff; } .a-stat.f span, .a-stat.f em { color: rgba(255,255,255,.88); }
.a-key i.p, .a-bar .p, .q-bar .p { background: #9fb6f2; }
.a-key i.u, .a-bar .u, .q-bar .u { background: #d9dde5; }
.a-key i.f, .a-bar .f, .q-bar .f { background: var(--blue); }
.a-tools { flex: 1; padding: 18px 22px 6px; }
.a-key { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.a-key i { width: 10px; height: 10px; border-radius: 3px; margin-left: 10px; }
.a-head, .a-row { display: grid; grid-template-columns: 22px 160px minmax(0, 1fr) 76px 104px 52px; gap: 12px; align-items: center; }
.a-head { margin-top: 12px; padding-bottom: 6px; font-size: 12.5px; color: var(--ink-3); } .a-head span:nth-child(n+4) { text-align: right; }
.a-row { height: 57px; border-top: 1px solid #eef0f4; }
.a-name { font-size: 14.5px; font-weight: 500; }
.a-bar { display: flex; gap: 2px; height: 20px; border-radius: 5px; overflow: hidden; }
.a-bar i { display: block; height: 100%; }
.a-num { text-align: right; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.a-pct { text-align: right; font-weight: 700; font-size: 15px; color: var(--blue); font-variant-numeric: tabular-nums; }

/* 2. Deliverable trace */
.v-trace { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; }
.b-sheet { overflow: hidden; display: flex; flex-direction: column; }
.b-sheet table { width: 100%; border-collapse: collapse; font-family: Calibri, Carlito, var(--font-sans); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.b-sheet th { background: #f3f4f6; color: #6b7489; font-weight: 400; font-size: 12px; padding: 7px 9px; border: 1px solid #e3e6ec; text-align: right; }
.b-sheet th:first-child { width: 30px; text-align: center; }
.b-sheet th.lb, .b-sheet td.lb { text-align: left; }
.b-sheet td { height: 51px; padding: 0 10px; border: 1px solid #eceef2; text-align: right; }
.b-sheet tr.b td { font-weight: 700; } .b-sheet tr.ind td.lb { padding-left: 20px; color: #3b4664; } .b-sheet tr.sum td { font-weight: 700; border-top: 2px solid #9aa3b5; }
.b-sheet td.hit { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); font-weight: 700; color: var(--blue); }
.b-tabs { display: flex; gap: 2px; margin-top: auto; padding: 0 10px; background: #f3f4f6; border-top: 1px solid #e3e6ec; font-size: 12.5px; }
.b-tabs span { padding: 7px 14px; color: #6b7489; } .b-tabs span.on { background: #fff; color: #1d7a46; font-weight: 600; border-bottom: 2px solid #1d7a46; }
.b-gpt { overflow: hidden; display: flex; flex-direction: column; color: #0d0d0d; }
.g-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; }
.g-model { display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; } .g-model em { font-weight: 400; color: #6b6b6b; }
.g-model svg { width: 14px; height: 14px; fill: none; stroke: #6b6b6b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-jr { display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: var(--blue-soft); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.g-thread { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 8px 18px 0; font-size: 14px; line-height: 1.55; }
.g-user { align-self: flex-end; max-width: 86%; padding: 9px 14px; border-radius: 18px; background: #f3f3f3; }
.g-ai p + p { margin-top: 9px; }
.g-ai mark { background: var(--blue-soft); color: var(--ink); padding: 1px 3px; border-radius: 4px; box-shadow: inset 0 -2px 0 var(--blue); }
.g-acts { display: flex; gap: 14px; margin-top: 10px; }
.g-acts svg { width: 15px; height: 15px; fill: none; stroke: #8f8f8f; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.g-compose { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 8px 8px 8px 16px; border: 1px solid #e3e3e3; border-radius: 24px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.12); }
.g-plus { font-size: 20px; line-height: 1; color: #5d5d5d; } .g-ph { flex: 1; font-size: 14px; color: #8f8f8f; }
.g-send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0d0d0d; }
.g-send svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 3. Review queue and the open item */
.v-review { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 16px; }
.il .btn.sm { height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
.c-queue, .d-queue { overflow: hidden; }
.q-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; }
.q-head b { font-size: 16px; }
.q-count { padding: 1px 9px; border-radius: 999px; background: #fdf1df; color: #a85b06; font-size: 12.5px; font-weight: 600; }
.q-count.blue { background: var(--blue-soft); color: var(--blue); }
.q-tabs { display: flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 8px; background: #eef0f4; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.q-tabs span { padding: 4px 9px; border-radius: 6px; } .q-tabs span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(10,23,64,.12); }
.q-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 18px 28px; gap: 12px; align-items: center; height: 70px; padding: 0 18px; border-top: 1px solid #eef0f4; }
.q-row.sel { background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.q-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fdf1df; color: #a85b06; }
.q-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.q-t { min-width: 0; } .q-t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .q-t em { display: block; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-detail { display: flex; flex-direction: column; padding: 18px 20px; }
.c-hd { display: flex; align-items: center; gap: 10px; } .c-hd > span:not(.pill) { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.c-val { margin-top: 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.c-mini { margin-top: 14px; padding: 12px 14px 26px; border: 1px solid #e3e6ec; border-radius: 10px; }
.c-mt { font-size: 13px; font-weight: 700; }
.c-chart { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 118px; margin-top: 8px; padding-top: 34px; border-bottom: 1.5px solid #c9ced8; }
.c-chart > div { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.c-chart > div i { width: 70%; border-radius: 3px 3px 0 0; } .c-chart .act i { background: var(--ink); } .c-chart .proj i { background: var(--blue); }
.c-chart > div span { position: absolute; bottom: -20px; font-size: 11.5px; color: #6b7489; }
.c-bracket { position: absolute; left: 18.5%; right: 1%; top: 16px; height: 10px; border: 2px solid #f2a024; border-bottom: 0; border-radius: 4px 4px 0 0; }
.c-flag { position: absolute; z-index: 1; left: 59%; top: 4px; transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; background: #fdf1df; color: #a85b06; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 2px #f2a024; white-space: nowrap; }
.c-cmp { margin-top: 14px; border: 1px solid #eef0f4; border-radius: 10px; }
.c-line { padding: 10px 12px; } .c-line + .c-line { border-top: 1px solid #eef0f4; }
.c-lab { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.c-q { display: flex; align-items: center; gap: 8px; margin-top: 4px; } .c-q p { font-size: 13.5px; }
.c-q mark { background: #fdf1df; color: #a85b06; font-weight: 600; padding: 0 3px; border-radius: 4px; }
.c-acts { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.il .c-rev { margin-left: auto; }

/* 4. Recommendations: grouped columns by workflow and tool, and the queue */
.v-recs { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; }
.d-chart { display: flex; flex-direction: column; padding: 18px 22px 16px; }
.d-chart .il-ch { flex-direction: column; gap: 2px; }
.w-plot { position: relative; flex: 1; margin: 26px 0 0 36px; }
.w-axis { position: absolute; left: 0; right: 0; top: 0; bottom: 58px; }
.w-gl { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #eef0f4; }
.w-gl span { position: absolute; right: calc(100% + 8px); top: -8px; font-size: 11.5px; color: var(--ink-3); }
.w-gl:first-child { border-top-color: #c9ced8; }
.w-groups { position: absolute; inset: 0; display: flex; gap: 10px; }
.w-grp { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.w-bars { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.w-col { width: 34px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.w-col i { display: block; width: 100%; border-radius: 5px 5px 0 0; background: #b9c9f2; }
.w-col b { font-size: 12.5px; color: var(--ink-2); margin-bottom: 4px; } .w-col.best i { background: var(--blue); } .w-col.best b { color: var(--blue); }
.w-logos { display: flex; justify-content: center; gap: 24px; height: 26px; align-items: center; margin-top: 6px; }
.w-lab { height: 26px; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.r-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 14px 18px; border-top: 1px solid #eef0f4; }
.r-sw { display: flex; align-items: center; gap: 3px; grid-row: span 2; }
.r-sw .d-arrow svg { width: 13px; height: 13px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.r-row .q-t em { margin-top: 2px; color: var(--blue); font-weight: 600; }
.r-acts, .r-row > .pill { grid-column: 2; justify-self: start; margin-top: 6px; } .r-acts { display: flex; gap: 6px; }
.r-row.done .q-t em { color: var(--ink-3); font-weight: 400; }

/* ---------- Hero views v3: one product, laid out like Jellyfish's Data hub ---------- */
.il-hero.dh { height: 720px; flex-direction: column; background: #f6f7fa; }
.dh-top { position: relative; flex: none; display: flex; align-items: center; gap: 30px; height: 54px; padding: 0 18px; background: #fff; border-bottom: 1px solid #e6e8ee; }
.dh-brand { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.dh-brand .jr-mark { width: 28px; height: 28px; }
.dh-tabs { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.dh-tabs span { padding: 7px 13px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.dh-tabs span.on { background: #eef0f5; color: var(--ink); font-weight: 600; }
.dh-main { flex: 1; min-height: 0; display: flex; }
.dh-side { flex: none; width: 176px; display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: #fff; border-right: 1px solid #e6e8ee; }
.dh-si { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.dh-si svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dh-si.on { background: #eef0f5; color: var(--ink); font-weight: 600; }
.dh-page { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0 26px 24px; }
.dh-ph { flex: none; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.dh-ph h4 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.dh-acts { display: flex; align-items: center; gap: 8px; }
.dh-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border: 1px solid #dfe2e8; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.dh-btn.sq { width: 32px; padding: 0; justify-content: center; }
.dh-btn.pri { background: var(--blue); border-color: var(--blue); color: #fff; }
.dh-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.il svg.dots { fill: currentColor; stroke: none; }
.dh-body { position: relative; flex: 1; min-height: 0; }
.dh-body > div { height: 100%; }
/* Cards */
.dh-card { display: flex; flex-direction: column; min-width: 0; padding: 16px 18px; background: #fff; border: 1px solid #e3e6ee; border-radius: 10px; box-shadow: 0 1px 2px rgba(10,23,64,.04); }
.dh-ch { display: flex; align-items: center; gap: 8px; }
.dh-ch b { font-size: 13.5px; font-weight: 600; }
.dh-dots { margin-left: auto; color: #8a93a6; display: inline-flex; } .dh-dots svg { width: 16px; height: 16px; }
.dh-leg.top + .dh-dots { margin-left: 6px; }
.dh-tag { padding: 2px 8px; border-radius: 6px; background: #f0f2f6; font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.dh-chips { display: flex; gap: 5px; margin-top: 8px; }
.dh-chips span { padding: 2px 7px; border-radius: 5px; background: #f0f2f6; font-size: 11px; color: #5b6479; }
.dh-ins { display: flex; align-items: baseline; gap: 7px; margin-top: 14px; white-space: nowrap; }
.dh-ins b { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.dh-ins > span { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.dh-delta { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 600; }
.dh-delta.up { color: #14804a; } .dh-delta.down { color: #c2410c; }
.dh-delta svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Column charts with horizontal gridlines; a column can stack segments */
.dh-chart { position: relative; flex: none; margin-top: 18px; }
.dh-plot { position: absolute; left: 40px; right: 4px; top: 6px; bottom: 22px; }
.dh-gl { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #eceef3; }
.dh-gl:first-child { border-top-color: #d3d8e2; }
.dh-gl span { position: absolute; right: calc(100% + 8px); top: -7px; font-size: 11px; color: #8a93a6; font-variant-numeric: tabular-nums; }
.dh-groups { position: absolute; inset: 0; display: flex; }
.dh-g { position: relative; flex: 1; display: flex; flex-direction: column; }
.dh-bars { flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.dh-b { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.dh-b i { display: block; width: 100%; min-height: 2px; }
.dh-b i + i { border-top: 2px solid #fff; }
.dh-b em + i { border-radius: 4px 4px 0 0; }
.dh-b em { margin-bottom: 3px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.dh-xl { position: absolute; left: -6px; right: -6px; bottom: -20px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.il .dh-xl .lg.sm { width: 13px; height: 13px; }
.dh-leg { display: flex; justify-content: center; gap: 16px; margin: auto 0; padding-top: 10px; font-size: 11.5px; color: var(--ink-2); }
.dh-leg span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } .dh-leg i { width: 9px; height: 9px; border-radius: 2px; }
.dh-leg.top { margin: 0 0 0 auto; padding: 0; gap: 12px; font-size: 11px; }
.dh-leg.top i { width: 8px; height: 8px; }
/* Recommendation icons: one tile per kind of change */
.dh-ri { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #edf1fc; color: var(--blue); }
.dh-ri svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dh-ri.done { background: #e6f3ec; color: #14804a; }

/* 1. Overview */
.v-ov { display: flex; flex-direction: column; gap: 18px; }
.ov-top { flex: none; display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 18px; height: 176px; }
.ov-kpis { display: flex; flex-direction: column; gap: 18px; } .ov-kpis > .dh-card { flex: 1; }
.dh-metric { justify-content: center; gap: 4px; padding: 12px 20px; }
.dh-ml { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.dh-mv { display: flex; align-items: baseline; gap: 10px; }
.dh-metric b { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.dh-recs { padding: 16px 18px 0; }
.dh-recs .dh-ch { padding-bottom: 8px; }
.dh-recs .dh-ch > b { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.dh-rr { flex: 1; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto 14px; gap: 12px; align-items: center; border-top: 1px solid #eef0f4; }
.il .dh-rr .lg.sm, .il .oq-row .lg.sm { width: 18px; height: 18px; border-radius: 4px; }
.dh-rt { min-width: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-rv { font-size: 12px; color: var(--ink-3); white-space: nowrap; } .dh-rv b { font-size: 14.5px; color: #14804a; font-variant-numeric: tabular-nums; }
.dh-chev svg { width: 14px; height: 14px; fill: none; stroke: #a0a8b8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ov-bot { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.dh-team .dh-xl { font-size: 11px; }
.dh-sankey { display: block; width: 100%; height: auto; margin: auto 0 0; }
.dh-sankey .sk-n { font: 600 12px var(--font-sans); fill: var(--ink); }
.dh-sankey .sk-v { font: 400 11.5px var(--font-sans); fill: #5b6479; font-variant-numeric: tabular-nums; }
.dh-hb { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-around; margin-top: 12px; padding-bottom: 24px; }
.dh-hg { position: absolute; left: 116px; right: 76px; top: 0; bottom: 24px; }
.dh-hg i { position: absolute; top: 0; bottom: 0; border-left: 1px solid #eceef3; } .dh-hg i:first-child { border-left-color: #d3d8e2; }
.dh-hg span { font-style: normal; position: absolute; bottom: -20px; left: 0; transform: translateX(-50%); font-size: 11px; color: #8a93a6; white-space: nowrap; }
.dh-hr { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr) 0; align-items: center; gap: 12px; margin-right: 76px; }
.dh-hr > span { font-size: 12.5px; color: var(--ink-2); }
.dh-hr > div { display: flex; align-items: center; gap: 10px; height: 28px; margin-right: -76px; }
.dh-hr i { display: block; flex: none; height: 100%; border-radius: 0 4px 4px 0; }
.dh-hr b { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; } .dh-hr em { margin-left: 6px; font-style: normal; font-weight: 400; color: var(--ink-3); }

/* 2. ROI by tool */
.v-roi { display: flex; flex-direction: column; gap: 18px; }
.dh-ribbon { flex: none; flex-direction: row; padding: 0; }
.dh-ribbon > div { flex: 1; padding: 13px 20px; border-left: 1px solid #eef0f4; }
.dh-ribbon > div:first-child { border-left: 0; }
.dh-ribbon span { font-size: 12px; color: var(--ink-3); }
.dh-ribbon b { display: flex; align-items: baseline; gap: 7px; margin-top: 2px; font-size: 17px; font-weight: 600; }
.dh-ribbon b .lg { align-self: center; }
.dh-ribbon em { font-style: normal; color: var(--blue); } .dh-ribbon em.lo { color: #c2410c; } .dh-ribbon small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.dh-tools { flex: none; }
.dh-table { flex: 1; min-height: 0; padding: 2px 2px 0; overflow: hidden; }
.dh-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.dh-table th { padding: 10px 16px; text-align: right; font-size: 11.5px; font-weight: 500; color: var(--ink-3); border-bottom: 1px solid #eef0f4; }
.dh-table td { padding: 8px 16px; text-align: right; border-bottom: 1px solid #f1f2f6; }
.dh-table th:first-child, .dh-table td:first-child { text-align: left; }
.dh-table b { font-weight: 600; } .dh-table b.hi { color: var(--blue); }
.dh-tool { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }

/* 3. Trace: one deliverable, opened from the list, and the chat behind the selected number */
.td-title { display: flex; align-items: center; gap: 12px; }
.td-crumb { display: block; font-size: 12px; color: var(--ink-3); }
.td-title h4 { font-size: 19px; line-height: 1.2; }
.td-pager { display: inline-flex; align-items: center; gap: 8px; margin-right: 4px; }
.td-pager em { font-style: normal; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.td-pager .dh-btn.sq { width: 28px; height: 28px; }
.v-trace2 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 18px; }
.td-doc { padding: 0; overflow: hidden; }
.td-h { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid #eef0f4; } .td-h b { font-size: 13.5px; font-weight: 500; }
.td-pill { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #e3f3ea; color: #12704c; font-size: 11.5px; font-weight: 500; }
.td-sheet { width: 100%; border-collapse: collapse; font-family: Calibri, Carlito, var(--font-sans); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.td-sheet th { padding: 6px 8px; border: 1px solid #e3e6ec; background: #f3f4f6; color: #6b7489; font-size: 11px; font-weight: 400; text-align: right; }
.td-sheet th:first-child { width: 28px; text-align: center; }
.td-sheet th.lb, .td-sheet td.lb { text-align: left; }
.td-sheet td { position: relative; height: 46px; padding: 0 12px; border: 1px solid #eceef2; text-align: right; }
.td-sheet tr.b td { font-weight: 700; } .td-sheet tr.ind td.lb { padding-left: 20px; color: #3b4664; } .td-sheet tr.sum td { font-weight: 700; border-top: 2px solid #9aa3b5; }
.td-sheet td.hit { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); font-weight: 700; }
.td-sheet td.ai::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 7px 7px 0; border-color: transparent #7d9be6 transparent transparent; }
.td-tip { position: absolute; left: 50%; bottom: calc(100% + 7px); transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 7px; background: #0a1740; color: #fff; font: 600 11.5px var(--font-sans); white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(10,23,64,.5); }
.td-tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #0a1740; }
.td-tip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.td-cur { position: absolute; right: -7px; bottom: -11px; z-index: 3; width: 18px; height: 18px; fill: #0a1740; stroke: #fff; stroke-width: 1.1; stroke-linejoin: round; }
.td-chat { padding: 0; overflow: hidden; }
.ts-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; } .ts-h b { font-size: 14px; font-weight: 600; }
.ts-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.il .ts-who .lg.sm { width: 14px; height: 14px; }
.ts-thread { display: flex; flex-direction: column; gap: 14px; padding: 4px 16px 16px; font-size: 13px; line-height: 1.5; }
.ts-u { align-self: flex-end; max-width: 86%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: #eef0f5; color: var(--ink); }
.ts-a { align-self: flex-start; max-width: 94%; color: var(--ink-2); }
.ts-who { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; color: var(--ink); }
.ts-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 12px 16px; border-top: 1px solid #eef0f4; font-size: 12px; color: var(--ink-3); }
.ts-foot .dh-btn { height: 28px; font-size: 12px; } .ts-a p + p { margin-top: 7px; }
.td-chat mark { padding: 1px 3px; border-radius: 4px; background: var(--blue-soft); box-shadow: inset 0 -2px 0 var(--blue); color: var(--ink); }
.dh-link { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.dh-link path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 5 5; } .dh-link circle { fill: var(--blue); }

/* 4. Usage limits: the queue, and the selected recommendation with its evidence */
.v-opt { display: grid; grid-template-columns: 344px minmax(0, 1fr); gap: 18px; }
.oq { padding: 16px 0 0; overflow: hidden; }
.oq .dh-ch { padding: 0 18px 12px; }
.oq-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 18px; border-top: 1px solid #eef0f4; }
.oq-row.on { background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.oq-t { min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.3; }
.oq-v { text-align: right; } .oq-v b { display: block; font-size: 14px; color: #14804a; font-variant-numeric: tabular-nums; } .oq-v em { display: block; font-size: 11px; font-style: normal; color: var(--ink-3); white-space: nowrap; }
.oq-sec { display: flex; justify-content: space-between; padding: 22px 18px 8px; border-top: 1px solid #eef0f4; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.oq-sec + .oq-row { border-top: 0; }
.oq-row.dn .oq-t { font-weight: 500; color: var(--ink-2); }
.dh-seg { display: inline-flex; padding: 2px; border: 1px solid #dfe2e8; border-radius: 9px; background: #fff; }
.dh-seg > span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.dh-seg > span.on { background: #eef0f5; color: var(--ink); font-weight: 600; }
.dh-seg i { padding: 0 6px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; font-style: normal; font-weight: 600; line-height: 17px; }
.od { gap: 14px; padding: 18px 20px; }
.od-h { display: flex; align-items: center; gap: 8px; } .od-h > div { flex: 1; } .od-h b { display: block; font-size: 16px; } .od-h em { display: block; margin-top: 1px; font-style: normal; font-size: 12px; color: var(--ink-3); }
.od-hyp { padding: 11px 14px; border: 1px solid #eceef3; border-radius: 8px; background: #f7f8fb; font-size: 13px; color: var(--ink-2); }
.od-hyp span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--ink); }
.od-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #eceef3; border-radius: 8px; }
.od-stats > div { padding: 10px 14px; border-left: 1px solid #eceef3; } .od-stats > div:first-child { border-left: 0; }
.od-stats span { display: block; font-size: 11.5px; color: var(--ink-3); }
.od-stats b { display: block; margin-top: 2px; font-size: 18px; font-weight: 600; } .od-stats small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.dh-lines { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.pl-g { stroke: #eceef3; stroke-width: 1; } .pl-g.base { stroke: #d3d8e2; }
.pl-y { font: 11px var(--font-sans); fill: #8a93a6; text-anchor: end; } .pl-x { font: 11.5px var(--font-sans); fill: var(--ink-2); text-anchor: middle; }
.pl-area { fill: #2455d6; fill-opacity: .08; }
.pl-now { stroke: #b9c1d0; stroke-width: 1; stroke-dasharray: 3 3; } .pl-nowt { font: 500 10.5px var(--font-sans); fill: #8a93a6; }
.pl-l { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pl-l.act { stroke: #8a94a8; } .pl-l.sq { stroke: #a8b1c2; stroke-dasharray: 5 4; } .pl-l.ch { stroke: #2455d6; stroke-width: 2.5; }
.pl-d { fill: #fff; stroke-width: 2; } .pl-d.act { stroke: #8a94a8; } .pl-d.sq { stroke: #a8b1c2; } .pl-d.ch { stroke: #2455d6; }
.dh-leg.ln i { width: 14px; height: 0; border-radius: 0; border-top: 2px solid; } .dh-leg.ln i.act { border-color: #8a94a8; } .dh-leg.ln i.sq { border-top-style: dashed; border-color: #a8b1c2; } .dh-leg.ln i.ch { border-color: #2455d6; }
.od-chart { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid #eceef3; border-radius: 8px; }

/* ---------- Team (the valite.ai format) ---------- */
.t-sec { padding: 112px 0; }
.t-head { width: min(1344px, 100% - 96px); margin: 0 auto 56px; display: grid; grid-template-columns: 1fr 2fr 1.3fr; gap: 40px; align-items: start; }
.t-tag { justify-self: start; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 13px; color: var(--ink-2); background: #fff; }
.t-head h2 { font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.t-head p { padding-top: 6px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.t-head p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.t-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.t-grid { width: min(1344px, 100% - 96px); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.t-cell { display: grid; place-items: center; height: 150px; border-left: 1px dashed var(--line-strong); }
.t-cell:last-child { border-right: 1px dashed var(--line-strong); }
.t-cell .logo { transform: scale(.92); }

/* ---------- Roles ---------- */
.r-sec { width: min(1344px, 100% - 96px); margin: 0 auto; padding: 0; }
.r-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.r-pills button { height: 46px; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font: 500 16px var(--font-sans); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.r-pills button:hover { border-color: var(--blue); color: var(--blue); }
.r-pills button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.r-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; min-height: 560px; margin-top: 28px; padding: 56px 64px; border-radius: 28px; background: var(--grad); color: #fff; }
.r-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; mix-blend-mode: overlay; background-image: var(--noise); background-size: 220px 220px; }
.r-panel[hidden] { display: none; }
.r-panel.on { animation: r-in .5s var(--ease) both; }
@keyframes r-in { from { opacity: 0; transform: translateY(8px); } }
.r-copy h3 { color: #fff; font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.r-copy p { margin-top: 16px; max-width: 400px; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.92); }
.r-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 16px; font-weight: 600; color: #fff; }
.r-link svg, .c-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.r-link:hover svg, .c-link:hover svg { transform: translateX(3px); }
.il-role { width: 680px; height: 440px; display: flex; align-items: center; justify-content: center; }
.il-role .il-card { box-shadow: 0 2px 4px rgba(3,10,40,.1), 0 40px 70px -34px rgba(3,10,40,.6); border: 0; }
.r-ops, .r-part, .r-it { width: 680px; padding: 24px 28px; }
/* Operations */
.o-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 170px 52px; gap: 16px; align-items: center; height: 62px; border-top: 1px solid #eef0f4; }
.r-ops .il-ch { margin-bottom: 10px; }
.o-row b { font-size: 16px; font-weight: 500; }
.o-tr { position: relative; height: 18px; border-radius: 5px; background: #eef0f4; } .o-tr i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--blue); } .o-tr u { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); }
.o-num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; } .o-num em { color: var(--ink-3); font-weight: 400; }
.o-pct { text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.o-row.warn .o-tr i { background: #f2a024; } .o-row.warn .o-pct { color: #a85b06; font-weight: 600; }
/* Finance */
.r-fin { display: flex; align-items: flex-start; gap: 16px; filter: drop-shadow(0 30px 40px rgba(3,10,40,.35)); }
.rc { width: 216px; padding: 20px 18px 30px; background: #fff; border-radius: 14px 14px 0 0; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; }
.rc-hd { display: flex; align-items: center; gap: 10px; } .rc-hd span { display: flex; flex-direction: column; min-width: 0; } .rc-hd b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rc-hd em { font-size: 12.5px; color: var(--ink-3); }
.rc-cost { margin: 18px 0 12px; padding-bottom: 14px; border-bottom: 1.5px dashed #d9dde6; } .rc-cost b { display: block; font-size: 32px; letter-spacing: -0.03em; } .rc-cost span { font-size: 12.5px; color: var(--ink-3); }
.rc-line { display: flex; align-items: center; gap: 8px; height: 30px; font-size: 14px; } .rc-line b { margin-left: auto; font-variant-numeric: tabular-nums; }
/* Partners */
.r-part .b-file { padding: 0 0 18px; }
.p-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 6px; }
.p-steps span { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 500; }
.p-steps span:not(:last-child)::after { content: ""; position: absolute; left: 32px; right: 8px; top: 11px; height: 2px; background: var(--blue); }
.p-steps i { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 0 0 4px #fff; }
.p-steps i svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.p-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.p-stats em { display: block; font-size: 13.5px; color: var(--ink-3); } .p-stats b { display: block; margin-top: 2px; font-size: 32px; letter-spacing: -0.03em; }
.p-tr { display: block; height: 8px; margin-top: 8px; border-radius: 4px; background: #eef0f4; overflow: hidden; } .p-tr i { display: block; height: 100%; background: var(--blue); } .p-tr.ok i { background: #12704c; }
.p-check { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: #e3f3ea; }
.p-check span:not(.p-ok) { display: flex; flex-direction: column; flex: 1; } .p-check b { font-size: 15px; } .p-check em { font-size: 13px; color: #3b4664; }
.p-ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #12704c; color: #fff; flex: none; }
.p-ok svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.r-part .p-steps span { white-space: nowrap; }
/* IT */
.s-row { padding: 14px 0; border-top: 1px solid #eef0f4; } .r-it .il-ch { margin-bottom: 4px; }
.s-hd { display: flex; align-items: center; gap: 12px; } .s-hd b { font-size: 16px; font-weight: 500; }
.s-waste { margin-left: auto; font-size: 14px; font-weight: 600; color: #a85b06; }
.s-tr { height: 16px; margin-top: 10px; border-radius: 5px; background: #e1e5ee; overflow: hidden; } .s-tr i { display: block; height: 100%; background: var(--blue); }
.s-num { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); } .s-num b { color: var(--ink); }
/* Team leads */
.r-leads { display: flex; gap: 20px; }
.q-card { width: 320px; padding: 24px; }
.q-hd { display: flex; align-items: center; gap: 12px; } .q-hd span { display: flex; flex-direction: column; } .q-hd b { font-size: 17px; } .q-hd em { font-size: 13.5px; color: var(--ink-3); }
.q-ask { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 22px; } .q-ask > span { color: var(--ink-3); } .q-ask svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .q-ask em { font-size: 14px; color: var(--ink-3); }
.q-bar { display: flex; gap: 2px; height: 14px; margin-top: 20px; border-radius: 4px; overflow: hidden; } .q-bar i { display: block; height: 100%; }
.q-use { margin-top: 8px; font-size: 14px; color: var(--ink-2); } .q-use b { color: var(--ink); }
.q-pill { margin-top: 18px; }

/* ---------- Integrations ---------- */
.i-sec { margin-top: 140px; padding: 120px 0 128px; background: var(--ink); color: #fff; overflow: hidden; }
.i-head { width: min(1344px, 100% - 96px); margin: 0 auto 64px; }
.i-head .eyebrow-h { color: #fff; }
.i-head .big-h { color: #9fb6f2; }
.i-head p { margin-top: 20px; max-width: 560px; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.85); }
.i-row { overflow: hidden; padding: 12px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.i-row + .i-row { margin-top: 20px; }
.i-track { display: flex; width: max-content; animation: i-scroll 60s linear infinite; }
.i-row.rev .i-track { animation-direction: reverse; }
.i-run { display: flex; gap: 32px; padding-right: 32px; }
.i-tile { width: 80px; height: 80px; flex: none; display: grid; place-items: center; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px -14px rgba(0,0,0,.5); }
.i-tile img { width: 40px; height: 40px; object-fit: contain; }
@keyframes i-scroll { to { transform: translateX(-50%); } }

/* ---------- Why Joyride ---------- */
.w-sec { width: min(1344px, 100% - 96px); margin: 140px auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
.w-head { position: sticky; top: 120px; }
.w-head .hb { margin-top: 36px; }
.w-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; padding-top: 12px; }
.w-item svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.w-item b { display: block; margin-top: 18px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.w-item p { margin-top: 10px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Call to action ---------- */
.c-sec { padding: 0 48px 120px; }
.c-sec .book-panel { min-height: 400px; display: flex; align-items: center; justify-content: center; }
.c-sec .book-inner { margin: 0 auto; align-items: center; text-align: center; }
.c-sec .book-inner h2 { font-size: 64px; font-weight: 600; letter-spacing: -0.035em; }
.c-btns { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.c-link { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: #fff; }

/* ---------- Footer ---------- */
.f-foot { background: #070f2e; color: rgba(255,255,255,.78); }
.f-inner { width: min(1344px, 100% - 96px); margin: 0 auto; padding: 88px 0 64px; display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.f-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.f-col { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.f-col b { color: #fff; font-weight: 600; margin-bottom: 4px; }
.f-col a { color: rgba(255,255,255,.78); transition: color .2s; } .f-col a:hover { color: #fff; }
.f-bottom { width: min(1344px, 100% - 96px); margin: 0 auto; padding: 28px 0 36px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }

@media (prefers-reduced-motion: reduce) { .i-track { animation: none; } .r-panel.on { animation: none; } }

/* ---------- Smaller screens ---------- */
@media (prefers-reduced-motion: reduce) { .il-hero { transition: none; } }
@media (max-width: 1100px) {
  .big-h { font-size: 48px; }
  .h-copy h1 { font-size: 52px; }
  .h-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-panel { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 48px 40px; }
  .w-sec { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .w-head { position: static; }
}
@media (max-width: 760px) {
  .h-top { padding: 112px 16px 48px; }
  .h-copy h1 { font-size: 38px; }
  .h-copy p { font-size: 17px; }
  .h-form { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; }
  .h-form input { width: 100%; }
  .h-frame { margin-top: 52px; padding: 6px; border-radius: 16px; }
  .h-screen { border-radius: 10px; }
  .h-tabs { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; }
  .h-tab { padding: 14px 16px 16px; }
  .big-h { font-size: 36px; }
  .eyebrow-h { font-size: 17px; }
  .r-sec, .i-head, .w-sec, .f-inner, .f-bottom { width: calc(100% - 32px); }
  .t-sec { padding: 72px 0; }
  .t-head { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 36px; }
  .t-head h2 { font-size: 30px; }
  .t-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-cell { height: 96px; border-bottom: 1px dashed var(--line-strong); }
  .t-cell:nth-child(odd) { border-left: 0; } .t-cell:last-child { border-right: 0; grid-column: 1 / -1; border-bottom: 0; }
  .t-cell .logo { transform: scale(.7); }
  .r-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .r-pills button { flex: none; }
  .r-panel { padding: 32px 20px 24px; border-radius: 20px; min-height: 0; gap: 24px; }
  .r-copy h3 { font-size: 28px; }
  .r-copy p { font-size: 16px; }
  .r-link { margin-top: 18px; }
  .i-sec { margin-top: 96px; padding: 80px 0 88px; }
  .i-head { margin-bottom: 40px; }
  .i-tile { width: 64px; height: 64px; border-radius: 14px; } .i-tile img { width: 32px; height: 32px; }
  .i-run { gap: 20px; padding-right: 20px; }
  .w-sec { margin: 96px auto; }
  .w-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .c-sec { padding: 0 16px 80px; }
  .c-sec .book-panel { min-height: 340px; padding: 64px 24px; border-radius: 24px; }
  .c-sec .book-inner h2 { font-size: 40px; }
  .c-btns { flex-direction: column; gap: 18px; }
  .f-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 56px 0 40px; }
  .f-brand { grid-column: 1 / -1; }
}


/* ---------- Roles v3: copy top left, product cards that fill the rest of the panel and bleed off its edges ---------- */
.r-panel.r2 { display: block; min-height: 560px; padding: 56px 64px 0; }
.r-panel.r2[hidden] { display: none; }
.r2 .r-copy { position: relative; z-index: 2; max-width: 410px; }
.r2 .r-copy h3 { font-size: 36px; }
.r-art2 { position: absolute; right: 0; bottom: 0; width: calc(100% - 500px); z-index: 1; }
.r2.g-fin { background: radial-gradient(70% 60% at 6% 108%, rgba(70,220,255,.95), rgba(70,220,255,0) 70%), linear-gradient(115deg, #1a3ec6 0%, #1f4fd6 55%, #2a74e8 100%); }
.r2.g-part { background: radial-gradient(55% 70% at 100% 0%, rgba(70,220,255,.8), rgba(70,220,255,0) 70%), linear-gradient(160deg, #1d47d0 0%, #2264e6 60%, #2590f2 100%); }
.r2.g-it { background: linear-gradient(128deg, #060d2e 0%, #0a1740 38%, #1d3fbf 64%, #0b1a4a 82%, #060d2e 100%); }
.r2.g-comp { background: radial-gradient(60% 70% at 38% 110%, rgba(70,220,255,.75), rgba(70,220,255,0) 70%), linear-gradient(180deg, #070f33 0%, #0a1740 100%); }
.il-r3 { width: 800px; height: 500px; color: var(--ink); font-size: 14px; }
.il-r3 svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.il-r3 .lg { width: 22px; height: 22px; } .il-r3 .lg.sm { width: 18px; height: 18px; } .il-r3 .lg.xs { width: 15px; height: 15px; }
.rx-card { position: absolute; display: flex; flex-direction: column; padding: 22px 24px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(2,8,32,.1), 0 34px 60px -30px rgba(2,8,32,.6); }
.rx-t { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.rx-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 600; }
.rx-leg { display: flex; justify-content: center; gap: 16px; margin-top: 18px; font-size: 12.5px; color: var(--ink-2); }
.rx-leg.l { justify-content: flex-start; margin-top: 14px; gap: 14px; }
.rx-leg span { display: inline-flex; align-items: center; gap: 6px; } .rx-leg i { width: 10px; height: 10px; border-radius: 3px; }
.rx-btn { align-self: flex-start; margin-top: 18px; padding: 9px 16px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; }
.rx-tag { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 600; } .rx-tag.g { background: #e3f3ea; color: #12704c; }
.rx-fh { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #eef0f4; } .rx-fh b { font-size: 15px; font-weight: 600; }
/* column charts */
.rx-cols { position: relative; display: flex; align-items: flex-end; gap: 14px; height: 270px; margin-top: 18px; padding: 0 0 28px 44px; }
.rx-cols.tall { height: 290px; }
.rx-gl { position: absolute; left: 0; right: 0; top: 0; bottom: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.rx-gl span { position: relative; height: 0; border-top: 1px solid #eceef3; } .rx-gl span:last-child { border-top-color: #d3d8e2; }
.rx-gl em { position: absolute; left: 0; top: -8px; font-style: normal; font-size: 12px; color: #8a93a6; }
.rx-col { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.rx-col > i { position: relative; display: block; border-radius: 7px 7px 0 0; background: var(--blue); }
.rx-col i b { position: absolute; top: 9px; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 600; font-style: normal; color: #fff; }
.rx-col > span { position: absolute; left: -8px; right: -8px; bottom: -26px; display: flex; justify-content: center; font-size: 12.5px; color: var(--ink-2); }
.rx-col.pair .rx-pr { height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 5px; }
.rx-pr i { position: relative; display: block; width: 30px; border-radius: 6px 6px 0 0; background: var(--blue); } .rx-pr i.g { background: #cdd5e3; }
.rx-pr i b { position: absolute; top: -20px; left: -10px; right: -10px; text-align: center; font-size: 12.5px; font-weight: 600; font-style: normal; color: var(--ink-2); }
/* operations */
.rx-o1 { left: 0; top: 170px; width: 450px; height: 380px; }
.rx-o2 { left: 350px; top: 40px; width: 470px; }
.rx-tb { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.rx-st { flex: 1; display: flex; gap: 2px; height: 20px; border-radius: 5px; overflow: hidden; } .rx-st i { display: block; height: 100%; }
/* finance */
.rx-f1 { left: 0; top: 120px; width: 500px; height: 430px; }
.rx-f2 { left: 420px; top: 40px; width: 376px; }
.rx-mv { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 16px auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eef0f4; font-size: 15px; }
.rx-mv:first-of-type { margin-top: 8px; }
.rx-mn { font-weight: 500; } .rx-mf { color: var(--ink-3); } .rx-mv svg { width: 16px; height: 16px; stroke: var(--ink-3); }
.rx-mv b { font-size: 16px; font-weight: 600; } .rx-mv b.up { color: #14804a; } .rx-mv b.dn { color: #c2410c; }
/* partners */
.rx-p1 { left: 0; top: 104px; width: 540px; height: 440px; padding: 18px 20px; }
.rx-slide { margin-top: 16px; padding: 22px 24px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px #e6e8ee, 0 6px 18px -10px rgba(10,23,64,.25); }
.rx-k { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); }
.rx-slide h6 { margin: 6px 0 0; font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.rx-sb { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; margin-top: 44px; }
.rx-sb ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink-2); }
.rx-sb li { position: relative; padding-left: 14px; } .rx-sb li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.rx-flag { position: relative; padding: 1px 3px; border-radius: 4px; background: #fdf1df; box-shadow: inset 0 -2px 0 #e0a43a, 0 0 0 2px #2455d6; color: var(--ink); }
.rx-tip { position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(10,23,64,.5); }
.rx-tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
.rx-tip svg { width: 12px; height: 12px; }
.rx-sc { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 0 8px; border-bottom: 1.5px solid #c8cfdc; }
.rx-sc i { flex: 1; border-radius: 4px 4px 0 0; background: #9db7f5; } .rx-sc i.on { background: var(--blue); }
.rx-p2 { left: 486px; top: 40px; width: 314px; padding: 18px 20px 22px; gap: 14px; }
.rx-sh { display: flex; align-items: center; justify-content: space-between; } .rx-sh b { font-size: 16px; } .rx-sh span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); }
.rx-u { align-self: flex-end; max-width: 88%; padding: 10px 13px; border-radius: 14px 14px 4px 14px; background: #eef0f5; font-size: 14px; line-height: 1.45; }
.rx-a { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.rx-who { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.rx-a mark { padding: 1px 3px; border-radius: 4px; background: var(--blue-soft); box-shadow: inset 0 -2px 0 var(--blue); color: var(--ink); }
.rx-unc { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 6px 11px; border-radius: 8px; background: #fdf1df; color: #a85b06; font-size: 13px; font-weight: 600; } .rx-unc svg { width: 15px; height: 15px; }
/* IT */
.rx-i1 { left: 0; top: 130px; width: 580px; height: 420px; }
.rx-lh, .rx-lq { display: grid; grid-template-columns: 30px minmax(0, 1fr) 160px 104px 86px; gap: 14px; align-items: center; }
.rx-lh span:nth-child(4) { text-align: right; white-space: nowrap; }
.rx-lh { margin-top: 18px; padding-bottom: 10px; border-bottom: 1px solid #eef0f4; font-size: 12.5px; color: var(--ink-3); } .rx-lh span:first-child { grid-column: 1 / 3; }
.rx-lq { padding: 16px 0; border-bottom: 1px solid #f1f2f6; font-size: 15px; }
.rx-ln { font-weight: 600; } .rx-lr { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-variant-numeric: tabular-nums; } .rx-lr svg { width: 14px; height: 14px; stroke: var(--ink-3); }
.rx-lu { font-size: 16px; color: var(--blue); text-align: right; } .rx-lu.lo { color: #c2410c; }
.rx-lb { justify-self: end; padding: 7px 13px; border-radius: 8px; border: 1px solid #dfe2e8; font-size: 13px; font-weight: 600; } .rx-lb.ok { background: var(--blue); border-color: var(--blue); color: #fff; }
.rx-i2 { left: 490px; top: 40px; width: 320px; }
.rx-big { margin-top: 14px; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; } .rx-big em { font-style: normal; font-size: 15px; font-weight: 400; color: var(--ink-3); }
.rx-bar { display: flex; gap: 2px; height: 18px; margin-top: 12px; border-radius: 5px; overflow: hidden; }
/* compliance */
.rx-c1 { left: 0; top: 130px; width: 580px; height: 420px; }
.rx-lgh, .rx-lg { display: grid; grid-template-columns: 120px 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.rx-lgh { padding: 14px 0 10px; border-bottom: 1px solid #eef0f4; font-size: 12.5px; color: var(--ink-3); } .rx-lgh span:nth-child(2) { grid-column: 2 / -1; }
.rx-lg { padding: 15px 0; border-bottom: 1px solid #f1f2f6; font-size: 14.5px; } .rx-lg > span:first-child { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; } .rx-lg b { font-weight: 500; }
.rx-ev { padding: 3px 10px; border-radius: 999px; background: #f0f2f6; color: var(--ink-2); font-size: 12px; font-weight: 600; } .rx-ev.check { background: var(--blue-soft); color: var(--blue); } .rx-ev.sign-off { background: #e3f3ea; color: #12704c; }
.rx-c2 { left: 470px; top: 40px; width: 340px; }
.rx-al { display: flex; align-items: center; gap: 10px; color: #a85b06; } .rx-al svg { width: 22px; height: 22px; } .rx-al b { font-size: 17px; color: var(--ink); }
.rx-c2 p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); } .rx-c2 p b { color: var(--ink); }
@media (max-width: 1100px) { .r-art2 { width: calc(100% - 380px); } }
@media (max-width: 900px) {
  .r-panel.r2 { min-height: 0; padding: 32px 20px 0; }
  .r2 .r-copy h3 { font-size: 28px; }
  .r-art2 { position: relative; width: calc(100% + 20px); margin: 28px -20px 0 auto; }
}
/* Roles v4: Jellyfish's role visuals, adapted */
.rz-ring { width: 100%; height: 100%; } .rz-ring circle { stroke-linecap: butt; }
.rz-rw { position: relative; flex: none; width: 172px; height: 172px; } .rz-rw.sm { width: 132px; height: 132px; }
.rz-rw > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.rz-rw b { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; } .rz-rw em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.rz-rw.sm b { font-size: 24px; }
/* finance */
.rz-f1 { left: 0; top: 168px; width: 480px; height: 360px; }
.rz-cap { display: flex; align-items: center; gap: 26px; margin-top: 22px; }
.rz-rows { flex: 1; display: flex; flex-direction: column; }
.rz-rows div { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; font-size: 15px; }
.rz-rows span { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-2); } .rz-rows i { width: 11px; height: 11px; border-radius: 3px; }
.rz-rows b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rz-rows div:first-child span { padding-left: 20px; } .rz-rows .tot { border-top: 1px solid #e6e8ee; margin-top: 4px; }
.r2.g-fin .rx-f2 { left: 448px; top: 30px; width: 352px; }
/* partners */
.rz-p1 { left: 0; top: 140px; width: 560px; height: 340px; }
.rz-ph { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.rz-pr { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.rz-tk { position: relative; height: 40px; border-radius: 6px; background: #f4f6fb; }
.rz-tk i { position: absolute; top: 13px; height: 14px; border-radius: 7px; }
.rz-now { position: absolute; top: -8px; bottom: -6px; border-left: 1.5px dashed #9aa3b5; } .rz-now em { position: absolute; top: -18px; left: -18px; font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.rz-call { position: absolute; left: 392px; top: 64px; z-index: 3; display: flex; align-items: center; gap: 14px; width: 390px; padding: 20px 22px; border-radius: 14px; background: #c4f0ff; box-shadow: 0 24px 50px -24px rgba(2,8,32,.55); font-size: 16px; line-height: 1.4; color: var(--ink); }
.rz-call svg { width: 32px; height: 32px; flex: none; stroke-width: 2; }
.rz-p2 { left: 90px; top: 408px; width: 720px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 20px 28px 40px; }
.rz-p2 div { padding-left: 22px; border-left: 1px solid #eceef3; } .rz-p2 div:first-child { padding-left: 0; border-left: 0; }
.rz-p2 em { display: block; font-style: normal; font-size: 13.5px; color: var(--ink-2); } .rz-p2 b { display: block; margin-top: 4px; font-size: 26px; font-weight: 600; color: var(--blue); } .rz-p2 b.w { color: #a85b06; }
/* IT */
.rz-i1 { left: 0; top: 200px; width: 380px; height: 300px; }
.rz-sk-t { font-size: 14px; font-weight: 600; color: var(--blue); }
.rz-sk { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; } .rz-sk i { display: block; height: 11px; border-radius: 6px; background: #eef1f8; }
.rz-i2 { left: 300px; top: 56px; width: 480px; padding: 22px 26px 30px; }
.rz-i2 .rx-t svg { width: 22px; height: 22px; stroke: var(--blue); }
.rz-g { margin-top: 20px; } .rz-g > b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.rz-g .st { width: 18px; height: 18px; fill: #f5b740; stroke: #f5b740; }
.rz-ck { display: flex; align-items: center; gap: 12px; padding: 12px 0 0 2px; font-size: 15px; color: var(--ink-2); }
.rz-ck i { width: 18px; height: 18px; flex: none; border-radius: 5px; border: 1.5px solid #b8c0cf; }
.rz-ck em { margin-left: auto; font-style: normal; font-size: 15px; font-weight: 600; color: var(--blue); } .rz-ck em.lo { color: #c2410c; }
.rz-key { margin-top: 18px; padding-top: 12px; border-top: 1px solid #eef0f4; font-size: 12.5px; color: var(--ink-3); text-align: right; }
/* compliance */
.rz-c1 { left: 0; top: 50px; width: 380px; }
.rz-dn { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.rz-dl { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.rz-dl span { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); } .rz-dl i { width: 11px; height: 11px; border-radius: 3px; flex: none; } .rz-dl b { margin-left: auto; font-size: 15px; color: var(--ink); }
.rz-c2 { left: 180px; top: 180px; width: 620px; height: 340px; padding: 0; overflow: hidden; }
.rz-th, .rz-tr { display: grid; grid-template-columns: 220px minmax(0, 1fr) 150px; gap: 20px; align-items: center; padding: 0 28px; }
.rz-th { height: 48px; background: #f6f7fa; border-bottom: 1px solid #eceef3; font-size: 13px; color: var(--ink-3); }
.rz-tr { height: 76px; border-bottom: 1px solid #f1f2f6; font-size: 15px; }
.rz-tr span:first-child { padding-left: 200px; margin-left: -200px; }
.rz-tr span:nth-child(2) { display: flex; flex-direction: column; gap: 8px; } .rz-tr b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rz-tr u { display: block; height: 7px; border-radius: 4px; background: #edf0f5; } .rz-tr u i { display: block; height: 100%; border-radius: 4px; background: var(--blue); }
.rz-tr span:last-child { font-weight: 600; }
.rz-f1 { width: 440px; } .rz-f1 .rz-rw { width: 156px; height: 156px; } .rz-f1 .rz-cap { gap: 22px; }
.r2.g-fin .rx-f2 { left: 446px; top: 30px; width: 354px; }
/* Roles v5: every card sits inside the panel, sized to its content */
.il-r3 .rx-card { height: auto !important; }
.rx-o1 { left: 20px; top: 150px; width: 440px; } .rx-o1 .rx-cols { height: 252px; }
.rx-o2 { left: 352px; top: 24px; width: 424px; }
.r2.g-fin .rx-f2 { left: 20px; top: 24px; width: 430px; }
.r2.g-fin .rx-mv { padding: 12px 0; }
.rz-f1 { left: 326px; top: 238px; width: 450px; padding: 20px 24px; }
.rz-f1 .rz-cap { margin-top: 14px; gap: 24px; } .rz-f1 .rz-rw { width: 150px; height: 150px; }
.rz-f1 .rz-rows div { padding: 8px 0; }
.rz-p1 { left: 20px; top: 130px; width: 540px; padding-bottom: 54px; }
.rz-call { left: 376px; top: 30px; width: 400px; }
.rz-p2 { left: 120px; top: 386px; width: 656px; padding: 18px 26px 20px; }
.rz-i1 { left: 20px; top: 214px; width: 360px; padding-bottom: 26px; }
.rz-i2 { left: 300px; top: 30px; width: 476px; }
.rz-c1 { left: 64px; top: 30px; width: 380px; }
.rz-c2 { left: 240px; top: 196px; width: 536px; overflow: hidden; }
.rz-c2 .rz-tr:last-child { border-bottom: 0; }
.rz-th, .rz-tr { grid-template-columns: 200px minmax(0, 1fr) 130px; }
.rx-o1 { top: 132px; }
.rz-f1 { z-index: 2; }
.rz-p1 { top: 116px; } .rz-call { top: 24px; } .rz-p2 { top: 372px; }
.rz-p1 { padding-bottom: 22px; }
.rx-o1 { top: 156px; } .rx-o1 .rx-cols { height: 216px; }
.rx-o1 { top: 172px; } .rx-o2 .rx-lg { margin-top: 14px; }
/* Roles v6: copy and card group both centred vertically in the panel */
@media (min-width: 901px) {
  .r-panel.r2 { display: flex; align-items: center; padding: 0 64px; }
  .r-art2 { top: 50%; bottom: auto; transform: translateY(-50%); }
}
.rz-call { top: 58px; z-index: 2; }
.r2.g-ops .rx-card { translate: 0 1px; } .r2.g-fin .rx-card { translate: 0 4px; }
.r2.g-part .rx-card { translate: 0 -43px; } .r2.g-it .rx-card { translate: 0 29px; }
.r2.g-comp .rx-card { translate: 0 -1px; }
.r2.g-part .rz-call { translate: 0 -43px; }
.r2.g-part .rx-card, .r2.g-part .rz-call { translate: 0 -14px; }
/* Operations: the most productive tool sits on top of each team's bar */
.rx-col > i > u { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); display: flex; justify-content: center; }
.rx-col > i > u .lg { width: 20px; height: 20px; }
.rx-o2 .rx-tb { margin-top: 11px; } .rx-o2 .rx-leg { margin-top: 16px; }
.rx-o2 .rx-tb { margin-top: 8px; } .rx-o2 .rx-tb:first-of-type { margin-top: 14px; } .rx-o2 .rx-leg { margin-top: 14px; }
/* Footer: the joyride.build computer in the lower left */
.f-brand { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 40px; }
.f-mascot { display: block; width: 150px; height: auto; margin: 0 0 -24px -8px; }
@media (max-width: 900px) { .f-mascot { width: 96px; } }
.f-brand { justify-content: flex-end; }
.f-mascot { margin: 0 0 16px -8px; }
