/* ============================================================
   Verity — monochrome design system
   Dark editorial: near-black canvas, off-white type, hairline rules.

   WANT THE LIGHT VERSION BACK?  Swap only this token block:
     --bg:#ffffff  --bg-alt:#fafafa  --surface:#ffffff  --surface-2:#f5f5f5
     --border:#e8e8e8  --border-strong:#d0d0d0
     --text:#0a0a0a  --text-dim:#767676
     --accent:#0a0a0a  --accent-hover:#333333  --accent-soft:#f5f5f5  --on-accent:#ffffff
     --focus-ring:rgba(0,0,0,0.06)  --grid-line:rgba(0,0,0,0.035)
     --shadow-card:0 1px 2px rgba(0,0,0,0.04)  --shadow-pop:0 8px 28px -8px rgba(0,0,0,0.16)
   Nothing else needs to change.
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --surface: #141414;
  --surface-2: #1e1e1e;
  --border: #262626;
  --border-strong: #3a3a3a;
  --text: #fafafa;
  --text-dim: #a3a3a3;
  --accent: #fafafa;
  --accent-hover: #e5e5e5;
  --accent-deep: #fafafa;
  --accent-soft: #1c1c1c;
  --accent-glow: rgba(255, 255, 255, 0.1);
  --on-accent: #0a0a0a;
  --gold: #a3a3a3;
  --red: #fafafa;
  --focus-ring: rgba(255, 255, 255, 0.12);
  --grid-line: rgba(255, 255, 255, 0.05);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-pop: 0 20px 48px -14px rgba(0, 0, 0, 0.7);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
}

img { max-width: 100%; }

::selection { background: var(--text); color: var(--bg); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #b4b4b4; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.container-narrow { width: min(780px, 92%); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.005em;
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { color: var(--text); border-color: var(--border-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--text); background: var(--surface-2); }

.btn-outline { color: var(--text); border-color: var(--border-strong); background: transparent; }
.btn-outline:hover { background: var(--surface-2); border-color: var(--text); }

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

/* ===== Navbar ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--border);
}

.nav-inner { display: flex; align-items: center; gap: 2rem; height: 70px; }

.logo {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span { color: var(--text-dim); }

.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; margin-left: auto; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

.menu-wrap { position: relative; }
.menu-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px 11px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.menu-box span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; }
.menu-box:hover { border-color: var(--text); background: var(--surface-2); }

.menu-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  z-index: 60;
  box-shadow: var(--shadow-pop);
}
.menu-dropdown a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.62rem 0.85rem;
  border-radius: 8px;
  transition: background 0.12s;
}
.menu-dropdown a:hover { background: var(--surface-2); }
.menu-dropdown[hidden] { display: none; }

/* ===== Hero ===== */
.hero { position: relative; padding: 8rem 0 5.5rem; overflow: hidden; text-align: center; }

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to right, var(--grid-line) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(to bottom, var(--grid-line) 0 1px, transparent 1px 80px);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, black, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 30%, black, transparent 100%);
}

.hero-inner { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1.05rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 1.9rem;
  background: var(--surface);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.accent { color: var(--text-dim); }

.hero-sub {
  max-width: 620px;
  margin: 1.7rem auto 2.6rem;
  color: var(--text-dim);
  font-size: 1.12rem;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.hero-stats { display: flex; justify-content: center; gap: 0; margin-top: 5rem; flex-wrap: wrap; }
.hero-stats .stat { padding: 0 2.8rem; }
.hero-stats .stat + .stat { border-left: 1px solid var(--border); }

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.stat span { color: var(--text-dim); font-size: 0.87rem; }

/* ===== Sections ===== */
.section { padding: 6.5rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-kicker {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.section-sub { color: var(--text-dim); max-width: 580px; margin-bottom: 3rem; font-size: 1.01rem; }

.cta { text-align: center; }
.cta .section-sub { margin-inline: auto; }

/* ===== Cards ===== */
.cards-3, .cards-2 { display: grid; gap: 1.2rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-card);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-pop); }

.card-featured { border: 1.5px solid var(--text); }

.card-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}
.tag-accent { background: var(--text); color: var(--bg); }

.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card-desc { color: var(--text-dim); font-size: 0.93rem; margin-bottom: 1.2rem; }

.card-list { list-style: none; margin-bottom: 1.6rem; flex-grow: 1; }
.card-list li {
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 0.32rem 0 0.32rem 1.5rem;
  position: relative;
}
.card-list li::before { content: "✓"; color: var(--text); position: absolute; left: 0; font-weight: 700; }

.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }

.price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.035em; }
.price-period { font-size: 0.88rem; font-weight: 500; color: var(--text-dim); }

/* ===== Steps ===== */
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-card); }
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.12rem; }
.step p { color: var(--text-dim); font-size: 0.93rem; }

/* ===== Search + filters ===== */
.search-row { margin-bottom: 1.2rem; }
.search-row input {
  width: 100%;
  max-width: 540px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.85rem 1.2rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-row input:focus { border-color: var(--text); box-shadow: 0 0 0 3px var(--focus-ring); }
.search-row input::placeholder { color: var(--text-dim); }

.filters { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.chip {
  padding: 0.46rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.active { background: var(--text); border-color: var(--text); color: var(--bg); }

.chip-heart { color: var(--text-dim); }
.chip-heart.active { background: var(--text); border-color: var(--text); color: var(--bg); }

.filter-selects { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.filter-selects select {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.filter-selects select:hover, .filter-selects select:focus { border-color: var(--text); color: var(--text); }

.no-results { color: var(--text-dim); grid-column: 1 / -1; padding: 2rem 0; }

/* ===== Trader cards ===== */
.trader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.trader-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-card);
}
.trader-card:hover { border-color: var(--text); box-shadow: var(--shadow-pop); }

.trader-card-top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.trader-card-top h3 { font-size: 1.05rem; line-height: 1.25; }

/* Avatars keep each creator's own gradient, desaturated to fit the monochrome system */
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
  filter: grayscale(1) contrast(0.92) brightness(0.72);
}
.avatar-lg { width: 92px; height: 92px; font-size: 1.7rem; border-radius: 24px; }

.handle { color: var(--text-dim); font-size: 0.83rem; font-weight: 400; }
.trader-tagline { color: var(--text-dim); font-size: 0.93rem; margin-bottom: 1rem; }

.trader-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  background: var(--text);
  border: 1px solid var(--text);
  color: var(--bg);
}
.tag-dim { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); }

.trader-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.clips-count { color: var(--text-dim); font-size: 0.86rem; font-weight: 600; }
.from-price { font-weight: 700; font-size: 0.93rem; }

/* ===== Verified badge + recommend ===== */
.badge-verified {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  font-size: 0.67rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.recommend { color: var(--text); font-weight: 700; font-size: 0.84rem; white-space: nowrap; }

/* ===== Card actions ===== */
.card-actions { margin-left: auto; display: flex; gap: 0.35rem; }
.icon-btn {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.12s;
  line-height: 1;
}
.icon-btn:hover { border-color: var(--text); color: var(--text); background: var(--surface-2); }
.icon-btn.heart.on, .icon-btn.scale.on { color: var(--bg); border-color: var(--text); background: var(--text); }

.card-meta { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.85rem; }
.meta-dim { color: var(--text-dim); font-size: 0.81rem; }

/* ===== Compare bar ===== */
.compare-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.55rem 0.65rem 0.55rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 80;
  box-shadow: var(--shadow-pop);
  font-size: 0.88rem;
  max-width: calc(100vw - 2rem);
}
.compare-bar span { color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compare-bar strong { color: var(--text); font-weight: 600; }

/* ===== Why icons ===== */
.why-icon { font-size: 1.6rem; margin-bottom: 0.9rem; filter: grayscale(1); }

/* ===== Apply section ===== */
.apply-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.apply-cta { text-align: center; }
.apply-note { color: var(--text-dim); font-size: 0.84rem; margin-top: 0.9rem; }

/* ===== Trust cards ===== */
.trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-card); }
.trust-verified { border: 1.5px solid var(--text); }
.trust-card h3 { margin-bottom: 1.1rem; font-size: 1.12rem; }
.trust-list { list-style: none; }
.trust-list li { color: var(--text-dim); font-size: 0.92rem; padding: 0.38rem 0; display: flex; gap: 0.6rem; align-items: baseline; }
.v-ok { color: var(--text); font-weight: 700; }
.v-no { color: var(--text-dim); font-weight: 700; }
.trust-note { color: var(--text-dim); font-size: 0.79rem; margin-top: 1.1rem; border-top: 1px solid var(--border); padding-top: 1rem; }

/* ===== Account page — purchase/review rows ===== */
.acct-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.acct-row:last-child { border-bottom: none; }
.acct-row-right { display: flex; align-items: center; gap: 0.7rem; white-space: nowrap; }
.acct-amount { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }

/* ===== Review bars ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2.2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.reviews-score { text-align: center; }
.reviews-score strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.05em;
  line-height: 1;
}
.reviews-score span { color: var(--text-dim); font-size: 0.88rem; }

.review-bar { display: grid; grid-template-columns: 210px 1fr 46px; align-items: center; gap: 0.9rem; margin-bottom: 0.7rem; }
.rb-label { color: var(--text-dim); font-size: 0.87rem; }
.rb-track { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.rb-fill { display: block; height: 100%; border-radius: 99px; background: var(--text); }
.rb-val { font-weight: 700; font-size: 0.84rem; text-align: right; }

/* ===== Activity metrics ===== */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.metric strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text); letter-spacing: -0.03em; }
.metric span { color: var(--text-dim); font-size: 0.83rem; }

/* ===== Pricing rows ===== */
.pricing-rows { list-style: none; margin-bottom: 1.4rem; border-top: 1px solid var(--border); }
.pricing-rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}
.pricing-rows span { color: var(--text-dim); }
.pricing-rows strong { font-weight: 600; text-align: right; }

.about-sub { margin: 1.8rem 0 0.5rem; font-size: 1.03rem; }

/* ===== Compare page ===== */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table th:first-child, .compare-table td:first-child { color: var(--text-dim); font-weight: 500; width: 190px; }
.compare-table thead th { background: var(--surface-2); }
.compare-table tbody tr:hover td { background: var(--bg-alt); }
.compare-head-cell { display: flex; align-items: center; gap: 0.7rem; }
.compare-head-cell .avatar { width: 40px; height: 40px; font-size: 0.82rem; border-radius: 12px; }

/* ===== Profile ===== */
.profile-hero { position: relative; overflow: hidden; padding: 5rem 0 4rem; border-bottom: 1px solid var(--border); }
.profile-inner { position: relative; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.profile-info h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.04em; margin-bottom: 0.35rem; font-weight: 600; }
.profile-info h1 .handle { font-size: 1rem; font-weight: 400; }
.profile-info .trader-tagline { margin-bottom: 0.9rem; }
.profile-stats { display: flex; gap: 0; margin-left: auto; }
.profile-stats .stat { padding: 0 1.8rem; }
.profile-stats .stat + .stat { border-left: 1px solid var(--border); }

/* ===== Clips ===== */
.clip {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border);
  filter: grayscale(1) contrast(0.9) brightness(0.8);
  transition: filter 0.18s ease;
}
.clip:hover { filter: grayscale(1) contrast(0.95) brightness(0.7); }
.clip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.72));
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #0a0a0a;
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.15s;
  padding-left: 4px;
}
.play-btn:hover { transform: scale(1.08); }
.clip-length {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.16rem 0.55rem;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 600;
}
.clip-title { position: relative; padding: 1.05rem 1.25rem; font-weight: 600; font-size: 0.93rem; color: #fff; }

.bio { color: var(--text-dim); font-size: 1.02rem; }

/* ===== Quotes ===== */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-card); }
.quote p { font-size: 0.97rem; margin-bottom: 1rem; }
.quote footer { color: var(--text-dim); font-size: 0.85rem; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.5rem;
  margin-bottom: 0.65rem;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--text); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--text-dim); font-size: 1.3rem; font-weight: 300; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-dim); margin-top: 0.8rem; font-size: 0.94rem; }

/* ===== Preview links + discord shot ===== */
.preview-link {
  display: inline-block;
  color: var(--text);
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 1.2rem;
}
.preview-link:hover { color: var(--text-dim); }
.discord-shot { border-radius: var(--radius-sm); border: 1px solid var(--border); margin-bottom: 1rem; width: 100%; filter: grayscale(1); }

/* ===== Proof gallery ===== */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; margin-bottom: 1rem; }
.proof-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.proof-item img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; filter: grayscale(1); }
.proof-placeholder {
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: repeating-linear-gradient(45deg, var(--surface-2) 0 10px, var(--surface) 10px 20px);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.proof-placeholder span { font-weight: 400; font-size: 0.76rem; }
.proof-item figcaption { padding: 0.9rem 1.1rem; display: flex; flex-direction: column; gap: 0.15rem; }
.proof-item figcaption strong { font-family: var(--font-display); font-size: 1.03rem; }
.proof-item figcaption span { color: var(--text-dim); font-size: 0.81rem; }

/* ===== Buyer comment gate + form ===== */
.comment-gate {
  background: var(--bg-alt);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.91rem;
  margin-bottom: 1.4rem;
}
.comment-form { background: var(--surface); border: 1.5px solid var(--text); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.4rem; }
.comment-form .badge-verified { margin-bottom: 0.8rem; display: inline-block; }
.comment-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.93rem;
  padding: 0.8rem 1rem;
  outline: none;
  resize: vertical;
  min-height: 90px;
  margin-top: 0.6rem;
}
.comment-form textarea:focus { border-color: var(--text); box-shadow: 0 0 0 3px var(--focus-ring); }
.comment-form input {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.89rem;
  padding: 0.55rem 0.9rem;
  outline: none;
}
.comment-form input:focus { border-color: var(--text); }

/* ===== Forms ===== */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--text); }
.field .hint { font-weight: 400; color: var(--text-dim); }

.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.93rem;
  padding: 0.7rem 0.95rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); box-shadow: 0 0 0 3px var(--focus-ring); }
.field textarea { resize: vertical; min-height: 92px; }

.form-actions { margin-top: 1.7rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.form-note { color: var(--text-dim); font-size: 0.84rem; }

.output-panel { margin-top: 1.6rem; background: var(--surface); border: 1.5px solid var(--text); border-radius: var(--radius); padding: 1.5rem; }
.output-panel pre {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 1rem 0;
  max-height: 320px;
}

/* ===== Admin ===== */
.status-badge {
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.status-pending { background: var(--surface-2); color: var(--text-dim); border-color: var(--border); }
.status-approved { background: transparent; color: var(--text); border-color: var(--text); }
/* Problems get maximum contrast rather than colour */
.status-rejected { background: var(--text); color: var(--bg); }

.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1rem; box-shadow: var(--shadow-card); }
.app-card-head { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.app-card-head h3 { font-size: 1.06rem; }
.app-card-head .status-badge { margin-left: auto; }
.app-meta { color: var(--text-dim); font-size: 0.89rem; margin-top: 0.35rem; }
.app-flagged { color: var(--text); font-weight: 600; }
.app-actions { display: flex; gap: 0.6rem; margin-top: 1.15rem; flex-wrap: wrap; }
.app-details { margin-top: 1.2rem; border-top: 1px solid var(--border); padding-top: 1.2rem; font-size: 0.91rem; }
.app-details dt { color: var(--text-dim); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.09em; margin-top: 0.95rem; font-weight: 700; }
.app-details dd { margin: 0.18rem 0 0; white-space: pre-wrap; }
.app-details a { color: var(--text); }

/* ============================================================
   Quiz — "Find your fit"
   ============================================================ */
.quiz-main { padding: 4rem 0 5rem; min-height: 70vh; }

.quiz-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.quiz-lead {
  color: var(--text-dim);
  font-size: 1.06rem;
  max-width: 640px;
  margin-bottom: 1rem;
}
.quiz-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 2rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
}

/* progress */
.quiz-progress-wrap { margin-bottom: 2.5rem; }
.quiz-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}
.quiz-exit {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiz-exit:hover { color: var(--text); }
.quiz-progress {
  height: 4px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--text);
  border-radius: 99px;
  transition: width 0.35s cubic-bezier(.4,0,.2,1);
}

/* slides */
.quiz-slides { position: relative; min-height: 380px; }
.quiz-slide { display: none; }
.quiz-slide.active { display: block; }
.quiz-slide.from-right { animation: quizInRight 0.32s cubic-bezier(.16,1,.3,1); }
.quiz-slide.from-left  { animation: quizInLeft  0.32s cubic-bezier(.16,1,.3,1); }

@keyframes quizInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes quizInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.quiz-q {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.quiz-sub { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 2rem; max-width: 560px; }

.quiz-opts { display: flex; flex-direction: column; gap: 0.7rem; }
.quiz-opt {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
  position: relative;
}
.quiz-opt:hover {
  border-color: var(--text);
  transform: translateX(3px);
}
.quiz-opt-main { font-size: 1.02rem; font-weight: 600; color: var(--text); }
.quiz-opt-sub { font-size: 0.86rem; color: var(--text-dim); }
.quiz-opt.chosen {
  border-color: var(--text);
  background: var(--surface-2);
}
.quiz-opt.chosen::after {
  content: "✓";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  color: var(--text);
}

.quiz-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* results */
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 2rem 0 1.5rem;
}
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
}
.result-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}
.result-card h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.result-card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 0.8rem; }
.result-why { color: var(--text) !important; }
.result-watch {
  font-size: 0.88rem !important;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  margin-bottom: 0 !important;
}

.result-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }

.result-honesty {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1rem;
}
.result-honesty h3 { font-size: 1.08rem; margin-bottom: 0.9rem; }
.result-honesty p { color: var(--text-dim); font-size: 0.94rem; margin-bottom: 0.8rem; }
.result-honesty p:last-child { margin-bottom: 0; }
.result-honesty strong { color: var(--text); }

.result-actions { display: flex; gap: 0.8rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* ============================================================
   Homepage quiz banner
   ============================================================ */
.quiz-banner-section { padding: 0; margin: -1rem 0 0; }
.quiz-banner {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 2.6rem 2.8rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-pop);
}
.quiz-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to right, var(--grid-line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(to bottom, var(--grid-line) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(80% 100% at 100% 50%, black, transparent 75%);
  mask-image: radial-gradient(80% 100% at 100% 50%, black, transparent 75%);
  pointer-events: none;
}
.quiz-banner-copy { position: relative; }
.quiz-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--text);
  color: var(--bg);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.quiz-banner h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.quiz-banner p { color: var(--text-dim); font-size: 1rem; max-width: 520px; margin-bottom: 1.5rem; }
.quiz-banner-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.quiz-banner-note { color: var(--text-dim); font-size: 0.85rem; }

/* animated stack of question cards on the right */
.quiz-banner-visual {
  position: relative;
  width: 260px;
  height: 170px;
  flex-shrink: 0;
}
.qcard {
  position: absolute;
  inset: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-card);
  animation: qcardCycle 9s infinite cubic-bezier(.4,0,.2,1);
  opacity: 0;
}
.qcard:nth-child(1) { animation-delay: 0s; }
.qcard:nth-child(2) { animation-delay: 3s; }
.qcard:nth-child(3) { animation-delay: 6s; }
.qcard-q { font-size: 0.92rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.qcard-a {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}
.qcard-a.hi { border-color: var(--text); color: var(--text); font-weight: 600; }

@keyframes qcardCycle {
  0%   { opacity: 0; transform: translateY(14px) scale(0.97); }
  6%   { opacity: 1; transform: translateY(0) scale(1); }
  30%  { opacity: 1; transform: translateY(0) scale(1); }
  36%  { opacity: 0; transform: translateY(-14px) scale(0.97); }
  100% { opacity: 0; transform: translateY(-14px) scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  .qcard { animation: none; opacity: 1; }
  .qcard:nth-child(2), .qcard:nth-child(3) { display: none; }
  .quiz-slide.from-right, .quiz-slide.from-left { animation: none; }
}

/* ===== Admin verification panel ===== */
.verify-panel {
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
}
.verify-panel h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.verify-panel .chk {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
}
.verify-panel .chk input { margin-top: 0.28rem; flex-shrink: 0; }

/* ===== Verification explainer page ===== */
.verify-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
.verify-step:last-child { border-bottom: none; }
.verify-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.verify-step h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.verify-step p { color: var(--text-dim); font-size: 0.94rem; }

.badge-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.1rem 0.5rem 0.6rem;
  margin-bottom: 1.5rem;
}

/* ===== Creator studio status strip ===== */
.status-strip {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
}
.status-strip strong { font-family: var(--font-display); font-size: 0.98rem; }
.status-strip span { color: var(--text-dim); font-size: 0.88rem; }
.status-wait { border-left-style: dashed; }

/* ===== Creator studio ===== */
.dash-toolbar { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1.5rem; }
.dash-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.6rem; align-items: start; }
.dash-editor { display: flex; flex-direction: column; gap: 1.2rem; }
.dash-editor .form-card { padding: 1.7rem; }
.dash-h { font-size: 1.08rem; margin-bottom: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--border); }
.dash-editor .form-card .form-note { margin-bottom: 1rem; }

.dash-preview-sticky { position: sticky; top: 90px; }
.dash-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.2rem; }
.dash-actions .btn { width: 100%; text-align: center; }

.chip-select { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dash-chip { padding: 0.38rem 0.9rem; font-size: 0.84rem; }

.chk { display: flex; align-items: center; gap: 0.45rem; color: var(--text-dim); font-size: 0.89rem; font-weight: 500; cursor: pointer; }
.chk input { width: auto; accent-color: var(--text); }

.repeat-row { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.2rem; margin-bottom: 1rem; background: var(--bg-alt); }
.link-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.8rem;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-remove:hover { color: var(--text); }

.upload-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.upload-row input[type="file"] { font-size: 0.8rem; color: var(--text-dim); }
.upload-thumbs { display: flex; gap: 0.5rem; }
.thumb-img { width: 72px; height: 52px; object-fit: cover; border-radius: 7px; border: 1px solid var(--border); filter: grayscale(1); }
.thumb-file { color: var(--text); font-size: 0.81rem; font-weight: 600; }

/* ===== Support chat ===== */
.chat-bubble {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  border: none;
  background: var(--text);
  color: var(--bg);
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 8px 26px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s;
}
.chat-bubble:hover { transform: scale(1.06); }

.chat-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.4rem;
  width: min(380px, calc(100vw - 2rem));
  height: min(540px, calc(100vh - 8rem));
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 91;
  box-shadow: var(--shadow-pop);
}
.chat-panel[hidden] { display: none; }

.chat-head { display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1.15rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.chat-head .avatar { width: 36px; height: 36px; font-size: 0.8rem; border-radius: 11px; }
.chat-head h3 { font-size: 0.96rem; }
.chat-head p { font-size: 0.73rem; color: var(--text-dim); }
.chat-close { margin-left: auto; background: none; border: none; color: var(--text-dim); font-size: 1.1rem; cursor: pointer; }
.chat-close:hover { color: var(--text); }

.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }

.chat-msg { max-width: 85%; padding: 0.65rem 0.95rem; border-radius: 15px; font-size: 0.89rem; line-height: 1.5; white-space: pre-line; }
.chat-msg.bot { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; align-self: flex-start; }
.chat-msg.user { background: var(--text); color: var(--bg); border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-msg.typing { color: var(--text-dim); font-style: italic; }
.chat-msg a { color: var(--text); }
.chat-msg.user a { color: var(--bg); text-decoration: underline; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-self: flex-start; }
.chat-chip {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.36rem 0.8rem;
  font-size: 0.79rem;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.chat-chip:hover { border-color: var(--text); background: var(--surface-2); }

.chat-input-row { display: flex; gap: 0.5rem; padding: 0.85rem; border-top: 1px solid var(--border); background: var(--bg-alt); }
.chat-input-row input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.89rem;
  padding: 0.6rem 1rem;
  outline: none;
}
.chat-input-row input:focus { border-color: var(--text); }
.chat-send { border: none; background: var(--text); color: var(--bg); border-radius: var(--radius-sm); padding: 0 1.1rem; font-weight: 700; cursor: pointer; }
.chat-send:hover { background: var(--accent-hover); }

/* ===== Auth modal + nav account ===== */
.nav-auth { display: flex; align-items: center; }

.auth-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.auth-modal[hidden] { display: none; }
.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(4px);
}
.auth-card {
  position: relative;
  width: min(400px, calc(100vw - 2rem));
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-pop);
}
.auth-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.auth-card form { margin-top: 1.2rem; }
.auth-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text-dim); font-size: 1.1rem; cursor: pointer; }
.auth-close:hover { color: var(--text); }
.auth-error { color: var(--text); font-weight: 600; margin-top: 0.8rem; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2.2rem; background: var(--bg-alt); }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.89rem; font-weight: 500; }
.footer-links a:hover { color: var(--text); }
.disclaimer { color: var(--text-dim); font-size: 0.81rem; max-width: 780px; margin-bottom: 1.4rem; }
.copyright { color: var(--text-dim); font-size: 0.81rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; max-width: 480px; }
  .cards-2 { grid-template-columns: 1fr; max-width: 480px; }
  .trader-grid { grid-template-columns: 1fr; max-width: 480px; }
  .apply-box { grid-template-columns: 1fr; gap: 1.6rem; }
  .apply-cta { text-align: left; }

  .profile-stats { margin-left: 0; }
  .profile-stats .stat:first-child { padding-left: 0; }

  .nav-links, .nav-cta, .menu-wrap { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 1.6rem;
    gap: 1rem;
  }

  .hero { padding: 5rem 0 4rem; }
  .hero-stats .stat { padding: 0 1.4rem; }

  .form-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-bar { grid-template-columns: 1fr; gap: 0.25rem; }
  .rb-val { text-align: left; }

  .dash-layout { grid-template-columns: 1fr; }
  .dash-preview { order: -1; }
  .dash-preview-sticky { position: static; }

  /* quiz */
  .result-grid { grid-template-columns: 1fr; }
  .quiz-banner {
    grid-template-columns: 1fr;
    padding: 2rem 1.6rem;
    gap: 1.8rem;
  }
  .quiz-banner-visual { width: 100%; height: 150px; }
  .quiz-main { padding: 2.5rem 0 3.5rem; }
  .quiz-slides { min-height: 420px; }
  .quiz-meta { gap: 1rem; }
}
