/* Reltano Product Layer v1 — conversion-oriented showcase using actual published work. */
.rl-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}
.rl-shelf-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid #dae4ee;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 20px 50px rgb(20 42 79 / 5%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rl-shelf-card:hover {
  transform: translateY(-3px);
  border-color: #9bbddf;
  box-shadow: 0 22px 55px rgb(20 42 79 / 11%);
}
.rl-shelf-featured {
  background: linear-gradient(155deg, #0e2035, #06111e);
  border-color: #143651;
  box-shadow: 0 28px 58px rgb(7 25 48 / 19%);
}
.rl-shelf-featured:hover { border-color: #237cbd; }
.rl-shelf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: 1rem;
  min-height: 1.75rem;
}
.rl-shelf-state {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .4rem .62rem;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: #164b7e;
  background: #ebf4fd;
  border-radius: 999px;
  white-space: nowrap;
}
.rl-shelf-state span {
  display: block;
  width: .46rem;
  height: .46rem;
  border-radius: 50%;
  background: #1487c8;
}
.rl-shelf-state-live { color: #a8fbdf; background: rgb(46 208 163 / 13%); }
.rl-shelf-state-live span { background: #4ae1a9; }
.rl-shelf-state-demo { color: #215fbb; background: #e9f1fe; }
.rl-shelf-state-public { color: #116c52; background: #e4f7ee; }
.rl-shelf-state-public span { background: #26b784; }
.rl-shelf-state-internal { color: #6a6574; background: #f1eef7; }
.rl-shelf-state-internal span { background: #957fad; }
.rl-shelf-number {
  color: #8a9cb3;
  font-size: .62rem;
  font-weight: 760;
  letter-spacing: .09em;
  white-space: nowrap;
}
.rl-shelf-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 12.3rem;
  padding: 1rem;
  border: 1px solid #223c58;
  border-radius: .9rem;
  background: linear-gradient(160deg, #112944, #0a1b31);
  isolation: isolate;
}
.rl-shelf-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 14rem; height: 14rem;
  border-radius: 50%;
  top: -7rem; right: -6rem;
  background: radial-gradient(circle, rgb(37 147 255 / 30%), transparent 70%);
}
.rl-shelf-art-ai { border-color: #e2e9fa; background: linear-gradient(145deg, #f9fcff, #eaf3fc); }
.rl-shelf-art-coupon { border-color: #dce8f1; background: linear-gradient(145deg, #eff9fb, #edf2fa); }
.rl-art-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #76b7e8;
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .13em;
}
.rl-shelf-art-ai .rl-art-heading, .rl-shelf-art-coupon .rl-art-heading { color: #467297; }
.rl-art-heading span:last-child { font-size: .9rem; letter-spacing: 0; }
.rl-art-search {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: .55rem .75rem;
  color: #a9c3da;
  font-size: .7rem;
  border: 1px solid rgb(149 191 238 / 16%);
  border-radius: .55rem;
  background: rgb(255 255 255 / 5%);
}
.rl-art-search span { color: #55d5ff; font-size: 1rem; }
.rl-art-bars, .rl-art-chart {
  display: flex;
  align-items: end;
  gap: .55rem;
  height: 3.5rem;
  padding: .6rem .3rem 0;
}
.rl-art-bars i {
  flex: 1;
  height: 55%;
  border-radius: .3rem .3rem 0 0;
  background: linear-gradient(to top, #0e73ac, #4fdcf8);
  opacity: .9;
}
.rl-art-bars i:nth-child(2) { height: 83%; }
.rl-art-bars i:nth-child(3) { height: 43%; }
.rl-art-bars i:nth-child(4) { height: 69%; }
.rl-art-bars i:nth-child(5) { height: 90%; }
.rl-art-bars i:nth-child(6) { height: 62%; }
.rl-art-bars i:nth-child(7) { height: 77%; }
.rl-art-footer {
  display: flex;
  justify-content: space-between;
  gap: .35rem;
  color: #88aecb;
  font-size: .61rem;
  letter-spacing: .01em;
}
.rl-shelf-art-coupon .rl-art-footer { color: #536f8e; }
.rl-art-chat { margin-top: .68rem; }
.rl-art-chat > span { color: #587fa5; font-size: .58rem; font-weight: 800; }
.rl-art-chat > div {
  width: 90%;
  padding: .55rem .65rem;
  color: #315477;
  background: #fff;
  border: 1px solid #dfeaf4;
  border-radius: .5rem;
  font-size: .67rem;
}
.rl-art-chat-answer { margin-left: auto; }
.rl-art-chat-answer > div { margin-left: auto; background: #def0ff; border-color: #cde4f7; }
.rl-art-pill {
  align-self: flex-end;
  padding: .3rem .5rem;
  color: #13795f;
  font-size: .59rem;
  font-weight: 800;
  background: #e1f7ee;
  border-radius: .5rem;
}
.rl-art-pill span { margin-right: .25rem; }
.rl-art-months {
  display: flex;
  justify-content: space-between;
  margin-top: .75rem;
  color: #6e88a4;
  font-size: .56rem;
}
.rl-art-chart { gap: .5rem; }
.rl-art-chart i {
  flex: 1;
  height: 43%;
  border-radius: .25rem .25rem 0 0;
  background: linear-gradient(to top, #3169c0, #55d3e6);
}
.rl-art-chart i:nth-child(2) { height: 78%; }
.rl-art-chart i:nth-child(3) { height: 52%; }
.rl-art-chart i:nth-child(4) { height: 94%; }
.rl-art-chart i:nth-child(5) { height: 67%; }
.rl-art-chart i:nth-child(6) { height: 85%; }
.rl-shelf-copy { padding: 1.25rem .15rem 1rem; }
.rl-shelf-copy h3 { margin: 0; font-size: 1.34rem; letter-spacing: -.035em; }
.rl-shelf-copy p { margin: .7rem 0 0; font-size: .92rem; line-height: 1.62; }
.rl-shelf-featured .rl-shelf-copy h3 { color: #fff; }
.rl-shelf-featured .rl-shelf-copy p { color: #a7bbd0; }
.rl-shelf-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .72rem;
  margin-top: auto;
  padding: 0 .1rem .15rem;
}
.rl-shelf-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 2.65rem;
  border-radius: .62rem;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 850;
}
.rl-shelf-actions a:focus-visible, .rl-commercial-card a:focus-visible {
  outline: 3px solid #2e9dff;
  outline-offset: 3px;
}
.rl-shelf-primary {
  padding: .72rem .92rem;
  color: #fff;
  background: #1864d5;
}
.rl-shelf-primary:hover { color: #fff; background: #124eac; }
.rl-shelf-featured .rl-shelf-primary { color: #08223e; background: #65dfff; }
.rl-shelf-featured .rl-shelf-primary:hover { background: #c1f6ff; }
.rl-shelf-secondary { color: #2766a9; }
.rl-shelf-secondary:hover { text-decoration: underline; }
.rl-shelf-featured .rl-shelf-secondary { color: #79ddff; }
.rl-products-footnote { margin: 1.2rem 0 0; max-width: 75ch; font-size: .86rem; }
.rl-commercial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.rl-commercial-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 17rem;
  padding: 1.55rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid #dce5ef;
  box-shadow: 0 12px 35px rgb(10 34 65 / 4%);
  transition: transform .18s ease, border-color .18s ease;
}
.rl-commercial-card:hover { transform: translateY(-3px); border-color: #a2c3eb; }
.rl-commercial-card > span {
  color: #2d73aa;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.rl-commercial-card h3 { margin-top: 1.3rem; font-size: 1.27rem; letter-spacing: -.02em; }
.rl-commercial-card p { font-size: .91rem; line-height: 1.65; }
.rl-commercial-card > a {
  margin-top: auto;
  color: #145cbe;
  font-size: .88rem;
  font-weight: 850;
  text-decoration: none;
}
.rl-commercial-card > a:hover { text-decoration: underline; }
.rl-commercial-tail { margin: 1.4rem 0 0; }
.rl-commercial-tail a { color: #145cbe; font-weight: 750; text-decoration: underline; text-underline-offset: .15rem; }
.rl-commercial-cta { margin-top: 2rem; }
@media (max-width: 980px) {
  .rl-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-commercial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .rl-shelf, .rl-commercial-grid { grid-template-columns: 1fr; }
  .rl-shelf-card { padding: 1rem; }
  .rl-shelf-art { min-height: 13rem; }
  .rl-commercial-card { min-height: auto; padding: 1.35rem; }
  .rl-shelf-copy h3 { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rl-shelf-card, .rl-commercial-card { transition: none; }
}
