:root {
  --bg: #06080f;
  --bg2: #0c1018;
  --surface: rgba(255,255,255,.055);
  --surface2: rgba(255,255,255,.085);
  --border: rgba(255,255,255,.10);
  --border2: rgba(255,255,255,.16);
  --text: rgba(255,255,255,.95);
  --muted: rgba(255,255,255,.62);
  --muted2: rgba(255,255,255,.40);
  --gold: #F7B928;
  --gold2: #FFD96B;
  --gold3: #FFF0B3;
  --r: 16px;
  --rLg: 24px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .028;
  pointer-events: none;
  z-index: 0;
}

/* ─── GLOW BG ─── */
.glow-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.glow--1 { width: 600px; height: 600px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(247,185,40,.22), transparent 65%); }
.glow--2 { width: 500px; height: 400px; top: -80px; right: -100px; background: radial-gradient(circle, rgba(255,217,107,.13), transparent 60%); }
.glow--3 { width: 700px; height: 500px; bottom: 10%; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(247,185,40,.10), transparent 60%); }

/* ─── LAYOUT ─── */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 18px; position: relative; z-index: 1; }

/* ─── TOPBAR ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(6,8,15,.75);
  border-bottom: 1px solid var(--border);
  min-height: 72px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand__logo {
  width: 40px; height: 40px;
  border-radius: 13px;
  background: rgba(247,185,40,.10);
  padding: 7px;
  border: 1px solid rgba(247,185,40,.25);
}
.brand__name {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.2px;
}
.nav { display: none; gap: 6px; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.topbar__actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.topbar__actions .btn--ghost { padding: 10px 18px; font-size: 14px; }
.topbar__actions .btn--gold { padding: 10px 20px; font-size: 14px; font-weight: 800; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .1px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--surface2); border-color: var(--border2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--gold {
  background: linear-gradient(160deg, #F7B928, #E8A415);
  border-color: rgba(247,185,40,.5);
  color: #0f0d00;
  box-shadow: 0 4px 28px rgba(247,185,40,.28);
}
.btn--gold:hover {
  background: linear-gradient(160deg, #FFD055, #F7B928);
  box-shadow: 0 6px 36px rgba(247,185,40,.38);
}
.btn--lg { padding: 13px 22px; font-size: 15px; }
.btn--sm { padding: 7px 12px; font-size: 12.5px; }
.btn--full { width: 100%; }

/* ─── HERO ─── */
.hero { padding: 52px 0 44px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247,185,40,.10);
  border: 1px solid rgba(247,185,40,.28);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold2);
  margin-bottom: 18px;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(247,185,40,.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(247,185,40,.18); }
  50% { box-shadow: 0 0 0 7px rgba(247,185,40,.08); }
}

.hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hl {
  background: linear-gradient(135deg, var(--gold2), var(--gold3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 54ch;
  margin-bottom: 24px;
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

/* ─── STATS STRIP ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 8px;
  text-align: center;
  min-width: 0;
}
.stat__val {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 900;
  color: var(--gold2);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label { font-size: 10px; color: var(--muted2); font-weight: 600; line-height: 1.3; }

/* ─── HERO CARD ─── */
.hero__card {
  background: linear-gradient(160deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.04) 100%);
  border: 1px solid var(--border2);
  border-radius: var(--rLg);
  padding: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12);
  min-width: 0;
  width: 100%;
}
.card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.card__avatar {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(247,185,40,.12);
  border: 1px solid rgba(247,185,40,.25);
  padding: 8px;
}
.card__brand-text .title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}
.card__brand-text .sub {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 3px;
}

/* refcode box */
.refbox {
  background: rgba(247,185,40,.07);
  border: 1px dashed rgba(247,185,40,.35);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  min-width: 0;
}
.refbox__label { font-size: 11px; color: var(--muted2); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; }
.refbox__code {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 3.5vw, 20px);
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold2);
  word-break: break-all;
}

.divider { height: 1px; background: var(--border); margin: 16px 0; }

/* cardlinks */
.clink {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  margin-bottom: 8px;
  transition: all .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.clink:last-child { margin-bottom: 0; }
.clink:hover, .clink:active { background: var(--surface2); border-color: rgba(247,185,40,.30); transform: translateX(2px); }
.clink__icon {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, #F7B928, #E8A415);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: #0f0d00;
  flex-shrink: 0;
}
.clink__body { flex: 1; min-width: 0; }
.clink__title { font-size: 13.5px; font-weight: 700; }
.clink__sub { font-size: 11.5px; color: var(--muted2); margin-top: 2px; }
.clink__arrow { color: var(--muted2); font-size: 13px; flex-shrink: 0; }

/* ─── SECTION ─── */
.section { padding: 56px 0; position: relative; z-index: 1; }
.section--alt {
  background: linear-gradient(180deg, rgba(247,185,40,.035) 0%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sec__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 10px;
}
.sec__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.sec__desc { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 62ch; margin-bottom: 32px; }

/* ─── FEATURES ─── */
.features { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rLg);
  padding: 22px;
  transition: border-color .2s, background .2s;
}
.feat:hover { border-color: rgba(247,185,40,.25); background: var(--surface2); }
.feat__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(247,185,40,.10);
  border: 1px solid rgba(247,185,40,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.feat__title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.feat__desc { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ─── REGISTER SECTION ─── */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.reg-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rLg);
  padding: 22px;
}
.reg-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.reg-row:last-child { border-bottom: none; }
.reg-row__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted2); }
.reg-row__val { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.reg-code {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--gold2);
  background: rgba(247,185,40,.08);
  border: 1px dashed rgba(247,185,40,.3);
  padding: 8px 12px;
  border-radius: 10px;
}
.reg-link { color: var(--gold2); font-weight: 600; font-size: 13.5px; word-break: break-all; }
.reg-link:hover { text-decoration: underline; }
.reg-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ─── TABLE ─── */
.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rLg);
  padding: 22px;
}
.table-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 6px;
}
.table-card .note { font-size: 12px; color: var(--muted2); margin-bottom: 16px; }
.tableWrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 300px; }
th { background: rgba(247,185,40,.06); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
td { padding: 14px 16px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); }
tr:last-child td { border-bottom: none; }
.td--gold { color: var(--gold2); font-family: 'Inter', sans-serif; font-weight: 900; font-size: 16px; }
.tr--highlight td { background: rgba(247,185,40,.05); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  font-size: 11.5px; font-weight: 700;
  background: rgba(247,185,40,.08);
  border: 1px solid rgba(247,185,40,.20);
  color: var(--gold2);
  padding: 6px 11px;
  border-radius: 999px;
}

/* ─── STEPS ─── */
.steps { display: grid; gap: 12px; }
.step {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rLg);
  padding: 20px;
  align-items: flex-start;
  transition: border-color .2s;
}
.step:hover { border-color: rgba(247,185,40,.22); }
.step__num {
  width: 40px; height: 40px;
  border-radius: 14px;
  background: linear-gradient(145deg, #F7B928, #E8A415);
  color: #0f0d00;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(247,185,40,.28);
}
.step__body { flex: 1; min-width: 0; }
.step__title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.step__desc { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 10px; }
.step__link { color: var(--gold2); font-weight: 700; font-size: 13.5px; }
.step__link:hover { text-decoration: underline; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background:
    radial-gradient(700px 300px at 0% 50%, rgba(247,185,40,.18), transparent 55%),
    radial-gradient(500px 400px at 100% 50%, rgba(255,217,107,.10), transparent 60%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(247,185,40,.22);
  border-radius: calc(var(--rLg) + 4px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-banner__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.cta-banner__desc { color: var(--muted); font-size: 14px; line-height: 1.6; }
.cta-banner__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 32px;
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__brand { display: flex; align-items: center; gap: 8px; }
.footer__logo { width: 26px; height: 26px; border-radius: 9px; background: rgba(247,185,40,.1); padding: 5px; }
.footer__name { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 13.5px; }
.footer__right { color: var(--muted2); font-size: 13px; }
.footer__right a { color: var(--muted); font-weight: 600; transition: color .15s; }
.footer__right a:hover { color: var(--text); }

/* ─── TOAST ─── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(10,13,22,.88);
  border: 1px solid rgba(247,185,40,.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
  transition: opacity .18s, transform .18s;
  z-index: 200;
  max-width: calc(100vw - 36px);
}
.toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast__check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(247,185,40,.18);
  border: 1px solid rgba(247,185,40,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold2);
  font-size: 11px;
  flex-shrink: 0;
}
.toast__msg { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ─── RESPONSIVE ─── */
@media (min-width: 700px) {
  .nav { display: flex; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .reg-grid { grid-template-columns: 1fr 1fr; }
  .reg-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .reg-row__label { flex-shrink: 0; width: 130px; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 28px; }
}
@media (min-width: 900px) {
  .cta-banner { flex-direction: row; align-items: center; }
}

/* ─── MOBILE FOCUS ─── */
@media (max-width: 699px) {
  .topbar__actions .btn--ghost { display: none; }
  .hero__btns .btn--lg { flex: 1; min-width: 140px; }
  .reg-btns .btn { flex: 1; min-width: 140px; text-align: center; }
  .cta-banner__btns .btn { flex: 1; min-width: 140px; }
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp .55s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .12s; }
.d3 { animation-delay: .20s; }
.d4 { animation-delay: .28s; }
.d5 { animation-delay: .36s; }

/* ─── LEGAL SECTION ─── */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.legal-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rLg);
  padding: 20px;
  transition: border-color .2s;
}
.legal-card:hover { border-color: rgba(247,185,40,.22); }
.legal-card--highlight {
  border-color: rgba(247,185,40,.30);
  background: linear-gradient(135deg, rgba(247,185,40,.07), rgba(247,185,40,.02));
}
.legal-card__icon {
  font-size: 24px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(247,185,40,.10);
  border: 1px solid rgba(247,185,40,.20);
  border-radius: 14px;
  flex-shrink: 0;
}
.legal-card__body { flex: 1; min-width: 0; }
.legal-card__tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 5px;
}
.legal-card__title {
  font-weight: 800;
  font-size: 15.5px;
  margin-bottom: 7px;
  line-height: 1.3;
}
.legal-card__desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.legal-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold2);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(247,185,40,.30);
  background: rgba(247,185,40,.08);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .15s, border-color .15s;
}
.legal-card__link:hover {
  background: rgba(247,185,40,.14);
  border-color: rgba(247,185,40,.50);
}

/* Invoice Banner */
.invoice-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(247,185,40,.12), rgba(247,185,40,.05));
  border: 1px solid rgba(247,185,40,.35);
  border-radius: var(--rLg);
  padding: 20px 22px;
}
.invoice-banner__icon {
  font-size: 28px;
  flex-shrink: 0;
}
.invoice-banner__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.invoice-banner__text strong {
  font-size: 14px;
  font-weight: 900;
  color: var(--gold2);
  letter-spacing: .01em;
}
.invoice-banner__text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (min-width: 700px) {
  .legal-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── PARTNERS MARQUEE ─── */
.section--partners {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--partners .wrap { margin-bottom: 28px; }

.marquee-track {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-inner {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover .marquee-inner {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-item {
  flex-shrink: 0;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s;
  cursor: default;
}
.partner-logo:hover {
  border-color: rgba(247,185,40,.30);
  color: var(--text);
  background: var(--surface2);
}

/* ════════════════════════════════════════
   RESPONSIVE — ĐẦY ĐỦ MỌI THIẾT BỊ
   ════════════════════════════════════════ */

/* ── Điện thoại nhỏ (≤ 360px: iPhone SE, Galaxy A series cũ) ── */
@media (max-width: 360px) {
  .wrap { padding: 0 14px; }
  .hero { padding: 36px 0 28px; }
  .hero__title { font-size: 26px; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn--lg { width: 100%; }
  .stats { gap: 6px; }
  .stat { padding: 10px 6px; }
  .stat__val { font-size: 15px; }
  .stat__label { font-size: 9px; }
  .topbar__actions .btn--gold { padding: 8px 12px; font-size: 12px; }
  .refbox { flex-direction: column; align-items: flex-start; }
  .refbox__code { font-size: 16px; letter-spacing: 1px; }
  .section { padding: 40px 0; }
  .legal-card { flex-direction: column; gap: 12px; }
  .invoice-banner { flex-direction: column; text-align: center; }
  .cta-banner { padding: 22px 16px; }
  .cta-banner__btns { flex-direction: column; }
  .cta-banner__btns .btn { width: 100%; }
  .step { gap: 12px; padding: 16px; }
}

/* ── Điện thoại thường (361px – 480px: iPhone 14, Galaxy S series) ── */
@media (min-width: 361px) and (max-width: 480px) {
  .hero__title { font-size: 30px; }
  .hero__btns .btn--lg { flex: 1; }
  .legal-card { gap: 12px; }
}

/* ── Điện thoại lớn / phablet (481px – 699px: iPhone Plus, Pro Max) ── */
@media (min-width: 481px) and (max-width: 699px) {
  .hero__title { font-size: 34px; }
  .hero__grid { gap: 24px; }
  .features { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet dọc (700px – 899px: iPad mini, iPad Air dọc) ── */
@media (min-width: 700px) and (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero__title { font-size: 36px; }
  .sec__title { font-size: 28px; }
  .cta-banner { flex-direction: column; }
}

/* ── Tablet ngang / laptop nhỏ (900px – 1023px: iPad Air ngang, Surface) ── */
@media (min-width: 900px) and (max-width: 1023px) {
  .hero__title { font-size: 40px; }
  .wrap { padding: 0 28px; }
}

/* ── Laptop / desktop (1024px – 1279px) ── */
@media (min-width: 1024px) {
  .wrap { padding: 0 32px; }
  .hero { padding: 64px 0 52px; }
  .section { padding: 72px 0; }
  .nav a { font-size: 14px; }
}

/* ── Desktop lớn (≥ 1280px: màn 1440p, 4K) ── */
@media (min-width: 1280px) {
  .wrap { padding: 0 40px; }
  .hero__title { font-size: 52px; }
  .sec__title { font-size: 40px; }
  .hero { padding: 80px 0 64px; }
}

/* ── Safe area cho iPhone có notch / Dynamic Island ── */
@supports (padding: env(safe-area-inset-bottom)) {
  .topbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* ── Landscape mode trên điện thoại ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 24px 0 20px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero__title { font-size: 24px; margin-bottom: 10px; }
  .hero__desc { font-size: 13px; margin-bottom: 14px; }
  .stats { display: none; }
  .eyebrow { margin-bottom: 10px; }
  .section { padding: 32px 0; }
}

/* ── Print / in trang ── */
@media print {
  .topbar, .glow-wrap, .toast, .marquee-track { display: none !important; }
  body { background: white; color: black; }
  .hero__card, .feat, .step, .legal-card { border: 1px solid #ccc !important; background: white !important; }
}

/* ─── MOBILE MENU BUTTON ─── */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, border-color .15s;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease, width .22s ease;
  transform-origin: center;
}
.menu-btn--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 700px) { .menu-btn { display: none; } }

/* ─── MOBILE DRAWER ─── */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 85vw);
  height: 100dvh;
  background: rgba(8,11,20,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
}
.drawer--open { transform: translateX(0); }
.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer__link {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  padding: 14px 16px;
  border-radius: 12px;
  transition: background .15s, color .15s;
}
.drawer__link:hover, .drawer__link:active {
  background: var(--surface);
  color: var(--text);
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.drawer-overlay--show {
  opacity: 1;
  pointer-events: all;
}
@media (min-width: 700px) {
  .drawer, .drawer-overlay { display: none !important; }
}

/* ─── ACCESSIBILITY: focus visible ─── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── REDUCE MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-inner { animation: none !important; }
  .fade-up { opacity: 1 !important; transform: none !important; }
}