/* qTrace landing + legal pages — static site for qtrace.qcert.vn.
   No build step: this file is the whole design system. */

:root {
  --primary: #15803d;
  --primary-dark: #0e4f27;
  --primary-mid: #1b9149;
  --orange: #d97708;
  --info: #2563eb;
  --success-soft: #e8f5ec;
  --orange-soft: #fdeeda;
  --info-soft: #e3edfd;
  --foreground: #171b17;
  --muted-fg: #64706a;
  --muted: #f4f5f4;
  --border: #e5e7e5;
  --card: #ffffff;
  --radius: 16px;
  --section-max: 1180px;
  --font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--foreground);
  background: var(--card);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.icon { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.section {
  width: 100%; max-width: var(--section-max);
  margin: 0 auto; padding: 0 20px;
}
@media (min-width: 640px) { .section { padding: 0 28px; } }

.eyebrow {
  color: var(--primary); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.heading {
  font-size: 30px; font-weight: 800; letter-spacing: -.02em;
  line-height: 1.15; margin-top: 12px; text-wrap: balance;
}
@media (min-width: 640px) { .heading { font-size: 34px; } }
.anchor { scroll-margin-top: 80px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  max-width: var(--section-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 20px;
}
@media (min-width: 640px) { .site-header .inner { gap: 24px; padding: 12px 28px; } }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark-box {
  width: 38px; height: 38px; display: flex; align-items: center;
  justify-content: center; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  background: #fff;
}
.brand-mark-box img { width: 24px; height: 24px; object-fit: contain; }
.wordmark {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 19px; font-weight: 800; letter-spacing: -.02em;
  text-transform: uppercase;
}
.wordmark .q { color: var(--primary); }
.wordmark .dot {
  width: 6px; height: 6px; background: var(--orange);
  transform: rotate(45deg); border-radius: 1px; display: inline-block;
}
.site-nav { display: none; align-items: center; gap: 24px;
  font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--muted-fg); transition: color .15s; }
.site-nav a:hover { color: var(--foreground); }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 10px; border: 1px solid transparent;
  font: 600 14px var(--font); padding: 9px 16px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--border); background: #fff; }
.btn-outline:hover { background: var(--muted); }
.btn-lg { border-radius: 16px; padding: 14px 24px; font-size: 16px; }
.btn-hero-solid { background: #fff; color: var(--primary); }
.btn-hero-solid:hover { background: rgba(255, 255, 255, .9); }
.btn-hero-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-hero-ghost:hover { background: rgba(255, 255, 255, .1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: inline-flex; } }

/* mobile menu (checkbox toggle, no JS needed) */
.menu-toggle { display: none; }
.menu-btn { display: inline-flex; padding: 8px; border-radius: 10px;
  border: none; background: none; cursor: pointer; font-size: 20px; }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.mobile-nav {
  display: none; flex-direction: column; padding: 6px 14px 14px;
  border-top: 1px solid var(--border); background: #fff;
}
.mobile-nav a { padding: 10px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 600; }
.mobile-nav a:hover { background: var(--muted); }
.menu-toggle:checked ~ .mobile-nav { display: flex; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #0e4f27, #15803d 55%, #1b9149);
}
.dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px,
    rgba(255, 255, 255, .1) 1px, transparent 0);
  background-size: 28px 28px;
}
.hero .inner {
  position: relative; display: flex; flex-wrap: wrap; align-items: center;
  gap: 48px; padding-top: 64px; padding-bottom: 80px;
}
@media (min-width: 640px) { .hero .inner { padding-top: 80px; } }
.hero-copy { flex: 1; min-width: 0; max-width: 600px; }
.hero-badge {
  display: inline-block; border-radius: 18px;
  background: rgba(255, 255, 255, .15); padding: 7px 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  line-height: 1.5; text-transform: uppercase;
}
@media (min-width: 640px) { .hero-badge { border-radius: 999px; } }
.hero h1 {
  margin-top: 20px; font-size: 34px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.14; text-wrap: balance;
}
@media (min-width: 640px) { .hero h1 { font-size: 42px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 48px; } }
.hero p.lead {
  margin-top: 16px; max-width: 540px; font-size: 16px;
  line-height: 1.6; color: rgba(255, 255, 255, .85);
}
@media (min-width: 640px) { .hero p.lead { font-size: 17.5px; } }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas .btn { width: 100%; }
@media (min-width: 640px) { .hero-ctas .btn { width: auto; } }
.hero-highlights { margin-top: 36px; display: flex;
  flex-direction: column; gap: 10px; }
.hero-highlights div {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .85);
}
.hero-highlights .icon { font-size: 18px; }

/* hero device mockups: phone alone on laptops, browser + phone on wide */
.hero-devices { position: relative; display: none; flex-shrink: 0; }
@media (min-width: 1024px) {
  .hero-devices { display: block; width: 262px; }
  .hero-devices .browser-frame { display: none; }
  .hero-devices .phone-frame { position: static; }
}
@media (min-width: 1180px) {
  .hero-devices { width: 580px; padding-bottom: 32px; }
  .hero-devices .browser-frame { display: block; }
  .hero-devices .phone-frame { position: absolute; left: 0; bottom: 0;
    transform: scale(.55); transform-origin: bottom left; }
}
.browser-frame {
  margin-left: 140px; background: #fff; border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden;
  color: var(--foreground);
}
.browser-bar { display: flex; align-items: center; gap: 6px;
  background: var(--muted); border-bottom: 1px solid var(--border);
  padding: 9px 12px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; }
.browser-bar i:nth-child(1) { background: #f26d60; }
.browser-bar i:nth-child(2) { background: #f2bd4b; }
.browser-bar i:nth-child(3) { background: #58c25f; }
.browser-url {
  flex: 1; margin-left: 8px; background: #fff;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 10px; color: var(--muted-fg); padding: 3px 10px;
}
.browser-body { display: flex; height: 300px; }
.mock-sidebar { width: 150px; background: #111813; padding: 12px 10px;
  display: flex; flex-direction: column; gap: 4px; }
.mock-sidebar .mock-brand { color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 6px 12px; }
.mock-sidebar span { display: block; padding: 7px 9px; border-radius: 8px;
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,.55); }
.mock-sidebar span.on { background: rgba(255,255,255,.12); color: #fff;
  font-weight: 600; }
.mock-main { flex: 1; padding: 14px; background: #fafbfa; }
.mock-title { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.mock-chart { margin-top: 12px; border: 1px solid var(--border);
  border-radius: 10px; background: #fff; padding: 10px 12px; }
.mock-chart small { font-size: 9px; color: var(--muted-fg); }
.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px;
  margin-top: 6px; }
.mock-bars i { flex: 1; border-radius: 4px 4px 0 0;
  background: var(--success-soft); }
.mock-bars i:nth-child(4) { background: var(--primary); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; }
.mock-stat { border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 10px; }
.mock-stat { background: #fff; }
.mock-stat b { display: block; font-size: 14px; }
.mock-stat b.g { color: var(--primary); } .mock-stat b.b { color: var(--info); }
.mock-stat b.o { color: var(--orange); }
.mock-stat span { font-size: 9px; color: var(--muted-fg); }

.phone-frame {
  width: 262px; height: 534px; background: #0c0d0c; border-radius: 38px;
  padding: 9px; box-shadow: 0 24px 50px rgba(0, 0, 0, .4);
}
.phone-screen { height: 100%; display: flex; flex-direction: column;
  background: #f2f2f7; border-radius: 30px; overflow: hidden;
  color: var(--foreground); }
.phone-head { padding: 18px 16px 10px; }
.phone-head small { display: block; font-size: 11px; color: var(--muted-fg); }
.phone-head b { font-size: 18px; font-weight: 800; }
.phone-facility { margin: 0 16px; background: #fff; border-radius: 16px;
  padding: 10px 12px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.phone-facility i { width: 40px; height: 40px; border-radius: 12px;
  background: repeating-linear-gradient(135deg,#eef1ee,#eef1ee 4px,
    #e4e8e3 4px,#e4e8e3 8px); }
.phone-facility b { display: block; font-size: 12px; }
.phone-facility small { font-size: 10px; color: var(--muted-fg); }
.phone-body { padding: 12px 16px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-tile { background: #fff; border-radius: 13px; padding: 10px;
  font-size: 9.5px; color: var(--muted-fg); }
.phone-tile .icon { font-size: 18px; display: block; margin-bottom: 4px; }
.phone-tile b { display: block; font-size: 14px; color: var(--foreground); }
.phone-tabs { margin-top: auto; height: 68px; border-top: 1px solid
  rgba(0,0,0,.08); background: rgba(249,250,249,.95); display: flex;
  align-items: center; justify-content: space-around; padding: 0 4px;
  font-size: 8px; font-weight: 600; color: var(--muted-fg); }
.phone-tabs div { display: flex; flex-direction: column; align-items: center;
  gap: 3px; }
.phone-tabs .icon { font-size: 18px; }
.phone-tabs .on { color: var(--primary); }
.phone-tabs .scan { color: var(--primary); }
.phone-tabs .scan i { width: 44px; height: 44px; margin-top: -24px;
  border-radius: 50%; background: var(--primary); color: #fff;
  border: 3px solid #f2f2f7; display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.phone-tabs .scan i .icon { font-size: 20px; }

/* ---------- feature grid ---------- */
.features-grid { margin-top: 40px; display: grid; gap: 16px; }
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid .card:nth-child(1),
  .features-grid .card:nth-child(2) { grid-column: span 2; }
}
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; background: var(--card);
}
.tone {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.tone-green { background: var(--success-soft); color: var(--primary); }
.tone-orange { background: var(--orange-soft); color: var(--orange); }
.tone-blue { background: var(--info-soft); color: var(--info); }
.tone-neutral { background: var(--muted); color: var(--muted-fg); }
.card h3 { margin-top: 14px; font-size: 16px; font-weight: 700; }
.card p { margin-top: 6px; font-size: 13.5px; line-height: 1.6;
  color: var(--muted-fg); }

/* four-pillar grid + extras row */
.pillars { margin-top: 40px; display: grid; gap: 16px; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar { padding: 26px; }
.pillar h3 { font-size: 18px; }
.pillar p { font-size: 14.5px; }
.pillar ul { margin: 12px 0 0; padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: 7px; }
.pillar li { position: relative; padding-left: 18px; font-size: 13.5px;
  line-height: 1.55; color: var(--foreground); }
.pillar li::before { content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.extras { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 22px; padding: 16px 20px; border-radius: 14px;
  background: var(--muted); font-size: 13.5px; font-weight: 500; }
.extras-label { font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted-fg); }
.extras div { display: flex; align-items: center; gap: 8px; }
.extras .icon { font-size: 18px; color: var(--primary); }

/* ---------- split sections ---------- */
.split {
  display: grid; align-items: center; gap: 40px;
  padding-top: 64px; padding-bottom: 64px;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 2fr 3fr; gap: 56px;
    padding-top: 80px; padding-bottom: 80px; }
  .split.rev { grid-template-columns: 3fr 2fr; }
}
.split > .visual { display: flex; justify-content: center; min-width: 0; }
.split p.desc { margin-top: 12px; font-size: 16px; line-height: 1.6;
  color: var(--muted-fg); }
.feature-rows { margin-top: 24px; display: flex; flex-direction: column;
  gap: 16px; }
.feature-row { display: flex; gap: 12px; }
.feature-row .icon { font-size: 22px; color: var(--primary);
  margin-top: 2px; }
.feature-row b { font-size: 15px; }
.feature-row p { margin-top: 2px; font-size: 13.5px; line-height: 1.6;
  color: var(--muted-fg); }

/* label preview — inline SVG built from the geometry of the printed label
   (api/services/transaction/label_pdf.py); its user space is millimetres */
.label-figure { width: 100%; max-width: 300px; min-width: 0; }
.label-frame {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .09); padding: 10px;
}
.label-svg { display: block; width: 100%; height: auto; }
.label-figure figcaption {
  margin-top: 10px; text-align: center;
  font-size: 12.5px; font-weight: 600; color: var(--muted-fg);
}
.label-note { margin-top: 6px; text-align: center; font-size: 12px;
  line-height: 1.5; color: var(--muted-fg); }
/* The stem label is a 5:1 strip — always scale it to fit rather than clip it
   or hand it its own horizontal scrollbar. */
.label-wide { max-width: 620px; margin: 8px auto 0; }
@media (min-width: 1024px) { .label-wide { grid-column: 1 / -1; margin-top: 20px; } }

/* trace preview: phone with public trace page */
.trace-page {
  width: 100%; max-width: 320px; background: #f6f7f6;
  border: 1px solid var(--border); border-radius: 24px; padding: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .1);
}
.trace-brand b { display: block; font-size: 16px; font-weight: 800;
  color: var(--primary); letter-spacing: .02em; }
.trace-brand small { font-size: 10.5px; color: var(--muted-fg); }
.trace-card { margin-top: 12px; background: #fff; border-radius: 14px;
  border: 1px solid var(--border); overflow: hidden; }
.trace-banner { background: var(--primary); color: #fff; padding: 10px 14px; }
.trace-banner b { display: block; font-size: 12.5px; }
.trace-banner span { display: block; font-size: 10px; opacity: .85; }
.trace-banner small { display: block; margin-top: 4px; font-size: 9.5px;
  opacity: .8; }
.trace-product { padding: 10px 14px; }
.trace-product b { font-size: 15px; font-weight: 800; }
.trace-product small { display: block; font-size: 10px; color: var(--muted-fg);
  margin-top: 2px; }
.trace-row { padding: 8px 14px; border-top: 1px solid var(--border);
  font-size: 11px; }
.trace-row .lb { font-size: 9.5px; color: var(--muted-fg); }
.trace-row .lb em { font-style: normal; opacity: .8; }
.trace-row b { display: block; margin-top: 1px; }
.trace-row small { font-size: 9.5px; color: var(--muted-fg); }
.trace-foot { margin-top: 10px; text-align: center; font-size: 9.5px;
  color: var(--muted-fg); line-height: 1.5; }

/* ---------- flow ---------- */
.flow { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) { .flow { padding-top: 80px;
  padding-bottom: 80px; } }
.flow-head { max-width: 640px; margin: 0 auto; text-align: center; }
.flow-grid { margin-top: 40px; display: grid; gap: 32px; }
@media (min-width: 640px) { .flow-grid {
  grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .flow-grid {
  grid-template-columns: repeat(4, 1fr); } }
.flow-step { text-align: center; }
.flow-step .tone { width: 56px; height: 56px; margin: 0 auto;
  border-radius: 16px; font-size: 28px; }
.flow-step .step-no { margin-top: 14px; font-size: 12px;
  font-weight: 700; letter-spacing: .04em; color: var(--muted-fg); }
.flow-step h3 { margin-top: 4px; font-size: 16px; font-weight: 700; }
.flow-step p { margin-top: 6px; font-size: 13.5px; line-height: 1.6;
  color: var(--muted-fg); }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; padding-bottom: 64px; }
.faq-head { max-width: 640px; margin: 0 auto; text-align: center; }
.faq-list { margin: 32px auto 0; max-width: 760px; display: flex;
  flex-direction: column; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: 14px;
  background: var(--card); padding: 0 18px; }
.faq-list summary { cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 0; font-size: 15.5px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 20px; font-weight: 500;
  color: var(--primary); flex-shrink: 0; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 0 16px; font-size: 14.5px; line-height: 1.65;
  color: var(--muted-fg); }

/* ---------- contact ---------- */
.contact-box {
  position: relative; overflow: hidden; border-radius: 24px;
  background: linear-gradient(160deg, #0e4f27, #15803d);
  color: #fff; text-align: center; padding: 56px 24px;
}
@media (min-width: 640px) { .contact-box { padding: 56px 40px; } }
.contact-box h2 { position: relative; font-size: 30px; font-weight: 800;
  letter-spacing: -.02em; }
.contact-box p { position: relative; margin-top: 14px; font-size: 16px;
  color: rgba(255, 255, 255, .85); }
.contact-ctas { position: relative; margin-top: 28px; display: flex;
  flex-direction: column; gap: 14px; align-items: stretch; }
@media (min-width: 640px) { .contact-ctas { flex-direction: row;
  flex-wrap: wrap; justify-content: center; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border);
  padding: 48px 20px 28px; }
@media (min-width: 640px) { .site-footer { padding: 48px 28px 28px; } }
.site-footer .cols {
  max-width: var(--section-max); margin: 0 auto; display: flex;
  flex-wrap: wrap; justify-content: space-between; gap: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.6;
  color: var(--muted-fg); }
.footer-links { display: flex; flex-wrap: wrap; gap: 40px; }
@media (min-width: 640px) { .footer-links { gap: 56px; } }
.footer-col .title { font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted-fg); }
.footer-col nav { margin-top: 14px; display: flex;
  flex-direction: column; gap: 10px; font-size: 14px; font-weight: 500; }
.footer-col nav a:hover { color: var(--primary); }
.copyright {
  max-width: var(--section-max); margin: 36px auto 0;
  border-top: 1px solid var(--border); padding-top: 20px;
  font-size: 13px; color: var(--muted-fg);
}

/* ---------- legal pages ---------- */
.legal-main { max-width: 760px; margin: 0 auto;
  padding: 48px 20px 72px; }
.legal-main h1 { font-size: 30px; font-weight: 800;
  letter-spacing: -.02em; }
.legal-meta { margin-top: 10px; font-size: 13.5px;
  color: var(--muted-fg); }
.legal-main section { margin-top: 32px; }
.legal-main h2 { font-size: 18px; font-weight: 700; }
.legal-main h3 { margin-top: 20px; font-size: 15.5px; font-weight: 700; }
.legal-main section p, .legal-main section li {
  margin-top: 10px; font-size: 15px; line-height: 1.7;
  color: #333b35;
}
.legal-main section ul, .legal-main section ol {
  margin-top: 6px; padding-left: 22px;
}
.legal-main a { color: var(--primary); font-weight: 600; }
.legal-toc {
  margin-top: 28px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--muted); padding: 18px 20px;
}
.legal-toc .title {
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted-fg);
}
.legal-toc ol {
  margin: 10px 0 0; padding-left: 20px;
  columns: 1; font-size: 14px; line-height: 1.9;
}
@media (min-width: 640px) { .legal-toc ol { columns: 2; column-gap: 32px; } }
.legal-toc li { break-inside: avoid; }
.legal-note {
  margin-top: 28px; border: 1px solid var(--border);
  border-left: 4px solid var(--primary); border-radius: 10px;
  background: var(--success-soft); padding: 14px 16px;
  font-size: 14px; line-height: 1.6;
}

/* reveal-on-scroll (progressive enhancement, JS adds .in) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease; }
  .reveal.in { opacity: 1; transform: none; }
  html.no-js .reveal { opacity: 1; transform: none; }
}
