/* =====================================================================
   Axi Select + Rebate — Expert Advisor landing page
   Design system + layout. Mobile-first.
   ===================================================================== */

/* ------------------------------------------------------------------
   01. DESIGN TOKENS
   ------------------------------------------------------------------ */
:root {
  /* Backgrounds */
  --bg-deep: #04050d;
  --bg: #080b1a;
  --bg-alt: #0c1028;
  --bg-raise: #121734;

  /* Light break sections */
  --paper: #f4f5fb;
  --paper-2: #ffffff;
  --paper-line: rgba(14, 18, 45, .10);
  --paper-line-soft: rgba(14, 18, 45, .06);

  /* Surfaces (on dark) */
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --surface-3: rgba(255, 255, 255, .11);
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .20);

  /* Text */
  --text: #f2f4fb;
  --text-dim: #a8b0cf;
  --text-faint: #79819f;
  --ink: #0f1330;
  --ink-dim: #545c80;

  /* Brand accents */
  --axi-red: #ff3d45;
  --axi-coral: #ff7a45;
  --violet: #8b6cff;
  --indigo: #4b3fd6;
  --blue: #3ea8ff;
  --magenta: #ff5cc8;
  --mint: #4fe3c1;
  --line-green: #06c755;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--axi-red), var(--axi-coral));
  --grad-spectrum: linear-gradient(100deg, #ff4b54 0%, #b388ff 52%, #42d9ff 100%);
  --grad-violet: linear-gradient(140deg, #6f5bff, #2f6bff);

  /* Glow */
  --glow-red: 0 18px 44px rgba(255, 61, 69, .30);
  --glow-violet: 0 18px 50px rgba(120, 92, 255, .28);

  /* Shadow */
  --sh-1: 0 8px 24px rgba(3, 5, 16, .34);
  --sh-2: 0 22px 60px rgba(3, 5, 16, .52);
  --sh-paper: 0 10px 34px rgba(19, 24, 60, .09);

  /* Radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Spacing */
  --gutter: clamp(18px, 5.2vw, 40px);
  --sec-pad: clamp(64px, 11vw, 118px);
  --container: 1200px;
  --container-narrow: 960px;

  /* Motion */
  --t-fast: .18s;
  --t: .32s;
  --t-slow: .7s;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Chrome */
  --header-h: 62px;
  --mobilebar-h: 0px;
}

@media (min-width: 861px) {
  :root { --header-h: 74px; }
}

/* ------------------------------------------------------------------
   02. RESET / BASE
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans Thai", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Manrope", "IBM Plex Sans Thai", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
}
p { margin: 0; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -90px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--axi-red);
  color: #fff;
  font-weight: 700;
  transition: top var(--t) var(--ease);
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------------
   03. TYPOGRAPHY SCALE
   ------------------------------------------------------------------ */
h1 { font-size: clamp(29px, 7.4vw, 58px); font-weight: 900; line-height: 1.16; }
h2 { font-size: clamp(25px, 5.2vw, 42px); }
h3 { font-size: clamp(17px, 2.3vw, 21px); font-weight: 700; line-height: 1.42; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--text-faint);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  flex: none;
  border-radius: 2px;
  background: var(--grad-brand);
}
.eyebrow--light { color: rgba(255, 255, 255, .64); }
.eyebrow--ink { color: var(--ink-dim); }

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

.lead {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 60ch;
}
.section--paper .lead { color: var(--ink-dim); }

.note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ------------------------------------------------------------------
   04. SECTION SHELL
   ------------------------------------------------------------------ */
.section {
  position: relative;
  padding-block: var(--sec-pad);
}
section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--paper h2, .section--paper h3 { color: var(--ink); }

.section--dark { background: var(--bg); }
.section--dark-alt { background: var(--bg-alt); }

.section-head { max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

.section > .container { position: relative; z-index: 1; }

/* ------------------------------------------------------------------
   05. BUTTONS
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: "Manrope", "IBM Plex Sans Thai", sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--glow-red);
}
.btn--primary:hover { box-shadow: 0 22px 54px rgba(255, 61, 69, .42); }

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: var(--surface-3); border-color: rgba(255, 255, 255, .34); }

.btn--ink {
  border: 1px solid var(--paper-line);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-paper);
}
.btn--ink:hover { border-color: rgba(14, 18, 45, .22); }

.btn--line {
  background: var(--line-green);
  color: #fff;
  box-shadow: 0 14px 34px rgba(6, 199, 85, .24);
}
.btn--line:hover { box-shadow: 0 20px 44px rgba(6, 199, 85, .36); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

.btn .ico { width: 18px; height: 18px; flex: none; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease);
}
.textlink span { transition: transform var(--t) var(--ease); }
.textlink:hover { border-bottom-color: currentColor; }
.textlink:hover span { transform: translateX(4px); }

/* ------------------------------------------------------------------
   06. TICKER (top of page — appears once only)
   ------------------------------------------------------------------ */
.ticker {
  position: relative;
  z-index: 60;
  background: #05060f;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.ticker .tradingview-widget-container { height: auto !important; }
.ticker .tradingview-widget-container__widget { min-height: 46px; }
.ticker iframe { display: block; }
.ticker .tradingview-widget-copyright {
  margin: 0 !important;
  padding: 0 10px 3px !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 9.5px !important;
  line-height: 12px !important;
  text-align: center;
  color: rgba(255, 255, 255, .32);
}
.ticker .tradingview-widget-copyright a { display: inline; line-height: 12px; }
.ticker .tradingview-widget-copyright a { color: inherit; }
.ticker .tradingview-widget-copyright a:hover { color: rgba(255, 255, 255, .7); }
.ticker .blue-text { color: inherit; }

/* ------------------------------------------------------------------
   07. STICKY HEADER
   ------------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(8, 11, 26, .74);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.header.is-scrolled {
  background: rgba(6, 8, 20, .93);
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .38);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.01em;
  color: #fff;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex: none;
  object-fit: contain;
  background: rgba(255, 255, 255, .06);
}
.brand span { white-space: nowrap; }

.nav { display: none; }

@media (min-width: 861px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .nav a {
    position: relative;
    padding: 9px 13px;
    border-radius: var(--r-pill);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dim);
    white-space: nowrap;
    transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 2px;
    width: 0; height: 2px;
    border-radius: 2px;
    background: var(--grad-brand);
    transform: translateX(-50%);
    transition: width var(--t) var(--ease);
  }
  .nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
  .nav a.is-active { color: #fff; }
  .nav a.is-active::after { width: 20px; }
}

.header__cta { display: none; }
@media (min-width: 861px) { .header__cta { display: inline-flex; margin-left: 10px; } }

.header__cta-mobile { display: inline-flex; }
@media (min-width: 861px) { .header__cta-mobile { display: none; } }
/* Below ~360px the row would crowd; the fixed bottom bar carries the CTA. */
@media (max-width: 359px) { .header__cta-mobile { display: none; } }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  flex: none;
}
.burger i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease), width var(--t) var(--ease);
}
.burger i:nth-child(1) { width: 20px; }
.burger i:nth-child(2) { width: 14px; }
.burger i:nth-child(3) { width: 20px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { width: 20px; transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 861px) { .burger { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 12, .64);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(86vw, 340px);
  height: 100%;
  padding: 20px var(--gutter) 28px;
  background: linear-gradient(170deg, #0e1330, #07091a 62%);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px rgba(0, 0, 0, .5);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(102%);
  transition: transform var(--t) var(--ease);
  display: flex;
  flex-direction: column;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 20px;
  line-height: 1;
  color: #fff;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0 22px;
}
.drawer__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 14px;
  font-weight: 700;
  color: var(--text-dim);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.drawer__nav a b {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--text-faint);
}
.drawer__nav a:hover, .drawer__nav a.is-active { background: var(--surface-2); color: #fff; }
.drawer__nav a.is-active b { color: var(--axi-red); }

.drawer__foot { margin-top: auto; display: grid; gap: 10px; }
.drawer__foot .btn { width: 100%; }

/* ------------------------------------------------------------------
   08. HERO
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(30px, 6vw, 72px);
  padding-bottom: clamp(52px, 9vw, 94px);
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(120, 84, 255, .30), transparent 58%),
    radial-gradient(90% 80% at 8% 96%, rgba(255, 61, 69, .20), transparent 60%),
    radial-gradient(70% 70% at 50% 0%, rgba(62, 168, 255, .16), transparent 64%),
    linear-gradient(180deg, #0a0c22 0%, #0b0d24 45%, #07091a 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(85% 70% at 60% 30%, #000 12%, transparent 78%);
  mask-image: radial-gradient(85% 70% at 60% 30%, #000 12%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(30px, 5vw, 48px);
}
@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: 44px;
  }
}

.hero__wordmark {
  display: inline-grid;
  place-items: center;
  padding: 9px 20px 11px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #12101b;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--sh-1);
}
.hero__wordmark b {
  font-family: "Manrope", sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.08em;
  color: #fff;
  text-transform: lowercase;
}
.hero__wordmark::after {
  content: "";
  display: block;
  width: 34px; height: 3px;
  margin-top: 6px;
  border-radius: var(--r-pill);
  background: var(--axi-red);
  box-shadow: 0 0 20px rgba(255, 61, 69, .8);
}

.hero h1 .grad-text { display: inline-block; }

.hero__lead {
  margin-top: 18px;
  max-width: 54ch;
  color: #c3c9e4;
  font-size: clamp(15px, 1.7vw, 17.5px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 460px) {
  .hero__actions .btn--primary { width: 100%; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #d3d8ef;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.chips li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--axi-red);
  box-shadow: 0 0 10px rgba(255, 61, 69, .9);
  flex: none;
}
.chips li:nth-child(2)::before { background: var(--blue); box-shadow: 0 0 10px rgba(62, 168, 255, .9); }
.chips li:nth-child(3)::before { background: var(--violet); box-shadow: 0 0 10px rgba(139, 108, 255, .9); }
.chips li:nth-child(4)::before { background: var(--mint); box-shadow: 0 0 10px rgba(79, 227, 193, .9); }
.chips li:nth-child(5)::before { background: var(--magenta); box-shadow: 0 0 10px rgba(255, 92, 200, .9); }

/* --- Hero key visual: layered HTML/CSS composition --- */
.hero__art {
  position: relative;
  min-height: clamp(320px, 62vw, 470px);
  display: grid;
  place-items: center;
}

.hero__art .aura-a,
.hero__art .aura-b {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero__art .aura-a {
  width: 62%; padding-bottom: 62%;
  top: -6%; right: 2%;
  background: radial-gradient(circle, rgba(139, 108, 255, .70), transparent 70%);
  animation: drift 16s ease-in-out infinite;
}
.hero__art .aura-b {
  width: 54%; padding-bottom: 54%;
  bottom: 2%; left: -4%;
  background: radial-gradient(circle, rgba(255, 61, 69, .52), transparent 70%);
  animation: drift 20s ease-in-out infinite reverse;
}

.kv {
  position: relative;
  z-index: 2;
  width: min(100%, 372px);
  padding: 20px;
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, rgba(28, 22, 54, .92), rgba(12, 12, 30, .90));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 90px rgba(3, 4, 14, .66), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: rotate(-2deg);
  animation: float-kv 9s ease-in-out infinite;
}
.kv::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 61, 69, .6), rgba(139, 108, 255, .35) 45%, rgba(62, 168, 255, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.kv__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.kv__logo {
  font-family: "Manrope", sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.07em;
  color: #fff;
  text-transform: lowercase;
}
.kv__tag {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 61, 69, .16);
  border: 1px solid rgba(255, 61, 69, .40);
  color: #ff9298;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .04em;
  white-space: nowrap;
}

.kv__screen {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(120, 84, 255, .30), transparent 62%),
    linear-gradient(160deg, #14113a, #0a0a1e);
  border: 1px solid rgba(255, 255, 255, .10);
}
.kv__screen small {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .48);
}
.kv__screen strong {
  display: block;
  margin: 4px 0 2px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 11vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.045em;
  background: var(--grad-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kv__screen p {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
}
.kv__spark {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: 12px;
}
.kv__spark path {
  fill: none;
  stroke: url(#kvGrad);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 2.4s var(--ease) .5s forwards;
}
.kv__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 26px;
  margin-top: 10px;
}
.kv__bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(255, 61, 69, .85), rgba(139, 108, 255, .32));
  transform-origin: bottom;
  animation: pulse-bar 3.2s ease-in-out infinite;
}
.kv__bars i:nth-child(1) { height: 42%; animation-delay: 0s; }
.kv__bars i:nth-child(2) { height: 68%; animation-delay: .25s; }
.kv__bars i:nth-child(3) { height: 52%; animation-delay: .5s; }
.kv__bars i:nth-child(4) { height: 88%; animation-delay: .75s; }
.kv__bars i:nth-child(5) { height: 64%; animation-delay: 1s; }

.kv__meta {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.kv__meta span {
  flex: 1;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: #d8dcf2;
  text-align: center;
}

/* Desktop: badges float against the card. `display:contents` lets each one
   position itself against .hero__art; on mobile the wrapper becomes a row. */
.kv-badges { display: contents; }

.kv-badge {
  position: absolute;
  z-index: 3;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-family: "Manrope", "IBM Plex Sans Thai", sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  white-space: nowrap;
  box-shadow: var(--sh-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: float-badge 7s ease-in-out infinite;
}
.kv-badge--red {
  top: 6%; left: -4%;
  background: linear-gradient(135deg, #ff3d45, #ff7a45);
  animation-delay: .4s;
}
.kv-badge--violet {
  bottom: 20%; left: -6%;
  background: linear-gradient(135deg, #7a5bff, #3e7bff);
  animation-delay: 1.2s;
}
.kv-badge--glass {
  bottom: 4%; right: -4%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  animation-delay: 2s;
}

/* Below the two-column hero the badges drop under the card, so they can
   never sit on top of the card's own labels on a narrow screen. */
@media (max-width: 999px) {
  .hero__art {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    min-height: 0;
  }
  .kv { width: min(100%, 330px); }
  .kv-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 3;
  }
  .kv-badge {
    position: static;
    animation: none;
    font-size: 12px;
    padding: 8px 14px;
    box-shadow: var(--sh-1);
  }
}
@media (max-width: 720px) {
  .hero__wordmark { padding: 7px 16px 9px; margin-bottom: 14px; border-radius: 13px; }
  .hero__wordmark b { font-size: 24px; }
  .hero__wordmark::after { width: 28px; height: 3px; margin-top: 5px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero__lead { margin-top: 14px; }
  .hero__actions { margin-top: 24px; }
  .chips { margin-top: 22px; }
}
@media (max-width: 380px) {
  .kv-badge { font-size: 11.5px; padding: 8px 12px; }
  .kv { width: 100%; }
}

/* ------------------------------------------------------------------
   09. CARD GRIDS
   ------------------------------------------------------------------ */
.cards {
  display: grid;
  gap: 18px;
  margin-top: clamp(30px, 5vw, 50px);
}
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.card__num {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--axi-red);
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.72; }

.card--paper {
  background: var(--paper-2);
  border: 1px solid var(--paper-line-soft);
  box-shadow: var(--sh-paper);
}
.card--paper p { color: var(--ink-dim); }
.card--paper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(19, 24, 60, .14);
  border-color: rgba(255, 61, 69, .26);
}
.card--paper::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.card--paper:hover::after { transform: scaleX(1); }

.card--glass {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card--glass p { color: var(--text-dim); }
.card--glass:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: var(--sh-2);
}

/* ------------------------------------------------------------------
   10. AXI SELECT
   ------------------------------------------------------------------ */
.select-sec {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 88% 10%, rgba(139, 108, 255, .22), transparent 60%),
    radial-gradient(70% 60% at 4% 92%, rgba(255, 61, 69, .16), transparent 62%),
    linear-gradient(180deg, #07091a, #0b0e26);
}
.select-sec__grid { display: grid; gap: clamp(28px, 5vw, 46px); }
@media (min-width: 1000px) {
  .select-sec__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: 54px; }
}

.stack { display: grid; gap: 14px; }
.stack article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: 22px clamp(18px, 3vw, 26px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.stack article:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, .22);
  background: var(--surface-2);
}
.stack article > span {
  grid-row: span 2;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 61, 69, .14);
  border: 1px solid rgba(255, 61, 69, .32);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #ff8a90;
}
.stack article h3 { align-self: center; }
.stack article p { font-size: 14.5px; color: var(--text-dim); grid-column: 2; }
@media (max-width: 480px) {
  .stack article { grid-template-columns: minmax(0, 1fr); }
  .stack article > span { grid-row: auto; margin-bottom: 6px; }
  .stack article p { grid-column: 1; }
}

/* Progression path */
.path {
  margin-top: clamp(32px, 5vw, 52px);
  padding: clamp(22px, 3.4vw, 32px);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
}
.path__title {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 22px;
}
.path__steps {
  display: grid;
  gap: 12px;
}
.path__steps li {
  position: relative;
  padding-left: 40px;
  padding-bottom: 14px;
}
.path__steps li::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #0b0e26;
  border: 2px solid var(--axi-red);
  box-shadow: 0 0 0 4px rgba(255, 61, 69, .13);
  z-index: 1;
}
.path__steps li::after {
  content: "";
  position: absolute;
  left: 13px; top: 19px; bottom: -2px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 61, 69, .5), rgba(139, 108, 255, .22));
}
.path__steps li:last-child { padding-bottom: 0; }
.path__steps li:last-child::after { display: none; }
.path__steps b {
  display: block;
  font-family: "Manrope", "IBM Plex Sans Thai", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
}
.path__steps span { font-size: 13.5px; line-height: 1.65; color: var(--text-dim); }

@media (min-width: 860px) {
  .path__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
  .path__steps li { padding-left: 0; padding-top: 26px; padding-bottom: 0; }
  .path__steps li::before { left: 0; top: 0; }
  .path__steps li::after {
    left: 18px; top: 5px; bottom: auto; right: -20px;
    width: auto; height: 1px;
    background: linear-gradient(90deg, rgba(255, 61, 69, .5), rgba(139, 108, 255, .16));
  }
  .path__steps li:nth-child(3n)::after { display: none; }
}

/* ------------------------------------------------------------------
   11. REBATE
   ------------------------------------------------------------------ */
.rebate__grid { display: grid; gap: clamp(28px, 5vw, 46px); }
@media (min-width: 1000px) {
  .rebate__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 56px; }
}

.rate-board {
  padding: clamp(14px, 2.4vw, 22px);
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, #12163a, #090b1e);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 30px 70px rgba(15, 19, 48, .26);
}
.rate-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 8px;
}
.rate-board__head span {
  font-family: "Manrope", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.rate-board__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mint) !important;
}
.rate-board__live::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(79, 227, 193, .9);
}

.rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.rate-row:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}
.rate-row__name {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 15px;
  color: #eef0fb;
}
.rate-row__dot {
  width: 30px; height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}
.rate-row:nth-of-type(1) .rate-row__dot { background: linear-gradient(135deg, #3e7bff, #6f5bff); }
.rate-row:nth-of-type(2) .rate-row__dot { background: linear-gradient(135deg, #ffb63d, #ff7a45); }
.rate-row:nth-of-type(3) .rate-row__dot { background: linear-gradient(135deg, #4fe3c1, #2f9bd4); }
.rate-row:nth-of-type(4) .rate-row__dot { background: linear-gradient(135deg, #ff5cc8, #8b6cff); }

.rate-row__value {
  font-family: "Manrope", sans-serif;
  font-size: clamp(19px, 3.4vw, 26px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #fff;
  white-space: nowrap;
}
.rate-row__value em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .45);
  margin-left: 2px;
}
.rate-row--hot .rate-row__value { color: #ff707a; }

.rate-board__foot {
  margin-top: 10px;
  padding: 12px 12px 4px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .48);
}

/* ------------------------------------------------------------------
   12. ACCOUNT TYPES
   ------------------------------------------------------------------ */
.accounts {
  display: grid;
  gap: 18px;
  margin-top: clamp(30px, 5vw, 52px);
}
@media (min-width: 900px) {
  .accounts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
}

.acct {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.acct:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .24); box-shadow: var(--sh-2); }

.acct__tier {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.acct h3 { margin: 10px 0 18px; font-size: clamp(20px, 2.6vw, 25px); }
.acct ul { display: grid; gap: 12px; margin-top: auto; }
.acct li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.acct li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(79, 227, 193, .14);
  border: 1px solid rgba(79, 227, 193, .5);
}
.acct li::after {
  content: "";
  position: absolute;
  left: 5.6px; top: 7.5px;
  width: 4px; height: 7px;
  border: solid var(--mint);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}

.acct--featured {
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(139, 108, 255, .30), transparent 62%),
    linear-gradient(160deg, rgba(46, 33, 96, .80), rgba(16, 14, 40, .84));
  border-color: rgba(139, 108, 255, .40);
  box-shadow: var(--glow-violet);
}
@media (min-width: 900px) {
  .acct--featured { transform: translateY(-10px); }
  .acct--featured:hover { transform: translateY(-16px); }
}
.acct__flag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  font-family: "Manrope", "IBM Plex Sans Thai", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .06em;
  color: #fff;
}

/* ------------------------------------------------------------------
   13. BENEFITS + PLATFORM SUPPORT
   ------------------------------------------------------------------ */
.platform {
  margin-top: clamp(30px, 5vw, 50px);
  padding: clamp(24px, 3.4vw, 34px);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #ffffff, #eef0fa);
  border: 1px solid var(--paper-line-soft);
  box-shadow: var(--sh-paper);
  display: grid;
  gap: 22px;
}
@media (min-width: 900px) {
  .platform { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 34px; }
}
.platform h3 { font-size: clamp(19px, 2.4vw, 23px); margin-bottom: 8px; }
.platform p { font-size: 14.5px; line-height: 1.72; color: var(--ink-dim); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--paper-line);
  font-family: "Manrope", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(19, 24, 60, .06);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.tags span:hover { transform: translateY(-3px); border-color: rgba(255, 61, 69, .4); }

/* ------------------------------------------------------------------
   14. HOW TO APPLY
   ------------------------------------------------------------------ */
.steps {
  display: grid;
  gap: 16px;
  margin-top: clamp(30px, 5vw, 52px);
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

.step {
  position: relative;
  padding: clamp(24px, 3vw, 30px) clamp(20px, 2.6vw, 26px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, .24); background: var(--surface-2); }
.step b {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.7; color: var(--text-dim); }

.steps-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(26px, 4vw, 40px);
}
@media (max-width: 460px) { .steps-cta .btn { width: 100%; } }

/* ------------------------------------------------------------------
   15. FINAL CTA
   ------------------------------------------------------------------ */
.final {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 9vw, 94px);
  background:
    radial-gradient(100% 120% at 12% 0%, rgba(255, 61, 69, .38), transparent 58%),
    radial-gradient(90% 120% at 88% 100%, rgba(62, 168, 255, .32), transparent 60%),
    linear-gradient(120deg, #2a1550, #140f34 55%, #0b1030);
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 50%, #000, transparent 72%);
  mask-image: radial-gradient(70% 90% at 50% 50%, #000, transparent 72%);
  pointer-events: none;
}
.final__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 940px) {
  .final__inner { grid-template-columns: minmax(0, 1.4fr) auto; gap: 44px; }
}
.final h2 { font-size: clamp(26px, 4.6vw, 42px); }
.final .lead { color: rgba(255, 255, 255, .80); }
.final__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 940px) {
  .final__actions { flex-direction: column; align-items: stretch; min-width: 262px; }
}
@media (max-width: 460px) { .final__actions .btn { width: 100%; } }

/* ------------------------------------------------------------------
   16. FOOTER
   ------------------------------------------------------------------ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: clamp(42px, 6vw, 62px);
  padding-bottom: calc(26px + var(--mobilebar-h));
}
.footer__top {
  display: grid;
  gap: 26px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 48px; }
}

.footer__brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer__brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer__brand b { font-family: "Manrope", sans-serif; font-size: 16px; font-weight: 800; }

.disclaimer {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-faint);
  max-width: 78ch;
}
.disclaimer + .disclaimer { margin-top: 12px; }

.footer__links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__links a {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer__links a:hover { color: #fff; border-color: var(--line-strong); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ------------------------------------------------------------------
   17. FLOATING / MOBILE CONVERSION CONTROLS
   ------------------------------------------------------------------ */
.line-fab {
  display: none;
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--line-green);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 16px 40px rgba(6, 199, 85, .32);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.line-fab:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(6, 199, 85, .44); }
@media (min-width: 861px) { .line-fab { display: inline-flex; } }

.mobilebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: flex;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(6, 8, 20, .93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, .10);
  transform: translateY(120%);
  transition: transform var(--t) var(--ease);
}
.mobilebar.is-visible { transform: translateY(0); }
.mobilebar .btn { flex: 1; padding: 13px 10px; font-size: 14.5px; }
.mobilebar .btn--line { flex: 0 0 32%; }
@media (min-width: 861px) { .mobilebar { display: none; } }

body.has-mobilebar { --mobilebar-h: 66px; }
@media (min-width: 861px) { body.has-mobilebar { --mobilebar-h: 0px; } }

/* ------------------------------------------------------------------
   18. ANIMATION
   ------------------------------------------------------------------ */
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 22px, 0) scale(1.08); }
}
@keyframes float-kv {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-12px); }
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-bar {
  0%, 100% { transform: scaleY(1); opacity: .85; }
  50% { transform: scaleY(.62); opacity: 1; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Scroll reveal — hidden state only applies once JS is running */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .09s; }
.js .reveal[data-delay="2"] { transition-delay: .18s; }
.js .reveal[data-delay="3"] { transition-delay: .27s; }
.js .reveal[data-delay="4"] { transition-delay: .36s; }

/* Hero stagger — like .reveal, the hidden start state needs JS present */
.js .hero .anim { opacity: 0; animation: hero-in .8s var(--ease) both; }
.hero .anim--1 { animation-delay: .05s; }
.hero .anim--2 { animation-delay: .13s; }
.hero .anim--3 { animation-delay: .21s; }
.hero .anim--4 { animation-delay: .29s; }
.hero .anim--5 { animation-delay: .37s; }
.hero .anim--6 { animation-delay: .45s; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   19. REDUCED MOTION
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .js .hero .anim, .hero .anim { opacity: 1; animation: none; }
  .kv { transform: rotate(-2deg); }
  .kv__spark path { stroke-dashoffset: 0; }
  .btn:hover, .card:hover, .acct:hover, .step:hover, .rate-row:hover, .tags span:hover { transform: none; }
  .stack article:hover { transform: none; }
}
