/* ============================================================
   GOLDPA TRADING SYSTEM — Landing
   Warm & credible. Gold + deep brown. Friendly grandpa.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@400;500;600;700&family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=Fredoka:wght@500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --gold: #F7B500;
  --gold-deep: #E09600;
  --gold-light: #FFD45C;
  --gold-pale: #FFEFC2;
  --lime-glow: #EBF18E;
  /* logo plaque glow */

  --cream: #FAEFD6;
  /* page bg */
  --cream-2: #FFF7E8;
  --paper: #FFFCF4;
  /* cards */
  --paper-2: #FFF4DF;

  --brown: #3E2716;
  /* primary text */
  --brown-2: #6A4A2E;
  --brown-soft: #97744F;
  --brown-line: #E7D3AE;

  --green: #3F7A4E;
  /* overalls */
  --green-deep: #2C5A39;

  --up: #2FA862;
  --down: #E0533B;

  --night: #2A1B10;
  /* deep section bg */
  --night-2: #3A2616;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 38px;

  --sh-sm: 0 2px 8px rgba(62, 39, 22, .10);
  --sh-md: 0 10px 30px rgba(62, 39, 22, .13);
  --sh-lg: 0 26px 60px rgba(62, 39, 22, .20);
  --sh-gold: 0 14px 34px rgba(224, 150, 0, .34);

  --maxw: 1200px;

  --ff-display: 'Mitr', 'IBM Plex Sans Thai', sans-serif;
  --ff-body: 'IBM Plex Sans Thai', 'Mitr', sans-serif;
  --ff-fun: 'Fredoka', 'Mitr', sans-serif;

  --hero-accent: var(--gold);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  color: var(--brown);
  letter-spacing: -0.01em;
}

.wrap {
  width: min(100% - 44px, var(--maxw));
  margin-inline: auto;
}

.fun {
  font-family: var(--ff-fun);
  letter-spacing: 0;
}

.en {
  font-family: var(--ff-fun);
}

.sub-en {
  font-family: var(--ff-fun);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: var(--gold-deep);
}

/* gold gradient text used for emphasis words */
.gold-text {
  background: linear-gradient(180deg, #FFD45C 0%, #F7B500 55%, #E09600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.02rem;
  border: none;
  cursor: pointer;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s, filter .18s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(.99);
}

.btn-gold {
  color: var(--brown);
  background: linear-gradient(180deg, #FFD86A 0%, #F7B500 60%, #ECA200 100%);
  box-shadow: var(--sh-gold), inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -3px 0 rgba(170, 112, 0, .35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(224, 150, 0, .45), inset 0 2px 0 rgba(255, 255, 255, .55);
}

.btn-tg {
  color: #fff;
  background: linear-gradient(180deg, #34b6ee, #229ed9);
  box-shadow: 0 14px 30px rgba(34, 158, 217, .35), inset 0 2px 0 rgba(255, 255, 255, .4);
}

.btn-tg:hover {
  transform: translateY(-3px);
}

.btn-ghost {
  color: var(--brown);
  background: var(--paper);
  border: 2px solid var(--brown-line);
  box-shadow: var(--sh-sm);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.14rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}

.nav.scrolled {
  background: rgba(250, 239, 214, .86);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(62, 39, 22, .10);
  padding: 9px 0;
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(62, 39, 22, .2));
  transition: width .3s, height .3s;
}

.nav.scrolled .nav-logo img {
  width: 44px;
  height: 44px;
}

.nav-logo b {
  font-family: var(--ff-fun);
  font-size: 1.32rem;
  color: var(--brown);
  letter-spacing: -.01em;
}

.nav-logo b span {
  color: var(--gold-deep);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--brown-2);
  transition: background .15s, color .15s;
}

.nav-links a:hover {
  background: var(--paper-2);
  color: var(--brown);
}

.nav-cta {
  margin-left: 8px;
}

.nav-burger {
  display: none;
  margin-left: auto;
  background: var(--paper);
  border: 2px solid var(--brown-line);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2.4px;
  background: var(--brown);
  border-radius: 2px;
  position: relative;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  transition: transform .18s ease, opacity .18s ease;
}

.nav-burger span::before {
  position: absolute;
  top: -6px;
}

.nav-burger span::after {
  position: absolute;
  top: 6px;
}

.nav.is-open .nav-burger span {
  transform: rotate(45deg);
}

.nav.is-open .nav-burger span::before {
  transform: translateY(6px) rotate(90deg);
}

.nav.is-open .nav-burger span::after {
  transform: translateY(-6px);
  opacity: 0;
}

/* ============================================================
   HERO — shared chrome
   ============================================================ */
.hero {
  position: relative;
  padding-top: 96px;
}

.hero-variant {
  display: none;
}

body[data-hero="a"] .hero-a,
body[data-hero="b"] .hero-b,
body[data-hero="c"] .hero-c {
  display: block;
}

#heroABg {
  background-image: url('assets/hero-cover.jpg');
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--paper);
  border: 2px solid var(--brown-line);
  color: var(--brown-2);
  font-weight: 600;
  font-size: .82rem;
  padding: 7px 16px 7px 10px;
  border-radius: 999px;
  box-shadow: var(--sh-sm);
}

.eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 4px rgba(47, 168, 98, .18);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(47, 168, 98, .22);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(47, 168, 98, 0);
  }
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  font-weight: 700;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--brown-2);
  max-width: 33ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--brown-2);
  font-size: .92rem;
}

.trust-row b {
  font-family: var(--ff-display);
  color: var(--brown);
}

/* ---- Hero A : cinematic full-bleed ---- */
.hero-a {
  position: relative;
}

.hero-a .stage {
  position: relative;
  height: min(86vh, 760px);
  min-height: 540px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  margin-top: 8px;
}

.hero-a .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 32%;
  transform: scale(1.06);
  transition: transform .4s;
}

.hero-a .scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(30, 18, 8, .82) 0%, rgba(30, 18, 8, .45) 42%, rgba(30, 18, 8, 0) 70%);
}

.hero-a .content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-a .content .wrap {
  width: min(100% - 56px, var(--maxw));
}

.hero-a .box {
  max-width: 600px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-a h1 {
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .4);
}

.hero-a .lead {
  color: rgba(255, 255, 255, .9);
}

.hero-a .eyebrow {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  backdrop-filter: blur(6px);
}

.hero-a .trust-row {
  color: rgba(255, 255, 255, .85);
}

.hero-a .trust-row b {
  color: #fff;
}

/* ---- Hero B : split adventure ---- */
.hero-b .grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 26px 0 70px;
}

.hero-b .col-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-b .panel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 1480 / 1000;
  border: 6px solid var(--paper);
}

.hero-b .panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-b .panel .frame-glow {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 2px rgba(247, 181, 0, .5);
  border-radius: inherit;
  pointer-events: none;
}

/* ---- Hero C : character spotlight ---- */
.hero-c {
  position: relative;
  overflow: hidden;
}

.hero-c .stack {
  position: relative;
  padding: 30px 0 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-c .charts-bg {
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
}

.hero-c h1 {
  font-size: clamp(2.5rem, 6.4vw, 5rem);
}

.hero-c .lead {
  max-width: 46ch;
}

.hero-c .portrait {
  position: relative;
  width: min(420px, 76vw);
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  border: 7px solid var(--paper);
  box-shadow: var(--sh-lg), 0 0 0 14px rgba(247, 181, 0, .16);
}

.hero-c .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-c .ring {
  position: absolute;
  inset: -26px;
  border: 2.5px dashed rgba(224, 150, 0, .4);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* floating decor (coins / sparkles / candles) */
.floaty {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.coin {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFE89A, #F7B500 60%, #C98A00);
  box-shadow: 0 8px 18px rgba(201, 138, 0, .45), inset 0 2px 3px rgba(255, 255, 255, .7), inset 0 -3px 4px rgba(150, 95, 0, .5);
  display: grid;
  place-items: center;
  font-family: var(--ff-fun);
  font-weight: 700;
  color: #9A6700;
  font-size: 1.3rem;
}

.spark {
  color: var(--gold);
  filter: drop-shadow(0 2px 6px rgba(224, 150, 0, .5));
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }

  50% {
    transform: translateY(-22px) rotate(var(--rot, 0deg));
  }
}

.bob {
  animation: bob var(--dur, 5s) ease-in-out infinite;
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section {
  position: relative;
}

.section-pad {
  padding: 92px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
}

.section-head p {
  color: var(--brown-2);
  font-size: 1.1rem;
  margin: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-fun);
  font-weight: 600;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold-deep);
  background: var(--gold-pale);
  padding: 6px 14px;
  border-radius: 999px;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: .08s;
}

.reveal.d2 {
  transition-delay: .16s;
}

.reveal.d3 {
  transition-delay: .24s;
}

.reveal.d4 {
  transition-delay: .32s;
}

/* ============================================================
   TELEGRAM / EA CONTROL
   ============================================================ */
.ea {
  background: var(--cream-2);
}

.ea .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.ea .copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ea .feat-list {
  display: grid;
  gap: 14px;
  margin: 6px 0 8px;
}

.ea .feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border: 1.5px solid var(--brown-line);
  padding: 16px 18px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.ea .feat:hover {
  transform: translateX(6px);
  box-shadow: var(--sh-md);
  border-color: var(--gold);
}

.ea .feat .ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-pale);
  font-size: 1.4rem;
}

.ea .feat b {
  display: block;
  font-family: var(--ff-display);
  color: var(--brown);
}

.ea .feat span {
  color: var(--brown-2);
  font-size: .94rem;
}

/* phone mock */
.phone {
  position: relative;
  justify-self: center;
}

.phone .device {
  width: 300px;
  aspect-ratio: 300/610;
  background: #1d130a;
  border-radius: 42px;
  padding: 12px;
  box-shadow: var(--sh-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
  position: relative;
  z-index: 2;
}

.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--brown);
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone .notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #1d130a;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}

.tg-head {
  background: linear-gradient(180deg, #229ed9, #1f8fc4);
  color: #fff;
  padding: 30px 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tg-head .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.tg-head .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-head .t {
  font-size: .82rem;
  font-weight: 600;
}

.tg-head .t small {
  display: block;
  font-weight: 400;
  opacity: .8;
  font-size: .68rem;
}

.tg-body {
  flex: 1;
  background: #d8eaf4;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.bubble {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: .76rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.bubble.in {
  background: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: #1d130a;
}

.bubble.me {
  background: #d6f5c4;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: #14380a;
}

.tg-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  align-self: flex-start;
  max-width: 90%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.tg-card .row {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  padding: 3px 0;
}

.tg-card .row b {
  font-family: var(--ff-display);
}

.tg-card .pos {
  color: var(--up);
}

.tg-card .neg {
  color: var(--down);
}

.tg-btns {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.tg-btns button {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 7px;
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--ff-body);
  cursor: pointer;
}

.tg-btns .buy {
  background: var(--up);
  color: #fff;
}

.tg-btns .sell {
  background: var(--down);
  color: #fff;
}

.phone .halo {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(247, 181, 0, .32), transparent 65%);
  z-index: 1;
}

/* single mobile image screen */
.phone .img-screen {
  position: relative;
  background: var(--brown);
}

.phone .screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone .screen-ph {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, .78);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 12px, rgba(255, 255, 255, .09) 12px 24px),
    linear-gradient(180deg, #4a3017, #2f1d0e);
}

.phone .img-screen.empty .screen-ph {
  display: flex;
}

.phone .screen-ph .ph-ic {
  font-size: 2.4rem;
}

.phone .screen-ph code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .8rem;
  color: var(--gold-light);
  background: rgba(0, 0, 0, .25);
  padding: 5px 10px;
  border-radius: 8px;
}

.phone .screen-ph small {
  font-size: .8rem;
  opacity: .7;
}

/* ============================================================
   STATS STRIP  (2000% preset highlight)
   ============================================================ */
.stats {
  background: var(--night);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 300px at 18% 0%, rgba(247, 181, 0, .18), transparent 60%),
    radial-gradient(700px 300px at 90% 100%, rgba(247, 181, 0, .12), transparent 60%);
}

.stats .wrap {
  position: relative;
}

.stats .preset-card {
  background: linear-gradient(160deg, #4a3017, #2f1d0e);
  border: 1.5px solid rgba(247, 181, 0, .3);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: var(--sh-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.stats h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.stats h2 .big {
  font-size: 1.3em;
}

.stats .preset-card p {
  color: rgba(255, 255, 255, .78);
}

.stats .badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stats .pill {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .9);
}

.statline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}

.stat {
  text-align: center;
}

.stat .n {
  font-family: var(--ff-fun);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.stat .l {
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
  margin-top: 4px;
}

/* mini equity chart in preset card */
.equity {
  width: 100%;
  height: 180px;
}

.equity path.area {
  fill: url(#eqgrad);
}

.equity path.line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
}

.equity .dot {
  fill: var(--gold-light);
  stroke: #2f1d0e;
  stroke-width: 3;
}

/* ============================================================
   BOTS / TRADING STYLES
   ============================================================ */
.bots .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.bot-card {
  background: var(--paper);
  border: 1.5px solid var(--brown-line);
  border-radius: var(--r-lg);
  padding: 26px 22px 24px;
  box-shadow: var(--sh-sm);
  position: relative;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.34, 1.4, .6, 1), box-shadow .22s, border-color .22s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-md);
  border-color: var(--gold);
}

.bot-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--accent, var(--gold));
}

.bot-card .tag {
  align-self: flex-start;
  font-family: var(--ff-fun);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent, var(--gold-deep));
}

.bot-card .badge-ic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft, var(--gold-pale));
  font-size: 1.7rem;
  box-shadow: var(--sh-sm);
}

.bot-card h3 {
  font-size: 1.32rem;
}

.bot-card p {
  color: var(--brown-2);
  font-size: .95rem;
  margin: 0;
  flex: 1;
}

.bot-card .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--brown-soft);
  padding-top: 8px;
  border-top: 1px dashed var(--brown-line);
}

.bot-card .spark-line {
  height: 40px;
  width: 100%;
}

/* ============================================================
   GOLDPA STORY
   ============================================================ */
.story {
  background: var(--cream-2);
  overflow: hidden;
}

.story .grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.story .photo {
  position: relative;
}

.story .photo .img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 6px solid var(--paper);
  aspect-ratio: 1/1;
}

.story .photo .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.story .photo .chip {
  position: absolute;
  background: var(--paper);
  border: 1.5px solid var(--brown-line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 10px;
}

.story .photo .chip b {
  font-family: var(--ff-fun);
  font-size: 1.4rem;
  color: var(--gold-deep);
}

.story .photo .chip small {
  color: var(--brown-2);
  font-size: .76rem;
  display: block;
}

.story .photo .chip.tl {
  top: 20px;
  left: -22px;
}

.story .photo .chip.br {
  bottom: 26px;
  right: -18px;
}

.story .copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.story h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.story .quote {
  font-family: var(--ff-display);
  font-size: 1.18rem;
  color: var(--brown);
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 20px;
  background: linear-gradient(90deg, rgba(247, 181, 0, .08), transparent);
}

.story .traits {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.story .trait {
  background: var(--paper);
  border: 1.5px solid var(--brown-line);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--sh-sm);
}

.story .trait i {
  font-style: normal;
  color: var(--gold-deep);
  margin-right: 6px;
}

/* ============================================================
   WHY XS
   ============================================================ */
.xs {
  background: var(--night);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.xs::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 360px at 80% -10%, rgba(247, 181, 0, .16), transparent 60%);
}

.xs .wrap {
  position: relative;
}

.xs .section-head h2 {
  color: #fff;
}

.xs .section-head p {
  color: rgba(255, 255, 255, .72);
}

.xs .kicker {
  background: rgba(247, 181, 0, .16);
  color: var(--gold-light);
}

.xs .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.xs-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .2s, transform .2s, border-color .2s;
}

.xs-card:hover {
  background: rgba(255, 255, 255, .09);
  transform: translateY(-6px);
  border-color: rgba(247, 181, 0, .4);
}

.xs-card .ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(247, 181, 0, .16);
  font-size: 1.5rem;
}

.xs-card h3 {
  color: #fff;
  font-size: 1.16rem;
}

.xs-card p {
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  margin: 0;
}

.xs-quote {
  margin-top: 44px;
  text-align: center;
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--gold-light);
  max-width: 800px;
  margin-inline: auto;
}

/* ============================================================
   TUTORIAL VIDEO
   ============================================================ */
.tut .grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.tut .copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tut .steps {
  display: grid;
  gap: 12px;
}

.tut .step {
  display: flex;
  gap: 14px;
  align-items: center;
}

.tut .step .num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-deep);
  font-family: var(--ff-fun);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.tut .step b {
  font-family: var(--ff-display);
}

.video {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 6px solid var(--paper);
  aspect-ratio: 16/9;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.video .vscrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30, 18, 8, .5), rgba(30, 18, 8, .15));
}

.video .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-gold);
  transition: transform .2s;
}

.video:hover .play {
  transform: scale(1.08);
}

.video .play::after {
  content: '';
  border-left: 26px solid var(--gold-deep);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 6px;
}

.video .vlabel {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}

.cta-band .card {
  background: linear-gradient(150deg, #FFE08A 0%, #F7B500 55%, #E09600 100%);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.cta-band .card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 240px at 50% -20%, rgba(255, 255, 255, .5), transparent 60%);
}

.cta-band h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  color: var(--brown);
  position: relative;
}

.cta-band p {
  color: #6a4a13;
  font-size: 1.15rem;
  max-width: 50ch;
  position: relative;
  margin: 0;
}

.cta-band .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.cta-band .btn-gold {
  background: var(--brown);
  color: var(--gold-light);
  box-shadow: 0 14px 30px rgba(62, 39, 22, .35);
}

.cta-band .btn-gold:hover {
  background: #2c1c10;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--night);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 32px;
}

footer .top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

footer .brand img {
  width: 64px;
}

footer .brand p {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: .92rem;
}

footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

footer a:hover {
  color: var(--gold-light);
}

footer .social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

footer .social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  transition: background .2s;
}

footer .social a:hover {
  background: rgba(247, 181, 0, .22);
}

.disclaimer {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
}

footer .copy-row {
  margin-top: 22px;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav .wrap {
    position: relative;
  }
  #heroABg {
    background-image: url('assets/hero-cover-mobile.jpg');
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav.is-open {
    background: rgba(250, 239, 214, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(62, 39, 22, .10);
  }

  .nav.is-open .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-left: 0;
    padding: 10px;
    background: rgba(255, 252, 244, .97);
    border: 1.5px solid var(--brown-line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-md);
  }

  .nav.is-open .nav-links a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .ea .grid,
  .story .grid,
  .tut .grid,
  .hero-b .grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats .preset-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px;
  }

  .bots .grid,
  .xs .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer .top {
    grid-template-columns: 1fr 1fr;
  }

  .story .grid {
    gap: 64px;
  }

  .story .photo {
    max-width: 460px;
    margin-inline: auto;
  }

  .hero-b .panel {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {

  .wrap,
  .hero-a .content .wrap {
    width: min(100% - 32px, var(--maxw));
  }

  .nav .wrap {
    gap: 12px;
  }

  .nav-logo b {
    font-size: 1.14rem;
  }
  

  .btn {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hero-actions,
  .cta-band .actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-band .actions .btn {
    width: 100%;
  }

  .section-pad {
    padding: 64px 0;
  }

  .bots .grid,
  .xs .grid {
    grid-template-columns: 1fr;
  }

  .hero-a .stage {
    height: 78vh;
    border-radius: var(--r-lg);
  }

  .cta-band .card {
    padding: 44px 26px;
  }

  .stats .preset-card {
    padding: 24px;
  }

  .statline {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .story .photo .chip.tl {
    left: 8px;
  }

  .story .photo .chip.br {
    right: 6px;
  }

  footer .top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer .copy-row {
    flex-direction: column;
  }
}

/* hide tweak root before mount */
#tweak-root:empty {
  display: none;
}

/* floating motion off */
body.no-float .bob {
  animation: none !important;
}

body.no-float .ring {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {

  .bob,
  .ring {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}