.landing-shell { overflow: clip; }

.landing-container {
  width: var(--public-container-width);
  margin-inline: auto;
}

.landing-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .58;
  background-image: radial-gradient(circle, var(--landing-line) 1px, transparent 1.3px);
  background-size: 17px 17px;
  mask-image: linear-gradient(90deg, #000 0, transparent 38%, transparent 67%, #000 100%);
}

.landing-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 760px;
  height: 420px;
  top: -120px;
  right: -150px;
  border: 1px solid rgba(113, 56, 240, .22);
  border-radius: 50%;
  transform: rotate(-18deg);
  box-shadow: 0 0 0 46px rgba(25, 136, 247, .025), 0 0 0 94px rgba(113, 56, 240, .025);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(520px, 1.06fr);
  align-items: center;
  gap: 24px;
  padding-block: 42px 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-signal,
.section-context {
  color: var(--accent-violet);
  font: 700 12px/1.4 var(--font-mono);
  letter-spacing: .045em;
}

.hero-signal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.hero-signal span {
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--landing-violet), var(--landing-blue));
}

.hero-copy h1 {
  max-width: none;
  font-size: clamp(50px, 5.2vw, 70px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
  padding-right: .08em;
}

.hero-lead {
  max-width: 600px;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* Local geometry only; approved Frost owns surfaces and pointer effects. */
.btn.frost-btn.landing-primary-cta,
.btn.frost-btn.landing-secondary-cta,
.btn.frost-btn.landing-outline-cta {
  --btn-height: 46px;
  --btn-radius: var(--radius-md);
  --btn-pad-x: 22px;
  min-height: var(--btn-height);
  justify-content: center;
  padding: 8px var(--btn-pad-x);
  gap: 8px;
  font: 600 13px/1.5 var(--font-sans);
  letter-spacing: normal;
  white-space: normal;
  text-decoration: none;
}

/* Compensate Frost's 1px border around the previously borderless primary CTA. */
.btn.frost-btn.landing-primary-cta {
  --btn-pad-x: 21px;
  padding-block: 7px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-proof i {
  color: var(--landing-mint);
}

.hero-art {
  position: relative;
  min-width: 0;
  height: 390px;
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: 20px 2% 15px 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 35%, rgba(132, 54, 238, .26), transparent 37%),
    radial-gradient(circle at 72% 60%, rgba(25, 136, 247, .2), transparent 39%);
}

.landing-art-deck {
  --nft-art-card-width: 224px;
  --nft-art-mage-left: 2%;
  --nft-art-mage-shift: 19px;
  --nft-art-figure-left: 34%;
  --nft-art-figure-shift: 0;
  --nft-art-cat-left: 66%;
  --nft-art-cat-shift: 26px;
  position: absolute !important;
  inset: 30px 0 12px;
  z-index: 2;
  transform: rotate(-2deg);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(113, 56, 240, .24);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  width: 630px;
  height: 300px;
  top: 28px;
  right: -20px;
  transform: rotate(-18deg);
}

.hero-orbit-two {
  width: 440px;
  height: 210px;
  top: 84px;
  right: 78px;
  transform: rotate(24deg);
  border-color: rgba(25, 136, 247, .22);
}

.benefit-band {
  position: relative;
  z-index: 4;
  margin-top: -18px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  background: color-mix(in srgb, var(--bg-surface-1) 94%, transparent);
  box-shadow: 0 20px 50px rgba(41, 45, 87, .1);
}

.benefit-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 21px;
}

.benefit-item + .benefit-item {
  border-left: 1px solid var(--border-subtle);
}

.benefit-icon,
.feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--landing-violet);
  background: var(--landing-soft);
}

.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 16px;
}

.benefit-item div {
  min-width: 0;
  display: grid;
}

.benefit-item strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.benefit-item span:last-child {
  color: var(--text-muted);
  font-size: 11px;
}

.landing-section {
  position: relative;
  padding-block: 58px;
}

.features-section::before,
.features-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(113, 56, 240, .16);
  border-radius: 50%;
}

.features-section,
.upcoming-section {
  isolation: isolate;
}

.features-section::before {
  width: 760px;
  height: 410px;
  top: 30px;
  left: -590px;
  transform: rotate(18deg);
  box-shadow: 0 0 0 42px rgba(25, 136, 247, .018), 0 0 0 84px rgba(113, 56, 240, .018);
}

.features-section::after {
  width: 620px;
  height: 340px;
  right: -510px;
  bottom: -40px;
  transform: rotate(-21deg);
  border-color: rgba(25, 136, 247, .14);
}

.section-heading {
  margin-bottom: 22px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
  align-items: end;
  gap: 50px;
}

.section-context {
  margin-bottom: 9px;
}

.section-heading h2,
.how-heading h2 {
  max-width: 690px;
  color: var(--text-primary);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.split-heading > p,
.section-subtitle,
.how-heading > p:last-child {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

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

.feature-card {
  position: relative;
  min-width: 0;
  min-height: 345px;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  background: var(--bg-surface-1);
}

.feature-card::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -95px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--landing-soft);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 17px;
}

.feature-card-header {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.feature-card-header h3 {
  min-width: 0;
  margin: 0;
  color: var(--text-primary);
  font-size: 18px;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.feature-card > p {
  position: relative;
  z-index: 2;
  min-height: 61px;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.feature-visual {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-surface-2);
}

.feature-artwork {
  width: 100%;
  min-height: 150px;
  flex: 1 1 auto;
  margin-top: 10px;
}

.feature-artwork > picture {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-artwork > img,
.feature-artwork > picture > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.upcoming-section {
  padding-block: 8px 42px;
}

.upcoming-section::before {
  content: '';
  position: absolute;
  inset: 0 -20% auto;
  height: 340px;
  background: radial-gradient(ellipse, rgba(92, 54, 230, .08), transparent 66%);
  pointer-events: none;
}

.upcoming-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 820px;
  height: 320px;
  right: -640px;
  bottom: -80px;
  pointer-events: none;
  border: 1px solid rgba(113, 56, 240, .16);
  border-radius: 50%;
  transform: rotate(-14deg);
  background: linear-gradient(120deg, transparent 42%, rgba(113, 56, 240, .035));
}

.upcoming-heading {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.upcoming-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(28px, 3.4vw, 38px);
}

.upcoming-heading h2 span {
  color: #f97316;
  font-size: 23px;
  transform: rotate(9deg);
}

.section-subtitle { margin-top: 6px; }

.upcoming-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}

.landing-drop-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  background: var(--bg-surface-1);
  box-shadow: 0 12px 28px rgba(32, 39, 74, .08);
}

.landing-drop-image {
  position: relative;
  aspect-ratio: 1.03;
  overflow: hidden;
  background: linear-gradient(145deg, #342071, #123e6a);
}

.landing-drop-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.landing-drop-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .92);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.06em;
}

.landing-drop-date {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(15, 14, 40, .72);
  color: #fff;
  font: 700 9px/1 var(--font-mono);
}

.landing-drop-body {
  padding: 12px 11px 11px;
}

.landing-drop-body h3 {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.landing-drop-name {
  display: block;
  text-decoration: none;
}

.landing-drop-chain {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 9px;
}

.landing-drop-chain .chain-icon-img {
  width: 13px;
  height: 13px;
}

.landing-drop-chain span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.landing-drop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: 9px;
}

.landing-drop-price {
  max-width: calc(100% - 27px);
  overflow: hidden;
  padding: 5px 7px;
  border-radius: 999px;
  background: var(--bg-surface-2);
  color: var(--text-secondary);
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.landing-drop-price.is-free {
  background: rgba(32, 201, 151, .16);
  color: var(--accent-emerald);
}

.landing-drop-link {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--accent-violet);
  background: var(--landing-soft);
  text-decoration: none;
  font-size: 9px;
}

.landing-drop-skeleton {
  aspect-ratio: .72;
  border-radius: 13px;
  background: linear-gradient(100deg, var(--bg-surface-1) 20%, var(--bg-surface-2) 40%, var(--bg-surface-1) 60%);
  background-size: 200% 100%;
  animation: landing-skeleton 1.2s linear infinite;
}

@keyframes landing-skeleton {
  to { background-position-x: -200%; }
}

.upcoming-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 150px;
  padding: 30px;
  border: 1px dashed var(--border-subtle-hover);
  border-radius: 15px;
  background: var(--bg-surface-1);
}

.upcoming-empty h3 { color: var(--text-primary); font-size: 18px; }
.upcoming-empty p { margin-top: 5px; color: var(--text-secondary); }

.how-section {
  overflow: hidden;
  padding-block: 8px 34px;
}

.how-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  min-height: 250px;
  padding: 20px 300px 24px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.how-layout::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: -34px;
  bottom: -48px;
  width: 320px;
  height: 310px;
  pointer-events: none;
  background: url('/static/images/nft-deck/cyber-mage.jpg?v=1') 50% 14% / cover no-repeat;
  border-radius: 0;
  -webkit-mask-image: radial-gradient(
    ellipse 52% 48% at 52% 46%,
    #000 0 38%,
    rgba(0, 0, 0, .9) 52%,
    rgba(0, 0, 0, .58) 68%,
    rgba(0, 0, 0, .22) 84%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 52% 48% at 52% 46%,
    #000 0 38%,
    rgba(0, 0, 0, .9) 52%,
    rgba(0, 0, 0, .58) 68%,
    rgba(0, 0, 0, .22) 84%,
    transparent 100%
  );
}

[data-theme="light"] .how-layout::after {
  opacity: .94;
  -webkit-mask-image: radial-gradient(
    ellipse 47% 46% at 52% 47%,
    #000 0 40%,
    rgba(0, 0, 0, .94) 52%,
    rgba(0, 0, 0, .68) 66%,
    rgba(0, 0, 0, .3) 79%,
    rgba(0, 0, 0, .08) 88%,
    transparent 94% 100%
  );
  mask-image: radial-gradient(
    ellipse 47% 46% at 52% 47%,
    #000 0 40%,
    rgba(0, 0, 0, .94) 52%,
    rgba(0, 0, 0, .68) 66%,
    rgba(0, 0, 0, .3) 79%,
    rgba(0, 0, 0, .08) 88%,
    transparent 94% 100%
  );
}
[data-theme="dark"] .how-layout::after { opacity: .82; }

.how-heading {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  z-index: 1;
  list-style: none;
}

.how-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 14px;
  padding: 4px 18px 4px 0;
}

.how-steps li + li {
  padding-left: 20px;
  border-left: 1px solid var(--border-subtle);
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  z-index: 1;
  border: 5px solid var(--bg-surface-1);
  border-radius: 50%;
  background: linear-gradient(135deg, #f3efff, #e5f5ff);
  color: #6738e8;
  font-weight: 800;
  box-shadow: 0 0 0 1px var(--border-subtle);
}

[data-theme="dark"] .step-number {
  border-color: var(--bg-surface-1);
  background: linear-gradient(135deg, #302058, #17344b);
  color: #bca7ff;
}

.how-steps h3 {
  margin-top: 1px;
  color: var(--text-primary);
  font-size: 14px;
}

.how-steps p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.landing-page a:focus-visible,
.landing-page button:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}
