/* Shared styles for the Premium, success and account pages. Same palette,
   type and reveal curve as index.html. */
/* Inter (latin-ext), self-hosted */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter (latin), self-hosted */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.65);
  --faint: rgba(255, 255, 255, 0.45);
  --line: rgba(255, 255, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.1);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hi: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html, body {
  background: #000;
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
  text-decoration: none;
}

.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav { align-items: center; }
.nav .gh-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.nav .gh-badge:hover { color: var(--muted); }
.nav .gh-badge svg { flex: none; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 72px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 18ch;
}

.hero .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  letter-spacing: -0.01em;
  max-width: 34em;
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  text-decoration: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--surface-hi); border-color: rgba(255, 255, 255, 0.35); }

.btn-primary { background: #fff; color: #000; border-color: #fff; }
.btn-primary:hover { background: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.85); }

.btn:focus-visible, .toggle button:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---------- Billing toggle ---------- */
.toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.toggle button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.toggle button[aria-pressed="true"] { background: #fff; color: #000; }
.toggle .save { font-size: 12px; opacity: .7; margin-left: 6px; }

/* ---------- Plan cards ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  /* Four cards need more room than .wrap allows, so break out of it and
     stay centred on the page. */
  width: min(1280px, calc(100vw - 48px));
  margin: 32px 0 0 50%;
  translate: -50% 0;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--surface);
}

.plan.featured {
  border-color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 4px; }

.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  white-space: nowrap;
}

.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price .per { color: var(--muted); font-size: 15px; }
.price-note { color: var(--faint); font-size: 13px; min-height: 1.5em; margin-top: 6px; }

.features { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.features li { display: flex; gap: 10px; align-items: flex-start; }
.features li::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5 6.5 11.5 3 8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5 6.5 11.5 3 8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.features li.no { color: var(--faint); }
.features li.no::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* Where generation runs: your own keys (Free) vs. included (paid) */
.mode {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: var(--surface-hi);
}
.mode-label {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.features .sub { display: block; color: var(--faint); font-size: 13px; }
.num { font-weight: 600; font-variant-numeric: tabular-nums; }

.plan .btn { margin-top: auto; width: 100%; padding: 14px 22px; }

.plans-footnote {
  text-align: center;
  color: var(--faint);
  font-size: 13px;
  margin-top: 20px;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0 0; }
.section h2.title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section .lead { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 40em; }
.section-head { margin-bottom: 32px; }

.panel {
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--surface);
  padding: 30px;
}

.license {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.license p { color: var(--muted); margin-top: 8px; max-width: 38em; }
.license h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.steps h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.steps p { color: var(--muted); font-size: 15px; }

.path { font-family: var(--mono); font-size: 0.9em; color: var(--fg); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { color: var(--muted); padding: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Narrow single-column pages (success, account) ---------- */
.narrow { max-width: 640px; margin: 0 auto; }
.narrow .hero { padding: 64px 0 36px; }
.narrow .hero h1 { max-width: none; }

.key-box {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.key-box code {
  flex: 1;
  min-width: 0;
  align-self: center;
  font-family: var(--mono);
  font-size: 15px;
  overflow-wrap: anywhere;
  user-select: all;
}
.key-box .btn { flex: none; padding: 10px 18px; border-radius: 10px; }

.note { color: var(--faint); font-size: 14px; margin-top: 12px; }

.list-steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.list-steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; color: var(--muted); }
.list-steps li::before {
  content: counter(s);
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  transform: translateY(-2px);
}
.list-steps strong { color: var(--fg); font-weight: 600; }

.stack { display: flex; flex-direction: column; gap: 20px; }
.panel h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.panel p { color: var(--muted); }
.panel p + p { margin-top: 10px; }

.help { list-style: none; display: flex; flex-direction: column; }
.help li { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.help li:first-child { border-top: 0; padding-top: 0; }
.help li:last-child { padding-bottom: 0; }
.help strong { display: block; font-weight: 600; margin-bottom: 4px; }
.help span { color: var(--muted); }

.link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.link:hover { text-decoration-color: #fff; }

/* ---------- Logo carousel (same look as the homepage) ---------- */
/* stretch to full width inside the centered hero column */
.logos { align-self: stretch; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 22px; }
.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  --marquee-gap: 64px;
  --logo-scale: 1;
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
  width: max-content;
  /* trailing gap so copy 2 starts exactly one gap after copy 1 ends */
  padding-right: var(--marquee-gap);
  /* duration is recomputed in logo-marquee.js from the real track width */
  animation: marquee 90s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-item { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-item img {
  height: calc(var(--h, 26px) * var(--logo-scale, 1));
  width: auto;
  display: block;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}
.logo-item img.blend {
  filter: invert(1) grayscale(1) brightness(1.6);
  mix-blend-mode: screen;
}
@media (max-width: 640px) {
  .logos { gap: 16px; margin: 14px 0 18px; }
  .marquee-track { --marquee-gap: 36px; --logo-scale: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 96px;
  padding-top: 28px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}
.footer nav { display: flex; gap: 20px; }
.footer a { text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--fg); }

/* ---------- Entrance: same blur-rise curve as the homepage reveal ---------- */
.rise { animation: rise .6s var(--ease) both; animation-delay: var(--d, 0s); }
/* Delay classes for pages whose CSP forbids inline style attributes */
.d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .24s; } .d4 { --d: .32s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; max-width: 860px; margin: 32px auto 0; translate: none; }
}

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

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .license { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 32px; }
  .plan, .panel { padding: 24px; }
  .section { padding-top: 64px; }
  /* Brand on its own row, links spread across the row below it */
  .topbar { flex-wrap: wrap; row-gap: 12px; padding-top: 18px; padding-bottom: 18px; }
  .brand { white-space: nowrap; }
  .nav { gap: 12px; flex: 1 0 100%; justify-content: space-between; }
  .key-box { flex-direction: column; padding: 14px; }
  .key-box .btn { width: 100%; }
}

@media (max-width: 360px) {
  .nav { gap: 8px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  .faq summary::after { transition: none; }
}

.portal { display: flex; flex-direction: column; align-items: center; }
.portal .note { margin-top: 12px; }
.portal[hidden] { display: none; }

/* ---------- Creations page ---------- */
.wrap-wide { max-width: 1180px; }
.hero-tight { padding-bottom: 48px; }
/* No-JS fallback is CSS columns; the page script swaps in fixed columns */
.creations { columns: 3 320px; column-gap: 20px; }
.creations > .creation { break-inside: avoid; margin-bottom: 20px; }
.creations.is-masonry { display: flex; gap: 20px; align-items: flex-start; columns: auto; }
.creations-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.creation {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s ease;
}
.creation:hover { border-color: var(--line); }

.creation-media { display: grid; gap: 2px; background: #000; }
.creation-media.n2 { grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 10; }
.creation-media.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 10; }
.creation-media.n3 .tile:first-child { grid-row: span 2; }
.creation-media.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 10; }
.tile {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #0b0b0b;
  cursor: zoom-in;
  overflow: hidden;
}
.tile img, .tile video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.tile:hover img, .tile:hover video { transform: scale(1.02); }
/* Small play badge so muted autoplay still reads as "video" */
.tile:has(video)::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 4v8l6.5-4z' fill='white'/%3E%3C/svg%3E") center / 14px no-repeat;
  backdrop-filter: blur(6px);
}
.tile:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

.creation-body { padding: 16px 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.creation-text {
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.creation.text-only .creation-text { font-size: 16px; color: var(--fg); -webkit-line-clamp: 8; }
.creation-text a, .creation-quote a { color: var(--fg); text-decoration: none; }
.creation-text a:hover, .creation-quote a:hover { text-decoration: underline; }
.creation-quote { font-size: 13px; color: var(--faint); margin-top: -8px; }

.creation-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.creation-author { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.creation-author img { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--surface-hi); }
.creation-author > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.creation-author strong, .creation-author span span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.creation-author strong { font-size: 14px; font-weight: 600; }
.creation-author span span { font-size: 13px; color: var(--faint); }
.creation-author:hover strong { text-decoration: underline; }
.creation-x {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--faint);
  text-decoration: none;
  transition: color .2s ease;
}
.creation-x:hover { color: var(--fg); }

/* Lightbox */
.lightbox {
  width: min(1200px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #0a0a0a;
  color: var(--fg);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); }
.lightbox[open] { display: flex; flex-direction: column; animation: rise .35s var(--ease) both; }
.lightbox-stage { display: grid; place-items: center; min-height: 0; flex: 1; background: #000; }
.lightbox-stage img, .lightbox-stage video {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
}
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.lightbox-bar .creation-meta { gap: 20px; }
.lightbox-nav { display: flex; gap: 8px; }
.lightbox.single [data-step] { display: none; }
.lightbox-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: 17px;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-btn:hover { background: var(--surface-hi); }

@media (prefers-reduced-motion: reduce) {
  .tile img, .tile video { transition: none; }
  .tile:hover img, .tile:hover video { transform: none; }
  .lightbox[open] { animation: none; }
}

/* ---------- Pricing page: wall of creations teaser ---------- */
.wall {
  position: relative;
  display: flex;
  gap: 12px;
  height: 560px;
  overflow: hidden;
  border-radius: 24px;
}
.wall-col { flex: 1; min-width: 0; }
.wall-col:nth-child(even) { margin-top: -90px; }
.wall-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: wall-drift var(--dur, 70s) linear infinite;
}
.wall-col:nth-child(2) .wall-track { --dur: 85s; animation-direction: reverse; }
.wall-col:nth-child(3) .wall-track { --dur: 60s; }
.wall-col:nth-child(4) .wall-track { --dur: 80s; animation-direction: reverse; }
.wall-col:nth-child(5) .wall-track { --dur: 75s; }
.wall-track img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: var(--surface);
}
@keyframes wall-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(-50% - 6px)); }
}
/* Vignette: dark core behind the CTA, fading to black at every edge */
.wall::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 50% at center, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 45%, transparent 100%),
    linear-gradient(to bottom, #000 0%, transparent 22%, transparent 78%, #000 100%),
    linear-gradient(to right, #000 0%, transparent 16%, transparent 84%, #000 100%);
}
.wall-cta {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.wall-cta p { color: var(--muted); font-size: 17px; max-width: 26em; }
.wall-cta .btn { margin-top: 8px; }

@media (max-width: 760px) {
  .wall { height: 460px; }
  .wall-col:nth-child(n+4) { display: none; }
  .wall::after {
    background:
      radial-gradient(ellipse 70% 45% at center, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 50%, transparent 100%),
      linear-gradient(to bottom, #000 0%, transparent 22%, transparent 78%, #000 100%),
      linear-gradient(to right, #000 0%, transparent 12%, transparent 88%, #000 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wall-track { animation: none; }
}
