/* =====================================================================
   AI Form Filler — shared stylesheet
   Palette (named):
     Graphite  #16202E  deep slate, surfaces + headings
     Signal    #0E9F6E  emerald "valid / pass" — primary brand
     Ember     #F0553B  coral "invalid / negative test" — accent
     Mist      #F5F7FA  light page background
     Slate     #5A6472  muted text
     Line      #E3E7EC  hairlines / borders
   Type:
     Sans  = considered system UI stack (body + headings)
     Mono  = system monospace stack (kickers, labels, data, badges)
   No external network dependencies. Light + dark via prefers-color-scheme.
   ===================================================================== */

:root {
  /* brand */
  --signal: #0E9F6E;
  --signal-600: #0B8A5E;
  --signal-700: #096F4C;
  --ember: #F0553B;
  --ember-tint: #FDECE8;

  /* light theme surfaces */
  --bg: #F5F7FA;
  --bg-soft: #EDF1F6;
  --surface: #FFFFFF;
  --surface-2: #FBFCFE;
  --ink: #16202E;
  --ink-2: #29394E;
  --muted: #5A6472;
  --line: #E3E7EC;
  --line-strong: #CFD6DE;

  /* accents used in mockups */
  --code-bg: #0F1826;
  --code-ink: #D7E2F0;

  --shadow-sm: 0 1px 2px rgba(16, 26, 40, .06), 0 1px 3px rgba(16, 26, 40, .05);
  --shadow-md: 0 6px 20px rgba(16, 26, 40, .08), 0 2px 6px rgba(16, 26, 40, .05);
  --shadow-lg: 0 18px 48px rgba(16, 26, 40, .14);

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --maxw: 1140px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Consolas", "Liberation Mono", monospace;

  --step-title: clamp(2rem, 1.2rem + 3.4vw, 3.4rem);
  --step-h2: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --signal: #22C48B;
    --signal-600: #1BB07C;
    --signal-700: #159A6B;
    --ember: #FF6A50;
    --ember-tint: #33201C;

    --bg: #0E141C;
    --bg-soft: #121A24;
    --surface: #16202C;
    --surface-2: #1B2733;
    --ink: #EAF0F6;
    --ink-2: #C4CFDB;
    --muted: #93A0B0;
    --line: #26333F;
    --line-strong: #34424F;

    --code-bg: #0A121C;
    --code-ink: #CBD8E8;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .45);
    --shadow-lg: 0 22px 54px rgba(0, 0, 0, .55);
  }
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
a { color: var(--signal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--ink); }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: .3rem 0; }

/* focus visibility (accessibility) */
:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal-600);
  font-weight: 600;
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--signal);
  display: inline-block;
}
h1.title, .title { font-size: var(--step-title); }
h2.h2, .h2 { font-size: var(--step-h2); }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.eyebrow-mono { font-family: var(--font-mono); color: var(--muted); font-size: .85rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: .82rem 1.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--signal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--signal-600); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--signal); color: var(--signal-600); }
.btn-ghost { background: transparent; color: var(--ink-2); padding: .6rem .8rem; }
.btn-ghost:hover { color: var(--signal-600); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  height: 66px;
  flex-wrap: nowrap;
}
.brand {
  display: inline-flex; align-items: center; gap: .62rem;
  font-weight: 700; color: var(--ink); font-size: 1.08rem; letter-spacing: -.01em;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--signal), var(--signal-700));
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand small {
  display: block; font-family: var(--font-mono); font-weight: 500;
  font-size: .62rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase;
  margin-top: 1px;
}
/* desktop: keep nav links + CTAs on a single row (they otherwise stack) */
.nav-menu { display: flex; align-items: center; gap: 1.2rem; flex-wrap: nowrap; }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a.navlink {
  color: var(--ink-2); font-weight: 500; font-size: .96rem;
  padding: .5rem .7rem; border-radius: 8px;
}
.nav-links a.navlink:hover { color: var(--signal-600); background: var(--bg-soft); text-decoration: none; }
.nav-links a.navlink[aria-current="page"] { color: var(--signal-600); }
.nav-cta { display: flex; align-items: center; gap: .5rem; }

/* CSS-only mobile menu */
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  width: 42px; height: 42px; border-radius: 9px;
  border: 1px solid var(--line-strong); background: var(--surface);
  cursor: pointer; place-items: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
  .nav-burger { display: grid; }
  .nav-menu {
    position: fixed; inset: 66px 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 18px 20px;
    display: none;
  }
  .nav-toggle:checked ~ .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a.navlink { padding: .8rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 14px; gap: .6rem; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 74px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  top: -220px; right: -160px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--signal) 22%, transparent), transparent 62%);
  filter: blur(6px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center;
}
.hero .badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.hero h1 { margin-bottom: .5rem; }
.hero .lead { margin-bottom: 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero-sub {
  margin-top: 1.15rem; font-family: var(--font-mono); font-size: .82rem; color: var(--muted);
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.hero-sub .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: -1; }
}

/* ---------- badges / chips / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em;
  padding: .32rem .6rem; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line);
}
.badge.badge-signal { background: color-mix(in srgb, var(--signal) 14%, transparent); color: var(--signal-700); border-color: color-mix(in srgb, var(--signal) 34%, transparent); }
.badge.badge-ember { background: var(--ember-tint); color: var(--ember); border-color: color-mix(in srgb, var(--ember) 40%, transparent); }
@media (prefers-color-scheme: dark) {
  .badge.badge-signal { color: var(--signal); }
}
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .8rem;
  padding: .4rem .7rem; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

/* ---------- cards / grids ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.grid { display: grid; gap: 22px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feature-grid, .feature-grid.cols-2 { grid-template-columns: 1fr; } }

.feature { position: relative; }
.feature .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--signal) 12%, transparent);
  color: var(--signal-600); margin-bottom: 16px; border: 1px solid color-mix(in srgb, var(--signal) 26%, transparent);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature.accent .ico { background: var(--ember-tint); color: var(--ember); border-color: color-mix(in srgb, var(--ember) 34%, transparent); }
.feature h3 { font-size: 1.16rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- how it works ---------- */
.steps { grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem;
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: #fff; margin-bottom: 16px;
}
@media (prefers-color-scheme: dark) { .step .num { background: var(--signal); color: #05130d; } }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); margin-bottom: 12px; overflow: hidden;
}
.faq details[open] { border-color: color-mix(in srgb, var(--signal) 40%, transparent); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--signal-600); flex: none; transition: transform .2s;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  /* always dark graphite in both themes (var(--ink) flips light in dark mode) */
  background: linear-gradient(155deg, #16202E, #0c141f);
  border-radius: var(--radius-lg); padding: 54px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 40%, transparent), transparent 62%);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #B7C4D2; position: relative; max-width: 52ch; margin: 0 auto 1.6rem; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-2); padding: .28rem 0; font-size: .95rem; }
.footer-col a:hover { color: var(--signal-600); }
.footer-about p { color: var(--muted); font-size: .93rem; max-width: 34ch; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; justify-content: space-between; align-items: center;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--muted);
}
.footer-bottom .mono { font-family: var(--font-mono); }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto 44px; align-items: stretch; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.plan-featured {
  border: 1.5px solid var(--signal); box-shadow: var(--shadow-lg); position: relative;
}
.plan-featured::before {
  content: "Most popular"; position: absolute; top: -12px; left: 32px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--signal); color: #fff; padding: .3rem .7rem; border-radius: 999px;
}
.plan h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.plan .price { display: flex; align-items: baseline; gap: .35rem; margin: 14px 0 4px; }
.plan .price .amount { font-size: 2.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.plan .price .per { color: var(--muted); font-family: var(--font-mono); font-size: .92rem; }
.plan .plan-note { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.plan ul.checks { list-style: none; padding: 0; margin: 8px 0 26px; }
.plan ul.checks li { display: flex; gap: .65rem; align-items: flex-start; margin: .6rem 0; font-size: .97rem; color: var(--ink-2); }
.plan ul.checks li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--signal-600); }
.plan ul.checks li.off { color: var(--muted); }
.plan ul.checks li.off svg { color: var(--line-strong); }
.plan .plan-cta { margin-top: auto; }

/* comparison table */
.table-wrap { overflow-x: auto; max-width: 900px; margin: 0 auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table.compare th, table.compare td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
table.compare thead th { font-size: .95rem; color: var(--ink); background: var(--bg-soft); }
table.compare thead th:not(:first-child) { text-align: center; }
table.compare td:not(:first-child) { text-align: center; }
table.compare tbody th { font-weight: 500; color: var(--ink-2); font-size: .96rem; }
table.compare .yes { color: var(--signal-600); font-weight: 700; }
table.compare .no { color: var(--line-strong); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: none; }
table.compare .col-pro { background: color-mix(in srgb, var(--signal) 7%, transparent); }

/* ---------- legal pages ---------- */
.legal { padding: 56px 0 72px; }
.legal-wrap { max-width: 800px; margin: 0 auto; }
.legal h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: .3rem; }
.legal .updated { font-family: var(--font-mono); font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.08rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal .toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin: 26px 0 8px;
}
.legal .toc h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.legal .toc ol { columns: 2; column-gap: 30px; margin: 0; }
@media (max-width: 560px) { .legal .toc ol { columns: 1; } }
.legal .toc a { color: var(--ink-2); }

/* placeholder highlighter — helps the owner find every [PLACEHOLDER] */

.callout {
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--signal);
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0; font-size: .95rem;
}
.callout.owner {
  border-left-color: var(--ember); background: var(--ember-tint);
}
.callout.owner strong { color: var(--ember); }
.callout p:last-child { margin: 0; }

/* ---------- generic mockups ---------- */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.mock-bar {
  display: flex; align-items: center; gap: .5rem; padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.mock-bar .title { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); margin-left: auto; }
.mock-body { padding: 20px; }

/* demo placeholder (shown until the owner drops in assets/demo.gif) */
.demo-ph {
  width: 100%;
  aspect-ratio: 960 / 420;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  border-top: 1px dashed var(--line-strong);
  background:
    radial-gradient(circle at 30% 28%, color-mix(in srgb, var(--signal) 12%, transparent), transparent 58%),
    var(--bg-soft);
}
.demo-ph-play {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--signal); box-shadow: var(--shadow-md);
  display: grid; place-items: center;
}
.demo-ph-play::after {
  content: ""; width: 0; height: 0;
  border-style: solid; border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.demo-ph-cap {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}

/* mock form rows */
.mrow { margin-bottom: 14px; }
.mrow label { display: block; font-size: .72rem; font-family: var(--font-mono); color: var(--muted); margin-bottom: 5px; letter-spacing: .04em; }
.mfield {
  height: 40px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface-2);
  display: flex; align-items: center; padding: 0 12px; font-size: .9rem; color: var(--ink-2); position: relative;
}
.mfield.filled { border-color: var(--signal); background: color-mix(in srgb, var(--signal) 8%, transparent); color: var(--ink); }
.mfield.invalid { border-color: var(--ember); background: color-mix(in srgb, var(--ember) 9%, transparent); color: var(--ink); }
.mfield .tag {
  margin-left: auto; font-family: var(--font-mono); font-size: .64rem; padding: .16rem .42rem; border-radius: 5px;
  background: var(--signal); color: #fff; letter-spacing: .03em;
}
.mfield.invalid .tag { background: var(--ember); }
.mcaret { width: 2px; height: 18px; background: var(--signal); margin-left: 3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.gen-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gen-chips .chip { font-size: .74rem; padding: .34rem .6rem; }
.gen-chips .chip.on { background: var(--signal); color: #fff; border-color: var(--signal); }

/* profile list mock */
.plist { display: flex; flex-direction: column; gap: 8px; }
.pitem { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.pitem .av { width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--signal) 16%, transparent); color: var(--signal-700); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: .8rem; flex: none; }
.pitem .meta { line-height: 1.25; }
.pitem .meta b { display: block; font-size: .9rem; color: var(--ink); }
.pitem .meta span { font-size: .74rem; color: var(--muted); font-family: var(--font-mono); }
.pitem .pill { margin-left: auto; font-family: var(--font-mono); font-size: .66rem; padding: .2rem .5rem; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }

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

/* utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack-sm > * + * { margin-top: .6rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.text-muted { color: var(--muted); }

/* Conspicuous legal notice — replaces ALL-CAPS blocks. The law asks for the clause to
   be impossible to miss, not for capital letters, and a bordered panel does that better. */
.legal-notice {
  border: 1px solid var(--line, #2a3a33);
  border-left: 3px solid var(--accent, #0E9F6E);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 4px 0 8px;
  background: rgba(14, 159, 110, .05);
}
.legal-notice p { margin: 0; }
