/* ============================================================
   GoldSense — AI-powered gold verification · page styles
   Built from Figma "Gold Sense Landing page" (desktop 2419:6052)
   + mobile "RamMudra/GoldSense" (2419:6804). Reuses the shared
   tokens, navbar, footer and .faq/.reveal helpers in styles.css.
   Prefix: .gs-   ·   Body class: .gs
   ============================================================ */

.gs { background: #fff; }

/* .gs-gold (gold gradient text helper) now lives in styles.css — shared with
   the RamMudra/Elanzia Voices sections */

.gs .serif-h { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* shared eyebrow chip (glass on the hero, grey on white sections) */
.gs-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 32px;
  background: #eeeef1;
  color: var(--neutral-900);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* the white primary + glass secondary buttons used in hero / CTA rows */
.gs .btn-arrow { gap: 10px; }
.gs .btn-arrow .ico { width: 16px; height: 16px; flex: none; }

/* ============================================================
   1 · HERO
   ============================================================ */
.gs-hero {
  position: relative;
  min-height: 840px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  /* Photographic hero fill (device verifying a gold bangle). Drop the exact
     Figma export in as assets/img/goldsense/hero-bg.jpg and it takes over; the
     dark gold gradient below is the designed fallback until then. */
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(120,92,42,.55) 0%, rgba(0,0,0,0) 62%),
    linear-gradient(180deg, #14100b 0%, #0b0a08 55%, #100d09 100%);
}
.gs-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  overflow: hidden;            /* crops the oversized Vimeo iframe below to the hero */
  z-index: 0;
  /* poster fallback = the video's own first frame (exported to WebP), shown until
     the Vimeo iframe paints or if it fails to load; the playing video hides it */
  background: url("/assets/img/goldsenseAssets/goldsense-hero-banner.webp") center / cover no-repeat;
}
/* the fill is now a Vimeo background iframe (background=1). Size it like the old
   <video>'s object-fit:cover: match the video's native 1758x1080 (~16:10) so it
   never pillarboxes, grow to the larger of the hero's width/height, centre, then
   let the parent crop the overflow. pointer-events off so it stays purely
   decorative, exactly like the muted loop it replaced. */
.gs-hero__video iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: auto; height: auto;
  min-width: 100%; min-height: 100%;
  aspect-ratio: 1758 / 1080;
  border: 0;
  pointer-events: none;
}
/* darkening washes so the white type always reads over the photo */
.gs-hero__wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(0,0,0,.3) 0%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,.72) 100%);
}
.gs-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 150px 24px 120px;
  max-width: 960px;
}
.gs-hero__pill {
  color: #fff;
  background: rgba(255,255,255,.25);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.gs-hero__wordmark { width: 388px; max-width: 78vw; height: auto; }
.gs-hero__copy { display: flex; flex-direction: column; gap: 8px; max-width: 887px; }
.gs-hero__title {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 78px;
  letter-spacing: .96px;
}
.gs-hero__sub {
  color: var(--neutral-100, #f9f9fb);
  font-size: 16px;
  line-height: 24px;
}
.gs-hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.gs-hero .btn-glass {
  background: rgba(255,255,255,.11);
  border: .8px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--neutral-100, #f9f9fb);
}
/* Figma's bottom wave — crisp white edge fading up into the hero */
.gs-hero__wave {
  position: absolute;
  left: -2px; bottom: -4px;
  width: calc(100% + 4px);
  max-width: none;
  height: auto;
  z-index: 3;
  pointer-events: none;
  transform: scale(1.08);
  transform-origin: center bottom;
}

/* ============================================================
   2 · WHAT IS GOLDSENSE  (product photo + 3 features)
   ============================================================ */
.gs-what {
  padding: 100px 160px 140px;
  text-align: center;
}
.gs-what__head { max-width: 637px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.gs-what__copy { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.gs-what__title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 56px;
  letter-spacing: .01em;
  color: var(--neutral-900);
}
.gs-what__sub { font-size: 16px; line-height: 24px; color: var(--neutral-600, #606070); }
.gs-shot {
  position: relative;
  width: 100%;
  max-width: 514px;
  aspect-ratio: 514 / 360;
  margin: 60px auto 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f3f5;
  display: grid;
  place-items: center;
}
.gs-shot::before {                          /* soft grey glow behind the product */
  content: "";
  position: absolute;
  width: 130%; height: 130%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(214,186,129,.25), transparent 70%);
}
.gs-shot .gs-shot__glow {                   /* Figma "Ellipse 7674" glow asset — layered above the CSS fallback glow above; higher specificity than .gs-shot img below */
  position: absolute;
  width: 143%; height: 137.5%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}
.gs-shot img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.gs-features {
  max-width: 1120px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}
.gs-feature { display: flex; flex-direction: column; align-items: center; gap: 0px; }
.gs-feature__icon { width: 56px; height: 56px; object-fit: contain; }
.gs-feature__title { font-size: 22px; line-height: 31px; color: var(--neutral-900); }
.gs-feature__desc { font-size: 15px; line-height: 22px; color: var(--neutral-600, #606070); max-width: 300px; }

/* ============================================================
   3 · COMPARISON MATRIX
   ============================================================ */
.gs-compare {
  padding: 100px 40px 96px;
  text-align: center;
}
.gs-compare__head { max-width: 1041px; margin: 0 auto 56px; }
.gs-compare__title {
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.2;
  color: var(--neutral-900);
}
.gs-compare__sub { margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--neutral-600, #606070); }

.gs-matrix {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 286px 286px;
  gap: 0 20px;
  justify-content: center;
  /* bottom-align so the label column's rows line up with the card rows, which
     sit below the taller photo + title header — equal row heights do the rest */
  align-items: end;
}
/* off-canvas <symbol> carrier — must never take layout space */
.gs-mark-defs { position: absolute; width: 0; height: 0; }
/* left row-label column, aligned to the value rows in each card */
.gs-matrix__labels {
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--neutral-700, #3D3D4D);
  font-size: 16px; line-height: 24px;
}
/* grid (not flex) so the label text gets the full column width and wraps
   naturally instead of collapsing to its min-content width */
.gs-matrix__labels span { display: grid; align-items: center; height: 65px; }

.gs-col {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--neutral-200, #EEEEF1);
}
/* the GoldSense card carries a soft cream wash so it reads as the premium
   path; the traditional card stays plain white */
.gs-col--gold {
  border-color: rgba(207,179,141,.4);
  background: linear-gradient(180deg, #fbf6e8 0%, #f2e5c6 100%);
}
.gs-col__title {
  margin: 0;
  padding: 16px 16px 14px;
  text-align: center;
  font-size: 24px; line-height: 30px;
  color: var(--neutral-700, #3D3D4D);
}
.gs-col--gold .gs-col__title { color: #CFB38D; }
/* full-bleed photo above the title */
.gs-col__photo { height: 180px; background: #ececef; }
.gs-col__photo img { width: 100%; height: 100%; object-fit: cover; }
/* panel holds the check/cross rows, divided by hairlines; transparent so the
   gold card's wash shows through */
.gs-col__panel { background: transparent; padding: 0 16px; }
.gs-col__list { display: flex; flex-direction: column; }
.gs-col__list span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 65px;
  border-bottom: 1px solid var(--neutral-200, #EEEEF1);
}
.gs-col__list span:last-child { border-bottom: 0; }
/* mobile-only label prefix, hidden on desktop */
.gs-col__list span b { display: none; }

/* check / cross glyphs — green check = capability present, grey cross = absent
   (same green in both columns, per the Figma spec) */
/* fill/stroke live on the <svg> itself, not the path: they're inherited SVG
   properties, so they cross into the <use> shadow tree that a `.gs-mark path`
   selector cannot reach */
.gs-mark {
  width: 24px; height: 24px; display: block; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.gs-mark--no { color: var(--neutral-400, #AEAEBA); }   /* grey cross */
.gs-mark--yes { color: #26741E; }                       /* green check */

/* ============================================================
   3.5 · WHY GOLDSENSE  (gold band + icon-card carousel)
   Curved top/bottom edges reuse the SAME white-cap PNG vectors as
   index.html: Vector 1344.png at the top, vector-1343-wave.png at
   the bottom (.wave-top / .wave-bottom technique in styles.css).
   ============================================================ */
.gs-why {
  position: relative;
  overflow: hidden;
  padding: 120px 0 128px;
  text-align: center;
  background:
    url("/assets/img/goldsenseAssets/whyGD-bg.svg") center top / cover no-repeat;
}
.gs-why__curve-top,
.gs-why__curve-bottom {
  position: absolute; left: -2px;
  width: calc(100% + 4px); max-width: none; height: auto;
  z-index: 2; pointer-events: none;
  transform: scale(1.08);
}
.gs-why__curve-top { top: -1px; transform-origin: center top; }
.gs-why__curve-bottom { bottom: -2px; transform-origin: center bottom; }
.gs-why__head {
  position: relative; z-index: 3;
  max-width: 648px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.gs-why__pill { background: rgba(255,255,255,.75); color: #5c491f; }
.gs-why__title { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.25; color: #7e642a; }
.gs-why__sub { font-size: 16px; line-height: 24px; color: #7e642a; }
.gs-why__slider {
  position: relative; z-index: 3;
  margin-top: 96px;
}
.gs-why__track {
  display: flex; gap: 12px;
  padding: 4px 37px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.gs-why__track::-webkit-scrollbar { display: none; }
.gs-wcard {
  flex: 0 0 236px;
  scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  padding: 32px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,.32);
  border: 1px solid rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(13.5px);
  backdrop-filter: blur(13.5px);
}
.gs-wcard img { width: 72px; height: 72px; object-fit: contain; }
.gs-wcard span { font-size: 18px; line-height: 25px; color: #7e642a; }

/* ============================================================
   4 · DESIGNED FOR  (ring + copy)
   ============================================================ */
.gs-designed {
  padding: 120px;
  display: grid;
  grid-template-columns: 560px 1fr;
  align-items: center;
  gap: 96px;
  max-width: 1257px;
  margin: 0 auto;
}
.gs-ring {
  position: relative;
  width: 560px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
}
.ring {
  position: absolute;
  left: 50%; top: 50%;
  border: 1.4px solid rgba(158,130,74,.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotateRing 18s linear infinite;
}
/* sonar-ping pulse, same technique as .eco-pulse/@keyframes ecoPulse in
   styles.css: two echo rings at the same size that expand outward while
   fading. A half-cycle delay keeps them at opposite phases so there are
   always two rings on screen at once, one inside the other with a clear
   gap; the opacity floor stays well above 0 so the outer echo never fades
   to the point of reading as a single ring. */
.ring::before,
.ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.4px solid #d6ba81;
  animation: ringPulse 3.2s cubic-bezier(0,0,.58,1) infinite;
}
.ring-1 { width: 420px; height: 420px; }
.ring-1::before { animation-delay: 0s; }
.ring-1::after  { animation-delay: 1.6s; }
@keyframes ringPulse {
  0%   { opacity: .6;  transform: scale(1);   border-color: #d6ba81; border-width: 2.8px; }
  100% { opacity: .18; transform: scale(1.55); border-color: #f0e6d1; border-width: 1.4px; }
}
@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.gs-ring__glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 74%; height: 46%;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(214,186,129,.22), transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: .65; transform: translate(-50%, -50%) scale(1.08); }
}
.gs-ring__mark {
  position: absolute;
  left: 25.71%; top: 45.01%;
  width: 48.48%; height: auto;
}
.gs-ring__mark-tm {
  position: absolute;
  left: 72.55%; top: 44.17%;
  width: 1.65%; height: auto;
}
.gs-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200, #eeeef1);
  border-radius: 32px;
  box-shadow: 0 4px 6px rgba(0,0,0,.05);
  font-size: 15px;
  line-height: 22px;
  color: var(--neutral-900);
  white-space: nowrap;
}
.gs-chip .emo { font-size: 20px; line-height: 1; }
.gs-chip { animation: float 4s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes floatLab {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}
/* positions as a % of the 560px ring (Figma left/top on the 560 box) */
.gs-chip--banks { left: 23.4%;  top: 15.2%; animation-delay: 0s; }
.gs-chip--nbfcs { left: 67.3%;  top: 19.1%; animation-delay: .5s; }
.gs-chip--jewel { left: 74.6%;  top: 60.0%; animation-delay: 1s; }
.gs-chip--labs  { left: 47.86%; top: 83.6%; transform: translateX(-50%); animation: floatLab 4s ease-in-out infinite; animation-delay: 1.5s; }
.gs-chip--refin { left: 5.7%;   top: 57.1%; animation-delay: 2s; }

.gs-designed__copy { max-width: 440px; display: flex; flex-direction: column; gap: 40px; }
.gs-designed__copy .gs-eyebrow { align-self: flex-start; }
.gs-designed__text { display: flex; flex-direction: column; gap: 12px; }
.gs-designed__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.25; letter-spacing: .01em; color: var(--neutral-900); }
.gs-designed__title .gs-gold { display: block; }
.gs-designed__sub { font-size: 16px; line-height: 24px; color: var(--neutral-600, #606070); }

/* ============================================================
   4 · DESIGNED FOR — Gold Value Chain audiences (card row, Figma
   2504:4008). Five white cards in a row on desktop with a warm gold
   glow behind and gold "link" dots on the gaps (the value-chain
   metaphor); collapses to a 2·2·1 grid on mobile. Entrance uses the
   site's .reveal-stagger (Figma's spring fan-out doesn't govern it).
   ============================================================ */
.gs-chain {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 110px 40px 120px;
  text-align: center;
}
/* soft warm glow sitting behind the card row (Figma blurred gold ellipse) */
.gs-chain__glow {
  position: absolute;
  z-index: 0;
  left: 50%; top: 62%;
  transform: translate(-50%, -50%);
  width: min(1159px, 92%);
  height: 300px;
  border-radius: 9999px;
  background: #f0e6d1;              /* IGM Gold-100 per Figma */
  opacity: .5;
  filter: blur(120px);
  pointer-events: none;
}
.gs-chain__head {
  position: relative;
  z-index: 2;
  max-width: 816px;
  margin: 0 auto 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.gs-chain__headings {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.gs-chain__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.27;
  letter-spacing: .01em;
  color: var(--neutral-800, #232330);
}
.gs-chain__accent { display: block; color: #cfb38d; }   /* solid champagne per Figma */
.gs-chain__sub {
  max-width: 640px;
  font-size: 16px;
  line-height: 24px;
  color: var(--neutral-600, #606070);
}
.gs-chain__grid {
  position: relative;
  z-index: 2;
  max-width: 1108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.gs-chain-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.gs-chain-card__img {
  align-self: stretch;
  width: 100%;
  height: 88px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eeeef1;
  background: #f4f4f6;              /* fallback while the SVG loads */
}
.gs-chain-card__body { display: flex; flex-direction: column; gap: 8px; }
.gs-chain-card__body h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 31px;
  color: var(--neutral-800, #232330);
}
.gs-chain-card__body p {
  font-size: 14px;
  line-height: 20px;
  color: var(--neutral-600, #606070);
}
/* gold link-dot centred on each gap between adjacent cards (the "chain") */
.gs-chain-card + .gs-chain-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: -1px; top: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 2px;
  background: #f0e6d1;
  outline: 4px solid rgba(240, 230, 209, .45);
}

/* ---- entrance: the centre card (3rd) shows alone, then ~1s later the other
   four fan out from behind it — two to each side. goldsense.js adds
   .gs-chain--anim (so no-JS / reduced-motion users just see all five) and
   flips .is-fanned once the row scrolls into view. Desktop-only translateX
   below; mobile falls back to a plain staggered rise-in (2·2·1 layout). */
.gs-chain__grid.gs-chain--anim .gs-chain-card {
  opacity: 0;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1), opacity .55s ease;
}
.gs-chain__grid.gs-chain--anim.is-fanned .gs-chain-card { opacity: 1; transform: none; }
@media (min-width: 901px) {
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(3) { opacity: 1; }   /* centre first */
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(1) { transform: translateX(208%); }
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(2) { transform: translateX(104%); }
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(4) { transform: translateX(-104%); }
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(5) { transform: translateX(-208%); }
  /* outer pair trails the inner pair so the fan cascades outward */
  .gs-chain--anim.is-fanned .gs-chain-card:nth-child(2),
  .gs-chain--anim.is-fanned .gs-chain-card:nth-child(4) { transition-delay: .06s; }
  .gs-chain--anim.is-fanned .gs-chain-card:nth-child(1),
  .gs-chain--anim.is-fanned .gs-chain-card:nth-child(5) { transition-delay: .18s; }
}

/* ============================================================
   5 · VOICES OF GOLDSENSE
   The whole .gs-voices masonry (base styling + desktop auto-scroll +
   mobile "View More") now lives in styles.css so RamMudra and Elanzia
   share the exact same section. Nothing page-specific remains here.
   ============================================================ */

/* ============================================================
   6 · CTA
   ============================================================ */
.gs-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 124px;
  background:
    radial-gradient(55% 75% at 12% 15%, rgba(233,204,140,.5) 0%, rgba(255,255,255,0) 62%),
    #fff;
}
.gs-cta__sparkle {
  position: absolute; inset: 0;
  background: url("/assets/img/goldsenseAssets/cta-sparkle.webp") center / cover no-repeat;
  opacity: .4;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
  pointer-events: none;
}
.gs-cta__wave-top,
.gs-cta__wave-bottom {
  position: absolute; left: -2px;
  width: calc(100% + 4px); max-width: none; height: auto;
  z-index: 2; pointer-events: none;
  transform: scale(1.08);
}
.gs-cta__wave-top { top: -1px; transform-origin: center top; }
.gs-cta__wave-bottom { bottom: -1px; transform-origin: center bottom; }
.gs-cta__inner {
  position: relative;
  z-index: 3;
  max-width: 1192px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.gs-cta__text { max-width: 685px; display: flex; flex-direction: column; gap: 24px; }
.gs-cta__kicker { font-size: 30px; line-height: 40px; font-weight: 300; letter-spacing: -.02em; color: var(--neutral-900); }
.gs-cta__title { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.25; color: var(--neutral-900); }
.gs-cta__desc { font-size: 18px; line-height: 25px; color: var(--neutral-600, #606070); }
.gs-cta__inner .btn-dark { align-self: flex-start; }
.gs-cta__device { width: 452px; max-width: 42vw; height: auto; }

/* ============================================================
   7 · FAQ  (dark — Figma: black band, white serif-italic questions)
   ============================================================ */
.gs-faq {
  position: relative;
  padding: 90px 40px 110px;
  background: #050507;
  overflow: hidden;
}
/* white dome fading into the black FAQ (Vector 1344 export) */
.gs-faq__wave-top {
  position: absolute; top: -1px; left: -2px;
  width: calc(100% + 4px); max-width: none; height: auto;
  z-index: 2; pointer-events: none;
}
.gs-faq__inner { position: relative; z-index: 3; max-width: 1000px; margin: 20px auto 0; }
.gs-faq__head { text-align: center; margin-bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.gs-faq__eyebrow { background: rgba(255,255,255,.1); color: #fff; }
.gs-faq__title { font-size: clamp(24px, 3vw, 34px); line-height: 1.3; color: #fff; font-weight: 300; font-style: italic; }
.gs-faq__list { border-top: 1px solid rgba(255,255,255,.12); }
.gs-faq .faq { border-bottom: 1px solid rgba(255,255,255,.12); }
.gs-faq .faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  color: #fff;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
}
.gs-faq .faq summary::-webkit-details-marker { display: none; }
.gs-faq .faq summary::after { content: "⌄"; color: #9a9aa4; transition: transform .2s; flex: none; font-style: normal; }
.gs-faq .faq[open] summary::after { transform: rotate(180deg); }
.gs-faq .faq p { color: #aeaeba; font-size: 16px; line-height: 24px; padding: 0 0 20px; max-width: 900px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .gs-designed { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .gs-designed__copy { align-items: center; max-width: 520px; order: -1; }
  .gs-designed__copy .gs-eyebrow, .gs-cta__inner .btn-dark { align-self: center; }
  .gs-cta { padding: 90px 48px; }
}

@media (max-width: 900px) {
  /* comparison matrix stays a 3-column table on tablet, just narrower */
  .gs-matrix { max-width: 640px; grid-template-columns: 1fr 120px 120px; gap: 0 12px; }
  .gs-col__photo { height: 140px; }
  /* stack the CTA text+device as one flow: kicker, title, device photo,
     description, button — .gs-cta__text dissolves via display:contents so
     its children and .gs-cta__device can be reordered as one sequence */
  .gs-cta__inner { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .gs-cta__text { display: contents; }
  .gs-cta__kicker { order: 1; }
  .gs-cta__title { order: 2; }
  .gs-cta__device { order: 3; width: 160px; max-width: 42vw; margin: 4px auto 0; }
  .gs-cta__desc { order: 4; }
  .gs-cta__inner .btn-dark { order: 5; justify-self: center; }
  /* value-chain cards drop from a 5-across row to a 2·2·1 grid; the lone
     fifth card spans both columns and centres. No chain-dots when wrapped. */
  .gs-chain { padding: 88px 24px 96px; }
  .gs-chain__grid { grid-template-columns: 1fr 1fr; gap: 16px; max-width: 460px; }
  .gs-chain-card { padding: 28px 18px; gap: 22px; }
  .gs-chain-card + .gs-chain-card::before { display: none; }
  /* the fifth card spans the full width and shows a larger, image-forward
     photo (per image 3) */
  .gs-chain-card:last-child { grid-column: 1 / -1; }
  .gs-chain-card:last-child .gs-chain-card__img { height: 120px; }
  /* mobile choreography: card 1 sits centred alone first, then card 2 slides
     out from under it to complete the top row, then cards 3–5 rise in below.
     translateX 55% ≈ half a column-pitch, i.e. the container centre. */
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(1) { opacity: 1; transform: translateX(55%); }
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(2) { transform: translateX(-55%); }
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(3),
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(4),
  .gs-chain--anim:not(.is-fanned) .gs-chain-card:nth-child(5) { transform: translateY(30px); }
  /* reveal cascade after the centre card holds (JS delay): the 2nd card
     emerges, then the middle pair, then the full-width last card */
  .gs-chain--anim.is-fanned .gs-chain-card:nth-child(2) { transition-delay: .45s; }
  .gs-chain--anim.is-fanned .gs-chain-card:nth-child(3),
  .gs-chain--anim.is-fanned .gs-chain-card:nth-child(4) { transition-delay: .9s; }
  .gs-chain--anim.is-fanned .gs-chain-card:nth-child(5) { transition-delay: 1.15s; }
}

@media (max-width: 640px) {
  .gs-hero { min-height: 100svh; }
  .gs-hero__inner { padding: 120px 20px 90px; gap: 24px; }
  .gs-hero__wordmark { width: 66vw; }
  .gs-what { padding: 72px 20px; }
  .gs-features { grid-template-columns: 1fr; gap: 40px; }
  /* mobile comparison: tighter heading, then a compact 3-column table (labels +
     Traditional + GoldSense) with the photos dropped, per the Figma mobile frame */
  .gs-compare { padding: 100px 16px 140px; }
  .gs-compare__head { margin-bottom: 48px; }
  .gs-compare__title { font-size: 28px; line-height: 36px; }
  .gs-compare__sub { margin-top: 12px; font-size: 14px; line-height: 20px; }
  .gs-matrix { max-width: none; grid-template-columns: 1fr 93px 93px; gap: 0; }
  /* labels: grey, allowed to wrap to two lines; a bottom hairline continues the
     row divider across the label column (grid gap is 0 so the lines abut) */
  .gs-matrix__labels { font-size: 14px; line-height: 18px; color: var(--neutral-500, #8A8A97); }
  .gs-matrix__labels span {
    height: 72px; padding-right: 8px;
    border-bottom: 1px solid var(--neutral-200, #EEEEF1);
  }
  .gs-matrix__labels span:last-child { border-bottom: 0; }
  .gs-col__photo { display: none; }
  .gs-col__title { font-size: 16px; line-height: 22px; padding: 16px 4px; }
  .gs-col__panel { padding: 0; }
  .gs-col__list span { height: 72px; }
  .gs-mark { width: 20px; height: 20px; }
  /* only the GoldSense column keeps a panel outline on mobile; the traditional
     column sits flush on the white section */
  .gs-col { border-color: transparent; }
  .gs-col--gold { border-color: rgba(207,179,141,.4); }
  .gs-designed { padding: 56px 20px; }
  .gs-ring { width: 340px; }
  .ring-1 { width: 280px; height: 280px; }
  .gs-ring__mark { width: 150px; }
  .gs-chip { height: 40px; font-size: 13px; padding: 0 12px; }
  .gs-chain { padding: 64px 20px 80px; }
  .gs-chain__head { margin-bottom: 40px; gap: 24px; }
  .gs-chain-card { padding: 22px 14px; gap: 18px; }
  .gs-chain-card__body h3 { font-size: 20px; line-height: 28px; }
  .gs-cta { padding: 72px 20px; }
  .gs-cta__kicker { font-size: 24px; }
  .gs-faq { padding: 64px 20px 90px; }
  .gs-faq .faq summary { font-size: 22px; line-height: 24px; }
  .gs-why { padding: 88px 0 92px; }
  .gs-why__slider { margin-top: 64px; }
  .gs-why__track { padding: 4px 20px; }
  .gs-wcard { flex-basis: 208px; padding: 28px 18px; }
  /* tuck the FAB into the corner as an icon-only bubble so it never covers copy */
  .gs-fab { right: 16px; bottom: 16px; padding: 15px; }
  .gs-fab__label { display: none; }
  .gs-fab__icon { font-size: 20px; }
}

/* ring chips scale with the ring on small screens */
@media (max-width: 480px) {
  .gs-ring { width: 300px; }
  .gs-chip--banks { left: 14%; }
  .gs-chip--refin { left: 0; }
  .gs-chip--jewel { left: 66%; }
}

@media (prefers-reduced-motion: reduce) {
  .ring, .gs-chip, .gs-ring__glow { animation: none; opacity: 1; }
  .ring::before, .ring::after { animation: none; opacity: 0; }
  .gs-fab { animation: none; }
}

/* "Book a Demo" popup — the partner form's Additional-details field dropped into
   a modal. Reuses partner.css's .pform-success shell + .field styling; these
   overrides only widen the card and switch it from the success dialog's centred
   layout to a left-aligned form so the label + textarea span the full width. */
.gs-demo-card { max-width: 560px; align-items: stretch; text-align: left; gap: 28px; max-height: 90vh; overflow-y: auto; }
.gs-demo-form { display: flex; flex-direction: column; gap: 28px; }

/* Sticky demo launcher — a chat-bubble FAB pinned bottom-right, GoldSense only.
   Sits above the page but below the modal (.pform-success is z 1000+), and the
   label collapses to an icon-only pill on hover-out so it reads like a chat FAB.
   The soft breathing pulse draws the eye without the aggressive WhatsApp green;
   we stay on the page's champagne-gold gradient so it matches the hero CTAs. */
.gs-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: none; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 inherit; color: #1a1408; white-space: nowrap;
  background: var(--gold-grad, linear-gradient(100deg, #b9903f 0%, #e8cf8f 45%, #b9903f 100%));
  box-shadow: 0 10px 28px rgba(20, 16, 8, .28), 0 0 0 6px rgba(185, 144, 63, .16);
  transition: transform .35s var(--spring, cubic-bezier(.2,.9,.3,1.3)), box-shadow .35s ease;
  animation: gs-fab-pulse 2.6s ease-in-out infinite;
}
.gs-fab:hover { transform: translateY(-3px) scale(1.04); }
.gs-fab__icon { font-size: 18px; }

/* the champagne halo breathes outward; paused for reduced-motion users below */
@keyframes gs-fab-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(20,16,8,.28), 0 0 0 6px rgba(185,144,63,.16); }
  50%      { box-shadow: 0 10px 28px rgba(20,16,8,.28), 0 0 0 12px rgba(185,144,63,0); }
}
