:root {
  color-scheme: dark;
  --bg: #03060b;
  --bg-2: #07101b;
  --surface: rgba(10, 18, 30, 0.72);
  --surface-2: rgba(13, 23, 38, 0.88);
  --surface-3: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(93, 205, 255, 0.28);
  --text: #f7fbff;
  --muted: #a8b4c2;
  --muted-2: #778596;
  --blue: #2f81ff;
  --cyan: #4ddcff;
  --green: #5ff4b4;
  --red: #ff6b8a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --glow: 0 0 44px rgba(77, 220, 255, 0.16);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% -8%, rgba(47, 129, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(77, 220, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, #020409 0%, #05101c 48%, #03060b 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  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: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22) 62%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(3, 6, 11, 0.62);
  backdrop-filter: blur(22px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 6, 11, 0.86);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 152px;
  height: 36px;
}

.brand-logo {
  display: block;
  width: 152px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.section {
  position: relative;
  padding: 96px 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.section-line {
  height: 1px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(77, 220, 255, 0.26), rgba(255, 255, 255, 0.08), transparent);
}

.eyebrow,
.article-kicker,
.card-label {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0;
}

.hero-title,
.page-title {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  font-weight: 780;
}

.page-title {
  max-width: 840px;
}

.section-title {
  max-width: 800px;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  font-weight: 760;
}

.card-title {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.lead,
.section-copy,
.article-body p,
.card p,
.faq-answer,
.footer-copy {
  color: var(--muted);
  font-size: 1rem;
}

.lead {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.75;
}

.text-link {
  color: #dff9ff;
  border-bottom: 1px solid rgba(77, 220, 255, 0.42);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.button,
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 148px;
  padding: 0 20px;
  border: 1px solid rgba(77, 220, 255, 0.24);
  border-radius: 999px;
  font-size: clamp(0.86rem, 1.5vw, 0.95rem);
  font-weight: 720;
  line-height: 1;
  isolation: isolate;
  overflow: hidden;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-cta {
  white-space: nowrap;
}

.button-primary,
.nav-cta {
  color: #001018;
  border-color: rgba(172, 246, 255, 0.56);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(110deg, #ecfdff 0%, #7beaff 34%, #2f81ff 72%, #55f0ff 100%);
  background-size: 170% 100%;
  box-shadow:
    0 12px 34px rgba(47, 129, 255, 0.26),
    0 0 32px rgba(77, 220, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-primary::before,
.nav-cta::before,
.sticky-converter a::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -42%;
  z-index: -1;
  width: 44%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0.85;
  animation: ctaShine 4.8s ease-in-out infinite;
}

.button-primary::after,
.nav-cta::after,
.sticky-converter a::after {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -2;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 252, 255, 0.8);
  background-position: 100% 0;
  box-shadow:
    0 18px 44px rgba(47, 129, 255, 0.34),
    0 0 44px rgba(77, 220, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.button:active,
.nav-cta:active {
  transform: translateY(0);
}

.hero {
  padding-top: 86px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -12%;
  z-index: 0;
  width: min(680px, 62vw);
  height: min(680px, 62vw);
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 220, 255, 0.22), rgba(47, 129, 255, 0.08) 42%, transparent 68%);
  filter: blur(18px);
  animation: glowPulse 16s ease-in-out infinite;
}

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

.hero-copy {
  grid-column: span 5;
}

.hero-visual {
  grid-column: 6 / -1;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-shell,
.visual-card,
.premium-card,
.blog-card,
.metric-tile,
.referral-card,
.faq-item,
.cta-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
    rgba(5, 12, 22, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-shell {
  position: relative;
  min-height: 560px;
  padding: 18px;
  overflow: hidden;
  box-shadow: var(--shadow), var(--glow);
  animation: floatSoft 6s ease-in-out infinite;
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 14%, rgba(77, 220, 255, 0.18), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(47, 129, 255, 0.18), transparent 24%);
}

.dashboard-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(3, 6, 11, 0.58);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.dashboard-name {
  color: #dff8ff;
  font-size: 0.92rem;
  font-weight: 720;
}

.dashboard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.72fr;
  gap: 14px;
  margin-top: 14px;
}

.dash-panel {
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background: rgba(2, 8, 16, 0.62);
  overflow: hidden;
}

.dash-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.balance {
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 760;
}

.chart {
  position: relative;
  height: 260px;
  margin: 14px 15px 15px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 25%, 12.5% 100%;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 54%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(77, 220, 255, 0.42), transparent);
}

.candles {
  position: absolute;
  inset: 34px 22px 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.candle {
  position: relative;
  width: 10px;
  height: var(--h);
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(95, 244, 180, 0.22);
}

.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 1px;
  height: calc(var(--h) + 28px);
  transform: translateX(-50%);
  background: currentColor;
  opacity: 0.55;
}

.candle.down {
  background: var(--red);
  color: var(--red);
  box-shadow: 0 0 16px rgba(255, 107, 138, 0.18);
}

.side-stack {
  display: grid;
  gap: 14px;
}

.metric-card {
  padding: 16px;
}

.metric-label {
  display: block;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.metric-value {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 760;
}

.market-list,
.order-list {
  display: grid;
  gap: 8px;
  padding: 15px;
}

.market-row,
.order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}

.market-row strong,
.order-row strong {
  color: var(--text);
}

.trade-button {
  display: flex;
  justify-content: center;
  margin: 0 15px 15px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(77, 220, 255, 0.12);
  color: #dcfbff;
  font-weight: 720;
}

.floating-stat {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  min-width: 148px;
  padding: 13px 14px;
  border: 1px solid rgba(77, 220, 255, 0.22);
  border-radius: 18px;
  background: rgba(4, 11, 20, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3), 0 0 26px rgba(77, 220, 255, 0.12);
}

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

.floating-stat strong {
  color: var(--text);
}

.stat-a {
  top: 88px;
  right: -12px;
}

.stat-b {
  left: -14px;
  bottom: 48px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head .lead {
  justify-self: end;
  max-width: 520px;
}

.card-grid-3,
.card-grid-6,
.blog-grid,
.metric-grid {
  display: grid;
  gap: 18px;
}

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

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

.blog-grid {
  grid-template-columns: repeat(4, 1fr);
}

.metric-grid {
  grid-template-columns: repeat(4, 1fr);
}

.premium-card,
.blog-card,
.metric-tile {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.premium-card::before,
.blog-card::before,
.metric-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at 24% 0%, rgba(77, 220, 255, 0.16), transparent 38%);
  transition: opacity 180ms ease;
}

.premium-card:hover,
.blog-card:hover,
.metric-tile:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow), 0 0 38px rgba(77, 220, 255, 0.1);
}

.premium-card:hover::before,
.blog-card:hover::before,
.metric-tile:hover::before {
  opacity: 1;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(77, 220, 255, 0.24);
  border-radius: 14px;
  background: rgba(77, 220, 255, 0.08);
  color: var(--cyan);
}

.icon svg {
  width: 20px;
  height: 20px;
}

.icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.card-logo {
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
}

.referral-section .section-copy {
  grid-column: span 6;
}

.referral-section .referral-card {
  grid-column: 8 / -1;
}

.benefit-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  gap: 12px;
  color: #d6e1ec;
}

.benefit-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #e9fdff 0 24%, transparent 26%),
    linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 16px rgba(77, 220, 255, 0.22);
}

.referral-card {
  padding: 28px;
}

.referral-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.referral-code {
  display: block;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(77, 220, 255, 0.18);
  border-radius: 16px;
  background: rgba(77, 220, 255, 0.07);
  color: #e5fbff;
  font-size: 0.95rem;
  word-break: break-all;
}

.visual-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.visual-card::after,
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(77, 220, 255, 0.12), transparent 30%, rgba(47, 129, 255, 0.1));
}

.terminal-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
}

.terminal-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-line span {
  color: var(--muted);
}

.terminal-line strong {
  color: var(--text);
}

.article-body {
  display: grid;
  gap: 18px;
}

.article-body h2,
.article-body h3 {
  margin: 20px 0 0;
}

.article-body h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
}

.article-body h3 {
  font-size: 1.35rem;
}

.content-card {
  grid-column: span 8;
}

.aside-card {
  grid-column: 9 / -1;
  align-self: start;
}

.blog-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.blog-card .card-label {
  margin-bottom: 18px;
}

.blog-card p {
  margin-bottom: 22px;
}

.read-more {
  margin-top: auto;
  color: #dff9ff;
  font-weight: 720;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 720;
  list-style: none;
}

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

.faq-answer {
  padding: 0 24px 22px;
  animation: fadeDown 220ms ease;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 7vw, 72px);
  text-align: center;
  box-shadow: var(--shadow), 0 0 54px rgba(77, 220, 255, 0.12);
}

.cta-panel .section-title,
.cta-panel .lead {
  margin-left: auto;
  margin-right: auto;
}

.cta-panel .button-row {
  justify-content: center;
}

.sticky-converter {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: calc(100% - 36px);
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(4, 10, 18, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.sticky-converter span {
  padding-left: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.sticky-converter a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  height: 42px;
  min-height: 42px;
  min-width: 144px;
  padding: 0 18px;
  gap: 8px;
  border-radius: 999px;
  color: #001018;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.86), transparent 18%),
    linear-gradient(110deg, #ecfdff 0%, #7beaff 34%, #2f81ff 72%, #55f0ff 100%);
  background-size: 170% 100%;
  box-shadow:
    0 10px 28px rgba(47, 129, 255, 0.28),
    0 0 28px rgba(77, 220, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  font-weight: 760;
  font-size: clamp(0.82rem, 2.4vw, 0.88rem);
  line-height: 1;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  vertical-align: middle;
  transition: transform 180ms ease, box-shadow 180ms ease, background-position 180ms ease;
}

.sticky-converter a:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow:
    0 14px 34px rgba(47, 129, 255, 0.36),
    0 0 34px rgba(77, 220, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 44px 0 96px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-copy {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

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

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

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

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaShine {
  0% {
    left: -48%;
  }
  42%,
  100% {
    left: 118%;
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.42;
    transform: scale(1);
  }
  50% {
    opacity: 0.68;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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

@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .nav {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: grid;
    justify-self: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(4, 10, 18, 0.96);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .grid-12,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual,
  .referral-section .section-copy,
  .referral-section .referral-card,
  .content-card,
  .aside-card {
    grid-column: auto;
  }

  .section-head .lead {
    justify-self: start;
  }

  .card-grid-3,
  .card-grid-6,
  .blog-grid,
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-shell {
    min-height: auto;
  }

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

  .stat-a,
  .stat-b {
    position: static;
    margin-top: 14px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 56px 0;
  }

  .container,
  .nav,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    padding-top: 56px;
  }

  .hero-title,
  .page-title {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .section-title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .button-row {
    width: 100%;
  }

  .button,
  .nav-cta {
    min-width: min(100%, 180px);
    min-height: 48px;
    padding: 10px 16px;
    line-height: 1.15;
  }

  .button-row .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .card-grid-3,
  .card-grid-6,
  .blog-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    padding: 12px;
    border-radius: 22px;
  }

  .chart {
    height: 220px;
  }

  .floating-stat {
    min-width: 100%;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .sticky-converter {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
  }

  .sticky-converter span {
    display: none;
  }

  .sticky-converter a {
    height: 44px;
    min-height: 44px;
    width: 100%;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
}
