﻿/* ============================================================
   STEAMY â€” Design System
   Architectural Minimalism Â· Precision Hairline Grids Â· Crisp White
   Pure, timeless, professional engineering aesthetic
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --glass: rgba(255, 255, 255, 0.88);
  --glass-strong: rgba(255, 255, 255, 0.98);
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --scrim: rgba(15, 23, 42, 0.55);

  /* text */
  --text: #09090b;
  --muted: #475569;
  --faint: #94a3b8;

  /* accents */
  --primary: #09090b;
  --primary-soft: #27272a;
  --steam: #2563eb;
  --peri: #4f46e5;
  --violet: #7c3aed;
  --teal: #0d9488;
  --acid: #16a34a;
  --amber: #d97706;
  --red: #dc2626;

  --grad-brand: linear-gradient(180deg, #09090b 0%, #334155 100%);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h: 68px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.03);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.06), 0 8px 10px -6px rgb(0 0 0 / 0.03);
  --shadow-glow: none;
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--steam); text-decoration: none; transition: color 0.15s; }
a:hover { color: #1d4ed8; }
button { font-family: inherit; }
::selection { background: #e2e8f0; color: #09090b; }

/* clean scrollbars */
* { scrollbar-width: thin; scrollbar-color: #cbd5e1 #f8fafc; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: var(--bg-2); }
*::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; border: 2px solid var(--bg-2); }
*::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* architectural grid background (clean precision hairline grid) */
.ambient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: #ffffff;
}
.ambient::before {
  content: ''; position: absolute; inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 12%, #000 45%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 12%, #000 45%, transparent 95%);
}
.ambient::after { display: none; }

/* layout */
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
section {
  position: relative;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #ffffff; margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #10b981;
}
h1, h2, h3, h4 {
  font-family: var(--font-display); line-height: 1.15; margin: 0 0 16px;
  letter-spacing: -0.025em; color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
.lede { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 62ch; line-height: 1.6; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.04);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; width: min(1320px, 94vw); }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: var(--text); letter-spacing: -0.01em;
}
.brand img {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line);
}
.brand:hover { color: #000; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a:not(.btn) {
  position: relative; color: var(--muted); font-size: 0.92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: color 0.15s, background 0.15s;
}
.nav-links a:not(.btn):hover { color: var(--text); background: var(--bg-2); }
.nav-links a:not(.btn).active { color: var(--text); font-weight: 600; background: var(--bg-2); }
.nav-links a:not(.btn).active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--text);
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); width: 40px; height: 40px; cursor: pointer; font-size: 1.2rem;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary,
.nav-links a.btn-primary {
  background: #09090b !important;
  color: #ffffff !important;
  border-color: #09090b !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.btn-primary svg,
.nav-links a.btn-primary svg {
  stroke: #ffffff !important;
}
.btn-primary:hover,
.nav-links a.btn-primary:hover {
  background: #27272a !important;
  border-color: #27272a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.16);
}

.btn-ghost {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--line-strong);
  color: #000;
}
.btn-sm { padding: 7px 13px; font-size: 0.84rem; border-radius: 8px; }
.btn-lg { padding: 13px 26px; font-size: 1.02rem; border-radius: 12px; }

/* cards & surfaces with clean lines */
.card, .glass {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.card:hover {
  border-color: #09090b;
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.06);
}
.card-pad { padding: 28px; }

/* hero */
.hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 72px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.84rem; font-weight: 500;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 20px; background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981;
}
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--muted); }

/* shot frame (clean window frame with precision lines) */
.shot-frame {
  position: relative; border-radius: var(--radius-lg); padding: 8px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), var(--shadow-lg);
}
.shot-frame .bar {
  display: flex; gap: 6px; padding: 6px 8px 10px;
  border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.shot-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.shot-frame .bar i:nth-child(1) { background: #fca5a5; }
.shot-frame .bar i:nth-child(2) { background: #fde047; }
.shot-frame .bar i:nth-child(3) { background: #86efac; }
.shot-frame img {
  border-radius: 10px; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top; background: var(--bg-2);
  display: block; border: 1px solid var(--line);
}
.shot-frame .glow { display: none; }
.hero-shot { animation: none; }

/* stats with precision 1px grid divider lines */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 56px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat {
  text-align: center; padding: 24px 16px;
  background: #ffffff;
}
.stat .num {
  font-family: var(--font-display); font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700; color: var(--text);
}
.stat .lbl { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* spotlight */
.spotlight-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px);
  gap: 18px; overflow-x: auto; padding: 4px 2px 20px; scroll-snap-type: x mandatory;
}
.spot-card {
  scroll-snap-align: start; overflow: hidden; padding: 0;
  display: flex; flex-direction: column;
}
.spot-card .art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.spot-card .art img { width: 100%; height: 100%; object-fit: cover; }
.spot-card .art .tag {
  position: absolute; top: 10px; left: 10px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.95); color: var(--text); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.spot-card .art .tag.soon { color: var(--amber); }
.spot-card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.spot-card h3 { font-size: 1.05rem; margin: 0; }
.spot-card .genres { color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.spot-card p {
  color: var(--muted); font-size: 0.88rem; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spot-card .foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; color: var(--faint); font-size: 0.8rem; border-top: 1px solid var(--line);
}

/* feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 84px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.flip .feature-media { order: 2; }
.feature-copy .kicker {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.feature-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.feature-copy p { color: var(--muted); margin: 0 0 16px; line-height: 1.6; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li {
  display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 0.92rem;
  padding-bottom: 8px; border-bottom: 1px dashed var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--text); }
.feature-media .shot-frame img { aspect-ratio: 16 / 10; }

/* tools grid */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.tool-card .top { display: flex; align-items: center; gap: 12px; }
.tool-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line); background: var(--bg-2);
}
.tool-icon svg { width: 22px; height: 22px; color: var(--text); }
.tool-card h3 { font-size: 1.05rem; margin: 0; }
.tool-card .cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
.tool-card p { color: var(--muted); font-size: 0.9rem; margin: 0; line-height: 1.55; }
.tool-card .bundled {
  margin-top: auto; padding-top: 8px; font-size: 0.78rem; font-weight: 500;
  color: var(--muted); display: inline-flex; align-items: center; gap: 6px;
  border-top: 1px solid var(--line);
}
.tool-card .bundled::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #10b981; display: inline-block;
}

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); cursor: zoom-in; padding: 0;
  background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.gallery-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.gallery-item img {
  aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  width: 100%; transition: transform 0.3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.02); }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 24px 16px 12px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: #ffffff;
}

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center;
  background: var(--scrim); backdrop-filter: blur(8px); padding: 4vh 4vw;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: 100%; max-height: 82vh; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: var(--shadow-lg);
}
.lightbox .lb-cap { text-align: center; margin-top: 14px; font-family: var(--font-display); font-weight: 600; color: #fff; }
.lightbox .lb-close, .lightbox .lb-nav {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.8); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox .lb-close { top: 22px; right: 26px; width: 42px; height: 42px; font-size: 1.2rem; }
.lightbox .lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 1.3rem; }
.lightbox .lb-prev { left: 22px; } .lightbox .lb-next { right: 22px; }

/* download panel */
.download-panel {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  padding: 40px; align-items: center;
}
.dl-version {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; color: var(--text);
  margin-bottom: 12px;
}
.dl-version .pill {
  font-size: 0.72rem; padding: 2px 9px; border-radius: 999px;
  background: var(--bg-2); color: var(--muted); border: 1px solid var(--line);
}
.dl-assets { display: grid; gap: 12px; }
.dl-asset {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dl-asset:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.dl-asset .ic {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  background: #ffffff; border: 1px solid var(--line); color: var(--text);
}
.dl-asset .ic svg { width: 20px; height: 20px; }
.dl-asset .name { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.dl-asset .sub { font-size: 0.78rem; color: var(--muted); }
.dl-asset .dl-btn { margin-left: auto; }

/* feedback form & inputs */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-card { padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.84rem; font-weight: 500; color: var(--text); }
.input, textarea, select {
  width: 100%; padding: 11px 14px; border-radius: 8px;
  background: #ffffff; border: 1px solid var(--line-strong);
  color: var(--text); font-family: inherit; font-size: 0.92rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
textarea { resize: vertical; min-height: 110px; }
.form-help { font-size: 0.78rem; color: var(--faint); }

/* footer */
footer {
  border-top: 1px solid var(--line); padding: 56px 0 36px;
  background: var(--bg-2);
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-col h4 { font-size: 0.88rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); margin-bottom: 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col ul a { color: var(--muted); font-size: 0.88rem; }
.foot-col ul a:hover { color: var(--text); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}

/* admin specific */
.admin-card {
  max-width: 420px; margin: 80px auto; padding: 36px;
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.admin-head { text-align: center; margin-bottom: 24px; }
.admin-head img { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 10px; border: 1px solid var(--line); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 28px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.kpi { padding: 20px; background: #ffffff; }
.kpi .k-lbl { color: var(--muted); font-size: 0.82rem; display: flex; align-items: center; gap: 6px; }
.kpi .k-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-top: 6px; color: var(--text); }
.kpi .k-sub { color: var(--faint); font-size: 0.78rem; margin-top: 2px; }

.chart-card { padding: 24px; margin-bottom: 24px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); }
.chart-card h3 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.chart-legend { display: flex; gap: 16px; font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; }
.chart-svg { width: 100%; height: auto; display: block; }

.spot-editor { display: grid; gap: 14px; }
.spot-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; padding: 16px; align-items: start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.spot-row .thumb { width: 80px; height: 46px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); }
.spot-row .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spot-row .fields .full { grid-column: 1 / -1; }
.spot-row .row-actions { display: flex; flex-direction: column; gap: 6px; }
.spot-row .mini { font-size: 0.72rem; color: var(--faint); }
.editor-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.editor-toolbar .status { margin-left: auto; font-size: 0.85rem; color: var(--muted); }

.fb-list { display: grid; gap: 12px; }
.fb-item { padding: 18px 20px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.fb-item .fb-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.fb-item .fb-cat { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 999px; }
.fb-cat.bug { background: #fee2e2; color: #b91c1c; }
.fb-cat.feature { background: #dcfce7; color: #15803d; }
.fb-cat.feedback { background: #e0f2fe; color: #0369a1; }
.fb-cat.other { background: #f1f5f9; color: #475569; }
.fb-item .fb-meta { color: var(--faint); font-size: 0.8rem; }
.fb-item .fb-msg { color: var(--muted); font-size: 0.92rem; white-space: pre-wrap; margin-top: 4px; }
.fb-item.read { opacity: 0.6; }
.fb-item .fb-new { width: 6px; height: 6px; border-radius: 50%; background: #10b981; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 300; padding: 11px 20px; border-radius: 10px;
  background: #09090b; color: #ffffff; font-size: 0.88rem; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease);
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { border-left: 4px solid #10b981; }
.toast.err { border-left: 4px solid #ef4444; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--faint); }
.empty-state svg { width: 44px; height: 44px; margin: 0 auto 14px; opacity: 0.4; }
.skeleton { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* subpages & extra components */
.subpage-hero {
  padding: calc(var(--nav-h) + 48px) 0 36px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.subpage-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; margin: 12px 0 14px;
}
.subpage-hero .lede {
  max-width: 680px; margin: 0 auto 24px;
  font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); line-height: 1.6;
}

/* segmented pill filter bar with precision lines */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 4px; justify-content: center;
  margin: 32px auto 40px; padding: 4px;
  background: #f8fafc; border: 1px solid var(--line);
  border-radius: 999px; width: fit-content;
  box-shadow: var(--shadow-sm);
}
.filter-btn {
  padding: 8px 18px; border-radius: 999px;
  background: transparent; border: 1px solid transparent;
  color: var(--muted); font-family: var(--font-display);
  font-size: 0.86rem; font-weight: 500; cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); }
.filter-btn.active {
  background: #09090b; color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.discord-notice-card {
  display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px;
  background: #f8fafc; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 28px; text-align: left;
}
.discord-notice-card .ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: #ffffff; border: 1px solid var(--line);
  color: #5865f2; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.discord-notice-card .ic svg { width: 24px; height: 24px; }
.discord-notice-card h4 { font-size: 1.1rem; margin: 0 0 4px; color: var(--text); }
.discord-notice-card p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.5; }

.dl-card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px; margin: 32px 0;
}
.dl-choice-card {
  padding: 30px; display: flex; flex-direction: column;
  position: relative; border-radius: var(--radius);
  background: #ffffff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dl-choice-card.featured {
  border-color: #09090b; box-shadow: var(--shadow);
}
.dl-choice-card .top-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 0.72rem; text-transform: uppercase; font-weight: 700;
  letter-spacing: 0.05em; padding: 3px 10px; border-radius: 999px;
  background: #09090b; color: #ffffff;
}
.dl-choice-card h3 { font-size: 1.4rem; margin: 0 0 8px; }
.dl-choice-card .desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; line-height: 1.5; }
.dl-choice-card ul.features {
  list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 9px;
}
.dl-choice-card ul.features li {
  display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--muted);
  padding-bottom: 6px; border-bottom: 1px dashed var(--line);
}
.dl-choice-card ul.features li:last-child { border-bottom: none; }
.dl-choice-card ul.features li svg { width: 16px; height: 16px; color: var(--text); flex-shrink: 0; }
.dl-choice-card .cta-wrap { margin-top: auto; }

.checksum-box {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px 18px; margin-top: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem; color: var(--muted); display: flex;
  align-items: center; justify-content: space-between; gap: 12px; word-break: break-all;
}

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .feature-row, .download-panel, .community-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip .feature-media { order: 0; }
  .tools-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar, .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 5vw 20px; background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line); transform: translateY(-130%);
    transition: transform 0.3s var(--ease); margin: 0;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: grid; place-items: center; }
  section { padding: 60px 0; }
}
@media (max-width: 620px) {
  .tools-grid, .gallery-grid, .stats-bar, .kpi-grid, .foot-grid { grid-template-columns: 1fr; }
  .spot-row { grid-template-columns: 1fr; }
  .spot-row .fields { grid-template-columns: 1fr; }
  .download-panel { padding: 24px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .discord-notice-card { flex-direction: column; }
  .dl-card-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
