/* ==========================================================================
   Nexus — Cryptocurrency product page (v2)
   Editorial layout: light hero, narrative splits, minimal card repetition
   ========================================================================== */

.crypto-page {
  --cr-bg: #fafbfc;
  --cr-bg-alt: #f4f6f9;
  --cr-ink: var(--nx-navy);
  --cr-muted: var(--nx-muted);
  --cr-line: var(--nx-border);
  --cr-accent: var(--nx-orange);
  --cr-max-prose: 34rem;
  --cr-hero-visual-bg: #000000;
  --cr-section-title-size: clamp(1.75rem, 3vw, 2.375rem);
  --cr-section-title-weight: 800;
  --cr-section-title-spacing: -0.02em;
  --cr-section-title-line: 1.2;
  --cr-section-title-gap: 16px;
  --cr-lead-size: 18px;
}

/* ---- Hero ---- */
.cr-hero {
  padding: 0;
  overflow: hidden;
  background: var(--cr-hero-visual-bg);
  border-bottom: 1px solid var(--cr-line);
}

.cr-hero__top {
  padding: 20px max(45px, calc((100vw - var(--nx-container)) / 2 + 45px)) 0;
}

.cr-hero__top .breadcrumb {
  margin-bottom: 0;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.cr-hero__top .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.38);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-0.5px);
}

.cr-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 5px;
  min-height: clamp(460px, 56vh, 640px);
}

.cr-hero__content {
  display: flex;
  align-items: center;
  background-color: var(--cr-hero-visual-bg);
  color: var(--nx-white);
}

.cr-hero__content-inner {
  width: 100%;
  max-width: calc(var(--nx-container) / 2);
  margin-left: max(45px, calc((100vw - var(--nx-container)) / 2 + 45px));
  padding: 32px 0 64px 0;
}

.cr-hero__copy h1,
#crypto-hero-heading {
  font-size: clamp(2.375rem, 5.25vw, 3.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 clamp(20px, 2.5vw, 28px);
  text-wrap: balance;
  text-shadow: 0 1px 28px rgba(255, 255, 255, 0.1);
}

.cr-hero__copy h1 span,
#crypto-hero-heading span {
  display: block;
  margin-top: 0.1em;
  background: linear-gradient(
    90deg,
    #ffd18a 0%,
    var(--nx-orange) 52%,
    #e88a2e 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.cr-hero__lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
  max-width: var(--cr-max-prose);
  margin-bottom: clamp(32px, 4vw, 40px);
}

.cr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(28px, 3.5vw, 36px);
}

.cr-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.cr-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cr-hero__meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cr-accent);
  flex-shrink: 0;
}

.cr-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--nx-orange);
  text-decoration: none;
  background: none;
  border: none;
  box-shadow: none;
  transition: color 0.2s ease;
}

.cr-hero__cta-text {
  text-decoration: none;
}

.cr-hero__cta-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.cr-hero__cta:hover {
  color: #ffab42;
  background: none;
  border: none;
  box-shadow: none;
}

.cr-hero__cta:hover .cr-hero__cta-icon {
  transform: translateX(3px);
}

.cr-hero__cta:focus-visible {
  outline: 2px solid var(--nx-orange);
  outline-offset: 4px;
  border-radius: 2px;
}

.cr-hero__visual {
  position: relative;
  min-height: 100%;
  align-self: stretch;
  background: var(--cr-hero-visual-bg);
}

.cr-hero__visual video,
.cr-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 0;
  background: var(--cr-hero-visual-bg);
}

@media (prefers-reduced-motion: reduce) {
  .cr-hero__video {
    display: none;
  }

  .cr-hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--cr-hero-visual-bg);
  }
}

/* ---- Markets band ---- */
.cr-markets {
  padding: 64px 0;
  background: var(--cr-bg-alt);
  border-bottom: 1px solid var(--cr-line);
  overflow: hidden;
}

.cr-markets__feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cr-markets__status {
  margin: 0;
  padding: 28px 24px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: var(--cr-muted);
}

.cr-markets__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.cr-markets__row--2 {
  padding-left: 56px;
}

.cr-markets__track {
  display: flex;
  width: max-content;
  animation: cr-markets-marquee 58s linear infinite;
  will-change: transform;
}

.cr-markets__row--2 .cr-markets__track {
  animation-duration: 64s;
  animation-direction: reverse;
}

.cr-markets__group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.cr-market-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 272px;
  max-width: 340px;
  padding: 16px 22px;
  border-radius: 9999px;
  background: var(--nx-white);
  border: 1px solid var(--cr-line);
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cr-market-pill:hover {
  border-color: rgba(239, 146, 39, 0.4);
  box-shadow: var(--nx-shadow-sm);
}

.cr-market-pill__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--cr-bg-alt);
}

.cr-market-pill__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.cr-market-pill__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.cr-market-pill__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cr-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cr-market-pill__price {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cr-ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.cr-market-pill__line--meta {
  margin-top: 0;
}

.cr-market-pill__symbol {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--cr-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cr-market-pill__change {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
}

.cr-market-pill__change--up {
  color: #16a34a;
}

.cr-market-pill__change--down {
  color: #dc2626;
}

.cr-market-pill__change--flat {
  color: var(--cr-muted);
}

@keyframes cr-markets-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-markets__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding: 0 16px;
  }

  .cr-markets__group[aria-hidden="true"] {
    display: none;
  }

  .cr-markets__row {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
  }

  .cr-markets__row--2 {
    padding-left: 0;
  }
}

/* ---- Platform strip ---- */
.cr-platform {
  padding: 70px 0;
  background: var(--nx-white);
}

.cr-platform__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.cr-platform__copy {
  max-width: 34rem;
}

.cr-platform__copy h2 {
  font-size: var(--cr-section-title-size);
  font-weight: var(--cr-section-title-weight);
  letter-spacing: var(--cr-section-title-spacing);
  line-height: var(--cr-section-title-line);
  color: var(--nx-navy);
  margin: 0 0 var(--cr-section-title-gap);
}

.cr-platform__copy p {
  font-size: var(--cr-lead-size);
  line-height: 1.72;
  color: var(--cr-muted);
  margin: 0;
  max-width: 30rem;
}

.cr-platform__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cr-platform__media img {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin-left: auto;
  display: block;
}

/* ---- Auto Invest / recurring ---- */
.cr-recurring {
  padding: 70px 0;
  background: var(--cr-bg-alt);
}

.cr-recurring__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.cr-recurring__media {
  display: flex;
  justify-content: center;
}

.cr-recurring__figure {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0;
  line-height: 0;
  perspective: 900px;
}

.cr-recurring__promo {
  width: 100%;
  height: auto;
  display: block;
}

.cr-recurring__withdrawn {
  position: absolute;
  right: 1.5%;
  bottom: 8%;
  width: 55%;
  height: auto;
  display: block;
  border-radius: 10px;
  pointer-events: none;
  transform-origin: 85% 92%;
  transform: perspective(680px) rotateX(19deg) rotateY(5deg) rotateZ(10deg)
    skewY(-2.4deg) scale(1.02, 1.03);
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.16));
}

.cr-recurring__copy {
  max-width: 32rem;
}

.cr-recurring__copy h2 {
  font-size: var(--cr-section-title-size);
  font-weight: var(--cr-section-title-weight);
  letter-spacing: var(--cr-section-title-spacing);
  line-height: var(--cr-section-title-line);
  color: var(--nx-navy);
  margin: 0 0 var(--cr-section-title-gap);
}

.cr-recurring__copy h2 span {
  color: var(--cr-accent);
}

.cr-recurring__copy p {
  font-size: var(--cr-lead-size);
  line-height: 1.7;
  color: var(--cr-muted);
  margin: 0 0 28px;
}

.cr-recurring__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cr-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cr-recurring__cta-text {
  text-decoration: none;
}

.cr-recurring__cta-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.cr-recurring__cta:hover {
  color: #e07d00;
}

.cr-recurring__cta:hover .cr-recurring__cta-icon {
  transform: translateX(3px);
}

.cr-recurring__cta:focus-visible {
  outline: 2px solid var(--cr-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---- Charts / market data ---- */
.cr-charts {
  padding: 70px 0;
  background: #c4d9efc9;
}

.cr-charts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

.cr-charts__panel {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}

.cr-charts__alerts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.cr-charts__alert {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--nx-white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(5, 48, 92, 0.1);
}

.cr-charts__alert--offset {
  margin-left: 32px;
  max-width: calc(100% - 32px);
  padding: 14px 16px;
}

.cr-charts__alert-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.cr-charts__alert-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cr-charts__alert-body strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cr-ink);
}

.cr-charts__alert-body span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--cr-muted);
  font-variant-numeric: tabular-nums;
}

.cr-charts__table {
  border-top: 1px solid var(--cr-line);
}

.cr-charts__row {
  display: grid;
  grid-template-columns: 24px 32px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cr-line);
}

.cr-charts__fav {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cr-accent);
  line-height: 0;
}

.cr-charts__fav svg {
  width: 18px;
  height: 18px;
}

.cr-charts__coin-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cr-charts__coin-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.cr-charts__coin-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cr-ink);
}

.cr-charts__coin-symbol {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cr-muted);
}

.cr-charts__coin-price {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cr-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cr-charts__coin-change {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  margin-left: 28px;
}

.cr-charts__coin-change--up {
  color: #14b8a6;
}

.cr-charts__coin-change--down {
  color: var(--nx-danger);
}

.cr-charts__copy {
  max-width: 36rem;
}

.cr-charts__copy h2 {
  font-size: var(--cr-section-title-size);
  font-weight: var(--cr-section-title-weight);
  letter-spacing: var(--cr-section-title-spacing);
  line-height: var(--cr-section-title-line);
  color: var(--nx-navy);
  margin: 0 0 var(--cr-section-title-gap);
}

.cr-charts__copy p {
  font-size: var(--cr-lead-size);
  line-height: 1.72;
  color: var(--cr-muted);
  margin: 0 0 32px;
}

.cr-charts__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cr-accent);
  text-decoration: none;
  background: none;
  border: none;
  box-shadow: none;
  transition: color 0.2s ease;
}

.cr-charts__btn-text {
  text-decoration: none;
}

.cr-charts__btn-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.cr-charts__btn:hover {
  color: #e07d00;
}

.cr-charts__btn:hover .cr-charts__btn-icon {
  transform: translateX(3px);
}

.cr-charts__btn:focus-visible {
  outline: 2px solid var(--cr-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---- Security ---- */
.cr-security {
  padding: 70px 0;
  background-color: #00102f;
}

.cr-security__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.cr-security__media {
  width: 100%;
  min-height: clamp(280px, 38vw, 460px);
  margin: 0;
  line-height: 0;
  background-image: url("asset/crypto/secured-asset.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.cr-security__copy {
  max-width: 32rem;
}

.cr-security__copy h2 {
  font-size: var(--cr-section-title-size);
  font-weight: var(--cr-section-title-weight);
  letter-spacing: var(--cr-section-title-spacing);
  line-height: var(--cr-section-title-line);
  color: #f8fafc;
  margin: 0 0 var(--cr-section-title-gap);
}

.cr-security__copy > p {
  font-size: var(--cr-lead-size);
  line-height: 1.72;
  color: rgba(248, 250, 252, 0.74);
  margin: 0 0 28px;
}

.cr-security__checks {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.cr-security__checks li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.9);
}

.cr-security__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cr-accent);
  box-shadow: 0 2px 8px rgba(239, 146, 39, 0.35);
}

.cr-security__checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.48em;
  width: 5px;
  height: 9px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.cr-security__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cr-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cr-security__cta-text {
  text-decoration: none;
}

.cr-security__cta-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.cr-security__cta:hover {
  color: #ffab42;
}

.cr-security__cta:hover .cr-security__cta-icon {
  transform: translateX(3px);
}

.cr-security__cta:focus-visible {
  outline: 2px solid var(--cr-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---- Onboarding steps ---- */
.cr-start {
  padding: 70px 0;
  background: #c4d9efc9;
}

.cr-start__inner {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.cr-start__inner h2 {
  font-size: var(--cr-section-title-size);
  font-weight: var(--cr-section-title-weight);
  letter-spacing: var(--cr-section-title-spacing);
  line-height: var(--cr-section-title-line);
  color: var(--cr-ink);
  margin: 0 0 48px;
}

.cr-start__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  list-style: none;
  max-width: 56rem;
  margin: 0 auto 48px;
  padding: 0;
}

.cr-start__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 11rem;
}

.cr-start__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cr-accent);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(239, 146, 39, 0.35);
}

.cr-start__icon svg {
  width: 26px;
  height: 26px;
}

.cr-start__label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--cr-ink);
}

.cr-start__connector {
  flex: 0 0 clamp(72px, 14vw, 128px);
  width: clamp(72px, 14vw, 128px);
  height: 2px;
  margin-top: 25px;
  background: rgba(5, 48, 92, 0.16);
  list-style: none;
}

.cr-start__cta {
  margin-top: 0;
}

/* ---- FAQ ---- */
.cr-faq {
  padding: 72px 0;
}

.cr-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.cr-faq__intro h2 {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--cr-ink);
  margin-bottom: 12px;
}

.cr-faq__intro p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--cr-muted);
}

.cr-faq__list details {
  border-bottom: 1px solid var(--cr-line);
  padding: 0;
}

.cr-faq__list details:first-child {
  border-top: 1px solid var(--cr-line);
}

.cr-faq__list summary {
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cr-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  line-height: 1.45;
}

.cr-faq__list summary::-webkit-details-marker {
  display: none;
}

.cr-faq__list summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cr-accent);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.cr-faq__list details[open] summary::after {
  content: "−";
}

.cr-faq__list details p {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--cr-muted);
}

.cr-faq__list details p a {
  color: var(--cr-accent);
  font-weight: 600;
  text-decoration: none;
}

.cr-faq__list details p a:hover {
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .cr-hero__top {
    padding: 16px 24px 0;
  }

  .cr-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cr-hero__content-inner {
    max-width: none;
    margin-left: 0;
    padding: 32px 24px 0 24px;
  }

  .cr-hero__visual {
    min-height: clamp(300px, 48vw, 410px);
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .cr-security__grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }

  .cr-security__copy {
    max-width: none;
  }

  .cr-security__media {
    min-height: clamp(220px, 52vw, 380px);
    max-width: min(100%, 640px);
    margin: 0 auto;
  }

  .cr-faq__grid {
    grid-template-columns: 1fr;
  }

  .cr-platform__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cr-platform__copy,
  .cr-platform__copy p,
  .cr-hero__lead {
    max-width: none;
  }

  .cr-platform__media img {
    margin: 0 auto;
    max-width: min(100%, 520px);
  }

  .cr-recurring__grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }

  .cr-recurring__copy {
    max-width: none;
  }

  .cr-recurring__figure {
    max-width: min(100%, 420px);
  }

  .cr-recurring__withdrawn {
    right: 1.5%;
    bottom: 8%;
    width: 55%;
    transform-origin: 85% 92%;
    transform: perspective(680px) rotateX(19deg) rotateY(5deg) rotateZ(10deg)
      skewY(-2.4deg) scale(1.02, 1.03);
  }

  .cr-charts__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cr-charts__panel {
    max-width: min(100%, 420px);
    margin-left: auto;
    margin-right: auto;
  }

  .cr-charts__copy {
    max-width: none;
  }

  .cr-hero__copy h1 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .crypto-page {
    --cr-section-title-size: clamp(1.5rem, 4.5vw, 1.875rem);
    --cr-section-title-line: 1.22;
    --cr-section-title-gap: 14px;
    --cr-lead-size: 1.0625rem;
  }
}

@media (max-width: 640px) {
  .crypto-page {
    --cr-section-title-size: clamp(1.4375rem, 6vw, 1.75rem);
    --cr-section-title-line: 1.25;
    --cr-section-title-gap: 14px;
    --cr-lead-size: 1rem;
  }

  .cr-hero__top {
    padding: 14px 20px 0;
  }

  .cr-hero__content-inner {
    padding: 28px 20px 0 20px;
  }

  .cr-hero__cta {
    font-size: 16px;
    gap: 6px;
  }

  .cr-hero__cta-icon {
    width: 16px;
    height: 16px;
  }

  .cr-recurring {
    padding: 56px 0;
  }

  .cr-recurring__figure {
    max-width: min(100%, 360px);
  }

  .cr-recurring__withdrawn {
    right: 1.5%;
    bottom: 7.5%;
    width: 56%;
    transform-origin: 85% 92%;
    transform: perspective(640px) rotateX(19deg) rotateY(5deg) rotateZ(10deg)
      skewY(-2.4deg) scale(1.02, 1.03);
  }

  .cr-recurring__cta {
    font-size: 16px;
  }

  .cr-security__cta {
    font-size: 16px;
  }

  .cr-charts {
    padding: 56px 0;
  }

  .cr-charts__alert--offset {
    margin-left: 16px;
    max-width: calc(100% - 16px);
  }

  .cr-charts__row {
    gap: 10px 12px;
    grid-template-columns: 22px 28px minmax(0, 1fr) auto auto;
    padding: 12px 0;
  }

  .cr-charts__coin-icon {
    width: 28px;
    height: 28px;
  }

  .cr-charts__coin-name {
    font-size: 14px;
  }

  .cr-charts__coin-price {
    font-size: 14px;
  }

  .cr-charts__coin-change {
    font-size: 13px;
    margin-left: 20px;
  }

  .cr-charts__btn {
    font-size: 16px;
    width: auto;
    justify-content: flex-start;
  }

  .cr-start__steps {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 100%;
    margin-bottom: 40px;
    padding: 0px;
  }

  .cr-start__step {
    max-width: none;
    flex: 1 1 0;
    min-width: 0;
    gap: 12px;
  }

  .cr-start__label {
    font-size: 15px;
    line-height: 1.3;
  }

  .cr-start__connector {
    flex: 0 0 clamp(20px, 6vw, 44px);
    width: clamp(20px, 6vw, 44px);
    margin-top: 21px;
  }

  .cr-start__inner h2 {
    margin-bottom: 36px;
  }

  .cr-markets {
    padding: 48px 0;
  }

  .cr-markets__feed {
    gap: 14px;
  }

  .cr-markets__status {
    padding: 20px 16px;
    font-size: 14px;
  }

  .cr-markets__row {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 3%,
      #000 97%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 3%,
      #000 97%,
      transparent 100%
    );
  }

  .cr-markets__row--2 {
    padding-left: 24px;
  }

  .cr-markets__track {
    animation-duration: 46s;
  }

  .cr-markets__row--2 .cr-markets__track {
    animation-duration: 52s;
  }

  .cr-markets__group {
    gap: 10px;
    padding-right: 10px;
  }

  .cr-market-pill {
    min-width: 210px;
    max-width: 260px;
    padding: 12px 16px;
    gap: 10px;
  }

  .cr-market-pill__icon {
    width: 40px;
    height: 40px;
  }

  .cr-market-pill__body {
    gap: 3px;
  }

  .cr-market-pill__line {
    gap: 8px;
  }

  .cr-market-pill__name,
  .cr-market-pill__price {
    font-size: 15px;
  }

  .cr-market-pill__symbol,
  .cr-market-pill__change {
    font-size: 13px;
  }

  .cr-security,
  .cr-start,
  .cr-faq,
  .cr-platform {
    padding: 56px 0;
  }
}
