/* Vijaya Lakshmi Rank Sutra landing — responsive, all screen sizes */
/* Load rs-design-tokens.css via <link> in page <head> (avoid @import — it blocks parallel downloads). */

html.rs-landing-page {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  /* Sync with fixed header height (see includes/header.php) */
  --rs-nav-offset: 72px;
  /* Clears fixed header when jumping to #anchors */
  scroll-padding-top: calc(var(--rs-nav-offset) + env(safe-area-inset-top));
}

/* Nav uses hamburger ≤899px (rs-nav-premium.css) — single-row bar; 72px offset is enough */

.rs-landing {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--rs-font);
  --rs-landing-serif: "Fraunces", Georgia, "Times New Roman", serif;
  /* Layered atmosphere — phone → ultrawide (premium depth) */
  background:
    radial-gradient(ellipse 130% 85% at 50% -22%, rgba(234, 88, 12, 0.1), transparent 54%),
    radial-gradient(ellipse 60% 50% at 100% 5%, rgba(251, 191, 36, 0.08), transparent 48%),
    radial-gradient(ellipse 50% 55% at 0% 32%, rgba(251, 146, 60, 0.06), transparent 52%),
    radial-gradient(ellipse 90% 60% at 50% 108%, rgba(255, 237, 213, 0.55), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, var(--rs-page-bg-2) 45%, #fff7ed 100%);
  color: var(--rs-ink);
  -webkit-font-smoothing: antialiased;
  /* Header is ~64–72px + safe area; 56px was too small — content sat under fixed nav */
  padding-top: calc(var(--rs-nav-offset) + env(safe-area-inset-top));
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.rs-landing-main {
  max-width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 clamp(12px, 4vw, 32px);
  padding-left: max(clamp(12px, 4vw, 32px), env(safe-area-inset-left));
  padding-right: max(clamp(12px, 4vw, 32px), env(safe-area-inset-right));
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 6vw, 88px);
}

@media (min-width: 1440px) {
  .rs-landing-main {
    gap: clamp(48px, 5vw, 96px);
  }
}

/* —— DB unavailable banner —— */
.rs-landing-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: min(1400px, 100%);
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 28px);
  padding-top: calc(8px + env(safe-area-inset-top));
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom: 1px solid #f59e0b;
  color: #78350f;
  font-size: 0.92rem;
  line-height: 1.45;
  box-sizing: border-box;
}

.rs-landing-alert__ico {
  flex-shrink: 0;
  font-size: 1.35rem;
  color: #d97706;
  margin-top: 2px;
}

.rs-landing-alert__text {
  margin: 0;
}

.rs-landing-alert code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

/* —— Hero —— */
.rs-hero {
  position: relative;
  padding: clamp(12px, 2.5vw, 28px) 0 clamp(20px, 4vw, 40px);
}

/* Soft frame so hero reads as one “card” on large screens */
@media (min-width: 960px) {
  .rs-hero::after {
    content: "";
    position: absolute;
    inset: -12px -8px -8px -8px;
    border-radius: var(--rs-radius-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 247, 237, 0.35) 100%);
    border: 1px solid rgba(234, 88, 12, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
    pointer-events: none;
    z-index: 0;
  }

  .rs-hero-grid {
    position: relative;
    z-index: 1;
  }

  .rs-stat-strip {
    position: relative;
    z-index: 1;
  }
}

.rs-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

@media (min-width: 960px) {
  .rs-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(32px, 5vw, 64px);
    text-align: left;
  }
}

.rs-hero-copy {
  text-align: center;
}

@media (min-width: 960px) {
  .rs-hero-copy {
    text-align: left;
  }
}

/* Topic pills — quick scan of scope */
.rs-hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

@media (min-width: 960px) {
  .rs-hero-badge-row {
    justify-content: flex-start;
  }
}

.rs-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--rs-radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rs-orange-dark);
  background: linear-gradient(180deg, var(--rs-orange-soft) 0%, #fff 100%);
  border: 1px solid var(--rs-orange-border);
  box-shadow: var(--rs-shadow-xs);
}

.rs-hero-badge--muted {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rs-ink-soft);
  background: var(--rs-surface);
}

.rs-hero-kicker {
  font-family: var(--rs-landing-serif);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 600;
  font-style: italic;
  color: var(--rs-orange-dark);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.rs-hero h1 {
  font-family: var(--rs-landing-serif);
  font-size: clamp(2rem, 4.2vw + 1rem, 3.5rem);
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--rs-ink);
  max-width: min(22ch, 100%);
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

@media (min-width: 960px) {
  .rs-hero h1 {
    margin-left: 0;
    margin-right: 0;
    max-width: min(38ch, 100%);
  }
}

/* Mobile: avoid narrow “ragged column” headline + decorative clutter */
@media (max-width: 639px) {
  .rs-hero {
    padding-top: 8px;
    padding-bottom: clamp(16px, 4vw, 28px);
  }

  .rs-hero-grid {
    gap: 0;
  }

  /* Sans headline reads cleaner on small screens; full width, comfortable size */
  .rs-hero h1 {
    font-family: var(--rs-font-display);
    font-variation-settings: normal;
    font-size: clamp(1.45rem, 4.8vw + 0.55rem, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    max-width: none;
    margin-bottom: 12px;
  }

  .rs-hero-kicker {
    font-family: var(--rs-font);
    font-style: normal;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rs-orange-dark);
    margin-bottom: 8px;
  }

  .rs-hero-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .rs-hero-cta {
    margin-bottom: 12px;
    gap: 10px;
  }

  .rs-hero-trust {
    margin-bottom: 14px;
    font-size: 0.74rem;
    line-height: 1.45;
    text-align: center;
  }

  .rs-hero-badge-row {
    margin-bottom: 10px;
  }

  .rs-hero-points {
    font-size: 0.82rem;
    gap: 6px;
    max-width: none;
    color: var(--rs-ink-soft);
  }

  .rs-hero-points li {
    gap: 8px;
  }

  .rs-hero-points .material-symbols-outlined {
    font-size: 1.05rem;
  }

  /* Hero visuals: dashboard preview full width, then two tiles — matches desktop story */
  .rs-hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: flex-start;
    gap: 12px 10px;
    min-height: auto;
    margin-top: 12px;
    order: 1;
  }

  .rs-hero-grid {
    display: flex;
    flex-direction: column;
  }

  .rs-hero-copy {
    order: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .rs-hero-mesh {
    display: none;
  }

  .rs-hero-preview {
    flex: 1 1 100%;
    width: 100%;
    max-width: min(100%, 380px);
    margin-left: auto;
    margin-right: auto;
    padding: 12px 14px 14px;
    box-sizing: border-box;
  }

  .rs-hero-preview__ring {
    width: 96px;
    height: 96px;
    margin: 0 auto;
  }

  .rs-hero-preview__svg {
    width: 96px;
    height: 96px;
  }

  .rs-hero-preview__ring-label strong {
    font-size: 1.2rem;
  }

  .rs-hero-preview__bars {
    gap: 6px;
  }

  .rs-hero-preview__bars li {
    grid-template-columns: 64px 1fr;
    gap: 8px;
    font-size: 0.68rem;
  }

  .rs-hero-card {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    max-width: calc(50% - 5px);
    width: auto;
    padding: 12px 10px;
    gap: 2px;
    text-align: center;
    justify-items: center;
    animation: none;
  }

  .rs-hero-card--secondary {
    margin-left: 0;
  }

  .rs-hero-card .material-symbols-outlined {
    font-size: 1.35rem;
    margin-bottom: 2px;
  }

  .rs-hero-card strong {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .rs-hero-card span:last-child {
    display: none;
  }

  .rs-stat-strip {
    margin-top: 20px;
    padding: 12px 14px;
    gap: 10px;
  }

  .rs-stat__num {
    font-size: 0.82rem;
  }

  .rs-stat__label {
    font-size: 0.72rem;
  }

  .rs-section-head {
    margin-bottom: clamp(16px, 4vw, 22px);
  }

  .rs-section-eyebrow {
    font-size: 0.65rem;
  }

  .rs-section-sub {
    font-size: 0.9rem;
    color: var(--rs-ink-soft);
  }

  .rs-section-title {
    font-size: clamp(1.2rem, 4vw + 0.6rem, 1.45rem);
  }

  .rs-how-step {
    padding: 16px 14px;
  }

  .rs-cta-panel {
    padding: 22px 18px;
  }
}

.rs-hero-accent {
  /* Darker gradient stops read better on light/peach backgrounds than mid-orange alone */
  background: linear-gradient(125deg, var(--rs-orange-dark) 0%, var(--rs-orange) 45%, var(--rs-orange-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rs-hero-lead {
  font-size: clamp(1.02rem, 1.2vw + 0.85rem, 1.2rem);
  line-height: 1.65;
  color: var(--rs-ink-soft);
  font-weight: 500;
  max-width: 38rem;
  margin: 0 auto 20px;
}

@media (min-width: 960px) {
  .rs-hero-lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.rs-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}

@media (min-width: 960px) {
  .rs-hero-cta {
    justify-content: flex-start;
  }
}

.rs-hero-trust {
  margin: 0 auto 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rs-muted);
  letter-spacing: 0.02em;
}

@media (min-width: 960px) {
  .rs-hero-trust {
    margin-left: 0;
    margin-right: 0;
  }
}

.rs-hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--rs-muted);
  font-weight: 500;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 960px) {
  .rs-hero-points {
    margin-left: 0;
    margin-right: 0;
  }
}

.rs-hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.rs-hero-points .material-symbols-outlined {
  font-size: 1.15rem;
  color: var(--rs-orange);
  flex-shrink: 0;
}

/* Decorative column */
.rs-hero-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Abstract “dashboard” preview — glass surface (falls back to solid where no backdrop-filter) */
.rs-hero-preview {
  position: relative;
  z-index: 1;
  width: min(100%, 300px);
  padding: 14px 16px 16px;
  border-radius: var(--rs-radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 24px 48px -12px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  display: grid;
  gap: 12px;
}

.rs-hero-preview__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.rs-hero-preview__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e2e8f0;
}

.rs-hero-preview__dot:nth-child(1) {
  background: #fb7185;
}

.rs-hero-preview__dot:nth-child(2) {
  background: #fbbf24;
}

.rs-hero-preview__dot:nth-child(3) {
  background: #34d399;
}

.rs-hero-preview__title {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rs-muted);
}

.rs-hero-preview__ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.rs-hero-preview__svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.rs-hero-preview__track {
  stroke: #e2e8f0;
}

.rs-hero-preview__arc {
  stroke: var(--rs-orange);
  stroke-dasharray: 236 90;
  stroke-dashoffset: 0;
}

.rs-hero-preview__ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.rs-hero-preview__ring-label strong {
  font-family: var(--rs-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rs-ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.rs-hero-preview__ring-label span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rs-muted);
}

.rs-hero-preview__bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-hero-preview__bars li {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rs-ink-soft);
}

.rs-hero-preview__bar {
  display: block;
  height: 8px;
  border-radius: var(--rs-radius-pill);
  background: #f1f5f9;
  overflow: hidden;
}

.rs-hero-preview__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rs-orange-hover), var(--rs-orange));
}

.rs-hero-mesh {
  position: absolute;
  inset: -8% -5% -12% -5%;
  background:
    radial-gradient(circle at 30% 20%, rgba(234, 88, 12, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.15) 0%, transparent 40%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(234, 88, 12, 0.04) 11px,
      rgba(234, 88, 12, 0.04) 12px
    );
  border-radius: var(--rs-radius-xl);
  z-index: 0;
  pointer-events: none;
}

.rs-hero-card {
  position: relative;
  z-index: 1;
  width: min(100%, 260px);
  padding: 18px 20px;
  border-radius: var(--rs-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.05),
    0 16px 40px -8px rgba(15, 23, 42, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 4px;
  text-align: left;
  animation: rsFloat 11s ease-in-out infinite;
}

.rs-hero-card--secondary {
  margin-left: min(18%, 48px);
  animation-delay: -5.5s;
  opacity: 0.98;
}

.rs-hero-card .material-symbols-outlined {
  font-size: 1.5rem;
  color: var(--rs-orange);
  margin-bottom: 4px;
}

.rs-hero-card strong {
  font-family: var(--rs-font-display);
  font-size: 1.05rem;
  color: var(--rs-ink);
}

.rs-hero-card span:last-child {
  font-size: 0.82rem;
  color: var(--rs-muted);
  line-height: 1.35;
}

@keyframes rsFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-hero-card {
    animation: none;
  }
}

/* Trust strip */
.rs-stat-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: clamp(28px, 5vw, 44px);
  padding: 18px 20px;
  border-radius: var(--rs-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 251, 247, 0.9) 100%);
  border: 1px solid rgba(234, 88, 12, 0.16);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -8px rgba(234, 88, 12, 0.12);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
}

@media (min-width: 640px) {
  .rs-stat-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
  }
}

.rs-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  align-items: center;
  text-align: center;
}

.rs-stat__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--rs-radius-sm);
  background: linear-gradient(145deg, var(--rs-orange-soft), var(--rs-orange-mid));
  color: var(--rs-orange-dark);
  margin-bottom: 2px;
}

.rs-stat__ico .material-symbols-outlined {
  font-size: 1.35rem;
}

@media (min-width: 640px) {
  .rs-stat {
    align-items: center;
  }
}

.rs-stat__num {
  font-family: var(--rs-font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--rs-orange-dark);
}

.rs-stat__label {
  font-size: 0.8rem;
  color: var(--rs-ink-soft);
  font-weight: 500;
}

/* Section headings */
.rs-section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(28px, 5vw, 40px);
}

.rs-section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rs-orange);
  margin: 0 0 8px;
}

.rs-section-head .rs-section-title {
  margin-bottom: 10px;
}

.rs-section-sub {
  margin: 0;
  font-size: clamp(0.95rem, 1vw + 0.85rem, 1.05rem);
  line-height: 1.6;
  color: var(--rs-ink-soft);
  font-weight: 500;
}

.rs-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  background: linear-gradient(165deg, var(--rs-orange-hover) 0%, var(--rs-orange) 50%, var(--rs-orange-dark) 100%);
  color: #fff !important;
  font-weight: 700;
  font-family: var(--rs-font-display);
  text-decoration: none;
  border-radius: var(--rs-radius);
  box-shadow: var(--rs-shadow-orange), var(--rs-shadow-inset-shine);
  font-size: 1rem;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.2s ease;
}

.rs-btn-main:hover {
  filter: brightness(1.03);
}

.rs-btn-main:active {
  transform: scale(0.98);
}

.rs-btn-main:focus-visible {
  outline: 3px solid rgba(234, 88, 12, 0.45);
  outline-offset: 3px;
}

.rs-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  background: var(--rs-surface);
  color: var(--rs-orange-dark) !important;
  font-weight: 700;
  font-family: var(--rs-font-display);
  text-decoration: none;
  border-radius: var(--rs-radius);
  border: 1px solid var(--rs-orange-border);
  font-size: 1rem;
  box-shadow: var(--rs-shadow-xs);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.rs-btn-secondary:hover {
  background: var(--rs-surface-muted);
  border-color: var(--rs-orange);
}

.rs-btn-secondary:active {
  transform: scale(0.98);
}

.rs-btn-secondary:focus-visible {
  outline: 3px solid rgba(234, 88, 12, 0.4);
  outline-offset: 3px;
}

.rs-section {
  padding: 0;
  margin: 0;
}

.rs-section-cream {
  background: linear-gradient(180deg, #ffffff 0%, var(--rs-cream) 55%, rgba(255, 247, 237, 0.65) 100%);
  border-radius: var(--rs-radius-xl);
  padding: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 44px);
  margin: 0;
  border: 1px solid rgba(234, 88, 12, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 50px -18px rgba(15, 23, 42, 0.08),
    0 8px 24px -12px rgba(234, 88, 12, 0.1);
}

/* Alternating band breaks up long scroll of paragraphs */
.rs-section-alt {
  position: relative;
  padding: clamp(24px, 4vw, 44px) clamp(16px, 3vw, 32px);
  margin-left: max(-6px, calc(-1 * min(2vw, 16px)));
  margin-right: max(-6px, calc(-1 * min(2vw, 16px)));
  border-radius: var(--rs-radius-xl);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.72) 0%, rgba(255, 255, 255, 0.96) 55%, #ffffff 100%);
  border: 1px solid rgba(234, 88, 12, 0.14);
  box-shadow: 0 12px 40px -16px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 639px) {
  .rs-section-alt {
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(14px, 4vw, 20px);
    padding-right: clamp(14px, 4vw, 20px);
  }
}

.rs-section-title {
  text-align: center;
  font-family: var(--rs-landing-serif);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  font-variation-settings: "opsz" 60;
  color: var(--rs-orange-dark);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rs-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(14px, 2.5vw, 22px);
}

.rs-feature__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--rs-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--rs-orange-soft), #fff);
  border: 1px solid var(--rs-orange-border);
  color: var(--rs-orange-dark);
  margin-bottom: 14px;
  box-shadow: var(--rs-shadow-xs);
}

.rs-feature__icon .material-symbols-outlined {
  font-size: 1.65rem;
}

.rs-feature {
  background-color: var(--rs-surface);
  background-image: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 100%);
  padding: clamp(22px, 3.5vw, 28px);
  border-radius: var(--rs-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--rs-shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.75) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .rs-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--rs-shadow-lg);
    border-color: rgba(234, 88, 12, 0.25);
  }
}

.rs-feature h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-family: var(--rs-font-display);
  font-weight: 700;
  color: var(--rs-ink);
  letter-spacing: -0.02em;
}

.rs-feature p {
  margin: 0;
  margin-top: auto;
  color: var(--rs-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 500;
  max-width: 38ch;
}

.rs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 720px;
  margin: clamp(22px, 4vw, 36px) auto 0;
}

.rs-pills span {
  background: var(--rs-surface);
  color: var(--rs-orange-dark);
  padding: 10px 18px;
  border-radius: var(--rs-radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--rs-orange-border);
  box-shadow: var(--rs-shadow-xs);
}

.rs-pills .rs-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rs-pills .rs-pill .material-symbols-outlined {
  color: var(--rs-orange);
  font-size: 1.05rem;
}

.rs-cta-block {
  text-align: center;
  padding: 0 12px;
}

.rs-cta-panel {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 40px) clamp(22px, 4vw, 36px);
  border-radius: var(--rs-radius-xl);
  background: linear-gradient(145deg, var(--rs-surface) 0%, var(--rs-surface-muted) 100%);
  border: 1px solid rgba(234, 88, 12, 0.2);
  box-shadow: var(--rs-shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  position: relative;
  overflow: hidden;
}

.rs-cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rs-orange), #fbbf24, var(--rs-orange-dark));
  opacity: 0.9;
}

.rs-cta-panel h2 {
  font-family: var(--rs-landing-serif);
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 700;
  color: var(--rs-ink);
  margin: 0 0 10px;
  position: relative;
}

.rs-cta-panel p {
  color: var(--rs-ink-soft);
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  position: relative;
}

.rs-cta-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}

.rs-cta-panel__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
}

.rs-cta-inline {
  color: var(--rs-orange-dark) !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.rs-cta-inline:hover {
  color: var(--rs-orange) !important;
}

.rs-btn-ghost {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--rs-orange-dark) !important;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.rs-btn-ghost:hover {
  border-bottom-color: var(--rs-orange);
  color: var(--rs-orange) !important;
}

.rs-btn-ghost:focus-visible {
  outline: 2px solid var(--rs-orange);
  outline-offset: 4px;
  border-radius: 4px;
}

/* How it works */
.rs-how {
  padding: clamp(8px, 2vw, 16px) 0 0;
}

.rs-how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media (min-width: 768px) {
  .rs-how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
  }

  .rs-how-steps::before {
    content: "";
    position: absolute;
    top: 2.25rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(234, 88, 12, 0.35) 12%,
      rgba(234, 88, 12, 0.35) 88%,
      transparent
    );
    pointer-events: none;
    z-index: 0;
  }

  .rs-how-step {
    position: relative;
    z-index: 1;
  }
}

.rs-how-step {
  background: var(--rs-surface);
  border-radius: var(--rs-radius-lg);
  padding: 22px 20px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--rs-shadow-sm);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .rs-how-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--rs-shadow);
  }
}

.rs-how-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--rs-radius-pill);
  background: linear-gradient(145deg, var(--rs-surface) 0%, var(--rs-orange-soft) 100%);
  border: 2px solid var(--rs-orange-border);
  color: var(--rs-orange-dark);
  font-family: var(--rs-font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
  box-shadow: var(--rs-shadow-xs);
}

.rs-how-step h3 {
  margin: 0 0 8px;
  font-family: var(--rs-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rs-ink);
}

.rs-how-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--rs-muted);
  font-weight: 500;
  max-width: 38ch;
}

/* Content is visible immediately (no scroll-triggered fade-in) — better perceived performance */

/* —— Site footer (landing + contact + about) —— */
.rs-footer {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  padding: clamp(28px, 5vw, 44px) max(12px, env(safe-area-inset-left)) calc(22px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background: var(--rs-footer-bg);
  color: #c4beb6;
  font-size: 0.875rem;
  border-top: 1px solid var(--rs-footer-line);
  box-shadow:
    0 -1px 0 rgba(251, 191, 36, 0.12),
    0 -24px 56px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
}

.rs-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rs-nav-accent-line);
  opacity: 0.5;
  pointer-events: none;
}

.rs-footer-inner {
  max-width: min(1400px, 100%);
  margin: 0 auto;
  min-width: 0;
  padding: 0 clamp(4px, 2vw, 8px);
  box-sizing: border-box;
}

.rs-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 32px);
  padding-bottom: clamp(24px, 4vw, 32px);
  border-bottom: 1px solid var(--rs-footer-line);
  min-width: 0;
}

@media (min-width: 640px) {
  .rs-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .rs-footer-grid {
    grid-template-columns: minmax(min(200px, 100%), 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 28px 32px;
    align-items: start;
  }
}

.rs-footer-brand {
  text-align: left;
  min-width: 0;
  max-width: 100%;
}

.rs-footer-logo {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.rs-footer-logo-small {
  display: block;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a847c;
}

.rs-footer-logo-main {
  display: block;
  font-family: var(--rs-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--rs-orange-hover), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 2px;
}

.rs-footer-tagline {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #a8a29e;
  max-width: min(28rem, 100%);
  overflow-wrap: anywhere;
  word-wrap: break-word;
  hyphens: auto;
}

.rs-footer-col {
  min-width: 0;
  max-width: 100%;
}

.rs-footer-heading {
  margin: 0 0 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fcd34d;
}

.rs-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-footer-list a {
  color: #e7e5e4;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 4px 0;
  border-radius: 6px;
  transition: color 0.15s ease;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.rs-footer-list a:hover {
  color: #fff;
  text-decoration: none;
}

.rs-footer-list a:focus-visible {
  outline: 2px solid var(--rs-orange-hover);
  outline-offset: 2px;
}

.rs-footer-list--contact .rs-footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: #e7e5e4;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rs-footer-list--contact .rs-footer-contact-line span:last-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rs-footer-list--contact .rs-footer-contact-line:hover {
  color: #fcd34d;
}

.rs-footer-contact-ico {
  width: 1.75rem;
  text-align: center;
  opacity: 0.95;
}

.rs-footer-hours {
  margin: 0;
  margin-top: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #78716c;
  max-width: min(16rem, 100%);
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.rs-footer-bottom {
  padding-top: clamp(20px, 3vw, 24px);
  text-align: center;
  min-width: 0;
  padding-left: clamp(4px, 2vw, 12px);
  padding-right: clamp(4px, 2vw, 12px);
  box-sizing: border-box;
}

.rs-footer-copy {
  margin: 0 0 6px;
  font-size: 0.8rem;
  color: #a8a29e;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  hyphens: auto;
}

.rs-footer-copy strong {
  color: #e7e5e4;
  font-weight: 700;
}

.rs-footer-legal-note {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78716c;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .rs-hero {
    padding-top: clamp(8px, 2vw, 20px);
  }
}

.rs-section.rs-cta-block {
  padding: 0 12px;
}

.rs-btn-main:active,
.rs-btn-secondary:active {
  transform: scale(0.98);
}

.rs-btn-main:focus-visible,
.rs-btn-secondary:focus-visible {
  outline: 3px solid var(--rs-orange);
  outline-offset: 3px;
}

/* Very small screens (e.g. 320px) */
@media (max-width: 380px) {
  .rs-landing-main {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
  .rs-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .rs-btn-main,
  .rs-btn-secondary {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .rs-hero h1 {
    font-size: clamp(1.32rem, 5vw + 0.45rem, 1.62rem);
  }
  .rs-feature {
    padding: 20px 16px;
  }
  .rs-pills span {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .rs-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1600px) {
  .rs-landing-main {
    max-width: min(1520px, 96vw);
  }
}
