/* I-Cost integrations hub (3 Dec 2026): see assets/js/hub.js */
.hub { --hb-panel: rgba(255,255,255,.035); --hb-line: rgba(255,255,255,.1); --hb-text: #e8f1f6; --hb-muted: #a9bac5; color: var(--hb-text); position: relative; }
.hub-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 26px; }
.hub-filters button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hb-line); background: var(--hb-panel); color: var(--hb-text); font: 700 13px Inter, sans-serif; cursor: pointer; transition: background .25s ease, border-color .25s ease; }
.hub-filters button i { width: 9px; height: 9px; border-radius: 50%; background: var(--gc, #fff); box-shadow: 0 0 10px var(--gc, #fff); }
.hub-filters button.on, .hub-filters button:hover { background: rgba(79,212,223,.16); border-color: rgba(79,212,223,.6); }

.hub-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 230px minmax(0, 1fr); gap: 70px; align-items: center; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hub-line { fill: none; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1), opacity .3s ease; }
.hub-line.on { stroke-dashoffset: 0; }
.hub-line.dim { opacity: .12; }
.hub-dot { filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 12px currentColor); }
.hub-col { display: grid; gap: 16px; position: relative; z-index: 1; }

.hub-g { border: 1px solid var(--hb-line); border-radius: 18px; padding: 14px 14px 12px; background: radial-gradient(120% 120% at 0 0, color-mix(in srgb, var(--gc) 10%, transparent), transparent 60%), rgba(6,27,42,.72); backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.hub-on .hub-g { opacity: 1; transform: none; }
.hub-on .hub-col .hub-g:nth-child(2) { transition-delay: .12s; } .hub-on .hub-col .hub-g:nth-child(3) { transition-delay: .24s; }
.hub-g.dim { opacity: .28; filter: saturate(.3); }
/* !important: the homepage resets every h3 with a very specific rule (body:has(#home) h3) */
.hub .hub-g h3 { font-size: 12px !important; text-transform: uppercase !important; letter-spacing: .08em !important; font-family: Inter, sans-serif !important; line-height: 1.2; display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 800 12px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-muted); }
.hub .hub-g h3 i { width: 9px; height: 9px; border-radius: 50%; background: var(--gc); box-shadow: 0 0 10px var(--gc); }
.hub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-n { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 12px; border: 1px solid var(--hb-line); background: rgba(255,255,255,.045); color: var(--hb-text); font: 650 13px Inter, sans-serif; cursor: pointer; text-align: left; transition: background .2s ease, border-color .2s ease, transform .9s cubic-bezier(.2,1.35,.4,1), opacity .6s ease, filter .6s ease, box-shadow .3s ease; }
/* the story: loose and grey first, floating; then they snap into place when their group is connected */
.hub-n.loose { transform: translate(var(--sx, 0), var(--sy, 0)) rotate(var(--sr, 0deg)); opacity: .38; filter: grayscale(1) blur(.3px); animation: hubFloat 3.4s ease-in-out infinite alternate; animation-delay: calc(-1 * var(--fd, 0s)); }
@keyframes hubFloat { from { translate: 0 -6px; } to { translate: 0 7px; } }
.hub-n.snap { animation: hubSnap .9s ease-out; }
@keyframes hubSnap { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gc) 80%, transparent); background: color-mix(in srgb, var(--gc) 35%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.hub-g h3, .hub-g { transition-property: opacity, transform, filter, border-color, color; } .hub-g:not(.linked) { border-style: dashed; } .hub-g.linked { border-color: color-mix(in srgb, var(--gc) 40%, transparent); }
.hub-g:not(.linked) h3 i { background: #5b6c78; box-shadow: none; }
.hub-n:hover, .hub-n:focus-visible, .hub-n.sel { background: rgba(255,255,255,.09); border-color: color-mix(in srgb, var(--gc, #4fd4df) 70%, transparent); transform: translateY(-1px); }
.hub-g .hub-n { --gc: inherit; }
.hub-n.hit { animation: hubHit 1.4s ease-out; }
@keyframes hubHit { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.0); } 15% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc) 60%, transparent), 0 0 22px color-mix(in srgb, var(--gc) 70%, transparent); background: color-mix(in srgb, var(--gc) 22%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }
.hub-logo { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: color-mix(in srgb, var(--gc) 22%, #0b2333); border: 1px solid color-mix(in srgb, var(--gc) 55%, transparent); color: #fff; font: 800 11px/1 Inter, sans-serif; letter-spacing: -.02em; }
.hub-logo.has-img { background: #fff; border-color: transparent; padding: 3px; }
.hub-logo img { width: 100%; height: 100%; object-fit: contain; }
.hub-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 99px; font: 800 10px Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; background: rgba(255,255,255,.08); color: var(--hb-muted); }
.hub-tag.live { background: rgba(95,211,138,.16); color: #7be3a3; } .hub-tag.live i { width: 6px; height: 6px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 8px #5fd38a; animation: hubBlink 1.8s infinite; }
.hub-tag.soon { background: rgba(245,185,66,.16); color: #f7c96b; }
.hub-tag.price { background: rgba(79,212,223,.14); color: #8fe3ea; text-transform: none; letter-spacing: 0; font-size: 11px; }
@keyframes hubBlink { 50% { opacity: .35; } }

.hub-core { position: relative; z-index: 2; display: grid; place-items: center; aspect-ratio: 1; }
.hub-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #4fd4df, #9b8cff, #f0559a, #f5b942, #3fd6c4, #4fd4df); animation: hubSpin 9s linear infinite; filter: blur(.5px); opacity: .9; }
.hub-ring::after { content: ''; position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(79,212,223,.25), transparent 65%); z-index: -1; }
@keyframes hubSpin { to { transform: rotate(360deg); } }
.hub-core-in { position: relative; width: calc(100% - 8px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #12344c, #061b2a 70%); display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; box-shadow: inset 0 0 30px rgba(0,0,0,.5);
  transform: scale(.7); opacity: 0; transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .6s ease; }
.hub-on .hub-core-in { transform: none; opacity: 1; }
.hub-core-in img { width: 70px; height: auto; }
.hub-core-in b { font: 800 30px/1 "Barlow Condensed", Inter, sans-serif; letter-spacing: .02em; color: #fff; }
.hub-core-in span { font: 600 12px/1.3 Inter, sans-serif; color: var(--hb-muted); max-width: 150px; }
.hub-core-in.hit { animation: hubCore .8s ease-out; }
@keyframes hubCore { 30% { box-shadow: inset 0 0 30px rgba(0,0,0,.5), 0 0 0 6px rgba(95,211,138,.35), 0 0 40px rgba(95,211,138,.5); } }
.hub-feed { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); white-space: nowrap; font: 700 13px Inter, sans-serif; color: #fff; display: none; }
.hub-feed.go { animation: hubFeed 2.4s ease both; }
@keyframes hubFeed { 0% { opacity: 0; transform: translate(-50%, 6px); } 15%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

.hub-say { position: absolute; z-index: 5; transform: translate(-50%, -100%); margin-top: -8px; padding: 6px 11px; border-radius: 99px; background: #fff; color: #0b1b31; font: 800 12px Inter, sans-serif; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,.35); pointer-events: none; animation: hubSay 2.6s ease both; }
.hub-say.back { background: #5fd38a; color: #062a17; }
@keyframes hubSay { 0% { opacity: 0; transform: translate(-50%, -80%) scale(.9); } 12%, 78% { opacity: 1; transform: translate(-50%, -100%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -125%); } }

.hub-detail { margin: 26px auto 0; max-width: 820px; min-height: 92px; }
.hub-hint { text-align: center; color: var(--hb-muted); font: 500 14px Inter, sans-serif; margin: 30px 0 0; }
.hub-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--gc) 45%, transparent); background: radial-gradient(120% 140% at 0 0, color-mix(in srgb, var(--gc) 14%, transparent), transparent 60%), rgba(6,27,42,.8); animation: hubIn .35s ease; }
.hub-card .hub-logo { width: 42px; height: 42px; font-size: 14px; border-radius: 11px; }
.hub-card h4 { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 800 20px/1.2 "Barlow Condensed", Inter, sans-serif; color: #fff; }
.hub-card p { margin: 0 0 6px; font: 500 14px/1.5 Inter, sans-serif; color: #d6e2ea; }
.hub-card .hub-cg { font: 800 11px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gc); margin: 0 0 2px; }
.hub-card .hub-where { color: var(--hb-muted); font-size: 13px; } .hub-card .hub-where b { color: #fff; font-weight: 650; }
@keyframes hubIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hub-more { text-align: center; margin: 18px 0 0; }
.hub-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: linear-gradient(90deg, #3fd6c4, #4fd4df); color: #061b2a; font: 800 14px Inter, sans-serif; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(79,212,223,.7); transition: transform .25s ease; }
.hub-cta:hover, .hub-cta:focus-visible { transform: translateY(-2px); color: #061b2a; }
.hub-tm { margin: 18px auto 0; max-width: 820px; text-align: center; color: #7f93a1; font: 500 11.5px/1.5 Inter, sans-serif; }

@media (max-width: 1100px) { .hub-stage { grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr); gap: 44px; } .hub-core-in img { width: 56px; } .hub-core-in b { font-size: 26px; } }
@media (max-width: 860px) {
  .hub-stage { grid-template-columns: 1fr; gap: 16px; }
  .hub-lines { display: none; }
  .hub-core { width: 190px; margin: 0 auto 44px; order: -1; }
  .hub-col.l { order: 1; } .hub-col.r { order: 2; }
  .hub-feed { display: block; }
}
@media (max-width: 520px) { .hub-n { font-size: 12.5px; } .hub-card { flex-direction: column; } }
/* reduced motion: the site switches animation off (homepage.css); gentle ones come back (owner's PC has reduced motion on) */
@media (prefers-reduced-motion: reduce) {
  .hub-g, .hub-core-in { transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1) !important; }
  .hub-line { transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1), opacity .3s ease !important; }
  .hub-n.hit { animation: hubHit 1.4s ease-out !important; } .hub-n.loose { animation: hubFloat 3.4s ease-in-out infinite alternate !important; animation-delay: calc(-1 * var(--fd, 0s)) !important; } .hub-n.snap { animation: hubSnap .9s ease-out !important; }
  .hub-n { transition: background .2s ease, border-color .2s ease, transform .9s cubic-bezier(.2,1.35,.4,1), opacity .6s ease, filter .6s ease, box-shadow .3s ease !important; } .hub-say { animation: hubSay 2.6s ease both !important; } .hub-feed.go { animation: hubFeed 2.4s ease both !important; }
  .hub-core-in.hit { animation: hubCore .8s ease-out !important; } .hub-card { animation: hubIn .35s ease !important; }
  .hub-ring { animation: hubSpin 24s linear infinite !important; }
}
.hub-tm a { color: #8fe3ea; }

/* the card when an app is picked: what happens, step by step, and what you gain (3 Dec 2026) */
.hub-card { display: block; }
.hub-card-top { display: flex; gap: 14px; align-items: flex-start; }
.hub-flow { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 10px; margin: 14px 0 6px; }
.hub-fn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--hb-line); font: 700 13px Inter, sans-serif; color: #fff; white-space: nowrap; }
.hub-fn img { width: 22px; height: auto; } .hub-fn .hub-logo { width: 22px; height: 22px; font-size: 9px; border-radius: 6px; }
.hub-ft { position: relative; height: 2px; background: linear-gradient(90deg, rgba(79,212,223,.6), var(--gc)); border-radius: 2px; }
.hub-ft i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px var(--gc), 0 0 18px var(--gc); animation: hubFlow 1.8s cubic-bezier(.45,0,.55,1) infinite; }
.hub-flow.in .hub-ft i { animation-direction: reverse; }
.hub-ft em { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); font: 700 11.5px Inter, sans-serif; font-style: normal; color: #cfe3ec; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@keyframes hubFlow { from { left: 0; } to { left: 100%; } }
.hub-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 10px; }
.hub-cols h5 { margin: 0 0 8px; font: 800 11px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gc); }
.hub-how, .hub-gain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hub-how li, .hub-gain li { display: flex; gap: 10px; align-items: flex-start; font: 500 13.5px/1.45 Inter, sans-serif; color: #d6e2ea; opacity: 0; transform: translateX(-8px); animation: hubStep .5s ease forwards; animation-delay: calc(var(--i) * 260ms + 150ms); }
.hub-how b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--gc) 25%, transparent); border: 1px solid var(--gc); color: #fff; font: 800 11px Inter, sans-serif; }
.hub-gain i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(95,211,138,.18); color: #7be3a3; font: 800 12px Inter, sans-serif; font-style: normal; }
@keyframes hubStep { to { opacity: 1; transform: none; } }
.hub-card .hub-where { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hb-line); }
@media (max-width: 760px) { .hub-cols { grid-template-columns: 1fr; } .hub-flow { grid-template-columns: auto minmax(40px, 1fr) auto; } .hub-fn { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .hub-how li, .hub-gain li { animation: hubStep .5s ease forwards !important; animation-delay: calc(var(--i) * 260ms + 150ms) !important; } .hub-ft i { animation: hubFlow 1.8s cubic-bezier(.45,0,.55,1) infinite !important; } .hub-flow.in .hub-ft i { animation-direction: reverse !important; } }

/* Integrations page header: I-Cost's own screens, one after another, with the apps popping up (3 Dec 2026) */
.hub-screens { position: relative; width: 100%; max-width: 620px; margin: 0 auto; padding: 22px 30px 30px; }
.hs-frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #0b2333; box-shadow: 0 30px 60px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(79,212,223,.15), 0 0 60px -10px rgba(79,212,223,.35); }
.hs-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0e2a3d; border-bottom: 1px solid rgba(255,255,255,.08); font: 700 12px Inter, sans-serif; color: #cfe3ec; }
.hs-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; } .hs-bar i:nth-child(2) { background: #f5b942; } .hs-bar i:nth-child(3) { background: #5fd38a; margin-right: 6px; }
.hs-bar span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hs-bar b { font: 800 10px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #7be3a3; background: rgba(95,211,138,.15); padding: 2px 8px; border-radius: 99px; }
.hs-shots { position: relative; aspect-ratio: 16 / 10.5; background: radial-gradient(circle at 50% 40%, #12344c, #0b2333 70%); overflow: hidden; }
.hs-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 5.5s ease-out; }
.hs-shots img.tall { object-fit: contain; object-position: center; padding: 10px; }
.hs-shots img.on { opacity: 1; transform: scale(1); }
.hs-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 9px 14px; border-radius: 12px; background: rgba(6,27,42,.88); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.12); color: #fff; font: 700 14px Inter, sans-serif; }
.hs-cap.go { animation: hsCap 4.8s ease both; }
@keyframes hsCap { 0% { opacity: 0; transform: translateY(10px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.hs-chips { position: absolute; inset: 0; pointer-events: none; }
.hs-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 12px; background: rgba(6,27,42,.92); border: 1px solid color-mix(in srgb, var(--gc) 60%, transparent); color: #fff; font: 700 12.5px Inter, sans-serif; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.45), 0 0 18px -4px var(--gc); opacity: 0; animation: hsChip 4.3s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes hsChip { 0% { opacity: 0; transform: translateY(10px) scale(.8); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.hs-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; } .hs-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.25); transition: width .4s ease, background .4s ease; } .hs-dots i.on { width: 22px; background: #4fd4df; }
@media (max-width: 860px) { .hub-screens { padding: 18px 8px 8px; } .hs-chip { font-size: 11.5px; } .hs-chip:nth-child(n+3) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hs-shots img { transition: opacity 1s ease, transform 5.5s ease-out !important; } .hs-cap.go { animation: hsCap 4.8s ease both !important; }
  .hs-chip { animation: hsChip 4.3s cubic-bezier(.2,1.3,.4,1) both !important; } .hs-dots i { transition: width .4s ease, background .4s ease !important; }
}

/* the hub sits in the page header on the Integrations page */
.int-hero .hub { margin-top: 34px; }
.int-hero .hero-lead { max-width: 820px; }

/* Integrations page: the whole hub on screen when the page opens (owner 3 Dec 2026) */
.int-hero { padding-top: 26px !important; padding-bottom: 30px !important; }
.int-hero .breadcrumbs { margin-bottom: 6px; }
.int-hero .eyebrow { margin-bottom: 4px; }
.int-hero h1 { font-size: clamp(30px, 3.1vw, 46px) !important; line-height: 1.05 !important; margin: 0 0 8px !important; }
.int-hero h1 span { display: inline !important; margin-left: .28em; }
.int-hero .hero-lead { font-size: 15.5px !important; line-height: 1.5 !important; margin: 0 !important; max-width: 980px; }
.int-hero .hub { margin-top: 14px; }
.int-hero .hub-filters { margin-bottom: 14px; }
.int-hero .hub-filters button { padding: 6px 12px; font-size: 12.5px; }
.int-hero .hub-stage { grid-template-columns: minmax(0, 1fr) 196px minmax(0, 1fr); gap: 54px; }
.int-hero .hub-col { gap: 10px; }
.int-hero .hub-g { padding: 10px 12px 10px; border-radius: 14px; }
.int-hero .hub .hub-g h3 { margin-bottom: 7px; font-size: 11px !important; }
.int-hero .hub-chips { gap: 6px; }
.int-hero .hub-n { padding: 3px 9px 3px 3px; font-size: 12.5px; gap: 7px; border-radius: 10px; }
.int-hero .hub-logo { width: 24px; height: 24px; font-size: 10px; border-radius: 7px; }
.int-hero .hub-tag { font-size: 9px; padding: 1px 6px; }
.int-hero .hub-core-in img { width: 54px; } .int-hero .hub-core-in b { font-size: 26px; }
.int-hero .hub-detail { margin-top: 18px; }
@media (max-width: 1100px) { .int-hero .hub-stage { grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); gap: 36px; } }
@media (max-width: 860px) { .int-hero .hub-stage { grid-template-columns: 1fr; gap: 12px; } .int-hero .hub-core { width: 160px; } }
@media (max-width: 1320px) and (min-width: 1101px) { .int-hero .hub-stage { grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr); gap: 34px; } .int-hero .hub-n { font-size: 12px; } }
