/* ==========================================================================
   For Your Meme - palette + shell aligned to stokidoki
   Cream ink on deep charcoal. IBM Plex Mono + Inter.
   ========================================================================== */

:root {
  /* Surfaces (stokidoki) */
  --bg: #0b0c0f;
  --bg-elevated: #12141a;
  --bg-panel: #181b22;
  --bg-hover: #1c2029;
  --bg-active: #222733;

  /* Borders */
  --border: #252a35;
  --border-strong: #343b4a;
  --border-focus: #4a5366;

  /* Text */
  --text: #e6e0d4;
  --text-secondary: #9a9590;
  --text-tertiary: #6a6560;
  --text-invert: #0b0c0f;

  /* Accent = cream (stokidoki --lime) */
  --accent: #e6e0d4;
  --accent-hover: #f2ece2;
  --accent-dim: rgba(230, 224, 212, 0.12);
  --accent-line: rgba(230, 224, 212, 0.28);
  --accent-glow: rgba(230, 224, 212, 0.18);

  /* Semantic */
  --success: #e6e0d4;
  --success-dim: rgba(230, 224, 212, 0.12);
  --warning: #c4b89a;
  --danger: #a08080;

  /* Spacing scale (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-full: 9999px;

  /* Type */
  --font: "Inter", system-ui, sans-serif;
  --font-display: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
  --font-hero: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: clamp(28px, 3.2vw, 36px);
  --text-4xl: clamp(36px, 5vw, 56px);
  --text-5xl: clamp(40px, 6vw, 64px);

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  --tracking-tight: -0.03em;
  --tracking-snug: -0.015em;
  --tracking-wide: 0.08em;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 120ms;
  --t: 150ms;
  --t-slow: 280ms;

  /* Layout */
  --nav-h: 56px;
  --max: 1120px;
  --max-wide: 1440px;
  --gutter: clamp(16px, 3vw, 32px);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-panel: 0 0 0 1px var(--border), 0 8px 32px rgba(0, 0, 0, 0.35);

  /* Avatar cell size for full-bleed hero */
  --avatar-cell: 56px;
  --avatar-gap: 2px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}
::selection {
  background: rgba(230, 224, 212, 0.28);
  color: #0b0c0f;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Noise film - micro texture, almost invisible */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* Layout helpers */
.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.wrap-wide {
  width: min(var(--max-wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(640px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.h1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.lead {
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin: 0;
  max-width: 36em;
}
.muted { color: var(--text-secondary); }
.dim { color: var(--text-tertiary); }
.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
  letter-spacing: -0.02em;
}
.accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    transform var(--t-fast) var(--ease);
  user-select: none;
}
.btn:active { transform: scale(0.985); }

.btn-primary {
  background: var(--accent);
  color: var(--text-invert);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--text-invert);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: var(--text-xs);
  border-radius: var(--r-sm);
}
.btn-lg {
  height: 48px;
  padding: 0 22px;
  font-size: var(--text-base);
  border-radius: var(--r-lg);
}
.btn-block { width: 100%; }

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 12, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background var(--t) var(--ease),
    border-color var(--t) var(--ease),
    backdrop-filter var(--t) var(--ease);
}
.nav.is-solid {
  background: rgba(11, 12, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: min(var(--max-wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--accent);
}
.brand:hover { color: var(--accent-hover); }
.brand-mark,
.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--bg-elevated);
  color: var(--accent);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  flex-shrink: 0;
}
.brand-logo {
  object-fit: cover;
  padding: 0;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--bg-hover);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  align-items: center;
  justify-content: center;
}
.menu-btn:hover {
  color: var(--text);
  background: var(--bg-hover);
}
.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(11, 12, 15, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 12px var(--gutter) 20px;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.mobile-drawer a:hover {
  background: var(--bg-hover);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Hero - centered content + avatar river
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* Full-bleed avatar wall: flex row only (no wrap = no crop strips) */
.avatar-river {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--avatar-gap);
  overflow: hidden;
  pointer-events: none;
  opacity: 0.78;
  background: var(--bg);
}

.avatar-col {
  flex: 1 1 0;
  width: 0; /* equal columns fill full width */
  min-width: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.avatar-track {
  display: flex;
  flex-direction: column;
  gap: var(--avatar-gap);
  width: 100%;
  will-change: transform;
}

.avatar-track img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  background: var(--bg-panel);
  flex-shrink: 0;
}

.avatar-col.up .avatar-track {
  animation: riverUp 40s linear infinite;
}
.avatar-col.down .avatar-track {
  animation: riverDown 46s linear infinite;
}
.avatar-col:nth-child(3n) .avatar-track { animation-duration: 36s; }
.avatar-col:nth-child(4n) .avatar-track { animation-duration: 50s; }
.avatar-col:nth-child(5n) .avatar-track { animation-duration: 43s; }

@keyframes riverUp {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
@keyframes riverDown {
  from { transform: translate3d(0, -50%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 58% at 50% 48%, rgba(11, 12, 15, 0.38) 0%, rgba(11, 12, 15, 0.72) 52%, rgba(11, 12, 15, 0.92) 100%),
    linear-gradient(180deg, rgba(11, 12, 15, 0.82) 0%, transparent 20%, transparent 72%, rgba(11, 12, 15, 0.94) 100%);
}

.hero-center-inner {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--nav-h) + 16px) 0 40px;
}

.hero-center-inner .eyebrow {
  justify-content: center;
}

/* Hero headline - clean grotesk, not mono, not oversized */
h1.hero-title,
.hero-center-inner h1.hero-title,
.hero-center-inner .h1.hero-title {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-style: normal;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem) !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 22ch;
}

.hero-lead {
  margin: 0 auto 28px;
  max-width: 38ch;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions-center {
  justify-content: center;
}

/* Product frame - signature */
.product {
  position: relative;
}
.product-chrome {
  border-radius: var(--r-xl);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.product-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #090909;
}
.product-dots {
  display: flex;
  gap: 6px;
}
.product-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a2a2a;
  display: block;
}
.product-dots i:nth-child(1) { background: #3a3a3a; }
.product-url {
  flex: 1;
  height: 24px;
  border-radius: 5px;
  background: #111;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
}
.product-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}
.product-form {
  padding: 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-form .label {
  font-size: 11px;
  font-weight: 520;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fake-field {
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #0a0a0a;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.fake-field.is-filled { color: var(--text); }
.fake-field.file {
  border-style: dashed;
  justify-content: center;
  color: var(--text-tertiary);
  gap: 8px;
}
.fake-btn {
  margin-top: auto;
  height: 36px;
  border-radius: var(--r-sm);
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-size: var(--text-sm);
  font-weight: 560;
}
.product-preview {
  padding: 20px;
  background: #080808;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.preview-label {
  font-size: 11px;
  font-weight: 520;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.thread-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #0c0c0c;
  overflow: hidden;
}
.thread-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 650;
  color: var(--text-secondary);
}
.avatar.accent-ring {
  background: var(--accent-dim);
  border-color: var(--accent-line);
  color: var(--accent);
}
.thread-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.thread-meta strong {
  font-size: var(--text-sm);
  font-weight: 560;
  letter-spacing: -0.01em;
}
.thread-meta span {
  font-size: 11px;
  color: var(--text-tertiary);
}
.thread-art {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 30% 40%, rgba(230, 224, 212, 0.12), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.04), transparent 40%),
    #101010;
  position: relative;
  display: grid;
  place-items: center;
}
.thread-art .mix {
  display: flex;
  align-items: center;
  gap: 0;
}
.thread-art .mix .avatar {
  width: 48px;
  height: 48px;
  font-size: 13px;
}
.thread-art .mix .avatar + .avatar {
  margin-left: -12px;
  border-color: #1a1a1a;
  background: #1c1c1c;
  color: var(--text);
}
.thread-art .plus {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 6px;
}
.thread-body {
  padding: 12px 14px 14px;
}
.thread-body p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.45;
}
.thread-stats {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.product-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--r-full);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.product-float strong {
  color: var(--text);
  font-weight: 560;
}
.product-float.f1 {
  top: -10px;
  right: 24px;
}
.product-float.f2 {
  bottom: 28px;
  left: -12px;
}
.product-float .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-dim);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: var(--s-24) 0;
  border-top: 1px solid var(--border);
}
.section-head {
  margin-bottom: var(--s-10);
  max-width: 520px;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
  max-width: 540px;
}
.section-head .h2 { margin-bottom: 12px; }
.section-head .lead { font-size: var(--text-md); }

/* Launchpad marquee */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.chip.emphasis {
  color: var(--text);
  border-color: var(--accent-line);
  background: var(--accent-dim);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-elevated);
}
.process-step {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.process-step h3 {
  font-size: var(--text-md);
  font-weight: 560;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.process-step p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.bento-item {
  grid-column: span 4;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.bento-item:hover {
  border-color: var(--border-strong);
  background: #0d0d0d;
}
.bento-item.wide { grid-column: span 8; }
.bento-item.tall { grid-column: span 4; min-height: 220px; }
.bento-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #0a0a0a;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--text-secondary);
}
.bento-icon svg { width: 16px; height: 16px; }
.bento-item h3 {
  font-size: var(--text-md);
  font-weight: 560;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.bento-item p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 36ch;
}
.bento-visual {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #080808;
  min-height: 120px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #0c0c0c;
  font-size: 12px;
  color: var(--text-secondary);
}
.mini-row strong { color: var(--text); font-weight: 550; }
.mini-row .tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--success);
}

/* Feed table */
.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.seg button {
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: var(--text-xs);
  font-weight: 520;
  color: var(--text-tertiary);
  transition: all var(--t) var(--ease);
}
.seg button:hover { color: var(--text-secondary); }
.seg button[aria-selected="true"] {
  background: var(--bg-active);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.table {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-elevated);
}
.table-head,
.table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 0 20px;
}
.table-head {
  height: 40px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 520;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.table-row {
  min-height: 60px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t) var(--ease);
}
.table-row:last-child { border-bottom: none; }
.table-row:hover { background: #0e0e0e; }
.cell-token {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cell-token .token-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #161616;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 650;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.cell-token strong {
  font-size: var(--text-sm);
  font-weight: 560;
  letter-spacing: -0.01em;
}
.cell-token span {
  display: block;
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}
.table-row .muted-cell {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 520;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: #0a0a0a;
}
.badge.live {
  color: var(--success);
  border-color: rgba(62, 207, 142, 0.25);
  background: var(--success-dim);
}
.tab-panel[hidden] { display: none !important; }

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-elevated);
}
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-size: var(--text-md);
  font-weight: 520;
  letter-spacing: -0.015em;
  color: var(--text);
  transition: background var(--t) var(--ease);
}
.faq-q:hover { background: #0e0e0e; }
.faq-q .icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  color: var(--text);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--t-slow) var(--ease-out), opacity var(--t) var(--ease), padding var(--t) var(--ease);
  padding: 0 22px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 200px;
  opacity: 1;
  padding: 0 22px 20px;
}

/* CTA */
.cta {
  padding: var(--s-24) 0 var(--s-32);
}
.cta-box {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(230, 224, 212, 0.06), transparent 55%),
    var(--bg-elevated);
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  text-align: center;
}
.cta-box .h2 {
  margin-bottom: 12px;
  max-width: 16ch;
  margin-inline: auto;
}
.cta-box .lead {
  margin: 0 auto 28px;
  max-width: 40ch;
  font-size: var(--text-md);
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  color: var(--text-secondary);
  transition: color var(--t) var(--ease);
}
.footer-links a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Launchpad photo grid
   -------------------------------------------------------------------------- */
.pad-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pad-photo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.pad-photo:hover {
  border-color: var(--border-strong);
  background: #0e0e0e;
}
.pad-photo img,
.pad-photo .pad-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border);
  flex-shrink: 0;
  padding: 5px;
  box-sizing: border-box;
}
.pad-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
  box-sizing: border-box;
}
.pad-mark-plain {
  background: #000000;
  border: 1px solid #2a2a2a;
  box-shadow: inset 0 0 0 1px #111;
}
.pad-photo span {
  font-size: var(--text-sm);
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--text);
}
.pad-photo.emphasis {
  border-color: var(--accent-line);
  background: var(--accent-dim);
}

/* --------------------------------------------------------------------------
   Remix art cards
   -------------------------------------------------------------------------- */
.remix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.remix-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color var(--t) var(--ease);
}
.remix-card:hover { border-color: var(--border-strong); }
.remix-art {
  position: relative;
  aspect-ratio: 1.15;
  background:
    radial-gradient(circle at 35% 40%, rgba(230, 224, 212, 0.08), transparent 50%),
    var(--bg-panel);
  display: grid;
  place-items: center;
}
.remix-token,
.remix-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid #1a1a1a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.remix-token {
  transform: translate(-18px, -6px) rotate(-6deg);
  z-index: 1;
}
.remix-avatar {
  position: absolute;
  transform: translate(22px, 10px) rotate(5deg);
  border-radius: 50%;
  z-index: 2;
  border-color: #2a2a2a;
}
.remix-meta {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.remix-meta strong {
  font-size: var(--text-sm);
  font-weight: 560;
  letter-spacing: -0.01em;
}
.remix-meta span {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Meme feed with photos */
.feed-toolbar-center {
  justify-content: center;
}
.meme-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.meme-photo-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.meme-photo-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.meme-photo-art {
  position: relative;
  height: 120px;
  background:
    radial-gradient(circle at 40% 50%, rgba(230, 224, 212, 0.08), transparent 55%),
    var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.meme-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: #111;
  z-index: 1;
}
.meme-faces {
  display: flex;
  margin-left: -8px;
}
.meme-faces img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #0a0a0a;
  object-fit: cover;
  margin-left: -8px;
}
.meme-faces img:first-child { margin-left: 0; }
.meme-photo-body {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}
.meme-photo-body strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 560;
  margin-bottom: 2px;
}
.meme-photo-body span {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   APP
   -------------------------------------------------------------------------- */
.app-page { background: var(--bg); }

.app-shell {
  padding: calc(var(--nav-h) + 24px) 0 48px;
}
.app-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) minmax(300px, 360px);
  gap: 16px;
  align-items: start;
  min-height: calc(100vh - var(--nav-h) - 80px);
}
.app-grid-simple {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 16px;
  align-items: start;
  max-width: 960px;
}

.preview-label {
  font-size: 11px;
  font-weight: 520;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 16px 0 10px;
}
.remix-blend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #080808;
}
.remix-blend img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  display: block;
}
.remix-blend img:last-of-type {
  border-radius: 50%;
}
.remix-blend img[src=""],
.remix-blend img:not([src]) {
  visibility: hidden;
}
.preview-stage img[hidden] {
  display: none !important;
}
.blend-x {
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 500;
}

/* Sidebar */
.side {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-label {
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 10px 10px 6px;
}
.side a,
.side button.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-align: left;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.side a:hover,
.side button.side-link:hover {
  background: var(--bg-hover);
  color: var(--text);
}
.side a[aria-current="page"],
.side button.side-link.active {
  background: var(--bg-active);
  color: var(--text);
}
.side a svg,
.side button.side-link svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
}
.side-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.side-stat {
  padding: 10px;
  border-radius: var(--r-md);
  background: #0a0a0a;
  border: 1px solid var(--border);
}
.side-stat strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: 580;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.side-stat span {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* Main panel */
.panel {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.panel-head > div {
  min-width: 0;
  flex: 1;
}
.panel-head h1 {
  font-size: var(--text-xl);
  font-weight: 580;
  letter-spacing: -0.025em;
  margin: 0 0 4px;
}
.panel-head p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.panel-head .status {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin: 0;
  align-self: flex-start;
}
.panel-body { padding: 22px; }

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: var(--text-sm);
  font-weight: 520;
  color: var(--text);
  letter-spacing: -0.01em;
}
.field .hint {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
}
.field input,
.field select,
.field textarea {
  height: 40px;
  padding: 0 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.field textarea {
  height: auto;
  min-height: 88px;
  padding: 10px 12px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-tertiary); }
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #3a3a3a;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-line);
  background: var(--bg-elevated);
}
.field input[type="file"] {
  padding: 8px 12px;
  height: auto;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.field-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}
.field-inline input { width: 100%; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 520;
  letter-spacing: 0.02em;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--text-tertiary);
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  flex-shrink: 0;
  border: 0;
  box-shadow: none;
}
.status.warn {
  color: #c4b89a;
  background: transparent !important;
  border: 0 !important;
}
.status.warn::before {
  background: #c4b89a;
  box-shadow: none;
}
.status.ok {
  color: #9dff9a;
  background: transparent !important;
  border: 0 !important;
}
.status.ok::before {
  background: #9dff9a;
  box-shadow: none;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.form-note {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
}

/* Preview rail */
.preview-rail {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.preview-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  overflow: hidden;
}
.preview-card .ph {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preview-card .ph h2 {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 560;
  letter-spacing: -0.01em;
}
.preview-card .pb { padding: 16px; }
.preview-stage {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #080808;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.preview-stage img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.preview-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.preview-empty strong {
  display: block;
  color: var(--text-secondary);
  font-weight: 550;
  margin-bottom: 4px;
}
.kv {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.kv-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.kv-row span { color: var(--text-tertiary); }
.kv-row strong {
  color: var(--text);
  font-weight: 520;
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
  word-break: break-all;
}

.activity {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
}
.activity .ph {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.activity .ph h2 {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 560;
}
.activity-list { padding: 6px; }
.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--r-md);
  transition: background var(--t) var(--ease);
}
.activity-item:hover { background: var(--bg-hover); }
.activity-item .token-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #161616;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 650;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.activity-item div { min-width: 0; }
.activity-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 550;
}
.activity-item span {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: #111;
  box-shadow: var(--shadow-md);
  font-size: var(--text-sm);
  color: var(--text);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease-out);
}
.toast.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Waitlist modal */
body.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.modal[hidden] {
  display: none !important;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 1.5rem 1.35rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.modal-card h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--text);
}
.modal-card p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.form-actions[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .app-grid {
    grid-template-columns: 1fr 1fr;
  }
  .side { display: none; }
  .preview-rail { position: static; }
  .pad-photo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(1),
  .process-step:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  .bento-item,
  .bento-item.wide,
  .bento-item.tall { grid-column: span 6; }
  .remix-grid,
  .meme-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid-simple { grid-template-columns: 1fr; max-width: none; }
  :root { --avatar-cell: 48px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-right .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
  }
  .hero-center-inner .h1 { max-width: none; }
  .process { grid-template-columns: 1fr; }
  .process-step {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .process-step:last-child { border-bottom: none; }
  .bento-item,
  .bento-item.wide,
  .bento-item.tall { grid-column: span 12; }
  .app-grid { grid-template-columns: 1fr; }
  .pad-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .remix-grid,
  .meme-photo-grid { grid-template-columns: 1fr; }
  .hero-actions-center {
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .btn { width: 100%; }
  .field-inline { grid-template-columns: 1fr; }
  :root { --avatar-cell: 42px; }
  .avatar-river { opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
  .avatar-col .avatar-track { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
