:root {
  /* ---- core neutrals ---- */
  --ink: #0c0e13;
  --ink-soft: #5d6270;
  --ink-faint: #9297a3;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --panel-2: #fbfaf6;
  --line: rgba(12, 14, 19, 0.09);
  --line-strong: rgba(12, 14, 19, 0.16);

  /* ---- brand accents (refreshed, higher chroma) ---- */
  --coral: #ff4c60;
  --coral-dark: #ff4c60;
  --teal: #0ea895;
  --amber: #e8930a;
  --blue: #3468f6;

  --blue-bg: #eaf0ff;
  --green-bg: #e4f7f1;
  --coral-bg: #ffe9ea;
  --amber-bg: #fdf1de;

  /* ---- gradients ---- */
  --grad-primary: linear-gradient(135deg, #ff6b5b 0%, #c81e4b 100%);
  --grad-cool: linear-gradient(135deg, #3468f6 0%, #0ea895 100%);
  --grad-warm: linear-gradient(135deg, #ffb35c 0%, #ff4c60 100%);
  --grad-ink: linear-gradient(160deg, #14161f 0%, #0c0e13 60%, #1a0e14 100%);
  --grad-text: linear-gradient(120deg, #ff4c60 0%, #c81e4b 55%, #7b1e6b 100%);
  --grad-grey: linear-gradient(135deg, #6b7280 0%, #374151 100%);
  --grad-grey-active: linear-gradient(135deg, #ff4c60 0%, #ff4c60 100%);

  /* ---- glass ---- */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-bg-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-dark-bg: rgba(255, 255, 255, 0.06);
  --glass-dark-border: rgba(255, 255, 255, 0.14);

  /* ---- elevation ---- */
  --shadow-xs: 0 2px 8px -4px rgba(12, 14, 19, 0.12);
  --shadow-sm: 0 8px 24px -12px rgba(12, 14, 19, 0.18);
  --shadow-md: 0 18px 40px -16px rgba(12, 14, 19, 0.20);
  --shadow-lg: 0 32px 64px -24px rgba(12, 14, 19, 0.28);
  --shadow-coral: 0 20px 44px -16px rgba(200, 30, 75, 0.38);
  --shadow-coral-lg: 0 28px 60px -18px rgba(200, 30, 75, 0.42);
  --shadow-grey: 0 20px 44px -16px rgba(31, 41, 55, 0.32);
  --shadow-grey-lg: 0 28px 60px -18px rgba(17, 24, 39, 0.4);

  /* ---- radii (squircle-leaning, generous) ---- */
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- type ---- */
  --font-display: 'Manrope';
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Manrope';
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(1100px 520px at 92% -8%, rgba(255, 76, 96, 0.10), transparent 60%),
    radial-gradient(900px 480px at -8% 18%, rgba(52, 104, 246, 0.08), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  letter-spacing: -0.006em;
}

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 760px; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--ink-soft); color: #fff; }

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mono-tag.muted { color: var(--ink-soft); }
.mono-tag.live { color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.mono-tag.live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  display: inline-block; animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

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

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-coral);
  text-decoration: none;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
  z-index: -1;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-coral-lg); }
.btn-primary:hover::before { transform: translateX(120%); }

/* "Request a Demo" header button — neutral grey so it reads as a
   secondary, always-available action rather than competing with the
   coral accent used for primary conversion CTAs elsewhere on the page. */
.btn-demo {
  background: var(--grad-grey);
  color: #fff;
  box-shadow: var(--shadow-grey);
}
.btn-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
  z-index: -1;
}
.btn-demo:hover { transform: translateY(-3px); box-shadow: var(--shadow-grey-lg); }
.btn-demo:hover::before { transform: translateX(120%); }

/* Active state — toggled via JS once the enquiry form scrolls into view,
   so the header CTA visibly "hands off" to the form that's now on screen. */
.btn-demo.is-active {
  background: var(--grad-primary);
}

.btn-ghost {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border-color: var(--line-strong);
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* ---------- nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0px 0 0;
  background: transparent;
  border-bottom: none;
  transition: padding 0.35s var(--ease-soft);
  contain: layout style; /* scope the transition's reflow to the nav itself so it doesn't force a relayout of the whole page on every scroll frame */
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  max-width: 1320px;
  margin: 0 auto 0;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: padding 0.35s var(--ease-soft), background 0.35s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft), border-radius 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft), max-width 0.35s var(--ease-soft);
  transform: translateZ(0); /* own compositing layer, keeps the backdrop-blur repaint off the main scroll thread */
}

/* Scrolled state: header docks flush to the viewport edge, tightens up,
   and gains a solid, more opaque surface so content never shows through. */
.site-nav.is-scrolled {
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.site-nav.is-scrolled .nav-inner {
  max-width: 1320px;
  border-radius: 0;
  padding: 10px 32px;
  background: transparent;
  border-color: transparent;
  border-bottom: none;
  box-shadow: none;
}

.brand-text img { transition: height 0.35s var(--ease-soft); }
.site-nav.is-scrolled .brand-text img { height: 42px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.brand-text img { height: 50px; width: auto; }

.nav-links { display: flex; gap: 6px; margin-left: 8px; flex: 1; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  position: relative;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.25s var(--ease-soft), background 0.25s var(--ease-soft);
}
.nav-links a:hover { color: var(--ink); background: rgba(12,14,19,0.05); }
.nav-links a.active { color: #fff; background: var(--grad-primary); box-shadow: var(--shadow-coral); }
.nav-links a.active::after { display: none; }

.nav-cta { display: flex; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 64px;
  position: relative;
  overflow: hidden; /* contains .hero-bg-panel's intentional bleed so it can't push the page wider than the viewport */
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--coral-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  background: var(--coral-bg);
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-pill);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,76,96,0.18); }
.eyebrow.center { justify-content: center; margin-left: auto; margin-right: auto; display: flex; width: fit-content; }
.eyebrow.light { color: #ffc9b8; background: rgba(255,255,255,0.08); }

.display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.07;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}
.display .hl {
  background: linear-gradient(100deg, var(--coral) 0%, var(--coral-dark) 35%, #7b1e6b 55%, var(--coral-dark) 75%, var(--coral) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hlShimmer 8s ease-in-out infinite;
}
@keyframes hlShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.h2 .hl { color: var(--coral); }

/* Word-by-word headline reveal — each word (and the gradient "Riya
   Travel's" phrase, kept as a single unit so its shimmer stays intact)
   lifts and sharpens into place with a short stagger between them.
   Plays once on load; the parent's block-level fade is switched off for
   this element so it doesn't compete with the per-word motion below. */
.hero-reveal > h1.display {
  opacity: 1;
  animation: none;
}
.display .word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: transform, opacity, filter;
}
.display.in-view .word-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* hero entrance sequence */
.hero-reveal > * {
  opacity: 1;
  animation: heroFadeUp 0.9s var(--ease-out) both;
}
.hero-reveal > *:nth-child(1) { animation-delay: 0.05s; }
.hero-reveal > *:nth-child(2) { animation-delay: 0.22s; }
.hero-reveal > *:nth-child(3) { animation-delay: 0.34s; }
.hero-reveal > *:nth-child(4) { animation-delay: 0.46s; }
.hero-reveal > *:nth-child(5) { animation-delay: 0.58s; }
.hero-reveal > *:nth-child(6) { animation-delay: 0.70s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.lede {
  font-size: 1.4rem;
  color: #0c0e13;
  margin: 0 0 20px;
  line-height: 1.6;

}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.hero-actions.center { justify-content: center; }
.hero-actions a{text-decoration: none;}
/* Audience chip row — replaces a dense run-on sentence with scannable
   pills, so the segment list reads at a glance instead of as a wall of
   text. Content is unchanged, just restructured for scanability. */
.hero-audience {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 2px 0 18px;
}
.hero-audience-label {
  font-family: var(--font-mono);
  font-size:1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 2px;
}
.hero-audience-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.hero-audience-tag:hover {
  border-color: var(--coral);
  color: var(--coral-dark);
  background: var(--coral-bg);
  transform: translateY(-2px);
}
.hero-audience-note { margin-top: -4px; }

.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2.5px solid var(--paper);
  margin-right: -11px;
  box-shadow: var(--shadow-xs);
}
.avatars span:nth-child(1) { background: var(--grad-cool); }
.avatars span:nth-child(2) { background: var(--grad-primary); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, var(--amber), var(--coral)); }

/* decorative gradient-mesh panel behind hero image */
.hero-bg-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(60% 60% at 70% 20%, rgba(255, 76, 96, 0.28), transparent 70%), radial-gradient(50% 50% at 30% 80%, rgba(52, 104, 246, 0.22), transparent 70%), var(--coral-bg);
    border-radius: 0;
    z-index: -1;
    filter: blur(2px);
    animation: heroMeshDrift 17s ease-in-out infinite;
}
.hero-bg-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
@keyframes heroMeshDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-14px, 10px) scale(1.03); }
}

/* hero image + overlay card */
.hero-media {
  position: relative;
  animation: heroMediaIn 1s var(--ease-out) both;
  animation-delay: 0.15s;
}
@keyframes heroMediaIn {
  from { opacity: 0; transform: scale(1.035) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-media img {
  width: 100%;
  /* height: 520px; */
  object-fit: cover;
  /* border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg); */
}
.hero-card {
  position: absolute;
  left: 0px;
  bottom: 0px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  opacity: 1;
  animation: cardFadeIn 0.7s var(--ease-out) both, floaty 5.2s ease-in-out infinite;
  animation-delay: 0.55s, 1.25s;
}
.hero-card-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-coral);
}
.hero-card h6 { margin: 0 0 2px; font-size: 0.95rem; font-weight: 700; }
.hero-card small { color: var(--ink-soft); }
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* floating "live" API-call card — relevant platform imagery for a dev-facing product */
.hero-api-card {
  position: absolute;
  top: 24px;
  left: -24px;
  width: 216px;
  background: var(--grad-ink);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 14px 16px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  opacity: 1;
  animation: cardFadeIn 0.7s var(--ease-out) both, floaty 5.8s ease-in-out infinite;
  animation-delay: 0.75s, 1.45s;
}
.hero-api-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  font-family: var(--font-mono);
}
.hero-api-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3ddc97;
  flex-shrink: 0;
  animation: apiPulse 2.2s ease-out infinite;
}
@keyframes apiPulse {
  0%   { box-shadow: 0 0 0 0 rgba(61,220,151,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(61,220,151,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); }
}
.hero-api-method { font-size: 11px; font-weight: 700; color: #3ddc97; letter-spacing: 0.03em; }
.hero-api-path { font-size: 11px; color: rgba(255,255,255,0.55); }
.hero-api-body {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
  white-space: pre;
}
.hero-api-body .k { color: #8fb2ff; }
.hero-api-body .s { color: #ffb27a; }
.hero-api-body .n { color: #3ddc97; }

/* ---------- stats ---------- */
.stats {
  background: transparent;
  padding: 0 0 8px;
  position: relative;
}
.stats .wrap.stats-grid {
  background: var(--grad-ink);
  border-radius: var(--radius-xl);
  padding: 52px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stats-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 260px at 8% 0%, rgba(255,76,96,0.22), transparent 60%),
    radial-gradient(560px 260px at 92% 100%, rgba(52,104,246,0.22), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.14);
}
.stat-icon {
  font-size: 22px;
  color: #fff;
  background: var(--grad-primary);
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-coral);
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.stat:hover .stat-icon { transform: translateY(-10px); box-shadow: var(--shadow-coral-lg); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat .mono-tag { color: rgba(255,255,255,0.7); background: none; padding: 0; }

/* ---------- sections ---------- */
.section { padding: 60px 0; position: relative; }
.section.alt {
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


/* ---------- section heading accent rule ----------
   small gradient tick + dot beneath a heading, used across every
   section to give headings a consistent, badge-like anchor point */
.section-rule {
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-primary);
  margin: 4px auto 40px;
  position: relative;
}
.section-rule::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--coral-dark);
  box-shadow: 0 0 0 4px var(--coral-bg);
}
/* used inside containers that already provide their own bottom margin
   (e.g. .rwc-heading), so the rule doesn't stack a second gap on top */
.section-rule.tight { margin: 4px auto 0; }
.section-rule.light {
  background: linear-gradient(90deg, #ff8a75, #ff4c60);
  box-shadow: 0 0 22px rgba(255,76,96,0.35);
}
.section-rule.light::after {
  background: #14161f;
  border-color: #ff8a75;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.14);
}

/* ---------- subtle depth for the two plain (non-tinted) sections,
   so they don't read as flat/identical filler between the tinted
   and dark bands around them ---------- */
#ecosystem, #process { overflow: hidden; }
#ecosystem::before, #process::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,76,96,0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#ecosystem .wrap, #process .wrap { position: relative; z-index: 1; }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
.h2.center { text-align: center; }
.h2.light { color: #fff; }
.sub { color: var(--ink-soft); font-size: 1.05rem; max-width: 80ch; line-height: 24px; }
.sub.center { margin: 0 auto 48px; text-align: center; }
.sub.light { color: rgba(255,255,255,0.68); max-width: 50ch; margin: 0 auto 30px; }

.center { text-align: center; }

/* ecosystem / benefit cards */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ecosystem slider (Slick Slider) */
.slider { margin-top: 8px; }

/* Slick renders: #ecoSlider > .slick-list > .slick-track > .slick-slide > div > .card.slide
   Recreate the original 22px gap using the classic negative-margin technique. */
#ecoSlider.slick-slider { display: block; }
#ecoSlider .slick-list { margin: 0 -11px; overflow: hidden; }
#ecoSlider .slick-track { display: flex; margin-left: 0; margin-right: 0; }
#ecoSlider .slick-slide { height: auto; padding: 0 11px; }
#ecoSlider .slick-slide > div { height: 100%; }
#ecoSlider .slick-slide .card.slide { height: 100%; margin: 0; }

/* keep the card sizing sane before Slick has initialized (no-JS / first paint) */
.slide { width: 100%; }
#ecoSlider:not(.slick-initialized) .slide { display: none; }
#ecoSlider:not(.slick-initialized) .slide:first-child { display: block; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 40px;
}
.slider-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.slider-btn:hover { background: var(--grad-primary); border-color: transparent; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-coral); }
.slider-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.slider-btn:disabled:hover { background: var(--panel); color: var(--ink); border-color: var(--line-strong); transform: none; box-shadow: var(--shadow-xs); }

.slider-dots { display: flex; gap: 8px; }

/* Slick generates a <ul class="slick-dots"> inside #ecoDots — restyle its
   <li>/<button> to match the original dot design. */
#ecoDots.slick-dots {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#ecoDots.slick-dots li {
  width: auto; height: auto;
  margin: 0;
  line-height: 0;
}
#ecoDots.slick-dots li button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line-strong);
  padding: 0;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: all .25s var(--ease-soft);
}
#ecoDots.slick-dots li button::before { content: none; }
#ecoDots.slick-dots li.slick-active button { background: var(--coral); width: 24px; border-radius: 5px; }

.card, .benefit {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px !important;
      margin: 10px 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.card::before, .benefit::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.card:hover, .benefit:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,30,75,0.2);
}
.card:hover::before, .benefit:hover::before { transform: scaleX(1); }
.benefit { text-align: center; }

.icon-tile {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease-out);
}
.card:hover .icon-tile, .benefit:hover .icon-tile { transform: rotate(-8deg) scale(1.06); }
.benefit .icon-tile { margin: 0 auto 20px; }
.icon-tile.blue { background: var(--blue-bg); color: var(--blue); }
.icon-tile.green { background: var(--green-bg); color: var(--teal); }
.icon-tile.coral { background: var(--coral-bg); color: var(--coral-dark); }
.icon-tile.amber { background: var(--amber-bg); color: var(--amber); }

.card h3, .benefit h3 { font-family: var(--font-display); margin: 0 0 10px; font-size: 1.2rem; letter-spacing: -0.01em; }
.card p, .benefit p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* why choose (image + list section) */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-media { position: relative; }
.why-media-glow {
  position: absolute;
  inset: -50px;
  z-index: -1;
  background:
    radial-gradient(circle at 25% 15%, rgba(255,76,96,0.20), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(52,104,246,0.16), transparent 55%);
  filter: blur(36px);
}
.why-media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--glass-border); display: block; width: 100%; height: 420px; object-fit: cover; }
.why-float-stat {
  position: absolute;
  top: 24px;
  right: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow-md);
}
.why-float-stat .material-symbols-outlined {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.why-float-stat strong { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.1; }
.why-float-stat span:last-child { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.quote-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 22px 24px 22px 30px;
  box-shadow: var(--shadow-md);
  position: absolute;
  bottom: -30px;
  left: -20px;
  max-width: 320px;
  margin: 0;
  border-left: 3px solid transparent;
  border-image: var(--grad-primary) 1;
}
.quote-mark {
  position: absolute;
  top: 2px; left: 14px;
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  color: var(--coral);
  opacity: 0.3;
}
.quote-card blockquote { margin: 0 0 10px; font-style: italic; font-weight: 600; position: relative; z-index: 1; }
.quote-card figcaption { color: var(--ink-soft); }

/* dedicated copy column for why-choose (kept separate from .rwc-text used by the tab widget) */
.why-copy h3 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 10px 0;
}
.why-copy h3 .why-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why-rule {
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-primary);
  margin: 18px 0 28px;
}
.why-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 26px;
}
.why-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
}
.why-trust-bullet {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px var(--coral-bg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.why-trust-item:hover .why-trust-bullet {
  transform: scale(1.25);
  box-shadow: 0 0 0 6px var(--coral-bg);
}
.icon-tile.sm {
 width: 50px;
    height: 50px;
    border-radius: 10px;
    font-size: 27px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.badge {
  display: inline-block;
  background: var(--grad-ink);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.feature-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; }
.feature-list .material-symbols-outlined {
  background: var(--coral-bg);
  border: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--coral-dark);
  flex-shrink: 0;
}
.feature-list h4 { margin: 0 0 6px; font-size: 1.02rem; }
.feature-list p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* features / tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
  border-bottom: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px;
  width: fit-content !important;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-xs);
}
.tab {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 12px 26px;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: var(--radius-pill);
  margin-bottom: 0;
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.tab.active { color: #fff; background: var(--grad-primary); box-shadow: var(--shadow-coral); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: rwc-fade .45s var(--ease-out); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.panel-card > .mono-tag { color: var(--coral-dark); display: block; margin-bottom: 18px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li, .mini-check li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.check-list .material-symbols-outlined, .mini-check .material-symbols-outlined { color: var(--teal); font-size: 20px; }

/* process — connected step rail */
.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 42px;
}
.rail-track {
  content: '';
  position: absolute;
  top: 20px;
  left: 16.666%;
  right: 16.666%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 7px, transparent 7px 15px);
  z-index: 1;
}
.rail-pulse {
  position: absolute;
  top: 19px;
  left: 16.666%;
  width: 9%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, transparent, var(--coral-dark), transparent);
  filter: drop-shadow(0 0 6px rgba(200, 30, 75, 0.55));
  z-index: 1;
  animation: railFlow 4.2s var(--ease-soft) infinite;
}
@keyframes railFlow {
  0%   { left: 16.666%; opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 74.666%; opacity: 0; }
}
.process-step { position: relative; height: 100%; display: flex; flex-direction: column; }
.process-node {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
    width: 60px;
    height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;

      font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--paper);
}
.process-node.blue { background: linear-gradient(140deg, #5c8bff, var(--blue)); }
.process-node.coral { background: var(--grad-primary); }
.process-node.green { background: linear-gradient(140deg, #1fd1b3, var(--teal)); }
.process-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px 28px 32px;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.process-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.process-card.blue::before { background: linear-gradient(90deg, #5c8bff, var(--blue)); }
.process-card.coral::before { background: var(--grad-primary); }
.process-card.green::before { background: linear-gradient(90deg, #1fd1b3, var(--teal)); }
.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.process-card:hover::before { transform: scaleX(1); }
.process-card .icon-tile { margin-bottom: 18px; margin-right:5px;}
.process-card h3 { font-family: var(--font-display); margin: 0 0 10px; font-size: 1.15rem; letter-spacing: -0.01em; }
.process-card p { color: var(--ink-soft); margin: 0; font-size: 1rem; line-height: 1.55; }
.mini-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 20px 0 10px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 6px 12px 6px 10px;
  border-radius: var(--radius-pill);
}
.chip::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--coral-dark);
  flex-shrink: 0;
}

/* timeline */
.timeline-section { background: transparent; padding: 60px 0 60px; }
.timeline-section .wrap {
  background: var(--grad-ink);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.timeline-section .wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 15% 0%, rgba(52,104,246,0.20), transparent 60%),
    radial-gradient(600px 280px at 85% 100%, rgba(255,76,96,0.20), transparent 60%);
  pointer-events: none;
}
.timeline-section .wrap > * { position: relative; z-index: 1; }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25) 15%, rgba(255,255,255,0.25) 85%, transparent);
}
.timeline-step { text-align: center; position: relative; }
.t-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: 4px solid #14161f;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #fff;
  box-shadow: var(--shadow-coral);
  position: relative;
  z-index: 1;
}
.timeline-step h4 { font-family: var(--font-display); margin: 0 0 8px;color:#fff; }
.timeline-step p { color: rgba(255,255,255,0.55); font-size: 1rem; margin: 0; }

/* Step-by-step reveal for the implementation timeline — each step (and its
   number circle) animates in one at a time, and the connecting line draws
   progressively behind them. Driven by .timeline-step.step-visible /
   .timeline.line-drawn, toggled in script.js via IntersectionObserver. */
.timeline-step {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1);
}
.timeline-step.step-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.timeline-step .t-num {
  transform: scale(0.4);
  transition: transform 0.5s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease;
}
.timeline-step.step-visible .t-num { transform: scale(1); }
.timeline::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(.22,1,.36,1);
}
.timeline.line-drawn::before { transform: scaleX(1); }

/* Sequential glow — one circle at a time, looping forever: W1 → W2 → W3 →
   W4 → repeat. Each .t-num shares one 8s keyframe cycle where it only
   glows during its own 2s "turn"; the four turns are offset via
   animation-delay so they never overlap. Only runs once the timeline has
   revealed (paired with .step-visible so it doesn't glow while hidden). */
.timeline-step.step-visible .t-num {
  animation: timelineGlowCycle 8s ease-in-out infinite;
}
.timeline-step:nth-child(1).step-visible .t-num { animation-delay: 0s; }
.timeline-step:nth-child(2).step-visible .t-num { animation-delay: 2s; }
.timeline-step:nth-child(3).step-visible .t-num { animation-delay: 4s; }
.timeline-step:nth-child(4).step-visible .t-num { animation-delay: 6s; }

@keyframes timelineGlowCycle {
  0%, 23%, 100% {
    box-shadow: var(--shadow-coral), 0 0 0 0 rgba(255,76,96,0), 0 0 0 0 rgba(255,76,96,0);
  }
  8% {
    box-shadow: var(--shadow-coral), 0 0 20px 6px rgba(255,76,96,0.5), 0 0 44px 16px rgba(255,76,96,0.24);
  }
  15% {
    box-shadow: var(--shadow-coral), 0 0 26px 9px rgba(255,76,96,0.6), 0 0 54px 20px rgba(255,76,96,0.3);
  }
}

/* faq */
.accordion { display: grid; gap: 14px; margin-top: 36px;    max-width: 960px;
    margin: 0 auto; }
.acc-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.acc-item:has(.acc-trigger[aria-expanded="true"]) {
  border-color: rgba(200,30,75,0.25);
  box-shadow: var(--shadow-sm);
}
.acc-item:hover {
  border-color: rgba(200,30,75,0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 24px 24px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
  gap: 16px;
  transition: color 0.25s var(--ease-soft), background 0.25s var(--ease-soft);
}
.acc-trigger:hover { color: var(--coral); background: rgba(200,30,75,0.04); }
.acc-trigger { -webkit-tap-highlight-color: transparent; }
.acc-trigger.active { background: rgba(200,30,75,0.08); }
.acc-trigger[aria-expanded="true"] { background: rgba(200,30,75,0.08);    color: var(--ink); }
.acc-trigger:focus,
.acc-trigger:active,
.acc-trigger:focus-visible { outline: none; background: rgba(200, 30, 75, 0.04); box-shadow: none; }
.acc-trigger .material-symbols-outlined {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-soft);
  color: #fff;
  background: var(--grad-primary);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.acc-trigger:hover .material-symbols-outlined { box-shadow: var(--shadow-coral); transform: scale(1.08); }
.acc-trigger[aria-expanded="true"] .material-symbols-outlined { transform: rotate(45deg); }
.acc-trigger[aria-expanded="true"]:hover .material-symbols-outlined { transform: rotate(45deg) scale(1.08); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-soft);
}
.acc-panel p { margin: 0; padding: 0 26px 24px; color: var(--ink-soft); line-height: 1.65; }
.acc-panel ul{margin:0 24px 24px 24px; padding:0px 0 0 24px;}
.acc-panel ul span{margin:0px 0 10px 0;; padding:0px; display:block; }
.acc-panel ul li { margin: 0; padding: 0 5px 5px; color: var(--ink-soft); line-height: 18px; }
/* final CTA */
.cta {
  background: var(--grad-ink);
  border-radius: var(--radius-xl);
  padding: 72px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta::before, .cta::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,76,96,0.28), transparent 70%);
}
.cta::before { top: -130px; right: -100px; }
.cta::after { bottom: -150px; left: -100px; background: radial-gradient(circle, rgba(52,104,246,0.22), transparent 70%); }
.cta > * { position: relative; z-index: 1; }

.cta-split {
  display: grid;
  grid-template-columns: 0.6fr 1.1fr;
  gap: 30px;
  align-items: center;
  text-align: left;
}
.cta-text .h2 { text-align: left; }
.cta-text .sub { text-align: left; margin: 16px 0 28px; max-width: 46ch; }
.cta-text .hero-actions { justify-content: flex-start; }

.cta-form {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--radius-xl);
  padding: 0px;
}
.cta-form h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0 0 20px;
}
.cta-form .form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
}
.cta-form-grid .form-row { margin-bottom: 16px; }
.cta-form-grid .form-row.full { grid-column: 1 / -1; }
.cta-form label {
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  font-weight: 600;
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #fff;
  transition: border-color 0.25s var(--ease-soft), background 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 4px rgba(255,76,96,0.18);
}
.cta-form textarea { resize: vertical; min-height: 84px; }
.cta-form-submit { width: 100%; margin-top: 4px; justify-content: center; }
.cta-form-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--coral);
  min-height: 1em;
}
.cta-form-note.success { color: #6fd19a; }

/* footer */
.footer {
  background: var(--grad-ink);
  padding: 30px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.footer-glow-1 { top: -180px; right: -120px; background: radial-gradient(circle, rgba(255,76,96,0.22), transparent 70%); }
.footer-glow-2 { bottom: -220px; left: -140px; background: radial-gradient(circle, rgba(52,104,246,0.16), transparent 70%); }
.footer .wrap { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-dark-border);
}

.footer-logo-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 10px 10px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.footer-logo-group:hover { transform: translateY(-3px); box-shadow: var(--shadow-coral); }

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.25s var(--ease-soft), opacity 0.25s var(--ease-soft);
}
.footer-logo-link:hover { transform: scale(1.05); opacity: 0.82; }
.footer-logo-link:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
.footer-logo-link img { height: 38px; width: auto; display: block; }

.footer-logo-divider {
  width: 1px;
  align-self: stretch;
  min-height: 32px;
  background: rgba(15, 15, 30, 0.14);
  flex-shrink: 0;
}

.footer-brand h4 { font-family: var(--font-display); margin: 0 0 14px; color: #fff; }
.footer-tagline { color: rgba(255,255,255,0.55); font-size: 0.92rem; line-height: 1.65; max-width: 34ch; margin: 22px 0 0; }

.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft),
    border-color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.social-row a span { display: block; transition: transform 0.3s var(--ease-soft); }
.social-row a:hover { background: var(--grad-primary); color: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-coral); }
.social-row a:hover span { transform: scale(1.15) rotate(-8deg); }

.footer h6 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 14px;
}
.footer h6::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
  transition: width 0.35s var(--ease-soft);
}
.footer-col:hover h6::after { width: 40px; }

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.footer-col ul li { position: relative; }
.footer-col ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255,255,255,0.72);
  font-size: 0.93rem;
  padding-left: 14px;
  transition: color 0.2s var(--ease-soft), padding-left 0.25s var(--ease-soft);
}
.footer-col ul a::before {
  content: '';
  position: absolute;
  left: -2px; top: 50%;
  width: 8px; height: 1.5px;
  background: var(--grad-primary);
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  transition: opacity 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.footer-col ul a:hover { color: #fff; padding-left: 18px; }
.footer-col ul a:hover::before { opacity: 1; transform: translateY(-50%) scaleX(1); }

/* contact list — icon + label rows with a glowing icon tile on hover */
.footer-contact { display: grid; gap: 2px; margin-top: -8px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 14px;
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.footer-contact-item > span:last-child { padding-top: 6px; word-break: break-word; }
.footer-contact-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft),
    border-color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.footer-contact-item:hover { background: var(--glass-dark-bg); color: #fff; transform: translateX(4px); }
.footer-contact-item:hover .footer-contact-icon { background: var(--grad-primary); border-color: transparent; color: #fff; transform: rotate(-8deg) scale(1.08); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom .copyright { color: rgba(255,255,255,0.4); margin:0 auto;    text-transform: capitalize !important; font-size:13px;}
.copyright a{ color: rgba(255,255,255,0.4); text-decoration: none; font-size:13px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { text-decoration: none; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--coral); }

/* back-to-top pill */
.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-dark-border);
  background: var(--glass-dark-bg);
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft),
    border-color 0.3s var(--ease-soft), transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.footer-top-link .material-symbols-outlined { font-size: 16px; transition: transform 0.3s var(--ease-soft); }
.footer-top-link:hover {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-coral);
}
.footer-top-link:hover .material-symbols-outlined { transform: translateY(-3px); }

/* ---------- reveal on scroll ---------- */
.reveal > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view > * { opacity: 1; transform: translateY(0); }
.reveal > *:nth-child(2) { transition-delay: 0.08s; }
.reveal > *:nth-child(3) { transition-delay: 0.16s; }
.reveal > *:nth-child(4) { transition-delay: 0.24s; }
.reveal > *:nth-child(5) { transition-delay: 0.32s; }
.reveal > *:nth-child(6) { transition-delay: 0.40s; }
.reveal > *:nth-child(7) { transition-delay: 0.48s; }
.reveal > *:nth-child(8) { transition-delay: 0.56s; }

.rwc-section { padding: 60px 0; background: transparent; position: relative;background: radial-gradient(60% 60% at 70% 20%, rgba(255, 76, 96, 0.28), transparent 70%), radial-gradient(50% 50% at 30% 80%, rgba(52, 104, 246, 0.22), transparent 70%), var(--coral-bg); }

.rwc-heading { text-align: center; margin-bottom: 52px; }
.rwc-heading h2 { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.015em; margin:0 0 16px 0; }
.rwc-heading p { color: var(--ink-soft); margin-top: 10px; font-size: 18px; }

.rwc-layout {
  display: flex;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ===== LEFT TAB LIST ===== */
.rwc-tabs-panel {
  width: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--panel-2);
  padding: 10px;
  gap: 4px;
}

.rwc-tab {
  position: relative;
  border: none;
  background: transparent;
  text-align: left;
  padding: 20px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  border-bottom: none;
  border-radius: var(--radius-md);
  transition: background .3s var(--ease-soft);
}

.rwc-tab .rwc-icon-ball {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  background: var(--coral-bg);
  color: var(--coral-dark);
  transition: background .3s var(--ease-soft), color .3s var(--ease-soft), transform .3s var(--ease-soft);
}
.rwc-tab:hover:not(.active) { background: rgba(12,14,19,0.04); }
.rwc-tab:hover:not(.active) .rwc-icon-ball { transform: scale(1.06); }

.rwc-tab .rwc-copy { display: flex; flex-direction: column; gap: 5px; }
.rwc-tab .rwc-copy h4 { font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--ink);margin:5px 0; }
.rwc-tab .rwc-copy span { font-size: 13px; color: var(--ink-soft); line-height: 1.3;font-weight: 600; }

.rwc-tab.active {
  background: var(--grad-primary);
  box-shadow: var(--shadow-coral);
}
.rwc-tab.active .rwc-icon-ball {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.rwc-tab.active .rwc-copy h4 { color: #fff; }
.rwc-tab.active .rwc-copy span { color: rgba(255,255,255,.85); }

/* notch removed in favor of full-pill active state */
.rwc-tab.active::after { display: none; }

/* ===== RIGHT CONTENT ===== */
.rwc-content-panel {
  flex: 1;
  padding: 30px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rwc-content { display: none; animation: rwc-fade .5s var(--ease-out); }
.rwc-content.active { display: block; }

.rwc-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.rwc-text h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 10px 0;
  text-align: left;
}
.rwc-text h3 .rwc-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rwc-rule {
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-primary);
  margin: 18px 0 20px;
}

.rwc-text > p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 24px;
}

.rwc-text .rwc-market-intro { margin-bottom: 12px; }
.rwc-text .chip-row { margin-bottom: 4px; }
.rwc-text .rwc-tagline {
  margin: 22px 0 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: none;
}

.rwc-text ul { list-style: none; display: flex; flex-direction: column; gap: 14px;    padding-inline-start: 6px; }
.rwc-text ul.rwc-list-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 22px;
  row-gap: 12px;
}
#rwc-tab6 .rwc-text { max-width: 100%; }
.rwc-text li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.rwc-text li i {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* hero illustration */
.rwc-hero-art {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}
.rwc-art-globe {
  position: absolute;
  inset: 30px 10px 0 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #eef0f5 70%);
  box-shadow: inset -16px -16px 30px rgba(0,0,0,.08), 0 20px 40px -18px rgba(12,14,19,.25);
}
.rwc-art-globe i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: rgba(52,104,246,.28);
}
.rwc-art-plane {
  position: absolute;
  top: 36px;
  left: 18px;
  font-size: 64px;
  color: var(--coral);
  transform: rotate(-18deg);
  filter: drop-shadow(0 14px 18px rgba(200,30,75,.35));
}
.rwc-art-pin {
  position: absolute;
  bottom: 78px;
  left: 50%;
  font-size: 26px;
  color: var(--coral-dark);
}
.rwc-art-bags {
  position: absolute;
  bottom: 0;
  right: -6px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.rwc-art-bags i:first-child { font-size: 54px; color: #c3c6cd; }
.rwc-art-bags i:last-child { font-size: 64px; color: var(--coral-dark); }
.rwc-art-dots {
  position: absolute;
  top: 46%;
  left: -26px;
  display: grid;
  grid-template-columns: repeat(3,6px);
  gap: 6px;
}
.rwc-art-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); opacity: .6; }

/* ===== STATS ===== */
.rwc-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.rwc-stat-card {
  border-radius: var(--radius-lg);
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  transition: transform 0.3s var(--ease-out);
}
.rwc-stat-card:hover { transform: translateY(-4px); }
.rwc-stat-card.red { background: var(--grad-primary); box-shadow: var(--shadow-coral); }
.rwc-stat-card.pink { background: linear-gradient(135deg, var(--coral-dark), #7b1e6b); box-shadow: 0 20px 44px -16px rgba(123,30,107,0.38); }
.rwc-stat-card.grey { background: linear-gradient(135deg, #4b4f5c, #2a2d36); box-shadow: 0 20px 44px -16px rgba(42,45,54,0.38); }

.rwc-stat-card .rwc-stat-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: #fff;
}

.rwc-stat-card h5 { font-size: 26px; font-weight: 800; line-height: 1.1; font-family: var(--font-display);margin:10px 0; }
.rwc-stat-card p { font-size: 14px; opacity: .9; margin-top: 4px; }

/* pagination dots */
.rwc-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.rwc-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line-strong);
  cursor: pointer;
  padding: 0;
  transition: background .25s var(--ease-soft), width .25s var(--ease-soft);
}
.rwc-dots button.active {
  background: var(--coral);
  width: 26px;
  border-radius: 6px;
}

@keyframes rwc-fade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- scroll to top button ---------- */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-coral);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease-soft), transform 0.3s var(--ease-soft), visibility 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
  z-index: 60;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { box-shadow: var(--shadow-coral-lg); transform: translateY(-3px); }

.why-riya-section {
    position: relative;
    overflow: hidden;
}
.why-riya-section .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.section-title h2 span {
    color: var(--coral);
}

.section-title p {
    font-size: 20px;
    color: var(--ink-soft);
}

.features-grid {
    display: grid;
    gap: 24px;
        padding: 20px 0;
}

.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

.feature-card {
    position: relative;
    padding: 32px 28px;
    border-radius: var(--radius-xl);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.feature-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--coral));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin: 22px 0;
    color: var(--ink);
    letter-spacing: -0.01em;
}

/* Brand accent variants — reuses the site's blue / coral / teal / amber palette */
.feature-card.accent-blue   { --accent: var(--blue);       --accent-bg: var(--blue-bg); }
.feature-card.accent-coral  { --accent: var(--coral-dark); --accent-bg: var(--coral-bg); }
.feature-card.accent-teal   { --accent: var(--teal);       --accent-bg: var(--green-bg); }
.feature-card.accent-amber  { --accent: var(--amber);      --accent-bg: var(--amber-bg); }

.icon-box {
    width: 66px;
    height: 66px;
    border-radius: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-bg);
    color: var(--accent);
    font-size: 24px;
    transition: all 0.4s var(--ease-out);
}

.feature-card:hover .icon-box {
    transform: rotate(-8deg) scale(1.08);
    background: var(--accent);
    color: #fff;
}

/* =========================
   List
========================= */
.feature-card .feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    gap: 0;
}

.feature-card .feature-list li {
    position: relative;
    padding: 12px 15px 12px 42px;
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
    background: var(--panel-2);
    color: var(--ink-soft);
    font-size: 0.94rem;
    transition: all 0.25s var(--ease-soft);
    display: block;
    font-weight: 600;
}

.feature-card .feature-list li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    top: 12px;
    color: var(--teal);
    font-weight: bold;
}

.feature-card .feature-list li:hover {
    background: var(--accent-bg);
    color: var(--ink);
    transform: translateX(6px);
}

/* =========================
   Animation
========================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   2026 SCROLL-BASED ANIMATION SYSTEM
   Lightweight, dependency-free, IntersectionObserver-driven reveal system.
   Works via [data-anim] + [data-anim-stagger] attributes (see js/scroll-animations.js).
   Fully additive — does not alter any existing selector, class or ID.
   ========================================================================== */

[data-anim] {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-duration: 0.85s;
  transition-timing-function: var(--ease-out);
  transition-delay: var(--anim-delay, 0s);
  will-change: transform, opacity;
}

[data-anim="fade-up"]     { transform: translate3d(0, 52px, 0); }
[data-anim="fade-down"]   { transform: translate3d(0, -40px, 0); }
[data-anim="fade-left"]   { transform: translate3d(56px, 0, 0); }
[data-anim="fade-right"]  { transform: translate3d(-56px, 0, 0); }
[data-anim="zoom-in"]     { transform: scale(0.9); }
[data-anim="zoom-out"]    { transform: scale(1.08); }
[data-anim="fade"]        { transform: none; }
[data-anim="pop"]         { transform: scale(0.86) translate3d(0, 24px, 0); }
[data-anim="flip-up"]     {
  transform: perspective(900px) rotateX(14deg) translate3d(0, 30px, 0);
  transform-origin: 50% 100%;
}

[data-anim].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* image "wipe" reveal — used for hero/showcase imagery */
.img-reveal { position: relative; overflow: hidden; }
.img-reveal img {
  transform: scale(1.12);
  transition: transform 1.1s var(--ease-out);
}
.img-reveal.is-visible img { transform: scale(1); }
.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--panel);
  transform-origin: right;
  transform: scaleX(0);
  z-index: 2;
  pointer-events: none;
}
.img-reveal[data-anim]:not(.is-visible)::after { transform: scaleX(1); transform-origin: left; }
.img-reveal.is-visible::after {
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.9s var(--ease-out) 0.05s;
}

.anim-float-slow { animation: floaty 6.4s ease-in-out infinite; }

/* number counter pop-in support (used together with existing .stat-counter JS) */
[data-anim] .stat-counter,
[data-anim].stat { transition: transform 0.5s var(--ease-out); }

/* ================= GLOBAL FARES API ================= */

.gf-section { position: relative; overflow: hidden; }
.gf-section::before {
  content: '';
  position: absolute;
  top: -140px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,76,96,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.gf-section::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -160px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(52,104,246,0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.gf-section .wrap { position: relative; z-index: 1; }

/* header + audience chips */
.gf-header {  margin: 0 auto 20px; }
.gf-header .h2 { margin-bottom: 16px; }

.gf-audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}
.gf-audience-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
    font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 4px;
}
.gf-audience-tag {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
}

/* stat strip */
.gf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 48px 0;
}
.gf-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.gf-stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,76,96,0.25);
}
.gf-stat > .material-symbols-outlined {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--coral-bg);
  color: var(--coral-dark);
  font-size: 24px;
}
.gf-stat h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.1;
}
.gf-stat p {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* bento grid */
.gf-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.gf-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.gf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.gf-features h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 6px 0 12px;
  letter-spacing: -0.01em;
}
.gf-card-desc {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 10px;
}

.fare-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.fare-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.fare-item:hover { border-color: rgba(255,76,96,0.28); transform: translateY(-3px); }
.fare-item span {
  flex-shrink: 0;
  color: var(--coral-dark);
  background: var(--coral-bg);
  padding: 9px;
  border-radius: 12px;
  font-size: 20px;
  display: flex;
}
.fare-item p {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.35;
}

/* side column: revenue + coverage */
.gf-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gf-revenue {
  background: var(--grad-ink);
  color: #fff;
  border: none;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.gf-revenue::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,76,96,0.28), transparent 70%);
}
.gf-revenue-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  color: #ffc9b8;
  font-size: 24px;
  margin-bottom: 16px;
}
.gf-revenue h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 20px;
  line-height: 1.3;
  position: relative;
}
.gf-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
  position: relative;
}
.gf-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.9);
}
.gf-check-list .material-symbols-outlined {
  color: var(--coral);
  font-size: 19px;
  flex-shrink: 0;
}

.gf-coverage { padding: 28px; }
.gf-coverage h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.gf-coverage h4 .material-symbols-outlined { color: var(--coral-dark); }
.gf-coverage > p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.coverage-tags span {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--coral-bg);
  color: var(--coral-dark);
  font-weight: 700;
  font-size: 0.85rem;
}
.gf-coverage-more {
  margin: 16px 0 0 !important;
  font-size: 1rem !important;
  color: var(--ink-faint) !important;
  font-style: italic;
}

/* business benefits sub-head */
.gf-subhead { margin: 64px 0 32px; }
.gf-subhead h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 8px 0 0;
}

.gf-benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* business-benefits slider (Slick Slider) — same pattern as #ecoSlider:
   #gfBenefitSlider > .slick-list > .slick-track > .slick-slide > div > .benefit */
#gfBenefitSlider.slick-slider { display: block; }
#gfBenefitSlider .slick-list { margin: 0 -11px; overflow: hidden; }
#gfBenefitSlider .slick-track { display: flex; margin-left: 0; margin-right: 0; }
#gfBenefitSlider .slick-slide { height: auto; padding: 0 11px; }
#gfBenefitSlider .slick-slide > div { height: 100%; }
#gfBenefitSlider .slick-slide .benefit { height: 100%; margin: 0; }

/* keep sizing sane before Slick has initialized (no-JS / first paint) */
#gfBenefitSlider:not(.slick-initialized) .benefit { display: none; }
#gfBenefitSlider:not(.slick-initialized) .benefit:first-child { display: block; }

.gf-benefit-controls { margin-top: 32px; }

/* Slick generates a <ul class="slick-dots"> inside #gfBenefitDots — restyle
   its <li>/<button> to match the existing dot design used by #ecoDots. */
#gfBenefitDots.slick-dots {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#gfBenefitDots.slick-dots li {
  width: auto; height: auto;
  margin: 0;
  line-height: 0;
}
#gfBenefitDots.slick-dots li button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line-strong);
  padding: 0;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: all .25s var(--ease-soft);
}
#gfBenefitDots.slick-dots li button::before { content: none; }
#gfBenefitDots.slick-dots li.slick-active button { background: var(--coral); width: 24px; border-radius: 5px; }

/* partner CTA card */
.gf-partner-card {
  margin-top: 48px;
  text-align: center;
  background: linear-gradient(135deg,#fff7f8,#fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  box-shadow: var(--shadow-sm);
}
.gf-partner-icon {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--coral-bg);
  color: var(--coral-dark);
  font-size: 28px;
  margin-bottom: 18px;
}
.gf-partner-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 14px;
}
.gf-partner-card p {
  max-width: 960px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  line-height: 1.7;
}
  #rwc-tab1 {
    background:  url(../images/why-extensive-airline-content.png) no-repeat right center;
    background-size: contain;
    width: 100%;
    height: 100%;
    
} 
 #rwc-tab2 {
    background:  url(../images/why-comprehensive-fare-types.png) no-repeat right center;
    background-size: contain;
    width: 100%;
    height: 100%;
}  
 #rwc-tab3 {
    background:  url(../images/why-ancillary-services.png) no-repeat right center;
    background-size: contain;
    width: 100%;
    height: 100%;
}  
 #rwc-tab4 {
    background:  url(../images/why-global-hotel-content.png) no-repeat right center;
    background-size: contain;
    width: 100%;
    height: 100%;
}  
 #rwc-tab5 {
    background:  url(../images/why-dedicated-support.png) no-repeat right center;
    background-size: contain;
    width: 100%;
    height: 100%;
}  
 #rwc-tab6 {
    background: url(../images/why-global-fares-api.png) no-repeat right center;
    background-size: 50% 50%;
    width: 100%;
    height: 100%;
    background-position: 100% 50%;
}
#rwc-tab6 .rwc-text > p { margin-bottom: 14px; width:100% !important;     max-width: 100% !important;}
#rwc-tab6 .mini-label { margin: 14px 0 8px; }
#rwc-tab6 .rwc-text .rwc-tagline { margin-top: 16px; }
  .slick-dots{display:none !important;}
#rwc-tab6 .rwc-text ul.rwc-list-2col{width:62%;}

#rwc-tab6 .rwc-text li{    font-size: 14px;}
/* ---- ensure media never overflows on any breakpoint ---- */
img, video, svg { max-width: 100%; height: auto; }
.wrap, .hero-grid, .why-grid, .benefit-grid, .features-grid, .stats-grid, .footer-grid {
  min-width: 0;
}

.counter-heading {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin: 30px 0 14px;
}

.twoColumn .col {
    flex: 1 1;
    overflow-x: hidden;
}

/* ---------- DESKTOP / LARGE SCREENS ---------- */

@media (min-width: 1600px) {
  /* ---- large desktop / ultrawide: keep content comfortably centered ---- */
  .wrap { max-width: 1440px; }
  .nav-inner,
  .site-nav.is-scrolled .nav-inner { max-width: 1440px; }
}

@media (min-width: 769px) {
 .nav-inner { padding: 10px 14px 10px 22px; } 

  .site-nav.is-scrolled .nav-inner { padding: 8px 32px; }
}


/* ---------- LAPTOP ---------- */

@media (max-width: 1440px) {
    .hero-grid{grid-template-columns: 1.2fr 0.8fr;}
    .lede {    font-size: 1.2rem;}
}

@media (max-width: 1200px) {
  /* ---- small laptops / large tablets (gap between 992px rules and base) ---- */
  .wrap { padding: 0 20px; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 1100px) {

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% - 0px); left: 0px; right: 0px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
     padding: 0px 18px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    gap: 0px;
  }
  .site-nav.open .nav-links a { padding: 12px 14px; border-bottom: 1px solid rgba(0,0,0,0.12);  border-radius:0px; }
  .site-nav.open .nav-cta {
    display: block;
    position: absolute;
    top: calc(100% + 210px);
    left: 20px;
  }
  .nav-links {    margin-left: 0;}
  .slider-controls{margin-top:0px;}  
 .rwc-tab .rwc-icon-ball{display:none;}

}

@media (max-width: 1024px) {
  /* ---- tablets: tighten a few 4/3-column grids that stay at fixed columns above 992px ---- */
  .panel-grid { gap: 16px;}
  .nav-inner{    justify-content: space-between;}
  .site-nav.open .nav-cta{display:none;}
  .site-nav.open .nav-links{        background: #fff;}
  .nav-toggle{    padding: 15px;}
  .lede {
    font-size: 1.2rem;}
    #rwc-tab1, #rwc-tab2, #rwc-tab3, #rwc-tab4, #rwc-tab5, #rwc-tab6 {
    background: none !important;
}
.feature-card {    padding: 14px 14px;}
.feature-card h3{    font-size: 1.2rem;}
#rwc-tab6 .rwc-text ul.rwc-list-2col{    width: 100% !important;}
    .footer .wrap{    padding-bottom: 20px;}
    .footer-bottom{    padding-top: 10px!important;}
        .footer-logo-link img{height: auto;}
}


/* ---------- TABLET ---------- */

@media (max-width: 992px) {
  .hero-grid, .why-grid { grid-template-columns: 1fr; }
  .why-media { order: 2; margin-top: 0px; }
  .why-media img { height: 320px; }
  .why-copy { order: 1; }
  .benefit-grid, .process-rail { grid-template-columns: 1fr 1fr; }
  .rail-track, .rail-pulse { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .panel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .rwc-layout { flex-direction: column; border-radius: var(--radius-lg); }
  .rwc-tabs-panel { width: 100%; flex-direction: row; overflow-x: auto; background: var(--panel); padding: 14px; gap: 10px; }
  .rwc-tab { flex-direction: column; text-align: center; gap: 10px; padding: 8px 8px; border-radius: var(--radius-md); min-width: auto; }
  .rwc-tab .rwc-copy span { display: none; }
  .rwc-content-panel { padding: 24px; }
  .rwc-hero { flex-direction: column;   align-items: start; }
  .rwc-text li { justify-content: center; }
  .rwc-hero-art { margin-top: 10px; }
  .rwc-tab .rwc-copy h4{    font-size: 13px;}
  .rwc-text ul{    align-items: start;}
  #rwc-tab6 .rwc-text li{          justify-content: left;}
  #rwc-tab6 { background: none; }
  #rwc-tab6 .rwc-text { max-width: 100%; }
  .benefit-grid{gap: 0;  }
  .process-rail{    padding-top: 0px;}
      .lede {
        font-size: 1rem;
        text-align: justify;
    }
    
    .gf-card {    padding: 24px;}
.card, .benefit{padding: 24px !important;}
  /* =========================
   Tablet
========================= */
    .features-grid-4,
    .features-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card {
        padding: 24px;
    }
    .section-title h2 {
        font-size: 42px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

  .gf-stats { grid-template-columns: repeat(2, 1fr); }
  .gf-bento { grid-template-columns: 1fr; }
  .fare-feature-list { grid-template-columns: 1fr; }
  .gf-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-audience-label {    font-size: 0.8rem;}
  .hero-trust {
    display: block;    text-align: center;         margin: 10px 0;}
    .avatars, .mono-tag{display: none;   }
    .hero-audience-tag{    padding: 6px 6px;    font-size: 0.8rem;}
    .hero-card {position:relative;}
    .why-riya-section .container{padding: 0 0px;}
    .site-nav{    padding: 0px 0 0;}
    .footer-bottom .copyright {margin:20px auto; text-align: center; }
    .footer{    padding: 30px 0 0px;}
    .timeline-section{    padding: 8px 0 30px;}

}
@media (max-width: 991px) {
  .hero-grid {
    display: block;}
}

@media (max-width: 900px) {
  .cta-split { grid-template-columns: 1fr; gap: 36px; }
  .cta-text .h2, .cta-text .sub { text-align: center; }
  .cta-text .hero-actions { justify-content: center; }
}


/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  /* .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } */
  .stat + .stat::before { display: none; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat:last-child { border-right: none; }

  /* .stats-grid { grid-template-columns: 1fr 1fr; } */
  .stats .wrap.stats-grid { padding: 40px 24px; }
  .quote-card { position: static; margin-top: 18px; max-width: none; }
  .why-float-stat { margin: 0 0 -24px auto; width: fit-content; }
  .section { padding: 40px 0; }
  .section-rule { margin: 4px auto 28px; }
  .eyebrow { margin-bottom: 14px; }
  /* .hero-bg-panel { display: none; } */
 
  .hero-api-card { left: 14px; width: 180px; padding: 12px 14px 14px; }
  .timeline-section .wrap { padding: 44px 26px; }
  .hero-media img {width: 100%;
    margin: 0 auto;
    max-width: 50%;}

  .footer-logo-group { padding: 10px 10px; gap: 14px; }
  /* .footer-logo-link img { height: 34px; } */

}

@media (max-width: 767px) {
.site-nav.open .nav-cta{display:none;}
.process-card h3{font-size: 1.1rem;}
.hero {
    padding: 30px 0 30px;}
    .process-card {    padding: 32px 24px 32px;}
        .timeline-section .wrap {
        padding: 24px;
    }
    .cta {
        padding: 14px;
    }
    .rwc-section{    padding: 40px 0;}
    .features-grid{padding: 0px 0;}
    .display {    letter-spacing: 2px;}
      /* Mobile-only: 5 stats as 2 (row 1) + 3 (row 2) instead of a plain
         2-col grid, which left "Years Experience" stranded alone on its
         own row. A 6-track grid lets each row's items share equal width
         and stay aligned to the same gutters. */
      .stats-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 24px 12px;
      }
      .stats-grid .stat:nth-child(1),
      .stats-grid .stat:nth-child(2) { grid-column: span 3; }
      .stats-grid .stat:nth-child(3),
      .stats-grid .stat:nth-child(4),
      .stats-grid .stat:nth-child(5) { grid-column: span 2; }

      /* Dividers follow the new row layout: a line between the two
         row-1 items, and between each of the three row-2 items. */
      .stats-grid .stat:nth-child(odd) { border-right: none; }
      .stats-grid .stat:nth-child(1),
      .stats-grid .stat:nth-child(3),
      .stats-grid .stat:nth-child(4) { border-right: 1px solid rgba(255,255,255,0.12); }
      .stats-grid .stat:nth-child(2),
      .stats-grid .stat:nth-child(5) { border-right: none; }
      .hero-media img {width: 100%;
    margin: 0 auto;
    max-width: 100%;}
}

@media (max-width: 600px) {
  .gf-stats { grid-template-columns: 1fr; }
  .gf-benefit-grid { grid-template-columns: 1fr; }
  .gf-partner-card { padding: 40px 22px; }
}

@media (max-width: 576px) {
  .rwc-heading h2 { font-size: 30px; }
  .rwc-text h3 { font-size: 23px;margin:0; }
  .rwc-stats { grid-template-columns: 1fr; }
  .rwc-hero-art { width: 220px; height: 220px; }
  .rwc-art-plane { font-size: 46px; }
  .rwc-text ul.rwc-list-2col { grid-template-columns: 1fr; }
    .scroll-top { right: 16px; bottom: 16px; width: 46px; height: 46px; font-size: 20px; }
.acc-panel p{    padding: 14px 20px 14px;}
.acc-panel ul span{    margin: 10px 0 10px 0;}
.acc-trigger{padding: 20px;}
.cta-form {
        padding: 0px;
            border-radius:0px;
    }
  .rwc-text > p{font-size: 14px;    margin-bottom: 5px; }
  .rwc-tabs-panel{        padding: 5px 10px;}
  .rwc-content-panel {
        padding: 16px;
    }
    .rwc-rule {    margin: 10px 0 10px;}
    #rwc-tab6 .mini-label {
    margin: 8px 0 8px;
}
.rwc-text ul{        margin: 0;}
  /* =========================
   Mobile
========================= */
  

    .features-grid-4,
    .features-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .icon-box {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }
    .ty-section{    padding: 20px 20px 0px;}
    .ty-next {
    margin-top: 20px;}
}

@media (max-width: 560px) {
  .cta-form-grid { grid-template-columns: 1fr; column-gap: 0; }

  .benefit-grid, .process-rail { grid-template-columns: 1fr; }
  .why-trust-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }

  .tabs { flex-wrap: wrap; width: auto; }
}

@media (max-width: 480px) {
  /* ---- small phones (covers gap between 560/576px rules and 400px) ---- */
  .wrap { padding: 0 16px; }
  .display { font-size: clamp(2rem, 8vw, 2.6rem); }
  .h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .btn { padding: 13px 22px; font-size: 0.88rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-title h2 { font-size: 26px; }
  .section-title p { font-size: 15px; }
  .rwc-tab { min-width: auto; padding: 8px 8px; }
  .scroll-top { width: 42px; height: 42px; font-size: 18px; right: 14px; bottom: 14px; }

  .footer-logo-group { padding: 10px 10px; gap: 10px; border-radius: 12px; }
  /* .footer-logo-link img { height: 28px; } */
  .footer-logo-divider { min-height: 24px; }
}

@media (max-width: 375px) {
  /* ---- very small phones ---- */
  .wrap { padding: 0 14px; }
  .display { font-size: clamp(1.8rem, 9vw, 2.2rem); }
  .rwc-stats { gap: 10px; }
  .chip-row { gap: 6px; }
  .feature-card { padding: 20px 16px; }
  .icon-box { width: 50px; height: 50px; font-size: 20px; }
}

@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
  /* ---- short / landscape mobile viewports: reduce vertical rhythm ---- */
  .hero { padding: 32px 0; }
  .section, .rwc-section, .timeline-section { padding-top: 40px; padding-bottom: 40px; }
  .site-nav { padding-top: 8px; }
}


/* ---------- ACCESSIBILITY & INPUT ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .display .word-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }

  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
  }
  .img-reveal img { transform: none !important; }
  .img-reveal::after { display: none !important; }
}

@media (hover: none) and (pointer: coarse) {
  /* ---- comfortable min touch-target sizing on touch devices ---- */
  .nav-toggle, .slider-btn, .scroll-top, .acc-trigger, .tab, .rwc-tab { min-height: 44px; }
}

@media (max-width: 768px) {
  /* ---- disable scroll-reveal [data-anim] animations on mobile only ---- */
  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
  }
  .img-reveal img { transform: none !important; }
  .img-reveal::after { display: none !important; }
}
/* ==========================================================================
   THANK YOU PAGE (thank-you.html)
   ========================================================================== */

.ty-topbar {
  padding: 28px 0 0;
  text-align: center;
}
.ty-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ty-brand img { height: 46px; width: auto; display: block; }

/* ---------- hero / confirmation section ---------- */
.ty-section {
  padding: 30px 20px 30px;
  display: flex;
  justify-content: center;
}

.ty-card {
  max-width: 900px;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 64px 56px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ty-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-primary);
}

/* signature moment: a checkmark that draws itself in, ringed by
   a soft pulse — echoes the site's existing "live" pulse motif */
.ty-badge-wrap {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 30px;
}
.ty-badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--coral-bg);
  animation: tyRing 2.2s var(--ease-soft) infinite;
}
@keyframes tyRing {
  0% { transform: scale(0.86); opacity: .9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.ty-badge {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: var(--shadow-coral-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ty-badge svg { width: 54px; height: 54px; }
.ty-badge path {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: tyDraw 0.7s var(--ease-out) 0.35s forwards;
}
@keyframes tyDraw { to { stroke-dashoffset: 0; } }

.ty-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--coral-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  background: var(--coral-bg);
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-pill);
}
.ty-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,76,96,0.18); }

.ty-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.ty-card h1 .hl {
  background: linear-gradient(100deg, var(--coral) 0%, var(--coral-dark) 35%, #7b1e6b 55%, var(--coral-dark) 75%, var(--coral) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hlShimmer 8s ease-in-out infinite;
}

.ty-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 46ch;
  margin: 0 auto;
}
.ty-lead strong { color: var(--ink); font-weight: 700; }

/* reference chip — small trust/delight touch, feels like a real
   confirmation receipt rather than a generic "thanks" screen */
.ty-ref {
  margin: 28px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 10px 9px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.ty-ref b { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }
.ty-ref button {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coral-dark);
  background: var(--coral-bg);
  border: none;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s var(--ease-soft), background 0.25s var(--ease-soft);
}
.ty-ref button:hover { background: var(--coral); color: #fff; transform: translateY(-1px); }
.ty-ref button.copied { background: var(--green-bg); color: var(--teal); }

/* ---------- what happens next ---------- */
.ty-next {
  margin-top: 30px;
  text-align: left;
}
.ty-next h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  margin: 0 0 22px;
}
.ty-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ty-next-item {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: left;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.ty-next-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: rgba(200,30,75,0.2); }
.ty-next-item .icon-tile { margin-bottom: 14px; width: 46px; height: 46px; font-size: 21px; border-radius: 13px; }
.ty-next-item h6 { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; margin: 0 0 6px; }
.ty-next-item p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- actions ---------- */
.ty-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------- trust strip below the card ---------- */
.ty-trust {
  max-width: 900px;
  margin: 22px auto 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 28px;
  overflow: hidden;
}
.ty-trust::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-cool);
  opacity: 0.9;
}
.ty-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  padding: 4px 6px;
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-out);
}
.ty-trust-item:hover { transform: translateY(-3px); }
.ty-trust-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  transition: transform 0.35s var(--ease-out);
}
.ty-trust-item:hover .ty-trust-icon { transform: scale(1.08) rotate(-6deg); }
.ty-trust-icon.coral { background: var(--coral-bg); color: var(--coral-dark); }
.ty-trust-icon.blue { background: var(--blue-bg); color: var(--blue); }
.ty-trust-icon.green { background: var(--green-bg); color: var(--teal); }
.ty-trust-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ty-trust-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ty-trust-text span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ty-trust-divider {
  flex: 0 0 auto;
  width: 1px;
  align-self: center;
  height: 38px;
  background: var(--line-strong);
}

@media (max-width: 700px) {
  .ty-trust-text strong, .ty-trust-text span { white-space: normal; }
}
@media (max-width: 560px) {
  .ty-trust {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 22px 22px;
  }
  .ty-trust-divider { width: 100%; height: 1px; }
  .ty-trust-item:hover { transform: none; }
  .ty-lead {
    font-size: 1rem;}
}

/* ---------- ambient background glows, matching body pattern ---------- */
.ty-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(10px);
}
.ty-glow-1 { top: -140px; right: -160px; background: radial-gradient(circle, rgba(255,76,96,0.14), transparent 65%); }
.ty-glow-2 { bottom: -180px; left: -160px; background: radial-gradient(circle, rgba(52,104,246,0.12), transparent 65%); }

@media (max-width: 768px) {
  .ty-card { padding: 46px 24px 40px; border-radius: var(--radius-lg); }
  .ty-next-grid { grid-template-columns: 1fr; }
  .ty-actions .btn { width: 100%; justify-content: center; }

  .ty-badge-wrap, .ty-badge-ring, .ty-badge { width: 84px; height: 84px; }
  .ty-badge-wrap { margin: 0 auto 22px; }
  .ty-badge svg { width: 40px; height: 40px; }
  .ty-badge path { stroke-width: 5.5; }
}

@media (max-width: 480px) {
  .ty-badge-wrap, .ty-badge-ring, .ty-badge { width: 64px; height: 64px; }
  .ty-badge-wrap { margin: 0 auto 18px; }
  .ty-badge svg { width: 30px; height: 30px; }
  .ty-badge path { stroke-width: 6; }
}