/* ============================================================
   GOLDEN Sports-Apps — Brand stylesheet
   Black & Gold premium aesthetic · Open Sans
   ============================================================ */

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { background: #0A0A0A; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ----- Design tokens ----- */
:root {
  /* Color */
  --onyx:        #0A0A0A;
  --onyx-2:      #141414;
  --onyx-3:      #1C1C1C;
  --ink:         #0E0E0E;
  --ink-2:       #2A2A2A;
  --mute:        #6E6E6E;
  --mute-2:      #9A9A9A;
  --line:        rgba(0, 0, 0, 0.08);
  --line-dark:   rgba(255, 255, 255, 0.10);
  --champagne:   #F5F2EB;
  --offwhite:    #FAFAF8;
  --bg:          #FFFFFF;

  --gold:        #D4AF37;
  --gold-light:  #F0D984;
  --gold-mid:    #E0BF5E;
  --gold-dark:   #B8862A;
  --gold-grad:   linear-gradient(180deg, #F0D984 0%, #D4AF37 45%, #B8862A 100%);
  --gold-grad-h: linear-gradient(90deg, #F0D984 0%, #D4AF37 50%, #B8862A 100%);
  --gold-text-grad: linear-gradient(180deg, #F2DD8A 0%, #D4AF37 60%, #B8862A 100%);

  /* Type scale (Apple-ish) */
  --fs-display: clamp(44px, 7.6vw, 96px);
  --fs-h1:      clamp(38px, 5.6vw, 72px);
  --fs-h2:      clamp(30px, 4.2vw, 56px);
  --fs-h3:      clamp(22px, 2.4vw, 32px);
  --fs-h4:      clamp(18px, 1.6vw, 22px);
  --fs-lead:    clamp(17px, 1.4vw, 21px);
  --fs-body:    17px;
  --fs-small:   14px;
  --fs-micro:   12px;

  /* Spacing */
  --pad-x:    clamp(20px, 5vw, 64px);
  --pad-sec:  clamp(80px, 10vw, 160px);
  --max:      1280px;
  --max-wide: 1440px;
  --radius:   18px;
  --radius-s: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Utilities ----- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.container-wide { width: 100%; max-width: var(--max-wide); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--pad-sec); padding-bottom: var(--pad-sec); background: #FFFFFF; }
.section-tight { padding-top: clamp(64px, 7vw, 110px); padding-bottom: clamp(64px, 7vw, 110px); background: #FFFFFF; }
.dark { background: var(--onyx); color: #fff; }
.cream { background: var(--champagne); }
.offwhite { background: var(--offwhite); }
.center { text-align: center; }

.eyebrow {
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mute);
  display: inline-block;
}
.dark .eyebrow { color: var(--gold-mid); }

.gold-text {
  background: var(--gold-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; line-height: 1.12; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.005em; line-height: 1.2; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); color: var(--mute); font-weight: 400; line-height: 1.5; max-width: 56ch; }
.dark .lead { color: rgba(255,255,255,0.72); }
.muted { color: var(--mute); }
.dark .muted { color: rgba(255,255,255,0.6); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  /* Antique-gold gradient — clearly visible top-to-bottom shift */
  background: linear-gradient(180deg, #D8A838 0%, #8E6418 100%);
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
}
.btn-gold:hover {
  background: linear-gradient(180deg, #E4B442 0%, #9C7020 100%);
}
.btn-gold:active {
  background: linear-gradient(180deg, #A07820 0%, #7A5414 100%);
}

.btn-ghost-dark {
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }

.btn-ghost {
  border: 1px solid rgba(0,0,0,0.14);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.3); }

.btn-text {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-text::after { content: "→"; transition: transform .25s var(--ease); }
.btn-text:hover::after { transform: translateX(4px); }
.dark .btn-text { color: var(--gold-mid); }

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.0);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .25s var(--ease);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0;
}
/* Sub-pages have no dark hero behind the navbar — always render solid */
body.subpage .nav {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.2));
  transition: height .25s var(--ease);
}
.nav.scrolled .nav-logo img { height: 36px; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #D8A838 0%, #8E6418 100%);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #E4B442 0%, #9C7020 100%);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  inset: 60px 0 auto 0;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(-110%);
  transition: transform .4s var(--ease);
  padding: 30px var(--pad-x) 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.nav-drawer a { color: #fff; font-size: 22px; font-weight: 600; }

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 70% 40%, #1a1a1a 0%, #050505 70%);
  color: #fff;
  padding-top: 110px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(212,175,55,0.12), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(212,175,55,0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero-rating .stars {
  color: var(--gold-light);
  letter-spacing: 0.1em;
  font-size: 15px;
  text-shadow: 0 1px 8px rgba(212,175,55,0.4);
}
.hero-rating .rating-text { white-space: nowrap; }
@media (max-width: 520px) {
  .hero-rating { flex-wrap: wrap; gap: 8px; }
  .hero-rating .rating-text { white-space: normal; font-size: 13px; }
}

.hero-headline {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin-bottom: 28px;
}
.hero-headline span { display: block; }
.hero-sub {
  font-size: var(--fs-lead);
  color: rgba(255,255,255,0.72);
  max-width: 52ch;
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 60vh;
}
.hero-visual .hero-phone {
  max-height: 78vh;
  width: auto;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55)) drop-shadow(0 10px 20px rgba(212,175,55,0.10));
  transform: translateZ(0);
}
.hero-visual .hero-phone-front {
  position: relative;
  z-index: 2;
  transform: translateY(var(--p-front, 0px)) translateX(-22%);
  will-change: transform;
}
.hero-visual .hero-phone-back {
  position: absolute;
  z-index: 1;
  max-height: 66vh;
  transform: translateY(var(--p-back, 0px)) translate(70%, 4%) rotate(9deg);
  opacity: 0.95;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6)) drop-shadow(0 6px 16px rgba(212,175,55,0.12));
  will-change: transform;
}
@media (max-width: 980px) {
  .hero-visual { min-height: 56vh; }
  .hero-visual .hero-phone { max-height: 58vh; }
  .hero-visual .hero-phone-front { transform: translateY(var(--p-front, 0px)) translateX(-22%); margin: 0 auto; }
  .hero-visual .hero-phone-back { max-height: 48vh; transform: translateY(var(--p-back, 0px)) translate(75%, 4%) rotate(10deg); }
}
@media (max-width: 520px) {
  .hero-visual .hero-phone { max-height: 44vh; }
  .hero-visual .hero-phone-front { transform: translateY(var(--p-front, 0px)) translateX(-26%); }
  .hero-visual .hero-phone-back { transform: translateY(var(--p-back, 0px)) translate(78%, 4%) rotate(10deg); max-height: 36vh; opacity: 0.85; }
}
.hero-glow {
  position: absolute;
  inset: 10% -10% 10% -10%;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.25), transparent 65%);
  filter: blur(40px);
  z-index: -1;
}

/* ----- Marquee strip ----- */
.marquee-strip {
  background: var(--onyx-2);
  color: rgba(255,255,255,0.65);
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 38s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-track span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee-track .dot { color: var(--gold-mid); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----- Two-col content section ----- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split-reverse > :first-child { order: 2; }
.split-text h2 { margin-bottom: 24px; }
.split-text p { color: var(--mute); font-size: var(--fs-lead); margin-bottom: 16px; }
.dark .split-text p { color: rgba(255,255,255,0.7); }

.split-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }

/* AI tech section special — pose estimation */
.ai-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
  max-height: 760px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.18), 0 0 60px -20px rgba(212,175,55,0.25);
}
.ai-card .ai-video,
.ai-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-card .skeleton-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
/* Pose skeleton overlay */
.ai-card .pose-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.55));
  animation: poseBreathe 2.4s ease-in-out infinite;
}
.ai-card .pose-svg .joints circle { animation: jointPulse 1.8s ease-in-out infinite; }
.ai-card .pose-svg .joints circle:nth-child(2n) { animation-delay: .3s; }
.ai-card .pose-svg .joints circle:nth-child(3n) { animation-delay: .6s; }
@keyframes poseBreathe {
  0%, 100% { transform: translateY(0); opacity: 0.95; }
  50%      { transform: translateY(1.5%); opacity: 1; }
}
@keyframes jointPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.3); opacity: 1; transform-origin: center; }
}

/* Corner crosshair frames (camera-style) */
.ai-card .corner {
  position: absolute;
  width: 26px; height: 26px;
  border: 1.5px solid var(--gold-mid);
  pointer-events: none;
  opacity: 0.85;
}
.ai-card .corner.tl { top: 16px; left: 16px;     border-right: none; border-bottom: none; }
.ai-card .corner.tr { top: 16px; right: 16px;    border-left: none;  border-bottom: none; }
.ai-card .corner.bl { bottom: 16px; left: 16px;  border-right: none; border-top: none; }
.ai-card .corner.br { bottom: 16px; right: 16px; border-left: none;  border-top: none; }

.ai-card .ai-badge {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(212,175,55,0.45);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 2;
}
.ai-card .ai-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: dotBlink 1.4s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.ai-card .ai-pulse {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,175,55,0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,175,55,0.7); }
  70%  { box-shadow: 0 0 0 22px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}
.ai-card .ai-counter {
  position: absolute;
  bottom: 80px; left: 50%;
  transform: translateX(-50%);
  font-size: 92px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 6px 30px rgba(0,0,0,0.5);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ai-card .ai-counter::after {
  content: "REPS";
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold-mid);
  margin-top: 6px;
  text-shadow: none;
}

/* feature pills */
.tech-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.tech-feature {
  padding: 18px 18px;
  border-radius: var(--radius-s);
  background: var(--offwhite);
  border: 1px solid var(--line);
}
.dark .tech-feature {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.tech-feature .tf-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.dark .tech-feature .tf-num { color: var(--gold-mid); }
.tech-feature h4 { font-size: 16px; margin-bottom: 4px; font-weight: 700; }
.tech-feature p { font-size: 14px; color: var(--mute); line-height: 1.45; margin: 0; }
.dark .tech-feature p { color: rgba(255,255,255,0.6); }

/* ----- Banner / parallax sections ----- */
.banner {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.15) 100%);
}
.banner > .container { position: relative; z-index: 1; }
.banner-content { max-width: 620px; padding: 100px 0; }
.banner-content .eyebrow {
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  color: var(--gold-light);
  margin-bottom: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.banner-content h2 { margin-bottom: 24px; font-size: clamp(34px, 4.8vw, 62px); }
.banner-content p { font-size: var(--fs-lead); line-height: 1.55; color: rgba(255,255,255,0.85); }

/* Right-aligned banner variant */
.banner.right::before {
  background: linear-gradient(270deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.15) 100%);
}
.banner.right .banner-content { margin-left: auto; }

/* Centered hero stat banner */
.banner.center { text-align: center; }
.banner.center::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
}
.banner.center .banner-content { margin: 0 auto; max-width: 800px; text-align: center; }

/* ----- Section header ----- */
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head h2 { margin: 0 auto 16px; max-width: 18ch; }
.sec-head p { color: var(--mute); font-size: var(--fs-lead); max-width: 60ch; margin: 0 auto; }
.dark .sec-head p { color: rgba(255,255,255,0.7); }

/* ----- Features grid (with screens) ----- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 32px 28px 32px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.25); border-color: rgba(0,0,0,0.16); }
.feat-card.dark-card { background: var(--onyx); color: #fff; border-color: rgba(255,255,255,0.06); }
.feat-card.gold-card { background: linear-gradient(135deg, #1A1305 0%, #0A0A0A 100%); color: #fff; border-color: rgba(212,175,55,0.2); }
.feat-card h3 { font-size: 24px; margin-bottom: 10px; }
.feat-card p { color: var(--mute); font-size: 15.5px; line-height: 1.5; margin-bottom: 20px; }
.feat-card.dark-card p,
.feat-card.gold-card p { color: rgba(255,255,255,0.7); }
.feat-card .feat-img {
  margin-top: auto;
  align-self: center;
  height: 220px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}
.feat-card .feat-imgs {
  margin-top: auto;
  align-self: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
}
.feat-card .feat-imgs .feat-img {
  margin-top: 0;
  align-self: auto;
  height: 220px;
  flex-shrink: 1;
  min-width: 0;
}
.feat-card.dark-card .feat-img { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }
.feat-card .feat-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gold-dark);
}
.feat-card.dark-card .feat-tag,
.feat-card.gold-card .feat-tag { color: var(--gold-mid); }
/* spanning */
.feat-card.span-2 { grid-column: span 2; }

/* ----- Five Movements Gallery ----- */
.movements-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.movement {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  cursor: default;
  transition: transform .45s var(--ease);
}
.movement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.9) 100%);
  pointer-events: none;
}
.movement img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.movement:hover { transform: translateY(-4px); }
.movement:hover img { transform: scale(1.05); }
.movement-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

@media (max-width: 980px) {
  .movements-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .movements-grid { grid-template-columns: repeat(2, 1fr); }
  .movement-label { font-size: 15px; bottom: 16px; left: 16px; }
}

/* ----- Apps grid ----- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.app-card {
  position: relative;
  background: linear-gradient(160deg, #161616 0%, #0A0A0A 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 40px 36px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.app-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(212,175,55,0.4), rgba(212,175,55,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.app-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7), 0 0 40px -20px rgba(212,175,55,0.35); }
.app-card:hover::after { opacity: 1; }
.app-card .icon {
  width: 84px; height: 84px;
  border-radius: 20px;
  margin-bottom: 24px;
  filter: drop-shadow(0 10px 24px rgba(212,175,55,0.25));
}
.app-card h3 { font-size: 26px; letter-spacing: -0.015em; margin-bottom: 8px; }
.app-card h3 .light { font-weight: 300; }
.app-card .app-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  font-weight: 700;
  margin-bottom: 12px;
}
.app-card p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.5; margin-bottom: 28px; flex-grow: 1; }
.app-card .badges {
  display: flex; gap: 10px; align-items: center;
  margin-top: auto;
  flex-wrap: wrap;
}
.app-card .badges a { display: inline-block; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.app-card .badges a:hover { transform: translateY(-2px); }
.app-card .badges img { height: 40px; width: auto; }

.app-card .glow {
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.18), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

/* ----- Testimonials ----- */
.testi-carousel {
  position: relative;
  overflow: hidden;
  /* fade edges so cards slide in/out gently */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.testi-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testi-scroll 80s linear infinite;
}
.testi-carousel:hover .testi-track { animation-play-state: paused; }
.testi {
  width: 380px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
@keyframes testi-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .testi-track { animation: none; }
}
.testi .stars {
  color: var(--gold-mid);
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.testi p {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  margin-bottom: 22px;
  font-style: italic;
  flex-grow: 1;
}
.testi .who {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.testi .who-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center;
  color: #0A0A0A;
  font-weight: 700;
  font-size: 14px;
}
.testi .who-name { font-size: 14px; font-weight: 600; }
.testi .who-src { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

/* ----- FAQ ----- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 26px 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--gold-dark); }
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform .35s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: opacity .25s var(--ease), background .25s var(--ease);
}
.faq-q .plus::before { width: 11px; height: 1.5px; }
.faq-q .plus::after  { width: 1.5px; height: 11px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); }
.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after { background: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq-a-inner { padding: 0 4px 28px; color: var(--mute); font-size: 16px; line-height: 1.6; max-width: 70ch; }

/* ----- Sub-page layouts (FAQ, Privacy, Terms) ----- */
.subpage-head {
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
  background: #FFFFFF;
}
.subpage-head .eyebrow { margin-bottom: 16px; }
.subpage-head h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0 auto 18px;
  max-width: 22ch;
}
.subpage-head .sub {
  color: var(--mute);
  font-size: 15px;
  letter-spacing: 0.04em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 0;
}
.subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 28px;
  transition: color .2s var(--ease);
}
.subpage-back:hover { color: var(--gold-dark); }
.subpage-back .arr { width: 16px; height: 16px; }

/* ----- Legal long-form content ----- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: clamp(60px, 8vw, 120px);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}
.legal-content > h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-content > h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}
.legal-content p {
  margin: 0 0 14px;
  color: var(--mute);
  text-wrap: pretty;
}
.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--mute);
}
.legal-content ul li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.legal-content ul li::marker { color: var(--gold-mid); }
.legal-content strong, .legal-content b { color: var(--ink); font-weight: 700; }
.legal-content a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-decoration-color: rgba(142,100,24,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s var(--ease);
}
.legal-content a:hover { text-decoration-color: var(--gold-dark); }
.legal-content .contact-block {
  margin-top: 12px;
  padding: 20px 24px;
  background: var(--champagne);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.7;
}

/* FAQ on sub-page sits flush against the top section */
.subpage-faq { padding-top: 0; padding-bottom: clamp(80px, 10vw, 140px); background: #FFFFFF; }
.subpage-faq .faq-list { margin-top: 20px; }

/* ----- CTA section ----- */
.cta-block {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--onyx);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, rgba(212,175,55,0.15), transparent 60%);
}
.cta-block .container { position: relative; }
.cta-block h2 {
  font-size: clamp(40px, 6.5vw, 88px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
}
.cta-block p { max-width: 56ch; margin: 0 auto 36px; font-size: var(--fs-lead); color: rgba(255,255,255,0.7); }
.cta-block .badges {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.cta-block .badges img { height: 52px; }

/* ----- Footer ----- */
.footer {
  background: #050505;
  color: rgba(255,255,255,0.55);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer h5 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color .2s var(--ease); }
.footer a:hover { color: var(--gold-mid); }
.footer-logo img { height: 34px; margin-bottom: 18px; }
.footer-desc { font-size: 14px; line-height: 1.6; max-width: 32ch; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.10);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}
.footer-language {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 26px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0;
}
.footer-language-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  margin-right: 6px;
}
.footer-language button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  padding: 4px 0;
  letter-spacing: 0.01em;
  transition: color .25s var(--ease);
  position: relative;
}
.footer-language button:hover { color: rgba(255,255,255,0.9); }
.footer-language button.active {
  color: var(--gold-mid);
  font-weight: 700;
}
.footer-language button.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold-mid);
  opacity: 0.7;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 24px; }

/* ----- Scroll reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 100px; padding-bottom: 60px; text-align: left; }
  .split { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 0; }
  .ai-card { max-height: 640px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card.span-2 { grid-column: span 2; }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-toggle { display: flex; }
  .hero-headline { font-size: clamp(40px, 11vw, 56px); }
  .hero-ctas .btn { flex-grow: 1; padding-left: 18px; padding-right: 18px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card.span-2 { grid-column: span 1; }
  .feat-card { min-height: 380px; padding: 26px 22px 26px; }
  .feat-card .feat-img { height: 180px; }
  .feat-card .feat-imgs { gap: 14px; }
  .feat-card .feat-imgs .feat-img { height: 180px; }
  .apps-grid { grid-template-columns: 1fr; }
  .app-card { padding: 30px 26px; min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .banner-content { padding: 70px 0; }
  .testi { width: 300px; padding: 28px 24px; }
  .testi p { font-size: 16px; }
}

/* ----- Brand Guidelines page ----- */
.bg-header {
  background: var(--onyx);
  color: #fff;
  padding: 140px 0 90px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bg-header h1 { font-size: clamp(40px, 6vw, 76px); margin-bottom: 20px; }
.bg-header p { color: rgba(255,255,255,0.7); font-size: var(--fs-lead); max-width: 60ch; }
.bg-section { padding: 100px 0; border-bottom: 1px solid var(--line); }
.bg-section .sec-label {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 700; margin-bottom: 16px;
}
.bg-section h2 { margin-bottom: 16px; font-size: clamp(30px, 3.5vw, 46px); }
.bg-section .intro { color: var(--mute); font-size: var(--fs-lead); max-width: 60ch; margin-bottom: 50px; }

.bg-split { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swatch {
  border-radius: var(--radius-s);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.swatch-chip { aspect-ratio: 1.4 / 1; }
.swatch-meta { padding: 14px 16px; }
.swatch-meta .nm { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.swatch-meta .hex { font-size: 12px; color: var(--mute); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.type-row {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: baseline;
}
.type-row:last-child { border-bottom: none; }
.type-row .meta { font-size: 13px; color: var(--mute); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.type-row .meta b { display: block; color: var(--ink); font-family: 'Open Sans', sans-serif; font-size: 13px; margin-bottom: 4px; }

.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: end;
}
.icon-grid .ic { text-align: center; }
.icon-grid img { width: 100%; max-width: 160px; margin: 0 auto 14px; }
.icon-grid .nm { font-size: 14px; font-weight: 700; }
.icon-grid .nm b { font-weight: 800; }
.icon-grid .meta { font-size: 12px; color: var(--mute); margin-top: 2px; }

.logo-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 60px;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
}
.logo-block.dark { background: var(--onyx); border-color: rgba(255,255,255,0.08); }
.logo-block img { max-width: 320px; }

.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.principle {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--offwhite);
}
.principle .num {
  font-size: 12px; letter-spacing: 0.2em; color: var(--gold-dark); text-transform: uppercase; font-weight: 700; margin-bottom: 12px;
}
.principle h4 { font-size: 20px; margin-bottom: 8px; }
.principle p { font-size: 15px; color: var(--mute); line-height: 1.5; }

@media (max-width: 980px) {
  .bg-split { grid-template-columns: 1fr; gap: 24px; }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: 1fr; }
  .type-row { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-block { padding: 36px 20px; }
}
