/* ScanCDE website. One dark, calm look for every page; the pictures carry the motion. */
:root {
  color-scheme: light;
  --bg: #ffffff; --bg2: #f4f7fc; --bg3: #eaf0fa;
  --panel: #ffffff; --panel2: #f8fafe;
  --line: rgba(15, 26, 43, .10); --line2: rgba(15, 26, 43, .20);
  --tx: #0f1a2b; --tx2: #4a5870; --tx3: #7a879b;
  --acc: #1f4fa8; --acc2: #0b9a82; --acc-ink: #ffffff; --acc-soft: rgba(31, 79, 168, .08);
  --ok: #15803d; --warn: #b45309; --bad: #b42318;
  --shadow: 0 1px 2px rgba(15, 26, 43, .05), 0 14px 40px rgba(15, 26, 43, .08);
  --glow: 0 1px 2px rgba(15, 26, 43, .08), 0 24px 70px rgba(31, 79, 168, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--acc); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 20; }
.skip:focus { left: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.grad { background: linear-gradient(100deg, #1f4fa8 0%, #2f6bd6 45%, #0b9a82 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .82); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--tx); font-weight: 700; font-size: 20px; letter-spacing: -.3px; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #1f4fa8, #4f86e8); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 6px 18px rgba(31, 79, 168, .35); }
nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a { color: var(--tx2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
nav.main a:hover, nav.main a[aria-current] { color: var(--tx); }
.btn { display: inline-block; padding: 13px 24px; border-radius: 10px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; background: linear-gradient(135deg, #1f4fa8, #3b78e0); color: #fff; box-shadow: 0 8px 24px rgba(31, 79, 168, .30); transition: transform .2s, box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(31, 79, 168, .42); filter: brightness(1.06); }
.btn.ghost { background: #fff; color: var(--tx); border-color: var(--line2); box-shadow: none; }
.btn.ghost:hover { background: var(--bg2); box-shadow: none; }
.btn.sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
nav.main a.btn { color: #fff; }
nav.main a.btn.ghost { color: var(--tx); }

/* hero */
.hero { position: relative; padding: 92px 0 56px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(1000px 520px at 50% -8%, #dbe7ff 0%, rgba(255, 255, 255, 0) 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .5; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.blob.b1 { width: 480px; height: 480px; left: -140px; top: 40px; background: #a9c4ff; animation: drift1 24s ease-in-out infinite alternate; }
.blob.b2 { width: 420px; height: 420px; right: -120px; top: -40px; background: #9fe6d8; opacity: .45; animation: drift2 28s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-100px, 90px) scale(1.2); } }
.hero .wrap { text-align: center; max-width: 960px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--acc); background: var(--acc-soft); border: 1px solid rgba(31, 79, 168, .22); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 0 0 rgba(11, 154, 130, .6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(11, 154, 130, 0); } 100% { box-shadow: 0 0 0 0 rgba(11, 154, 130, 0); } }
h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -2px; margin: 0 0 22px; font-weight: 750; }
h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.1; letter-spacing: -1.2px; margin: 0 0 16px; font-weight: 720; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.3px; font-weight: 650; }
.lead { font-size: clamp(18px, 2.1vw, 22px); color: var(--tx2); max-width: 760px; margin: 0 auto 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.fine { font-size: 14px; color: var(--tx3); margin: 18px auto 0; max-width: 680px; }
.shot-wrap { max-width: 1120px; margin: 54px auto 0; padding: 0 24px; }
.cap { font-size: 14.5px; color: var(--tx3); text-align: center; margin-top: 16px; }

/* the hero picture */
.scene { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 8.2; background: radial-gradient(900px 500px at 25% 30%, #1d3557 0%, #0d1830 55%, #080f20 100%); border: 1px solid rgba(15, 26, 43, .12); box-shadow: var(--glow); }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 700px) { .scene { aspect-ratio: 4 / 5.3; border-radius: 16px; } }

/* sections */
section { padding: 96px 0; position: relative; }
section.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin: 0 0 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--tx2); margin: 0; font-size: 19px; }
.kick { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--acc2); margin-bottom: 12px; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 24px; box-shadow: 0 1px 2px rgba(15, 26, 43, .04); transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-color: var(--line2); box-shadow: var(--shadow); transform: translateY(-3px); }
.card p { margin: 0; color: var(--tx2); font-size: 16px; }
.num { width: 38px; height: 38px; border-radius: 12px; background: var(--acc-soft); color: var(--acc); border: 1px solid rgba(31, 79, 168, .25); display: grid; place-items: center; font-weight: 750; margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: 1.2fr 1fr; }
.split + .split { margin-top: 96px; }
.split .txt p { color: var(--tx2); }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--tx2); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--acc2); border-bottom: 2.5px solid var(--acc2); transform: rotate(-45deg); }

/* the strip of systems */
.systems { padding: 30px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.systems p { text-align: center; margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--tx3); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span { display: inline-flex; align-items: center; gap: 10px; margin: 0 30px; font-size: 20px; font-weight: 650; color: var(--tx2); white-space: nowrap; }
.track span::before { content: ""; width: 16px; height: 20px; border-radius: 3px; background: linear-gradient(135deg, #1f4fa8, #4f86e8); box-shadow: 0 4px 10px rgba(31, 79, 168, .25); }
.track small { font-size: 12px; font-weight: 700; color: var(--acc2); border: 1px solid rgba(11, 154, 130, .45); border-radius: 999px; padding: 1px 8px; letter-spacing: .4px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* a statement, big */
.statement { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -1px; font-weight: 700; max-width: 960px; margin: 0 auto; text-align: center; color: var(--tx); }
.statement em { font-style: normal; color: var(--tx3); }

/* three-step line */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 38px; height: 2px; background: linear-gradient(90deg, var(--acc), var(--acc2)); opacity: .5; transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.steps.in::before { transform: scaleX(1); }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 1px 2px rgba(15, 26, 43, .04); }
.step .num { background: var(--bg); box-shadow: 0 0 0 6px var(--bg2); }
.step p { margin: 0; color: var(--tx2); font-size: 16px; }

/* the capabilities grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 1px 2px rgba(15, 26, 43, .04); transition: border-color .25s, transform .25s, box-shadow .25s; }
.tile:hover { border-color: var(--line2); box-shadow: var(--shadow); transform: translateY(-3px); }
.tile::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 79, 168, .10), transparent 70%); pointer-events: none; }
.tile p { margin: 0; color: var(--tx2); font-size: 16px; }
.tile .ico { width: 44px; height: 44px; border-radius: 13px; background: var(--acc-soft); border: 1px solid rgba(31, 79, 168, .22); display: grid; place-items: center; margin-bottom: 16px; }
.tile .ico svg { width: 22px; height: 22px; stroke: var(--acc); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t2 { grid-column: span 2; } .t3 { grid-column: span 3; } .t4 { grid-column: span 4; }
.ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--acc2) calc(var(--p) * 1%), rgba(15, 26, 43, .09) 0); display: grid; place-items: center; animation: fill 5s ease-out .3s infinite alternate; position: relative; }
.ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
.ring b { position: relative; font-size: 26px; letter-spacing: -1px; }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --i { syntax: "<integer>"; inherits: true; initial-value: 0; }
@keyframes fill { from { --p: 8; --i: 8; } to { --p: 87; --i: 87; } }
.ring b::after { counter-reset: n var(--i); content: counter(n) "%"; }
.tile.row { display: flex; align-items: center; gap: 26px; }
.tile.row .ring { flex: none; }
.tile.row h3 { margin-top: 0; }

/* a table that compares */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: 16px; box-shadow: 0 1px 2px rgba(15, 26, 43, .04); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--tx3); background: var(--bg2); }
.compare thead th.us { color: var(--acc2); }
.compare tbody th { width: 22%; font-weight: 650; color: var(--tx); }
.compare td { color: var(--tx2); width: 39%; }
.compare td.us { color: var(--tx); background: rgba(11, 154, 130, .06); }
.compare td.us::before { content: "\2713"; color: var(--acc2); font-weight: 800; margin-right: 8px; }
.compare td.them::before { content: "\2212"; color: var(--bad); font-weight: 800; margin-right: 8px; }

/* questions */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 650; padding: 18px 40px 18px 0; position: relative; letter-spacing: -.2px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--acc); transition: transform .25s; font-weight: 400; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--tx2); max-width: 720px; }

/* closing band */
.band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 40px; text-align: center; border: 1px solid rgba(31, 79, 168, .4); background: radial-gradient(700px 300px at 50% 0%, #2a56b8 0%, #12275a 75%); box-shadow: var(--glow); color: #fff; }
.band h2 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); }
.band .btn { background: #fff; color: #12275a; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.band .btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.band p { color: #d6e2f7; max-width: 660px; margin: 0 auto 28px; font-size: 18px; }

/* prose pages */
table.facts { width: 100%; border-collapse: collapse; font-size: 16px; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.facts th { width: 30%; font-weight: 650; }
table.facts td { color: var(--tx2); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); }
.note { border-left: 4px solid var(--warn); background: var(--bg2); padding: 16px 20px; border-radius: 0 12px 12px 0; color: var(--tx2); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 44px; font-size: 28px; letter-spacing: -.6px; }
.prose p, .prose li { color: var(--tx2); }
.page-top { padding: 80px 0 24px; position: relative; overflow: hidden; isolation: isolate; }
.page-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 360px at 20% -10%, #dbe7ff 0%, rgba(255, 255, 255, 0) 70%); }
.page-top h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -1.6px; max-width: 880px; }
.page-top .lead { margin: 0; text-align: left; }
.page-top .wrap { text-align: left; }

/* how-it-works timeline */
.flow { position: relative; max-width: 860px; margin: 0 auto; padding-left: 34px; }
.flow::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--acc), var(--acc2)); opacity: .5; }
.flow .item { position: relative; padding: 0 0 46px 30px; }
.flow .item:last-child { padding-bottom: 0; }
.flow .item::before { content: ""; position: absolute; left: -31px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--acc2); box-shadow: 0 0 0 5px rgba(11, 154, 130, .15); }
.flow h3 { font-size: 24px; margin-top: 0; }
.flow p { color: var(--tx2); margin: 0 0 10px; }
.flow .when { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--acc2); margin-bottom: 6px; }

footer.site { border-top: 1px solid var(--line); background: var(--bg2); padding: 54px 0 40px; color: var(--tx2); font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
footer.site h4 { margin: 0 0 12px; color: var(--tx); font-size: 14px; letter-spacing: .6px; }
footer.site a { color: var(--tx2); text-decoration: none; display: block; margin: 7px 0; }
footer.site a:hover { color: var(--tx); }
footer.site a.brand { display: flex; color: var(--tx); }
footer.site .small { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--tx3); font-size: 14px; }

/* things that appear as you scroll (a script adds .rv; without the script everything just shows) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t2, .t3, .t4 { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .cols > :first-child { grid-column: span 2; }
}
@media (max-width: 820px) {
  nav.main a:not(.btn) { display: none; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 28px; }
  .split + .split { margin-top: 64px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 36px; }
  .band { padding: 40px 22px; }
  table.facts th { width: 38%; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100% !important; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .compare th, .compare td { border: 0; padding: 8px 18px; }
  .tile.row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .track, .eyebrow::before, .ring { animation: none !important; }
  .ring { --p: 87; --i: 87; }
  .rv { opacity: 1; transform: none; transition: none; }
  .steps::before { transform: none; transition: none; }
}

/* two small animated graphics (CSS only; they stand still, finished, for anyone who asks for reduced motion) */
.viz { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #fff, var(--bg2)); padding: 22px; box-shadow: var(--shadow); }
.viz svg { width: 100%; height: auto; display: block; }
.vt { font: 600 14px system-ui, sans-serif; fill: var(--tx); }
.vt2 { font: 700 13px system-ui, sans-serif; fill: var(--tx); }
.vd { font: 500 12px system-ui, sans-serif; fill: var(--tx2); }
.vline { stroke: var(--line2); stroke-width: 3; stroke-linecap: round; }
.vgate { stroke: var(--tx3); stroke-width: 1.5; stroke-dasharray: 4 4; }
.vstep { stroke-width: 2.5; }
.vstep.s1, .vstep.s2 { fill: #16a34a; stroke: #16a34a; animation: r1 11s linear infinite; }
.vstep.s2 { animation-name: r2; }
.vstep.s3 { fill: #d98a0b; stroke: #d98a0b; animation: r3 11s linear infinite; }
.vstep.s4 { fill: #fff; stroke: #dc2626; animation: r4 11s linear infinite; }
.vtoday { stroke: var(--acc); stroke-width: 2.5; }
.vtodayhead { fill: var(--acc); }
.today { animation: today 11s linear infinite; }
.lg-ok { fill: #16a34a; } .lg-late { fill: #d98a0b; } .lg-miss { fill: #fff; stroke: #dc2626; stroke-width: 2.5; }
@keyframes today { 0% { transform: translateX(0); opacity: 1; } 92% { transform: translateX(450px); opacity: 1; } 97%, 100% { transform: translateX(450px); opacity: 0; } }
@keyframes r1 { 0%, 10% { fill: #fff; stroke: var(--line2); } 11%, 95% { fill: #16a34a; stroke: #16a34a; } 99%, 100% { fill: #fff; stroke: var(--line2); } }
@keyframes r2 { 0%, 36% { fill: #fff; stroke: var(--line2); } 37%, 95% { fill: #16a34a; stroke: #16a34a; } 99%, 100% { fill: #fff; stroke: var(--line2); } }
@keyframes r3 { 0%, 62% { fill: #fff; stroke: var(--line2); } 63%, 95% { fill: #d98a0b; stroke: #d98a0b; } 99%, 100% { fill: #fff; stroke: var(--line2); } }
@keyframes r4 { 0%, 88% { fill: #fff; stroke: var(--line2); } 89%, 95% { fill: #fff; stroke: #dc2626; } 99%, 100% { fill: #fff; stroke: var(--line2); } }

.rows { font-size: 14px; }
.rhead, .rrow { display: grid; grid-template-columns: 1fr 84px 130px; gap: 10px; align-items: center; padding: 12px 6px; }
.rhead { color: var(--tx3); font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.rrow { border-bottom: 1px solid var(--line); }
.rrow:last-child { border-bottom: 0; }
.mono { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 12.5px; color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip { display: inline-block; font-weight: 700; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); width: max-content; }
.res { font-weight: 700; font-size: 12.5px; padding: 3px 11px; border-radius: 999px; width: max-content; animation: appear 10s ease-out infinite; }
.res.ok { background: #dcfce7; color: #166534; }
.res.late { background: #fef3c7; color: #92400e; }
.res.miss { background: #fee2e2; color: #991b1b; }
.r1 .res { animation-delay: 0s; } .r2 .res { animation-delay: .8s; } .r3 .res { animation-delay: 1.6s; } .r4 .res { animation-delay: 2.4s; } .r5 .res { animation-delay: 3.2s; }
@keyframes appear { 0% { opacity: 0; transform: scale(.85); } 6% { opacity: 0; transform: scale(.85); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) { .viz *, .res, .today { animation: none !important; } }
@media (max-width: 520px) { .rhead, .rrow { grid-template-columns: 1fr 78px 104px; font-size: 12px; } .mono { font-size: 11px; } }

.systems .tm { text-align: center; margin: 18px auto 0; max-width: 760px; padding: 0 24px; font-size: 13px; color: var(--tx3); }

/* community */
[hidden] { display: none !important; }
.comm-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.comm-form { position: sticky; top: 92px; padding: 28px; }
.kinds { border: 0; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kinds legend { font-weight: 650; margin-bottom: 10px; padding: 0; }
.kind { position: relative; display: block; cursor: pointer; }
.kind input { position: absolute; opacity: 0; inset: 0; }
.kind span { display: block; border: 1px solid var(--line2); border-radius: 12px; padding: 10px 14px; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.kind b { display: block; font-size: 16px; }
.kind small { color: var(--tx3); font-size: 13px; line-height: 1.3; display: block; }
.kind input:checked + span { border-color: var(--acc); background: var(--acc-soft); box-shadow: 0 0 0 3px rgba(31, 79, 168, .12); }
.kind input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.kind-note { font-size: 14px; color: var(--tx2); margin: 8px 0 16px; }
.fld { display: block; margin: 0 0 14px; font-weight: 600; font-size: 15px; }
.fld .opt { font-weight: 400; color: var(--tx3); }
.fld input, .fld textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--line2); border-radius: 10px; font: inherit; font-weight: 400; color: var(--tx); background: #fff; }
.fld input:focus, .fld textarea:focus, .comm-filters select:focus { outline: 3px solid rgba(31, 79, 168, .25); border-color: var(--acc); }
.fld textarea { resize: vertical; min-height: 120px; }
.fld select { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--line2); border-radius: 10px; font: inherit; font-weight: 400; color: var(--tx); background: #fff; }
.fld select:focus { outline: 3px solid rgba(31, 79, 168, .25); border-color: var(--acc); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comm-msg { min-height: 24px; margin: 4px 0 12px; font-size: 15px; font-weight: 600; }
.comm-msg.good { color: var(--ok); } .comm-msg.bad { color: var(--bad); }
.comm-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.comm-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.comm-filters label { font-size: 14px; color: var(--tx2); display: inline-flex; align-items: center; gap: 6px; }
.comm-filters select, #panel select, #panel textarea { font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid var(--line2); border-radius: 8px; background: #fff; color: var(--tx); }
.comm-list { display: grid; gap: 14px; margin-bottom: 20px; }
.comm-empty { color: var(--tx3); padding: 30px 0; text-align: center; }
.comm-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 1px 2px rgba(15, 26, 43, .04); }
.vote { flex: none; width: 54px; height: 62px; border: 1px solid var(--line2); border-radius: 12px; background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: inherit; color: var(--tx); transition: border-color .2s, background .2s, transform .2s; }
.vote:hover { border-color: var(--acc); transform: translateY(-2px); }
.vote .tri { font-size: 11px; color: var(--acc); }
.vote b { font-size: 17px; }
.vote.on { background: var(--acc-soft); border-color: var(--acc); }
.comm-body { min-width: 0; flex: 1; }
.comm-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.comm-body h3 { font-size: 18px; margin: 0 0 4px; }
.comm-text { margin: 0 0 8px; color: var(--tx2); font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.comm-meta { margin: 0; font-size: 13px; color: var(--tx3); }
.comm-reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--acc2); background: rgba(11, 154, 130, .07); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--tx); white-space: pre-wrap; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .3px; padding: 2px 10px; border-radius: 999px; background: var(--bg2); color: var(--tx2); text-transform: capitalize; }
.tag.idea { background: rgba(31, 79, 168, .1); color: var(--acc); }
.tag.suggestion { background: rgba(124, 58, 237, .1); color: #6d28d9; }
.tag.feedback { background: rgba(11, 154, 130, .12); color: #0b7a68; }
.tag.bug { background: #fee2e2; color: #991b1b; }
.tag.st-planned { background: #fef3c7; color: #92400e; }
.tag.st-in_progress { background: #dbeafe; color: #1e40af; }
.tag.st-done { background: #dcfce7; color: #166534; }
@media (max-width: 900px) { .comm-grid { grid-template-columns: 1fr; } .comm-form { position: static; } }
@media (max-width: 520px) { .kinds, .two { grid-template-columns: 1fr; } }

/* the logo: the shield mark, then the name with CDE in the accent colour */
.mark-logo { display: block; flex: none; width: 34px; height: 34px; filter: drop-shadow(0 3px 8px rgba(31, 79, 168, .28)); }
.brand .cde { color: var(--acc); }
footer.site a.brand .cde { color: var(--acc); }

.help-card { display: block; color: inherit; text-decoration: none; }
.help-card h3 { color: var(--acc); }
.help-card:hover h3 { text-decoration: underline; }
