/* ============================================================================
   ZERODAY COLOUR SYSTEM  (loaded LAST on the pages it covers; delete the <link> to revert a page)

   Colour is chosen by what an element MEANS, never by where it sits.

     XYTON RED  #FF4B3E   brand / identity / energy: the logo, CTAs, eyebrows, the headline's
                          call words, "look here / act". Red NEVER marks danger, risk or a rival.
     CORAL      #D9676F   everything negative:  x missed   x vulnerable   x false alarm
                          x backlog   x traditional approach   (+ attackers, exposure, breach stats)
                          Used for the X, borders, numbers, diagrams, highlighted words,
                          vulnerability boxes and glow.
     TEAL       #2DE0C4   everything positive:  ok protected   ok verified   ok fixed   ok ZeroDay
     GRAPHITE             cards stay almost black / graphite. Colour sits on the marks, not on big areas.

   CORAL RAMP: one hue (OKLCH 17.6deg), one chroma (0.143); only the lightness steps.
   Drawn objects (a box, a packet): faces are three steps  coral-2 (top) / coral-3 (left) / coral-4 (right), edged in the coral itself.
   Deeper than coral-4 drifts to crimson, which reads as red.
   Rules learned the hard way:
     - a LINE or a mark is the coral itself (a deeper step on a thin line reads as red)
     - deeper steps only on small drawn objects (a box face); never a big maroon fill
     - big areas stay graphite (the faintest tint at most); never a low-opacity coral wash
       (coral at low opacity over near-black goes brown)
     - a glow belongs on a negative mark, not behind a whole section
   ========================================================================== */

:root{
  --coral:#D9676F;      /* L .65  marks, lines, numbers, text         */
  --coral-hi:#F88289;   /* L .74  hover, small text on graphite       */
  --coral-2:#C0515A;    /* L .58  lit face of a drawn object          */
  --coral-3:#A53844;    /* L .50  mid face                            */
  --coral-4:#8D2131;    /* L .43  shaded face                         */
  --coral-5:#721B27;    /* L .37  deepest face of a small drawn object */
  --coral-5b:#58131D;   /* L .31  darkest face                         */
  --coral-6:#351315;    /* L .24  deep fill behind a coral mark       */
  --coral-7:#210D0E;    /* L .19  the faintest tint on a card         */
  --coral-8:#160B0B;    /* L .165 almost black, a hint of warmth      */
  --coral-glow:rgba(217,103,111,.42);
  /* retire the old orange coral: anything still reading var(--xy-coral) now gets the real one */
  --xy-coral:#D9676F;
}

/* ============================================================================
   INDUSTRY PAGES : components every industry page shares
   (banking, financial services, insurance, technology, media & comms, retail, utilities)
   ========================================================================== */

/* 0. cards stay almost black / graphite: the shared card background gets a solid graphite base, so the
      section's ambient glow no longer shows through and tints the card brown */
html body .pg{ --card-bg:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.014)),#111114; }

/* 1. negative scope: inside these, every "red" token means coral */
html body .pg .bk-col,
html body .pg .lay,
html body .pg .qc-h,
html body .pg .qc-sc.t,
html body section#numbers#numbers .stat{
  --red:var(--coral); --red-soft:var(--coral);
  --red-wash:var(--coral-8); --red-line:var(--coral);
}

/* 2. hero (banking): attack = coral, ZeroDay = teal, proof = teal */
html body .pg .bk-coin{
  background:var(--coral); color:var(--canvas);
  box-shadow:0 0 0 6px var(--coral-7),0 8px 22px var(--coral-glow);
}
html body .pg .bk[data-step="1"] .bk-steps .r b{ background:var(--coral); border-color:var(--coral); color:var(--canvas); }
html body .pg .bk[data-step="2"] .bk-steps .w b{ background:var(--teal); border-color:var(--teal); color:var(--canvas); }
html body section.hero.hero.hero.hero .bk-card.to:hover{
  border-color:var(--coral) !important;
  box-shadow:0 0 0 1px var(--coral-3), 0 12px 40px -18px var(--coral-glow) !important;
}
/* the hover glow is a translucent light over the card, as on the page originally: an opaque fill here would cover the text */
html body section.hero.hero.hero.hero .bk-card.to::after{
  background:radial-gradient(120% 100% at 50% 0%,rgba(217,103,111,.20),rgba(217,103,111,.06) 45%,transparent 75%);
}

/* 3. numbers: each card states a problem, so its LABEL is coral; the FIGURE stays white; the fix line stays teal */
html body section#numbers#numbers .stat .lbl{ color:var(--coral) !important; }
html body section#numbers#numbers .stat .v b,
html body section#numbers#numbers .stat .v b .countup,
html body section#numbers#numbers .stat .v b span{ color:#FFFFFF !important; }
/* HOVER GLOWS SIT BEHIND THE CONTENT. The page draws them as always-present ::before/::after layers that fade in on hover,
   with no z-index, so they paint above the text. Isolating the card and sending the glow to the back of that card
   keeps it above the card's own background and below everything written on it. */
html body section#numbers#numbers .stat,
html body section.hero.hero.hero.hero .bk-card,
html body section.hero.hero.hero.hero .hx-card{ isolation:isolate; }
html body section#numbers#numbers .stat::before,
html body section.hero.hero.hero.hero .bk-card::after,
html body section.hero.hero.hero.hero .hx-card::after{ z-index:-1 !important; }

/* the number cards are graphite: a solid near-black base under the page's faint white gradient, so the section glow cannot tint them brown */
html body section#numbers#numbers .stat{ background-color:#111114 !important; }
/* hover glow: translucent coral light, never an opaque fill over the text */
html body section#numbers#numbers .stat::before{
  background:radial-gradient(120% 100% at 50% 0%,rgba(217,103,111,.20),rgba(217,103,111,.06) 45%,transparent 75%) !important;
}
html body section#numbers#numbers .stat:hover{
  border-color:var(--coral) !important;
  box-shadow:0 20px 40px rgba(0,0,0,.18), 0 0 0 1px var(--coral-3), 0 12px 40px -18px var(--coral-glow) !important;
}

/* 4. layers card ("Exposed" systems) */
html body .pg .lay{
  background:radial-gradient(110% 80% at 0% 0%,var(--coral-8),transparent 62%),var(--card-bg);
}
@keyframes layred{to{border-color:#4A4A54}}                    /* the card edge lifts to the lit hairline; the coral lives on the marks */
@keyframes athiti{to{border-color:var(--coral);background:var(--coral-8)}}
html body .pg .lay .dot:not(.t){ box-shadow:0 0 0 5px var(--coral-7); }
html body .pg .lay .pop{ background:var(--coral-8); border-color:var(--coral); }

/* 5. queue card ("Today" = the traditional approach) */
html body .pg .qc-row.t .qc-tile{ background:var(--coral-8); }
html body .pg .qc-tile.hatch{
  background:repeating-linear-gradient(135deg,var(--coral) 0 2px,var(--coral-8) 2px 20px) !important;
  background-size:28.28px 28.28px !important;   /* 20px period x sqrt2: matches the page's stall animation */
  border-color:var(--coral) !important;
}
html body .pg .qc-sc.t .qc-scan{ box-shadow:0 0 10px var(--coral-glow); }

/* ---------------------------------------------------------------------------
   Shared 3-stage hero list (.hs): 1 the attack = coral, 2 ZeroDay = teal, 3 proof = teal
   (banking keeps its own vertical .bk-steps, handled above)
   ------------------------------------------------------------------------- */
html body .hs[data-s="1"] .r b{ background:var(--coral); border-color:var(--coral); color:var(--canvas,#0E0E11); }
html body .hs[data-s="2"] .w b{ background:var(--xy-verified,#2DE0C4); border-color:var(--xy-verified,#2DE0C4); color:var(--xy-canvas,#0E0E11); }

/* ============================================================================
   UTILITIES : hero scene (.uvo). Selectors mirror the page's own state selectors, so the
   teal "fixed" state (step 3) is left alone.
   ========================================================================== */
html body .uvo[data-uv-step="1"] .card-a .v23-risk-dot,
html body .uvo[data-uv-step="1"] .card-b .v23-risk-dot,
html body .uvo[data-uv-step="1"] .v23-ops .v23-risk-dot,
html body .uvo[data-uv-step="2"] .card-b .v23-risk-dot{ fill:var(--coral); }
html body .uvo[data-uv-step="1"] .card-b .v23-card-bg,
html body .uvo[data-uv-step="2"] .card-b .v23-card-bg{ stroke:var(--coral); }
html body .uvo[data-uv-step="1"] .electric .v23-svc-icon,
html body .uvo[data-uv-step="2"] .electric .v23-svc-icon,
html body .uvo[data-uv-step="1"] .electric .tank,
html body .uvo[data-uv-step="2"] .electric .tank{ stroke:var(--coral); }
html body .uvo .uv-atk{ stroke:var(--coral); }
html body .uvo .uv-atk-dot{ fill:var(--coral); filter:drop-shadow(0 0 6px var(--coral-glow)); }
html body .uvo .uv-steps .r::after{ background:var(--coral); }
html body .uvo[data-uv-step="1"] .gl-e,
html body .uvo[data-uv-step="2"] .gl-e{ stroke:var(--coral); }
/* step 1 only: in step 2 the page turns the building white (ZeroDay's moment), and that must keep winning */
html body .uvo[data-uv-step="1"] .conn .tp{ fill:var(--coral); }
html body .uvo[data-uv-step="1"] .conn .fy{ fill:var(--coral-3); }
html body .uvo[data-uv-step="1"] .conn .fx{ fill:var(--coral-4); }
html body .uvo[data-uv-step="1"] .conn{ filter:drop-shadow(0 0 8px var(--coral-glow)); }
html body .uvo[data-uv-step="1"] .electric .v23-svc-label,
html body .uvo[data-uv-step="2"] .electric .v23-svc-label{ fill:var(--coral); }
/* the attack path and its travelling dot used the retired #EF4444 */
html body .v23-risk-dot,
html body .v23-travel{ fill:var(--coral); }
html body .v23-risk-path{ stroke:var(--coral); }
html body .uvo-bug{ background:var(--coral-8); border-color:var(--coral); color:var(--coral); box-shadow:0 0 0 5px var(--coral-7),0 6px 16px rgba(0,0,0,.4); }
@keyframes uvBug{ 50%{ box-shadow:0 0 0 9px var(--coral-7),0 6px 16px rgba(0,0,0,.4); } }
html body .uvo-out .u1,
html body .uvo .uvo-tag .o1{ background:var(--coral-8); color:var(--coral); border-color:var(--coral); }
/* numbers/scard hover: a lift in graphite with a coral edge, not a red-tinted wash */
@media (hover:hover){
  html body.utilities-fullview main .stat:hover,
  html body.utilities-fullview main .scard:hover{ background:linear-gradient(160deg,var(--coral-8),var(--card-bg,#16161A)) !important; border-color:var(--coral) !important; }
}

/* ============================================================================
   RETAIL : the store scene (.rs). The hot object's three faces, its dot, glow and ping are driven
   by keyframes, so the keyframes are restated: coral while exposed, the page's own teal when closed.
   ========================================================================== */
@keyframes rsHt{ 0%,30%{ fill:var(--coral-2); stroke:var(--coral); } 36%,95%{ fill:rgb(42,111,99); stroke:rgb(45,224,196); } 100%{ fill:var(--coral-2); stroke:var(--coral); } }
@keyframes rsHl{ 0%,30%{ fill:var(--coral-3); stroke:var(--coral); } 36%,95%{ fill:rgb(27,77,69); stroke:rgb(45,224,196); } 100%{ fill:var(--coral-3); stroke:var(--coral); } }
@keyframes rsHr{ 0%,30%{ fill:var(--coral-4); stroke:var(--coral); } 36%,95%{ fill:rgb(18,54,48); stroke:rgb(45,224,196); } 100%{ fill:var(--coral-4); stroke:var(--coral); } }
@keyframes rsdot{ 0%,30%{ fill:var(--coral); } 36%,95%{ fill:rgb(45,224,196); } 100%{ fill:var(--coral); } }
@keyframes rsHotGlow{ 0%,30%{ filter:drop-shadow(0 0 14px var(--coral-glow)); } 36%,95%{ filter:drop-shadow(0 0 12px rgba(45,224,196,.45)); } 100%{ filter:drop-shadow(0 0 14px var(--coral-glow)); } }
html body .rs-mv{ filter:drop-shadow(0 0 12px var(--coral-glow)); }
html body .rs-pk .t{ fill:var(--coral-2); stroke:var(--coral); }
html body .rs-pk .l{ fill:var(--coral-3); stroke:var(--coral); }
html body .rs-pk .r{ fill:var(--coral-4); stroke:var(--coral); }
html body .rs-tag.t1 rect{ fill:var(--coral-8); stroke:var(--coral); }
html body .rs-tag.t1 text{ fill:var(--coral); }
html body .rs-steps .s1::after{ background:var(--coral); }
html body .rs::before{ background:radial-gradient(at 52% 46%,rgba(217,103,111,.20),transparent 62%); }
html body .rs-ping.red ellipse{ stroke:var(--coral); }

/* ============================================================================
   MEDIA & COMMS : the stream-leak scene (.ms). Everything red inside it is the leak, so the
   tokens are remapped; the literals the tokens cannot reach are restated.
   ========================================================================== */
html body .pg .ms{ --red:var(--coral); --red-soft:var(--coral); --red-wash:var(--coral-8); --red-line:var(--coral); }
html body .pg .ms-leakflow .chip{ background:var(--coral-8); }
html body .pg .ms[data-step="1"] .ms-screen{ box-shadow:0 28px 64px rgba(0,0,0,.28),0 0 0 4px var(--coral-8),0 0 60px rgba(217,103,111,.16); }
html body .pg .ms[data-step="1"] .ms-stage{ background:radial-gradient(60% 70% at calc(var(--sel-m) * 1%) 45%,rgba(217,103,111,.14),transparent 70%); }
html body .pg .ms-threats svg{ filter:drop-shadow(0 0 8px var(--coral-glow)); }

/* ============================================================================
   FINANCIAL SERVICES : the layered payment diagram (.fs8). The attack elements are static red
   attributes; the teal "fixed" elements are separate shapes that fade in, so these are safe to restate.
   ========================================================================== */
html body .fs8 stop[stop-color="#FF4B3E" i]{ stop-color:var(--coral); }
html body .fs8 polygon.f8-basered{ stroke:var(--coral); }
html body .fs8 polygon.f8-slot{ stroke:var(--coral); fill:rgba(217,103,111,.08); }
html body .fs8 .coin ellipse[stroke="#FF4B3E" i]{ stroke:var(--coral); }
html body .fs8 .f8s-miss,
html body .fs8 .f8s-sent{ fill:var(--coral); }
@keyframes f8L3{ 0%,52%{ fill:var(--coral); } 56%,100%{ fill:rgb(233,236,234); } }
@keyframes f8L4{ 0%,38%{ fill:rgb(233,236,234); } 41%,52%{ fill:var(--coral); } 56%,100%{ fill:rgb(233,236,234); } }
@keyframes f8CBt{ 0%,79%{ fill:var(--coral-3); stroke:var(--coral); } 81%,100%{ fill:rgb(15,79,67); stroke:rgb(45,224,196); } }
/* the headline stays plain white like every other industry headline (the hero pass makes its em inherit) */

/* ============================================================================
   INSURANCE : the gate / ticket / card hero (.hx-*). Driven by keyframes: coral on the attack
   beat, the page's own teal for the fixed beats.
   ========================================================================== */
@keyframes hxR{ 0%,22%{ border-color:rgb(48,51,57); } 30%,34%{ border-color:var(--coral); box-shadow:0 2.4em 4em -1.4em rgba(0,0,0,.85),0 0 2.6em -.4em var(--coral-glow); } 40%,100%{ border-color:rgb(48,51,57); } }
@keyframes hxRb{ 0%,22%{ background:rgb(45,224,196); } 30%,34%{ background:var(--coral); } 40%,100%{ background:rgb(45,224,196); } }
@keyframes hxRf{ 0%,22%{ fill:rgb(45,224,196); } 30%,34%{ fill:var(--coral); } 40%,100%{ fill:rgb(45,224,196); } }
@keyframes hxLn{ 0%,34%{ stroke:var(--coral); } 38%,62%{ stroke:rgb(75,80,89); } 67%,95%{ stroke:rgb(45,224,196); } 100%{ stroke:var(--coral); } }
@keyframes hxG{
  0%,34%{ color:var(--coral); box-shadow:0 0 0 .9em rgb(11,16,14),0 0 0 1.3em var(--coral-7); }
  39%,62%{ color:rgb(243,247,245); box-shadow:0 0 0 .9em rgb(11,16,14); }
  67%,95%{ color:rgb(45,224,196); box-shadow:0 0 0 .9em rgb(11,16,14),0 0 0 1.3em rgba(45,224,196,.16); }
  100%{ color:var(--coral); box-shadow:0 0 0 .9em rgb(11,16,14),0 0 0 1.3em var(--coral-7); } }
@keyframes hxB{
  0%,69%{ opacity:0; left:10.5em; border-color:var(--coral); }
  71%{ opacity:1; left:10.5em; }
  77%{ opacity:1; left:24.2em; border-color:var(--coral); }
  81%{ opacity:1; left:24.2em; border-color:rgb(45,224,196); box-shadow:0 .8em 2.4em -.5em rgba(45,224,196,.7); }
  88%{ opacity:.7; left:24.2em; border-color:rgb(45,224,196); }
  92%,100%{ opacity:0; left:24.2em; border-color:rgb(45,224,196); } }
html body .hx-gate{ color:var(--coral); }
html body .hx-tk{ border-color:var(--coral); background:linear-gradient(145deg,var(--coral-7),var(--coral-8)); box-shadow:0 .8em 2.4em -.5em var(--coral-glow); }
html body .hx-tk i{ background:var(--coral); }

/* ============================================================================
   TECHNOLOGY (and the older .uv labels shared with utilities): the rack/package scene (.tk-*)
   The state selectors mirror the page's own, so the teal "fixed" state is left alone.
   ========================================================================== */
html body .hero-utility-visual::before{ background:radial-gradient(circle at 50% 38%,rgba(217,103,111,.17),transparent 54%) !important; }
html body .hero-utility-visual::after{ background:radial-gradient(rgba(217,103,111,.10),transparent 72%) !important; }
html body .uv-pkt{ fill:var(--coral); filter:drop-shadow(0 0 6px var(--coral-glow)); }
html body .uv-order .o1,
html body .uv-state .s1,
html body .tk-a .a1,
html body .tk-b .b1{ background:var(--coral-8); color:var(--coral); border-color:var(--coral); }
html body .uv[data-uv-step="1"] .uv-att,
html body .uv[data-uv-step="2"] .uv-att{ border-color:var(--coral); color:var(--coral); }
html body .uv[data-uv-step="1"] .uv-api{ border-color:var(--coral); }
html body .uv[data-uv-step="1"] .uv-att svg,
html body .uv[data-uv-step="2"] .uv-att svg{ color:var(--coral); }
html body .uv{ --uv-red:var(--coral); }   /* the scene's own "red" variable is the attack colour */
html body .hero-utility-visual .uv-steps li.r{ border-top-color:var(--coral) !important; }
html body .uvo[data-uv-step="1"] .tk-pk .t{ fill:var(--coral-2); stroke:var(--coral); }
html body .uvo[data-uv-step="1"] .tk-pk .l{ fill:var(--coral-3); stroke:var(--coral); }
html body .uvo[data-uv-step="1"] .tk-pk .r{ fill:var(--coral-4); stroke:var(--coral); }
html body .uvo[data-uv-step="1"] .tk-cu .t,
html body .uvo[data-uv-step="2"] .tk-cu .t{ fill:var(--coral-7); stroke:var(--coral); }
html body .uvo[data-uv-step="1"] .tk-cu .l,
html body .uvo[data-uv-step="2"] .tk-cu .l{ fill:var(--coral-8); stroke:var(--coral); }
html body .uvo[data-uv-step="1"] .tk-cu .r,
html body .uvo[data-uv-step="2"] .tk-cu .r{ fill:#100808; stroke:var(--coral); }
html body .uvo[data-uv-step="1"] .tk-win,
html body .uvo[data-uv-step="2"] .tk-win{ stroke:var(--coral); }
html body .uvo[data-uv-step="1"] .tk-ring,
html body .uvo[data-uv-step="2"] .tk-ring{ fill:rgba(217,103,111,.10); stroke:var(--coral); }
@keyframes tkpulse{ 50%{ fill:rgba(217,103,111,.03); stroke:rgba(217,103,111,.3); } }
html body .uvo[data-uv-step="1"] .tk-mv{ filter:drop-shadow(0 0 12px var(--coral-glow)); }

/* ============================================================================
   INDUSTRIES (index): incident callouts are breaches, so their bar is coral;
   "Available now" is ZeroDay's own status, so it is teal (it was the retired orange coral).
   ========================================================================== */
html body section.atm-s1-l .callout{ border-left-color:var(--coral); }
html body section.atm-s1-l .callout::before{ background:var(--coral); }
html body .mono-lbl[style*="--xy-coral"]{ color:var(--xy-verified,#2DE0C4) !important; }

/* ============================================================================
   LEGACY CORAL, remapped by meaning.
   The site's shared styles used an orange coral (#FF8A65) as a generic accent. Coral now means
   one thing only (negative), so every old use is restated by what it actually says:
     ZeroDay's own side   -> teal        names / ids / paths    -> gray
     hover, active step   -> ink / red   scan sweep, draft flag -> red
     weakness, critical, high severity, vulnerable code -> coral
   ========================================================================== */
/* the hero instruments define a local --coral that shadows the token: point it at the real one */
html body .rp, html body .gl-instrument{ --coral:#D9676F; --contact:#FF4B3E; }

/* ZeroDay's own side */
html body .tm-card.fix .tm-rate,
html body .fc-row.new .fc-lbl,
html body .cmprow .zd .lbl,
html body .evrow.evself .evtier{ color:var(--xy-verified,#2DE0C4); }
/* names, ids, paths, labels */
html body .step-body code,
html body .gl-def code,
html body .samplecert .sc-glance code,
html body .price-card .tokens,
html body .belief-card .core,
html body .lc-nochk u{ color:var(--xy-ink-2,#B8BCC4); }
html body .lc-nochk u{ color:var(--xy-ink-3,#7E838C); }
/* hover moves one step toward the viewer on the gray scale; it is feedback, not a state */
html body .cmdline .cmdcopy:hover{ color:var(--xy-ink,#F5F6F7); }
/* look here / act: the active step, the scan sweeps, the kicker, the draft flag, the pending pulse */
html body .pstep.active .n,
html body .rex-kicker,
html body p[data-draft]::after{ color:var(--xy-red,#FF4B3E); }
html body .ac-lesson .dc-sweep{ background:linear-gradient(90deg,transparent,var(--xy-red,#FF4B3E) 30%,var(--xy-red,#FF4B3E) 70%,transparent); box-shadow:0 0 12px var(--xy-red,#FF4B3E); }
html body .docprev .res-scan .sw::after{ background:linear-gradient(90deg,transparent,var(--xy-red,#FF4B3E),transparent); }
html body .lc.go .lc-pend u{ border-color:var(--xy-red,#FF4B3E); }
/* negative: severity, weakness, vulnerable code */
/* severity in ONE coral (#D9676F), stepped by strength, not by hue (user's call: critical must not read red).
   The text stays coral on all three so it stays readable (5.6:1); the fill, outline and dot fade from critical to medium. */
html body .sev-critical,
html body .pill.is-critical{ color:var(--coral); background:rgba(217,103,111,.12); border-color:var(--coral); }
html body .sev-high,
html body .pill.is-high{ color:var(--coral); background:rgba(217,103,111,.08); border-color:rgba(217,103,111,.6); }
html body .sev-medium,
html body .pill.is-medium{ color:var(--coral); background:rgba(217,103,111,.04); border-color:rgba(217,103,111,.32); }
html body .af-row .dot.sev-critical{ background:var(--coral); box-shadow:0 0 0 3px rgba(217,103,111,.28); }
html body .af-row .dot.sev-high{ background:rgba(217,103,111,.78); box-shadow:none; }
html body .af-row .dot.sev-medium{ background:rgba(217,103,111,.45); box-shadow:none; }
html body .glosswin{ --c-weakness:var(--coral); --c-metric:var(--xy-ink-2,#B8BCC4); }

/* FAQ section icons: a scan, a live indicator and price bars are ZeroDay's own activity (brand energy), not negatives */
html body .fp-detect .scan,
html body .fp-setup .live,
html body .fp-price .val{ stroke:var(--xy-red,#FF4B3E); }

/* ============================================================================
   PRICING : "Get Clean" is the open backlog (coral); "Stay Clean" is proven (teal, the page's own).
   The page restyles the same elements teal through state classes (.is-clean, .ok, .zero), so these
   use the page's own simple selectors and come later: the state rules keep winning.
   Brand red stays on: the recommended plan's highlight and badge, the active step, the CTAs.
   ========================================================================== */
.pk-phase{ border-color:var(--coral); color:var(--coral); }
.pk-open strong{ color:var(--coral); }
.pk-status-bad{ fill:var(--coral); }
.pk-pellet{ fill:var(--coral); }
.pr-pkg line[stroke="var(--xy-red)"]{ stroke:var(--coral); }
.pr-pkg stop[stop-color="#FF4B3E" i]{ stop-color:var(--coral); }
#how .pr-l.red{ color:var(--coral); }                                   /* the backlog phase label; "For security leaders" in #tiers stays red */
.pr-ph.gc{ border-top-color:var(--coral); }
.pr-field i.r1:not(.ok){ background:var(--coral-3); }
.pr-field i.r2:not(.ok){ background:var(--coral); box-shadow:0 0 8px var(--coral-glow); }
.pr-debt-n strong{ color:var(--coral); }
.pr-debt-n.zero strong{ color:var(--xy-verified,#2DE0C4); }
.pr-field-cap{ color:var(--coral); }
.pr-field-cap.ok{ color:var(--xy-verified,#2DE0C4); }
/* the chips list what ZeroDay delivers, so their bullets are neutral until the phase is proven */
.pr-chips li::before{ background:var(--xy-ink-3,#7E838C); }
.pr-chips.ok li::before{ background:var(--xy-verified,#2DE0C4); }
/* a threat arriving in the Stay Clean animation (before it is stopped) */
.pr-threat{ border-color:var(--coral); color:var(--coral); }
.pr-threat.stop{ color:var(--xy-verified,#2DE0C4); border-color:color-mix(in srgb,var(--xy-verified,#2DE0C4) 55%,transparent); }
.pr-sig path{ stroke:var(--coral); }  .pr-sig line{ stroke:var(--coral); }  .pr-sig circle{ fill:var(--coral); }   /* Stay Clean lane: arriving threats */
.pr-threat.code{ border-color:var(--xy-hairline-2); color:var(--xy-ink-2); }                                        /* plain new code stays grey */

/* ============================================================================
   BOOK A DEMO : a form error is a missed field (an X), so it is coral; the severity chips in the
   product preview are findings. The red buttons and the notification badge are brand and stay.
   ========================================================================== */
html body .field .errmsg,
html body .ct-card .field .errmsg{ color:var(--coral); }
html body .zdp-sev.crit{ background:var(--coral-8); color:var(--coral); box-shadow:inset 0 0 0 1px var(--coral); }
html body .zdp-sev.high{ background:transparent; color:var(--coral); box-shadow:inset 0 0 0 1px var(--coral); }
html body .zdp-st i{ background:var(--coral); box-shadow:0 0 0 3px var(--coral-8); }

/* ---- late fixes found in the verification pass ---- */
/* FINANCIAL: the attacker's coin (A) is drawn with static red attributes (the fixed-state coin B is keyframed above) */
html body .fs8 .f8-cA ellipse.top{ fill:var(--coral-3); stroke:var(--coral); }
/* INSURANCE: the bars on the attacked card turn a brown-red during the attack beat */
@keyframes hxRbar{ 0%,22%{ background:rgb(47,50,55); } 30%,34%{ background:var(--coral-3); } 40%,100%{ background:rgb(47,50,55); } }

/* ==========================================================================
   GREY SCALE: one cool grey (hue 220deg, saturation 4-8%) on every page.
   The four older scene pages carried a green-tinted grey (hue 150deg); their
   hex values were remapped to the same lightness on this hue, and the tokens
   are pinned here so no page can drift.
     ink   #F5F6F7  headings, primary text
     ink2  #B8BCC4  body copy
     ink3  #8A8F98  secondary text, labels, captions (4.8:1 on the lightest card)
     ink4  #565A62  lines, dividers, dim marks ONLY (never text: 2.8:1)
   ========================================================================== */
html:not(.xy-light),
html:not(.xy-light) .pg,
html:not(.xy-light) .pg section{
  --ink:#F5F6F7; --ink2:#B8BCC4; --ink3:#8A8F98; --ink4:#565A62;
  --xy-ink-3:#8A8F98;   /* industry-sections.css reads this one for the layer card sub-lines */
}

/* text that carried the dim grey: raised to ink3 so it passes 4.5:1 */
html body .ch-q i, html body .af-row i, html body .plus,
html body .lc-path, html body .gl-count, html body .gl-empty,
html body .db-n, html body .fq-cat, html body .faq-q .n,
html body .pg-fq .n, html body .pg-fq h3 .n, html body .pg-fq a > i, html body .tl-ln .p,
html body section p.body-md.center,
html body .aw-title{ color:var(--ink3) !important; }
/* the same ramp for pages that read the site tokens (resources, glossary, faq, pricing, contact) */
html body .aw-body, html body .db-main, html body .pr-plan{ --xy-ink-3:#8A8F98; --xy-ink-4:#565A62; }

/* book-a-demo dashboard preview: its own tokens, aligned to the same ramp (its dimmest text is lifted to 4.5:1+) */
html body .zdp{ --p-ink:#F5F6F7; --p-ink-2:#B8BCC4; --p-ink-3:#8A8F98; --p-ink-4:#7E838C; }

/* FORMS: the field edge is a control boundary, so it needs 3:1 (was 22% white = 1.7:1).
   Focus keeps the page's own white edge + halo; an error is a negative, so it is coral, not red. */
html:not(.xy-light) body .ct-hero .ct-card .field input:not(:focus):not(:hover),
html:not(.xy-light) body .ct-hero .ct-card .field select:not(:focus):not(:hover),
html:not(.xy-light) body .ct-hero .ct-card .field textarea:not(:focus):not(:hover){ border-color:rgba(255,255,255,.45); }
html:not(.xy-light) body .ct-hero .ct-card .field input:hover:not(:focus),
html:not(.xy-light) body .ct-hero .ct-card .field select:hover:not(:focus),
html:not(.xy-light) body .ct-hero .ct-card .field textarea:hover:not(:focus){ border-color:rgba(255,255,255,.65); }
html body .field.err input, html body .field.err select, html body .field.err textarea,
html body .ct-card .field.err input{ border-color:var(--coral) !important; box-shadow:0 0 0 3px rgba(217,103,111,.20) !important; }

/* atmos-hero.css pins --xy-ink-3 per section (ID selectors); same selectors here, later in the cascade, so the one grey wins everywhere */
html body section.hero.hero.hero.hero,
html body section#numbers, html body section#start,
html body .lay-top, html body .stk-top,
html body section#world, html body section#fit, html body section#gap, html body section#rules{ --xy-ink-3:#8A8F98; }

/* PRICING: the active step badge is white on the brand red; the button red (#E12922) gives the same 4.6:1 the CTAs already have (#FF4B3E was 3.3:1) */
html body .pr-pkg[data-plan="1"] .s1 b{ background:#E12922; border-color:#E12922; }

/* GLOSSARY A-Z rail: letters with no terms were ink-4 at 35% opacity (about 1.3:1, unreadable).
   Now a solid mid grey (3.6:1): still clearly quieter than the live letters (ink-3, 5.5:1), but you can read which letters exist. */
html body .gl-az button.off{ color:#6B7078; opacity:1; }

/* RESOURCES REFRESH (resources-r2): the rebuilt Docs / Glossary / FAQ use ink-4 for text. Same rules as the rest of the site:
   ink-4 is for lines only, so labels move to ink-3 (4.8:1+) and the quiet-by-design marks to the 3.6:1 mid grey. Hover/active states keep the page's own rules. */
html body .dsn-path, html body .dsn-rail li:not(.on) i,
html body .gx-sum .tg, html body .fx-cat .i, html body .fx-cat .ct{ color:var(--ink3); }
html body .gx-az button.dim, html body .gx-az button:disabled{ color:#6B7078; opacity:1; }   /* letters with no terms: readable, still inactive */
html body .gx-l{ color:#6B7078; }                                                              /* A, B, C... group letters (24px, 3:1 needed) */

/* QUEUE CARD, "Release window" tile: an L-shaped plaque in the warm dark #140B0B (picked by the user) under only the
   icon (top, narrow) and the label (bottom, full width), so the hatch lines run everywhere else.
   Negative margins cancel the plaque's padding, so the tile keeps its size and the text keeps its alignment.
   Geometry: padding 6/10, icon 20, gap 8 -> the icon block is 40 wide and ends 4px into the gap, where the text block starts. */
html body .pg .qc-tile.hatch .qc-lbl{
  display:flex; flex-direction:column; gap:8px; align-self:flex-start;
  position:relative; isolation:isolate; padding:6px 10px; margin:-6px 0 -6px -10px;
}
html body .pg .qc-tile.hatch .qc-lbl::before,
html body .pg .qc-tile.hatch .qc-lbl::after{ content:""; position:absolute; z-index:-1; left:0; background:#140B0B; }
html body .pg .qc-tile.hatch .qc-lbl::before{ top:0; width:40px; height:31px; border-radius:8px 8px 0 0; }
html body .pg .qc-tile.hatch .qc-lbl::after{ top:30px; right:0; bottom:0; border-radius:0 8px 8px 8px; }
