/* =========================================================
   Dexa — landing, showcase and library
   ========================================================= */

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

.hero {
  position: relative;
  padding: 92px var(--gutter) 44px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto 0;
  height: 640px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 52% at calc(50% + var(--mx, 0px)) 0%, rgba(47, 126, 232, 0.14), transparent 70%),
    radial-gradient(30% 38% at calc(30% + var(--mx, 0px)) 10%, rgba(120, 169, 255, 0.12), transparent 70%);
  transition: background 0.4s linear;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 32px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-xs);
  font-size: 11.5px;
  font-weight: 550;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.hero-badge .live-dot {
  margin-left: 2px;
}

.hero-badge strong {
  font-weight: 650;
  color: var(--ink);
}

.hero-badge .badge-sep {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

.hero-title {
  font-size: clamp(44px, 7.2vw, 86px);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.055em;
  margin: 0 auto;
  max-width: 1000px;
  animation: heroRise 0.9s var(--ease-out) both;
}

.hero-title .hero-em {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  padding-right: 0.04em;
  background: linear-gradient(110deg, #174a8f 5%, #2f7ee8 46%, #7cb1f7 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 650px;
  margin: 24px auto 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  animation: heroRise 0.9s 0.08s var(--ease-out) both;
}

.hero-sub strong {
  color: var(--ink-2);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
  animation: heroRise 0.9s 0.16s var(--ease-out) both;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 11px;
  color: var(--muted-2);
  animation: heroRise 0.9s 0.24s var(--ease-out) both;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta .icon {
  width: 13px;
  height: 13px;
  color: var(--muted-2);
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
}

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

.hero-stage {
  position: relative;
  max-width: 1080px;
  margin: 54px auto 0;
  perspective: 1400px;
  animation: stageIn 1.1s 0.28s var(--ease-out) both;
}

@keyframes stageIn {
  from { opacity: 0; transform: translateY(34px) scale(0.98); }
}

.stage-glow {
  position: absolute;
  inset: 8% 6% -8%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(47, 126, 232, 0.26), transparent 70%),
    radial-gradient(30% 40% at 70% 60%, rgba(120, 169, 255, 0.2), transparent 70%);
  filter: blur(40px);
}

.stage-frame {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(17, 40, 73, 0.18);
  background: #0a111b;
  box-shadow:
    0 2px 4px rgba(15, 33, 57, 0.1),
    0 50px 100px -40px rgba(15, 33, 57, 0.55),
    0 0 0 6px rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
  will-change: transform;
}

.stage-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.stage-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.stage-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px 9px 10px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(170%);
  box-shadow: 0 18px 40px -22px rgba(15, 33, 57, 0.5);
  font-size: 11px;
  color: var(--ink-2);
  pointer-events: none;
  animation: floatY 6s var(--ease) infinite;
}

.stage-chip strong {
  display: block;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
}

.stage-chip small {
  display: block;
  font-size: 9.5px;
  color: var(--muted-2);
  line-height: 1.3;
}

.stage-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.stage-chip-icon .icon {
  width: 14px;
  height: 14px;
}

.stage-chip-icon.green {
  background: var(--success-soft);
  color: var(--success);
}

.chip-a { top: 14%; left: -124px; }
.chip-b { top: 40%; right: -124px; animation-delay: -2s; }
.chip-c { bottom: 16%; left: -60px; animation-delay: -4s; }

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

/* ---------- executor stage ---------- */

.executor-stage {
  position: relative;
  max-width: 1080px;
  margin: 48px auto 0;
  perspective: 1400px;
  isolation: isolate;
}

.executor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 880px;
  margin: 54px auto 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
  animation: heroRise 0.9s 0.36s var(--ease-out) both;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.8);
  padding: 18px 16px;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.2;
}

.hero-stat span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- marquee ---------- */

.marquee-section {
  padding: 40px 0 0;
}

.marquee-label {
  text-align: center;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}

.marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.4);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  min-width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-group span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

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

/* ---------- showcase ---------- */

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 1060px;
  margin: 34px auto 0;
}

.showcase-tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 14px;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-xs);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.showcase-tab:hover {
  background: #fff;
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.showcase-tab.is-active {
  background: var(--surface);
  border-color: rgba(47, 126, 232, 0.4);
  box-shadow: 0 20px 44px -32px rgba(15, 33, 57, 0.6);
}

.showcase-tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.tab-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.showcase-tab.is-active .tab-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.tab-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.tab-copy span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.showcase-stage {
  position: relative;
  max-width: 1060px;
  margin: 46px auto 0;
  perspective: 1400px;
  isolation: isolate;
}

.showcase-shot {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0a111b;
  aspect-ratio: 1412 / 858;
  transition: aspect-ratio 0.45s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}

.showcase-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}

.showcase-shot img.is-active {
  opacity: 1;
  transform: scale(1);
}

.showcase-chipset {
  display: none;
}

.showcase-chipset.is-active {
  display: contents;
}

.showcase-stage .chip-a { top: 13%; left: -124px; }
.showcase-stage .chip-b { top: 41%; right: -124px; }
.showcase-stage .chip-c { bottom: 14%; left: -112px; }

.showcase-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1060px;
  margin: 18px auto 0;
  font-size: 10.5px;
  color: var(--muted-2);
}

.showcase-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.showcase-note .live-dot {
  width: 5px;
  height: 5px;
}

.showcase-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.showcase-open .icon {
  width: 12px;
  height: 12px;
}

.showcase-open:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* ---------- feature grid ---------- */

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

.feature-card {
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 80% 0%, rgba(47, 126, 232, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-accent);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(180deg, #f2f7ff, #e8f1fd);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-icon .icon {
  width: 18px;
  height: 18px;
}

.feature-card h3 {
  font-size: 15.5px;
  letter-spacing: -0.025em;
  margin-bottom: 7px;
}

.feature-card p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.feature-card .feature-tag {
  display: inline-flex;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 3px 7px;
  border-radius: 5px;
}

/* ---------- game cards ---------- */

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

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 100% 0%, color-mix(in srgb, var(--tint, #2f7ee8) 9%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tint, #2f7ee8) 32%, var(--line));
  box-shadow: var(--shadow);
}

.game-card:hover::before {
  opacity: 1;
}

.game-top {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.game-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--tint, #2f7ee8) 26%, #fff), #f4f8fe);
  border: 1px solid color-mix(in srgb, var(--tint, #2f7ee8) 26%, var(--line));
  color: color-mix(in srgb, var(--tint, #2f7ee8) 62%, #0f2139);
  flex-shrink: 0;
  overflow: hidden;
}

.game-mark-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.game-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.game-mark.has-icon img {
  opacity: 1;
}

.game-heading {
  min-width: 0;
}

.game-heading h3 {
  font-size: 15px;
  letter-spacing: -0.025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-tagline {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card > p {
  position: relative;
  z-index: 1;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  min-height: 38px;
}

.game-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 4px;
  position: relative;
  z-index: 1;
}

.game-actions .btn {
  flex: 1;
}

.game-actions .js-features {
  flex: 0 0 auto;
}

/* request tile */

.game-request-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(47, 126, 232, 0.07), transparent 70%),
    rgba(255, 255, 255, 0.45);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.game-request-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-accent);
  background: var(--surface);
}

.game-request-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.game-request-icon .icon {
  width: 18px;
  height: 18px;
}

.game-request-copy {
  flex: 1;
  min-width: 0;
}

.game-request-card h3 {
  font-size: 19px;
  letter-spacing: -0.03em;
}

.game-request-card p {
  margin-top: 4px;
  max-width: 46ch;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.game-request-card .btn {
  flex-shrink: 0;
}

/* coming strip */

.coming-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.coming-strip strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.coming-strip span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- product cards ---------- */

.product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 100% 0%, rgba(47, 126, 232, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-accent);
  box-shadow: var(--shadow);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 19px;
  letter-spacing: -0.03em;
  margin-top: 2px;
}

.product-card > p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.product-list {
  list-style: none;
  display: grid;
  gap: 7px;
  margin: 2px 0 4px;
}

.product-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.product-list .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.product-list .tick .icon {
  width: 9px;
  height: 9px;
}

.product-card .code-row {
  margin-top: 2px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}

.product-actions .btn {
  flex: 1;
}

/* ---------- loader card ---------- */

.loader-card {
  display: flex;
  align-items: center;
  gap: 20px 32px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 130% at 100% 0%, rgba(47, 126, 232, 0.08), transparent 60%),
    linear-gradient(180deg, #fbfdff, #f2f7fe);
}

.loader-card-copy {
  min-width: 220px;
}

.loader-card-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 7px 0 3px;
}

.loader-card-copy > span:last-child {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.loader-card .code-row {
  flex: 1 1 440px;
  margin: 0;
  background: var(--surface);
}

.feature-card code {
  font-size: 10.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* ---------- key system section ---------- */

.keys-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.keys-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 14px 0 14px;
  letter-spacing: -0.045em;
}

.keys-copy > p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 470px;
}

.key-perks {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.key-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
}

.key-perk .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.key-perk .tick .icon {
  width: 11px;
  height: 11px;
}

.key-perk small {
  display: block;
  font-size: 11.5px;
  color: var(--muted-2);
}

.key-plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.key-plan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.key-plan:hover {
  transform: translateY(-2px);
  border-color: var(--line-accent);
  box-shadow: var(--shadow-sm);
}

.key-plan.featured {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(78, 140, 230, 0.32), transparent 55%),
    linear-gradient(150deg, #132742, #0b1829);
  border-color: #1d3757;
  color: #eaf2fd;
}

.key-plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.key-plan.featured .key-plan-icon {
  background: rgba(255, 255, 255, 0.09);
  color: #a9ccff;
}

.key-plan-icon .icon {
  width: 18px;
  height: 18px;
}

.key-plan-copy {
  min-width: 0;
  flex: 1;
}

.key-plan-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: -0.02em;
}

.key-plan.featured .key-plan-copy strong {
  color: #fff;
}

.key-plan-copy span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
}

.key-plan.featured .key-plan-copy span {
  color: #93aacb;
}

.key-plan-price {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  padding: 4px 7px;
  white-space: nowrap;
}

.key-plan.featured .key-plan-price {
  color: #bcd6fb;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.key-plan .icon-button {
  flex-shrink: 0;
}

.key-plan.featured .icon-button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #bcd6fb;
}

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

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

.step {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 15.5px;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.step p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.step code {
  display: block;
  max-width: 100%;
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 7px;
  background: #0d1a2b;
  color: #a9c8f0;
  font-size: 10px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.band {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 120% at 85% -20%, rgba(78, 140, 230, 0.35), transparent 60%),
    radial-gradient(50% 100% at 10% 120%, rgba(40, 90, 160, 0.4), transparent 60%),
    linear-gradient(160deg, #0e1f35, #0a1626);
  border: 1px solid #1a2f4c;
  box-shadow: 0 40px 80px -50px rgba(9, 20, 36, 0.8);
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 100% at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 100% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}

.band-stat {
  position: relative;
  padding: 34px 28px;
  text-align: center;
}

.band-stat + .band-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.band-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1.1;
}

.band-stat span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7f97b6;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  margin: 14px 0 12px;
  letter-spacing: -0.04em;
}

.faq-intro p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-intro .btn {
  margin-top: 22px;
}

.faq-layout .faq {
  max-width: none;
  margin: 0;
}

.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.18s var(--ease);
}

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

.faq summary:hover {
  color: var(--accent);
}

.faq summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-line);
}

.faq details p {
  padding: 0 44px 20px 4px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  animation: faqIn 0.3s var(--ease);
}

.faq details code {
  font-size: 11.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface-3);
  color: var(--ink-2);
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
}

/* ---------- request / auth section ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.request-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 14px 0 14px;
  letter-spacing: -0.045em;
}

.request-copy > p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 470px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.feature-list > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.feature-list .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.feature-list .tick .icon {
  width: 10px;
  height: 10px;
}

.request-card,
.account-shell {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.request-card .field-label:first-child {
  margin-top: 0;
}

.search-wrap {
  position: relative;
}

.search-wrap input {
  padding-left: 38px;
}

.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  background: currentColor;
  color: var(--muted-2);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-results {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
  max-height: 260px;
  overflow-y: auto;
  padding: 4px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 9px;
  border-radius: 7px;
  text-align: left;
  transition: background 0.14s var(--ease);
}

.search-result:hover {
  background: var(--accent-soft);
}

.search-result img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

.search-result-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-result-copy strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-copy span {
  font-size: 10.5px;
  color: var(--muted-2);
}

.selected-game {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 9px 11px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.selected-game img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
}

.selected-game-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.selected-game-copy strong {
  font-size: 12px;
  color: var(--ink);
}

.selected-game-copy span {
  font-size: 10.5px;
  color: var(--muted);
}

.selected-game-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--accent-line);
  background: var(--surface);
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.selected-game-remove:hover {
  color: var(--danger);
}

.account-shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  padding: 32px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(47, 126, 232, 0.07), transparent 60%),
    var(--surface);
}

.account-mark {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.account-copy h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin: 10px 0 12px;
  letter-spacing: -0.04em;
}

.account-copy p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.account-actions .auth-form {
  margin-top: 14px;
}

.signed-in-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.signed-in-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.signed-in-copy strong {
  font-size: 12.5px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.signed-in-copy small {
  font-size: 10.5px;
  color: var(--muted-2);
}

#authSignedIn {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.cta-panel {
  position: relative;
  padding: 64px 40px;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line-accent);
  background:
    radial-gradient(70% 120% at 50% -20%, rgba(47, 126, 232, 0.18), transparent 60%),
    radial-gradient(50% 100% at 100% 120%, rgba(160, 200, 255, 0.25), transparent 60%),
    linear-gradient(180deg, #fbfdff, #f1f6fe);
  text-align: center;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 40, 73, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 40, 73, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
}

.cta-panel h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.cta-panel p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 520px;
  margin: 0 auto;
}

.cta-panel .hero-actions {
  margin-top: 26px;
}

.cta-code {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin: 26px auto 0;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-xs);
  text-align: left;
}

.cta-code code {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cta-code .copy-btn {
  flex-shrink: 0;
  height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.cta-code .copy-btn:hover {
  color: var(--accent);
  border-color: var(--line-accent);
  background: var(--accent-soft);
}

/* ---------- scripts page ---------- */

.page-hero {
  padding: 72px var(--gutter) 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  margin: 14px 0 14px;
  letter-spacing: -0.05em;
}

.page-hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.scripts-toolbar {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: var(--shadow-sm);
}

.scripts-search {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.scripts-search input {
  height: 38px;
  padding-left: 36px;
  background: var(--surface-2);
  border-color: transparent;
}

.scripts-search input:focus {
  background: #fff;
  border-color: var(--accent-2);
}

.scripts-search .search-icon {
  left: 12px;
}

.filter-chips {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.filter-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease);
}

.filter-chip:hover {
  color: var(--ink);
  background: var(--surface-3);
}

.filter-chip.is-active {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

.scripts-count {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-left: auto;
  padding-right: 6px;
}

.library-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  color: var(--muted);
}

.library-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.scripts-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: center;
  flex-wrap: wrap;
}

/* ---------- copy buttons in code rows ---------- */

.code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.code-row + .code-row {
  margin-top: 8px;
}

.code-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  flex-shrink: 0;
}

.code-row code {
  flex: 1;
  min-width: 0;
  font-size: 10.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.code-key {
  color: var(--accent);
}

.code-str {
  color: var(--success);
}

.copy-btn {
  flex-shrink: 0;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.copy-btn:hover,
.copy-btn.is-copied {
  color: var(--accent);
  border-color: var(--line-accent);
  background: var(--accent-soft);
}

/* ---------- decorative section rail ---------- */

.section-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-rail::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

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

@media (max-width: 1020px) {
  .keys-split,
  .split,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .keys-copy > p,
  .request-copy > p {
    max-width: 620px;
  }

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

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

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

  .account-mark {
    margin-bottom: 12px;
  }
}

@media (max-width: 1300px) {
  .stage-chip {
    display: none;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 64px var(--gutter) 28px;
  }

  .hero-badge {
    margin-bottom: 22px;
  }

  .hero-title {
    font-size: clamp(38px, 10.5vw, 56px);
  }

  .hero-sub {
    margin-top: 18px;
  }

  .hero-stage {
    margin-top: 38px;
  }

  .executor-stage {
    margin-top: 38px;
  }

  .stage-chip {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 38px;
  }

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

  .game-request-card {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .band-stat {
    padding: 26px 18px;
  }

  .band-stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .band-stat:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cta-panel {
    padding: 44px 22px;
    border-radius: var(--radius-xl);
  }

  .page-hero {
    padding: 48px var(--gutter) 28px;
  }

  .scripts-toolbar {
    position: static;
    gap: 10px;
  }

  .scripts-search {
    min-width: 100%;
  }

  .filter-chips {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .scripts-count {
    margin-left: 0;
    width: 100%;
    padding: 0 2px;
  }

  .account-shell {
    padding: 24px;
  }

  .faq details p {
    padding-right: 12px;
  }

  .showcase-tabs {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .showcase-stage {
    margin-top: 30px;
  }

  .showcase-note {
    font-size: 9.5px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .hero-stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .key-plan {
    flex-wrap: wrap;
  }

  .key-plan-price {
    margin-left: 54px;
  }

  .cta-code {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .cta-code .copy-btn {
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-sub,
  .hero-actions,
  .hero-meta,
  .hero-stage,
  .hero-stats {
    animation: none;
  }

  .stage-frame {
    transform: none !important;
  }

  .marquee-track {
    animation-duration: 200s;
  }

  .stage-chip {
    animation: none;
  }
}

/* ---------- paid pricing ---------- */

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.price-card.is-featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface));
  box-shadow: 0 20px 48px -34px rgba(31, 95, 178, 0.6);
}

.price-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-days {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.price-note {
  font-size: 12px;
  color: var(--muted);
}

.price-list {
  display: grid;
  gap: 9px;
  flex: 1;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.price-list li .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--success);
  flex-shrink: 0;
}

.price-footnote {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--muted-2);
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-flag { top: 18px; right: 18px; }
}

@media (max-width: 620px) {
  .price-card { padding: 20px; }
  .price-amount { font-size: 32px; }
}