/* Cold Chain Cyber — shared styles
   Palette: frost page, ink text, alarm red = attack, brass gold = protected (Goldilock).
   One dark "rack room" section uses the Goldilock render background (#1A1728). */

:root {
  color-scheme: light;
  --frost: #E9EFF2;
  --paper: #F8FAFB;
  --ink: #10212D;
  --steel: #50646F;
  --rule: #C7D3DA;
  --grid: #D7E1E7;
  --alarm: #C2313B;
  --brass: #D9981C;
  --brass-ink: #855A06;
  --night: #1A1728;
  --night-2: #242038;
  --on-night: #ECEAF4;
  --on-night-2: #ABA6C4;
  --focus: #2A6FDB;

  --display: "Archivo", "Arial Narrow", Arial, Helvetica, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.6rem);
  --step-4: clamp(2.4rem, 5.6vw, 4.5rem);

  --wrap: 72rem;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --frost: #0D171E;
    --paper: #13212A;
    --ink: #E4ECF0;
    --steel: #97AAB6;
    --rule: #26394A;
    --grid: #1C2D39;
    --alarm: #F2606A;
    --brass-ink: #EDB24C;
    --focus: #7FB0FF;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --frost: #0D171E; --paper: #13212A; --ink: #E4ECF0; --steel: #97AAB6;
  --rule: #26394A; --grid: #1C2D39; --alarm: #F2606A; --brass-ink: #EDB24C; --focus: #7FB0FF;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--frost);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.62;
  font-optical-sizing: auto;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); line-height: 1.06; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); font-weight: 820; font-stretch: 115%; max-width: 18ch; }
h2 { font-size: var(--step-3); font-weight: 780; font-stretch: 110%; max-width: 22ch; }
h3 { font-size: var(--step-1); font-weight: 700; font-stretch: 100%; letter-spacing: 0; line-height: 1.2; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink); max-width: 36rem; }
.muted { color: var(--steel); }
.small { font-size: var(--step--1); }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--frost) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-weight: 760; font-stretch: 118%; font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 1.7rem; height: 1.7rem; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; font-family: var(--display); font-size: .95rem; font-weight: 560; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); color: var(--ink); font: 600 .9rem var(--display); padding: .45rem .8rem; border-radius: 4px; }
@media (max-width: 60rem) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: .5rem 1.25rem 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--grid); }
  .nav .btn { margin-top: .8rem; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 680; font-size: 1rem; letter-spacing: .005em;
  padding: .8rem 1.25rem; border-radius: 4px; text-decoration: none; border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper); line-height: 1.2;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.brass { background: var(--brass); border-color: var(--brass); color: #1A1406; }
.btn.brass:hover { background: transparent; color: var(--brass); }
.nav .btn { padding: .55rem .95rem; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section + section { border-top: 1px solid var(--rule); }
.section-intro { margin-bottom: 2.5rem; }

/* ---------- Hero + chart recorder ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.hero h1 { margin-bottom: .45em; }
.recorder {
  margin: clamp(2.2rem, 5vw, 3.5rem) 0 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1rem 1rem .75rem;
}
.recorder-scroll { overflow-x: auto; }
.recorder svg { width: 100%; }
.recorder .rec-m { display: none; }
@media (max-width: 40rem) { .recorder .rec-d { display: none; } .recorder .rec-m { display: block; } .recorder { padding: .75rem .5rem .6rem; } }
.recorder figcaption { font-size: var(--step--1); color: var(--steel); margin-top: .5rem; max-width: none; }
.rec-grid line { stroke: var(--grid); stroke-width: 1; }
.rec-grid line.major { stroke: var(--rule); }
.rec-axis text, .rec-label { font-family: var(--display); font-size: 13px; fill: var(--steel); font-variant-numeric: tabular-nums; }
.rec-zone { fill: var(--brass); opacity: .07; }
.rec-attack { fill: none; stroke: var(--alarm); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.rec-safe { fill: none; stroke: var(--brass); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.rec-cmd { stroke: var(--alarm); stroke-width: 1.4; stroke-dasharray: 4 5; }
.rec-tag { font-family: var(--display); font-size: 15px; font-weight: 700; }
.rec-tag.attack { fill: var(--alarm); }
.rec-tag.safe { fill: var(--brass-ink); }
.rec-sub { font-family: var(--display); font-size: 12.5px; fill: var(--steel); }
.rec-cmd-label { font-family: var(--display); font-size: 12.5px; fill: var(--alarm); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .rec-safe, .rec-attack { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s cubic-bezier(.45,.05,.3,1) .35s forwards; }
  .rec-attack { animation-duration: 3.4s; }
  .rec-cmd, .rec-cmd-label, .rec-tag, .rec-sub { opacity: 0; animation: appear .5s ease 2.4s forwards; }
  .rec-tag.attack, .rec-sub.attack { animation-delay: 3.4s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes appear { to { opacity: 1; } }
}

/* ---------- Timeline (real sequence → numbered by date) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); max-width: 50rem; }
.timeline li { position: relative; padding: 0 0 2rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--alarm); }
.timeline li.advisory::before { background: var(--frost); border: 2px solid var(--ink); }
.timeline time { display: block; font-family: var(--display); font-weight: 700; font-stretch: 90%; font-size: .98rem; color: var(--alarm); margin-bottom: .15rem; }
.timeline li.advisory time { color: var(--ink); }
.timeline h3 { margin-bottom: .3rem; }
.timeline p { margin-bottom: .4rem; }
.src { font-size: var(--step--1); color: var(--steel); }
.src a { color: var(--steel); }

/* ---------- Two column ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; align-items: start; } .split.wide-left { grid-template-columns: 1.25fr 1fr; } }

.reasons { margin: 0; padding: 0; list-style: none; }
.reasons li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.reasons li:last-child { border-bottom: 1px solid var(--rule); }
.reasons strong { font-family: var(--display); font-weight: 700; display: block; font-size: 1.08rem; margin-bottom: .2rem; }
.pull { font-family: var(--display); font-weight: 760; font-stretch: 108%; font-size: var(--step-2); line-height: 1.18; max-width: 22ch; margin-top: 1.8rem; }

/* ---------- Night (rack room) ---------- */
.night {
  background: var(--night); color: var(--on-night); border-top: 0;
  --steel: var(--on-night-2); --rule: #38324F; --grid: #2C2742;
}
.night + section { border-top: 0; }
.night a { color: var(--on-night); }
.night .btn { background: var(--brass); border-color: var(--brass); color: #1A1406; }
.night .btn:hover { background: transparent; color: var(--brass); }
.night .btn.ghost { background: transparent; color: var(--on-night); border-color: var(--on-night-2); }
.night .btn.ghost:hover { background: var(--on-night); color: var(--night); }
.night h2 { color: #fff; }
.frame { position: relative; border-radius: 8px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px #38324F; }
.frame video { width: 100%; height: 100%; object-fit: cover; }
.features { display: grid; gap: 1.6rem 2.5rem; margin: 3rem 0 0; }
@media (min-width: 44rem) { .features { grid-template-columns: 1fr 1fr; } }
.features dt { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: .25rem; }
.features dt::before { content: ""; display: inline-block; width: .7rem; height: .7rem; background: var(--brass); margin-right: .55rem; transform: translateY(-1px); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.features dd { margin: 0; color: var(--on-night-2); max-width: 34rem; }

.range { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 52rem) { .range { grid-template-columns: repeat(3, 1fr); } }
.range figure { margin: 0; }
.range img { border-radius: 6px; }
.range figcaption { margin-top: .7rem; }
.range figcaption strong { display: block; font-family: var(--display); color: #fff; font-weight: 700; }
.range figcaption span { color: var(--on-night-2); font-size: var(--step--1); }

/* ---------- Product plate (light) ---------- */
.plate { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: clamp(1rem, 3vw, 2rem); }
.plate img { margin: 0 auto; }
.plate figcaption { color: #50646F; font-size: var(--step--1); margin-top: .6rem; text-align: center; max-width: none; }

/* ---------- Set points (sectors) ---------- */
.setpoints { list-style: none; margin: 0; padding: 0; }
.setpoints li { display: grid; gap: .3rem 2rem; padding: 1.6rem 0; border-top: 1px solid var(--rule); }
.setpoints li:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 50rem) { .setpoints li { grid-template-columns: 13rem 1fr; align-items: baseline; } }
.setpoint { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.setpoint small { display: block; font-size: .85rem; font-weight: 560; font-stretch: 100%; color: var(--steel); letter-spacing: 0; margin-top: .4rem; }
.setpoints h3 { margin-bottom: .3rem; }
.setpoints p { margin-bottom: .5rem; }
.go { font-family: var(--display); font-weight: 650; }

/* ---------- Diagram ---------- */
.diagram { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 1.25rem; }
.diagram svg { margin: 0 auto; min-width: 36rem; }
.diagram { overflow-x: auto; }
.diagram text { font-family: var(--display); fill: var(--ink); }
.diagram .box { fill: var(--frost); stroke: var(--rule); stroke-width: 1.5; }
.diagram .fb { fill: var(--night); }
.diagram .fb-t { fill: #fff; font-weight: 700; }
.diagram .fb-s { fill: #ABA6C4; }
.diagram .wire { stroke: var(--steel); stroke-width: 2; fill: none; }
.diagram .wire.cut { stroke: var(--brass); stroke-dasharray: 3 5; }
.diagram .gap { fill: var(--brass-ink); font-size: 12px; font-weight: 700; }
.diagram .lbl { font-size: 13px; }
.diagram .sub { font-size: 11.5px; fill: var(--steel); }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--display); font-weight: 680; font-size: 1.12rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .95rem; font-size: 1.5rem; font-weight: 400; color: var(--steel); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1.2rem; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
form.enquiry { display: grid; gap: 1rem; max-width: 40rem; }
@media (min-width: 40rem) { form.enquiry { grid-template-columns: 1fr 1fr; } form.enquiry .full { grid-column: 1 / -1; } }
label { display: block; font-family: var(--display); font-weight: 620; font-size: .95rem; margin-bottom: .3rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--frost);
  border: 1px solid var(--rule); border-radius: 4px; padding: .7rem .8rem;
}
textarea { min-height: 7rem; resize: vertical; }
.hp { position: absolute; left: -5000px; }

/* ---------- Article pages ---------- */
.crumbs { font-family: var(--display); font-size: .9rem; color: var(--steel); padding-top: 2rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--rule); }
.page-head { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.page-head p.updated { font-family: var(--display); font-size: .9rem; color: var(--steel); }
.article { padding-top: 0; border-top: 0; }
.article .split { align-items: start; }
.aside { position: sticky; top: 6rem; }
.aside .plate { margin-bottom: 1.5rem; }
.aside nav h2 { font-size: 1.05rem; font-stretch: 100%; margin-bottom: .6rem; }
.aside nav ul { list-style: none; padding: 0; margin: 0; font-family: var(--display); font-size: .95rem; }
.aside nav li { padding: .45rem 0; border-top: 1px solid var(--rule); }
.cta-band { background: var(--night); color: var(--on-night); border-radius: 8px; padding: clamp(1.5rem, 4vw, 2.5rem); margin-top: 3rem; }
.cta-band h2 { color: #fff; font-size: var(--step-2); }
.cta-band p { color: var(--on-night-2); }
.cta-band .btn { background: var(--brass); border-color: var(--brass); color: #1A1406; }
.cta-band .btn:hover { background: transparent; color: var(--brass); }
figure.wide { margin: 2rem 0; }
figure.wide img { border-radius: 6px; }
figure.wide figcaption { font-size: var(--step--1); color: var(--steel); margin-top: .5rem; }
.checklist { counter-reset: c; list-style: none; padding: 0 !important; }
.checklist > li { counter-increment: c; position: relative; padding: 1rem 0 1rem 3rem; border-top: 1px solid var(--rule); margin: 0 !important; }
.checklist > li::before { content: counter(c); position: absolute; left: 0; top: .95rem; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--brass-ink); font-variant-numeric: tabular-nums; }
.checklist strong { font-family: var(--display); }
table.temps { border-collapse: collapse; width: 100%; max-width: var(--measure); font-size: .98rem; margin: 1rem 0 1.5rem; }
table.temps th, table.temps td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.temps th { font-family: var(--display); font-weight: 700; }
table.temps td.num { white-space: nowrap; }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: var(--on-night-2); padding: 3.5rem 0 2.5rem; font-size: var(--step--1); }
.site-foot a { color: var(--on-night); }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 50rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot h2 { font-size: 1rem; font-stretch: 100%; color: #fff; margin-bottom: .7rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { padding: .25rem 0; }
.site-foot .brand { color: #fff; margin-bottom: .8rem; }
.legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #38324F; }

/* Campaign identity around the editorial reading layout. */
:root{--display:Inter,Arial,sans-serif;--body:Georgia,"Times New Roman",serif}
.site-head,.site-foot{background:#191620;color:#f6f3f7;--ink:#f6f3f7;--steel:#d6d2da;--rule:#50495b;--paper:#191620}
.site-head .brand img,.site-foot .brand img{display:block;width:125px;height:auto}
.site-head .nav .btn,.btn:not(.ghost){background:#ffb62d;border-color:#ffb62d;color:#19141b;border-radius:5px}
.site-head .nav a[aria-current=page]{color:#ffcb63}
.site-foot .policy-links{width:min(90%,72rem);margin:1rem auto;color:#ded8e4}
h1,h2,h3{letter-spacing:-.04em}
@media(max-width:900px){.site-head .nav{background:#191620}}
figure.product-photo{background:radial-gradient(ellipse at 45% 60%,#42394c,#211c2a 75%);border-color:#514858}
figure.product-photo img{width:100%;height:clamp(220px,28vw,350px);object-fit:contain;background:transparent}
figure.product-photo figcaption{color:#ece6f0}

footer{flex-wrap:wrap;gap:16px}.related-sites{line-height:1.8}.site-foot .related-sites{width:min(90%,72rem);margin:1rem auto}
