/* /security (Oct 28 2026 rebuild): the page leads with a drawn diagram of the local boundary, shows a real receipt
   before the network inventory, and stacks each table row into labelled fields on phones. Page-scoped; loaded after
   security-page.css. Tokens follow the home hero: teal #2ABCB4 is structure, green #34D399 allowed, red #F87171
   refused, navy #07101E, surface #0C1828, muted #94A3B0. The headline face is the home hero's Cormorant Garamond,
   declared here from the shared font files (only the homepage loads hero-fonts.css). */
@font-face{font-family:'Cormorant Garamond';font-weight:500;font-style:normal;font-display:swap;src:url(fonts/cormorant-garamond-500.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-weight:500;font-style:italic;font-display:swap;src:url(fonts/cormorant-garamond-500-italic.woff2) format('woff2')}

.security-main h1{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;letter-spacing:-.02em;color:#F1F5F9}
.security-main h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;font-size:30px;letter-spacing:-.015em;color:#F1F5F9}
.security-main .hero{gap:14px}
.security-main .hero .lede{max-width:720px}
.security-main .hero .fine{max-width:720px}
.security-main .sec>p{max-width:760px}

/* The diagram */
.boundary{border-top:0;padding-top:0}
/* The diagram is the first thing under the headline: on wide screens the hero gives up some of the shared top
   padding and section gap so the drawing starts inside the first screen. */
@media(min-width:900px){.security-main{padding-top:64px}.security-main>.hero+.boundary{margin-top:-36px}}
@media(max-width:899.98px){.security-main{padding-top:28px}.security-main>.hero+.boundary{margin-top:-16px}.security-main h2{font-size:28px}}
.boundary-figure{margin:0;display:flex;flex-direction:column;gap:14px}
.boundary-art{display:block;width:100%;height:auto;background:#0C1828;border:1px solid rgba(42,188,180,.14);border-radius:12px;box-shadow:0 0 44px rgba(42,188,180,.06)}
.boundary-art text{font-family:'DM Sans',system-ui,sans-serif;font-size:12.5px;fill:#DCE8F0}
.boundary-art .mono{font-family:'JetBrains Mono',monospace;font-size:10.5px;fill:#94A3B0;letter-spacing:.06em}
.boundary-art .cap{font-family:'JetBrains Mono',monospace;font-size:11px;fill:#2ABCB4;letter-spacing:.12em;text-transform:uppercase}
.boundary-art .name{font-weight:600;font-size:13.5px;fill:#F1F5F9}
.boundary-art .sub{font-size:11.5px;fill:#94A3B0}
.boundary-art .name.sm{font-size:12.5px}
.boundary-art .name.xs{font-size:12px}
.boundary-art .ok{fill:#34D399}
.boundary-art .no{fill:#F87171}
.boundary-art .teal{fill:#2ABCB4}
.boundary-art .ep{font-family:'JetBrains Mono',monospace;font-size:11px;fill:#DCE8F0}
.boundary-art .box{fill:#07101E;stroke:rgba(255,255,255,.14);stroke-width:1}
.boundary-art .box-hook{fill:#0C1828;stroke:#2ABCB4;stroke-width:1.5}
.boundary-art .box-ok{fill:#07101E;stroke:#34D399;stroke-width:1.25}
.boundary-art .box-no{fill:#07101E;stroke:#F87171;stroke-width:1.25}
.boundary-art .box-gap{fill:#07101E;stroke:#94A3B0;stroke-width:1.25;stroke-dasharray:4 3}
.boundary-art .box-ledger{fill:#07101E;stroke:rgba(42,188,180,.55);stroke-width:1.25}
.boundary-art .zone{fill:none;stroke:rgba(42,188,180,.35);stroke-width:1;stroke-dasharray:6 4}
.boundary-art .zone-net{fill:none;stroke:rgba(255,255,255,.16);stroke-width:1;stroke-dasharray:6 4}
.boundary-art .arrow{fill:none;stroke:#2ABCB4;stroke-width:1.5}
.boundary-art .arrow-ok{fill:none;stroke:#34D399;stroke-width:1.5}
.boundary-art .arrow-no{fill:none;stroke:#F87171;stroke-width:1.5}
.boundary-art .arrow-gap{fill:none;stroke:#94A3B0;stroke-width:1.5;stroke-dasharray:4 3}
.boundary-art .arrow-net{fill:none;stroke:#2ABCB4;stroke-width:1.25;stroke-dasharray:5 4}
.boundary-art .arrow-net-thin{fill:none;stroke:#94A3B0;stroke-width:1;stroke-dasharray:3 4}
.boundary-phone{display:none}
@media(max-width:699.98px){.boundary-wide{display:none}.boundary-phone{display:block}}
.boundary-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;list-style:none;font:400 12px/1.6 'JetBrains Mono',monospace;color:#94A3B0}
.boundary-legend li{display:flex;align-items:center;gap:8px}
.boundary-legend i{display:inline-block;width:18px;height:0;border-top:2px solid #2ABCB4;flex:none}
.boundary-legend i.ok{border-color:#34D399}
.boundary-legend i.no{border-color:#F87171}
.boundary-legend i.gap{border-top-style:dashed;border-color:#94A3B0}
.boundary-legend i.net{border-top-style:dashed}
.boundary-figure figcaption{font-size:14px;line-height:1.6;color:#94A3B0;max-width:760px}

/* The receipt */
.receipt-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:900px){.receipt-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px}}
.receipt-card{background:#0C1828;border:1px solid rgba(52,211,153,.35);border-radius:12px;padding:0;min-width:0;display:flex;flex-direction:column}
.receipt-card-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.07);font:500 11px/1.4 'JetBrains Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:#94A3B0}
.receipt-card-head b{color:#34D399;font-weight:600}
.receipt-fields{margin:0;padding:6px 18px 12px;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:0 16px;font:400 12.5px/1.55 'JetBrains Mono',monospace}
.receipt-fields dt{color:#94A3B0;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.receipt-fields dd{margin:0;color:#DCE8F0;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.05);overflow-wrap:anywhere;min-width:0}
.receipt-fields dt:nth-last-child(2),.receipt-fields dd:last-child{border-bottom:0}
.receipt-fields .ok{color:#34D399;font-weight:600}
.receipt-fields .dim{color:#94A3B0}
.receipt-json{background:#07101E;border:1px solid rgba(255,255,255,.07);border-radius:12px;min-width:0;display:flex;flex-direction:column}
.receipt-json-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.07);font:500 11px/1.4 'JetBrains Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:#94A3B0}
.receipt-json-head a{color:#2ABCB4;text-transform:none;letter-spacing:0;font-size:12px}
.security-main .receipt-json pre{margin:0;padding:14px 16px;max-height:380px;overflow:auto;background:transparent;border:0;border-radius:0 0 12px 12px;font-size:11.5px;line-height:1.55;white-space:pre;overflow-wrap:normal}
@media(max-width:699.98px){.security-main .receipt-json pre{max-height:300px}.receipt-fields{grid-template-columns:1fr;gap:0}.receipt-fields dt{padding:8px 0 0;border-bottom:0;font-size:11px;letter-spacing:.06em;text-transform:uppercase}.receipt-fields dd{padding:2px 0 8px}}

/* Phone tables: each destination becomes a card with labelled fields; no sideways scrolling. */
@media(max-width:699.98px){
  .security-main .twrap{overflow:visible}
  .security-main .tbl.tbl-stack{min-width:0}
  .security-main .tbl.tbl-stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .security-main .tbl.tbl-stack,.security-main .tbl.tbl-stack tbody,.security-main .tbl.tbl-stack tr,.security-main .tbl.tbl-stack th,.security-main .tbl.tbl-stack td{display:block;width:100%}
  .security-main .tbl.tbl-stack tr{border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:14px 16px;margin:0 0 12px;background:#0C1828}
  .security-main .tbl.tbl-stack tbody th{white-space:normal;font-size:15px;font-weight:500;padding:0 0 10px;border:0;color:#F1F5F9}
  .security-main .tbl.tbl-stack tbody th code{font-size:13px;color:#2ABCB4}
  .security-main .tbl.tbl-stack td{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:13.5px}
  .security-main .tbl.tbl-stack td:last-child{border-bottom:0;padding-bottom:0}
  .security-main .tbl.tbl-stack td::before{content:attr(data-label);display:block;font:500 10.5px/1.6 'JetBrains Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:#94A3B0;margin-bottom:2px}
}
.boundary-art .divider{fill:none;stroke:rgba(255,255,255,.1);stroke-width:1;stroke-dasharray:2 4}
