.edge-page .site-header {
  position: sticky;
  top: 0;
}

.edge-landing {
  padding-bottom: 5.5rem;
}

.edge-hero {
  padding: 4.8rem 0 3rem;
}

.edge-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 42rem);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.edge-hero-copy {
  max-width: 42rem;
}

.edge-hero-copy h1 {
  max-width: 13ch;
}

.edge-product-shot {
  overflow: hidden;
  border: 1px solid rgba(177, 135, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14, 11, 24, 0.86), rgba(8, 7, 13, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transform-origin: center;
}

.edge-product-shot img {
  width: 100%;
  height: auto;
}

.bitget-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(177, 135, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(126, 52, 248, 0.17), rgba(9, 7, 15, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
}

.bitget-strip strong,
.bitget-strip span {
  display: block;
}

.bitget-strip strong {
  font-size: 1.18rem;
}

.bitget-strip span {
  margin-top: 0.2rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.bitget-strip p {
  margin: 0;
  color: var(--muted);
}

.bitget-banner {
  display: block;
  width: 100%;
  height: auto;
}

.edge-onboarding,
.edge-section {
  padding: 5.2rem 0 0;
}

.edge-onboarding-panel,
.edge-panel {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.edge-onboarding-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.2rem;
}

.edge-section-heading {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.edge-section-heading h2,
.edge-onboarding-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.edge-section-heading p,
.edge-onboarding-panel p,
.edge-text-block p,
.edge-card p,
.edge-disclaimer,
.legal-section p,
.timeline p {
  color: var(--muted);
}

.edge-text-block {
  max-width: 54rem;
}

.edge-card-grid,
.stats-grid,
.onboarding-steps {
  display: grid;
  gap: 1rem;
}

.edge-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edge-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid,
.onboarding-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edge-card,
.onboarding-step,
.timeline article,
.edge-form {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.edge-card::before,
.onboarding-step::before,
.timeline article::before,
.edge-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(202, 166, 255, 0.32), rgba(255, 255, 255, 0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.edge-card h3,
.timeline h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.onboarding-step span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.onboarding-step .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid span {
  min-height: 4rem;
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.stat-card {
  display: grid;
  gap: 0.8rem;
}

.stat-card strong,
.stat-metric strong {
  color: var(--text);
  font-size: 1.55rem;
}

.stat-card span,
.stat-metric span {
  color: var(--muted);
}

.stat-metric {
  display: grid;
  gap: 0.1rem;
}

.stat-metric strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.stat-metric span {
  font-size: 0.86rem;
}

.risk-card {
  display: grid;
  gap: 1.3rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.timeline article > span {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(155, 82, 255, 0.13);
  color: var(--accent-soft);
  font-weight: 700;
}

.edge-form-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.edge-form {
  display: grid;
  gap: 1rem;
}

.edge-form label {
  display: grid;
  gap: 0.45rem;
}

.edge-form input {
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0 1rem;
}

.edge-form button {
  margin-top: 0.25rem;
}

@media (max-width: 920px) {
  .edge-hero-grid,
  .edge-onboarding-panel,
  .edge-form-section-grid {
    grid-template-columns: 1fr;
  }

  .edge-product-shot {
    transform: none;
  }

  .edge-card-grid-four,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .stats-grid,
  .onboarding-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .edge-hero {
    padding-top: 3.4rem;
  }

  .bitget-strip,
  .edge-card-grid,
  .edge-card-grid-four,
  .timeline {
    grid-template-columns: 1fr;
  }

  .bitget-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}
