/* ======================================================================
   V19 FINAL POLISH — readability, chronology, Genesis clarity, hero spark
   ====================================================================== */
.theme-v19{
  --v19-orange:#ff6427;
  --v19-orange-deep:#d94f1d;
  --v19-ink:#17120f;
  --v19-copy:#625850;
  --v19-cream:#fff7f1;
  --v19-cream-2:#ffe9dc;
  --v19-brown:#2a1209;
  --v19-brown-2:#140c09;
}

/* ----------------------------------------------------------------------
   HOME HERO — preserve the strong dark hero but introduce a restrained
   warm-white spark/light well so the first screen is not one flat color.
   ---------------------------------------------------------------------- */
.theme-v19 .hero-cerebras{
  position:relative!important;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(650px 500px at 78% 24%,rgba(255,255,255,.15) 0%,rgba(255,247,239,.075) 28%,transparent 62%),
    radial-gradient(540px 420px at 43% 86%,rgba(255,248,241,.08),transparent 68%),
    radial-gradient(900px 610px at 13% 48%,#962a0a 0%,#431608 35%,#1a0c07 68%,#0f0c0b 100%)!important;
}
.theme-v19 .hero-cerebras:before{
  content:"";position:absolute;z-index:0;pointer-events:none;
  width:650px;height:650px;right:8%;top:-310px;border-radius:50%;
  border:1px solid rgba(255,120,63,.28);
  box-shadow:0 0 0 58px rgba(255,120,63,.065),0 0 0 122px rgba(255,120,63,.03);
}
.theme-v19 .hero-cerebras:after{
  content:"";position:absolute;z-index:0;pointer-events:none;
  right:-120px;bottom:-210px;width:720px;height:390px;border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(255,120,63,.18),rgba(255,120,63,.055) 42%,transparent 70%);
  transform:rotate(-10deg);
}
.theme-v19 .hero-cerebras>*{position:relative;z-index:1}
.theme-v19 .hero-canvas{
  border:1px solid rgba(255,238,226,.18)!important;
  background:
    linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px),
    radial-gradient(circle at 34% 48%,rgba(255,248,240,.10),transparent 27%),
    linear-gradient(135deg,rgba(255,127,45,.13),rgba(10,8,7,.84))!important;
  background-size:38px 38px,38px 38px,auto,auto!important;
  box-shadow:0 28px 70px rgba(0,0,0,.31),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.theme-v19 .hero-canvas:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(112deg,transparent 20%,rgba(255,255,255,.085) 39%,transparent 54%);
  transform:translateX(-125%);animation:v19HeroShine 9s ease-in-out infinite;
}

/* ----------------------------------------------------------------------
   GENESIS — cards now communicate exactly what each path contains.
   ---------------------------------------------------------------------- */
.theme-v19 .genesish + .section{padding-top:78px!important}
.theme-v19 .genesish + .section .featuregrid{gap:20px!important}
.theme-v19 .genesish + .section .featurecard{
  min-height:0!important;height:auto!important;padding:30px 28px 28px!important;
  border-radius:9px!important;border:1px solid #7b3d24!important;
  background:linear-gradient(155deg,#1f2d37 0%,#111a21 58%,#0c1217 100%)!important;
  box-shadow:0 15px 36px rgba(19,17,16,.08)!important;
  display:flex!important;flex-direction:column!important;
}
.theme-v19 .genesish + .section .featurecard .eyebrow{color:#ff8a4d!important}
.theme-v19 .genesish + .section .featurecard h3{
  color:#fff7f1!important;font-size:27px!important;line-height:1.08!important;
  margin:14px 0 14px!important;font-weight:600!important;
}
.theme-v19 .genesish + .section .featurecard>p{
  color:#c9d1d6!important;font-size:14px!important;line-height:1.62!important;margin:0 0 24px!important;
}
.theme-v19 .genesis-card-detail{
  border-top:1px solid rgba(255,255,255,.11);padding-top:17px;margin-top:auto;display:grid;gap:8px;
}
.theme-v19 .genesis-card-detail b{font-size:9px;letter-spacing:.15em;color:#ff9b62;text-transform:uppercase}
.theme-v19 .genesis-card-detail span{position:relative;padding-left:13px;color:#eef2f4;font-size:12px;line-height:1.4}
.theme-v19 .genesis-card-detail span:before{content:"";position:absolute;left:0;top:.55em;width:5px;height:5px;border-radius:50%;background:#ff7540}
.theme-v19 .genesis-card-link{margin-top:20px;color:#ff9b62!important;font-size:12px;font-weight:750;letter-spacing:.02em}

/* ----------------------------------------------------------------------
   SWARM THREAT MODELS — stronger contrast without returning to heavy cards.
   ---------------------------------------------------------------------- */
.theme-v19 .threatgrid{gap:26px!important}
.theme-v19 .threatvisual{
  background:linear-gradient(145deg,#fff9f5 0%,#ffe8da 100%)!important;
  border:1.5px solid #e8aa83!important;border-radius:9px!important;
  box-shadow:0 16px 34px rgba(130,65,28,.08),inset 0 1px 0 rgba(255,255,255,.85)!important;
}
.theme-v19 .threat:nth-child(2) .threatvisual{background:linear-gradient(145deg,#fffaf6,#ffe2d4)!important}
.theme-v19 .threat:nth-child(3) .threatvisual{background:linear-gradient(145deg,#fff7f1,#ffd9c5)!important}
.theme-v19 .threat:nth-child(4) .threatvisual{background:linear-gradient(145deg,#fff9f4,#ffe4d6)!important}
.theme-v19 .threat:nth-child(5) .threatvisual{background:linear-gradient(145deg,#fff7f1,#ffdecc)!important}
.theme-v19 .threatvisual svg{filter:none!important;opacity:1!important}
.theme-v19 .threatvisual .attack-path{stroke:#eb5d2c!important;opacity:.96!important;stroke-width:2!important}
.theme-v19 .threatvisual .data-path{stroke:#ab4c29!important;opacity:.88!important}
.theme-v19 .threatvisual .clone polygon{stroke:#925030!important;fill:#fffaf6!important}
.theme-v19 .threatvisual .clone circle{fill:#1f6f87!important;stroke:#1f6f87!important}
.theme-v19 .threatvisual .account-core polygon{fill:#3c1a10!important;stroke:#ff6b2f!important}
.theme-v19 .threatvisual .account-core circle,.theme-v19 .threatvisual .account-core path{stroke:#ff9b5c!important}
.theme-v19 .threatvisual .page rect{fill:#fffdfb!important;stroke:#c94d2c!important;stroke-width:2!important}
.theme-v19 .threatvisual .page path{stroke:#9f432c!important;opacity:.9!important}
.theme-v19 .threatvisual .collector circle{fill:#3d1c12!important;stroke:#ff6930!important;stroke-width:2!important}
.theme-v19 .threatvisual .collector path{stroke:#ff9360!important;stroke-width:2!important}
.theme-v19 .threatvisual .rate-wave{stroke:#ef5f27!important;stroke-width:2.3!important}
.theme-v19 .threatvisual .rate-bar{fill:#8e4a31!important;opacity:.98!important}
.theme-v19 .threatvisual .rate-wall{fill:#572114!important;stroke:#ff6b2e!important}
.theme-v19 .threatvisual .rate-429{fill:#fff4ec!important;font-weight:800!important}
.theme-v19 .threatvisual .inventory-grid .slot rect{fill:#fffdfb!important;stroke:#b65033!important;stroke-width:1.8!important}
.theme-v19 .threatvisual .inventory-grid .slot path{stroke:#9f442d!important;stroke-width:1.6!important}
.theme-v19 .threatvisual .api-gate rect,.theme-v19 .threatvisual .api-block{fill:#421b11!important;stroke:#ff672a!important;stroke-width:2!important}
.theme-v19 .threatvisual .api-gate text,.theme-v19 .threatvisual .api-block+text{fill:#fff7f0!important;font-weight:800!important}
.theme-v19 .threat-telemetry{color:#705a4d!important;background:rgba(255,255,255,.54);border-radius:5px;padding:4px 7px!important}
.theme-v19 .threat-telemetry span{color:#6f5d52!important;font-weight:700!important}.theme-v19 .threat-telemetry b{color:#d94e22!important}
.theme-v19 .threat h3{color:#181310!important}.theme-v19 .threat p{color:#625850!important}

/* Research chronology clarity */
.theme-v19 .research-card time{font-variant-numeric:tabular-nums}
.theme-v19 .research-card[data-archive="true"] .research-meta span:after{content:" · ARCHIVE";font-size:.86em;color:#9a6e58}

@keyframes v19HeroShine{0%,55%{transform:translateX(-125%);opacity:0}68%{opacity:1}85%,100%{transform:translateX(125%);opacity:0}}

@media(max-width:1180px){
  .theme-v19 .genesish + .section .featuregrid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:720px){
  .theme-v19 .genesish + .section .featuregrid{grid-template-columns:1fr!important}
  .theme-v19 .genesish + .section .featurecard{padding:25px 22px!important}
  .theme-v19 .hero-cerebras:before{right:-250px;top:-360px}
}
/* A crisp white application ticker closes the dark hero and adds the requested
   white contrast to the landing viewport without weakening the hero. */
.theme-v19 .ticker-strip{
  background:#fff!important;border-top:1px solid #eadfd8!important;border-bottom:1px solid #eadfd8!important;
  box-shadow:0 8px 24px rgba(62,33,18,.035)!important;
}
.theme-v19 .ticker-track{color:#2e2824!important;font-weight:650!important}
.theme-v19 .ticker-track i{color:#ff6427!important;opacity:.9!important}
