/* ==========================================================================
   Home (StoryBrand layout) and Alertas PR. Loaded after styles.css.
   The home uses the same light, topographic look as the original landing
   (texture, white cards, navy panel); styles.css provides the base pieces.
   ========================================================================== */

/* ---------- Hero ---------- */
.h-creds { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.h-creds li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.h-creds li::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23266AB2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

.h-hero-visual { gap: 14px; }
.h-alert {
  margin-left: 48px; background: var(--surface); border-radius: 22px; padding: 26px 28px;
  box-shadow: 0 24px 60px -20px rgba(30, 43, 126, .25);
}
.h-alert-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.h-alert-head svg { width: 22px; height: 22px; fill: none; stroke: var(--bad); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.h-alert-head b { color: #8C1D16; font-weight: 800; }
.h-alert-tag { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--tint); padding: 4px 10px; border-radius: 999px; }
.h-alert-title { margin-top: 14px; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.h-alert-meta { margin-top: 6px; font-size: 14px; color: var(--muted); }
.h-alert-you { margin-top: 16px; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.h-docs {
  align-self: flex-start; display: flex; align-items: center; gap: 10px;
  background: var(--gradient); color: #fff; border-radius: 16px; padding: 14px 20px;
  font-size: 15px; font-weight: 700; box-shadow: 0 20px 50px -18px rgba(30, 43, 126, .55);
}
.h-docs svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--yellow); fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Shared bits ---------- */
.h-h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.12; font-weight: 800; }
.h-body { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 46em; }
.section-head .section-lead { margin-top: 16px; }

.card .h-step + h3 { margin-top: 16px; }
.h-stakes {
  margin-top: 24px; display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 24px; align-items: center;
  border: 1px solid #F2C9C4; background: #FDF6F5; border-radius: var(--radius); padding: 28px 32px;
}
.h-stakes h3 { font-size: 22px; line-height: 1.2; font-weight: 800; color: #8C1D16; }
.h-stakes ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-size: 15.5px; line-height: 1.45; }

/* Proof panel: white card like the self-check showcase */
.h-split {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 52px;
}
.h-case { margin-top: 18px; padding-left: 14px; border-left: 3px solid var(--yellow); font-size: 16.5px; font-weight: 700; color: var(--navy); }
.h-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.h-proof li { background: var(--bg); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.h-proof b { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.h-proof span { font-size: 14px; color: var(--muted); }

.h-plan { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.h-step {
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--yellow);
  font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

.h-shot { margin: 48px 0 0; }
.h-shot-bar { height: 32px; display: flex; gap: 8px; align-items: center; padding: 0 14px; background: var(--line); border-radius: 18px 18px 0 0; }
.h-shot-bar i { width: 12px; height: 12px; border-radius: 50%; background: #E9877F; }
.h-shot-bar i:nth-child(2) { background: var(--yellow); }
.h-shot-bar i:nth-child(3) { background: var(--sky); }
.h-shot img { display: block; width: 100%; height: auto; border-radius: 0 0 18px 18px; box-shadow: 0 30px 60px -30px rgba(30, 43, 126, .45); }
.h-shot figcaption { margin-top: 14px; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------- Hero kicker ---------- */
.h-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 6px 14px 6px 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.h-kicker b { background: var(--navy); color: var(--yellow); padding: 4px 10px; border-radius: 999px; font-size: 12.5px; letter-spacing: .02em; }

/* ---------- Platform: hub with StratumScan core + outer ring of sources ---------- */
.hub-core b { font-size: clamp(9px, 1.7vw, 13px); font-weight: 800; letter-spacing: -.01em; }
.hub-core svg { width: 48%; height: auto; }
.hub-src {
  position: absolute; translate: -50% -50%; white-space: nowrap;
  font-size: clamp(9.5px, 1.6vw, 12.5px); font-weight: 800; color: var(--olive);
  background: var(--yellow-soft); border: 1px solid #E5DF9F; padding: 4px 10px; border-radius: 999px;
}
.feed { stroke: #D9CF6E; stroke-width: .5; stroke-linecap: round; stroke-dasharray: .8 2.2; animation: flow 1.2s linear infinite; }
.hub-diagram.play .hub-src { animation: core-pop .5s calc(4.6s + var(--i) * 80ms) cubic-bezier(.3, 1.5, .5, 1) both; }
.hub-diagram.play .feed { animation: flow-in .5s calc(4.8s + var(--i) * 80ms) ease both, flow 1.2s 4.8s linear infinite; }
.h-feats { margin-top: 24px; }
.h-feats + .audit { margin-top: 24px; }

/* ---------- From alert to evidence ----------
   Five steps on a rail; when the list scrolls in, the rail fills and each step lights up in turn. */
.av { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.av::before, .av::after {
  content: ""; position: absolute; z-index: 0; left: 10%; right: 10%; top: 40px; height: 3px; border-radius: 3px; background: var(--line);
}
.av::after { background: linear-gradient(90deg, var(--bad), var(--blue) 45%, var(--ok)); transform: scaleX(0); transform-origin: left; transition: transform 2.6s cubic-bezier(.4, 0, .2, 1) .2s; }
.av.is-visible::after { transform: scaleX(1); }
.av-step {
  position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 20px; display: flex; flex-direction: column; align-items: flex-start;
  opacity: .35; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease, box-shadow .5s ease;
  transition-delay: calc(.3s + var(--i) * .5s);
}
.av.is-visible .av-step { opacity: 1; transform: none; box-shadow: 0 18px 40px -26px rgba(30, 43, 126, .35); }
.av-num {
  width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--tint); color: var(--muted);
  font-size: 18px; font-weight: 800; display: grid; place-items: center;
  transition: background .4s ease, color .4s ease; transition-delay: inherit;
}
.av.is-visible .av-num { background: var(--navy); color: var(--yellow); }
.av.is-visible .av-step:first-child .av-num { background: var(--bad); color: #fff; }
.av.is-visible .av-step:last-child .av-num { background: var(--ok); color: #fff; }
.av-step h3 { font-size: 16.5px; font-weight: 800; line-height: 1.25; }
.av-step p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.av-art { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.av-tag { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 7px; background: var(--tint); color: var(--navy); }
.av-bad { background: #FBE9E7; color: #8C1D16; }
.av-warn { background: var(--warn-bg); color: #7A4800; }
.av-ok { background: var(--ok-bg); color: #145E3B; }
.av-line { font-size: 12.5px; font-weight: 700; color: var(--ink-2); padding: 4px 0; }
.av-line + .av-line::before { content: "·"; margin-right: 6px; color: var(--muted-2); }
.av-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted-2); }

/* ---------- FSMA 204 countdown ---------- */
.h-fsma {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 36px 40px;
}
.h-fsma-count {
  background: var(--gradient); color: #fff; border-radius: 20px; padding: 24px 28px; text-align: center; min-width: 200px;
  box-shadow: 0 20px 50px -18px rgba(30, 43, 126, .55);
}
.h-fsma-count b { display: block; font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.h-fsma-count span { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 700; }
.h-fsma h3 { font-size: 22px; font-weight: 800; line-height: 1.3; }
.h-fsma h3 + p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Before / after diagrams ----------
   Each stage is a fixed-ratio box; nodes sit at (--x, --y) in % and the SVG
   wires use the same 0–100 space (non-scaling strokes keep them crisp). */
.h-ba-sub { font-weight: 700; color: var(--blue); }
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ba-panel { border-radius: 26px; padding: 28px; display: flex; flex-direction: column; }
.ba-before { background: var(--surface); border: 1px solid var(--line); }
.ba-after { background: var(--gradient); color: #fff; position: relative; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(30, 43, 126, .55); }
.ba-after::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px;
  border-radius: 48px; transform: rotate(45deg); background: rgba(230, 224, 158, .12);
}
.ba-after > * { position: relative; }
.ba-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ba-head h3 { font-size: 21px; font-weight: 800; }
.ba-before h3 { color: var(--muted); }
.ba-after h3 { color: #fff; }
.ba-pill { font-size: 12.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.ba-before .ba-pill { background: #FBE9E7; color: #8C1D16; }
.ba-after .ba-pill { background: var(--yellow); color: var(--navy); }

.ba-stage { position: relative; aspect-ratio: 10 / 8; margin: 22px 0 6px; }
.ba-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ba-wires path { fill: none; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ba-before .ba-wires path { stroke: #E3A9A3; stroke-dasharray: 5 6; }
.ba-rail path { stroke: rgba(255, 255, 255, .3); }
.ba-dots path { stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 2 15; animation: ba-flow 1.2s linear infinite; }
@keyframes ba-flow { to { stroke-dashoffset: -17; } }

.ba-node, .ba-core, .ba-cut {
  position: absolute; left: calc(var(--x, 50) * 1%); top: calc(var(--y, 50) * 1%);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
}
.ba-node {
  width: 26%; padding: 8px 6px; border-radius: 11px; text-align: center;
  font-size: 13px; font-weight: 700; line-height: 1.2;
}
.ba-out { width: 28%; }
.ba-before .ba-src { background: var(--bg); border: 1px dashed #C8CDDB; color: var(--muted); }
.ba-before .ba-out { background: #FDF6F5; border: 1px solid #F2C9C4; color: #8C1D16; }
.ba-after .ba-src { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.ba-after .ba-more { border-style: dashed; color: var(--yellow); }
.ba-after .ba-out { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -12px rgba(5, 8, 30, .5); }
.ba-after .ba-out::before {
  content: ""; display: block; width: 18px; height: 18px; margin: 0 auto 4px; border-radius: 50%;
  background: var(--yellow) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231E2B7E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E");
}

.ba-cut {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1.5px solid var(--bad);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23B3261E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l8 8M14 6l-8 8'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

.ba-core {
  width: 22%; aspect-ratio: 1; border-radius: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.ba-core b { font-size: 13px; font-weight: 800; }
.ba-core-you { background: var(--tint); border: 1.5px dashed #B9C0D0; color: var(--muted); border-radius: 50%; }
.ba-core-you svg { width: 38%; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.ba-q {
  position: absolute; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; background: #fff; color: var(--bad); border: 1.5px solid #F2C9C4;
  animation: ba-bob 2.4s ease-in-out infinite;
}
.ba-q1 { top: -6px; left: 8%; }
.ba-q2 { top: 6%; right: -8px; animation-delay: .6s; }
.ba-q3 { bottom: 2%; left: -8px; animation-delay: 1.2s; background: var(--bad); color: #fff; border-color: var(--bad); }
@keyframes ba-bob { 50% { transform: translateY(-4px); } }
.ba-core-scan { background: #fff; color: var(--navy); box-shadow: 0 0 0 8px rgba(255, 255, 255, .12), 0 18px 40px -14px rgba(5, 8, 30, .6); }
.ba-core-scan::after {
  content: ""; position: absolute; inset: -8px; border-radius: 28px; border: 2px solid rgba(230, 224, 158, .7);
  animation: ba-pulse 2.4s ease-out infinite;
}
@keyframes ba-pulse { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.25); } }
.ba-core-scan svg { width: 58%; height: auto; }

.ba-list { margin-top: 18px; padding-top: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; line-height: 1.45; border-top: 1px solid var(--line-2); }
.ba-after .ba-list { border-top-color: rgba(255, 255, 255, .16); }
.ba-before .ba-list { color: var(--ink-2); }
.ba-list li { display: flex; gap: 12px; }
.ba-list li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 1px; background: no-repeat center / contain; }
.ba-before li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23B3261E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 5l10 10M15 5L5 15'/%3E%3C/svg%3E"); }
.ba-after li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23E6E09E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E"); }

/* ---------- Success panel (reuses the navy .signup block) ---------- */
.h-success h2 { max-width: 22em; margin-inline: auto; line-height: 1.15; }
.h-success .signup-lead { margin-bottom: 28px; }
.h-success :focus-visible { outline-color: var(--yellow); }

/* ---------- FAQ ---------- */
.h-faq { max-width: 860px; }
.h-faq .section-head { margin-bottom: 28px; }
.h-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-top: 10px; }
.h-faq summary { font-size: 17px; font-weight: 700; cursor: pointer; }
.h-faq details p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Demo ---------- */
.h-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.h-self { margin-top: 28px; background: var(--yellow-soft); border-radius: 18px; padding: 22px 24px; color: var(--olive); }
.h-self h3 { font-size: 19px; font-weight: 800; }
.h-self p { margin: 8px 0 14px; font-size: 15px; line-height: 1.5; }
.h-demo-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px -30px rgba(30, 43, 126, .3);
}
.h-demo-form .field input { background: #fff; border-color: #D5DAE5; }
.h-demo-form .field input:focus { border-color: var(--blue); }

.h-public {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px;
}
.h-public h2 { font-size: 21px; font-weight: 800; }
.h-public p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------- Alertas PR ---------- */
.a-brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.a-brand:hover { color: var(--navy); }
.a-brand b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.a-brand > span:not(.a-scan) { font-size: 14px; color: var(--muted); }
.a-scan { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.a-scan svg { width: 26px; height: auto; }
.a-wrap { max-width: 1040px; }
.a-wrap .nav-tools { margin-left: auto; }
.a-hero { padding-block: 44px 20px; }
.a-hero h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; font-weight: 800; color: var(--navy); max-width: 16em; }
.a-hero p { margin-top: 12px; font-size: 18px; color: var(--muted); }
.a-h2 { font-size: 24px; font-weight: 800; color: var(--navy); }
.a-browse { padding-top: 40px; }
.a-chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.a-chips button { font: inherit; cursor: pointer; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; }
.a-chips button:hover { border-color: #C9CEE6; }
.a-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.a-legend { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.a-legend summary { display: flex; align-items: center; gap: 8px; padding: 14px 18px; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--navy); }
.a-legend summary svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; flex: none; }
.a-legend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 4px 18px 18px; border-top: 1px solid var(--line-2); }
.a-legend h3 { margin: 14px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.a-legend ul { display: flex; flex-direction: column; gap: 12px; }
.a-legend li { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.a-legend li:has(> .a-ico) { flex-direction: row; gap: 10px; }
.a-legend li .a-ico { width: 32px; height: 32px; border-radius: 10px; }
.a-legend li .a-ico svg { width: 18px; height: 18px; }
.a-legend .a-sev, .a-legend .a-where { font-size: 12.5px; }
.a-only-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; border-radius: 12px; background: var(--yellow-soft); color: var(--olive); font-size: 14.5px; font-weight: 600; }
.a-only-mine button { font: inherit; font-weight: 800; color: var(--navy); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.a-status { margin-top: 16px; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* Coming-soon note (top) and early-access panel (bottom) */
.a-soon {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; margin-top: 24px;
  padding: 18px 22px; border-radius: 20px; background: var(--gradient); color: #fff;
  box-shadow: 0 20px 44px -22px rgba(30, 43, 126, .7); transition: transform .2s ease, box-shadow .2s ease;
}
.a-soon > * { position: relative; }
.a-soon:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 26px 50px -22px rgba(30, 43, 126, .8); }
.a-soon:focus-visible { outline-color: var(--yellow); }
/* a soft light sweeps across every few seconds */
.a-soon::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 35%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent);
  animation: soon-sweep 4.5s ease-in-out 1s infinite;
}
@keyframes soon-sweep { 0% { left: -40%; } 45%, 100% { left: 120%; } }
.a-soon-deco { position: absolute; right: -50px; top: -60px; width: 170px; height: 170px; border-radius: 40px; transform: rotate(45deg); background: rgba(230, 224, 158, .14); }
.a-soon-mark {
  flex: none; width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .12);
}
.a-soon-mark svg { width: 38px; height: auto; }
.a-soon-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.a-soon-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.a-soon-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.a-soon-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--yellow); animation: soon-ping 1.8s ease-out infinite; }
@keyframes soon-ping { to { transform: scale(3); opacity: 0; } }
.a-soon-title { font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.a-soon-text { font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.a-soon-btn { flex: none; }
.a-soon-tag { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy); }
.a-hero { padding-top: 32px; }
.a-pronto { margin: 8px 0 32px; }
.a-pronto-kicker { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 14px; }
.a-pronto .a-scan { color: #fff; }
.a-pronto .a-scan rect:last-child { fill: #fff; }
.a-pronto .signup-form { margin-top: 0; }

/* A. Check your list — navy panel, chips, scan sweep and a result that pops in */
.a-check {
  position: relative; overflow: hidden; color: #fff; background: var(--gradient);
  border-radius: 26px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(30, 43, 126, .6);
}
.a-check > * { position: relative; }
.a-check :focus-visible { outline-color: var(--yellow); }
.a-check-deco { position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 52px; transform: rotate(45deg); background: rgba(230, 224, 158, .14); }
.a-check h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.a-check-copy p { margin-top: 6px; font-size: 16.5px; color: rgba(255, 255, 255, .88); max-width: 36em; }
.a-add { margin-top: 20px; display: flex; gap: 10px; max-width: 560px; }
.a-term { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: 12px; border: 2px solid transparent; background: #fff; color: var(--ink); min-height: 50px; }
.a-term:focus { outline: none; border-color: var(--yellow); }
.a-suggest { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.a-suggest button {
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, .45); background: transparent; color: #fff;
}
.a-suggest button:hover { background: rgba(255, 255, 255, .1); }
.a-mine { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; }
.a-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px;
  background: #fff; color: var(--navy); font-size: 14.5px; font-weight: 700; animation: chip-in .35s cubic-bezier(.3, 1.5, .5, 1) both;
  transition: background .3s ease, color .3s ease;
}
@keyframes chip-in { from { opacity: 0; transform: scale(.7); } }
.a-chip b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; display: grid; place-items: center; }
.a-chip i { width: 20px; height: 20px; border-radius: 50%; background: var(--ok) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E"); }
.a-chip.is-hit { background: #FDF0EE; color: #8C1D16; }
.a-chip button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--tint); color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; }
.a-chip button:hover { background: var(--line); color: var(--ink); }
.a-check-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.a-new { font-size: 13.5px; font-weight: 800; color: var(--navy); background: var(--yellow); padding: 6px 12px; border-radius: 999px; animation: chip-in .5s .3s cubic-bezier(.3, 1.5, .5, 1) both; }
.a-new[hidden] { display: none; }

/* scanning: a light bar sweeps the panel and each chip pulses in turn */
.a-check::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(230, 224, 158, .28), transparent);
}
.a-check.is-scanning::after { animation: scan-sweep 1.1s ease-in-out 2; }
@keyframes scan-sweep { 0% { left: -30%; opacity: 1; } 100% { left: 100%; opacity: 1; } }
.a-check.is-scanning .a-chip { animation: chip-ping .5s calc(var(--i) * 90ms + .2s) ease both; }
@keyframes chip-ping { 50% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(230, 224, 158, .35); } }
.a-scanning { font-weight: 700; color: var(--yellow); }

.a-result:empty { display: none; }
.a-result { margin-top: 20px; display: flex; gap: 16px; align-items: flex-start; background: #fff; color: var(--ink); border-radius: 18px; padding: 20px 22px; animation: result-in .5s cubic-bezier(.3, 1.4, .5, 1) both; }
.a-result > p { color: var(--muted); }
@keyframes result-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.a-result p + p { margin-top: 4px; }
.a-result-t { font-size: 20px; font-weight: 800; }
.a-result.is-clear .a-result-t { color: #145E3B; }
.a-result.is-hit .a-result-t { color: #8C1D16; }
.a-result p:not(.a-result-t) { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.a-result .btn { margin-top: 12px; }
.a-result .a-keep { margin-top: 10px; font-size: 13px; color: var(--muted); }
.a-badge { flex: none; width: 52px; height: 52px; }
.a-badge svg { width: 100%; height: 100%; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.is-clear .a-badge circle { fill: var(--ok-bg); stroke: var(--ok); }
.is-clear .a-badge path { stroke: var(--ok); stroke-dasharray: 40; animation: draw-check .5s .35s ease both; }
.is-hit .a-badge circle { fill: #FBE9E7; stroke: var(--bad); }
.is-hit .a-badge path { stroke: var(--bad); }
.is-clear .a-badge { animation: badge-pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes draw-check { from { stroke-dashoffset: 40; } }
@keyframes badge-pop { from { transform: scale(.4); opacity: 0; } }

/* B. Pulse: stat tiles + month bars + causes (one hue for magnitude; text stays in ink) */
.a-pulse { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.a-pulse:empty { display: none; }
.a-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.a-stat, .a-chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0; }
.a-stat b { display: block; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.a-stat span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.a-stat-bad b { color: #8C1D16; }
.a-chart figcaption { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.a-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; height: 140px; align-items: end; }
.a-bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; outline-offset: 2px; }
.a-bar i { display: block; width: 100%; max-width: 22px; height: max(var(--h), 3px); border-radius: 4px 4px 0 0; background: var(--sky); transform-origin: bottom; }
.a-bar.is-now i { background: var(--navy); }
.a-bar small { font-size: 11px; font-weight: 700; color: var(--muted-2); line-height: 1; }
.a-pulse.is-in .a-bar i { animation: bar-grow .7s calc(var(--i) * 45ms) cubic-bezier(.2, .8, .2, 1) both; }
@keyframes bar-grow { from { transform: scaleY(0); } }
.a-causes { display: flex; flex-direction: column; gap: 12px; }
.a-causes li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.a-causes b { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.a-causes i { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--tint); position: relative; overflow: hidden; }
.a-causes i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: var(--navy); }
.a-pulse.is-in .a-causes i::after { animation: bar-wide .8s calc(.2s + var(--i) * 90ms) cubic-bezier(.2, .8, .2, 1) both; }
@keyframes bar-wide { from { width: 0; } }
/* hover/focus tooltip for bars */
[data-tip] { position: relative; }
[data-tip]:hover::before, [data-tip]:focus-visible::before {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 3;
  white-space: nowrap; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 8px; pointer-events: none;
}
.a-bar:first-child:hover::before, .a-bar:first-child:focus-visible::before { left: 0; transform: none; }
.a-bar:last-child:hover::before, .a-bar:last-child:focus-visible::before { left: auto; right: 0; transform: none; }
.a-causes li[data-tip]:hover::before, .a-causes li[data-tip]:focus-visible::before { left: 0; transform: none; }

/* C. Cards: icon by type, severity edge, plain-language guidance */
.a-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 28px; }
.a-item {
  display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line);
  border-radius: 14px; padding: 18px 20px; animation: chip-in .3s ease both;
}
.a-cls-1 { border-left-color: var(--bad); }
.a-cls-2 { border-left-color: #E0A23B; }
.a-cls-3 { border-left-color: var(--ok); }
.a-item.is-mine { box-shadow: 0 0 0 2px var(--yellow); }
.a-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.a-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--navy); }
.a-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a-ico-micro { background: #FBE9E7; color: #8C1D16; }
.a-ico-allergen { background: var(--warn-bg); color: #7A4800; }
.a-ico-foreign { background: var(--idle-bg); color: var(--ink-2); }
.a-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.a-sev { font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.a-sev-btn { font: inherit; font-size: 13px; font-weight: 700; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.a-sev-btn i { font-style: normal; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: rgba(255, 255, 255, .7); }
.a-sev-btn:hover { filter: brightness(.96); }
.a-sev-1 { background: #FBE9E7; color: #8C1D16; }
.a-sev-2 { background: var(--warn-bg); color: #7A4800; }
.a-sev-3 { background: var(--ok-bg); color: #145E3B; }
.a-special { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.a-special.is-baby { background: #E5F0FB; color: #1B4F86; }
.a-special.is-allergy { background: #8C1D16; color: #fff; }
.a-state { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.a-state.is-on { border-color: var(--navy); color: var(--navy); }
.a-ann-tag { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--yellow); color: var(--navy); }
.a-codes { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); background: var(--bg); border-radius: 8px; padding: 6px 9px; overflow-wrap: anywhere; }
.a-codes b { font-weight: 800; color: var(--navy); }
.a-ann { padding-top: 36px; }
.a-ann-note { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 52em; }
.a-ann-list { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.a-ann-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: 14px; padding: 14px 16px; }
.a-ann-card.is-mine { box-shadow: 0 0 0 2px var(--yellow); }
.a-ann-card h3 { font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.a-ann-card > a { margin-top: auto; font-size: 14px; font-weight: 700; }
.a-src { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: var(--navy); color: #fff; }
.a-where { font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--ink-2); }
.a-where.is-pr { background: var(--yellow-soft); color: var(--olive); }
.a-flag { font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy); }
.a-item h2 { font-size: 17px; font-weight: 700; line-height: 1.35; }
.a-hits { font-size: 14px; color: var(--olive); background: var(--yellow-soft); padding: 6px 10px; border-radius: 8px; align-self: flex-start; }
.a-reason { font-size: 15px; color: var(--muted); }
.a-prods { margin-top: 2px; }
.a-prods summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--blue); }
.a-prods ol { list-style: none; margin: 10px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; counter-reset: prod; }
.a-prods li { counter-increment: prod; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 12px 46px; border-top: 1px solid var(--line-2); }
.a-prods li:first-child { border-top: 0; }
.a-prods li::before {
  content: counter(prod); position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center; background: var(--tint); color: var(--muted); font-size: 12px; font-weight: 800;
}
.a-prods li > b { font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.a-prods li.is-hit { background: var(--yellow-soft); }
.a-prods li.is-hit::before { background: var(--yellow); color: var(--navy); }
.a-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.a-tag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--tint); color: var(--ink-2); white-space: nowrap; }
.a-upc { font-variant-numeric: tabular-nums; letter-spacing: .02em; background: var(--bg); border: 1px solid var(--line); }
.a-tag-hit { background: var(--yellow); color: var(--navy); }
.a-rest { font-size: 13px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.a-body > .a-tags { margin-top: -2px; }
.a-orig { font-size: 13px; color: var(--muted-2); }
.a-guide { margin-top: 4px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.a-guide summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--blue); }
.a-guide > p { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.a-guide-cols { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a-guide-cols > div { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.a-guide-cols b { font-size: 13px; font-weight: 800; color: var(--navy); }
.a-guide-cols p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.a-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 600; }
.a-links button { font: inherit; font-weight: 600; color: var(--blue); background: none; border: 0; padding: 0; cursor: pointer; }
.a-more { align-self: center; margin-top: 6px; }
.a-biz { margin-bottom: 40px; background: var(--gradient); color: #fff; border-radius: 20px; padding: 26px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.a-biz > div { flex: 1 1 420px; }
.a-biz h2 { font-size: 20px; font-weight: 800; }
.a-biz p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.a-biz :focus-visible { outline-color: var(--yellow); }
.a-note { font-size: 13px; color: var(--muted); padding-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .h-alert { margin-left: 0; }
  .av { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 640px; margin-inline: auto; }
  .av::before, .av::after { left: 39px; right: auto; top: 30px; bottom: 30px; width: 3px; height: auto; }
  .av::after { background: linear-gradient(180deg, var(--bad), var(--blue) 45%, var(--ok)); transform: scaleY(0); transform-origin: top; }
  .av.is-visible::after { transform: scaleY(1); }
  .av-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 16px 18px; align-items: start; }
  .av-num { grid-row: 1 / span 3; margin: 0; }
  .av-art { padding-top: 10px; }
  .ba { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
}
@media (max-width: 980px) {
  .a-pulse { grid-template-columns: minmax(0, 1fr); }
  .a-ann-list { grid-template-columns: minmax(0, 1fr); }
  .a-legend-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .h-plan, .h-stakes ul { grid-template-columns: 1fr; }
  .h-stakes, .h-split, .h-demo { grid-template-columns: 1fr; }
  .h-split { padding: 36px; gap: 32px; }
}
@media (max-width: 600px) {
  .h-fsma { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .h-fsma-count b { font-size: 46px; }
  .hub-src { padding: 3px 7px; }
  .ba-after .ba-out::before { display: none; }
  .h-stakes { padding: 22px; }
  .h-split { padding: 24px; border-radius: 20px; }
  .h-demo-form, .h-public { padding: 22px; }
  .h-proof li { padding: 16px; }
  .h-proof b { font-size: 26px; }
  .ba-panel { padding: 20px; border-radius: 20px; }
  .ba-stage { aspect-ratio: 10 / 11; }
  .ba-node { font-size: 11.5px; padding: 7px 4px; border-radius: 9px; }
  .ba-out { width: 29%; }
  .ba-core { border-radius: 16px; }
  .ba-core { width: 24%; }
  .ba-core b { font-size: 11px; }
  .ba-core-scan b { display: none; }
  .ba-core-scan svg { width: 66%; }
  .ba-q { width: 18px; height: 18px; font-size: 11px; }
  .a-soon { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .a-soon-mark { width: 48px; height: 48px; border-radius: 14px; }
  .a-soon-mark svg { width: 32px; }
  .a-soon-copy { flex: 1 1 200px; }
  .a-soon-btn { width: 100%; }
  .a-brand { gap: 6px; }
  .a-brand b { font-size: 19px; }
  .a-brand > span:not(.a-scan) { display: none; }
  .a-scan { font-size: 13px; }
  .a-scan svg { width: 20px; }
  .a-check { padding: 22px; border-radius: 20px; }
  .a-check-actions .btn { width: 100%; }
  .a-result { padding: 16px; gap: 12px; }
  .a-badge { width: 40px; height: 40px; }
  .a-result-t { font-size: 18px; }
  .a-pulse, .a-stats { grid-template-columns: minmax(0, 1fr); }
  .a-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .a-stat { padding: 14px; }
  .a-stat b { font-size: 28px; }
  .a-stat span { font-size: 12px; }
  .a-item { padding: 14px; gap: 10px; }
  .a-ico { width: 34px; height: 34px; }
  .a-guide-cols { grid-template-columns: 1fr; }
}
