:root {
  --accent: #d95557;
  --accent-hover: #c44648;
  --accent-soft: rgba(217, 85, 87, 0.12);
  --bg-dark: #161b22;
  --bg-card: #21262d;
  --bg-light: #f8f9fa;
  --surface: #ffffff;
  --text-main: #1f242c;
  --text-sub: #586069;
  --text-light: #f0f6fc;
  --border: #e1e4e8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 24px rgba(217, 85, 87, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Header & Beacon Navigation */
.stamp {
  background-color: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.conduit {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.sigil {
  display: flex;
  align-items: center;
}

.sigil img {
  height: 40px;
  width: auto;
  display: block;
}

.keyway {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tracer {
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.tracer:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.tracer.active {
  color: #ffffff;
  background-color: var(--accent);
}

/* Main Outer Matrix */
.matrix {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Block 1: Acquire - Hero Split Diagonal Download Center */
.dispatch {
  background: linear-gradient(135deg, #161b22 0%, #281e23 100%);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 48px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  min-height: 480px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.sheath-dispatch {
  flex: 1 1 500px;
  min-width: 0;
}

.slip-dispatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(217, 85, 87, 0.2);
  color: #ff8e90;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(217, 85, 87, 0.3);
}

.quad-dispatch {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  white-space: normal;
}

.script-dispatch {
  font-size: 16px;
  color: #a0a6b0;
  margin-bottom: 32px;
  line-height: 1.7;
}

.visage-dispatch {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.visage-dispatch img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Download Cards Harness */
.harness-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  width: 100%;
}

.ciphers {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ciphers:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.node-ciphers-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.glyph-closure {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.quad-ciphers {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  white-space: normal;
}

.script-meta {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.6;
}

.script-meta span {
  display: block;
}

.keyer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(217, 85, 87, 0.3);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.keyer:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.keyer-secondary {
  background-color: #21262d;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.keyer-secondary:hover {
  background-color: #30363d;
}

/* Block 2: Article - Sync Architecture */
.airwave {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
}

.sheath-airwave {
  flex: 1 1 450px;
  min-width: 0;
}

.quad-airwave {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  white-space: normal;
}

.script-airwave {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.7;
}

.node-sync {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pulse-sync {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.glyph-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.script-sync-quad {
  font-weight: 700;
  color: var(--text-main);
  font-size: 15px;
}

.script-sync-desc {
  font-size: 13px;
  color: var(--text-sub);
}

.visage-sync {
  flex: 1 1 450px;
  min-width: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.visage-sync img {
  width: 100%;
  height: auto;
  display: block;
}

/* Block 3: Aside - System Requirements Table & Compatibility */
.sounder {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.quad-sounder {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  white-space: normal;
}

.script-sounder {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.harness-table {
  width: 100%;
  overflow-x: auto;
}

.matrix-specs {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.matrix-specs th {
  background-color: var(--bg-light);
  color: var(--text-main);
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.matrix-specs td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}

.matrix-specs tr:last-child td {
  border-bottom: none;
}

.slip-spec {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  background-color: rgba(217, 85, 87, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

/* Block 4: Div - Security & SHA-256 Verification Guide */
.harness-security {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.quad-security {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  white-space: normal;
}

.script-security {
  font-size: 14px;
  color: #a0a6b0;
  margin-bottom: 28px;
}

.node-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  counter-reset: step-counter;
}

.pulse-step {
  flex: 1 1 300px;
  min-width: 0;
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.pulse-step::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.quad-step {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.script-step {
  font-size: 13px;
  color: #8b949e;
  line-height: 1.6;
}

.telecode-hash {
  margin-top: 24px;
  background-color: #161b22;
  border: 1px dashed rgba(217, 85, 87, 0.4);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.script-hash {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  color: #79c0ff;
  word-break: break-all;
}

/* Footer & Terminal Signoff */
.ping {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 24px 32px 24px;
  margin-top: 60px;
}

.terminal {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.sheath-brand {
  flex: 1 1 300px;
  min-width: 0;
}

.script-brand-quad {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.script-brand-desc {
  font-size: 13px;
  color: #8b949e;
  line-height: 1.6;
}

.sheath-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  flex: 2 1 500px;
  min-width: 0;
}

.node-ping-col {
  flex: 1 1 140px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quad-ping-col {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.tracer-ping {
  color: #8b949e;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.25s ease;
}

.tracer-ping:hover {
  color: var(--accent);
}

.ground {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #6e7681;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .dispatch {
    padding: 36px 24px;
  }
  .quad-dispatch {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .conduit {
    height: auto;
    padding: 16px;
    gap: 16px;
  }
  .keyway {
    width: 100%;
    justify-content: flex-start;
  }
  .dispatch {
    flex-direction: column;
    padding: 28px 20px;
  }
  .airwave {
    flex-direction: column;
    padding: 28px 20px;
  }
  .sounder {
    padding: 24px 18px;
  }
  .harness-security {
    padding: 28px 20px;
  }
  .quad-dispatch {
    font-size: 24px;
  }
  .quad-airwave {
    font-size: 22px;
  }
  .ground {
    flex-direction: column;
  }
}

.beacon-stamp {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    word-break: break-word;
    color: var(--text-main);
}
.beacon-stamp,
.beacon-stamp *,
.beacon-stamp *::before,
.beacon-stamp *::after {
    box-sizing: border-box;
}

.beacon-stamp nav,
.beacon-stamp div,
.beacon-stamp section,
.beacon-stamp article,
.beacon-stamp aside,
.beacon-stamp p,
.beacon-stamp h1,
.beacon-stamp h2,
.beacon-stamp h3,
.beacon-stamp h4,
.beacon-stamp h5,
.beacon-stamp h6,
.beacon-stamp a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.beacon-stamp p,
.beacon-stamp h1,
.beacon-stamp h2,
.beacon-stamp h3,
.beacon-stamp h4,
.beacon-stamp h5,
.beacon-stamp h6 {
    text-decoration: none;
}

.beacon-stamp img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.beacon-stamp {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.beacon-stamp a.beacon-tracer {
    --aisite-shell-nav-padding: 8px 16px;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.beacon-stamp a.beacon-tracer,
.beacon-stamp a.beacon-tracer:hover,
.beacon-stamp a.beacon-tracer:focus,
.beacon-stamp a.beacon-tracer:active,
.beacon-stamp a.beacon-tracer.active,
.beacon-stamp a.beacon-tracer[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.beacon-stamp{
            background-color: #161b22;
            color: #f0f6fc;
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid #30363d;
        }

.beacon-stamp .beacon-conduit{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            min-height: 72px;
        }

.beacon-stamp .beacon-sigil{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.beacon-stamp .beacon-sigil img{
            height: 40px;
            width: auto;
            display: block;
        }

.beacon-stamp .beacon-keyway{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
        }

.beacon-stamp .beacon-tracer{
            padding: 8px 16px;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 500;
            color: #8b949e;
            transition: all 0.25s ease;
            min-width: 0;
        }

.beacon-stamp .beacon-tracer:hover{
            color: #f0f6fc;
            background-color: rgba(255, 255, 255, 0.08);
        }

.beacon-stamp .beacon-tracer.active{
            color: #ffffff;
            background-color: #d95557;
        }

@media (max-width: 768px){.beacon-stamp .beacon-conduit{
                padding: 12px 16px;
            }

.beacon-stamp .beacon-keyway{
                width: 100%;
                margin-top: 12px;
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 4px;
            }}

.signoff-signoff {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    word-break: break-word;
    color: var(--text-main);
}
.signoff-signoff,
.signoff-signoff *,
.signoff-signoff *::before,
.signoff-signoff *::after {
    box-sizing: border-box;
}

.signoff-signoff nav,
.signoff-signoff div,
.signoff-signoff section,
.signoff-signoff article,
.signoff-signoff aside,
.signoff-signoff p,
.signoff-signoff h1,
.signoff-signoff h2,
.signoff-signoff h3,
.signoff-signoff h4,
.signoff-signoff h5,
.signoff-signoff h6,
.signoff-signoff a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.signoff-signoff p,
.signoff-signoff h1,
.signoff-signoff h2,
.signoff-signoff h3,
.signoff-signoff h4,
.signoff-signoff h5,
.signoff-signoff h6 {
    text-decoration: none;
}

.signoff-signoff img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.signoff-signoff {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.signoff-signoff a,
.signoff-signoff a:hover,
.signoff-signoff a:focus,
.signoff-signoff a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.signoff-signoff .signoff-conduit{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            min-height: 72px;
        }

.signoff-signoff{
            background-color: #161b22;
            color: #8b949e;
            font-size: 14px;
            border-top: 1px solid #30363d;
            padding: 48px 0 32px 0;
        }

.signoff-signoff .signoff-ground{
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            justify-content: space-between;
            margin-bottom: 40px;
        }

.signoff-signoff .signoff-ping-brand{
            flex: 1 1 320px;
            min-width: 0;
        }

.signoff-signoff .signoff-quad-brand{
            font-size: 20px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 12px;
        }

.signoff-signoff .signoff-script-brand{
            font-size: 13px;
            line-height: 1.6;
            color: #8b949e;
        }

.signoff-signoff .signoff-ping-links{
            flex: 1 1 200px;
            min-width: 0;
        }

.signoff-signoff .signoff-quad-ping{
            font-size: 15px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 14px;
        }

.signoff-signoff .signoff-cadence-ping{
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

.signoff-signoff .signoff-tracer-ping{
            color: #8b949e;
            font-size: 14px;
        }

.signoff-signoff .signoff-tracer-ping:hover{
            color: #d95557;
        }

.signoff-signoff .signoff-terminal{
            border-top: 1px solid #30363d;
            padding-top: 24px;
            text-align: center;
            font-size: 13px;
            color: #6e7681;
        }

@media (max-width: 768px){.signoff-signoff .signoff-conduit{
                padding: 12px 16px;
            }}