/* ZFlow public website — V1 */
:root {
  --bg: #0f1115;
  --bg-alt: #15171b;
  --surface: #1c1f24;
  --surface-2: #23262d;
  --border: #2e323a;
  --text: #f5f5f5;
  --muted: #b5b5b5;
  --faint: #8b949e;
  --accent: #6a5cff;
  --accent-strong: #5b4dff;
  --accent-soft: rgba(106, 92, 255, 0.14);
  --blue: #4f7dff;
  --green: #37d67a;
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--accent-strong);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* Language visibility — driven by html[data-lang] */
html[data-lang="vi"] .l-en { display: none !important; }
html[data-lang="en"] .l-vi { display: none !important; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; }

h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 21, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #0a0c0f;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo img { width: 26px; height: auto; display: block; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 12.5px/1 var(--font);
  padding: 8px 11px;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--accent-strong);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px rgba(91, 77, 255, 0.28);
}
.btn-primary:hover { background: linear-gradient(135deg, #6a5cff, #7a6bff); }

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--accent); }

.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(700px 340px at 78% -10%, rgba(106, 92, 255, 0.16), transparent 65%),
    radial-gradient(520px 280px at 12% 0%, rgba(79, 125, 255, 0.10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
  margin: 0 0 18px;
}

.hero .lede {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 34em;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--faint);
}

/* Abstract product-concept panel (decorative, not a screenshot) */
.product-visual {
  background: linear-gradient(180deg, var(--surface), #171a20);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(106, 92, 255, 0.06);
}

.pv-window {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.pv-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.pv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.pv-dot:first-child { background: #ff5f57; }
.pv-dot:nth-child(2) { background: #febc2e; }
.pv-dot:nth-child(3) { background: #28c840; }
.pv-title { margin-left: 8px; font-size: 12px; color: var(--faint); }

.pv-body { padding: 18px; display: grid; gap: 12px; }

.pv-layout { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.pv-sidebar { display: grid; align-content: start; gap: 10px; color: var(--faint); font-size: 13px; text-align: center; }
.pv-sidebar span { padding: 7px 0; border-radius: 7px; }
.pv-sidebar .pv-side-active { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(106, 92, 255, 0.3); }
.pv-content { min-width: 0; display: grid; gap: 11px; }
.pv-workspace { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--text); font-size: 12px; font-weight: 600; }
.pv-status, .pv-row-state { color: var(--green); font-size: 10px; font-weight: 600; }
.pv-row-state { min-width: 35px; text-align: right; }
.pv-progress-row { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 9px; align-items: center; color: var(--faint); font-size: 10px; }

.pv-row { display: flex; gap: 12px; align-items: center; }
.pv-chip {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid rgba(106, 92, 255, 0.35);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700; font-size: 13px;
}
.pv-lines { flex: 1; display: grid; gap: 7px; }
.pv-line { height: 9px; border-radius: 5px; background: var(--surface-2); }
.pv-line.w60 { width: 60%; }
.pv-line.w80 { width: 80%; }
.pv-line.w40 { width: 40%; }

.pv-progress { height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.pv-progress i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent-strong), var(--blue)); }
.pv-progress.p72 i { width: 72%; }
.pv-progress.p45 i { width: 45%; }
.pv-progress.p91 i { width: 91%; }

.pv-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--faint);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: rgba(106, 92, 255, 0.5); }

.card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(106, 92, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Primary channel modules ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.module-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid rgba(106, 92, 255, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(106, 92, 255, 0.12), transparent 42%), var(--surface);
}
.module-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(106, 92, 255, 0.42);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
}
.module-kicker {
  margin: 18px 0 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.module-card h3 { margin: 0 0 10px; font-size: 20px; }
.module-card > p:not(.module-kicker):not(.module-note) { margin: 0; color: var(--muted); font-size: 14.5px; }
.module-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.module-list li { position: relative; padding-left: 19px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.module-list li::before { content: "•"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.module-list strong { color: var(--text); }
.module-note { margin: auto 0 0; padding-top: 18px; color: var(--faint); font-size: 13px; line-height: 1.55; }
.module-grid-compact .module-card { min-height: 258px; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.support-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.support-card .icon { display: inline-flex; margin-bottom: 12px; color: var(--accent); font-size: 18px; }
.support-card h3 { margin: 0 0 8px; font-size: 15px; }
.support-card p { margin: 0; color: var(--muted); font-size: 14px; }
.section-head-left { margin-left: 0; text-align: left; }
.shared-capabilities { margin: 30px auto 0; max-width: 860px; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; background: var(--surface); }
.shared-capabilities h3 { margin: 0 0 7px; font-size: 15px; }
.shared-capabilities p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Product-first content ---------- */
.value-section { border-bottom: 1px solid var(--border); }
.value-section .split { align-items: start; }
.value-section .split p { font-size: 17px; margin: 4px 0 0; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.audience-item {
  min-height: 148px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.audience-item .icon { margin-bottom: 14px; }
.audience-item h3 { margin: 0; font-size: 15px; }

.product-showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(106, 92, 255, 0.10), transparent 45%), var(--surface);
}
.product-showcase-copy { display: grid; align-content: center; }
.product-showcase-copy h2 { margin: 0 0 12px; }
.product-showcase-copy p { color: var(--muted); margin: 0; }
.product-showcase-ui { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-alt); }
.ps-top { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--faint); font-size: 12px; }
.ps-body { display: grid; grid-template-columns: 88px minmax(0, 1fr); min-height: 230px; }
.ps-nav { padding: 14px 10px; border-right: 1px solid var(--border); display: grid; align-content: start; gap: 8px; }
.ps-nav span { height: 26px; border-radius: 6px; background: var(--surface-2); }
.ps-nav span:first-child { background: var(--accent-soft); border: 1px solid rgba(106, 92, 255, 0.32); }
.ps-main { padding: 16px; display: grid; align-content: start; gap: 12px; }
.ps-label { color: var(--faint); font-size: 11px; }
.ps-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ps-account { padding: 11px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.ps-account strong { display: block; margin-bottom: 5px; font-size: 12px; }
.ps-account small { color: var(--green); font-size: 10px; }
.ps-task { padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.ps-task-head { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 11px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(91, 77, 255, 0.4);
}
.step h3 { margin: 4px 0 8px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Trust band ---------- */
.trust {
  background:
    radial-gradient(560px 260px at 50% 120%, rgba(106, 92, 255, 0.12), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.trust h2 { margin: 0 0 14px; }
.trust p { color: var(--muted); max-width: 44em; margin: 0 auto 24px; }

.trust-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.pill::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.split h2 { margin: 0 0 14px; }
.split p { color: var(--muted); margin: 0 0 16px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li {
  padding-left: 30px;
  position: relative;
  color: var(--muted);
  font-size: 15px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(55, 214, 122, 0.14);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(91, 77, 255, 0.16), rgba(79, 125, 255, 0.08)), var(--surface);
  border: 1px solid rgba(106, 92, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
}
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 auto 26px; max-width: 36em; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(620px 280px at 70% -20%, rgba(106, 92, 255, 0.14), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; }
.page-hero .lede { color: var(--muted); font-size: 17px; max-width: 40em; margin: 0; }

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 760px; padding: 56px 0 72px; }
.section > .prose { padding-top: 0; padding-bottom: 0; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; padding-top: 8px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--faint); font-size: 13.5px; margin-bottom: 32px; }

.policy-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14.5px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 860px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.contact-card h2 { margin: 0 0 10px; font-size: 18px; }
.contact-card p { color: var(--muted); margin: 0 0 8px; font-size: 14.5px; }
.contact-card .meta { color: var(--faint); font-size: 13px; margin: 12px 0 0; }
.contact-card .contact-email { color: var(--text); font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.contact-card .contact-email:hover { color: #fff; }
.contact-note { max-width: 660px; margin: 28px 0 0; color: var(--faint); font-size: 13.5px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 110px 0 90px; }
.notfound .code {
  font-size: clamp(72px, 14vw, 130px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-strong), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 12px;
}
.notfound h1 { font-size: 24px; margin: 0 0 12px; }
.notfound p { color: var(--muted); margin: 0 auto 30px; max-width: 32em; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0c0e12;
  padding: 56px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p { color: var(--muted); font-size: 14px; max-width: 30em; margin: 14px 0 0; }

.footer-col h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--faint);
  font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-showcase { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .module-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 16px;
  }
  .site-nav a { padding: 12px 14px; }

  .header-actions { order: 2; }
  .nav-toggle { order: 3; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 48px 0; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .cta-band { padding: 36px 20px; }
  .container { padding: 0 18px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-item { min-height: 0; }
  .ps-body { grid-template-columns: 68px minmax(0, 1fr); }
  .pv-progress-row { grid-template-columns: 62px minmax(0, 1fr); }
  .module-grid-compact, .support-grid { grid-template-columns: 1fr; }
  .module-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
