/* ============================================================
   NexGlobal — light landing page
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --ink: #171233;
  --ink-2: #2b2350;
  --muted: #6b6688;
  --muted-2: #928dab;
  --line: #ece8f7;
  --line-strong: #ddd7ee;
  --brand: #6d4df0;
  --brand-2: #8b6cf6;
  --brand-soft: #f2edff;
  --blue: #2f7cf6;
  --blue-soft: #eef4ff;
  --violet: #7c5cf0;
  --violet-soft: #f2efff;
  --gold: #e9a400;
  --gold-soft: #fff7e0;
  --red: #dc3545;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 61, 0.04);
  --shadow: 0 24px 60px -34px rgba(15, 31, 61, 0.35);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  touch-action: manipulation;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  letter-spacing: -0.035em;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(109, 77, 240, 0.16);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(23, 18, 51, 0.08);
  background: #ffffff;
  backdrop-filter: blur(18px);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(15, 31, 61, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #9b7ff8, #6d4df0 55%, #e9a400);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: 0 8px 18px -10px rgba(109, 77, 240, 0.55);
}

.logo-text {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-text span {
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
  transition: color 130ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-login {
  color: var(--ink-2);
  font-size: 0.79rem;
  font-weight: 700;
}

.header-login:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  transition: 140ms ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(180deg, #8468f4, #5b35e0);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(109, 77, 240, 0.65);
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #c9bbff;
  background: var(--brand-soft);
  color: #5b35e0;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.76rem;
}

.btn-block {
  width: 100%;
}

.btn-wa {
  background: #12a35b;
  color: #fff;
}

.btn-wa:hover {
  filter: brightness(1.05);
}

.btn-white {
  background: #fff;
  color: var(--ink);
}

.btn-white:hover {
  background: #f0fbf6;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
  background: #ffffff;
}

.hero::before {
  display: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5b35e0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.eyebrow.light {
  color: #ffe3a1;
}

.eyebrow.light i {
  background: #ffe3a1;
}

.hero h1 {
  margin-top: 6px;
  font-size: clamp(2.75rem, 5.2vw, 4.3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero h1 span {
  background: linear-gradient(92deg, #6d4df0 10%, #9b7ff8 48%, #e9a400 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 18px;
  max-width: 43ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-checks b {
  color: var(--brand);
  margin-right: 3px;
}

/* ------------------------------------------------------------- dashboard preview */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dash-preview {
  position: relative;
  animation: card-in 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  width: 100%;
  max-width: 420px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 40px 90px -42px rgba(15, 31, 61, 0.5);
  transform: rotate(1.2deg);
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
}

.preview-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.preview-brand small {
  color: var(--muted-2);
  font-size: 0.55rem;
  font-weight: 600;
}

.preview-logo {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 20px;
  background: var(--brand-soft);
  color: #5b35e0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.preview-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f2bd1, #7b59f2 58%, #e9a400 150%);
  box-shadow: 0 16px 30px -22px rgba(79, 43, 209, 0.7);
}

.preview-balance > div {
  display: flex;
  flex-direction: column;
}

.preview-balance span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-balance strong {
  color: #ffffff;
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.preview-growth {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  font-size: 0.62rem !important;
  font-weight: 800;
}

.preview-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 104px;
  padding: 10px 0 0;
  border-bottom: 1px dashed var(--line);
}

.preview-chart span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: #e9e2ff;
}

.preview-chart span.is-current {
  background: linear-gradient(180deg, #ffd15c, #e9a400);
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.preview-stats > div {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.preview-stats span {
  color: var(--muted-2);
  font-size: 0.55rem;
}

.preview-stats strong {
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-progress {
  margin-top: 12px;
}

.preview-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.57rem;
  font-weight: 600;
}

.preview-progress b {
  color: var(--brand);
}

.preview-bar {
  height: 6px;
  margin-top: 4px;
  border-radius: 20px;
  background: #edf2f7;
  overflow: hidden;
}

.preview-bar i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, #6d4df0, #e9a400);
}

.preview-levels {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}

.preview-levels span {
  flex: 1;
  padding: 5px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
}

.preview-levels span.is-on {
  border-color: #d9ceff;
  background: var(--brand-soft);
  color: #5b35e0;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 16px 38px -20px rgba(15, 31, 61, 0.38);
}

.floating-card strong {
  color: var(--brand);
  font-size: 0.83rem;
  font-weight: 800;
}

.floating-card span {
  color: var(--muted-2);
  font-size: 0.58rem;
}

.fc-one {
  left: -26px;
  bottom: 54px;
}

.fc-two {
  right: -18px;
  top: 36px;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.fc-two i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.fc-two span {
  color: #5b35e0;
  font-size: 0.62rem;
  font-weight: 800;
}

/* ------------------------------------------------------------- metrics */
.metrics-band {
  position: relative;
  z-index: 2;
  margin-top: -18px;
  padding-bottom: 10px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.metric {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric strong span {
  color: var(--muted-2);
  font-size: 0.9rem;
}

.metric > span {
  color: var(--muted-2);
  font-size: 0.65rem;
  font-weight: 600;
}

/* ------------------------------------------------------------- sections */
.section {
  padding: 78px 0;
}

section[id] {
  scroll-margin-top: 82px;
}

.section-soft {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 600px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.section-head p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ------------------------------------------------------------- plan */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.plan-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
}

.icon-mint { background: var(--brand-soft); color: var(--brand); }
.icon-blue { background: var(--blue-soft); color: var(--blue); }
.icon-violet { background: var(--violet-soft); color: var(--violet); }
.icon-gold { background: var(--gold-soft); color: var(--gold); }

.plan-label {
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.plan-card > strong {
  margin-top: 3px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.plan-card > strong span {
  color: var(--muted-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.plan-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.levels-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.levels-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.levels-head h3 {
  margin-top: 3px;
  font-size: 1.1rem;
  font-weight: 800;
}

.soft-badge {
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--brand-soft);
  color: #5b35e0;
  font-size: 0.65rem;
  font-weight: 800;
}

.level-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.level-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.level-table th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted-2);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.level-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.level-table tbody tr:last-child td {
  border-bottom: 0;
}

.level-table td strong {
  color: var(--ink);
  font-weight: 800;
}

.level-tag {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: #5b35e0;
  font-size: 0.66rem;
  font-weight: 800;
}

.level-tag.muted {
  background: var(--bg-soft);
  color: var(--muted-2);
}

.level-table small {
  color: var(--muted-2);
}

.level-row-muted td {
  color: var(--muted-2);
}

.table-note {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.68rem;
}

/* ------------------------------------------------------------- income */
.income-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.income-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.income-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 800;
}

.income-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
}

.income-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.income-meta {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #5b35e0;
  font-size: 0.68rem;
  font-weight: 800;
}

/* ------------------------------------------------------------- calculator */
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
}

.calc-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.calc-copy > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.control label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 700;
}

.control output {
  min-width: 44px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.control input[type="range"] {
  width: 100%;
  height: 5px;
  margin-top: 10px;
  border-radius: 20px;
  background: linear-gradient(90deg, #6d4df0, #e9a400);
  appearance: none;
  outline: 0;
}

.control input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(109, 77, 240, 0.35);
  appearance: none;
  cursor: pointer;
}

.control input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(109, 77, 240, 0.35);
  cursor: pointer;
}

.calc-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.67rem;
}

.calc-result {
  padding: 24px;
  border-radius: 20px;
  background:
    radial-gradient(420px 200px at 90% 0%, rgba(233, 164, 0, 0.22), transparent 62%),
    linear-gradient(150deg, #34236f, #1d1248);
  color: #fff;
  box-shadow: 0 30px 70px -34px rgba(43, 30, 94, 0.65);
}

.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.result-head span {
  color: #9db1c9;
  font-size: 0.68rem;
  font-weight: 600;
}

.result-head strong {
  color: #ffcf5a;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.result-level {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(255, 207, 90, 0.12);
  color: #ffe3a1;
  font-size: 0.63rem;
  font-weight: 700;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.result-grid > div {
  display: flex;
  flex-direction: column;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
}

.result-grid span {
  color: #9db1c9;
  font-size: 0.58rem;
}

.result-grid strong {
  font-size: 0.83rem;
  font-weight: 800;
}

.result-combined {
  border-color: rgba(233, 164, 0, 0.3) !important;
  background: rgba(233, 164, 0, 0.09) !important;
}

.result-combined strong {
  color: #ffcf5a;
}

.cap-block {
  margin-top: 15px;
}

.cap-head {
  display: flex;
  justify-content: space-between;
  color: #9db1c9;
  font-size: 0.62rem;
}

.cap-head strong {
  color: #fff;
}

.cap-bar {
  height: 6px;
  margin-top: 5px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cap-bar i {
  display: block;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, #6d4df0, #ffcf5a);
  transition: width 220ms ease;
}

.level-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.level-checks li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #9db1c9;
  font-size: 0.57rem;
  font-weight: 600;
}

.level-checks li span {
  font-weight: 800;
}

.level-checks li em {
  color: #7f93ab;
  font-style: normal;
}

.level-checks li.unlocked {
  border-color: rgba(233, 164, 0, 0.28);
  background: rgba(233, 164, 0, 0.09);
  color: #ffe3a1;
}

.level-checks li.unlocked em {
  color: #ffcf5a;
}

.hidden-count {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ------------------------------------------------------------- ranks */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.rank-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #94a3b8, #e2e8f0);
}

.rank-card.gold::before {
  background: linear-gradient(90deg, #d99a2b, #f5d38a);
}

.rank-card.diamond::before {
  background: linear-gradient(90deg, #6d4df0, #b9a9ff);
}

.rank-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 13px;
  border-radius: 11px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 1.05rem;
}

.rank-card.gold .rank-icon {
  background: var(--gold-soft);
  color: var(--gold);
}

.rank-card.diamond .rank-icon {
  background: var(--violet-soft);
  color: var(--violet);
}

.rank-card h3 {
  font-size: 1rem;
  font-weight: 800;
}

.rank-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
}

.rank-card > strong {
  margin-top: 15px;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.rank-card.gold > strong {
  color: var(--gold);
}

.rank-card.diamond > strong {
  color: var(--violet);
}

/* ------------------------------------------------------------- join */
.join-section {
  background: var(--bg);
}

.join-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border-radius: 22px;
  background:
    radial-gradient(520px 260px at 88% 0%, rgba(233, 164, 0, 0.26), transparent 66%),
    linear-gradient(135deg, #3a2781, #211452);
  color: #fff;
  box-shadow: 0 30px 70px -36px rgba(43, 30, 94, 0.6);
}

.join-banner h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
}

.join-banner p {
  margin-top: 7px;
  max-width: 48ch;
  color: #a9bcd2;
  font-size: 0.83rem;
}

.join-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.join-steps {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.join-steps > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 96px;
  padding: 13px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.join-steps span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffcf5a;
  color: #3a2700;
  font-size: 0.7rem;
  font-weight: 800;
}

.join-steps strong {
  color: #dbe8f5;
  font-size: 0.64rem;
  font-weight: 700;
}

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  margin-top: 18px;
  align-items: start;
}

.payment-panel,
.lead-panel,
.start-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.start-panel {
  background: linear-gradient(160deg, #faf8ff, #fffdf5);
  border-color: #e7e0fb;
}

.start-panel h3 {
  margin-top: 4px;
  font-size: 1.3rem;
  font-weight: 800;
}

.start-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0 20px;
}

.start-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 600;
}

.start-list li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
}

.start-note {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.67rem;
  text-align: center;
}

.payment-head {
  margin-bottom: 14px;
}

.payment-head h3 {
  margin-top: 4px;
  font-size: 1.18rem;
  font-weight: 800;
}

.payment-head small {
  color: var(--muted-2);
  font-size: 0.75rem;
  font-weight: 500;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.payment-card + .payment-card {
  margin-top: 7px;
}

.payment-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
}

.payment-icon svg {
  width: 17px;
  height: 17px;
}

.payment-icon.wa { background: var(--brand-soft); color: var(--brand); }
.payment-icon.ep { background: var(--gold-soft); color: var(--gold); }
.payment-icon.bank { background: var(--blue-soft); color: var(--blue); }

.payment-card > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.payment-card span:not(.payment-icon) {
  color: var(--muted-2);
  font-size: 0.59rem;
}

.payment-card strong {
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.payment-link {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.62rem;
  font-weight: 800;
}

.payment-link:hover {
  border-color: #c9bbff;
  color: #5b35e0;
}

.payment-note {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.67rem;
}

.lead-head h3 {
  margin-top: 3px;
  font-size: 1.18rem;
  font-weight: 800;
}

.lead-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field > span {
  color: var(--ink-2);
  font-size: 0.65rem;
  font-weight: 700;
}

.field > span em {
  color: var(--muted-2);
  font-style: normal;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: 0;
  background: #fff;
  font-size: 0.77rem;
  transition: border-color 130ms ease, box-shadow 130ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 68px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #a58ef6;
  box-shadow: 0 0 0 3px rgba(109, 77, 240, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a6b3c2;
}

.form-fine {
  color: var(--muted-2);
  font-size: 0.63rem;
  text-align: center;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-errors {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #f4c9ce;
  border-radius: 8px;
  background: #fff8f8;
  color: #b42333;
  font-size: 0.72rem;
}

.form-errors ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.success-card {
  text-align: center;
  padding: 8px 0;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.success-icon svg {
  width: 22px;
  height: 22px;
}

.success-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.success-card > p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.success-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 14px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  text-align: left;
}

.success-summary > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.success-summary span {
  color: var(--muted-2);
  font-size: 0.57rem;
}

.success-summary strong {
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}

.success-card .btn + .btn {
  margin-top: 7px;
}

.success-note {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.62rem;
}

.text-link {
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 700;
}

.text-link.centered {
  display: inline-block;
  margin-top: 10px;
}

/* ------------------------------------------------------------- faq */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details p {
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------- final cta */
.final-cta {
  padding: 0 0 70px;
  background: var(--bg);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.final-cta h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
}

.final-cta p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.final-cta-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ------------------------------------------------------------- footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 22px;
}

.footer-brand p {
  margin-top: 8px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.63rem;
}

.disclaimer {
  max-width: 66ch;
  text-align: right;
}

/* ------------------------------------------------------------- float wa */
.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #12a35b;
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(18, 163, 91, 0.6);
  transition: transform 140ms ease;
}

.float-wa:hover {
  transform: translateY(-2px);
}

.float-wa svg {
  width: 24px;
  height: 24px;
}

/* ------------------------------------------------------------- reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero-grid {
    gap: 40px;
  }

  .fc-one {
    left: -10px;
  }

  .fc-two {
    right: -6px;
  }

  .nav {
    gap: 18px;
  }
}

@media (max-width: 980px) {
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 40px -30px rgba(15, 31, 61, 0.35);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: block;
  }

  .header-login {
    display: none;
  }

  .hero {
    padding: 54px 0 48px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .dash-preview {
    max-width: 470px;
    transform: none;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .plan-grid,
  .rank-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .income-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .join-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }

  .join-steps {
    width: 100%;
  }

  .join-steps > div {
    flex: 1;
  }

  .join-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .disclaimer {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 62px;
    gap: 12px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 0.92rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .header-actions .btn {
    min-height: 34px;
    padding: 6px 11px;
    font-size: 0.7rem;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
    padding: 8px;
  }

  .hero {
    padding: 30px 0 34px;
  }

  .hero-grid {
    gap: 46px;
  }

  .hero-copy {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 2.95rem);
    margin-top: 0;
    line-height: 1.02;
  }

  .hero-sub {
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    max-width: 32ch;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 22px;
    gap: 8px;
  }

  .hero-actions .btn {
    flex: 1;
  }

  .hero-checks {
    gap: 6px;
    margin-top: 14px;
    font-size: 0.62rem;
  }

  .hero-checks span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    color: var(--ink-2);
    font-weight: 700;
  }

  .hero-checks b {
    color: var(--gold);
  }

  .dash-preview {
    margin-left: auto;
    margin-right: auto;
    padding: 13px;
    border-radius: 20px;
  }

  .preview-head {
    padding-bottom: 10px;
  }

  .preview-balance {
    margin-top: 10px;
    padding: 12px 13px;
  }

  .preview-balance strong {
    font-size: 1.7rem;
  }

  .preview-chart {
    height: 74px;
    padding-top: 8px;
  }

  .preview-stats {
    margin-top: 9px;
    gap: 6px;
  }

  .preview-stats > div {
    padding: 7px;
  }

  .preview-progress,
  .preview-levels {
    margin-top: 9px;
  }

  .preview-levels span {
    padding: 4px 0;
  }

  .fc-one,
  .fc-two {
    display: none;
  }

  .metrics-band {
    margin-top: -10px;
  }

  .metric {
    padding: 13px 14px;
  }

  .metric strong {
    font-size: 1.18rem;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .section-head p {
    font-size: 0.82rem;
  }

  .plan-grid,
  .rank-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-card,
  .income-card,
  .rank-card {
    padding: 16px;
  }

  .income-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .levels-card {
    padding: 16px;
  }

  .levels-head {
    flex-direction: column;
    gap: 6px;
  }

  .level-table {
    min-width: 540px;
  }

  .calc-result {
    padding: 18px;
  }

  .result-head strong {
    font-size: 1.85rem;
  }

  .result-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .join-banner {
    padding: 22px;
    border-radius: 18px;
  }

  .join-steps {
    flex-direction: column;
  }

  .join-steps > div {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 9px;
    padding: 10px;
  }

  .payment-panel,
  .lead-panel {
    padding: 17px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .success-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .final-cta {
    padding-bottom: 50px;
  }

  .final-cta-inner {
    padding: 20px;
  }

  .final-cta-actions {
    width: 100%;
  }

  .final-cta-actions .btn {
    flex: 1;
  }

  .float-wa {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .footer-links {
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .header-actions .btn {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .metric strong {
    font-size: 1.05rem;
  }

  .preview-stats strong {
    font-size: 0.7rem;
  }

  .fc-one,
  .fc-two {
    display: none;
  }
}

/* ------------------------------------------------------------- mobile app chrome */
.nav-mobile-actions,
.nav-scrim,
.mobile-dock {
  display: none;
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    top: auto;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    max-height: 82dvh;
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 -30px 80px -30px rgba(15, 31, 61, 0.45);
    overflow-y: auto;
    transform: translateY(105%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
  }

  .nav::before {
    content: "";
    display: block;
    width: 38px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 4px;
    background: #d8e0ea;
  }

  .nav.open {
    display: flex;
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
  }

  .nav-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .nav-mobile-actions .btn {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  body.nav-open .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    padding: 0;
    border: 0;
    background: rgba(11, 27, 51, 0.36);
    backdrop-filter: blur(2px);
  }

  .header-login {
    display: block;
    font-size: 0.74rem;
  }

  .header-actions .btn-sm {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .final-cta {
    padding-bottom: 50px;
  }
}

@media (max-width: 980px) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #ffffff;
  }

  body.nav-open .float-wa {
    display: none;
  }
}

@media (max-width: 720px) {
  .join-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .join-actions .btn {
    width: 100%;
    padding: 9px 8px;
    font-size: 0.7rem;
  }

  .final-cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .final-cta-actions .btn {
    width: 100%;
    padding: 9px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1;
    padding: 9px 10px;
    font-size: 0.74rem;
  }

  .hero-actions .btn:first-child {
    flex: 1.2;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none !important;
  }

  .nav-toggle {
    display: none !important;
  }

  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #ffffff;
  }

  .header-login {
    display: block;
    font-size: 0.72rem;
  }

  .header-actions .btn-sm {
    display: inline-flex;
    min-height: 36px;
    padding: 6px 11px;
    font-size: 0.7rem;
  }
}

/* ------------------------------------------------------------- mobile app menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: calc(18px + env(safe-area-inset-top)) 20px calc(22px + env(safe-area-inset-bottom));
  background: #ffffff;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-menu-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.mobile-menu-close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  margin: 26px 0 auto;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mobile-menu-nav a span {
  width: 22px;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mobile-menu-nav a::after {
  content: "→";
  margin-left: auto;
  color: var(--muted-2);
  font-weight: 600;
}

.mobile-menu-bottom {
  padding-top: 22px;
}

.mobile-menu-bottom p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.mobile-menu-bottom p strong {
  color: var(--brand);
}

.mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-menu-actions .btn {
  width: 100%;
  padding: 9px 8px;
  font-size: 0.72rem;
}

@media (min-width: 981px) {
  .mobile-menu {
    display: none;
  }
}

.join-grid.join-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  .header-actions .header-login,
  .header-actions .btn-sm {
    display: none !important;
  }

  .header-actions .nav-toggle {
    display: block !important;
  }

  .nav {
    display: none !important;
  }
}

@keyframes bar-rise {
  from { transform: scaleY(0); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 1; }
}

.preview-chart span {
  transform-origin: bottom;
  animation: bar-rise 800ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.preview-chart span:nth-child(2) { animation-delay: 50ms; }
.preview-chart span:nth-child(3) { animation-delay: 100ms; }
.preview-chart span:nth-child(4) { animation-delay: 150ms; }
.preview-chart span:nth-child(5) { animation-delay: 200ms; }
.preview-chart span:nth-child(6) { animation-delay: 250ms; }
.preview-chart span:nth-child(7) { animation-delay: 300ms; }
.preview-chart span:nth-child(8) { animation-delay: 350ms; }

@media (max-width: 360px) {
  .hero-actions {
    gap: 6px;
  }

  .hero-actions .btn {
    padding: 8px 7px;
    font-size: 0.66rem;
  }
}

@media (max-width: 980px) {
  .header-actions .nav-toggle {
    display: flex !important;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 8px 18px -14px rgba(23, 18, 51, 0.3);
  }

  .nav-toggle span {
    display: block;
    height: 2.5px;
    margin: 0;
    border-radius: 3px;
    transform: none !important;
    opacity: 1 !important;
    transition: width 160ms ease;
  }

  .nav-toggle span:nth-child(1) {
    width: 21px;
    background: #6d4df0;
  }

  .nav-toggle span:nth-child(2) {
    width: 15px;
    background: #8b6cf6;
  }

  .nav-toggle span:nth-child(3) {
    width: 9px;
    background: #e9a400;
  }

  .nav-toggle:hover span:nth-child(1),
  .nav-toggle:focus-visible span:nth-child(1) {
    width: 23px;
  }

  .nav-toggle:hover span:nth-child(2),
  .nav-toggle:focus-visible span:nth-child(2) {
    width: 17px;
  }

  .nav-toggle:hover span:nth-child(3),
  .nav-toggle:focus-visible span:nth-child(3) {
    width: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
