/* ==========================================================================
   SinoDrive Auto Parts — export marketing site
   ========================================================================== */

:root {
  --bg: #06080c;
  --bg-2: #090d14;
  --panel: #0e131c;
  --panel-2: #121927;
  --panel-3: #161e2d;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f7;
  --muted: #929bae;
  --muted-2: #6c7588;
  --accent: #ff5d22;
  --accent-soft: rgba(255, 93, 34, 0.14);
  --accent-2: #ffb020;
  --success: #2dd4bf;
  --blue: #7aa2ff;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1100px 520px at 82% -8%, rgba(255, 93, 34, 0.14), transparent 60%),
    radial-gradient(900px 500px at 8% 2%, rgba(122, 162, 255, 0.09), transparent 60%),
    linear-gradient(180deg, #070a11 0%, #06080c 42%);
  background-repeat: no-repeat;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }

::selection { background: rgba(255, 93, 34, 0.35); color: #fff; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons & pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #ff6a2c, #f4470f);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(255, 93, 34, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(255, 93, 34, 0.9); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.28); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: wait; transform: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill-trending { color: #ff8a5c; border-color: rgba(255, 93, 34, 0.35); background: rgba(255, 93, 34, 0.09); }
.pill-rising { color: var(--success); border-color: rgba(45, 212, 191, 0.32); background: rgba(45, 212, 191, 0.08); }
.pill-posted { color: var(--success); border-color: rgba(45, 212, 191, 0.32); background: rgba(45, 212, 191, 0.08); }
.pill-queued { color: var(--accent-2); border-color: rgba(255, 176, 32, 0.32); background: rgba(255, 176, 32, 0.08); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-active {
  color: #ffd8c8;
  border-color: rgba(255, 93, 34, 0.5);
  background: rgba(255, 93, 34, 0.12);
}

.src-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.src-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, #8b94a7);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, #8b94a7) 18%, transparent);
}

.growth { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.growth.up { color: var(--success); }
.growth.down { color: #ff7a7a; }

.score { display: inline-flex; align-items: center; gap: 9px; }
.score-track {
  width: 72px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: block;
}
.score-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffb020, #ff5d22);
}
.score b { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.score-hot .score-fill { background: linear-gradient(90deg, #ff7d3b, #ff3d00); }
.score-hot b { color: #ff9b6e; }
.score-cool .score-fill { background: linear-gradient(90deg, #6f7d95, #9aa6bb); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 93, 34, 0.18);
  animation: pulse 2.4s infinite;
}

/* ---------- Header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.9);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-text b { font-size: 14.5px; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.nav a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-family: var(--mono);
  color: var(--muted-2);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.live-dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.16);
  animation: pulse 2.2s infinite;
}

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: 84px 0 64px; }
.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(255, 93, 34, 0.16), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  margin: 22px 0 0;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ff9d6b 0%, #ff5d22 48%, #ffb020 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
}
.lede.narrow { max-width: 68ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.hero-stats dd {
  font-family: var(--mono);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.24s; }

.hero-visual { position: relative; animation: rise 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(145deg, #1a2130, #0b0f16);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.media-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 93, 34, 0.22), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 18px),
    linear-gradient(160deg, #1c2434, #0a0e15);
}
.visual-frame img, .post-media img, .article-hero img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.visual-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-family: var(--mono);
  color: #cfd6e4;
}
.signal-card {
  position: absolute;
  right: -18px;
  bottom: -34px;
  width: 280px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(13, 18, 27, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85);
}
.signal-head, .signal-foot { display: flex; justify-content: space-between; align-items: center; }
.signal-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.signal-head i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.signal-date { font-family: var(--mono); letter-spacing: 0 !important; text-transform: none !important; }
.signal-term { font-size: 16px; font-weight: 600; margin: 10px 0 10px; letter-spacing: -0.01em; }
.signal-meta { display: flex; justify-content: space-between; align-items: center; }
.signal-growth { font-family: var(--mono); font-size: 13px; color: var(--success); }
.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 52px;
  margin: 14px 0 10px;
}
.signal-bars span {
  flex: 1;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #ff7a45, rgba(255, 93, 34, 0.25));
  transform-origin: bottom;
  animation: grow 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.signal-foot { font-size: 11px; color: var(--muted-2); }
.signal-foot b { font-family: var(--mono); color: #ffb08a; font-weight: 500; }

/* ---------- Marquee ---------- */

.brand-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.012);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  white-space: nowrap;
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-top: 12px;
  max-width: 24ch;
}
.section-note { max-width: 40ch; color: var(--muted); font-size: 14.5px; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
}
.proof-strip > div { display: flex; flex-direction: column; gap: 4px; }
.proof-strip b {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
}
.proof-strip span { font-size: 12.5px; color: var(--muted-2); }

/* Pipeline */

.pipeline {
  display: grid;
  grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr;
  align-items: stretch;
  gap: 6px;
}
.pipe-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pipe-card:hover { border-color: rgba(255, 93, 34, 0.34); transform: translateY(-3px); }
.pipe-step {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.pipe-card h3 { font-size: 17px; letter-spacing: -0.015em; }
.pipe-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.pipe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 16px;
}
.source-chips { display: flex; flex-direction: column; gap: 7px; }
.source-chips li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.source-chips li:last-child { border-bottom: 0; }
.source-chips i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
  flex-shrink: 0;
}
.source-chips span { font-weight: 500; color: #ced5e3; }
.source-chips em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted-2); text-align: right; }
.mini-meter {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-top: auto;
}
.mini-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffb020, #ff5d22);
  border-radius: 99px;
}
.mini-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted-2); font-family: var(--mono); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip-row .chip { cursor: default; font-size: 11px; padding: 4px 9px; }
.channel-row { display: flex; gap: 8px; margin-top: auto; }
.channel-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-family: var(--mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #c3cbdb;
}

/* Tables */

.table-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 25, 36, 0.85), rgba(12, 16, 24, 0.9));
  overflow: hidden;
  overflow-x: auto;
}
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.data-table th {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  white-space: nowrap;
}
.data-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 13.5px;
  color: var(--muted);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background 0.15s ease; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, 0.022); }
.data-table .num { font-family: var(--mono); font-size: 13px; color: #d7deeb; white-space: nowrap; }
.data-table .num-sub { display: block; font-size: 9.5px; color: var(--muted-2); letter-spacing: 0.02em; margin-top: 2px; }
.kw-cell { min-width: 240px; }
.kw-term { display: block; color: var(--text); font-weight: 550; font-size: 13.8px; letter-spacing: -0.005em; }
.kw-sub { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.table-link { color: var(--text); font-weight: 550; font-size: 13px; }
.table-link:hover { color: var(--accent); }
.table-caption { font-size: 12px; color: var(--muted-2); margin-top: 14px; font-family: var(--mono); }
.row-label { color: var(--muted-2); width: 34%; }
.table-card .channel-chip { display: inline-flex; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; color: var(--muted); }

/* Post cards */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.post-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.85);
}
.post-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(150deg, #1b2333, #0b0f16);
}
.post-media-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 15%, rgba(255, 93, 34, 0.2), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 16px);
}
.post-media img { transition: transform 0.5s ease; }
.post-card:hover .post-media img { transform: scale(1.035); }
.post-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 8, 12, 0.75);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d4dbe9;
}
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.post-meta { display: flex; gap: 14px; font-size: 11px; font-family: var(--mono); color: var(--muted-2); }
.post-body h3 { font-size: 17.5px; line-height: 1.32; letter-spacing: -0.015em; }
.post-body h3 a:hover { color: #ffb08a; }
.post-body p {
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.src-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted-2); }
.src-inline i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.read-more { font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.post-card:hover .read-more { color: var(--accent); }

/* Quote / form */

.section-quote { position: relative; }
.section-quote::before {
  content: "";
  position: absolute;
  inset: 24px 0;
  background: linear-gradient(180deg, rgba(255, 93, 34, 0.05), rgba(255, 93, 34, 0.012));
  border-top: 1px solid rgba(255, 93, 34, 0.18);
  border-bottom: 1px solid rgba(255, 93, 34, 0.18);
  pointer-events: none;
}
.quote-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 24px;
}
.quote-copy h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 14px 0 18px; }
.quote-copy > p { color: var(--muted); font-size: 15px; max-width: 48ch; }
.check-list { margin-top: 26px; display: flex; flex-direction: column; gap: 11px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: #cbd3e2;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.quote-signals { display: flex; gap: 42px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.quote-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
}
.quote-contact a { color: #ffb08a; }
.quote-contact a:hover { color: var(--accent); }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--accent); }
.quote-signals b { display: block; font-family: var(--mono); font-size: 22px; font-weight: 500; }
.quote-signals span { font-size: 11.5px; color: var(--muted-2); }

.quote-form {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(22, 30, 45, 0.92), rgba(12, 16, 24, 0.96));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.form-head h3 { font-size: 19px; }
.form-head span { font-size: 11px; color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.field input, .field select, .field textarea, .copy-row input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(6, 8, 12, 0.6);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #5b6376; }
.field input:focus, .field select:focus, .field textarea:focus, .copy-row input:focus {
  border-color: rgba(255, 93, 34, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 93, 34, 0.12);
}
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.form-note { font-size: 11px; color: var(--muted-2); margin-top: 12px; text-align: center; }
.form-status { margin-top: 10px; font-size: 12.5px; text-align: center; min-height: 18px; }
.form-status.is-ok { color: var(--success); }
.form-status.is-err { color: #ff8a8a; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); margin-top: 24px; padding: 56px 0 26px; background: rgba(255, 255, 255, 0.008); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 16px; font-size: 13.5px; color: var(--muted); max-width: 38ch; }
.footer-contact { display: flex; flex-direction: column; gap: 5px; margin-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); }
.footer-col h4 {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col a, .footer-col span { display: block; font-size: 13.5px; color: var(--muted); padding: 4px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}
.footer-bottom-links { display: flex; align-items: center; gap: 10px; }
.footer-bottom-links a { color: var(--muted); }
.sep { opacity: 0.4; }

/* ---------- Page head ---------- */

.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 16px 0 20px; letter-spacing: -0.035em; max-width: 20ch; }
.page-head-tight { padding-bottom: 26px; }
.head-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.head-stats b { display: block; font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.head-stats span { font-size: 11.5px; color: var(--muted-2); }

/* Filters */

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.search { position: relative; display: block; }
.search input {
  width: 260px;
  padding: 10px 14px 10px 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13px;
  outline: none;
}
.search input:focus { border-color: rgba(255, 93, 34, 0.5); }
.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 15px;
  pointer-events: none;
}
.empty {
  padding: 40px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted-2);
  font-size: 13.5px;
}
.post-grid [hidden] { display: none; }

/* ---------- Article ---------- */

.article { padding-bottom: 80px; }
.article-wrap { max-width: 1080px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--muted-2); padding: 26px 0; font-family: var(--mono); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span:last-child { color: var(--muted); }
.article-head { max-width: 860px; }
.article-head h1 { font-size: clamp(32px, 4.4vw, 52px); margin: 16px 0 20px; letter-spacing: -0.035em; }
.article-deck { font-size: 17px; color: var(--muted); line-height: 1.7; }
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  font-family: var(--mono);
  color: var(--muted-2);
}
.article-hero {
  position: relative;
  margin: 32px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 16 / 8.2;
  background: linear-gradient(150deg, #1b2333, #0b0f16);
}
.article-hero figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(6, 8, 12, 0.74);
  border: 1px solid var(--line);
  font-size: 10.5px;
  font-family: var(--mono);
  color: #c3cbdb;
}
.article-layout { display: grid; grid-template-columns: 1fr 292px; gap: 56px; margin-top: 44px; align-items: start; }
.article-body h2 { font-size: clamp(22px, 2.6vw, 29px); margin: 46px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { color: #b8c1d2; font-size: 15.5px; line-height: 1.78; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 2px; display: flex; flex-direction: column; gap: 10px; }
.article-body ul li, .article-body ol li {
  position: relative;
  padding-left: 24px;
  color: #b8c1d2;
  font-size: 15px;
  line-height: 1.68;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}
.article-body ol { counter-reset: item; }
.article-body ol li { counter-increment: item; }
.article-body ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}
.article-body blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 93, 34, 0.05);
  border-radius: 0 12px 12px 0;
  color: #dbe2ee;
  font-size: 15.5px;
  line-height: 1.7;
}
.inline-table { margin: 24px 0 28px; }
.inline-table .data-table { min-width: 420px; }
.inline-table .data-table td { font-size: 13px; }
.inline-table .data-table td:last-child { color: #d3dae8; }
.faq { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 550;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #e2e7f0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); font-size: 14px; margin: 0; }
.article-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 93, 34, 0.28);
  background: linear-gradient(120deg, rgba(255, 93, 34, 0.12), rgba(255, 93, 34, 0.03));
}
.article-cta h3 { font-size: 19px; margin-bottom: 6px; }
.article-cta p { font-size: 13.5px; color: var(--muted); max-width: 46ch; }
.article-cta-mail { margin-top: 8px; font-size: 11.5px; font-family: var(--mono); }
.article-cta-mail a { color: #ffb08a; }
.article-cta-mail a:hover { color: var(--accent); }
.article-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.aside-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.aside-card h4 { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; font-weight: 600; }
.aside-stats { display: flex; flex-direction: column; gap: 10px; }
.aside-stats > div { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; padding-bottom: 9px; border-bottom: 1px dashed rgba(255, 255, 255, 0.06); }
.aside-stats > div:last-child { border: 0; padding-bottom: 0; }
.aside-stats dt { color: var(--muted-2); }
.aside-stats dd { color: #dbe2ee; text-align: right; font-family: var(--mono); font-size: 11.5px; }
.social-mini { display: flex; flex-direction: column; gap: 9px; }
.social-mini li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.social-mini .pill { margin-left: auto; font-size: 9.5px; padding: 2px 7px; }
.social-dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-family: var(--mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #c3cbdb;
}
.aside-link { display: inline-block; margin-top: 14px; font-size: 11.5px; color: var(--accent); font-family: var(--mono); }
.aside-card-accent { border-color: rgba(255, 93, 34, 0.3); background: linear-gradient(160deg, rgba(255, 93, 34, 0.13), rgba(14, 19, 28, 0.9)); }
.aside-card-accent p { font-size: 12.5px; color: #cfd6e4; margin-bottom: 14px; }
.related { margin-top: 72px; }

/* ---------- Keywords page ---------- */

.source-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 34px; }
.source-card {
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.source-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.source-card-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.source-card-head em { font-style: normal; font-size: 9px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }
.source-card > b { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -0.03em; margin-top: 6px; }
.source-metric { font-size: 10.5px; color: var(--muted-2); }
.source-foot { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted-2); }
.source-foot b { color: var(--text); font-family: var(--mono); }

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 93, 34, 0.28);
  background: linear-gradient(120deg, rgba(255, 93, 34, 0.13), rgba(255, 93, 34, 0.02));
}
.cta-band h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.cta-band p { font-size: 14px; color: var(--muted); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.cta-status { flex-basis: 100%; text-align: right; font-size: 12px; color: var(--success); min-height: 16px; font-family: var(--mono); }

/* ---------- Automation ---------- */

.run-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  margin-bottom: 40px;
}
.run-status { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 11.5px; font-family: var(--mono); color: var(--muted-2); }
.run-banner .btn { margin-left: auto; }
.run-banner .cta-status { flex-basis: 100%; text-align: left; }
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: flow; }
.flow-list li {
  position: relative;
  padding: 22px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 25, 36, 0.8), rgba(11, 15, 22, 0.9));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-index { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.flow-body h3 { font-size: 16px; }
.flow-body p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 8px; }
.env-note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.018);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}
.env-note b { color: var(--text); }
code {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #ffc2a8;
}
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.two-col .section-head h2 { font-size: 26px; }
.channel-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.channel-card {
  padding: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.channel-card-head { display: flex; gap: 10px; align-items: center; }
.channel-card-head b { display: block; font-size: 13px; }
.channel-card-head em { display: block; font-style: normal; font-size: 10px; color: var(--muted-2); }
.channel-numbers { display: flex; gap: 18px; margin-top: 12px; font-size: 10.5px; color: var(--muted-2); }
.channel-numbers b { font-family: var(--mono); font-size: 15px; color: var(--text); margin-right: 4px; }
.feed-box {
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}
.feed-box h4 { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.endpoint-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.endpoint-list li { display: flex; justify-content: space-between; gap: 14px; font-size: 11.5px; color: var(--muted-2); }
.endpoint-list code { color: #dbe2ee; background: transparent; border: 0; padding: 0; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { font-family: var(--mono); font-size: 11.5px; }
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted-2);
  margin-top: 5px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px var(--bg);
}
.timeline-dot.stage-harvest { background: var(--blue); }
.timeline-dot.stage-score { background: var(--accent-2); }
.timeline-dot.stage-draft { background: var(--accent); }
.timeline-dot.stage-media { background: #c084fc; }
.timeline-dot.stage-publish { background: var(--success); }
.timeline-dot.stage-syndicate { background: #f472b6; }
.timeline-dot.stage-inbound { background: #fff; }
.timeline-body { flex: 1; }
.timeline-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.timeline-head b { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: #dfe5f0; }
.timeline-head span { font-family: var(--mono); font-size: 10px; color: var(--muted-2); white-space: nowrap; }
.timeline-body p { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.55; }

/* ---------- Studio ---------- */

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.kpi span { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.kpi b { font-family: var(--mono); font-size: 30px; font-weight: 500; letter-spacing: -0.04em; }
.kpi em { font-style: normal; font-size: 11px; color: var(--muted-2); }
.studio-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 22px;
}
.studio-actions { display: flex; gap: 8px; margin-left: auto; }
.studio-bar .cta-status { flex-basis: 100%; text-align: left; }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.panel {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.panel-head h3 { font-size: 15.5px; }
.panel-head span, .panel-head a { font-size: 11px; color: var(--muted-2); font-family: var(--mono); }
.panel-head a:hover { color: var(--accent); }
.bar-list { display: flex; flex-direction: column; gap: 11px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr 52px 30px; gap: 10px; align-items: center; }
.bar-label { font-size: 12px; color: #cbd3e2; }
.bar-track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 60%, #ffffff 0%), var(--c)); }
.bar-value { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-align: right; }
.bar-score { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); text-align: right; }
.panel-foot { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.queue-list { display: flex; flex-direction: column; gap: 13px; }
.queue-list li { display: flex; align-items: center; gap: 12px; }
.queue-count { font-family: var(--mono); font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.queue-count b { color: var(--text); }
.queue-meter { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.queue-meter span { display: block; height: 100%; background: linear-gradient(90deg, #ffb020, #2dd4bf); border-radius: 99px; }
.panel-table { padding: 22px 0 0; overflow: hidden; }
.panel-table .panel-head { padding: 0 22px; }
.panel-table .table-card { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.studio-bottom { margin-top: 16px; }
.lead-list { display: flex; flex-direction: column; gap: 14px; }
.lead-list li { padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.lead-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.lead-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.lead-head b { font-size: 13px; }
.lead-head span { font-family: var(--mono); font-size: 10px; color: var(--muted-2); }
.lead-meta { font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.lead-list p { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.55; }
.dispatch-list { display: flex; flex-direction: column; gap: 12px; }
.dispatch-list li { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: baseline; }
.dispatch-list a { font-size: 12.5px; color: #d5dce9; grid-column: 2; }
.dispatch-list a:hover { color: var(--accent); }
.dispatch-list em { grid-column: 2; font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); }
.dispatch-list .channel-chip { grid-row: span 2; align-self: start; justify-content: center; }
.panel-note { font-size: 11px; color: var(--muted-2); margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); line-height: 1.55; }

/* ---------- Studio login ---------- */

.auth {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
.auth-card {
  width: 100%;
  max-width: 430px;
  padding: 36px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(22, 30, 45, 0.95), rgba(10, 14, 21, 0.97));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
}
.auth-card .logo { margin-bottom: 28px; }
.auth-card h1 { font-size: 30px; margin: 12px 0 10px; letter-spacing: -0.03em; }
.auth-lede { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin-bottom: 22px; }
.auth-error {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 93, 34, 0.35);
  background: rgba(255, 93, 34, 0.1);
  color: #ffb79c;
  font-size: 12.5px;
}
.auth .field { margin-bottom: 14px; }
.auth-note { font-size: 11px; color: var(--muted-2); margin-top: 16px; line-height: 1.6; }
.auth-back { display: inline-block; font-size: 11.5px; color: var(--muted); margin-top: 18px; font-family: var(--mono); }
.auth-back:hover { color: var(--accent); }
.studio-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.logout-form { flex-shrink: 0; margin-top: 8px; }

/* ---------- Inquiry forwarding ---------- */

.mail-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 93, 34, 0.3);
  background: rgba(255, 93, 34, 0.08);
  font-size: 12.5px;
  line-height: 1.55;
}
.mail-notice b { color: #ffd0bd; }
.mail-notice span { color: var(--muted); }
.mail-notice code {
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffd9c6;
}
.mail-notice-ok { border-color: rgba(45, 212, 191, 0.3); background: rgba(45, 212, 191, 0.07); }
.mail-notice-ok b { color: #bdf7ee; }
.mail-state { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.mail-state.mail-sent { color: #5eead4; }
.mail-state.mail-failed { color: #ff8f6b; }
.mail-state.mail-not-configured, .mail-state.mail-activation-pending { color: #ffc247; }
.mail-state.mail-sending, .mail-state.mail-pending { color: var(--muted-2); }

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #04120a;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 18px 40px -14px rgba(37, 211, 102, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -14px rgba(37, 211, 102, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Animations ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes grow {
  from { transform: scaleY(0.1); opacity: 0.3; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

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

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 620px; }
  .signal-card { right: 12px; bottom: -28px; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipe-arrow { display: none; }
  .source-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-list { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-grid { grid-template-columns: 1fr; }
  .topbar-right .live-dot { display: none; }
}

@media (max-width: 820px) {
  .wrap { padding: 0 20px; }
  .topbar-inner { padding: 12px 20px; gap: 16px; }
  .nav { display: none; }
  .brand-logo { width: 38px; height: 38px; }
  .logo-text b { font-size: 12px; white-space: normal; max-width: 190px; line-height: 1.3; }
  .topbar-right { margin-left: auto; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(34px, 8vw, 46px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proof-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
  .pipeline { grid-template-columns: 1fr; }
  .source-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .filter-bar { align-items: stretch; }
  .search input { width: 100%; }
  .search { width: 100%; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-actions { justify-content: flex-start; }
  .cta-status { text-align: left; }
  .article-aside { grid-template-columns: 1fr; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .channel-cards { grid-template-columns: 1fr; }
  .head-stats { gap: 24px 32px; }
  .studio-grid, .two-col { gap: 14px; }
  .studio-head { flex-direction: column; }
  .logout-form { margin-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hide-sm { display: none; }
  .wa-float { right: 16px; bottom: 16px; padding: 14px; }
  .wa-float span { display: none; }
  .data-table th, .data-table td { padding: 12px 14px; }
  .article-hero { aspect-ratio: 16 / 10; }
  .signal-card { position: relative; right: auto; bottom: auto; width: auto; margin-top: 16px; }
}

@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 auto; }
  .proof-strip { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; }
  .source-grid { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 76px 1fr 44px 26px; }
  .topbar-right .btn { display: none; }
  .brand-marquee { padding: 14px 0; }
  .hero h1 { letter-spacing: -0.03em; }
}
