.r1-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(600px, 51vw, 880px);
  overflow: hidden;
  background: #06070b;
  color: #fff;
}
.r1-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 76px;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 7, 11, .56), transparent);
  pointer-events: none;
}
.r1-topbar {
  position: absolute;
  z-index: 4;
  top: 0;
  inset-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 3.2vw, 60px);
  height: 82px;
  background: linear-gradient(to bottom, rgba(6, 7, 11, .86), rgba(6, 7, 11, .34) 68%, transparent);
}
.r1-topbar a { color: inherit; text-decoration: none; }
.r1-brand { display: inline-flex; align-items: center; padding: 4px 2px; }
.r1-brand img { filter: brightness(0) invert(1); width: 28px; height: 34px; display: block; transition: opacity .18s; }
.r1-brand:hover img { opacity: .82; }

.r1-links { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 32px); }
.r1-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
  transition: color .16s;
}
.r1-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

.r1-topbar-right { display: flex; align-items: center; gap: 10px; }
/* Primary coral-amber CTA pill */
.r1-topbar .r1-cta {
  padding: 9px 20px;
  color: #fff;
  background: var(--cta-coral);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 620;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(255, 102, 56, .62);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.r1-topbar .r1-cta:hover { background: var(--cta-coral-hover); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(255, 102, 56, .78); }
.r1-nav-toggle { display: none; }

.r1-slide, .r1-slide picture, .r1-slide picture img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  inset: 0;
}
.r1-slide { z-index: 0; }
.r1-slide[hidden] { display: none; }
.r1-slide picture img { object-fit: cover; }

.r1-hero-panel {
  position: absolute;
  z-index: 2;
  left: clamp(56px, 7vw, 148px);
  bottom: 12%;
  width: clamp(360px, 34vw, 520px);
  padding: clamp(28px, 2.9vw, 44px);
  color: #fff;
  background: rgba(11, 13, 21, .72);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border-radius: 24px;
  box-shadow: 0 34px 76px -24px rgba(0, 0, 0, .82), 0 0 0 1px rgba(129, 140, 248, .12), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.r1-hero-panel h1, .r1-hero-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.1vw, 52px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.035em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 22%, #cfd7ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.r1-hero-panel p {
  margin: 16px 0 0;
  color: rgba(235, 240, 250, .84);
  font-size: clamp(14.5px, 1.06vw, 17px);
  line-height: 1.58;
}
.r1-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 26px;
}
.r1-hero-actions a {
  font-family: var(--font-display);
  color: #fff;
  font-size: 14px;
  font-weight: 560;
}
.r1-hero-pill {
  padding: 11px 24px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.r1-hero-pill--solid {
  background: var(--platinum);
  color: #090b0f !important;
  border-color: transparent;
  font-weight: 620;
  box-shadow: 0 10px 28px -10px rgba(255, 255, 255, .42);
}
.r1-hero-pill--solid:hover {
  background: var(--platinum-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px rgba(255, 255, 255, .54);
}
.r1-hero-text {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, .46);
}
.r1-hero-text:hover { text-decoration-color: #fff; }

.r1-slide-arrow {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0 0 2px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(11, 13, 21, .46);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transition: background-color .18s, border-color .18s;
}
.r1-slide-arrow span { font: 26px/1 Arial, sans-serif; }
.r1-prev { left: 2%; }
.r1-next { right: 2%; }
.r1-slide-arrow:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .52); }

.r1-pagination {
  display: flex;
  gap: 6px;
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}
.r1-pagination button {
  display: grid;
  align-items: center;
  width: clamp(54px, 6.5vw, 100px);
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
}
.r1-pagination button::after { content: ""; display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .28); transition: background-color .2s; }
.r1-pagination button[aria-pressed="true"]::after { background: var(--ai-spectrum); }

@media (max-width: 1180px) {
  .r1-links { gap: 14px; }
  .r1-links a { font-size: 13px; }
  .r1-hero-panel { left: 52px; width: clamp(340px, 42vw, 470px); }
}
@media (max-width: 1040px) {
  .r1-topbar { height: 66px; justify-content: flex-start; gap: 10px; }
  .r1-brand { margin-right: auto; }
  .r1-brand img { width: 24px; height: 29px; }
  .r1-topbar-right { gap: 8px; }
  .r1-topbar .r1-cta { font-size: 12.5px; padding: 8px 14px; }
  .r1-nav-toggle {
    display: grid; align-content: center; gap: 5px;
    width: 36px; height: 40px; justify-items: center; padding: 0;
    background: transparent; color: #fff; border: none;
  }
  .r1-nav-toggle span { width: 20px; height: 1.5px; background: currentColor; transition: transform .2s; }
  .r1-nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
  .r1-nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.2px) rotate(-45deg); }
  .r1-links {
    display: none; position: absolute; top: 62px; inset-inline: 16px;
    padding: 10px 18px; background: rgba(14, 17, 26, .96);
    backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
  }
  .r1-topbar.is-open .r1-links { display: grid; gap: 0; }
  .r1-links a { display: block; padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .r1-links a:last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
  .r1-hero { height: clamp(640px, 170vw, 790px); }
  .r1-hero-panel {
    left: 16px; right: 16px; bottom: 44px; width: auto; max-width: none;
    padding: 22px 20px; background: rgba(11, 13, 21, .8);
  }
  .r1-hero-panel h1, .r1-hero-panel h2 { font-size: clamp(27px, 7.2vw, 36px); }
  .r1-hero-panel p { margin-top: 10px; font-size: 14px; }
  .r1-hero-actions { margin-top: 18px; gap: 10px 16px; }
  .r1-hero-actions a { font-size: 13px; }
  .r1-hero-pill { padding: 9px 18px; }
  .r1-slide-arrow { width: 36px; height: 36px; top: 26%; }
  .r1-prev { left: 10px; }
  .r1-next { right: 10px; }
  .r1-pagination { bottom: 8px; }
}
