/* ============================================================
   TrialsTraders — elevated landing page
   Dark / red / white brand, treated with craft.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,900&family=Hanken+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg:        #0a0908;
  --bg-2:      #100e0d;
  --card:      #161413;
  --card-2:    #1d1b19;
  --line:        rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --fg:        #f6f4f1;
  --fg-dim:    #a29c95;
  --fg-faint:  #6b655e;

  --accent:    #ec1c24;          /* driven by Tweaks */
  --accent-rgb: 236,28,36;
  --accent-ink: #ffffff;

  --display: 'Archivo', sans-serif;
  --body:    'Hanken Grotesk', sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  /* intensity-driven */
  --hero-size: clamp(20px, 2.3vw, 29px);
  --hero-skew: 0deg;
  --glow-op: 0.55;
  --tex-op: 0.06;
  --radius: 18px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-intensity="refined"] {
  --hero-size: clamp(18px, 2vw, 25px);
  --hero-skew: 0deg;
  --glow-op: 0.32;
  --tex-op: 0.035;
  --radius: 16px;
}
[data-intensity="bold"] {
  --hero-size: clamp(20px, 2.3vw, 29px);
  --hero-skew: 0deg;
  --glow-op: 0.55;
  --tex-op: 0.06;
  --radius: 18px;
}
[data-intensity="aggressive"] {
  --hero-size: clamp(22px, 2.7vw, 34px);
  --hero-skew: -3deg;
  --glow-op: 0.8;
  --tex-op: 0.09;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* ---------- Shared type ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

h2.section-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.section-sub {
  color: var(--fg-dim);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 46ch;
  margin-top: 18px;
}
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s var(--ease), color .2s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
}
.btn-primary:hover {
  box-shadow: 0 14px 40px -8px rgba(var(--accent-rgb), 0.65);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gut);
  transition: padding .3s var(--ease), background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px var(--gut);
  background: rgba(10,9,8,0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 900; letter-spacing: -0.01em; font-size: 18px; }
.nav-word { font-weight: 900; letter-spacing: 0.01em; }
.nav-word .red { color: var(--accent); }
.nav-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: -1px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 22px -4px rgba(var(--accent-rgb), 0.7);
  position: relative;
}
.nav-mark span:last-child { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--fg-dim);
  position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta-link {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  color: var(--fg); display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s;
}
.nav-cta-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-cta-link:hover { color: var(--accent); }
.nav-cta-link:hover svg { transform: translateX(4px); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px var(--gut) 80px;
  overflow: hidden;
}
/* cursor-reactive glow + texture */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  top: var(--my, 32%); left: var(--mx, 50%);
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), var(--glow-op)) 0%, rgba(var(--accent-rgb), 0.12) 32%, transparent 62%);
  filter: blur(20px);
  transition: top .4s var(--ease), left .4s var(--ease);
}
.hero-tex { position: absolute; inset: -20% ; opacity: var(--tex-op); background-size: 46px 46px; }
[data-texture="grid"] .hero-tex {
  background-image: linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
}
[data-texture="dots"] .hero-tex {
  background-image: radial-gradient(rgba(255,255,255,0.8) 1.4px, transparent 1.6px);
  background-size: 30px 30px;
}
[data-texture="topo"] .hero-tex {
  background-image: repeating-radial-gradient(circle at 50% 40%, transparent 0 38px, rgba(255,255,255,0.5) 38px 39px);
  background-size: auto;
}
[data-texture="none"] .hero-tex { background-image: none; }
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 30%, var(--bg) 90%);
}

.hero-inner { position: relative; z-index: 2; max-width: 1000px; }

.hero-logo {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  margin-bottom: 38px;
}
.hero-mark {
  width: 92px; height: 92px; border-radius: 22px;
  background: linear-gradient(180deg, #1a1817, #050505);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900; font-size: 44px; letter-spacing: -3px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 18px 60px -14px rgba(var(--accent-rgb), var(--glow-op));
  position: relative;
}
.hero-mark::after {
  content: ""; position: absolute; inset: -2px; border-radius: 24px;
  background: radial-gradient(circle at 50% 120%, rgba(var(--accent-rgb),0.6), transparent 70%);
  z-index: -1; filter: blur(14px);
}
.hero-mark span:last-child { color: var(--accent); }

.wordmark {
  font-family: var(--display); font-weight: 900; font-size: clamp(30px, 5vw, 54px);
  letter-spacing: -0.02em; line-height: 1; display: flex;
}
.wordmark .red { color: var(--accent); text-shadow: 0 0 34px rgba(var(--accent-rgb), 0.6); }
.byline { color: var(--fg-faint); font-size: 14px; margin-top: 12px; letter-spacing: 0.01em; }

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--hero-size);
  line-height: 1.18;
  letter-spacing: -0.005em;
  transform: skewX(var(--hero-skew));
  margin: 22px auto 0;
  max-width: 30ch;
  color: var(--fg-dim);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); font-weight: 800; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }

.hero-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 38px;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; color: var(--fg-dim);
  padding: 10px 18px; border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .2s var(--ease), color .2s, box-shadow .2s;
}
.pill svg { width: 17px; height: 17px; color: var(--accent); }
.pill:hover { transform: translateY(-3px); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); }

.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.store-btn {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 24px; border-radius: 14px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  text-align: left; transition: transform .25s var(--ease), box-shadow .25s;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--fg); }
.store-btn svg { width: 26px; height: 26px; }
.store-btn .small { display: block; font-size: 10px; color: var(--fg-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.store-btn .big { display: block; font-family: var(--display); font-weight: 800; font-size: 17px; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint);
}
.scroll-hint .dot {
  width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-strong);
  position: relative;
}
.scroll-hint .dot::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0%{opacity:1;top:7px;} 70%{opacity:0;top:18px;} 100%{opacity:0;} }

/* marquee */
.marquee {
  position: relative; z-index: 2; margin-top: 54px;
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track .chip {
  font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fg-faint); padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.marquee-track .chip b { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { position: relative; }
.band { padding: clamp(80px, 11vw, 160px) 0; }
.band.alt { background: var(--bg-2); }
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .section-sub { margin-inline: auto; }

/* ============================================================
   MARKETPLACE PREVIEW
   ============================================================ */
.market-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.filter {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  color: var(--fg-dim); background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: all .2s var(--ease);
}
.filter:hover { color: var(--fg); }
.filter.active { background: var(--accent); color: #fff; box-shadow: none; }

.listings {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
.listing {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.listing:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),0.5), 0 24px 50px -20px rgba(var(--accent-rgb),0.45);
}
.listing.hide { display: none; }
.listing-media { position: relative; aspect-ratio: 4/3; background: var(--card-2); }
.listing-media image-slot { width: 100%; height: 100%; display: block; }
.listing-tag {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; color: #fff;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
}
.listing-fav {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); cursor: pointer;
  color: #fff; transition: all .2s;
}
.listing-fav svg { width: 16px; height: 16px; }
.listing-fav:hover { background: var(--accent); transform: scale(1.08); }
.listing-fav.on { background: var(--accent); }
.listing-fav.on svg { fill: #fff; }
.listing-body { padding: 16px 16px 18px; }
.listing-title { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.2; }
.listing-meta { display: flex; align-items: center; gap: 8px; margin-top: 7px; color: var(--fg-faint); font-size: 12.5px; }
.listing-meta svg { width: 13px; height: 13px; }
.listing-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.listing-price { font-family: var(--display); font-weight: 900; font-size: 21px; }
.listing-cond { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 6px; color: var(--fg-dim); box-shadow: inset 0 0 0 1px var(--line); }
.market-foot { margin-top: 40px; display: flex; justify-content: center; }

/* ============================================================
   FEATURES — BENTO
   ============================================================ */
.bento {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.fcard {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: inset 0 0 0 1px var(--line);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  grid-column: span 2;
}
.fcard::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--cx,50%) var(--cy,0%), rgba(var(--accent-rgb),0.16), transparent 60%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.fcard:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fcard:hover::before { opacity: 1; }
.fcard.wide { grid-column: span 3; }
.fcard.tall { grid-row: span 2; }
.f-ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(var(--accent-rgb),0.12); color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),0.3);
  transition: transform .35s var(--ease);
}
.f-ico svg { width: 26px; height: 26px; }
.fcard:hover .f-ico { transform: translateY(-3px) rotate(-4deg) scale(1.05); }
.fcard h3 { font-family: var(--display); font-weight: 800; font-size: 21px; margin-top: 20px; letter-spacing: -0.01em; }
.fcard p { color: var(--fg-dim); font-size: 15px; margin-top: 10px; }
.fcard .big-num {
  position: absolute; top: 16px; right: 22px;
  font-family: var(--display); font-weight: 900; font-size: 60px;
  color: var(--fg); opacity: 0.05; line-height: 1;
}
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .fcard, .fcard.wide { grid-column: span 1; }
  .fcard.tall { grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .fcard, .fcard.wide { grid-column: span 1; }
}

/* ============================================================
   HOW IT WORKS — STEPPER
   ============================================================ */
.stepper { margin-top: 54px; }
.step-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  position: relative;
}
.step-track::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: var(--line-strong);
}
.step-progress {
  position: absolute; top: 27px; left: 8%; height: 2px; background: var(--accent);
  width: 0; transition: width .5s var(--ease); box-shadow: 0 0 12px rgba(var(--accent-rgb),0.8);
}
.step-btn {
  position: relative; z-index: 2; background: transparent; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0;
  color: var(--fg-faint); transition: color .25s;
}
.step-num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 22px;
  background: var(--bg); color: var(--fg-faint);
  box-shadow: inset 0 0 0 2px var(--line-strong);
  transition: all .3s var(--ease);
}
.step-btn .step-label { font-family: var(--display); font-weight: 700; font-size: 15px; transition: color .25s; }
.step-btn.active { color: var(--fg); }
.step-btn.active .step-num {
  background: var(--accent); color: #fff; box-shadow: 0 0 0 6px rgba(var(--accent-rgb),0.18), 0 0 30px rgba(var(--accent-rgb),0.5);
  transform: scale(1.05);
}
.step-btn.done .step-num { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.step-panel {
  margin-top: 48px; background: var(--card); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  min-height: 260px;
}
.step-panel .sp-text .sp-step { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; }
.step-panel .sp-text h3 { font-family: var(--display); font-weight: 900; font-size: clamp(28px,3.6vw,44px); letter-spacing: -0.02em; margin-top: 14px; line-height: 1; }
.step-panel .sp-text p { color: var(--fg-dim); font-size: 17px; margin-top: 16px; max-width: 42ch; }
.sp-visual {
  aspect-ratio: 1/0.72; border-radius: 14px; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.sp-visual .sp-glyph { width: 40%; height: 40%; color: var(--accent); opacity: 0.9; }
.sp-visual .sp-glyph svg { width: 100%; height: 100%; }
@media (max-width: 760px) {
  .step-panel { grid-template-columns: 1fr; }
  .step-btn .step-label { display: none; }
  .sp-visual { order: -1; }
}

/* ============================================================
   COMMUNITY STATS
   ============================================================ */
.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat {
  background: var(--card); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden;
}
.stat .stat-ico { color: var(--accent); width: 28px; height: 28px; }
.stat .stat-ico svg { width: 100%; height: 100%; }
.stat .num {
  font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 66px);
  line-height: 1; margin-top: 22px; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 2px;
}
.stat .num .suffix { color: var(--accent); }
.stat .lbl { color: var(--fg-dim); font-size: 14.5px; margin-top: 10px; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2,1fr); } }

.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px){ .community-grid { grid-template-columns: 1fr; gap: 36px; } }
.cat-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cat-chip {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 12px 20px; border-radius: 12px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); transition: all .25s var(--ease); cursor: default;
  display: inline-flex; align-items: center; gap: 10px;
}
.cat-chip svg { width: 18px; height: 18px; color: var(--accent); }
.cat-chip:hover { transform: translateY(-3px); background: var(--card-2); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),0.5); }

/* ============================================================
   SIGNUP
   ============================================================ */
.signup {
  position: relative; text-align: center;
  border-radius: 28px; overflow: hidden;
  padding: clamp(50px, 8vw, 96px) var(--gut);
  background: linear-gradient(180deg, #161413, #0c0a09);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.signup::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px circle at 50% -10%, rgba(var(--accent-rgb),0.28), transparent 60%);
  pointer-events: none;
}
.signup-inner { position: relative; z-index: 2; max-width: 620px; margin-inline: auto; }
.signup h2 { font-family: var(--display); font-weight: 900; font-size: clamp(34px,5vw,64px); letter-spacing: -0.025em; line-height: 0.98; }
.signup p { color: var(--fg-dim); margin-top: 16px; font-size: 18px; }
.signup-form {
  margin-top: 34px; display: flex; gap: 12px; max-width: 480px; margin-inline: auto;
}
.signup-form input {
  flex: 1; background: var(--bg); border: none; border-radius: 14px;
  padding: 16px 20px; color: var(--fg); font-family: var(--body); font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .2s;
}
.signup-form input::placeholder { color: var(--fg-faint); }
.signup-form input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.signup-form .btn-primary { padding-inline: 30px; }
.signup-form.invalid input { box-shadow: inset 0 0 0 1.5px var(--accent); animation: shake .4s; }
@keyframes shake { 0%,100%{transform:translateX(0);} 20%,60%{transform:translateX(-6px);} 40%,80%{transform:translateX(6px);} }
.signup-note { margin-top: 16px; font-size: 13px; color: var(--fg-faint); }
.signup-success { display: none; flex-direction: column; align-items: center; gap: 16px; }
.signup.done .signup-form, .signup.done p, .signup.done .signup-note { display: none; }
.signup.done .signup-success { display: flex; }
.success-check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; color: #fff; animation: pop .5s var(--ease);
}
.success-check svg { width: 30px; height: 30px; }
@keyframes pop { 0%{transform:scale(0);} 70%{transform:scale(1.12);} 100%{transform:scale(1);} }
@media (max-width: 540px){ .signup-form { flex-direction: column; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 70px var(--gut) 50px; border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--maxw); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.footer-mark { font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: 0.04em; }
.footer-mark .red { color: var(--accent); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--fg-dim); transition: color .2s; }
.footer-links a:hover { color: var(--fg); }
.footer-social { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--fg) !important; }
.footer-social svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.footer-social:hover { color: var(--accent) !important; }
.footer-social:hover svg { transform: scale(1.12); }
.footer-legal { width: 100%; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--fg-faint); font-size: 13px; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(0);
  z-index: 120; width: min(880px, calc(100vw - 32px));
  background: rgba(18,16,15,0.92); backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 60px -20px rgba(0,0,0,0.8);
  border-radius: 16px; padding: 16px 18px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between;
  transition: transform .45s var(--ease), opacity .45s;
}
.cookie.hidden { transform: translateX(-50%) translateY(180%); opacity: 0; pointer-events: none; }
.cookie p { font-size: 13.5px; color: var(--fg-dim); max-width: 56ch; }
.cookie p a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; }
.cookie .btn { padding: 10px 20px; font-size: 14px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

[data-motion="off"] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
[data-motion="off"] .marquee-track,
[data-motion="off"] .scroll-hint .dot::after { animation: none !important; }
[data-motion="off"] .hero-glow { transition: none !important; }
[data-motion="subtle"] .marquee-track { animation-duration: 60s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track, .scroll-hint .dot::after { animation: none !important; }
}

/* hero entrance */
[data-motion="full"] .hero h1 .line > span,
[data-motion="subtle"] .hero h1 .line > span { animation: riseIn .9s var(--ease) both; }
.hero h1 .line:nth-child(1) > span { animation-delay: .15s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .30s; }
@keyframes riseIn { from { transform: translateY(110%); } to { transform: translateY(0); } }


/* ---------- Production photo placeholder (swap for <img>) ---------- */
.listing-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--fg-faint); background: var(--card-2);
}
.listing-ph svg { width: 30px; height: 30px; }
.listing-ph span { font-size: 12px; font-weight: 600; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
