/* maxcheapai.com landing (/). Same system as the apps (studio/client/DESIGN.md): true black, one neon green signal,
   orange as the rare second accent, JetBrains Mono for labels and numbers, Space Grotesk for what you read, 2-6px corners. */
:root {
  --s-0: #0b0b0b; --s-1: #111; --s-2: #161616; --s-3: #1c1c1c; --l-2: #262626; --l-3: #3a3a3a;
  --t-1: #f2f2f2; --t-2: #b5b5b5; --t-3: #7a7a7a;
  --brand: #00ff88; --brand-a10: rgba(0, 255, 136, .1); --brand-a20: rgba(0, 255, 136, .2); --orange: #ff8a3d;
  --mono: "JetBrains Mono", ui-monospace, monospace; --read: "Space Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1); color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body { margin: 0; background: var(--s-0); color: var(--t-1); font-family: var(--read); }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { display: block; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
[hidden] { display: none !important; }

.grain { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(#000, transparent 90vh); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11, 11, 11, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--l-2); }
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 15px/1 var(--mono); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.logo i { width: 28px; height: 28px; background: url(/assets/logo.png) center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(0,255,136,.35)); }
.logo.sm { font-size: 13px; } .logo.sm i { width: 22px; height: 22px; }
.links { display: flex; gap: 22px; margin-left: 20px; }
.links a, .link { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t-2); text-decoration: none; transition: color .15s; }
.links a:hover, .link:hover { color: var(--brand); }
.grow { flex: 1; }
.lang { display: inline-flex; border: 1px solid var(--l-3); border-radius: 3px; overflow: hidden; flex: none; }
.lang button { font: 600 11px/1 var(--mono); letter-spacing: .08em; padding: 7px 8px; background: transparent; color: var(--t-3); border: 0; cursor: pointer; }
.lang button + button { border-left: 1px solid var(--l-3); }
.lang button.on { color: var(--brand); background: var(--brand-a10); }
.lang button:hover { color: var(--t-1); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; padding: 0 18px;
  border: 1px solid var(--l-3); border-radius: 3px; background: rgba(255,255,255,.02); color: var(--t-1);
  font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: border-color .2s, box-shadow .2s, background .2s, transform .2s var(--ease); }
.btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: #04140b; border-color: var(--brand); box-shadow: 0 0 28px var(--brand-a20); }
.btn.primary:hover { box-shadow: 0 0 44px rgba(0, 255, 136, .45); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 11px; }
.btn.lg { height: 52px; padding: 0 24px; font-size: 13px; }
.btn small { font: 700 10px/1 var(--mono); padding: 4px 6px; border-radius: 2px; background: rgba(4,20,11,.16); letter-spacing: .06em; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; z-index: 1; overflow: hidden; margin-top: -64px; padding-top: 64px; }
.spot { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 30%) var(--my, 30%), rgba(0,255,136,.09), transparent 60%); transition: background .1s; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; min-height: min(860px, 100vh); padding-top: 40px; padding-bottom: 56px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 10px; border: 1px solid var(--l-3); border-radius: 99px;
  font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t-2); background: rgba(255,255,255,.02);
  opacity: 0; animation: rise .8s var(--ease) .05s forwards; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(0,255,136,.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0,255,136,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(0,255,136,0); } }
h1 { margin: 22px 0 20px; font: 700 clamp(44px, 6.4vw, 84px)/.96 var(--read); letter-spacing: -.045em; }
h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .line > * { display: inline-block; transform: translateY(105%); animation: up 1s var(--ease) forwards; }
h1 .line:nth-child(1) > * { animation-delay: .12s; } h1 .line:nth-child(2) > * { animation-delay: .24s; } h1 .line:nth-child(3) > * { animation-delay: .36s; }
@keyframes up { to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
h1 .accent { color: var(--brand); text-shadow: 0 0 40px rgba(0,255,136,.35); }
.rot { color: var(--t-1); position: relative; min-width: 3ch; white-space: nowrap; }
.rot::after { content: ""; display: inline-block; width: .08em; height: .8em; margin-left: .06em; background: var(--brand); vertical-align: -.04em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--t-2); max-width: 54ch; margin: 0; opacity: 0; animation: rise .9s var(--ease) .5s forwards; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; opacity: 0; animation: rise .9s var(--ease) .62s forwards; }
.fine { margin: 16px 0 0; font: 12px/1.5 var(--mono); color: var(--t-3); opacity: 0; animation: rise .9s var(--ease) .72s forwards; }

/* the tilted wall of real results */
.wall { position: relative; height: min(760px, 92vh); margin-right: calc(-1 * max(32px, (100vw - 1200px) / 2 + 32px)); perspective: 1400px; opacity: 0; animation: fadein 1.4s ease .3s forwards;
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
@keyframes fadein { to { opacity: 1; } }
.wall-in { position: absolute; inset: -10% -20% -10% 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, -16deg)) rotateZ(6deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.col { display: flex; flex-direction: column; gap: 14px; animation: colup var(--d, 60s) linear infinite; will-change: transform; }
.col.down { animation-name: coldown; }
@keyframes colup { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes coldown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.tile { position: relative; border-radius: 6px; overflow: hidden; background: var(--s-2) center / cover no-repeat; border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 20px 40px rgba(0,0,0,.5); flex: none; }
.tile.w { aspect-ratio: 16 / 9; } .tile.t { aspect-ratio: 9 / 16; } .tile.s { aspect-ratio: 1; } .tile.p { aspect-ratio: 3 / 4; }
.tile video, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile em { position: absolute; left: 8px; bottom: 8px; font: 600 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal;
  padding: 4px 6px; border-radius: 2px; background: rgba(0,0,0,.62); color: var(--t-1); backdrop-filter: blur(4px); }
.tile em.st { color: var(--brand); }

/* ---------------------------------------------------------------- ticker */
.ticker { position: relative; z-index: 1; border-block: 1px solid var(--l-2); background: var(--s-1); overflow: hidden; padding: 14px 0; }
.ticker-in { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker-in span { font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t-2); padding: 0 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px; }
.ticker-in span::after { content: "✦"; color: var(--brand); font-size: 10px; }
.ticker-in span.hi { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- stats */
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--l-2); border: 1px solid var(--l-2); border-radius: 6px; overflow: hidden; width: calc(100% - 32px); max-width: 1136px; margin: 64px auto 0; padding: 0; }
.stat { background: var(--s-0); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.stat b { font: 700 clamp(30px, 4vw, 46px)/1 var(--mono); letter-spacing: -.03em; color: var(--t-1); }
.stat b i { font-style: normal; }
.stat:nth-child(odd) b { color: var(--brand); }
.stat span { font: 13px/1.45 var(--read); color: var(--t-3); }

/* ---------------------------------------------------------------- products */
.product { position: relative; z-index: 1; padding: 100px 0 40px; }
.pgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.product.flip .pgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.product.flip .pmedia { order: 2; }
.pmedia { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--l-2); background: var(--s-1); aspect-ratio: 16 / 10; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(0,255,136,.04); }
.pmedia > video { width: 100%; height: 100%; object-fit: cover; }
.hud { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 12px 14px; font: 700 10px/1 var(--mono); letter-spacing: .14em; color: var(--t-1);
  background: linear-gradient(rgba(0,0,0,.55), transparent); }
.hud .rec { color: #ff4d4d; animation: blink 1.4s steps(1) infinite; }
.chat-bubble { position: absolute; right: 14px; bottom: 14px; width: min(320px, 72%); display: flex; flex-direction: column; gap: 8px; }
.chat-bubble span { font: 12px/1.45 var(--read); padding: 9px 12px; border-radius: 6px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease); }
.chat-bubble .you { align-self: flex-end; background: rgba(0,255,136,.9); color: #04140b; font-weight: 600; }
.chat-bubble .ai { background: rgba(17,17,17,.82); border: 1px solid var(--l-3); color: var(--t-1); transition-delay: .9s; }
.in .chat-bubble span { opacity: 1; transform: none; }
.num { font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--t-3); }
.num b { color: var(--brand); font-weight: 700; }
.pcopy h2, .phead h2 { margin: 18px 0 16px; font: 700 clamp(32px, 4.2vw, 54px)/1.02 var(--read); letter-spacing: -.04em; }
.pcopy p, .phead p { color: var(--t-2); font-size: 17px; line-height: 1.6; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--t-1); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* Studio stack: overlapping results that fan out */
.studio-stack { aspect-ratio: 16 / 11; background: radial-gradient(circle at 50% 60%, rgba(0,255,136,.08), transparent 60%), var(--s-1); overflow: visible; border-color: transparent; box-shadow: none; }
.studio-stack .card { position: absolute; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: var(--s-2) center / cover; box-shadow: 0 30px 60px rgba(0,0,0,.6);
  transition: transform 1.1s var(--ease), opacity .8s; opacity: 0; }
.studio-stack .card img, .studio-stack .card video { width: 100%; height: 100%; object-fit: cover; }
.studio-stack .card em { position: absolute; left: 10px; top: 10px; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; padding: 5px 7px; border-radius: 2px; background: rgba(0,0,0,.7); color: var(--brand); }
.studio-stack .card em + em { top: auto; bottom: 10px; color: var(--t-1); }
.studio-stack.in .card { opacity: 1; }
.studio-stack .ph { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 14px; color: var(--t-1);
  background: radial-gradient(circle at 80% 10%, var(--a), transparent 65%), linear-gradient(160deg, #161616, #0b0b0b); }
.studio-stack .ph small { font: 700 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.studio-stack .ph b { font: 700 clamp(18px, 2.2vw, 28px)/1.05 var(--read); letter-spacing: -.03em; }
.studio-stack .ph span { font: 600 11px/1 var(--mono); color: var(--t-2); }
.studio-stack .ph i { display: block; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--c), transparent); width: 0; transition: width 1.6s var(--ease) .4s; }
.studio-stack.in .ph i { width: 70%; }
.prompt-bar { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); width: min(460px, 92%); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; z-index: 5;
  background: rgba(17,17,17,.92); border: 1px solid var(--l-3); border-radius: 6px; backdrop-filter: blur(10px); font: 13px/1.3 var(--mono); color: var(--t-1); box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.prompt-bar .typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prompt-bar .typed::after { content: "▌"; color: var(--brand); animation: blink 1s steps(1) infinite; }
.prompt-bar b { flex: none; font: 700 10px/1 var(--mono); letter-spacing: .1em; padding: 8px 10px; border-radius: 3px; background: var(--brand); color: #04140b; }
.models { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.models span { font: 600 11px/1 var(--mono); letter-spacing: .04em; padding: 7px 9px; border: 1px solid var(--l-3); border-radius: 3px; color: var(--t-2); transition: border-color .2s, color .2s; }
.models span.v { border-style: dashed; }
.models span:hover { border-color: var(--brand); color: var(--brand); }
.models span.more { border-color: transparent; color: var(--t-3); }

/* ---------------------------------------------------------------- rails */
.rail-sec, .samples-sec { position: relative; z-index: 1; padding: 64px 0 24px; }
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.head-row h3 { margin: 0; font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--read); letter-spacing: -.03em; }
.more { font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); text-decoration: none; white-space: nowrap; }
.more.muted { color: var(--t-3); }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - 1200px) / 2 + 32px)) 20px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rcard { flex: none; width: clamp(240px, 30vw, 380px); scroll-snap-align: start; text-decoration: none; }
.rcard .m { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--s-2) center / cover; border: 1px solid var(--l-2); transition: border-color .25s, transform .4s var(--ease); }
.rcard.tall { width: clamp(150px, 15vw, 190px); }
.rcard.tall .m { aspect-ratio: 9 / 16; }
.rcard .m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.rcard .m video.on { opacity: 1; }
.rcard:hover .m { border-color: var(--brand); transform: translateY(-4px); }
.rcard .cap { display: flex; flex-direction: column; gap: 6px; padding: 12px 2px 0; }
.rcard .cap b { font: 600 15px/1.3 var(--read); letter-spacing: -.01em; }
.rcard .cap span { font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t-3); }
.rcard .cap span i { font-style: normal; color: var(--brand); margin-left: 6px; }

.samples { columns: 4 220px; column-gap: 14px; }
.sample { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--l-2); background: var(--s-2); transition: border-color .25s, transform .4s var(--ease); }
.sample:hover { border-color: var(--brand); transform: translateY(-3px); }
.sample img, .sample video { width: 100%; height: auto; }
.sample .meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 8px; padding: 30px 10px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.8)); font: 700 10px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.sample .meta b { color: var(--brand); white-space: nowrap; }

/* ---------------------------------------------------------------- pricing */
.pricing { position: relative; z-index: 1; padding: 120px 0 40px; }
.phead { max-width: 720px; margin-bottom: 40px; }
.packs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 18px 18px; border: 1px solid var(--l-2); border-radius: 6px; background: var(--s-1); text-decoration: none;
  transition: border-color .25s, transform .35s var(--ease), box-shadow .25s; isolation: isolate; }
.pack:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,255,136,.08); }
.pack .vnd { font: 700 13px/1 var(--mono); letter-spacing: .04em; color: var(--t-2); }
.pack .hp { font: 700 clamp(30px, 3vw, 40px)/1 var(--mono); letter-spacing: -.04em; }
.pack .hp small { font-size: 13px; color: var(--t-3); letter-spacing: 0; margin-left: 4px; }
.pack .bonus { font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); min-height: 10px; }
.pack .per { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--l-3); font: 12px/1.4 var(--mono); color: var(--t-3); }
.pack .buy { font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.pack.pop { border-color: transparent; background: var(--s-1); }
.pack.pop::before { content: ""; position: absolute; inset: -1px; border-radius: 7px; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), var(--brand), transparent 30%, transparent 60%, var(--orange), var(--brand));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.pack .flag { position: absolute; top: -10px; right: 12px; font: 700 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 7px; border-radius: 2px; background: var(--orange); color: #1a0b00; }
.buys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.buys div { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--l-2); border-radius: 6px; }
.buys b { font: 700 18px/1 var(--mono); color: var(--t-1); }
.buys span { font: 13px/1.4 var(--read); color: var(--t-3); }

/* ---------------------------------------------------------------- why */
.why { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 80px; padding-bottom: 40px; }
.cell { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border: 1px solid var(--l-2); border-radius: 6px; background: linear-gradient(180deg, var(--s-1), transparent); }
.cell i { font: 800 13px/1 var(--mono); font-style: normal; color: var(--brand); width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--brand); border-radius: 3px; background: var(--brand-a10); }
.cell b { font: 600 17px/1.2 var(--read); }
.cell span { color: var(--t-3); line-height: 1.5; font-size: 14px; }

/* ---------------------------------------------------------------- final */
.final { position: relative; z-index: 1; margin-top: 80px; padding: 140px 0; overflow: hidden; border-top: 1px solid var(--l-2); }
.final-bg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .32; transform: rotate(-6deg) scale(1.15); }
.final-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,11,11,.55), var(--s-0) 70%); }
.row { display: flex; gap: 14px; width: max-content; animation: marquee 80s linear infinite; }
.row.rev { animation-direction: reverse; }
.row .tile { width: 260px; aspect-ratio: 16 / 9; }
.final-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final h2 { margin: 0; font: 700 clamp(48px, 9vw, 120px)/.95 var(--read); letter-spacing: -.05em; }
.final h2 span { background: linear-gradient(90deg, var(--t-1), var(--brand) 50%, var(--t-1)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.final p { margin: 0 0 10px; color: var(--t-2); font-size: 18px; }

footer { position: relative; z-index: 1; border-top: 1px solid var(--l-2); }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 26px; padding-bottom: 26px; }
.flinks { display: flex; gap: 18px; flex-wrap: wrap; }
.flinks a { font: 12px/1 var(--mono); color: var(--t-2); text-decoration: none; }
.flinks a:hover { color: var(--brand); }
.copy { font: 12px/1 var(--mono); color: var(--t-3); }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.clip { clip-path: inset(12% 10% 12% 10% round 6px); transition: clip-path 1.2s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); }
.clip.in { clip-path: inset(0 0 0 0 round 6px); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .packs { grid-template-columns: repeat(3, 1fr); }
  .why, .buys { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .links { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; gap: 8px; }
  .wall { order: 2; height: 380px; margin: 0 -16px; }
  .rail-sec { padding-top: 48px; }
  .wall-in { inset: -20% -10%; grid-template-columns: repeat(4, 1fr); transform: rotateX(18deg) rotateZ(-8deg); }
  .pgrid, .product.flip .pgrid { grid-template-columns: 1fr; gap: 32px; }
  .product.flip .pmedia { order: 0; }
  .product, .pricing { padding-top: 80px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .nav .wrap { gap: 10px; }
  .logo span { display: none; }
  h1 { font-size: clamp(40px, 12.5vw, 56px); }
  .ctas .btn { flex: 1 1 100%; }
  .packs { grid-template-columns: 1fr 1fr; }
  .packs .pack:last-child { grid-column: 1 / -1; }
  .why, .buys { grid-template-columns: 1fr; }
  .stat { padding: 20px 16px; }
  .chat-bubble { display: none; }
  .final { padding: 100px 0; }
  .samples { columns: 2; column-gap: 10px; } .sample { margin-bottom: 10px; }
  .studio-stack { aspect-ratio: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .col, .row, .ticker-in { animation: none !important; }
  .reveal { opacity: 1; transform: none; } .clip { clip-path: none; }
}

/* ---------------------------------------------------------------- nav: products (2026-11-17) */
.link.hpbal { color: var(--brand); }
/* phones: the product links get their own row under the bar instead of disappearing */
@media (max-width: 860px) {
  .nav .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 0; }
  .nav .wrap > .logo, .nav .wrap > .lang, .nav .wrap > .btn, .nav .wrap > .link { margin-block: 3px; }
  .links { display: flex; order: 9; flex: 1 0 100%; margin: 0; gap: 20px; height: 40px; align-items: center; overflow-x: auto; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { flex: none; }
}
