/* =========================================================
   Obsidian Slate Design System
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  /* Core colors */
  --color-hero: #090E12;
  --color-text: #0E1726;
  --color-bg: #F6F4EF;
  --color-surface: #FFFFFF;
  --color-border: #D9DEE5;
  --color-muted: #5C6A79;

  /* Accent colors */
  --color-blue: #2F6FED;
  --color-teal: #22C3A6;

  /* Typography */
  --font-sans: "Manrope", "Circular Std", "DM Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;

  /* Layout */
  --container-max: 1180px;

  /* Spacing scale */
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 10px 32px rgba(11, 18, 32, 0.10);
}

/* =========================================================
   Base / Reset
   ========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background:
    radial-gradient(1200px 600px at 95% -20%, rgba(47, 111, 237, 0.12), transparent 58%),
    radial-gradient(900px 420px at 5% -25%, rgba(34, 195, 166, 0.10), transparent 55%),
    var(--color-bg);
  line-height: 1.6;
}

/* =========================================================
   Typography + Links
   ========================================================= */

h1,
h2,
h3 {
  margin: 0 0 var(--space-12);
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

p {
  margin: 0 0 var(--space-16);
  color: var(--color-text);
}

ul,
ol {
  line-height: 1.7;
}

a {
  color: var(--color-blue);
  text-decoration-color: rgba(47, 111, 237, 0.35);
  text-underline-offset: 0.14em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--color-text);
  text-decoration-color: rgba(47, 111, 237, 0.6);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav .cta:focus-visible {
  outline: 3px solid rgba(34, 195, 166, 0.45);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.muted {
  color: var(--color-muted);
}

/* =========================================================
   Shared Layout
   ========================================================= */

.container {
  width: min(var(--container-max), calc(100% - var(--space-32)));
  margin: 0 auto;
}

.main-wrap {
  padding: var(--space-64) 0;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: #FFFFFF;
  background:
    linear-gradient(120deg, rgba(47, 111, 237, 0.10), rgba(34, 195, 166, 0.08) 45%, transparent 70%),
    var(--color-hero);
  border-bottom: 1px solid rgba(217, 222, 229, 0.20);
  backdrop-filter: blur(6px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-12) 0;
}

.brand,
.brand:visited,
.brand:hover {
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--space-12);
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: #FFFFFF;
}

.nav .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px var(--space-16);
  border-radius: 999px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--color-blue);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-sm);
}

.nav .cta:hover {
  filter: brightness(1.05);
}

/* =========================================================
   Cards / Surfaces
   ========================================================= */

.card,
.surface,
.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card.card-accent,
.surface.surface-accent,
.panel.panel-accent {
  position: relative;
  overflow: hidden;
}

.card.card-accent::before,
.surface.surface-accent::before,
.panel.panel-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal));
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 10px var(--space-16);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: var(--color-blue);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn.btn-outline,
.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border-color: rgba(47, 111, 237, 0.35);
  box-shadow: none;
}

.btn.btn-outline:hover,
.btn-outline:hover {
  background: rgba(47, 111, 237, 0.07);
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   RRE Landing Page
   ========================================================= */

.rre-landing {
  background:
    radial-gradient(860px 360px at 50% -8%, rgba(132, 155, 194, 0.18), transparent 68%),
    radial-gradient(680px 260px at 8% 24%, rgba(47, 111, 237, 0.08), transparent 70%),
    radial-gradient(700px 280px at 92% 72%, rgba(34, 195, 166, 0.08), transparent 72%),
    var(--color-bg);
}

/* UPDATED: black hero + extra top padding + bottom gradient to #F6F4EF */
.rre-hero {
  position: relative;
  color: #F6F4EF;
  padding: 84px 0 160px; /* added top padding + extra bottom space for the gradient */
  background: #000;
  overflow: hidden;
}

.rre-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 340px at 8% 6%, rgba(47, 111, 237, 0.18), transparent 62%),
    radial-gradient(820px 300px at 96% -6%, rgba(34, 195, 166, 0.13), transparent 60%);
}

/* Bottom transition: black -> #F6F4EF */
.rre-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 320px;
  pointer-events: none;
  background: linear-gradient(180deg, #000 0%, var(--color-bg) 100%);
}

/* Home page variant: remove decorative hero gradients */
.home-hero {
  background: #000 url("/static/marketing/img/resources/home_hero_background.png") center center / cover no-repeat;
}

.home-hero::before,
.home-hero::after {
  content: none;
  background: none;
}

/* Trust page */
.trust-hero {
  background:
    radial-gradient(900px 380px at 12% 6%, rgba(47, 111, 237, 0.24), transparent 64%),
    radial-gradient(820px 340px at 92% -4%, rgba(33, 69, 138, 0.38), transparent 62%),
    #070b12;
}

.trust-hero::before,
.trust-hero::after {
  content: none;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badges .rre-eyebrow {
  margin-bottom: 0;
}

.trust-checklist-grid .rre-glass-card {
  margin: 0;
}

.trust-checklist-grid .rre-feature-list-icons {
  padding-left: 10px;
}

.trust-callout {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.trust-callout .btn {
  width: fit-content;
}

.trust-band-inner {
  align-items: start;
}

.trust-band-list {
  margin: 0;
  padding-left: 18px;
  color: #e9f0fa;
  display: grid;
  gap: 8px;
}

.trust-band-list li {
  color: #e9f0fa;
}

.trust-final-cta {
  padding-top: 0;
}

/* =========================================================
   Contact Page
   ========================================================= */

.contact-page {
  background: var(--color-bg);
}

.contact-wrap {
  max-width: 860px;
}

.contact-header {
  margin-bottom: 20px;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-weight: 700;
  color: var(--color-text);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  padding: 10px 12px;
}

.contact-field textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 3px solid rgba(47, 111, 237, 0.20);
  border-color: rgba(47, 111, 237, 0.65);
}

.contact-error {
  margin: 0;
  color: #b42318;
  font-size: 0.94rem;
}

.contact-actions {
  margin-top: 20px;
}

.contact-alert {
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  padding: 12px 14px;
  margin: 0 0 16px;
}

.contact-alert p {
  margin: 0;
}

.contact-alert-success {
  background: rgba(34, 195, 166, 0.10);
  border-color: rgba(20, 122, 104, 0.35);
  color: #145f52;
}

.contact-alert-error {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.28);
  color: #991b1b;
}

@media (max-width: 760px) {
  .contact-form {
    padding: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.rre-hero-inner {
  position: relative;
  z-index: 1;
}

.rre-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(246, 244, 239, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(246, 244, 239, 0.88);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.rre-hero h1 {
  max-width: 980px;
  margin-bottom: 14px;
  color: #F6F4EF;
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  line-height: 1.08;
}

.rre-subtitle {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  color: rgba(246, 244, 239, 0.78);
}

/* NEW: very large hero image (replaces the stylized dashboard preview) */
.rre-hero-image {
  width: 100%;
  margin: 26px 0 22px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(246, 244, 239, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.rre-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.rre-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0; /* was spacing for the old dashboard preview */
}

.rre-hero .btn {
  min-width: 152px;
}

.rre-hero .btn.btn-outline {
  color: rgba(246, 244, 239, 0.96);
  border-color: rgba(246, 244, 239, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.rre-hero .btn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #FFFFFF;
}

.rre-section {
  position: relative;
  padding: 62px 0;
  overflow: clip;
}

.rre-section::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  animation: rreFloatOrb 12s ease-in-out infinite;
}

.rre-section > .container {
  position: relative;
  z-index: 1;
}

.rre-section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
}

.rre-how-section {
  background: #F6F4EF;
  padding-bottom: 110px;
  margin-bottom: -36px;
  z-index: 2;
}

.rre-how-section::before {
  top: auto;
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.58), rgba(47, 111, 237, 0));
}

.rre-how-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 44px minmax(0, 1.1fr);
  gap: 12px;
  align-items: start;
}

.rre-how-intro {
  position: sticky;
  top: 96px;
  padding-right: 16px;
}

.rre-how-intro h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: 10px;
}

.rre-how-intro p {
  font-size: 1.08rem;
  color: #4D5A69;
  max-width: 420px;
}

.rre-how-rail {
  position: relative;
  min-height: 620px;
  display: flex;
  justify-content: flex-start;
  padding-left: 32px;
}

.rre-how-line-base,
.rre-how-line-progress {
  position: absolute;
  top: 10px;
  width: 2px;
  border-radius: 999px;
}

.rre-how-line-base {
  height: calc(100% - 20px);
  background: rgba(47, 111, 237, 0.18);
}

.rre-how-line-progress {
  height: calc((100% - 20px) * var(--how-progress, 0));
  background: linear-gradient(180deg, #2F6FED 0%, #3E81FF 100%);
  box-shadow: 0 0 18px rgba(47, 111, 237, 0.25);
  transition: height 0.3s ease-out;
}

.rre-how-steps {
  display: grid;
  gap: 30px;
}

.rre-how-step {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  opacity: 0;
  transform: translateY(18px);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.rre-how-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rre-how-icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  margin-left: -34px;
  border-radius: 999px;
  border: 1px solid rgba(47, 111, 237, 0.3);
  background: #2F6FED;
  color: #F6F4EF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px #F6F4EF;
}

.rre-how-icon svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.rre-how-copy {
  padding-top: 0;
}

.rre-how-copy .rre-step-index {
  position: static;
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  color: rgba(53, 84, 128, 0.85);
}

.rre-how-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.rre-how-copy p {
  max-width: 490px;
  color: #5A6778;
  font-size: 1.03rem;
}

.rre-how-step:last-child {
  margin-bottom: 16px;
}

.rre-section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.rre-section-head p {
  color: var(--color-muted);
  font-size: 1.03rem;
}

.rre-grid {
  display: grid;
  gap: 16px;
}

.rre-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rre-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rre-glass-card {
  border: 1px solid rgba(175, 189, 209, 0.42);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(8px) saturate(122%);
  -webkit-backdrop-filter: blur(8px) saturate(122%);
  box-shadow: 0 12px 30px rgba(15, 24, 39, 0.08);
}

.rre-glass-card h3 {
  margin-bottom: 8px;
}

.rre-glass-card p:last-child {
  margin-bottom: 0;
}

.rre-step-index {
  position: static;
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(53, 84, 128, 0.82);
  letter-spacing: 0.08em;
}

.rre-split {
  display: grid;
  grid-template-columns: 1.2fr minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

#case-workspace .rre-split{
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

#case-workspace .rre-visual-card{
  justify-content: flex-start; /* instead of center */
  gap: 14px;
}

/* Style the screenshot inside the card */
#case-workspace .rre-visual-card img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

#case-workspace .container{
  width: min(1180px, calc(100% - var(--space-32)));
}

.rre-feature-list {
  margin: 0;
  padding-left: 1.2rem;
}

.rre-feature-list li {
  margin-bottom: 10px;
  color: #304154;
}

.rre-visual-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(225, 235, 246, 0.56));
}

.rre-pricing-card .rre-price {
  margin-bottom: 12px;
  color: #0E1726;
  font-size: 1.58rem;
  font-weight: 800;
}

.rre-pricing-card .rre-price span {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--color-muted);
}

.rre-pricing-highlight {
  border-color: rgba(47, 111, 237, 0.48);
  background:
    linear-gradient(165deg, rgba(242, 247, 255, 0.88), rgba(226, 239, 255, 0.72));
  box-shadow: 0 14px 34px rgba(47, 111, 237, 0.12);
}

.rre-faq-list {
  display: grid;
  gap: 12px;
}

.rre-faq-list details {
  padding: 0;
}

.rre-faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  color: #142033;
}

.rre-faq-list summary::-webkit-details-marker {
  display: none;
}

.rre-faq-list details p {
  margin: 0;
  padding: 0 22px 18px;
}

.rre-doc-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rre-doc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 237, 0.45);
  box-shadow: 0 16px 30px rgba(15, 24, 39, 0.1);
}

.rre-final-cta {
  padding: 62px 0 78px;
}

.rre-section-outcomes::before {
  content: none;
}

.rre-section-outcomes {
  background: var(--color-bg);
}

.rre-section-studio {
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.64), rgba(232, 241, 255, 0.36));
}

#collaboration-studio .rre-split {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: stretch;
}

#collaboration-studio [data-reveal="left"] {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

#collaboration-studio .rre-eyebrow {
  color: rgba(15, 24, 39, 0.84);
  border-color: rgba(47, 111, 237, 0.28);
  background: rgba(47, 111, 237, 0.08);
  backdrop-filter: none;
}

#collaboration-studio .rre-feature-list-icons li div {
  min-width: 0;
}

#collaboration-studio .rre-feature-list-icons li strong {
  display: block;
  margin-bottom: 4px;
}

#collaboration-studio .rre-feature-list-icons li p {
  margin: 0;
}

#collaboration-studio .rre-visual-card {
  padding: 0;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 26px 56px rgba(10, 20, 36, 0.28),
    0 10px 24px rgba(15, 24, 39, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#collaboration-studio .rre-visual-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#collaboration-studio .rre-visual-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 34px 64px rgba(10, 20, 36, 0.34),
    0 14px 28px rgba(15, 24, 39, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.rre-section-studio::before {
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(34, 195, 166, 0.58), rgba(34, 195, 166, 0));
}

.rre-section-wave {
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.64), rgba(246, 244, 239, 0.65));
}

.rre-section-wave::before {
  bottom: -150px;
  right: 10%;
  background: radial-gradient(circle, rgba(94, 129, 232, 0.5), rgba(94, 129, 232, 0));
}

.rre-section-gallery {
  background:
    radial-gradient(780px 260px at 85% 6%, rgba(94, 129, 232, 0.2), transparent 62%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02));
}

.rre-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: 26px;
  min-height: 184vh;
  align-items: start;
}

.rre-gallery-images,
.rre-gallery-copy {
  position: sticky;
  top: 92px;
}

.rre-gallery-images {
  top: 62px;
  height: min(92vh, 900px);
}

.rre-gallery-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(122, 155, 214, 0.35);
  box-shadow: 0 14px 38px rgba(10, 20, 36, 0.22);
  opacity: 0.22;
  transform: translateY(24px) scale(0.95);
  filter: saturate(0.68) contrast(0.88) blur(0.4px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease, box-shadow 0.8s ease;
}

.rre-gallery-frame.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1.08) contrast(1.06) blur(0);
  box-shadow:
    0 36px 76px rgba(7, 16, 29, 0.42),
    0 10px 28px rgba(47, 111, 237, 0.28);
}

.rre-gallery-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rre-gallery-copy {
  display: grid;
  gap: 22px;
  align-self: start;
}

.rre-gallery-head {
  max-width: 460px;
}

.rre-gallery-head h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 10px;
}

.rre-gallery-head p {
  color: #4D5A69;
  font-size: 1.04rem;
}

.rre-gallery-copy-list {
  position: relative;
  min-height: 196px;
}

.rre-gallery-copy-item {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rre-gallery-copy-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.rre-gallery-copy-item h3 {
  margin-bottom: 4px;
  font-size: clamp(1.4rem, 2.2vw, 1.92rem);
}

.rre-gallery-copy-item p {
  max-width: 480px;
  color: #5A6778;
  margin-bottom: 0;
}

.rre-section-gallery::before {
  bottom: -120px;
  left: 8%;
  background: radial-gradient(circle, rgba(139, 177, 238, 0.45), rgba(139, 177, 238, 0));
}

.rre-section-faq::before {
  top: -120px;
  left: 45%;
  background: radial-gradient(circle, rgba(171, 192, 232, 0.5), rgba(171, 192, 232, 0));
}

.rre-icon-card,
.rre-stage-card,
.rre-image-placeholder,
.rre-faq-list details {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.rre-icon-card:hover,
.rre-stage-card:hover,
.rre-image-placeholder:hover,
.rre-faq-list details:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 111, 237, 0.42);
  box-shadow: 0 20px 34px rgba(15, 24, 39, 0.14);
}

.rre-card-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-radius: 12px;
  border: 1px solid rgba(47, 111, 237, 0.28);
  background: rgba(47, 111, 237, 0.1);
  font-size: 1.1rem;
}

.rre-feature-list-icons {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 14px;
}

.rre-feature-list-icons li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0;
}

.rre-feature-list-icons li span {
  margin-top: 1px;
}

.rre-stage-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.78), rgba(234, 243, 255, 0.58));
}

.rre-image-placeholder {
  min-height: 220px;
  border-style: dashed;
  border-color: rgba(47, 111, 237, 0.36);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(47, 111, 237, 0.06),
      rgba(47, 111, 237, 0.06) 16px,
      rgba(47, 111, 237, 0.02) 16px,
      rgba(47, 111, 237, 0.02) 32px
    ),
    rgba(255, 255, 255, 0.64);
}

.rre-image-placeholder p {
  color: #334860;
  font-style: italic;
}

.rre-cta-band {
  padding: 46px 0;
  background:
    radial-gradient(900px 320px at 8% 18%, rgba(47, 111, 237, 0.24), transparent 62%),
    radial-gradient(860px 320px at 95% 82%, rgba(34, 195, 166, 0.18), transparent 65%),
    linear-gradient(125deg, #070b12, #0f1828 58%, #0a101c);
}

.rre-cta-band::before {
  content: none;
}

.rre-cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.rre-cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-radius: 20px;
  border: 1px solid rgba(154, 174, 204, 0.34);
  padding: 28px;
  color: #EAF2FC;
  background:
    linear-gradient(120deg, rgba(10, 16, 28, 0.74), rgba(15, 24, 42, 0.68));
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 42px rgba(8, 13, 24, 0.25);
}

.rre-cta-band-inner h2,
.rre-cta-band-inner p {
  color: #E9F0FA;
}

.rre-cta-band .btn.btn-outline {
  border-color: rgba(227, 236, 247, 0.4);
  color: #EBF3FD;
  background: rgba(255, 255, 255, 0.03);
}

.rre-cta-band .btn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.rre-section-pricing {
  background: linear-gradient(165deg, rgba(248, 252, 255, 0.72), rgba(231, 242, 255, 0.46));
}

.rre-section-pricing::before {
  top: -130px;
  right: -90px;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.5), rgba(47, 111, 237, 0));
}

.rre-pricing-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(236, 244, 255, 0.66));
}

.rre-plan-features {
  margin: 0 0 14px;
  padding-left: 1.1rem;
  display: grid;
  gap: 6px;
}

.rre-plan-features li {
  color: #2d4158;
  line-height: 1.5;
}

.rre-pricing-tier .btn {
  margin-top: auto;
  width: fit-content;
}

.rre-pricing-tier-featured {
  border-color: rgba(47, 111, 237, 0.54);
  box-shadow: 0 20px 36px rgba(47, 111, 237, 0.16);
  transform: translateY(-3px);
  min-height: calc(100% + 24px);
}

.rre-tier-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0B1525;
  background: linear-gradient(135deg, rgba(47, 111, 237, 0.24), rgba(34, 195, 166, 0.2));
  border: 1px solid rgba(47, 111, 237, 0.28);
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.99);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.65, 0.2, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
  will-change: transform, opacity;
}

[data-reveal="left"] {
  transform: translate3d(-22px, 10px, 0);
}

[data-reveal="right"] {
  transform: translate3d(22px, 10px, 0);
}

[data-reveal="zoom"] {
  transform: translate3d(0, 16px, 0) scale(0.96);
}

[data-reveal="fade"] {
  transform: translate3d(0, 10px, 0);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes rreFloatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 16px, 0) scale(1.06);
  }
}

.rre-final-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-radius: 20px;
  border: 1px solid rgba(154, 174, 204, 0.42);
  padding: 28px;
  color: #F2F7FF;
  background:
    linear-gradient(120deg, rgba(10, 16, 28, 0.96), rgba(15, 24, 42, 0.93));
  box-shadow: 0 20px 42px rgba(8, 13, 24, 0.25);
}

.rre-final-cta-inner h2,
.rre-final-cta-inner p {
  color: #E9F0FA;
}

.rre-final-cta .rre-hero-actions {
  margin-bottom: 0;
}

.rre-final-cta .btn.btn-outline {
  border-color: rgba(227, 236, 247, 0.4);
  color: #EBF3FD;
  background: rgba(255, 255, 255, 0.03);
}

.rre-final-cta .btn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  margin-top: -1px;
  padding: 48px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(226, 232, 240, 0.84);
  background:
    radial-gradient(800px 220px at 90% -20%, rgba(47, 111, 237, 0.12), transparent 60%),
    radial-gradient(680px 220px at 10% -20%, rgba(34, 195, 166, 0.1), transparent 58%),
    #090E12;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-description {
  margin: 14px 0 10px;
  max-width: 420px;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.7;
}

.footer-copyright {
  margin: 0;
  color: rgba(226, 232, 240, 0.56);
  font-size: 0.95rem;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 24px;
}

.footer-section h3 {
  margin: 0 0 14px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-section a {
  color: rgba(226, 232, 240, 0.74);
  text-decoration: none;
  font-weight: 550;
}

.footer-section a:hover {
  color: rgba(255, 255, 255, 0.96);
}

.footer-coming-soon {
  color: rgba(226, 232, 240, 0.52);
  font-weight: 550;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding: 36px 0 28px;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section h3 {
    margin-bottom: 10px;
  }
}

/* =========================================================
   Responsive Adjustments
   ========================================================= */

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .rre-grid-3,
  .rre-grid-2,
  .rre-split {
    grid-template-columns: 1fr;
  }

  .rre-gallery-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 18px;
  }

  .rre-gallery-images,
  .rre-gallery-copy {
    position: static;
    top: auto;
  }

  .rre-gallery-images {
    height: auto;
    display: grid;
    gap: 14px;
  }

  .rre-gallery-frame {
    position: static;
    opacity: 1;
    transform: none;
    filter: none;
    min-height: 220px;
  }

  .rre-gallery-copy-list {
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .rre-gallery-copy-item {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .rre-how-section {
    margin-bottom: 0;
    padding-bottom: 72px;
  }

  .rre-how-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rre-how-intro {
    position: static;
    padding-right: 0;
  }

  .rre-how-rail {
    position: absolute;
    left: 12px;
    top: 150px;
    bottom: 46px;
    width: 24px;
    min-height: 0;
  }

  .rre-how-steps {
    gap: 24px;
    margin-left: 0;
  }

  .rre-how-step {
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 0;
  }

  .rre-how-icon {
    margin-left: 0;
  }

  .rre-final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .rre-cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container-max), calc(100% - var(--space-24)));
  }

  .main-wrap {
    padding: var(--space-48) 0;
  }

  .btn,
  .nav .cta {
    width: 100%;
  }

  .rre-hero {
    padding-top: 64px;
    padding-bottom: 128px;
  }

  .rre-hero-actions {
    width: 100%;
  }

  .rre-hero .btn,
  .rre-final-cta .btn {
    width: 100%;
  }

  .rre-how-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .rre-how-rail {
    top: 168px;
    bottom: 38px;
  }

  .rre-how-copy h3 {
    font-size: 1.42rem;
  }

  .rre-board,
  .rre-sidebar,
  .rre-glass-card,
  .rre-final-cta-inner {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rre-how-line-progress,
  .rre-how-step {
    transition: none;
  }

  .rre-gallery-frame,
  .rre-gallery-copy-item {
    transition: none;
  }

  .rre-gallery-frame {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .rre-gallery-copy-item {
    opacity: 1;
    position: static;
    transform: none;
    pointer-events: auto;
  }

  .rre-gallery-copy-list {
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .rre-how-step {
    opacity: 1;
    transform: none;
  }

  .rre-section::before,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
