/* Public pages: landing and About (2026-11-21). Uses the tokens in style.css. */
body.public { background: var(--surface); }
.pub-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* Top bar */
.pub-bar { position: sticky; top: 0; z-index: 30; background: rgba(14,42,71,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.pub-bar-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.pub-nav { display: flex; gap: 22px; margin-inline-start: auto; }
.pub-nav a { color: #c9d8ea; text-decoration: none; font-size: 14.5px; white-space: nowrap; }
.pub-bar .brand span, .pub-bar .topbar-name { white-space: nowrap; }
.pub-nav a:hover, .pub-nav a[aria-current="page"] { color: #fff; }
/* Active section: brighter text and a short accent underline that grows in. */
.pub-nav a { position: relative; padding: 6px 0; transition: color .2s ease; }
.pub-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: #7fe3ee; transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.pub-nav a.is-active, .pub-nav a[aria-current="page"] { color: #fff; }
.pub-nav a.is-active::after, .pub-nav a[aria-current="page"]::after { transform: scaleX(1); }
html { scroll-behavior: smooth; }
.pub-actions { display: flex; align-items: center; gap: 12px; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: #0e8a9b; border-color: #0e8a9b; color: #fff; }
.btn-large { padding: 12px 22px; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 80% 0%, #1b4f86 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0b2240 100%); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; padding-top: 88px; padding-bottom: 96px; max-width: 1140px; }
.hero-inner > * { max-width: 640px; }
.hero-kicker { margin: 0 0 12px; color: #7fe3ee; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.hero h1, .page-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -.02em; }
.hero-lead { margin: 0 0 28px; color: #d3e1f1; font-size: 18px; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.hero-link { color: #bfe9f0; margin-inline-start: 6px; }
.hero-link:hover { color: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: #c9d8ea; font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { color: #7fe3ee; }
.page-hero { color: #fff; background: linear-gradient(160deg, var(--navy) 0%, #0b2240 100%); padding: 72px 0 64px; }
.page-hero .pub-wrap > * { max-width: 760px; }

/* Blueprint animation */
.draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s ease-out forwards; }
.draw.d2 { animation-delay: .6s; }
.draw.d3 { animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.art-scan { animation: scan 5s ease-in-out 1.5s infinite; opacity: 0; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(380px); opacity: 0; } }
.art-sheet { animation: float 9s ease-in-out infinite; transform-origin: center; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Sections */
.pub-section { padding: 76px 0; scroll-margin-top: var(--header-h, 64px); }
.pub-alt { background: var(--bg); }
.pub-section h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.015em; }
.pub-lead { margin: 0 0 32px; color: var(--muted); font-size: 17px; max-width: 720px; }
.pub-more { margin: 26px 0 0; }
.pub-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feature { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature h3 { margin: 14px 0 6px; font-size: 17px; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); line-height: 1.55; }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: none; }
.how-steps li { position: relative; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.how-steps h3 { margin: 12px 0 6px; font-size: 16.5px; color: var(--navy); }
.how-steps p { margin: 0; color: var(--muted); }
.how-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #7fe3ee; font-weight: 700; }
.timeline { margin: 28px 0 0; padding: 0 0 0 26px; list-style: none; border-inline-start: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 18px; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.timeline h3 { margin: 0 0 4px; font-size: 17px; color: var(--navy); }
.timeline p { margin: 0; color: var(--muted); max-width: 760px; }

/* Sample review */
.pub-demo { background: linear-gradient(180deg, var(--bg), #fff); }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 24px; }
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.demo-head h3 { margin: 8px 0 2px; font-size: 20px; color: var(--navy); }
.demo-meta { margin: 0; color: var(--muted); font-size: 14px; }
.demo-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff4df; color: #8a5300; font-size: 12.5px; font-weight: 650; }
.demo-run { display: inline-flex; align-items: center; gap: 8px; }
.demo-steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.demo-steps[hidden], .demo-run[hidden] { display: none; }
.demo-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.demo-steps li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.demo-steps li.is-active { color: var(--ink); }
.demo-steps li.is-active::before { border-color: var(--brand); border-top-color: transparent; animation: spin .8s linear infinite; }
.demo-steps li.is-done { color: var(--ok); }
.demo-steps li.is-done::before { background: var(--ok); border-color: var(--ok); }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-results { display: grid; gap: 14px; margin-top: 18px; }
.demo-results.is-hidden { display: none; }
.demo-results.is-revealed > * { animation: rise .45s ease-out both; }
.demo-results.is-revealed > *:nth-child(2) { animation-delay: .1s; }
.demo-results.is-revealed > *:nth-child(3) { animation-delay: .2s; }
.demo-results.is-revealed > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.demo-status { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); }
.demo-status strong { color: var(--navy); font-size: 18px; }
.demo-status .muted { font-size: 13px; }
.demo-finding { padding: 16px 18px; border: 1px solid var(--line); border-inline-start: 4px solid var(--line); border-radius: 12px; }
.demo-finding.finding-compliant { border-inline-start-color: #1d7a46; }
.demo-finding.finding-missing_information { border-inline-start-color: #e0703a; }
.demo-finding h4 { margin: 8px 0 4px; font-size: 16px; color: var(--navy); }
.demo-finding-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-type { color: #fff; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.demo-decision { font-size: 12.5px; color: var(--muted); }
.demo-decision.is-accepted { color: var(--ok); font-weight: 650; }
.demo-decision.is-edited { color: var(--brand-dark); font-weight: 650; }
.demo-decision.is-rejected { color: var(--danger); font-weight: 650; }
.demo-comment { margin: 0 0 8px; }
.demo-comment[contenteditable="true"] { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; background: #fbfdff; }
.demo-evidence summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--brand-dark); font-weight: 600; font-size: 14px; }
.demo-evidence dl { margin: 10px 0 0; display: grid; gap: 8px; }
.demo-evidence dl div { padding: 10px 12px; background: #f6f8fb; border-radius: 8px; }
.demo-evidence dt { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.demo-evidence dd { margin: 2px 0 0; font-style: italic; }
.demo-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.demo-actions .btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.demo-note { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }

/* Before / after */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.ba-card { margin: 0; padding: 24px; border-radius: 14px; border: 1px solid var(--line); }
.ba-card figcaption { font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.ba-card blockquote { margin: 12px 0; font-size: 17px; line-height: 1.55; }
.ba-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.ba-card li { display: flex; align-items: center; gap: 6px; }
.ba-before { background: #f7f8fa; color: #4a5767; }
.ba-before figcaption { color: #7b8796; }
.ba-before li::before { content: "?"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e2e7ee; font-size: 12px; font-weight: 700; }
.ba-after { background: #f1fbf5; border-color: #bfe3cc; }
.ba-after figcaption { color: var(--ok); }
.ba-after .icon { color: var(--ok); }

/* Comparison table */
table.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
table.compare-table th, table.compare-table td { padding: 13px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 14.5px; }
table.compare-table thead th { background: var(--navy); color: #fff; font-size: 13.5px; }
table.compare-table thead th:last-child { background: var(--brand-dark); }
table.compare-table tbody th { color: var(--navy); width: 24%; }
table.compare-table td { color: var(--muted); }
table.compare-table td:last-child { color: var(--ink); background: #f7fbff; }
table.compare-table tr:last-child > * { border-bottom: 0; }

/* Screens */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.shot figcaption strong { color: var(--navy); margin-inline-end: 4px; }

/* Call to action and contact */
.pub-cta { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0; }
.pub-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pub-cta h2 { margin: 0 0 6px; color: #fff; font-size: 26px; }
.pub-cta p { margin: 0; color: #c9d8ea; }
.contact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; box-shadow: var(--shadow); background: var(--surface); }
.contact-list a:hover { border-color: #b7cbe4; box-shadow: var(--shadow-lg); }
.contact-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: #0b7f8f; flex: none; }
.contact-label { display: block; font-size: 12.5px; color: var(--muted); }
.contact-text { display: block; font-weight: 600; color: var(--navy); word-break: break-word; }

/* Footer */
.pub-footer { background: #0a1f36; color: #9fb6cf; padding: 40px 0 28px; }
.pub-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.pub-footer p { margin: 10px 0 0; max-width: 420px; font-size: 14px; }
.pub-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.pub-footer nav a { color: #c9d8ea; text-decoration: none; font-size: 14px; }
.pub-footer nav a:hover { color: #fff; }
.pub-footer .pub-copy { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; max-width: none; }

/* Phone and tablet */
@media (max-width: 1080px) { .pub-bar .topbar-name { display: none; } }
@media (max-width: 920px) {
  /* Tablets and phones: the same links in a sideways-scrolling row under the bar. */
  .pub-bar-inner { flex-wrap: wrap; row-gap: 0; padding-top: 8px; }
  .pub-actions { margin-inline-start: auto; }
  .pub-nav { order: 3; width: 100%; margin: 0; gap: 20px; overflow-x: auto; padding: 4px 2px 10px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pub-nav::-webkit-scrollbar { display: none; }
  .pub-nav a { font-size: 14px; }
}
@media (max-width: 640px) {
  .pub-wrap { padding: 0 16px; }
  .pub-bar-inner { gap: 12px; }
  .pub-bar .brand span { white-space: normal; font-size: 15px; line-height: 1.2; }
  .pub-actions .topbar-user { display: none; }
  .hero-inner { padding-top: 56px; padding-bottom: 64px; }
  .hero-lead { font-size: 16.5px; }
  .pub-section { padding: 52px 0; }
  .demo { padding: 16px; }
  .pub-footer-inner { grid-template-columns: 1fr; }
  .hero-art .art-sheet, .hero-art .art-scan { opacity: .35; }
  table.compare-table, table.compare-table tbody, table.compare-table tr, table.compare-table th, table.compare-table td { display: block; width: auto; }
  table.compare-table thead { display: none; }
  table.compare-table tbody tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  table.compare-table tbody th { border: 0; padding: 4px 16px; width: auto; }
  table.compare-table td { border: 0; padding: 4px 16px; background: none; }
  table.compare-table td:last-child { background: none; }
  table.compare-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw { stroke-dashoffset: 0; }
  .art-scan { display: none; }
}

/* Register (2026-11-27): an intro panel and the form card, one column on phones. */
.pub-actions .btn-outline-light[aria-current="page"], .pub-register[aria-current="page"] { box-shadow: 0 0 0 2px rgba(127,227,238,.6); }
.pub-register { display: inline-flex; align-items: center; gap: 6px; }
.reg-page { padding: 48px 0 72px; background: linear-gradient(180deg, #eef3f8 0%, var(--surface) 320px); }
.reg-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.reg-intro { position: sticky; top: 96px; padding: 32px; border-radius: 14px; color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, #1b4f86 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0b2240 100%); }
.reg-intro h1 { margin: 0 0 10px; color: #fff; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.015em; }
.reg-lead { margin: 0 0 20px; font-size: 17px; line-height: 1.55; }
.reg-intro .reg-lead { color: #d3e1f1; }
.reg-points { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; color: #d3e1f1; font-size: 14.5px; }
.reg-points li { display: flex; gap: 8px; align-items: flex-start; } .reg-points .icon { color: #7fe3ee; flex: none; margin-top: 2px; }
.reg-note { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); color: #bcd0e6; font-size: 13.5px; line-height: 1.5; }
.reg-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: 0 10px 30px rgba(14,42,71,.08); }
.reg-form fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.reg-form legend { font-weight: 650; margin-bottom: 10px; color: var(--navy); }
.reg-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reg-types legend { grid-column: 1 / -1; }
.reg-type { position: relative; display: block; cursor: pointer; margin: 0; }
.reg-type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.reg-type-body { display: grid; gap: 6px; height: 100%; padding: 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfd; transition: border-color .15s, box-shadow .15s; }
.reg-type-body .icon { color: var(--accent); }
.reg-type-body strong { color: var(--navy); font-size: 15px; }
.reg-type-body span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.reg-type input:checked + .reg-type-body { border-color: var(--accent); background: #f0fafb; box-shadow: 0 0 0 3px rgba(17,153,170,.15); }
.reg-type input:focus-visible + .reg-type-body { outline: 2px solid var(--brand); outline-offset: 2px; }
.reg-types.has-error .reg-type-body { border-color: #b3261e; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 14px; }
.reg-grid > .reg-span, .reg-grid > .field-error { grid-column: 1 / -1; }
.reg-grid label, .reg-phone > label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink, #1c2733); }
.reg-grid input, .reg-grid select { width: 100%; min-width: 0; }
.reg-phone-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px; }
.reg-phone .hint { margin: 6px 0 0; }
.reg-company { padding: 16px !important; border: 1px solid var(--line) !important; border-radius: 10px; background: #fbfcfd; }
.reg-company .reg-grid { margin-bottom: 0; }
.reg-form [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 2px rgba(179,38,30,.12); }
.reg-strength { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.reg-meter { flex: none; width: 110px; height: 6px; border-radius: 3px; background: #e3e8ee; overflow: hidden; }
.reg-meter span { display: block; height: 100%; width: 0; transition: width .2s; background: #b3261e; }
.reg-meter span.s1 { background: #c27c0e; } .reg-meter span.s2 { background: #2f8f4e; } .reg-meter span.s3 { background: #1e7b34; }
.reg-agree { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 4px; font-size: 14px; line-height: 1.5; }
.reg-agree input { margin-top: 3px; }
.reg-agree.has-error span { color: #b3261e; }
.reg-submit { width: 100%; justify-content: center; margin-top: 16px; }
.reg-submit:disabled { opacity: .75; cursor: progress; }
.reg-login { text-align: center; margin: 14px 0 0; }
.reg-done { max-width: 640px; text-align: center; padding-top: 24px; }
.reg-done h1 { margin: 12px 0 10px; color: var(--navy); }
.reg-done .hero-cta { justify-content: center; margin-top: 24px; }
.reg-done-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e7f4ea; color: #1e7b34; }
.legal-wrap { max-width: 820px; }
.legal-wrap h1 { color: var(--navy); margin: 0 0 18px; }
.legal-text { white-space: pre-line; line-height: 1.65; }
.legal-wrap .legal-heading { color: var(--navy); font-size: 19px; line-height: 1.35; margin: 28px 0 8px; }
.legal-updated { color: var(--muted, #5b6673); font-size: 14px; margin: -10px 0 20px; }
@media (max-width: 900px) {
  .reg-wrap { grid-template-columns: 1fr; gap: 20px; }
  .reg-intro { position: static; padding: 22px; }
}
@media (max-width: 560px) {
  .reg-card { padding: 18px; }
  .reg-types, .reg-grid { grid-template-columns: 1fr; }
  .reg-phone-row { grid-template-columns: minmax(0, 1fr); }
}
/* The shared .form box and grid labels, adjusted inside the registration card. */
.reg-card .reg-form { max-width: none; padding: 0; background: none; border: 0; border-radius: 0; gap: 0; }
.reg-form label.reg-agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.reg-form label.reg-agree input { flex: none; width: auto; margin-top: 3px; }
.reg-form .reg-type { display: block; }
.reg-form .field-error { margin: -6px 0 8px; color: #b3261e; font-size: 13px; font-weight: 600; }
.reg-form .password-group > label { display: block; }
.reg-form .password-group > label .hint { font-weight: 400; }

/* Invitation page (2026-11-27, phase 2) */
.inv-message { margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid #7fe3ee; background: rgba(255,255,255,.07); border-radius: 0 8px 8px 0; color: #e6eef7; }
.inv-message p { margin: 0 0 6px; white-space: pre-line; line-height: 1.5; font-size: 14.5px; }
.inv-message footer { color: #9fb6cf; font-size: 13px; }
.inv-message footer::before { content: "— "; }
.inv-facts { margin: 0 0 20px; display: grid; gap: 10px; }
.inv-facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.inv-facts dt { color: #9fb6cf; }
.inv-facts dd { margin: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.inv-title { margin: 0 0 4px; color: var(--navy); font-size: 22px; }
.inv-sub { margin: 0 0 18px; }
.reg-form input.inv-locked { background: #eef2f6; color: #3b4a5a; cursor: not-allowed; }
.reg-grid label .hint { font-weight: 400; }
.inv-mark-stop { background: #eef2f6; color: var(--navy); }


/* Hero demo (2026-11-28): an illustrative product demonstration on the right of the hero (_hero_demo.html).
   One 18 s loop: scene 1 (standard review) for the first half, scene 2 (R00 vs R01) for the second. Every part
   shares the same keyframes; --d places a part in its scene and --shift moves scene 2 by half a loop. Only
   opacity, transform and stroke-dashoffset are animated. Static (the finished report) for reduced motion and on
   phones; paused while off screen. */
.hero-inner > .hd { max-width: 640px; margin-top: 40px; }
.hd-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.hd-frame { fill: rgba(8, 26, 48, .78); stroke: rgba(127, 227, 238, .28); }
.hd-step circle { fill: rgba(127, 227, 238, .18); stroke: #7fe3ee; }
.hd-step text { fill: #d3e1f1; font-size: 9.5px; font-weight: 600; }
.hd-step .hd-n { fill: #7fe3ee; font-size: 9px; font-weight: 700; }
.hd-paper { fill: #fff; stroke: #c9d3dd; }
.hd-paper-head { fill: #e9eef4; }
.hd-h { fill: #1f4e79; font-size: 8.5px; font-weight: 750; letter-spacing: .04em; }
.hd-sub { fill: #55606b; font-size: 8px; }
.hd-ref { fill: #1f4e79; font-size: 8.5px; font-weight: 700; }
.hd-pg { fill: #1f5a8a; font-size: 8px; font-weight: 700; }
.hd-t { fill: #333; font-size: 8.5px; }
.hd-faint { fill: #7a8590; font-style: italic; }
.hd-fake { fill: #e3e8ee; }
.hd-hl { fill: rgba(17, 153, 170, .16); stroke: rgba(17, 153, 170, .55); stroke-width: .8; }
.hd-line { fill: none; stroke: #7fe3ee; stroke-width: 1.6; stroke-dasharray: 100; stroke-linecap: round; }
.hd-line-miss { stroke: #f0a39b; stroke-dasharray: 4 4; }
.hd-fixed-label { fill: #bfe9f0; font-size: 7.5px; font-weight: 700; letter-spacing: .06em; }
.hd-chip rect { fill: rgba(127, 227, 238, .12); stroke: rgba(127, 227, 238, .55); }
.hd-chip text { fill: #e6f6f9; font-size: 8.5px; font-weight: 650; }
.hd-progress-label { fill: #bfe9f0; font-size: 9px; }
.hd-track { fill: rgba(255, 255, 255, .12); }
.hd-bar { fill: #7fe3ee; transform-box: fill-box; transform-origin: left center; }
.hd-sheet { fill: #fff; stroke: #c9d3dd; }
.hd-brand { fill: #1f4e79; }
.hd-rt { fill: #fff; font-size: 11px; font-weight: 700; }
.hd-rs { fill: #cfe0f1; font-size: 8px; }
.hd-sec { fill: #1f4e79; font-size: 10px; font-weight: 700; }
.hd-sum { fill: #55606b; font-size: 7.6px; }
.hd-th { fill: #fff; font-size: 7.6px; font-weight: 700; }
.hd-td { fill: #333; font-size: 7.8px; }
.hd-ev { fill: #333; font-size: 7.6px; }
.hd-cell-line { stroke: #c9d3dd; stroke-width: .6; }
.hd-sep { stroke: #0f2f4d; stroke-width: 1.2; }
.hd-box { fill: none; stroke: #1f4e79; stroke-width: .8; }
.hd-b { font-size: 7.4px; font-weight: 700; }
.hd-chip-t { font-size: 8px; font-weight: 700; }
.hd-foot { fill: #55606b; font-size: 7.6px; }
.hd-caption { fill: #bfe9f0; font-size: 11px; font-weight: 600; }

/* the timeline: 18 s, 9 s per tool. Each tool opens with a title card, then documents, matching and the report;
   then it slides out to the left while the other tool slides in from the right (2026-11-28). */
.hd-scene-2 { --shift: -9s; }
.hd-scene, .hd-intro, .hd-docs, .hd-hl, .hd-line, .hd-bar, .hd-report, .hd-row, .hd-badge, .hd-step {
  animation-duration: 18s; animation-iteration-count: infinite; animation-timing-function: ease-in-out;
  animation-fill-mode: both; animation-delay: calc(var(--d, 0s) + var(--shift, 0s)); }
.hd-scene { animation-name: hd-scene; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
.hd-intro { animation-name: hd-intro; transform-box: fill-box; transform-origin: center; }
.hd-docs { animation-name: hd-docs; transform-box: fill-box; transform-origin: center; }
.hd-hl { animation-name: hd-hl; }
.hd-line { animation-name: hd-line; }
.hd-bar { animation-name: hd-bar; animation-timing-function: linear; }
.hd-report { animation-name: hd-report; }
.hd-row { animation-name: hd-row; }
.hd-badge { animation-name: hd-badge; transform-box: fill-box; transform-origin: center; }
.hd-step-a { animation-name: hd-step-a; }
.hd-step-b { animation-name: hd-step-b; }
.hd-step-c { animation-name: hd-step-c; }
@keyframes hd-scene { 0%, 46% { transform: translateX(0); } 50% { transform: translateX(-470px); }
  50.01%, 96% { transform: translateX(470px); } 100% { transform: translateX(0); } }
@keyframes hd-intro { 0%, 5% { opacity: 1; transform: none; } 8%, 92% { opacity: 0; transform: scale(.94); }
  95%, 100% { opacity: 1; transform: none; } }
@keyframes hd-docs { 0%, 5% { opacity: 0; transform: translateY(6px); } 8%, 20% { opacity: 1; transform: none; }
  23%, 100% { opacity: 0; transform: translateY(-8px) scale(.97); } }
@keyframes hd-hl { 0%, 9% { opacity: 0; } 11%, 19% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes hd-line { 0%, 10% { stroke-dashoffset: 100; opacity: 1; } 15%, 19% { stroke-dashoffset: 0; opacity: 1; }
  21%, 100% { stroke-dashoffset: 100; opacity: 0; } }
@keyframes hd-bar { 0%, 9% { transform: scaleX(0); } 20%, 40% { transform: scaleX(1); } 41%, 100% { transform: scaleX(0); } }
@keyframes hd-report { 0%, 21% { opacity: 0; transform: translateY(14px); } 25%, 49.9% { opacity: 1; transform: none; }
  50%, 100% { opacity: 0; transform: translateY(14px); } }
@keyframes hd-row { 0% { opacity: 0; transform: translateY(5px); } 3%, 40% { opacity: 1; transform: none; } 44%, 100% { opacity: 0; } }
@keyframes hd-badge { 0% { opacity: 0; transform: scale(.6); } 3% { opacity: 1; transform: scale(1.08); }
  4.5%, 40% { opacity: 1; transform: none; } 44%, 100% { opacity: 0; } }
@keyframes hd-step-a { 0%, 8% { opacity: 1; } 10%, 93% { opacity: .38; } 96%, 100% { opacity: 1; } }
@keyframes hd-step-b { 0%, 8% { opacity: .38; } 10%, 21% { opacity: 1; } 23%, 100% { opacity: .38; } }
@keyframes hd-step-c { 0%, 21% { opacity: .38; } 23%, 47% { opacity: 1; } 50%, 100% { opacity: .38; } }
/* header band and title card, one accent colour per tool */
.hd-tool-1 { --accent: #7fe3ee; --band: rgba(127, 227, 238, .13); }
.hd-tool-2 { --accent: #c3b2ff; --band: rgba(195, 178, 255, .15); }
.hd-head-band { fill: var(--band); }
.hd-head-accent { fill: var(--accent); }
.hd-head-name { fill: #fff; font-size: 16px; font-weight: 750; letter-spacing: -.01em; }
.hd-head-sub { fill: #9fb8d3; font-size: 8.5px; }
.hd-intro-name { fill: #fff; font-size: 26px; font-weight: 750; letter-spacing: -.015em; }
.hd-intro-line { fill: #c9d8ea; font-size: 12px; }
.hd.is-paused * { animation-play-state: paused; }

/* Desktop: the right side of the hero, beside the unchanged text. It starts 40px after the 640px text column and
   may reach past the centred page width into the free space on wide screens (40px from the window edge), up to
   680px wide (2026-11-28: made bigger). */
@media (min-width: 1120px) {
  .hero-inner > .hd { position: absolute; top: 50%; left: 704px; transform: translateY(-50%);
    width: min(680px, calc(100vw - max(0px, (100vw - 1140px) / 2) - 744px)); max-width: none; margin: 0; }
}
/* Phones and reduced motion: one still picture, the finished standard review report. */
@media (max-width: 699px) {
  .hero-inner > .hd { margin-top: 32px; }
}
@media (max-width: 699px), (prefers-reduced-motion: reduce) {
  .hd * { animation: none !important; }
  .hd-scene-2, .hd-docs, .hd-intro, .hd-caption { display: none; }
  .hd-step { opacity: .38; }
  .hd-step-c { opacity: 1; }
}
