/* ==========================================================================
   WebPTools — Design Layer v2  ("dark + glass", UHD-crisp, zero images)
   Loaded after style.css. Pure CSS overrides + inline-SVG visuals only, so it
   stays sharp on every display and adds ~0 KB of requests.
   ========================================================================== */

/* ---------- tokens ---------- */
#webpApp {
  --ink:        #05070d;
  --ink-2:      #080d18;
  --glass:      rgba(255, 255, 255, .045);
  --glass-2:    rgba(255, 255, 255, .075);
  --line:       rgba(255, 255, 255, .075);
  --line-2:     rgba(255, 255, 255, .13);
  --acc:        #6d7cff;
  --acc-2:      #b06bff;
  --acc-soft:   rgba(109, 124, 255, .16);
  --text:       #eef2fa;
  --muted:      #94a1b8;
  --radius:     18px;
  --radius-lg:  24px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --ring:       0 0 0 1px rgba(255,255,255,.06), 0 1px 0 0 rgba(255,255,255,.05) inset;
}

#webpApp[data-theme="light"] {
  --ink:        #f6f8fd;
  --ink-2:      #eef2fa;
  --glass:      rgba(255, 255, 255, .72);
  --glass-2:    rgba(255, 255, 255, .9);
  --line:       rgba(16, 24, 40, .09);
  --line-2:     rgba(16, 24, 40, .16);
  --text:       #0d1526;
  --muted:      #5a6a84;
  --acc-soft:   rgba(109, 124, 255, .12);
}

/* ---------- page background: layered aurora, no images ---------- */
#webpApp {
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(109,124,255,.22), transparent 60%),
    radial-gradient(900px 560px at 88% 4%, rgba(176,107,255,.16), transparent 62%),
    radial-gradient(1000px 700px at 50% 108%, rgba(56,189,248,.09), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 55%, var(--ink) 100%);
  background-attachment: fixed;
}

#webpApp[data-theme="light"] {
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(109,124,255,.16), transparent 60%),
    radial-gradient(900px 560px at 88% 4%, rgba(176,107,255,.12), transparent 62%),
    linear-gradient(180deg, #f8faff 0%, #eef2fa 60%, #f8faff 100%);
}

/* very subtle grain so gradients don't band on 10-bit panels */
#webpApp::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
#webpApp > * { position: relative; z-index: 1; }

/* ---------- header: floating glass bar ---------- */
#webpApp .hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
#webpApp .hd-in { height: 68px; }
#webpApp[data-theme="light"] .hd { background: color-mix(in srgb, #ffffff 70%, transparent); }

#webpApp .brand { font-size: 1.06rem; letter-spacing: -.015em; }
#webpApp .brand-logo {
  width: 34px; height: 34px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(109,124,255,.35), var(--ring);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
#webpApp .brand:hover .brand-logo { transform: translateY(-1px) scale(1.04); box-shadow: 0 10px 24px rgba(109,124,255,.45); }
#webpApp .brand-logo svg { width: 20px; height: 20px; }

/* ---------- nav ---------- */
#webpApp .nav-link {
  border-radius: 10px;
  padding: 8px 12px;
  transition: color .18s var(--ease), background .18s var(--ease);
}
#webpApp .nav-link:hover { background: var(--glass); color: var(--text); }
#webpApp .nav-link.on { background: var(--acc-soft); color: #c9d0ff; }
#webpApp .menu, #webpApp .pop {
  background: color-mix(in srgb, var(--ink-2) 92%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7), var(--ring);
}
#webpApp[data-theme="light"] .menu, #webpApp[data-theme="light"] .pop {
  background: color-mix(in srgb, #ffffff 96%, transparent);
  box-shadow: 0 24px 60px -16px rgba(16,24,40,.25), var(--ring);
}
#webpApp .menu a { border-radius: 10px; transition: background .16s var(--ease), color .16s var(--ease); }
#webpApp .menu a:hover { background: var(--glass-2); }
#webpApp .icon-btn { border-radius: 11px; border: 1px solid transparent; transition: all .18s var(--ease); }
#webpApp .icon-btn:hover { background: var(--glass); border-color: var(--line); }

/* ---------- hero ---------- */
#webpApp .hero { padding: 96px 0 56px; position: relative; overflow: hidden; }
#webpApp .hero::after {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 520px;
  background:
    radial-gradient(closest-side, rgba(109,124,255,.30), transparent 70%) 20% 30%/520px 520px no-repeat,
    radial-gradient(closest-side, rgba(176,107,255,.24), transparent 70%) 78% 10%/460px 460px no-repeat;
  filter: blur(24px);
  opacity: .85;
  pointer-events: none;
  z-index: -1;
}
#webpApp .badge {
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .01em;
}
#webpApp .title {
  font-size: clamp(2.4rem, 1.35rem + 4.2vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
  margin: 22px 0 0;
}
#webpApp .grad {
  background: linear-gradient(96deg, #a9b4ff 0%, #c9a2ff 40%, #8ee6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#webpApp .sub {
  font-size: clamp(1rem, .94rem + .3vw, 1.18rem);
  color: var(--muted);
  max-width: 58ch;
  margin: 18px auto 0;
  text-wrap: pretty;
}
#webpApp .chips { gap: 10px; margin-top: 26px; }
#webpApp .chip {
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 7px 13px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
#webpApp .chip:hover { border-color: var(--line-2); transform: translateY(-1px); }
#webpApp .chip svg { color: #6ee7b7; }

/* ---------- the tool card: the centrepiece ---------- */
#webpApp .tool-card {
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.07) inset,
    0 30px 80px -24px rgba(0,0,0,.75),
    0 0 0 1px rgba(255,255,255,.02);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
#webpApp .tool-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
}
#webpApp .wt-drop {
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(109,124,255,.10), transparent 70%),
    var(--glass);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
  padding: 44px 20px;
}
#webpApp .wt-drop:hover, #webpApp .wt-drop.is-over {
  border-color: rgba(140,150,255,.55);
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(109,124,255,.18), transparent 70%),
    var(--glass-2);
}
#webpApp .wt-drop svg { width: 30px; height: 30px; color: #b9c2ff; }

/* ---------- buttons ---------- */
#webpApp .btn {
  border-radius: 13px;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), filter .18s var(--ease);
}
#webpApp .btn-primary {
  background: linear-gradient(180deg, #7c8bff, #5c6bf5 62%, #4f5ae8);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.35) inset,
    0 10px 26px -8px rgba(92,107,245,.75);
}
#webpApp .btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 1px 0 0 rgba(255,255,255,.4) inset, 0 16px 34px -10px rgba(92,107,245,.9); }
#webpApp .btn-primary:active { transform: translateY(0); }
#webpApp .btn-ghost {
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
#webpApp .btn-ghost:hover { background: var(--glass-2); border-color: rgba(255,255,255,.2); transform: translateY(-1px); }

/* ---------- sections, headings, prose ---------- */
#webpApp .sec { margin: 76px 0; }
#webpApp .sec-title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem);
  letter-spacing: -.02em;
  text-wrap: balance;
}
#webpApp .sec-sub { color: var(--muted); max-width: 62ch; text-wrap: pretty; }
#webpApp .prose p, #webpApp .prose li { color: color-mix(in srgb, var(--text) 82%, var(--muted)); }
#webpApp .prose h2, #webpApp .prose h3 { letter-spacing: -.015em; }

/* ---------- cards ---------- */
#webpApp .tcard, #webpApp .feature, #webpApp .stat, #webpApp .step, #webpApp .bcard {
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 0 rgba(255,255,255,.05) inset;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
#webpApp .tcard:hover, #webpApp .bcard:hover {
  transform: translateY(-3px);
  border-color: rgba(140,150,255,.45);
  box-shadow: 0 1px 0 0 rgba(255,255,255,.08) inset, 0 22px 50px -18px rgba(109,124,255,.5);
}
#webpApp .tcard h3 { letter-spacing: -.01em; }
#webpApp .f-icon {
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(140,150,255,.22), rgba(140,150,255,.10));
  border: 1px solid rgba(140,150,255,.22);
  color: #c3caff;
}
#webpApp .tcard:hover .f-icon { color: #fff; }
#webpApp .stat-num {
  letter-spacing: -.03em;
  background: linear-gradient(96deg, #c9d0ff, #d9b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- faq ---------- */
#webpApp .faq details {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
#webpApp .faq details[open] { background: var(--glass-2); border-color: var(--line-2); }
#webpApp .faq summary { font-weight: 600; letter-spacing: -.005em; }

/* ---------- page hero (inner pages) ---------- */
#webpApp .page-hero { padding: 56px 0 26px; }
#webpApp .page-hero h1 {
  font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.032em;
  text-wrap: balance;
}
#webpApp .crumb { color: var(--muted); font-size: .88rem; letter-spacing: .01em; }
#webpApp .crumb a { color: var(--muted); text-decoration: none; }
#webpApp .crumb a:hover { color: var(--text); }
#webpApp .lead {
  font-size: clamp(1rem, .95rem + .35vw, 1.12rem);
  color: var(--muted);
  max-width: 66ch;
  text-wrap: pretty;
}

/* ---------- footer ---------- */
#webpApp .ft {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.25));
}
#webpApp .ft a { transition: color .16s var(--ease); }
#webpApp .ft a:hover { color: #c9d0ff; }
#webpApp .ft-bottom { color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- cta band ---------- */
#webpApp .cta {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(109,124,255,.28), transparent 70%),
    linear-gradient(180deg, var(--glass-2), var(--glass));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 0 rgba(255,255,255,.08) inset, 0 30px 70px -30px rgba(109,124,255,.6);
}

/* ---------- focus, motion, misc ---------- */
#webpApp :focus-visible {
  outline: 2px solid #8b95ff;
  outline-offset: 3px;
  border-radius: 8px;
}
#webpApp .wt-seg-btn { border-radius: 9px; }
#webpApp .wt-seg-btn.wt-active { background: linear-gradient(180deg, #7c8bff, #5c6bf5); box-shadow: 0 1px 0 0 rgba(255,255,255,.3) inset; }
#webpApp .inp, #webpApp select, #webpApp textarea {
  background: rgba(2,6,23,.55);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
#webpApp .inp:focus { border-color: rgba(140,150,255,.6); box-shadow: 0 0 0 3px rgba(109,124,255,.18); }
#webpApp[data-theme="light"] .inp, #webpApp[data-theme="light"] select, #webpApp[data-theme="light"] textarea { background: #fff; }

/* thin, quiet scrollbar */
#webpApp ::-webkit-scrollbar { width: 10px; height: 10px; }
#webpApp ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
#webpApp ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.24); background-clip: content-box; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  #webpApp .hero { padding: 64px 0 32px; }
  #webpApp .sec { margin: 56px 0; }
  #webpApp .tool-card { padding: 18px; border-radius: 20px; }
  #webpApp .wt-drop { padding: 34px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  #webpApp *, #webpApp *::before, #webpApp *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* high-DPI: keep hairlines crisp instead of blurry 1px */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #webpApp .hd, #webpApp .tool-card, #webpApp .tcard { border-width: .5px; }
}


/* ---------- polish pass (from screenshots) ---------- */

/* the "format is kept" indicator should read as a chip, not an empty input */
#webpApp .wt-out-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-height: 0;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--glass-2);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: -.005em;
}
#webpApp .wt-out-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8ee6ff, #6d7cff);
  box-shadow: 0 0 10px rgba(109,124,255,.9);
}

/* keep the hint text from squeezing into a narrow column */
#webpApp .wt-hint { font-size: .82rem; line-height: 1.5; color: var(--muted); max-width: 46ch; }

/* disabled primary action: clearly inert, not washed out */
#webpApp .btn-primary:disabled,
#webpApp .btn-primary[disabled] {
  filter: saturate(.25) brightness(.75);
  opacity: .65;
  box-shadow: none;
  transform: none;
}

/* settings row: even vertical rhythm */
#webpApp .wt-settings { align-items: start; }
#webpApp .wt-field > label { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }


/* ---------- typography: self-hosted variable Inter ---------- */
@font-face {
  font-family: 'InterVar';
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
#webpApp {
  font-family: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  font-variation-settings: 'opsz' 32;
}
#webpApp .title, #webpApp .page-hero h1, #webpApp .sec-title { font-weight: 760; }

/* ---------- two-column hero ---------- */
#webpApp .hero-in {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
#webpApp .hero-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
#webpApp .hero-copy .badge { align-self: flex-start; }
#webpApp .hero-copy .sub { margin: 20px 0 0; }
#webpApp .hero-copy .chips { margin-top: 28px; }
#webpApp .hero-art { justify-self: end; width: 100%; max-width: 460px; }
#webpApp .hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 40px 70px rgba(0,0,0,.5)); }
#webpApp .hero-art { animation: artIn .9s var(--ease) both; }
@keyframes artIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  #webpApp .hero-in { grid-template-columns: 1fr; text-align: center; gap: 0; }
  #webpApp .hero-copy { align-items: center; }
  #webpApp .hero-art { display: none; }
  #webpApp .hero-copy .sub { margin: 18px auto 0; }
}


/* ---------- hero rebalance ---------- */
#webpApp .hero-in { grid-template-columns: 1.06fr .94fr; gap: 44px; }
#webpApp .hero-copy .title {
  font-size: clamp(2.05rem, 1.15rem + 2.45vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.032em;
}
#webpApp .hero-copy .sub { max-width: 46ch; font-size: 1.04rem; margin: 18px 0 0; }
#webpApp .hero-copy .chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 26px;
  max-width: 460px;
}
#webpApp .hero-copy .chip { white-space: nowrap; font-size: .875rem; padding: 6px 12px; }
#webpApp .hero-art { max-width: 520px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 980px) {
  #webpApp .hero-copy .title { font-size: clamp(2rem, 1.4rem + 4vw, 2.9rem); }
  #webpApp .hero-copy .chips { justify-content: center; max-width: none; }
}


/* ---------- hero width fix ---------- */
/* the original stylesheet caps .hero-in at 780px, which squeezed the new
   two-column hero into a ~390px text column */
#webpApp .hero-in { max-width: 1120px; width: 100%; margin: 0 auto; padding: 0 20px; }
#webpApp .hero-art svg { width: 100%; height: auto; }


/* ---------- theme-aware illustration ---------- */
#webpApp .ha-card { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.14); }
#webpApp .ha-icon { stroke: #8f9cb5; }
#webpApp .ha-label { fill: #94a1b8; }
#webpApp .ha-card-b { fill: rgba(140,150,255,.12); stroke: rgba(150,160,255,.46); }
#webpApp .ha-icon-b { stroke: #c9d0ff; }
#webpApp .ha-label-b { fill: #c9d0ff; }
#webpApp .ha-badge { fill: rgba(52,211,153,.14); stroke: rgba(52,211,153,.42); }
#webpApp .ha-badge-t { fill: #6ee7b7; }
#webpApp .ha-glow { opacity: 1; }

#webpApp[data-theme="light"] .ha-card { fill: rgba(16,24,40,.04); stroke: rgba(16,24,40,.14); }
#webpApp[data-theme="light"] .ha-icon { stroke: #64748b; }
#webpApp[data-theme="light"] .ha-label { fill: #47546b; }
#webpApp[data-theme="light"] .ha-card-b { fill: rgba(99,102,241,.10); stroke: rgba(99,102,241,.38); }
#webpApp[data-theme="light"] .ha-icon-b { stroke: #4f46e5; }
#webpApp[data-theme="light"] .ha-label-b { fill: #4338ca; }
#webpApp[data-theme="light"] .ha-badge { fill: rgba(5,150,105,.12); stroke: rgba(5,150,105,.38); }
#webpApp[data-theme="light"] .ha-badge-t { fill: #047857; }
#webpApp[data-theme="light"] .ha-glow { opacity: .45; }

/* gradient headline needs a darker ramp on light backgrounds */
#webpApp[data-theme="light"] .grad {
  background: linear-gradient(96deg, #4f46e5 0%, #7c3aed 45%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#webpApp[data-theme="light"] .stat-num {
  background: linear-gradient(96deg, #4f46e5, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ---------- responsive (final) ---------- */
/* these must override the desktop hero rules above, so they live at the end */
@media (max-width: 980px) {
  #webpApp .hero-in { grid-template-columns: 1fr; text-align: center; gap: 0; }
  #webpApp .hero-copy { align-items: center; }
  #webpApp .hero-art { display: none !important; }
  #webpApp .hero-copy .sub { margin: 18px auto 0; text-align: center; max-width: 52ch; }
  #webpApp .hero-copy .chips { justify-content: center; max-width: 100%; }
  #webpApp .hero-copy .badge { align-self: center; }
  #webpApp .hero-copy .title { font-size: clamp(1.95rem, 1.35rem + 4.2vw, 2.85rem); }
}

@media (max-width: 600px) {
  #webpApp .hero { padding: 44px 0 24px; }
  #webpApp .hero-copy .chips { gap: 6px; }
  #webpApp .hero-copy .chip { font-size: .8rem; padding: 6px 10px; }
  #webpApp .sec { margin: 44px 0; }
  #webpApp .page-hero { padding: 36px 0 18px; }
}

@media (max-width: 420px) {
  #webpApp .hero-copy .chip { font-size: .76rem; padding: 5px 9px; }
  #webpApp .tool-card { padding: 14px; }
}


/* ---------- scroll reveal ---------- */
#webpApp .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
#webpApp .reveal.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  #webpApp .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ---------- article layout ---------- */
#webpApp .page-hero .bcard-meta { justify-content: center; margin-top: 18px; }
#webpApp article.prose { max-width: 760px; margin: 30px auto 0; }
#webpApp article.prose h2 { margin-top: 42px; }
#webpApp article.prose h2:first-child { margin-top: 0; }
#webpApp article.prose p, #webpApp article.prose li { font-size: 1.02rem; line-height: 1.72; }
#webpApp article.prose ul { list-style: disc; padding-left: 22px; }
#webpApp article.prose li { margin: 6px 0; }


/* ---------- post hero image ---------- */
#webpApp .post-hero {
  max-width: 900px;
  margin: 26px auto 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.75);
  background: var(--glass);
}
#webpApp .post-hero img { width: 100%; height: auto; display: block; }
#webpApp .bcard-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) { #webpApp .post-hero { margin-top: 20px; border-radius: 14px; } }


/* ---------- images inside articles ---------- */
#webpApp article.prose img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  margin: 26px 0 10px;
}
#webpApp article.prose .cap { color: var(--muted); font-size: .88rem; margin: 0 0 26px; }
#webpApp article.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: .95rem; }
#webpApp article.prose th, #webpApp article.prose td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; }
#webpApp article.prose th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
#webpApp article.prose tbody tr:hover, #webpApp article.prose tr:hover { background: var(--glass); }
