/*
Theme Name: RizqStack Hello Child
Theme URI: https://rizqstack.com
Description: Child theme of Hello Elementor for RizqStack. Add custom PHP, enqueues, and CSS here without losing changes when Hello Elementor updates.
Author: RizqStack
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: rizqstack-hello-child
*/

/*
 * Add site-wide overrides below, or enqueue a separate CSS file from functions.php.
 * Elementor and Hello Elementor parent styles load first.
 */

:root {
  /* === RizqStack tokens (design-system-rizqstack.json) === */
  --rs-bg-primary: #0A0F14;
  --rs-bg-secondary: #111821;
  --rs-bg-elevated: #16212B;
  --rs-text-primary: #F3F1EA;
  --rs-text-secondary: #C9D1D9;
  --rs-text-muted: #96A3AF;
  --rs-teal-deep: #1E5A63;
  --rs-teal-muted: #2D6F74;
  --rs-amber: #D8A35D;
  --rs-copper: #B86A43;
  --rs-border-subtle: rgba(255, 255, 255, 0.10);
  --rs-white-100: rgba(255, 255, 255, 0.10);
  --rs-white-50: rgba(255, 255, 255, 0.05);
  --rs-glow-amber: rgba(216, 163, 93, 0.16);
  --rs-glow-teal: rgba(45, 111, 116, 0.18);
  --rs-cream: #F3F1EA;
  --rs-charcoal: #1a1a1a;

  --rs-radius-button: 14px;
  --rs-radius-chip: 100px;
  --rs-radius-card: 20px;
  --rs-radius-image: 24px;

  --rs-container-max: 1280px;
  --rs-container-pad: 20px;
  --rs-section-pad-y: 120px;
  --rs-section-tight-pad-y: 80px;
  --rs-grid-gap-2: clamp(30px, 3.4vw, 48px);
  --rs-grid-gap-3: clamp(18px, 2.1vw, 26px);
  --rs-card-pad: clamp(22px, 2.3vw, 30px);
  --rs-action-gap: 12px;
  --rs-action-top: clamp(20px, 2.4vw, 28px);
  --rs-prose-max: 78ch;

  /* Header sizing */
  --rs-header-h: 64px;
  --rs-header-pad-y: 12px;
  --rs-header-logo-h: 46px;
  --rs-header-offset: calc(var(--rs-header-h) + (var(--rs-header-pad-y) * 2) + 10px);

  /* Motion */
  --rs-ease-out: cubic-bezier(0.2, 0.9, 0.2, 1);
  --rs-ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* === Base === */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background: var(--rs-bg-primary);
  color: var(--rs-text-secondary);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
}

/* Front page sizing hooks — dvh/svh-aware, capped to usable viewport (short screens / mobile chrome). */
body.front-page,
body.home {
  --rs-vh: 100vh;
  --rs-hero-ring-d: min(980px, 92vw, calc((var(--rs-vh) - var(--rs-header-offset) - 24px) * 0.95));
  --rs-home-hero-h: min(
    max(
      clamp(360px, calc(var(--rs-vh) - var(--rs-header-offset)), 860px),
      calc(var(--rs-hero-ring-d) + 96px)
    ),
    calc(var(--rs-vh) - var(--rs-header-offset))
  );
}

/* Homepage: ensure ring fits the computed safe diameter (prevents cropping on desktop split hero). */
body.front-page .rs-hero__ring,
body.home .rs-hero__ring {
  width: var(--rs-hero-ring-d);
  height: var(--rs-hero-ring-d);
}

@supports (height: 100dvh) {
  body.front-page,
  body.home {
    --rs-vh: 100dvh;
  }
}

/* Short landscape phones: keep hero from dominating the entire viewport. */
@media (max-height: 520px) and (orientation: landscape) {
  body.front-page,
  body.home {
    --rs-hero-ring-d: min(72vmin, 88vw, calc((var(--rs-vh) - var(--rs-header-offset) - 16px) * 0.9));
    --rs-home-hero-h: min(
      calc(var(--rs-vh) - var(--rs-header-offset)),
      max(260px, min(72vmin, calc(var(--rs-hero-ring-d) + 72px)))
    );
  }
}

a {
  color: var(--rs-text-primary);
  text-decoration: none;
}
a:hover,
a:focus-visible {
  color: var(--rs-amber);
}

/* Keep underline style for content links only */
.site-content a:not(.rs-btn):not(.rs-nav__link) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--rs-teal-muted);
  outline-offset: 2px;
}

.rs-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Layout helpers === */
.rs-container {
  width: 100%;
  max-width: var(--rs-container-max);
  margin: 0 auto;
  padding-left: var(--rs-container-pad);
  padding-right: var(--rs-container-pad);
}

.rs-section {
  padding-top: var(--rs-section-pad-y);
  padding-bottom: var(--rs-section-pad-y);
}

.rs-section + .rs-section {
  border-top: 1px solid var(--rs-white-50);
}

.rs-section--tight {
  padding-top: var(--rs-section-tight-pad-y);
  padding-bottom: var(--rs-section-tight-pad-y);
}

.rs-surface-secondary {
  /* Keep a single, fluid page surface (no alternating bands). */
  background: transparent;
}

.rs-grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--rs-grid-gap-2);
  align-items: center;
}

.rs-grid-2 > * {
  min-width: 0;
}

.rs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rs-grid-gap-3);
}

/* === Type === */
.rs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--rs-white-100);
  border-radius: var(--rs-radius-chip);
  color: var(--rs-text-secondary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.rs-eyebrow--minimal {
  padding: 0;
  border: 0;
  border-radius: 0;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--rs-text-muted);
}

.rs-h1,
.rs-h2,
.rs-h3 {
  color: var(--rs-text-primary);
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
}

.rs-h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.048em;
}

.rs-h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
  font-weight: 600;
}

.rs-h3 {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.25;
  font-weight: 600;
}

.rs-lead {
  font-size: clamp(17px, 1.16vw, 20px);
  line-height: clamp(1.55, 1.4vw, 1.66);
  max-width: 60ch;
  margin-top: 16px;
  color: var(--rs-text-secondary);
  color: color-mix(in srgb, var(--rs-text-secondary) 82%, white);
}

.rs-kicker {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rs-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--rs-white-100);
  background: rgba(255, 255, 255, 0.03);
  color: var(--rs-text-secondary);
  font-size: 14px;
}

.rs-chip b {
  color: var(--rs-text-primary);
  font-weight: 600;
}

.rs-muted {
  color: var(--rs-text-muted);
}

/* === Buttons === */
.rs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rs-action-gap);
  margin-top: var(--rs-action-top);
}

.rs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(12px, 1.4vw, 14px) clamp(18px, 2.8vw, 28px);
  border-radius: var(--rs-radius-button);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: 0.25s ease transform, 0.25s ease background-color, 0.25s ease border-color, 0.25s ease color;
}

.rs-btn:hover {
  transform: translateY(-1px);
}

/* === Arrow button microinteraction (Soale-like) === */
.rs-btn__label {
  line-height: 1;
}

.rs-btn__arrows {
  position: relative;
  width: 18px;
  height: 18px;
  overflow: hidden;
  display: inline-block;
}

.rs-btn__arrow {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: 260ms var(--rs-ease-soft) transform, 260ms var(--rs-ease-soft) opacity;
}

.rs-btn__arrow--a {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.rs-btn__arrow--b {
  transform: translate3d(-140%, 140%, 0);
  opacity: 0;
}

.rs-btn--arrow:hover .rs-btn__arrow--a {
  transform: translate3d(140%, -140%, 0);
  opacity: 0;
}

.rs-btn--arrow:hover .rs-btn__arrow--b {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .rs-btn__arrow,
  .rs-btn--arrow:hover .rs-btn__arrow {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .rs-btn__arrow--b {
    display: none;
  }
}

.rs-btn--primary {
  background: var(--rs-amber);
  color: #0A0F14;
}

.rs-btn--primary:hover,
.rs-btn--primary:focus-visible {
  background: #c9944f;
  background: color-mix(in srgb, var(--rs-amber) 85%, white);
  color: #0A0F14;
}

.rs-btn--secondary {
  background: transparent;
  border-color: var(--rs-white-100);
  color: var(--rs-text-primary);
}

.rs-btn--secondary:hover,
.rs-btn--secondary:focus-visible {
  background: var(--rs-bg-elevated);
  border-color: var(--rs-teal-muted);
  color: var(--rs-text-primary);
}

.rs-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: color-mix(in srgb, var(--rs-text-secondary) 92%, white);
  font-weight: 500;
  padding-left: 8px;
  padding-right: 8px;
}

.rs-btn--ghost:hover,
.rs-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--rs-text-primary);
}

/* === Cards === */
.rs-card {
  background: var(--rs-bg-elevated);
  border: 1px solid var(--rs-white-100);
  border-radius: var(--rs-radius-card);
  padding: var(--rs-card-pad);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: 0.25s ease transform, 0.25s ease border-color, 0.25s ease background-color;
}

.rs-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: #1a2632;
  background: color-mix(in srgb, var(--rs-bg-elevated) 92%, white);
}

.rs-card:focus-within {
  border-color: rgba(45, 111, 116, 0.30);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.35);
}

.rs-card p {
  margin: 10px 0 0;
}

/* Homepage: subtle RizqStack tint on cards (matches brand atmosphere) */
body.front-page .rs-card,
body.home .rs-card {
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(45, 111, 116, 0.14) 0%, rgba(45, 111, 116, 0) 56%),
    radial-gradient(880px 600px at 96% 58%, rgba(216, 163, 93, 0.10) 0%, rgba(216, 163, 93, 0) 68%),
    radial-gradient(760px 520px at 42% 100%, rgba(184, 106, 67, 0.08) 0%, rgba(184, 106, 67, 0) 62%),
    rgba(17, 24, 33, 0.58);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

body.front-page .rs-card:hover,
body.home .rs-card:hover {
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(45, 111, 116, 0.18) 0%, rgba(45, 111, 116, 0) 56%),
    radial-gradient(880px 600px at 96% 58%, rgba(216, 163, 93, 0.14) 0%, rgba(216, 163, 93, 0) 68%),
    radial-gradient(760px 520px at 42% 100%, rgba(184, 106, 67, 0.10) 0%, rgba(184, 106, 67, 0) 62%),
    rgba(17, 24, 33, 0.64);
  border-color: rgba(45, 111, 116, 0.22);
}

body.front-page .rs-card:focus-within,
body.home .rs-card:focus-within {
  border-color: rgba(216, 163, 93, 0.24);
  box-shadow:
    0 18px 58px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(216, 163, 93, 0.12) inset;
}

/* === Homepage (front-page.php) — credibility strip, feature list, closing CTA === */
.rs-home-credibility {
  padding: clamp(20px, 3vw, 36px) 0;
  border-top: 1px solid var(--rs-white-50);
  border-bottom: 1px solid var(--rs-white-50);
  background: rgba(10, 15, 20, 0.42);
}

.rs-home-credibility__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
}

@media (max-width: 767px) {
  .rs-home-credibility__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.rs-home-credibility__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
  min-width: 0;
}

.rs-home-credibility__k {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-text-muted);
}

.rs-home-credibility__v {
  font-size: 15px;
  line-height: 1.45;
  color: var(--rs-text-secondary);
}

.rs-home-credibility__link {
  color: var(--rs-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rs-home-credibility__link:hover,
.rs-home-credibility__link:focus-visible {
  color: var(--rs-text-primary);
}

.rs-home-section-lead {
  margin-top: 12px;
}

.rs-home-hero__title {
  margin-top: 22px;
  max-width: min(22ch, 100%);
}

.rs-home-hero__lead {
  max-width: 38ch;
  margin-top: 20px;
}

/* Homepage hero: asymmetric split + layered device composition */
.rs-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.78fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.rs-home-hero__visual-stack {
  position: relative;
  min-height: min(420px, 52vw);
  justify-self: end;
  width: 100%;
  max-width: min(520px, 100%);
}

.rs-home-hero__device {
  border-radius: var(--rs-radius-image);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: var(--rs-bg-secondary);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.rs-home-hero__device--primary {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}

.rs-home-hero__device--secondary {
  position: absolute;
  z-index: 3;
  width: min(46%, 220px);
  left: 0;
  bottom: 8%;
  transform: rotate(-3deg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  opacity: 0.96;
}

.rs-home-hero__device img {
  display: block;
  width: 100%;
  height: auto;
}

/* Section rhythm: fewer “equal band” repeats on the homepage */
body.home .rs-section--home + .rs-section--home,
body.front-page .rs-section--home + .rs-section--home {
  border-top-color: rgba(255, 255, 255, 0.04);
}

.rs-section--rhythm-editorial {
  padding-top: clamp(72px, 9vw, 112px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.rs-section--rhythm-spacious {
  padding-top: clamp(96px, 12vw, 140px);
  padding-bottom: clamp(88px, 11vw, 132px);
}

.rs-section--rhythm-tight {
  padding-top: clamp(64px, 8vw, 88px);
  padding-bottom: clamp(56px, 7vw, 80px);
}

.rs-section--rhythm-close {
  padding-top: clamp(88px, 10vw, 120px);
  padding-bottom: clamp(96px, 12vw, 140px);
}

.rs-home-studio__headline {
  margin-top: 16px;
  max-width: 18ch;
}

.rs-home-studio__lead {
  margin-top: 18px;
  max-width: 42ch;
}

.rs-home-principles {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 520px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rs-home-principles__item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Sora", sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rs-text-primary);
}

.rs-home-flagship__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.rs-home-flagship__title {
  margin-top: 16px;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.rs-home-flagship__points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 44ch;
}

.rs-home-flagship__points li {
  position: relative;
  padding-left: 1.1em;
  color: color-mix(in srgb, var(--rs-text-secondary) 88%, white);
  line-height: 1.5;
}

.rs-home-flagship__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rs-amber);
  opacity: 0.85;
}

.rs-home-flagship__stage {
  position: relative;
  min-height: 320px;
}

.rs-home-flagship__shot--hero {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin-left: auto;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.rs-home-flagship__shot--float {
  position: absolute;
  z-index: 2;
  width: min(52%, 280px);
  left: -4%;
  bottom: 6%;
  transform: rotate(2.5deg);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

.rs-home-cap__kicker {
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.rs-home-cap__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rs-home-cap__name {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rs-text-primary);
}

.rs-home-cap__col p {
  margin: 0;
  line-height: 1.55;
}

.rs-home-close {
  position: relative;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(45, 111, 116, 0.12) 0%, transparent 55%),
    radial-gradient(800px 480px at 88% 40%, rgba(216, 163, 93, 0.08) 0%, transparent 60%),
    linear-gradient(165deg, #06090d 0%, #0c1218 48%, #0a0f14 100%);
}

.rs-home-close::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(216, 163, 93, 0.12), transparent 55%);
}

.rs-home-close__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: left;
}

.rs-home-close .rs-h2 {
  max-width: 16ch;
}

.rs-home-close__lead {
  max-width: 42ch;
  margin-top: 16px;
}

.rs-home-close .rs-actions {
  margin-top: 28px;
}

@media (max-width: 991px) {
  .rs-home-hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .rs-home-hero__visual-stack {
    justify-self: center;
    max-width: 420px;
    min-height: 300px;
  }

  .rs-home-hero__device--secondary {
    width: min(44%, 200px);
  }

  .rs-home-flagship__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rs-home-flagship__stage {
    max-width: 520px;
    margin: 0 auto;
  }

  .rs-home-flagship__shot--float {
    left: 2%;
  }

  .rs-home-cap__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 22px;
  }

  .rs-home-close__inner {
    text-align: center;
    margin: 0 auto;
  }

  .rs-home-close .rs-actions {
    justify-content: center;
  }

  .rs-home-close .rs-h2,
  .rs-home-close__lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .rs-home-hero__title {
    max-width: none;
  }

  .rs-home-hero__device--secondary {
    display: none;
  }

  .rs-home-flagship__shot--float {
    position: relative;
    width: 88%;
    left: auto;
    bottom: auto;
    margin: -32px auto 0;
    transform: none;
  }
}

.rs-feature-list {
  margin: 18px 0 0;
  padding-left: 1.15em;
  color: var(--rs-text-secondary);
  list-style: disc;
}

.rs-feature-list li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.rs-feature-list li:last-child {
  margin-bottom: 0;
}

.rs-home-featured-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 52ch;
}

.rs-home-closing {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: clamp(32px, 4vw, 44px) clamp(28px, 4vw, 48px);
}

.rs-home-closing .rs-h2 {
  margin: 0;
}

.rs-home-closing .rs-lead {
  margin-left: auto;
  margin-right: auto;
  margin-top: 14px;
}

.rs-home-closing .rs-actions {
  justify-content: center;
  margin-top: 22px;
}

.rs-section--closing {
  padding-bottom: calc(var(--rs-section-pad-y) + 8px);
}

@media (max-width: 991px) {
  .rs-home-featured.rs-grid-2 {
    gap: 36px;
  }
}

/*
 * Contact page — all rules scoped under .rs-contact-page (template: page-contact.php).
 * Keeps layout, tints, and form chrome separate from the rest of the theme.
 */
.rs-contact-page {
  --rs-contact-form-border: rgba(255, 255, 255, 0.16);
  --rs-contact-form-surface: rgba(255, 255, 255, 0.055);
  --rs-contact-divider: rgba(255, 255, 255, 0.08);
  --rs-contact-error: #e59897;
  --rs-contact-error: color-mix(in srgb, #e57373 88%, var(--rs-cream));
  --rs-contact-success: #8fb8ba;
  --rs-contact-success: color-mix(in srgb, var(--rs-teal-muted) 78%, var(--rs-cream));
}

.rs-contact-page .rs-card {
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(45, 111, 116, 0.14) 0%, rgba(45, 111, 116, 0) 56%),
    radial-gradient(880px 600px at 96% 58%, rgba(216, 163, 93, 0.10) 0%, rgba(216, 163, 93, 0) 68%),
    radial-gradient(760px 520px at 42% 100%, rgba(184, 106, 67, 0.08) 0%, rgba(184, 106, 67, 0) 62%),
    rgba(17, 24, 33, 0.58);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.rs-contact-page .rs-card:hover {
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(45, 111, 116, 0.18) 0%, rgba(45, 111, 116, 0) 56%),
    radial-gradient(880px 600px at 96% 58%, rgba(216, 163, 93, 0.14) 0%, rgba(216, 163, 93, 0) 68%),
    radial-gradient(760px 520px at 42% 100%, rgba(184, 106, 67, 0.10) 0%, rgba(184, 106, 67, 0) 62%),
    rgba(17, 24, 33, 0.64);
  border-color: rgba(45, 111, 116, 0.22);
}

.rs-contact-page .rs-card:focus-within {
  border-color: rgba(216, 163, 93, 0.24);
  box-shadow:
    0 18px 58px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(216, 163, 93, 0.12) inset;
}

.rs-contact-page__hero--premium {
  padding-bottom: clamp(48px, 8vh, 88px);
}

.rs-contact-page__hero-inner {
  max-width: min(820px, 100%);
}

.rs-contact-page__title {
  margin-top: 20px;
  max-width: 16ch;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.048em;
}

.rs-contact-page__split {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.rs-contact-page__aside-title {
  margin: 0 0 16px;
  font-family: "Sora", sans-serif;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 600;
  color: var(--rs-text-primary);
}

.rs-contact-page__topics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: color-mix(in srgb, var(--rs-text-secondary) 90%, white);
  font-size: 15px;
  line-height: 1.45;
}

.rs-contact-page__topics li {
  position: relative;
  padding-left: 1em;
}

.rs-contact-page__topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: rgba(216, 163, 93, 0.55);
}

.rs-contact-page__expect {
  margin-top: 22px;
  font-size: 14px;
}

.rs-contact-page__quick {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rs-contact-page__quick-label {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-text-muted);
}

.rs-contact-page__quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rs-contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--rs-text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s ease border-color, 0.2s ease background-color, 0.2s ease color;
}

.rs-contact-chip:hover,
.rs-contact-chip:focus-visible {
  border-color: rgba(216, 163, 93, 0.35);
  background: rgba(216, 163, 93, 0.08);
  color: var(--rs-text-primary);
  outline: none;
}

.rs-contact-chip:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--rs-teal-muted) 65%, white);
  outline-offset: 2px;
}

.rs-contact-panel {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 24, 33, 0.45);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.rs-contact-panel__footer {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rs-contact-divider);
}

.rs-contact-policies-inline {
  max-width: min(820px, 100%);
  margin: 0 auto;
}

.rs-contact-policies-inline .rs-h3 {
  margin: 0 0 12px;
  color: var(--rs-text-primary);
}

.rs-contact-page__closing-line {
  margin: 0;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--rs-text-secondary) 92%, white);
}

.rs-contact-page__tips-title {
  margin: 0 0 14px;
  color: var(--rs-text-primary);
}

@media (max-width: 991px) {
  .rs-contact-page__split {
    grid-template-columns: 1fr;
  }

  .rs-contact-page__title {
    max-width: none;
  }
}

.rs-contact-page__lead {
  color: var(--rs-text-secondary);
  color: color-mix(in srgb, var(--rs-text-secondary) 82%, white);
}

.rs-contact-page__lead .rs-contact-page__mail-link {
  color: var(--rs-teal-muted);
  color: color-mix(in srgb, var(--rs-teal-muted) 58%, var(--rs-cream));
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rs-contact-page__lead .rs-contact-page__mail-link:hover,
.rs-contact-page__lead .rs-contact-page__mail-link:focus-visible {
  color: var(--rs-amber);
}

.rs-contact-page__emph {
  color: var(--rs-text-primary);
  font-weight: 600;
}

.rs-contact-page__section-title {
  margin-top: 18px;
}

.rs-contact-page__section-lead {
  margin-top: 12px;
}

.rs-contact-page__microcopy {
  margin-top: 12px;
  font-size: 15px;
}

.rs-contact-page__paths-section .rs-h2 {
  margin-top: 0;
}

.rs-contact-page__paths-section .rs-section-lead {
  max-width: 62ch;
}

.rs-contact-page .rs-contact-paths--four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

@media (max-width: 991px) {
  .rs-contact-page .rs-contact-paths--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .rs-contact-page .rs-contact-paths--four {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.rs-contact-page__compose,
.rs-contact-page__main,
.rs-contact-page #send-message {
  scroll-margin-top: calc(var(--rs-header-offset) + 16px);
}

.rs-contact-page__form-card {
  margin-top: 22px;
}

.rs-contact-page__form-actions {
  margin-top: 8px;
}

.rs-contact-page__mailto-intro {
  margin: 0 0 10px;
}

.rs-contact-page__mailto-actions {
  margin-top: 0;
}

.rs-contact-page__mailto-note {
  margin-top: 14px;
  margin-bottom: 0;
}

.rs-contact-page__help-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--rs-text-secondary);
}

.rs-contact-page__help-list li + li {
  margin-top: 0.4em;
}

.rs-contact-page__policy-text {
  margin-top: 10px;
  margin-bottom: 0;
}

.rs-contact-page__policy-text--follow {
  margin-top: 14px;
}

.rs-contact-page__policy-actions {
  margin-top: 20px;
  margin-bottom: 0;
}

.rs-contact-page__policy-actions a {
  color: var(--rs-teal-muted);
  color: color-mix(in srgb, var(--rs-teal-muted) 52%, var(--rs-cream));
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rs-contact-page__policy-actions a:hover,
.rs-contact-page__policy-actions a:focus-visible {
  color: var(--rs-amber);
}

.rs-contact-page__policy-sep {
  color: var(--rs-text-muted);
  opacity: 0.75;
}

.rs-contact-page .rs-contact-form {
  display: grid;
  gap: 16px;
}

.rs-contact-page .rs-contact-form__field {
  display: grid;
  gap: 8px;
}

.rs-contact-page .rs-contact-form__helper {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--rs-text-muted);
}

.rs-contact-page .rs-contact-form__label {
  color: var(--rs-text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.rs-contact-page .rs-contact-form__select,
.rs-contact-page .rs-contact-form__input,
.rs-contact-page .rs-contact-form__textarea {
  width: 100%;
  max-width: none;
  border-radius: 12px;
  border: 1px solid var(--rs-contact-form-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--rs-text-primary);
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  color-scheme: dark;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rs-contact-page .rs-contact-form__input::placeholder,
.rs-contact-page .rs-contact-form__textarea::placeholder {
  color: var(--rs-text-muted);
  opacity: 1;
}

.rs-contact-page .rs-contact-form__input:-webkit-autofill,
.rs-contact-page .rs-contact-form__input:-webkit-autofill:hover,
.rs-contact-page .rs-contact-form__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--rs-text-primary);
  transition: background-color 99999s ease-out;
  box-shadow: 0 0 0 1000px rgba(17, 24, 33, 0.95) inset;
}

.rs-contact-page .rs-contact-form__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}

.rs-contact-page .rs-contact-form__select:focus-visible,
.rs-contact-page .rs-contact-form__input:focus-visible,
.rs-contact-page .rs-contact-form__textarea:focus-visible {
  outline: 2px solid #4a9096;
  outline: 2px solid color-mix(in srgb, var(--rs-teal-muted) 72%, white);
  outline-offset: 2px;
  border-color: rgba(45, 111, 116, 0.55);
  border-color: color-mix(in srgb, var(--rs-teal-muted) 45%, rgba(255, 255, 255, 0.2));
}

.rs-contact-page .rs-contact-form__select option {
  background-color: var(--rs-bg-secondary);
  color: var(--rs-text-primary);
}

.rs-contact-page .rs-contact-form__hint {
  margin: 0;
  font-size: 13px;
  color: var(--rs-text-muted);
}

.rs-contact-page .rs-contact-form__secure {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.rs-contact-page .rs-contact-form__rule {
  border: 0;
  border-top: 1px solid var(--rs-contact-divider);
  margin: 22px 0 18px;
}

.rs-contact-page .rs-contact-status {
  margin-top: 6px;
  min-height: 22px;
  font-size: 14px;
  color: var(--rs-text-secondary);
  scroll-margin-top: calc(var(--rs-header-offset) + 12px);
}

.rs-contact-page .rs-contact-status[data-kind="success"] {
  color: var(--rs-contact-success);
}

.rs-contact-page .rs-contact-status[data-kind="error"] {
  color: var(--rs-contact-error);
}

.rs-contact-page .rs-contact-status[data-kind="info"] {
  color: var(--rs-text-secondary);
  color: color-mix(in srgb, var(--rs-text-secondary) 92%, var(--rs-teal-muted));
}

.rs-contact-page .rs-contact-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rs-contact-page .rs-contact-paths {
  margin-top: 22px;
}

.rs-contact-page .rs-contact-path {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
}

.rs-contact-page .rs-contact-path .rs-h3,
.rs-contact-page .rs-contact-policies__block .rs-h3 {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--rs-text-primary);
}

.rs-contact-page .rs-contact-path__text {
  margin: 8px 0 16px;
  flex: 1;
  font-size: 15px;
  line-height: 1.5;
  color: var(--rs-text-muted);
}

.rs-contact-page .rs-contact-path__btn {
  width: 100%;
  justify-content: center;
}

.rs-contact-page .rs-contact-policies-card .rs-h2 {
  margin-bottom: 6px;
  color: var(--rs-text-primary);
}

.rs-contact-page .rs-contact-policies {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.rs-contact-page .rs-contact-policies__block {
  padding: 18px 0;
  border-top: 1px solid var(--rs-contact-divider);
}

.rs-contact-page .rs-contact-policies__block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.rs-contact-page .rs-contact-policies__block .rs-muted {
  color: var(--rs-text-muted);
  color: color-mix(in srgb, var(--rs-text-muted) 92%, var(--rs-text-secondary));
}

.rs-contact-page .rs-contact-policies__block a {
  color: var(--rs-teal-muted);
  color: color-mix(in srgb, var(--rs-teal-muted) 52%, var(--rs-cream));
}

.rs-contact-page .rs-contact-policies__block a:hover,
.rs-contact-page .rs-contact-policies__block a:focus-visible {
  color: var(--rs-amber);
}

.rs-contact-page .rs-contact-page__tips a:not(.rs-btn) {
  color: var(--rs-teal-muted);
  color: color-mix(in srgb, var(--rs-teal-muted) 52%, var(--rs-cream));
}

.rs-contact-page .rs-contact-page__tips a:not(.rs-btn):hover,
.rs-contact-page .rs-contact-page__tips a:not(.rs-btn):focus-visible {
  color: var(--rs-amber);
}

/* === Privacy page === */
.rs-privacy-page__container {
  max-width: min(860px, var(--rs-prose-max));
}

.rs-privacy-page__title {
  margin-top: 18px;
}

.rs-privacy-page__lead {
  max-width: 70ch;
}

.rs-privacy-page__card .rs-h2 {
  margin: 0;
}

.rs-privacy-page__paragraph {
  margin-top: 12px;
  margin-bottom: 0;
}

.rs-privacy-page__updated {
  margin-top: 14px;
  margin-bottom: 0;
}

.rs-privacy-page__emph {
  color: var(--rs-text-primary);
  font-weight: 600;
}

/* === Header / Nav (Soale-like polish) === */
.rs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 15, 20, 0.66);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rs-white-50);
  transform: translateZ(0);
  transition: 260ms var(--rs-ease-soft) background-color, 260ms var(--rs-ease-soft) border-color;
}

/* WordPress admin bar: keep header visually aligned (logged-in only) */
body.admin-bar .rs-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .rs-header {
    top: 46px;
  }
}

.rs-main {
  position: relative;
  isolation: isolate;
  padding-top: var(--rs-header-offset);
}

/* Continuous atmosphere (aurora wash): anchored to `rs-main` (below header). */
.rs-main::before,
.rs-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Base wash: few large sources, continuous diagonal flow. */
.rs-main::before {
  opacity: 0.26;
  background:
    radial-gradient(1100px 760px at 18% 22%, rgba(45, 111, 116, 0.22) 0%, rgba(45, 111, 116, 0) 62%),
    radial-gradient(980px 720px at 78% 32%, rgba(216, 163, 93, 0.18) 0%, rgba(216, 163, 93, 0) 64%),
    radial-gradient(1100px 860px at 62% 78%, rgba(184, 106, 67, 0.14) 0%, rgba(184, 106, 67, 0) 66%),
    conic-gradient(from 200deg at 52% 48%,
      rgba(45, 111, 116, 0.00) 0deg,
      rgba(45, 111, 116, 0.10) 70deg,
      rgba(216, 163, 93, 0.08) 150deg,
      rgba(184, 106, 67, 0.06) 220deg,
      rgba(45, 111, 116, 0.00) 360deg);

  /* Keep it elegant (avoid harsh bloom). */
  filter: saturate(1.08) contrast(1.05);

  /* Fade in below header + fade out before footer edge. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 1) 12%,
    rgba(0, 0, 0, 1) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 1) 12%,
    rgba(0, 0, 0, 1) 88%,
    transparent 100%
  );
}

/* Curtain texture: very subtle vertical strands (no animation). */
.rs-main::after {
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(243, 241, 234, 0.10) 0px,
      rgba(243, 241, 234, 0.10) 1px,
      rgba(243, 241, 234, 0.00) 10px,
      rgba(243, 241, 234, 0.00) 22px
    );
  mix-blend-mode: overlay;
  filter: blur(0.2px);
  -webkit-mask-image: inherit;
  mask-image: inherit;
}

/* Ensure main content sits above the atmosphere. */
:where(.rs-main > *) {
  position: relative;
  z-index: 1;
}

/* Keep header offset available globally. */
body.admin-bar {
  --rs-header-offset: calc(var(--rs-header-h) + (var(--rs-header-pad-y) * 2) + 10px + 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --rs-header-offset: calc(var(--rs-header-h) + (var(--rs-header-pad-y) * 2) + 10px + 46px);
  }
}

.rs-header__inner {
  min-height: var(--rs-header-h);
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: var(--rs-header-pad-y);
  padding-bottom: var(--rs-header-pad-y);
  transition: 260ms var(--rs-ease-soft) padding;
}

.rs-header__inner > .rs-brand,
.rs-header__inner > .rs-nav {
  align-self: center;
}

.rs-header.rs-header--scrolled {
  background: rgba(10, 15, 20, 0.80);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.rs-header.rs-header--scrolled .rs-header__inner {
  padding-top: calc(var(--rs-header-pad-y) - 2px);
  padding-bottom: calc(var(--rs-header-pad-y) - 2px);
}

.rs-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-decoration: none;
  line-height: 0;
}

.rs-brand img {
  display: block;
  height: var(--rs-header-logo-h);
  width: auto;
  max-height: var(--rs-header-logo-h);
  opacity: 0.98;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.rs-brand__name {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--rs-text-primary);
  letter-spacing: -0.02em;
}

.rs-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.rs-nav__link {
  color: var(--rs-text-secondary);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease background-color, 0.2s ease border-color, 0.2s ease color;
}

.rs-nav__link:hover,
.rs-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--rs-text-primary);
}

.rs-nav__link.is-active {
  background: rgba(216, 163, 93, 0.10);
  border-color: rgba(216, 163, 93, 0.18);
  color: var(--rs-text-primary);
}

.rs-header__cta {
  margin-left: 6px;
  padding: 10px 16px;
  font-size: 15px;
}

/* Mobile nav: hamburger + right drawer (see rs-header-nav.js) */
.rs-nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(45, 111, 116, 0.42);
  border-radius: 12px;
  background: linear-gradient(
    165deg,
    rgba(30, 90, 99, 0.32) 0%,
    rgba(17, 24, 33, 0.94) 52%,
    rgba(22, 33, 43, 0.98) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--rs-text-primary);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.rs-nav-toggle:hover {
  border-color: rgba(216, 163, 93, 0.38);
  background: linear-gradient(
    165deg,
    rgba(45, 111, 116, 0.38) 0%,
    rgba(22, 33, 43, 0.98) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(216, 163, 93, 0.1);
}

/* Kill theme/Elementor :focus ring (often pink); keyboard users get :focus-visible below. */
.rs-header button.rs-nav-toggle:focus {
  outline: none;
}

.rs-header button.rs-nav-toggle:focus:not(:focus-visible) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rs-header button.rs-nav-toggle:focus:not(:focus-visible):not(:hover) {
  border-color: rgba(45, 111, 116, 0.42);
  background: linear-gradient(
    165deg,
    rgba(30, 90, 99, 0.32) 0%,
    rgba(17, 24, 33, 0.94) 52%,
    rgba(22, 33, 43, 0.98) 100%
  );
}

.rs-header button.rs-nav-toggle[aria-expanded="true"]:focus:not(:focus-visible) {
  border-color: rgba(216, 163, 93, 0.45);
  background: linear-gradient(
    165deg,
    rgba(45, 111, 116, 0.28) 0%,
    rgba(17, 24, 33, 1) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rs-header button.rs-nav-toggle:focus:not(:focus-visible):hover {
  border-color: rgba(216, 163, 93, 0.38);
  background: linear-gradient(
    165deg,
    rgba(45, 111, 116, 0.38) 0%,
    rgba(22, 33, 43, 0.98) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(216, 163, 93, 0.1);
}

.rs-header button.rs-nav-toggle:focus-visible {
  outline: 2px solid var(--rs-teal-muted);
  outline-offset: 3px;
  border-color: rgba(216, 163, 93, 0.38);
  background: linear-gradient(
    165deg,
    rgba(45, 111, 116, 0.38) 0%,
    rgba(22, 33, 43, 0.98) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(216, 163, 93, 0.1);
}

.rs-nav-toggle[aria-expanded="true"] {
  border-color: rgba(216, 163, 93, 0.45);
  background: linear-gradient(
    165deg,
    rgba(45, 111, 116, 0.28) 0%,
    rgba(17, 24, 33, 1) 100%
  );
}

.rs-nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 22px;
}

.rs-nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s var(--rs-ease-soft), opacity 0.2s ease;
}

.rs-nav-toggle[aria-expanded="true"] .rs-nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.rs-nav-toggle[aria-expanded="true"] .rs-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.rs-nav-toggle[aria-expanded="true"] .rs-nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.rs-nav-overlay {
  display: none;
}

.rs-nav__close {
  display: none;
}

/* === Hero atmosphere === */
.rs-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 6vh, 90px);
  padding-bottom: clamp(60px, 9vh, 120px);
  isolation: isolate;
  /* No hero background surface. */
  background: transparent;
}

/* Home hero: always center content in the ring */
.rs-hero--home {
  /*
   * Avoid huge empty vertical space when users zoom out:
   * cap the hero height while still adapting to viewport.
   */
  min-height: var(--rs-home-hero-h, calc(var(--rs-hero-ring-d, min(980px, 92vw)) + 120px));
  display: grid;
  place-items: center;
  /* No top gap: `rs-main` already starts below the fixed header. */
  padding-top: 0;
  padding-bottom: clamp(24px, 4.5vh, 72px);
  padding-inline: 0;
}

.rs-hero--home .rs-hero__content {
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
}

.rs-hero--home .rs-hero__mark {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.rs-hero--home .rs-hero__mark img {
  display: block;
  /* Big vertical mark: responsive but clearly dominant vs. eyebrow/headline rhythm */
  height: clamp(112px, 18vw, 240px);
  width: auto;
  max-width: min(92vw, 520px);
  opacity: 0.98;
  filter:
    drop-shadow(0 22px 42px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 52px rgba(216, 163, 93, 0.1));
}

.rs-hero--home .rs-hero__content > * {
  max-width: 78ch;
}

.rs-hero--home .rs-hero__content .rs-lead {
  margin-left: auto;
  margin-right: auto;
}

.rs-hero--home .rs-hero__content .rs-kicker,
.rs-hero--home .rs-hero__content .rs-actions {
  justify-content: center;
}

/* Home: split hero + product screenshot (docs/homepage.md) */
.rs-hero--home-split {
  min-height: 0;
  display: block;
  padding-top: clamp(28px, 5vh, 56px);
  padding-bottom: clamp(40px, 7vh, 88px);
}

/* Homepage: start hero immediately below the fixed header (rs-main already offsets). */
body.front-page .rs-hero--home-split,
body.home .rs-hero--home-split {
  padding-top: 0;
  /*
   * Keep enough vertical room for the full ring to render without cropping.
   * (Ring is absolutely positioned but clipped by hero overflow.)
   */
  min-height: calc(var(--rs-hero-ring-d) + 72px);
  /* Vertically center the split hero content within the hero height. */
  display: grid;
  align-items: center;
}

/* Homepage: tighten main offset so hero sits directly under header. */
body.front-page .rs-main,
body.home .rs-main {
  padding-top: calc(var(--rs-header-h) + (var(--rs-header-pad-y) * 2));
}

.rs-hero--home-split .rs-home-hero__grid {
  position: relative;
  z-index: 3;
}

.rs-hero--home-split .rs-home-hero__copy {
  text-align: left;
}

.rs-hero--home-split .rs-home-hero__copy > .rs-lead,
.rs-hero--home-split .rs-home-hero__lead {
  max-width: 42ch;
}

.rs-hero--home-split .rs-home-hero__microcopy {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.rs-hero--home-split .rs-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Primary hero device: soft edge blend into the hero atmosphere */
.rs-hero--home-split .rs-home-hero__device--primary {
  position: relative;
  isolation: isolate;
  -webkit-mask-image:
    linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 12%,
      rgba(0, 0, 0, 1) 88%,
      rgba(0, 0, 0, 0) 100%),
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 12%,
      rgba(0, 0, 0, 1) 88%,
      rgba(0, 0, 0, 0) 100%);
  mask-image:
    linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 12%,
      rgba(0, 0, 0, 1) 88%,
      rgba(0, 0, 0, 0) 100%),
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 12%,
      rgba(0, 0, 0, 1) 88%,
      rgba(0, 0, 0, 0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.rs-hero--home-split .rs-home-hero__device--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 12px 26px rgba(255, 255, 255, 0.03);
  opacity: 0.85;
}

@media (max-width: 991px) {
  body.front-page .rs-hero--home-split,
  body.home .rs-hero--home-split {
    min-height: min(calc(var(--rs-hero-ring-d) + 56px), calc(var(--rs-vh) - var(--rs-header-offset) + 28px));
    padding-bottom: clamp(20px, 4vw, 36px);
  }

  .rs-hero--home-split .rs-home-hero__copy {
    text-align: center;
  }

  .rs-hero--home-split .rs-actions {
    justify-content: center;
  }

  .rs-hero--home-split .rs-home-hero__copy > .rs-lead,
  .rs-hero--home-split .rs-home-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  body.front-page .rs-hero--home-split,
  body.home .rs-hero--home-split {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 20px;
  }
}

.rs-about-list {
  margin: 22px 0 0;
  padding-left: 1.15em;
  color: var(--rs-text-secondary);
  list-style: disc;
  max-width: 70ch;
}

.rs-about-list li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.rs-about-list li:last-child {
  margin-bottom: 0;
}

.rs-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  z-index: 1;
}

.rs-hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.55;
  transform: translateZ(0);
}

.rs-hero__orb {
  display: none;
}

.rs-hero__orb--teal {
  width: 520px;
  height: 520px;
  left: -180px;
  top: 80px;
  background: radial-gradient(circle at 30% 30%, rgba(45, 111, 116, 0.55), rgba(45, 111, 116, 0) 70%);
}

.rs-hero__orb--amber {
  width: 620px;
  height: 620px;
  right: -260px;
  top: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(216, 163, 93, 0.48), rgba(216, 163, 93, 0) 70%);
}

.rs-hero__orb--copper {
  width: 520px;
  height: 520px;
  right: 12%;
  bottom: -320px;
  background: radial-gradient(circle at 30% 30%, rgba(184, 106, 67, 0.40), rgba(184, 106, 67, 0) 70%);
}

.rs-hero__ring {
  position: absolute;
  width: min(980px, 92vw);
  height: min(980px, 92vw);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  background:
    conic-gradient(from 90deg,
      rgba(45, 111, 116, 0.0) 0deg,
      rgba(45, 111, 116, 0.42) 70deg,
      rgba(216, 163, 93, 0.36) 140deg,
      rgba(184, 106, 67, 0.22) 210deg,
      rgba(45, 111, 116, 0.0) 360deg);
  filter: blur(2px);
  opacity: 0.78;
  animation: rs-hero-rotate 22s linear infinite;
  mix-blend-mode: normal;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 120px rgba(45, 111, 116, 0.10),
    0 0 160px rgba(216, 163, 93, 0.08);
}

.rs-hero__ring::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(45, 111, 116, 0.10),
    0 0 90px rgba(216, 163, 93, 0.08);
  opacity: 0.78;
}

@keyframes rs-hero-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.rs-hero::before {
  content: "";
  position: absolute;
  inset: -120px;
  z-index: 0;
  pointer-events: none;
  /*
   * Feathered vignette behind the ring:
   * - hides the sitewide spiral in the hero area
   * - blends out so it doesn't feel like a hard “section band”
   */
  background:
    radial-gradient(980px 980px at 50% 50%,
      rgba(10, 15, 20, 0.84) 0%,
      rgba(10, 15, 20, 0.58) 34%,
      rgba(10, 15, 20, 0.24) 52%,
      rgba(10, 15, 20, 0.00) 74%);
}

.rs-hero::after {
  display: none;
}

.rs-hero > .rs-container {
  position: relative;
  z-index: 3;
}

.rs-hero__visual {
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(520px 420px at 30% 45%, rgba(45, 111, 116, 0.22) 0%, rgba(45, 111, 116, 0) 70%),
    radial-gradient(620px 520px at 78% 28%, rgba(216, 163, 93, 0.18) 0%, rgba(216, 163, 93, 0) 72%),
    radial-gradient(720px 620px at 60% 80%, rgba(184, 106, 67, 0.12) 0%, rgba(184, 106, 67, 0) 74%),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
  min-height: 420px;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
  box-shadow: 0 18px 90px rgba(0, 0, 0, 0.45);
}

.rs-hero__visual--home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    conic-gradient(from 140deg,
      rgba(45, 111, 116, 0.00) 0deg,
      rgba(45, 111, 116, 0.10) 70deg,
      rgba(216, 163, 93, 0.09) 140deg,
      rgba(184, 106, 67, 0.06) 210deg,
      rgba(45, 111, 116, 0.00) 360deg),
    radial-gradient(620px 520px at 55% 55%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 62%);
  opacity: 0.85;
}

.rs-hero__visual img,
.rs-hero__visual svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* === Ambient hero layers (Soale-like polish, RizqStack palette) === */
.rs-hero__visual-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rs-hero__visual-layer--glow {
  background:
    radial-gradient(520px 360px at 25% 40%, rgba(45, 111, 116, 0.28) 0%, rgba(45, 111, 116, 0) 65%),
    radial-gradient(520px 360px at 80% 30%, rgba(216, 163, 93, 0.22) 0%, rgba(216, 163, 93, 0) 68%),
    radial-gradient(720px 520px at 65% 85%, rgba(184, 106, 67, 0.16) 0%, rgba(184, 106, 67, 0) 70%);
  mix-blend-mode: screen;
  opacity: 0.9;
  filter: blur(12px);
  transform: translate3d(0, 0, 0);
  animation: rs-ambient-drift 16s var(--rs-ease-soft) infinite alternate;
}

.rs-hero__visual-layer--noise {
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1px, rgba(255,255,255,0) 2px, rgba(255,255,255,0) 4px);
  mix-blend-mode: overlay;
}

@keyframes rs-ambient-drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  100% { transform: translate3d(2%, 1%, 0) scale(1.04); }
}

/* === Scroll reveal ===
 * Default: visible (no JS, crawlers, or before rs-reveal-pending).
 * With rs-reveal-pending (see header.php): hidden until .is-in (rs-motion.js).
 */
.rs-reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

html.rs-reveal-pending .rs-reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(3px);
  transition:
    opacity 800ms var(--rs-ease-out),
    transform 900ms var(--rs-ease-out),
    filter 900ms var(--rs-ease-out);
  transition-delay: var(--rs-reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.rs-reveal-pending .rs-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html.rs-reveal-pending .rs-reveal:not(.is-in),
  html.rs-reveal-pending .rs-reveal.is-in,
  .rs-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    transition-delay: 0ms;
    will-change: auto;
  }
  .rs-hero::after {
    opacity: 0.06;
  }
  .rs-hero__visual-layer--glow {
    animation: none;
  }
  .rs-hero__ring,
  .gl-hero.gl-hero--dark .gl-hero__ring {
    animation: none;
  }
}

/* === Glidely visuals === */
.rs-image-frame {
  border-radius: var(--rs-radius-image);
  border: 1px solid var(--rs-white-100);
  overflow: hidden;
  background: var(--rs-bg-secondary);
}
.rs-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* === Glidely (page-scoped) === */
.gl-page {
  --gl-primary: #7444D8;
  --gl-lavender: #a17bf4;
  --gl-indigo: #270053;
  --gl-functional: #52489c;
  --rs-vh: 100vh;
  --rs-hero-ring-d: min(980px, 92vw, calc((var(--rs-vh) - var(--rs-header-offset) - 24px) * 0.95));
  position: relative;
  isolation: isolate;
}

@supports (height: 100dvh) {
  .gl-page {
    --rs-vh: 100dvh;
  }
}

.gl-page::before,
.gl-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Page-wide Glidely: restrained wash (aligned with studio palette, not loud purple) */
.gl-page::before {
  opacity: 0.22;
  background:
    radial-gradient(1100px 720px at 10% 12%, rgba(45, 111, 116, 0.2) 0%, transparent 58%),
    radial-gradient(900px 640px at 92% 22%, rgba(116, 68, 216, 0.1) 0%, transparent 62%),
    radial-gradient(1000px 800px at 50% 88%, rgba(216, 163, 93, 0.06) 0%, transparent 65%);
  filter: saturate(1.06) contrast(1.03);

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    transparent 100%
  );
}

.gl-page::after {
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(243, 241, 234, 0.10) 0px,
      rgba(243, 241, 234, 0.10) 1px,
      rgba(243, 241, 234, 0.00) 10px,
      rgba(243, 241, 234, 0.00) 22px
    );
  mix-blend-mode: overlay;
  filter: blur(0.2px);
  -webkit-mask-image: inherit;
  mask-image: inherit;
}

.gl-page > * {
  position: relative;
  z-index: 1;
}

.gl-page .rs-hero.gl-hero {
  position: relative;
  overflow: hidden;
}

.gl-hero.gl-hero--dark {
  padding-top: clamp(32px, 6vh, 72px);
  padding-bottom: clamp(48px, 9vh, 100px);
  min-height: min(calc(var(--rs-hero-ring-d, 720px) + 48px), calc(var(--rs-vh, 100vh) - var(--rs-header-offset) + 20px));
}

.gl-hero.gl-hero--dark .gl-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.gl-hero.gl-hero--dark .gl-hero__ring {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: var(--rs-hero-ring-d, min(980px, 92vw));
  height: var(--rs-hero-ring-d, min(980px, 92vw));
  border-radius: 999px;
  background:
    conic-gradient(from 90deg,
      rgba(45, 111, 116, 0.0) 0deg,
      rgba(45, 111, 116, 0.38) 70deg,
      rgba(216, 163, 93, 0.32) 140deg,
      rgba(184, 106, 67, 0.2) 210deg,
      rgba(45, 111, 116, 0.0) 360deg);
  filter: blur(2px);
  opacity: 0.72;
  animation: rs-hero-rotate 26s linear infinite;
}

.gl-hero.gl-hero--dark::before {
  content: "";
  position: absolute;
  inset: -80px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(980px 980px at 50% 45%,
      rgba(10, 15, 20, 0.92) 0%,
      rgba(10, 15, 20, 0.58) 38%,
      rgba(10, 15, 20, 0.2) 58%,
      rgba(10, 15, 20, 0.0) 76%);
}

.gl-hero.gl-hero--dark .rs-container {
  position: relative;
  z-index: 2;
}

.gl-hero__display {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.048em;
  max-width: 16ch;
}

.gl-hero__visual-cluster {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: min(520px, 100%);
  min-height: min(420px, 52vw);
}

.gl-hero__phone {
  border-radius: var(--rs-radius-image);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: var(--rs-bg-secondary);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.gl-hero__phone--main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

.gl-hero__phone--accent {
  position: absolute;
  z-index: 3;
  width: min(46%, 230px);
  left: 0;
  bottom: 6%;
  transform: rotate(-3deg);
  opacity: 0.95;
}

.gl-hero__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.rs-hero--gl-split .gl-hero__grid {
  align-items: end;
}

@media (max-width: 991px) {
  .gl-hero__display {
    max-width: none;
  }

  .gl-hero__visual-cluster {
    justify-self: center;
    min-height: 280px;
  }

  .gl-hero__phone--accent {
    width: min(42%, 200px);
  }
}

@media (max-width: 767px) {
  .gl-hero__phone--accent {
    display: none;
  }
}

.gl-section__narrow {
  max-width: min(720px, 100%);
  margin: 0 auto;
}

.gl-value-lines {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.gl-value-lines li {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: color-mix(in srgb, var(--rs-text-secondary) 88%, white);
  line-height: 1.55;
}

.gl-value-lines li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.gl-value-lines__label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-amber);
  margin-bottom: 6px;
}

.gl-section--steps .rs-h2 {
  margin-bottom: 8px;
}

.gl-steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.gl-steps__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.gl-steps__n {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--rs-bg-primary);
  background: linear-gradient(145deg, var(--rs-amber), color-mix(in srgb, var(--rs-amber) 70%, var(--rs-copper)));
  border-radius: 10px;
}

.gl-steps__title {
  margin: 0 0 6px;
  font-family: "Sora", sans-serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--rs-text-primary);
}

@media (max-width: 991px) {
  .gl-steps {
    grid-template-columns: 1fr;
  }
}

.gl-moment__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.gl-moment__grid--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.gl-moment__grid--reverse .gl-moment__visual {
  order: -1;
}

.gl-moment__visual {
  display: grid;
  gap: 16px;
  align-content: start;
}

.gl-moment__frame--xl {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.gl-moment__frame--lg {
  max-width: 100%;
}

.gl-moment__frame--sm {
  max-width: min(340px, 88%);
  margin-left: auto;
  margin-top: -24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.gl-moment__stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.gl-moment__intro {
  max-width: 62ch;
}

.gl-moment__intro .rs-lead {
  margin-left: auto;
  margin-right: auto;
}

.gl-moment__wide {
  width: 100%;
  max-width: 920px;
}

.gl-moment__frame--wide {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

@media (max-width: 991px) {
  .gl-moment__grid,
  .gl-moment__grid--reverse {
    grid-template-columns: 1fr;
  }

  .gl-moment__grid--reverse .gl-moment__visual {
    order: 0;
  }

  .gl-moment__frame--sm {
    margin-top: 0;
    margin-left: 0;
    max-width: 100%;
  }

  .gl-moment__stack {
    text-align: left;
    align-items: stretch;
  }

  .gl-moment__intro .rs-lead {
    margin-left: 0;
  }
}

.gl-use-cases__intro {
  margin-top: 12px;
}

.gl-use-cases__list {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gl-use-cases__row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 20px 32px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

.gl-use-cases__row:last-child {
  border-bottom: 0;
}

.gl-use-cases__name {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--rs-text-primary);
}

@media (max-width: 767px) {
  .gl-use-cases__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.gl-final-cta {
  position: relative;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(45, 111, 116, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, #06090d 0%, #0c1218 48%, #0a0f14 100%);
}

.gl-final-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.gl-final-cta__lead {
  margin-left: auto;
  margin-right: auto;
}

.gl-final-cta__actions {
  justify-content: center;
}

.gl-honest-compact .gl-honest__links {
  margin-top: 18px;
}

.gl-page .gl-wordmark {
  margin-top: 18px;
  max-width: 520px;
}
.gl-page .gl-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.gl-page .gl-hero__lead {
  margin-top: 18px;
}

.gl-page .gl-hero__title {
  margin-top: 18px;
}

.gl-page .gl-copy-top-lead {
  margin-top: 14px;
}

.gl-page .gl-copy-top-muted {
  margin-top: 12px;
}

.gl-page .gl-copy-max-72 {
  max-width: 72ch;
}

.gl-page .gl-copy-max-75 {
  max-width: 75ch;
}

.gl-page .gl-copy-max-78 {
  max-width: 78ch;
}

.gl-page .gl-prose-container {
  max-width: min(860px, var(--rs-prose-max));
}

.gl-page .gl-shines-grid {
  margin-top: 26px;
}
.gl-page .gl-hero__supporting {
  margin-top: 12px;
  max-width: 65ch;
}
.gl-page .gl-hero__microcopy {
  margin-top: 12px;
  max-width: 60ch;
  color: var(--rs-text-muted);
  color: color-mix(in srgb, var(--rs-text-muted) 78%, white);
}
.gl-page .gl-hero__support-link {
  margin-top: 14px;
}

.gl-page .gl-hero__support-link a {
  color: var(--rs-teal-muted);
  color: color-mix(in srgb, var(--rs-teal-muted) 58%, var(--rs-cream));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gl-page .gl-hero__support-link a:hover,
.gl-page .gl-hero__support-link a:focus-visible {
  color: var(--rs-amber);
}

.gl-page .gl-hero__grid {
  align-items: end;
}

.gl-page .gl-section-split {
  align-items: start;
}

.gl-page .gl-ticker-bullets {
  margin: 22px 0 0;
  padding-left: 1.2em;
  max-width: 78ch;
  color: var(--rs-text-secondary);
  list-style: disc;
}

.gl-page .gl-ticker-bullets li {
  margin-bottom: 8px;
}

.gl-page .gl-ticker-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.gl-page .gl-features {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 32px;
}

.gl-page .gl-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.gl-page .gl-feature__copy .rs-h3 {
  margin-bottom: 10px;
}

.gl-page .gl-honest {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.gl-page .gl-honest__visual {
  position: sticky;
  top: 96px;
}

.gl-page .gl-honest__links {
  margin-top: 16px;
}

.gl-page .gl-faq {
  margin-top: 22px;
}

.gl-page .gl-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gl-page .gl-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 18px 8px 18px 0;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--rs-text-primary);
}

.gl-page .gl-faq__q:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--rs-teal-muted) 65%, white);
  outline-offset: 4px;
  border-radius: 6px;
}

.gl-page .gl-faq__q::-webkit-details-marker {
  display: none;
}

.gl-page .gl-faq__item[open] .gl-faq__q {
  padding-bottom: 8px;
}

.gl-page .gl-faq__a {
  padding: 0 0 20px 0;
  color: var(--rs-text-secondary);
  line-height: 1.62;
  max-width: 72ch;
}

.gl-page .gl-faq__a p {
  margin: 0;
}

.gl-page .gl-launch__card {
  padding: clamp(32px, 4vw, 44px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.gl-page .gl-launch__lead {
  margin-top: 12px;
}

.gl-page .gl-launch__actions {
  margin-top: 22px;
}

@media (max-width: 991px) {
  .gl-page .gl-ticker-pair {
    grid-template-columns: 1fr;
  }

  .gl-page .gl-feature {
    grid-template-columns: 1fr;
  }

  .gl-page .gl-honest {
    grid-template-columns: 1fr;
  }

  .gl-page .gl-honest__visual {
    position: static;
    order: -1;
    max-width: 520px;
  }

  .gl-page .gl-section-split {
    gap: 28px;
  }
}

/* Cards: Glidely tint (page only) */
.gl-page .rs-card {
  background:
    radial-gradient(900px 520px at 14% 0%, rgba(116, 68, 216, 0.10) 0%, rgba(116, 68, 216, 0.00) 56%),
    radial-gradient(900px 620px at 100% 60%, rgba(39, 0, 83, 0.28) 0%, rgba(39, 0, 83, 0.00) 70%),
    rgba(17, 24, 33, 0.56);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.gl-page .rs-card:hover {
  background:
    radial-gradient(900px 520px at 14% 0%, rgba(161, 123, 244, 0.14) 0%, rgba(161, 123, 244, 0.00) 56%),
    radial-gradient(900px 620px at 100% 60%, rgba(39, 0, 83, 0.30) 0%, rgba(39, 0, 83, 0.00) 70%),
    rgba(17, 24, 33, 0.62);
  border-color: rgba(161, 123, 244, 0.22);
}

.gl-page .rs-card:focus-within {
  border-color: rgba(161, 123, 244, 0.26);
}

/* Visual proof: low-friction secondary conversion link */
.gl-page .gl-proof-cta__link {
  color: #c9b8e8;
  color: color-mix(in srgb, var(--gl-lavender) 66%, white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.gl-page .gl-proof-cta__link:hover,
.gl-page .gl-proof-cta__link:focus-visible {
  color: #b894f0;
  color: color-mix(in srgb, var(--gl-primary) 72%, white);
}

/* Modal */
html.gl-modal-open,
html.gl-modal-open body {
  overflow: hidden;
}

.gl-page .gl-modal[hidden] {
  display: none;
}

.gl-page .gl-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.gl-page .gl-modal__panel {
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(900px 420px at 14% 0%, rgba(116, 68, 216, 0.16) 0%, rgba(116, 68, 216, 0) 55%),
    radial-gradient(900px 520px at 100% 40%, rgba(39, 0, 83, 0.40) 0%, rgba(39, 0, 83, 0) 70%),
    rgba(17, 24, 33, 0.88);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  padding: 26px 24px 22px;
  position: relative;
  margin: auto;
}

.gl-page .gl-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--rs-text-primary);
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.gl-page .gl-modal__close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.gl-page .gl-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 52px; /* keep title clear of close button */
}

.gl-page .gl-modal__intro {
  margin-top: 10px;
  max-width: 60ch;
}
.gl-page .gl-modal__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(116, 68, 216, 0.35));
}

.gl-page .gl-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.gl-page .gl-label {
  color: var(--rs-text-secondary);
  font-size: 14px;
}
.gl-page .gl-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--rs-text-primary);
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
}
.gl-page .gl-input::placeholder {
  color: rgba(201, 209, 217, 0.55);
}
.gl-page .gl-input:focus-visible {
  outline: 2px solid #b89cf0;
  outline: 2px solid color-mix(in srgb, var(--gl-lavender) 62%, white);
  outline-offset: 2px;
}

.gl-page .gl-submit {
  margin-top: 6px;
  justify-content: center;
}

.gl-page .gl-consent {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  max-width: 66ch;
}

.gl-page .gl-status {
  margin-top: 6px;
  min-height: 22px;
  font-size: 14px;
  color: var(--rs-text-secondary);
  scroll-margin-top: 20px;
}
.gl-page .gl-status[data-kind="success"] {
  color: #c4b4e8;
  color: color-mix(in srgb, var(--gl-lavender) 64%, white);
}
.gl-page .gl-status[data-kind="error"] {
  color: #ff8a8a;
  color: color-mix(in srgb, #ff6b6b 70%, white);
}

.gl-page .gl-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* === Footer === */
.rs-footer {
  padding: 64px 0;
  background: transparent;
  border-top: 1px solid var(--rs-white-50);
}

.rs-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.rs-footer__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  opacity: 0.95;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.4));
}

@media (max-width: 767px) {
  .rs-footer__icon {
    width: 48px;
    height: 48px;
  }
}

.rs-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.rs-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.rs-footer__tagline {
  color: var(--rs-text-primary);
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 10px;
}

.rs-footer__body {
  margin: 0;
  max-width: 70ch;
  line-height: 1.55;
}

.rs-footer__meta {
  color: var(--rs-text-muted);
  font-size: 14px;
  margin-top: 18px;
  margin-bottom: 0;
  line-height: 1.6;
}

.rs-footer__meta a {
  color: var(--rs-teal-muted);
  color: color-mix(in srgb, var(--rs-teal-muted) 58%, var(--rs-cream));
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rs-footer__meta a:hover,
.rs-footer__meta a:focus-visible {
  color: var(--rs-amber);
}

/* === Responsive === */
@media (max-width: 991px) {
  :root {
    --rs-section-pad-y: 96px;
    --rs-section-tight-pad-y: 72px;
    --rs-grid-gap-2: 34px;
    --rs-grid-gap-3: 18px;
    --rs-card-pad: 24px;
    --rs-action-gap: 10px;
  }

  .rs-grid-2 {
    grid-template-columns: 1fr;
  }

  .rs-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rs-home-closing {
    max-width: 900px;
  }

  .rs-footer {
    padding: 56px 0;
  }

  .rs-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rs-footer__body {
    max-width: 64ch;
  }

  .gl-page .gl-prose-container {
    max-width: 100%;
  }

  .gl-page .gl-feature {
    gap: 22px;
  }

  .gl-page .gl-launch__card {
    max-width: 100%;
  }

  .gl-page .gl-honest__visual {
    margin-inline: auto;
  }

  /* Drawer nav + overlay (aligned with rs-header-nav.js matchMedia max-width: 991px) */
  body.rs-nav-open {
    overflow: hidden;
  }

  .rs-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .rs-nav-overlay {
    display: block;
    position: fixed;
    z-index: 60;
    inset: 0;
    background: rgba(10, 15, 20, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms var(--rs-ease-soft), visibility 260ms var(--rs-ease-soft);
  }

  body.rs-nav-open .rs-nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.admin-bar .rs-nav-overlay {
    top: 32px;
  }

  .rs-nav {
    position: fixed;
    z-index: 61;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 320px);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: calc(20px + env(safe-area-inset-top, 0px)) 20px 28px;
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    background: rgba(14, 20, 26, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 280ms var(--rs-ease-soft), visibility 280ms var(--rs-ease-soft);
  }

  body.admin-bar .rs-nav {
    top: 32px;
  }

  body.rs-nav-open .rs-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .rs-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    margin: -6px -8px 8px 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--rs-text-primary);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .rs-nav__close:hover,
  .rs-nav__close:focus-visible {
    background: rgba(255, 255, 255, 0.1);
  }

  .rs-nav__link {
    width: 100%;
    text-align: left;
    padding: 14px 14px;
    border-radius: 12px;
  }

  .rs-header__cta {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .rs-nav-overlay {
    top: 46px;
  }

  body.admin-bar .rs-nav {
    top: 46px;
  }
}

@media (max-width: 767px) {
  :root {
    --rs-section-pad-y: 78px;
    --rs-section-tight-pad-y: 60px;
    --rs-grid-gap-2: 24px;
    --rs-grid-gap-3: 16px;
    --rs-card-pad: 20px;
    --rs-action-gap: 10px;
    --rs-action-top: 20px;
    --rs-container-pad: 18px;
    --rs-header-h: 64px;
    --rs-header-pad-y: 10px;
    --rs-header-logo-h: 42px;
  }

  .rs-brand img {
    height: var(--rs-header-logo-h);
    max-height: var(--rs-header-logo-h);
  }

  .rs-h1 {
    line-height: 1.08;
  }

  .rs-lead {
    max-width: 44ch;
  }

  .rs-grid-3 {
    grid-template-columns: 1fr;
  }

  .rs-home-pillars__grid {
    margin-top: 22px;
  }

  .rs-hero__visual {
    min-height: 320px;
  }

  .rs-footer {
    padding: 48px 0;
  }

  .rs-footer__links {
    grid-template-columns: 1fr;
  }

  .gl-page .gl-modal {
    padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
      max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  }

  .gl-page .gl-modal__panel {
    border-radius: 18px;
    padding: 22px 18px 18px;
  }

  .rs-contact-page .rs-contact-form__select,
  .rs-contact-page .rs-contact-form__input,
  .rs-contact-page .rs-contact-form__textarea {
    max-width: 100%;
  }

  .rs-contact-page__policy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .rs-contact-page__policy-sep {
    display: none;
  }

  .rs-privacy-page__title {
    margin-top: 14px;
  }
}

/* Narrow phones: type and chips slightly tighter. */
@media (max-width: 360px) {
  :root {
    --rs-container-pad: 16px;
  }

  .rs-lead {
    font-size: 16px;
    line-height: 1.58;
  }

  .rs-eyebrow {
    font-size: 12px;
    padding: 7px 12px;
    letter-spacing: 1px;
  }

  .rs-chip {
    font-size: 13px;
    padding: 8px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rs-btn {
    transition: none;
  }
  .rs-btn:hover {
    transform: none;
  }
  .rs-nav-toggle__bar,
  .rs-nav-toggle,
  .rs-nav,
  .rs-nav-overlay {
    transition: none;
  }
}
