/* RuniverseHub · PUBLIC-HOME-BENTO-UX-HF-2.3 */
:root {
  --rh-bento-bg: #040d14;
  --rh-bento-bg-2: #07131d;
  --rh-bento-panel: rgba(8, 22, 32, .88);
  --rh-bento-panel-2: rgba(11, 29, 41, .9);
  --rh-bento-line: rgba(135, 167, 190, .17);
  --rh-bento-line-strong: rgba(18, 216, 210, .34);
  --rh-bento-text: #f4fbff;
  --rh-bento-muted: #91a6b7;
  --rh-bento-cyan: #12d8d2;
  --rh-bento-mint: #61e8b4;
  --rh-bento-amber: #f2b84b;
  --rh-bento-blue: #53b9ff;
  --rh-bento-radius: 22px;
  --rh-bento-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

html { background: var(--rh-bento-bg); }
body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(80rem 42rem at 50% -18%, rgba(18, 216, 210, .1), transparent 70%),
    var(--rh-bento-bg);
  color: var(--rh-bento-text);
}

body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] *,
body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] *::before,
body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] *::after { box-sizing: border-box; }

body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] a { color: inherit; text-decoration: none; }
body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] button,
body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] input,
body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] select { font: inherit; }

.rh-v2-skip-link {
  position: fixed !important;
  top: 10px;
  left: 10px;
  z-index: 99999;
  max-width: calc(100vw - 20px);
  padding: .75rem 1rem;
  transform: translateY(-180%);
  border: 1px solid rgba(18, 216, 210, .65);
  border-radius: 12px;
  background: #07141e;
  color: white;
  box-shadow: 0 16px 38px rgba(0,0,0,.34);
  transition: transform .18s ease;
}
.rh-v2-skip-link:focus { transform: translateY(0); }

.rh-bento-home { position: relative; isolation: isolate; }
.rh-bento-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.rh-bento-section { padding: clamp(3rem, 7vw, 5.8rem) 0; }
.rh-bento-section-head { max-width: 720px; margin-bottom: 1.5rem; }
.rh-bento-section-head--split { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 2rem; }
.rh-bento-section-head h2,
.rh-bento-journey h2,
.rh-bento-cta-panel h2 {
  margin: .5rem 0 0;
  color: white;
  font-size: clamp(1.75rem, 4vw, 3.15rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.rh-bento-section-head p,
.rh-bento-journey header > p {
  max-width: 62ch;
  margin: .8rem 0 0;
  color: var(--rh-bento-muted);
  font-size: clamp(.95rem, 1.5vw, 1.06rem);
  line-height: 1.7;
}
.rh-bento-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--rh-bento-cyan);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.rh-bento-eyebrow svg { width: 15px; height: 15px; }


/* Icon containment hotfix: prevents global public SVG rules from expanding UI icons. */
.rh-bento-home .rh-bento-button > svg,
.rh-bento-home .rh-bento-role-card__footer a > svg,
.rh-bento-home .rh-bento-demo-card > a > svg,
.rh-bento-home .rh-bento-demo-card__footer > a > svg,
.rh-bento-home .rh-bento-demo-card a > svg,
.rh-bento-home .rh-bento-search__quick a > svg,
.rh-bento-home .rh-bento-hero__mobile-strip a > span > svg,
.rh-bento-home .rh-bento-hero-layer__icon > svg,
.rh-bento-home .rh-bento-demo-card header > span > svg,
.rh-bento-home .rh-bento-journey li > i > svg,
.rh-bento-home .rh-bento-trust-panel article > span > svg {
  display: block !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px !important;
}
.rh-bento-home .rh-bento-role-card__body li > svg,
.rh-bento-home .rh-bento-eyebrow > svg {
  display: block !important;
  width: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  flex: 0 0 15px !important;
}
.rh-bento-home .rh-bento-search label > div > svg {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
}

/* Header refinement */
body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] .rh-v2-public-header,
body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] .rh-public-header {
  transition: min-height .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
body.rh-bento-has-scrolled .rh-v2-public-header,
body.rh-bento-has-scrolled .rh-public-header {
  min-height: 62px;
  background: rgba(3, 13, 20, .88) !important;
  border-bottom-color: rgba(18,216,210,.17) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
}

/* Buttons */
.rh-bento-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.rh-bento-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.05rem;
  border: 1px solid rgba(18,216,210,.65);
  border-radius: 12px;
  background: linear-gradient(135deg, #11d6d0, #16c8d3);
  color: #031118;
  font-size: .84rem;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(18,216,210,.16);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.rh-bento-button:hover,
.rh-bento-button:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(18,216,210,.24); }
.rh-bento-button.is-outline { border-color: rgba(205,226,237,.3); background: rgba(5,17,25,.66); color: white; box-shadow: none; }
.rh-bento-button.is-ghost { border-color: rgba(242,184,75,.4); background: rgba(242,184,75,.06); color: #ffd67e; box-shadow: none; }

/* Hero */
.rh-bento-hero {
  position: relative;
  min-height: min(720px, calc(100vh - 68px));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(135,167,190,.13);
  background: #06111a;
}
.rh-bento-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 11rem;
  background: linear-gradient(180deg, transparent, var(--rh-bento-bg));
  pointer-events: none;
}
.rh-bento-hero__media { position: absolute; inset: 0; overflow: hidden; }
.rh-bento-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; transform: scale(1.025); filter: saturate(.95) contrast(1.03); }
.rh-bento-hero__media > span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,10,16,.97) 0%, rgba(2,10,16,.85) 30%, rgba(2,10,16,.35) 60%, rgba(2,10,16,.68) 100%),
    linear-gradient(0deg, rgba(4,13,20,.88), transparent 45%);
}
.rh-bento-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .76fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 5.4rem 0 7.4rem;
}
.rh-bento-hero__copy { max-width: 670px; }
.rh-bento-hero__copy h1 {
  margin: .72rem 0 0;
  font-size: clamp(2.85rem, 6.2vw, 6.15rem);
  line-height: .94;
  letter-spacing: -.067em;
}
.rh-bento-hero__copy h1 span,
.rh-bento-hero__copy h1 em { display: block; font-style: normal; }
.rh-bento-hero__copy h1 span { color: white; }
.rh-bento-hero__copy h1 em { margin-top: .12em; color: var(--rh-bento-cyan); }
.rh-bento-hero__copy > p {
  max-width: 58ch;
  margin: 1.25rem 0 1.55rem;
  color: #c0cfda;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.7;
}
.rh-bento-hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1.15rem;
  margin-top: 1.3rem;
}
.rh-bento-hero__stats > span { display: inline-flex; align-items: baseline; gap: .32rem; color: var(--rh-bento-muted); }
.rh-bento-hero__stats strong { color: white; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.rh-bento-hero__stats small { font-size: .72rem; }
.rh-bento-hero__stats em { padding: .3rem .55rem; border: 1px solid rgba(18,216,210,.2); border-radius: 999px; color: var(--rh-bento-cyan); font-size: .62rem; font-style: normal; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.rh-bento-hero__layers { position: relative; min-height: 400px; }
.rh-bento-hero__layers > small { position: absolute; right: 0; bottom: 0; max-width: 15rem; color: rgba(218,233,242,.68); font-size: .62rem; line-height: 1.45; text-align: right; }
.rh-bento-hero-layer {
  position: absolute;
  right: 0;
  display: grid;
  width: min(100%, 370px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(148,174,194,.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(9,25,36,.92), rgba(5,16,24,.84));
  box-shadow: 0 25px 58px rgba(0,0,0,.3);
  backdrop-filter: blur(14px);
}
.rh-bento-hero-layer--event { top: 0; }
.rh-bento-hero-layer--result { top: 130px; right: 44px; }
.rh-bento-hero-layer--ranking { top: 260px; right: 6px; }
.rh-bento-hero-layer__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: rgba(18,216,210,.1); color: var(--rh-bento-cyan); }
.rh-bento-hero-layer--result .rh-bento-hero-layer__icon { background: rgba(242,184,75,.1); color: var(--rh-bento-amber); }
.rh-bento-hero-layer--ranking .rh-bento-hero-layer__icon { background: rgba(83,185,255,.1); color: var(--rh-bento-blue); }
.rh-bento-hero-layer__copy { min-width: 0; }
.rh-bento-hero-layer__copy small,
.rh-bento-hero-layer__copy span { display: block; overflow: hidden; color: var(--rh-bento-muted); font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.rh-bento-hero-layer__copy small { color: var(--rh-bento-cyan); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.rh-bento-hero-layer__copy strong { display: block; margin: .2rem 0; overflow: hidden; color: white; font-size: .94rem; text-overflow: ellipsis; white-space: nowrap; }
.rh-bento-hero-layer__metric { text-align: right; }
.rh-bento-hero-layer__metric b { display: block; color: white; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.rh-bento-hero-layer__metric span { color: var(--rh-bento-muted); font-size: .57rem; }
.rh-bento-hero__mobile-strip { display: none; }

/* Search */
.rh-bento-search-wrap { position: relative; z-index: 6; margin-top: -4.8rem; }
.rh-bento-search {
  display: grid;
  grid-template-columns: minmax(16rem, 1.45fr) repeat(3, minmax(9rem, .72fr)) auto;
  align-items: end;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid rgba(148,174,194,.17);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(9,25,36,.97), rgba(5,16,24,.94));
  box-shadow: 0 28px 75px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}
.rh-bento-search label { min-width: 0; }
.rh-bento-search label > span { display: block; margin: 0 0 .38rem; color: #a8bac8; font-size: .64rem; font-weight: 750; }
.rh-bento-search label > div { position: relative; }
.rh-bento-search label > div svg { position: absolute; top: 50%; left: .8rem; width: 16px; transform: translateY(-50%); color: #7f95a7; }
.rh-bento-search input,
.rh-bento-search select {
  width: 100%;
  min-height: 44px;
  padding: .72rem .85rem;
  border: 1px solid rgba(148,174,194,.15);
  border-radius: 11px;
  outline: 0;
  background: rgba(0,0,0,.15);
  color: white;
}
.rh-bento-search input { padding-left: 2.45rem; }
.rh-bento-search input:focus,
.rh-bento-search select:focus { border-color: rgba(18,216,210,.55); box-shadow: 0 0 0 3px rgba(18,216,210,.1); }
.rh-bento-search option { background: #081721; color: white; }
.rh-bento-search__quick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.rh-bento-search__quick button,
.rh-bento-search__quick a { min-height: 30px; padding: .35rem .72rem; border: 1px solid rgba(148,174,194,.14); border-radius: 8px; background: rgba(255,255,255,.025); color: #c0cfda; font-size: .68rem; cursor: pointer; }
.rh-bento-search__quick button:hover,
.rh-bento-search__quick button:focus-visible,
.rh-bento-search__quick button.is-active { border-color: rgba(18,216,210,.45); background: rgba(18,216,210,.08); color: white; }
.rh-bento-search__quick a { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; border-color: transparent; color: var(--rh-bento-cyan); }

/* Experience bento cards */
.rh-bento-experiences { padding-top: clamp(4rem, 8vw, 6.5rem); }
.rh-bento-role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rh-bento-role-card {
  --rh-bento-accent: var(--rh-bento-cyan);
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rh-bento-accent) 42%, rgba(148,174,194,.16));
  border-radius: 18px;
  background: #07151f;
  box-shadow: 0 24px 62px rgba(0,0,0,.24);
  isolation: isolate;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .28s ease, box-shadow .28s ease;
}
.rh-bento-role-card--organizer { --rh-bento-accent: var(--rh-bento-amber); }
.rh-bento-role-card--team { --rh-bento-accent: var(--rh-bento-blue); }
.rh-bento-role-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.rh-bento-role-card--athlete > img { object-position: 63% center; }
.rh-bento-role-card--organizer > img { object-position: 55% center; }
.rh-bento-role-card--team > img { object-position: 60% center; }
.rh-bento-role-card__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,12,18,.98) 0%, rgba(3,12,18,.85) 47%, rgba(3,12,18,.26) 100%), linear-gradient(0deg, rgba(3,12,18,.98), transparent 48%); }
.rh-bento-role-card__body { position: relative; z-index: 3; width: min(60%, 25rem); padding: 1.35rem 1.25rem 1.15rem; }
.rh-bento-role-card__body h2 { margin: .55rem 0 0; color: white; font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.03; letter-spacing: -.035em; }
.rh-bento-role-card__body > p { margin: .75rem 0; color: #b5c5d1; font-size: .82rem; line-height: 1.55; }
.rh-bento-role-card__body ul { display: grid; gap: .42rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.rh-bento-role-card__body li { display: flex; align-items: center; gap: .42rem; color: #d8e4eb; font-size: .74rem; }
.rh-bento-role-card__body li svg { width: 14px; height: 14px; color: var(--rh-bento-accent); }
.rh-bento-role-card__footer { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.05rem; }
.rh-bento-role-card__footer a { display: inline-flex; align-items: center; gap: .4rem; color: var(--rh-bento-accent); font-size: .74rem; font-weight: 850; }
.rh-bento-role-card__footer a.is-secondary { color: #d8e4eb; }
.rh-bento-role-card__metric {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  z-index: 4;
  width: min(40%, 168px);
  padding: .72rem;
  border: 1px solid color-mix(in srgb, var(--rh-bento-accent) 34%, rgba(148,174,194,.16));
  border-radius: 14px;
  background: rgba(3,13,20,.78);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}
.rh-bento-role-card__metric > small,
.rh-bento-role-card__metric > span { display: block; color: var(--rh-bento-muted); font-size: .56rem; }
.rh-bento-role-card__metric > small { color: var(--rh-bento-accent); font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.rh-bento-role-card__metric > strong { display: block; margin: .22rem 0 0; color: white; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.rh-bento-role-card:hover,
.rh-bento-role-card:focus-within { transform: translateY(-5px); border-color: color-mix(in srgb, var(--rh-bento-accent) 72%, white 4%); box-shadow: 0 32px 82px rgba(0,0,0,.34); }
.rh-bento-role-card:hover > img,
.rh-bento-role-card:focus-within > img { transform: scale(1.065); filter: saturate(1.08); }
.rh-bento-card-glow { position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none; background: radial-gradient(24rem 20rem at var(--rh-bento-x, 70%) var(--rh-bento-y, 30%), color-mix(in srgb, var(--rh-bento-accent) 18%, transparent), transparent 70%); transition: opacity .25s ease; }
.rh-bento-role-card:hover .rh-bento-card-glow,
.rh-bento-demo-card:hover .rh-bento-card-glow { opacity: 1; }

/* Charts */
.rh-bento-sparkline { display: block; width: 100%; min-width: 0; height: 52px; margin-top: .45rem; overflow: visible; color: var(--rh-bento-accent, var(--rh-bento-cyan)); }
.rh-bento-sparkline__grid { fill: none; stroke: rgba(148,174,194,.1); stroke-width: 1; }
.rh-bento-sparkline__area { opacity: .55; }
.rh-bento-sparkline__line { fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--rh-line-length, 360); stroke-dashoffset: var(--rh-line-length, 360); filter: drop-shadow(0 0 6px color-mix(in srgb, currentColor 55%, transparent)); }
.rh-bento-sparkline__dot { fill: color-mix(in srgb, currentColor 95%, white 5%); stroke: rgba(255,255,255,.72); stroke-width: 1.2; filter: drop-shadow(0 0 10px color-mix(in srgb, currentColor 65%, transparent)); transform-origin: center; opacity: 0; }
.rh-bento-bars { display: flex; width: 100%; min-width: 0; height: 54px; align-items: end; gap: 5px; margin-top: .48rem; }
.rh-bento-bars i { flex: 1 1 0; width: auto; height: var(--rh-bar-height); min-height: 6px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, color-mix(in srgb, var(--rh-bento-accent, var(--rh-bento-cyan)) 90%, white 5%), color-mix(in srgb, var(--rh-bento-accent, var(--rh-bento-cyan)) 40%, transparent)); transform-origin: bottom; box-shadow: 0 0 0 rgba(255,255,255,0); }

/* Connected journey */
.rh-bento-journey { padding-top: 0; }
.rh-bento-journey__panel {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 2rem;
  padding: 1.35rem;
  border: 1px solid var(--rh-bento-line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8,25,36,.92), rgba(4,15,23,.9));
  box-shadow: 0 24px 62px rgba(0,0,0,.2);
}
.rh-bento-journey h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.rh-bento-journey ol { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.rh-bento-journey ol::before { content: ""; position: absolute; top: 28px; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, transparent, var(--rh-bento-cyan), var(--rh-bento-cyan), transparent); opacity: .7; }
.rh-bento-journey li { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; gap: .65rem; padding: .75rem; border: 1px solid rgba(148,174,194,.12); border-radius: 14px; background: rgba(255,255,255,.018); }
.rh-bento-journey li > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(18,216,210,.35); border-radius: 999px; background: rgba(18,216,210,.08); color: var(--rh-bento-cyan); font-size: .7rem; font-weight: 850; }
.rh-bento-journey li > i { display: none; }
.rh-bento-journey li strong { display: block; color: white; font-size: .8rem; line-height: 1.3; }
.rh-bento-journey li p { margin: .35rem 0 0; color: var(--rh-bento-muted); font-size: .66rem; line-height: 1.48; }

/* Demo bento */
.rh-bento-demo { padding-top: 0; }
.rh-bento-demo-badge { flex: 0 0 auto; padding: .5rem .75rem; border: 1px solid rgba(242,184,75,.33); border-radius: 999px; background: rgba(242,184,75,.07); color: #ffd67e; font-size: .66rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.rh-bento-demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rh-bento-demo-card {
  --rh-bento-accent: var(--rh-bento-cyan);
  position: relative;
  min-width: 0;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rh-bento-accent) 35%, rgba(148,174,194,.16));
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8,25,36,.95), rgba(4,15,23,.96));
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  isolation: isolate;
}
.rh-bento-demo-card--organizer { --rh-bento-accent: var(--rh-bento-amber); }
.rh-bento-demo-card--team { --rh-bento-accent: var(--rh-bento-blue); }
.rh-bento-demo-card > *:not(.rh-bento-card-glow) { position: relative; z-index: 2; }

.rh-bento-demo-card__image {
  position: absolute !important;
  z-index: 0 !important;
  top: 0;
  right: 0;
  width: 58%;
  height: 54%;
  object-fit: cover;
  object-position: 72% center;
  opacity: .32;
  filter: saturate(.92) contrast(1.04);
  transform: scale(1.025);
  transition: opacity .35s ease, transform .7s cubic-bezier(.2,.8,.2,1), filter .35s ease;
  pointer-events: none;
}
.rh-bento-demo-card__image-shade {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,17,25,.98) 0%, rgba(5,17,25,.86) 40%, rgba(5,17,25,.3) 78%, rgba(5,17,25,.58) 100%),
    linear-gradient(0deg, rgba(5,17,25,.98) 38%, rgba(5,17,25,.08) 100%);
  pointer-events: none;
}
.rh-bento-demo-card:hover .rh-bento-demo-card__image,
.rh-bento-demo-card:focus-within .rh-bento-demo-card__image {
  opacity: .42;
  filter: saturate(1.06) contrast(1.06);
  transform: scale(1.065);
}
.rh-bento-demo-card header { display: flex; align-items: center; gap: .7rem; }
.rh-bento-demo-card header > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid color-mix(in srgb, var(--rh-bento-accent) 35%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--rh-bento-accent) 9%, transparent); color: var(--rh-bento-accent); }
.rh-bento-demo-card header small { display: block; color: var(--rh-bento-accent); font-size: .59rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.rh-bento-demo-card h3 { margin: .15rem 0 0; color: white; font-size: 1.1rem; }
.rh-bento-demo-card > p { min-height: 2.8rem; margin: .75rem 0; color: var(--rh-bento-muted); font-size: .76rem; line-height: 1.55; }
.rh-bento-demo-card__visual { display: grid; gap: .72rem; padding: .8rem; border: 1px solid rgba(148,174,194,.11); border-radius: 13px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)); }
.rh-bento-demo-card__visual-head { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: .75rem; }
.rh-bento-demo-card__visual-head > strong { color: white; font-size: 1.18rem; font-variant-numeric: tabular-nums; line-height: 1; }
.rh-bento-demo-card__visual-head > span { color: var(--rh-bento-muted); font-size: .58rem; text-transform: uppercase; letter-spacing: .06em; text-align: right; }
.rh-bento-demo-card__chart { min-width: 0; width: 100%; }
.rh-bento-demo-card__chart .rh-bento-sparkline,
.rh-bento-demo-card__chart .rh-bento-bars { height: 74px; margin-top: 0; }
.rh-bento-demo-card__footer { display: grid; grid-template-columns: minmax(0,1fr); gap: .7rem; margin-top: .68rem; }
.rh-bento-demo-card__metrics { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
.rh-bento-demo-card__metrics div { padding: .72rem; border: 1px solid rgba(148,174,194,.1); border-radius: 11px; background: rgba(255,255,255,.018); }
.rh-bento-demo-card__metrics strong,
.rh-bento-demo-card__metrics span { display: block; }
.rh-bento-demo-card__metrics strong { color: white; font-size: .94rem; font-variant-numeric: tabular-nums; }
.rh-bento-demo-card__metrics span { margin-top: .15rem; color: var(--rh-bento-muted); font-size: .59rem; }
.rh-bento-demo-card__footer > a { display: inline-flex; align-items: center; justify-content: space-between; gap: .55rem; min-height: 52px; min-width: 10.5rem; padding: .85rem .95rem; border: 1px solid color-mix(in srgb, var(--rh-bento-accent) 28%, rgba(148,174,194,.14)); border-radius: 12px; background: color-mix(in srgb, var(--rh-bento-accent) 8%, rgba(255,255,255,.01)); color: var(--rh-bento-accent); font-size: .76rem; font-weight: 850; }
.rh-bento-demo-card__footer > a > svg { width: 18px !important; height: 18px !important; min-width: 18px !important; max-width: 18px !important; min-height: 18px !important; max-height: 18px !important; flex: 0 0 18px !important; }
.rh-bento-demo-card:hover,
.rh-bento-demo-card:focus-within { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rh-bento-accent) 70%, white 5%); box-shadow: 0 30px 74px rgba(0,0,0,.28); }

/* Final bento */
.rh-bento-final { padding-top: 0; }
.rh-bento-final__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 12px; }
.rh-bento-trust-panel,
.rh-bento-cta-panel { border: 1px solid var(--rh-bento-line); border-radius: 18px; background: linear-gradient(135deg, rgba(10,28,40,.93), rgba(4,15,23,.93)); box-shadow: 0 24px 62px rgba(0,0,0,.2); }
.rh-bento-trust-panel { display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; padding: .85rem; }
.rh-bento-trust-panel article { display: flex; min-width: 0; align-items: center; gap: .65rem; padding: .72rem; border: 1px solid rgba(242,184,75,.13); border-radius: 12px; background: rgba(242,184,75,.035); }
.rh-bento-trust-panel article > span { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 9px; background: rgba(242,184,75,.09); color: var(--rh-bento-amber); }
.rh-bento-trust-panel strong { color: #dce8ef; font-size: .68rem; line-height: 1.35; }
.rh-bento-cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.15rem; }
.rh-bento-cta-panel h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.rh-bento-cta-panel .rh-bento-actions { justify-content: flex-end; }
.rh-bento-cta-panel .rh-bento-button { min-height: 40px; padding: .65rem .82rem; font-size: .72rem; }

/* Footer */
.rh-bento-footer { padding: 2.1rem 0 1rem; border-top: 1px solid var(--rh-bento-line); background: #030a10; }
.rh-bento-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, .72fr); gap: 1.5rem; }
.rh-bento-footer p { max-width: 32ch; color: var(--rh-bento-muted); font-size: .72rem; line-height: 1.6; }
.rh-bento-footer a { color: #a8bac8; font-size: .7rem; transition: color .18s ease; }
.rh-bento-footer a:hover,
.rh-bento-footer a:focus-visible { color: var(--rh-bento-cyan); }
.rh-bento-footer nav { display: grid; align-content: start; gap: .5rem; }
.rh-bento-footer nav strong { color: white; font-size: .72rem; }
.rh-bento-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(148,174,194,.1); color: #718697; font-size: .63rem; }

/* Progressive motion */
[data-rh-bento-reveal] { opacity: 1; transform: none; }
body.rh-bento-motion [data-rh-bento-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(4px); transition: opacity .62s ease var(--rh-bento-delay, 0ms), transform .62s cubic-bezier(.2,.75,.2,1) var(--rh-bento-delay, 0ms), filter .62s ease var(--rh-bento-delay, 0ms); }
body.rh-bento-motion [data-rh-bento-reveal].is-in { opacity: 1; transform: none; filter: none; }
body.rh-bento-motion [data-rh-bento-reveal] .rh-bento-sparkline__line { stroke-dashoffset: 360; }
body.rh-bento-motion [data-rh-bento-reveal].is-in .rh-bento-sparkline__line { animation: rh-bento-line-draw 1s cubic-bezier(.2,.75,.2,1) .18s forwards; }
body.rh-bento-motion [data-rh-bento-reveal] .rh-bento-sparkline__dot { opacity: 0; transform: scale(.35); }
body.rh-bento-motion [data-rh-bento-reveal].is-in .rh-bento-sparkline__dot { animation: rh-bento-dot-pop .42s cubic-bezier(.2,.8,.2,1) .92s forwards, rh-bento-dot-pulse 1.8s ease 1.2s infinite; }
body.rh-bento-motion [data-rh-bento-reveal] .rh-bento-bars i { transform: scaleY(.05); }
body.rh-bento-motion [data-rh-bento-reveal].is-in .rh-bento-bars i { animation: rh-bento-bar-grow .72s cubic-bezier(.2,.75,.2,1) calc(.18s + var(--rh-bar-delay)) forwards, rh-bento-bar-sheen 1.7s ease calc(.95s + var(--rh-bar-delay)) 1; }
body.rh-bento-motion .rh-bento-hero__copy > * { opacity: 0; transform: translateY(16px); animation: rh-bento-hero-in .7s cubic-bezier(.2,.75,.2,1) forwards; }
body.rh-bento-motion .rh-bento-hero__copy > :nth-child(2) { animation-delay: .08s; }
body.rh-bento-motion .rh-bento-hero__copy > :nth-child(3) { animation-delay: .16s; }
body.rh-bento-motion .rh-bento-hero__copy > :nth-child(4) { animation-delay: .24s; }
body.rh-bento-motion .rh-bento-hero__copy > :nth-child(5) { animation-delay: .32s; }
body.rh-bento-motion .rh-bento-hero-layer { opacity: 0; transform: translate3d(18px,10px,0); animation: rh-bento-layer-in .65s cubic-bezier(.2,.75,.2,1) forwards; }
body.rh-bento-motion .rh-bento-hero-layer--event { animation-delay: .22s; }
body.rh-bento-motion .rh-bento-hero-layer--result { animation-delay: .34s; }
body.rh-bento-motion .rh-bento-hero-layer--ranking { animation-delay: .46s; }

@keyframes rh-bento-hero-in { to { opacity: 1; transform: none; } }
@keyframes rh-bento-layer-in { to { opacity: 1; transform: none; } }
@keyframes rh-bento-line-draw { to { stroke-dashoffset: 0; } }
@keyframes rh-bento-dot-pop { to { opacity: 1; transform: scale(1); } }
@keyframes rh-bento-dot-pulse { 0%, 100% { filter: drop-shadow(0 0 6px color-mix(in srgb, currentColor 55%, transparent)); } 50% { filter: drop-shadow(0 0 12px color-mix(in srgb, currentColor 85%, transparent)); } }
@keyframes rh-bento-bar-grow { to { transform: scaleY(1); } }
@keyframes rh-bento-bar-sheen { 0% { box-shadow: 0 0 0 rgba(255,255,255,0); } 45% { box-shadow: 0 -10px 22px color-mix(in srgb, var(--rh-bento-accent) 22%, transparent); } 100% { box-shadow: 0 0 0 rgba(255,255,255,0); } }

/* Responsive */
@media (max-width: 1080px) {
  .rh-bento-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); }
  .rh-bento-search { grid-template-columns: minmax(15rem, 1.3fr) repeat(2, minmax(9rem, .75fr)); }
  .rh-bento-search > label:nth-of-type(4) { grid-column: auto; }
  .rh-bento-search > .rh-bento-button { min-width: 10rem; }
  .rh-bento-role-card__body { width: min(58%, 22rem); }
  .rh-bento-journey__panel { grid-template-columns: 1fr; }
  .rh-bento-footer__grid { grid-template-columns: 1.4fr repeat(2, .8fr); }
}

@media (max-width: 960px) {
  .rh-bento-container { width: min(100% - 28px, 760px); }
  .rh-bento-hero { min-height: auto; }
  .rh-bento-hero__grid { display: block; padding: 4rem 0 7rem; }
  .rh-bento-hero__media img { object-position: 58% center; }
  .rh-bento-hero__media > span { background: linear-gradient(0deg, rgba(2,10,16,.98) 0%, rgba(2,10,16,.74) 58%, rgba(2,10,16,.55) 100%); }
  .rh-bento-hero__copy { max-width: 640px; }
  .rh-bento-hero__copy h1 { font-size: clamp(2.7rem, 10vw, 4.7rem); }
  .rh-bento-hero__layers { display: none; }
  .rh-bento-hero__mobile-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .55rem; margin-top: 1.2rem; }
  .rh-bento-hero__mobile-strip a { display: flex; min-width: 0; align-items: center; gap: .5rem; padding: .65rem; border: 1px solid rgba(148,174,194,.15); border-radius: 12px; background: rgba(4,16,24,.65); }
  .rh-bento-hero__mobile-strip a > span { color: var(--rh-bento-cyan); }
  .rh-bento-hero__mobile-strip small,
  .rh-bento-hero__mobile-strip strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rh-bento-hero__mobile-strip small { color: var(--rh-bento-muted); font-size: .55rem; }
  .rh-bento-hero__mobile-strip strong { margin-top: .15rem; color: white; font-size: .65rem; }
  .rh-bento-search { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rh-bento-search__query { grid-column: 1 / -1; }
  .rh-bento-search > .rh-bento-button { grid-column: 1 / -1; }
  .rh-bento-role-grid { grid-template-columns: 1fr; }
  .rh-bento-role-card { min-height: 420px; }
  .rh-bento-role-card__body { width: min(100%, 21rem); padding-right: 1rem; }
  .rh-bento-role-card__metric { position: relative; inset: auto; width: calc(100% - 2rem); margin: .45rem 1rem 1rem; }
  .rh-bento-demo-grid { grid-template-columns: 1fr; }
  .rh-bento-demo-card__footer { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
  .rh-bento-final__grid { grid-template-columns: 1fr; }
  .rh-bento-cta-panel { align-items: flex-start; flex-direction: column; }
  .rh-bento-cta-panel .rh-bento-actions { justify-content: flex-start; }
  .rh-bento-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 620px) {
  .rh-bento-container { width: calc(100% - 20px); }
  .rh-bento-section { padding: 3.4rem 0; }
  .rh-bento-section-head--split { align-items: flex-start; flex-direction: column; gap: .85rem; }
  .rh-bento-hero__grid { padding: 3.2rem 0 6.4rem; }
  .rh-bento-hero__copy h1 { font-size: clamp(2.55rem, 13vw, 3.65rem); }
  .rh-bento-hero__copy > p { font-size: .96rem; }
  .rh-bento-actions { display: grid; grid-template-columns: 1fr; }
  .rh-bento-button { width: 100%; }
  .rh-bento-hero__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
  .rh-bento-hero__stats > span { display: block; padding: .55rem; border: 1px solid rgba(148,174,194,.11); border-radius: 10px; background: rgba(0,0,0,.13); }
  .rh-bento-hero__stats strong,
  .rh-bento-hero__stats small { display: block; }
  .rh-bento-hero__stats em { grid-column: 1 / -1; width: max-content; }
  .rh-bento-hero__mobile-strip { grid-template-columns: 1fr; }
  .rh-bento-search-wrap { margin-top: -4.2rem; }
  .rh-bento-search { grid-template-columns: 1fr; padding: .8rem; }
  .rh-bento-search__query,
  .rh-bento-search > .rh-bento-button { grid-column: auto; }
  .rh-bento-search__quick { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
  .rh-bento-search__quick::-webkit-scrollbar { display: none; }
  .rh-bento-search__quick button,
  .rh-bento-search__quick a { flex: 0 0 auto; }
  .rh-bento-search__quick a { margin-left: 0; }
  .rh-bento-button > svg { width: 17px !important; min-width: 17px !important; max-width: 17px !important; height: 17px !important; min-height: 17px !important; max-height: 17px !important; flex-basis: 17px !important; }
  .rh-bento-search > .rh-bento-button { min-height: 46px; padding: .75rem 1rem; }
  .rh-bento-demo-card__image { width: 50%; height: 46%; opacity: .22; object-position: 88% 18%; }
  .rh-bento-role-card { display: grid; min-height: 0; }
  .rh-bento-role-card__shade { background: linear-gradient(0deg, rgba(3,12,18,.99) 0%, rgba(3,12,18,.88) 34%, rgba(3,12,18,.4) 68%, rgba(3,12,18,.22) 100%); }
  .rh-bento-role-card__body { position: relative; right: auto; bottom: auto; left: auto; width: min(100%, 19rem); padding: 1rem 1rem .35rem; }
  .rh-bento-role-card__body > p { max-width: 100%; }
  .rh-bento-role-card__metric { position: relative; inset: auto; width: calc(100% - 2rem); margin: .45rem 1rem 1rem; }
  .rh-bento-role-card__body ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rh-bento-role-card__body li { align-items: flex-start; font-size: .68rem; }
  .rh-bento-demo-card__visual-head { align-items: flex-start; flex-direction: column; gap: .28rem; }
  .rh-bento-demo-card__visual-head > span { text-align: left; }
  .rh-bento-demo-card__footer { grid-template-columns: 1fr; }
  .rh-bento-demo-card__footer > a { width: 100%; }
  .rh-bento-demo-card__metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rh-bento-journey__panel { padding: 1rem; }
  .rh-bento-journey ol { grid-template-columns: 1fr; }
  .rh-bento-journey ol::before { top: 10%; bottom: 10%; left: 21px; width: 2px; height: auto; }
  .rh-bento-trust-panel { grid-template-columns: 1fr; }
  .rh-bento-cta-panel .rh-bento-actions { width: 100%; }
  .rh-bento-footer__grid { grid-template-columns: 1fr 1fr; }
  .rh-bento-footer__grid > div { grid-column: 1 / -1; }
  .rh-bento-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 1100px) and (orientation: landscape), (max-height: 560px) and (orientation: landscape) {
  .rh-bento-role-card { min-height: 0; }
  .rh-bento-role-card__body { width: min(100%, 22rem); padding: 1rem 1rem .35rem; }
  .rh-bento-role-card__metric { position: relative; inset: auto; width: calc(100% - 2rem); margin: .45rem 1rem 1rem; }
  .rh-bento-demo-card__image { width: 36%; height: 48%; opacity: .18; object-position: 94% 18%; }
  .rh-bento-demo-card__footer { grid-template-columns: 1fr; align-items: stretch; }
  .rh-bento-demo-card__footer > a { width: 100%; }
}

@media (hover: none), (pointer: coarse) {
  .rh-bento-role-card:hover,
  .rh-bento-demo-card:hover { transform: none; }
  .rh-bento-card-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] *,
  body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] *::before,
  body[data-public-home-premium="PUBLIC-HOME-BENTO-UX-HF-2.3"] *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  [data-rh-bento-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .rh-bento-sparkline__line { stroke-dashoffset: 0 !important; }
  .rh-bento-bars i { transform: none !important; }
}
