/* =====================================================================
   PakFunded - design system
   Dark premium fintech: near-black surfaces, gold accent, green for profit.
   ===================================================================== */

:root {
  --bg: #000000;
  --bg-2: #05050a;
  --bg-3: #0a0a12;
  --panel: #0f0f19;
  --panel-2: #14141f;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-2: #b4b4c0;
  --text-3: #8e8e9a;
  --primary: #2563eb;
  --primary-hover: #3b82f6;
  --primary-600: #1d4ed8;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --shadow: 0 40px 80px rgba(37, 99, 235, 0.12);
  --shadow-card: 0 10px 60px rgba(0, 0, 0, 0.6);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', var(--font);
  --container: 1280px;
  --header-h: 76px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.28rem);
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

::selection {
  background: rgba(230, 182, 76, 0.3);
  color: #fff;
}

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

/* ------------------------------- helpers ------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 840px;
}

.center {
  text-align: center;
}

.center-actions {
  justify-content: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.pos {
  color: var(--green);
}

.grad {
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 45%, #b8862a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.19rem);
  color: var(--text-dim);
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(230, 182, 76, 0.26);
  background: rgba(230, 182, 76, 0.08);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
  flex: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: #100c02;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* ------------------------------- buttons ------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform 0.18s var(--ease), box-shadow 0.22s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  --btn-fg: #140f02;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 10px 26px rgba(230, 182, 76, 0.22);
}

.btn-primary:hover {
  --btn-fg: #0b0801;
  box-shadow: 0 14px 34px rgba(230, 182, 76, 0.32);
  color: #0b0801;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.btn-outline {
  border-color: rgba(230, 182, 76, 0.45);
  color: var(--gold-light);
  background: rgba(230, 182, 76, 0.05);
}

.btn-outline:hover {
  background: rgba(230, 182, 76, 0.13);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

.inline-form {
  display: inline;
  margin: 0;
}

/* ------------------------------- header -------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 10, 0.94);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(230, 182, 76, 0.2), rgba(230, 182, 76, 0.04));
  border: 1px solid rgba(230, 182, 76, 0.25);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-text span {
  color: var(--gold);
}

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

.nav > a {
  position: relative;
  color: var(--text-dim);
  font-size: 0.91rem;
  font-weight: 500;
  padding: 6px 0;
}

.nav > a:hover {
  color: #fff;
}

.nav > a.active {
  color: #fff;
}

.nav > a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
}

.nav-auth-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s 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);
}

/* -------------------------------- hero --------------------------------- */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(230, 182, 76, 0.14), transparent 62%),
    radial-gradient(700px 460px at 6% 92%, rgba(34, 197, 94, 0.08), transparent 65%),
    var(--bg);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.7rem 0 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

/* hero visual */

.hero-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 6% 2%;
  background: radial-gradient(circle at 60% 40%, rgba(230, 182, 76, 0.18), transparent 62%);
  filter: blur(26px);
}

.account-card {
  position: relative;
  width: min(100%, 430px);
  background: linear-gradient(165deg, #14181f 0%, #0d1015 72%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  z-index: 2;
}

.account-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.acct-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.acct-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.acct-balance {
  font-family: var(--font-display);
  font-size: 1.72rem;
  letter-spacing: -0.03em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--green-soft);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.chart-wrap {
  margin: 20px 0 16px;
  height: 132px;
}

.chart {
  width: 100%;
  height: 100%;
  display: block;
}

.acct-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.acct-metrics span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.acct-metrics strong {
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.payout-card {
  position: absolute;
  bottom: -6px;
  left: -4%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 15px;
  background: rgba(20, 24, 31, 0.96);
  border: 1px solid rgba(230, 182, 76, 0.28);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.payout-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(230, 182, 76, 0.12);
}

.payout-icon svg {
  width: 19px;
  height: 19px;
}

.payout-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.payout-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.payout-time {
  margin-left: 6px;
  font-size: 0.72rem;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border-radius: 999px;
  padding: 3px 9px;
  font-weight: 600;
}

.float {
  animation: floaty 7s ease-in-out infinite;
}

.float-slow {
  animation: floaty 9s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* -------------------------------- stats -------------------------------- */

.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 24px;
}

.stat {
  text-align: center;
  padding: 8px 12px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ------------------------------ sections ------------------------------- */

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-soft), #090b0e);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-tight {
  padding-top: clamp(34px, 4vw, 56px);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  text-align: center;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(48px, 6vw, 84px) 0 clamp(26px, 3vw, 40px);
  text-align: center;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(230, 182, 76, 0.11), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  margin: 0 auto;
}

.page-hero--left {
  text-align: left;
}

.page-hero--left .lead {
  margin: 0;
}

/* ------------------------------ features ------------------------------- */

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

.feature {
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(16, 19, 24, 0.6));
  transition: border-color 0.24s ease, transform 0.24s var(--ease);
}

.feature:hover {
  border-color: rgba(230, 182, 76, 0.28);
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 11px;
  background: rgba(230, 182, 76, 0.1);
  border: 1px solid rgba(230, 182, 76, 0.2);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ------------------------------- steps --------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.step::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover::after {
  opacity: 1;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(230, 182, 76, 0.22);
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ------------------------------- plans --------------------------------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(11, 13, 17, 0.9));
  transition: transform 0.24s var(--ease), border-color 0.24s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.plan-card--featured {
  border-color: rgba(230, 182, 76, 0.5);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(230, 182, 76, 0.14), transparent 60%),
    linear-gradient(180deg, #171a20, #0d1015);
  box-shadow: 0 20px 50px rgba(230, 182, 76, 0.1);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #161002;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-head h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}

.plan-size {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.7vw, 1.62rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.plan-size span {
  display: block;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.plan-price .price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.price-note {
  font-size: 0.76rem;
  color: var(--muted);
}

.plan-specs {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
}

.plan-specs div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.83rem;
}

.plan-specs dt {
  color: var(--muted);
}

.plan-specs dd {
  margin: 0;
  font-weight: 600;
}

.plan-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.plan-perks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-perks svg {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 5px;
  color: var(--green);
}

.plan-card .btn {
  margin-top: auto;
}

.plans-note {
  margin: 26px 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

.plans-grid--wide {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* -------------------------------- split -------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split-copy p {
  color: var(--muted);
}

.split-copy .btn {
  margin-top: 8px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.checklist svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 5px;
  color: var(--green);
}

.checklist strong {
  display: block;
  font-size: 0.95rem;
}

.checklist span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
}

.split-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), #0b0e13);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.payout-table {
  display: grid;
  gap: 2px;
}

.payout-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.3fr;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  align-items: center;
}

.payout-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.022);
}

.payout-head {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-bottom: 8px;
}

.payout-row strong {
  text-align: right;
  font-family: var(--font-display);
  color: var(--green-soft);
}

.payout-row.highlight {
  background: rgba(230, 182, 76, 0.1);
  border: 1px solid rgba(230, 182, 76, 0.24);
}

.payout-row.highlight strong {
  color: var(--gold-light);
}

.panel-note {
  margin: 16px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------------------------- testimonials ----------------------------- */

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

.testimonial {
  margin: 0;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(11, 13, 17, 0.85));
}

.testimonial blockquote {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial strong {
  display: block;
  font-size: 0.92rem;
}

.testimonial figcaption span:last-child {
  font-size: 0.78rem;
  color: var(--muted);
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: rgba(230, 182, 76, 0.12);
  border: 1px solid rgba(230, 182, 76, 0.24);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 1.05rem;
}

/* -------------------------------- faq ---------------------------------- */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 4px 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(230, 182, 76, 0.32);
  background: linear-gradient(180deg, rgba(230, 182, 76, 0.06), var(--panel));
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 30px 16px 0;
  font-weight: 600;
  font-size: 0.97rem;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 70ch;
}

/* --------------------------------- cta --------------------------------- */

.cta-band {
  padding: clamp(50px, 6vw, 78px) 0;
  background:
    radial-gradient(600px 300px at 20% 50%, rgba(230, 182, 76, 0.14), transparent 70%),
    linear-gradient(180deg, #101319, #0a0c10);
  border-top: 1px solid var(--line);
}

.cta-inner,
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-inner h2,
.contact-strip h2 {
  margin-bottom: 6px;
}

.cta-inner p,
.contact-strip p {
  margin: 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ------------------------------- footer -------------------------------- */

.site-footer {
  padding: clamp(44px, 5vw, 64px) 0 26px;
  background: #05060a;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  margin: 14px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 34ch;
}

.footer-brand .small {
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text);
  margin-bottom: 14px;
}

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

.footer-col a {
  color: var(--muted);
  font-size: 0.89rem;
}

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

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  max-width: 100ch;
  line-height: 1.7;
}

/* -------------------------------- tables ------------------------------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 0.87rem;
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.compare-table thead th span {
  display: block;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin-top: 3px;
}

.compare-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th {
  background: rgba(255, 255, 255, 0.025);
}

.compare-table .col-featured {
  background: rgba(230, 182, 76, 0.07);
  color: var(--gold-light);
}

.compare-table .row-cta td {
  padding: 16px;
  border-bottom: 0;
}

/* ------------------------------- info ---------------------------------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.info-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.info-card h3 {
  margin-bottom: 12px;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.plain-list li {
  position: relative;
  padding-left: 18px;
}

.plain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.plain-list--no li::before {
  background: var(--muted);
}

/* ------------------------------ timeline ------------------------------- */

.timeline {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.timeline-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(230, 182, 76, 0.25);
  background: rgba(230, 182, 76, 0.07);
}

.timeline-item h2 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
}

.timeline-item .plain-list {
  margin-top: 6px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.mini-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.mini-card span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.mini-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* -------------------------------- rules -------------------------------- */

.rule-highlight {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.rule-stat {
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(230, 182, 76, 0.18);
  background: linear-gradient(180deg, rgba(230, 182, 76, 0.08), rgba(230, 182, 76, 0.02));
  text-align: center;
}

.rule-stat span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.rule-stat strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rule-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.rule-card h2 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.rule-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.drawdown-card {
  display: grid;
  gap: 14px;
}

.dd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-dim);
}

.dd-bar {
  position: relative;
  height: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.dd-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--green-soft));
}

.dd-line {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--red);
}

.dd-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.73rem;
  color: var(--muted);
}

.dd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

.dd-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.dd-list strong {
  color: var(--text);
}

/* ------------------------------ payouts -------------------------------- */

.payout-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.payout-hero-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(230, 182, 76, 0.24);
  background:
    radial-gradient(110% 80% at 0% 0%, rgba(230, 182, 76, 0.16), transparent 60%),
    linear-gradient(160deg, #161a21, #0b0e13);
}

.payout-hero-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 0.4rem;
  background: linear-gradient(110deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.payout-hero-card p {
  color: var(--muted);
}

.payout-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.payout-methods span {
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.payout-steps {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.numbered-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: n;
}

.numbered-steps li {
  display: flex;
  gap: 14px;
  counter-increment: n;
}

.numbered-steps li::before {
  content: counter(n);
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(230, 182, 76, 0.1);
  border: 1px solid rgba(230, 182, 76, 0.22);
}

.numbered-steps strong {
  display: block;
  font-size: 0.92rem;
}

.numbered-steps span {
  display: block;
  font-size: 0.83rem;
  color: var(--muted);
}

.numbered-steps--tight {
  gap: 12px;
}

.payout-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.payout-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.payout-item div {
  flex: 1;
}

.payout-item strong {
  display: block;
  font-size: 0.9rem;
}

.payout-item div span {
  font-size: 0.78rem;
  color: var(--muted);
}

.payout-item > strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

/* -------------------------------- team --------------------------------- */

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

.team-card {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
}

.team-card .avatar-lg {
  margin: 0 auto 14px;
}

.team-card h3 {
  margin-bottom: 2px;
}

.team-card p {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-stats div {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-light);
}

.about-stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ------------------------------- forms --------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.info-block {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.info-block h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.info-block p {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.info-block .plain-list {
  margin-top: 8px;
}

.form-card {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--panel-2), #0b0e13);
  box-shadow: var(--shadow-soft);
}

.form-card h2 {
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

input[type='text'],
input[type='email'],
input[type='password'],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: #6d7684;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(230, 182, 76, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(230, 182, 76, 0.12);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238b95a5' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select option {
  background: #12151b;
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form-status.is-success {
  color: var(--green-soft);
}

.form-status.is-error {
  color: var(--red);
}

.form-note {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.alert {
  padding: 12px 16px;
  border-radius: 11px;
  font-size: 0.87rem;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.28);
  color: #b3f3c6;
}

.alert-error {
  background: rgba(240, 85, 95, 0.1);
  border-color: rgba(240, 85, 95, 0.3);
  color: #ffc2c6;
}

/* -------------------------------- auth --------------------------------- */

.auth-section {
  padding: clamp(44px, 6vw, 84px) 0;
  background:
    radial-gradient(700px 400px at 82% 10%, rgba(230, 182, 76, 0.1), transparent 65%),
    var(--bg);
  min-height: 60vh;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.auth-copy h1 {
  margin-bottom: 0.9rem;
}

.selected-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin: 0 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(230, 182, 76, 0.32);
  background: rgba(230, 182, 76, 0.07);
}

.selected-plan strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
}

.selected-plan-price {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-light);
}

.selected-plan-price .small {
  display: block;
  font-family: var(--font);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ------------------------------ dashboard ------------------------------ */

.dashboard {
  padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(800px 380px at 10% 0%, rgba(230, 182, 76, 0.09), transparent 65%),
    var(--bg);
  min-height: 70vh;
}

.dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.dash-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 4px;
}

.dash-head p {
  margin: 0;
}

.dash-actions {
  display: flex;
  gap: 8px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
  align-items: start;
}

.dash-main,
.dash-side {
  display: grid;
  gap: 18px;
}

.dash-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.dash-card--accent {
  border-color: rgba(230, 182, 76, 0.3);
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(230, 182, 76, 0.14), transparent 60%),
    linear-gradient(160deg, #151920, #0c0f14);
}

.dash-card h2 {
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dash-card-head h2 {
  margin: 0;
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
}

.empty-state h3 {
  font-size: 1rem;
}

.empty-state .btn {
  margin-top: 8px;
}

.account-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.account-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.account-row strong {
  display: block;
  font-size: 0.93rem;
}

.account-row .small {
  display: block;
}

.account-status {
  text-align: right;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-warn {
  background: rgba(230, 182, 76, 0.12);
  border: 1px solid rgba(230, 182, 76, 0.3);
  color: var(--gold-light);
}

.phase-track {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}

.phase {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.phase:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.phase-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  flex: none;
  margin-top: 4px;
  position: relative;
}

.phase-dot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 34px;
  transform: translateX(-50%);
  background: var(--line);
}

.phase:last-child .phase-dot::after {
  display: none;
}

.phase-dot.done {
  background: var(--green);
  border-color: var(--green);
}

.phase-dot.current {
  border-color: var(--gold);
  background: rgba(230, 182, 76, 0.25);
  box-shadow: 0 0 0 4px rgba(230, 182, 76, 0.12);
}

.phase strong {
  display: block;
  font-size: 0.9rem;
}

.link-arrow {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}

/* -------------------------------- legal -------------------------------- */

.legal-body {
  display: grid;
  gap: 26px;
}

.legal-body h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.legal-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ------------------------------- 404/500 ------------------------------- */

.notfound {
  padding: clamp(70px, 12vw, 150px) 0;
  background:
    radial-gradient(600px 340px at 50% 0%, rgba(230, 182, 76, 0.12), transparent 70%),
    var(--bg);
}

.notfound-code {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, #fff, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

/* ------------------------------ reveal --------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------ responsive ----------------------------- */

@media (max-width: 1180px) {
  .plans-grid,
  .plans-grid--wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .nav {
    gap: 20px;
  }
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .payout-card {
    left: 0;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .split,
  .payout-overview,
  .contact-layout,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

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

  .rule-highlight {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 22px;
    background: rgba(8, 9, 12, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav > a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.98rem;
  }

  .nav > a.active::after {
    display: none;
  }

  .nav > a.active {
    color: var(--gold-light);
  }

  .nav-auth-mobile {
    display: grid;
    gap: 8px;
    margin-top: 16px;
  }

  .hide-sm {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-num {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .stat:nth-child(odd) {
    border-left: 0;
  }

  .payout-feed {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .plans-grid,
  .plans-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    text-align: left;
  }

  .page-hero {
    text-align: left;
  }

  .page-hero .lead {
    margin: 0;
  }

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

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

  .cta-inner,
  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .dash-head {
    align-items: flex-start;
  }

  .selected-plan {
    flex-direction: column;
    align-items: flex-start;
  }

  .selected-plan-price {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .plans-grid,
  .plans-grid--wide {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .payout-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: -14px;
    width: 100%;
  }

  .hero-visual {
    min-height: 0;
    gap: 0;
  }

  .float,
  .float-slow {
    animation: none;
  }

  .stat {
    padding: 6px 8px;
  }

  .stat strong {
    font-size: 1.4rem;
  }

  .rule-highlight .rule-stat strong {
    font-size: 1.3rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .dash-actions {
    width: 100%;
  }

  .account-row {
    align-items: flex-start;
  }

  .account-status {
    text-align: left;
  }
}

/* --------------------------- reduced motion ---------------------------- */

@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;
  }

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