:root {
  --bg-deep: #1c222b;
  --bg-plate: #232b36;
  --bg-card: #2a333f;
  --bg-elevated: #303948;
  --text-primary: #ffffff;
  --text-secondary: #c6cdd6;
  --text-muted: #8b95a3;
  --accent: #3cbef2;
  --accent-dim: #2a8fb8;
  --accent-glow: rgba(60, 190, 242, 0.18);
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow-plate: 0 2px 0 #161b22, 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(60, 190, 242, 0.08), transparent 70%),
    radial-gradient(circle at 10% 20%, rgba(48, 57, 72, 0.9) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(48, 57, 72, 0.7) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
  overflow-wrap: break-word;
  word-break: break-word;
}

a:hover,
a:focus {
  color: #6fd3ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.skeuo-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.skeuo-plate {
  background: linear-gradient(180deg, #262e3a 0%, #202730 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-plate), var(--shadow-inset);
  padding: 0 0 20px;
  position: relative;
  overflow: hidden;
}

.skeuo-plate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.skeuo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(180deg, #303948 0%, #2a333f 100%);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.logo-badge {
  position: relative;
  display: inline-flex;
  padding: 6px 10px;
  background: linear-gradient(160deg, #394455 0%, #2a333f 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 3px 8px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.skeuo-logo {
  width: 165px;
  height: 60px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.logo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 45%, transparent 60%);
  pointer-events: none;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-verified,
.badge-year {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #394455 0%, #2a333f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--text-secondary);
  white-space: nowrap;
}

.badge-verified {
  color: var(--accent);
  border-color: rgba(60, 190, 242, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(60, 190, 242, 0.12), 0 2px 8px rgba(60, 190, 242, 0.15);
}

.skeuo-main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.breadcrumb-nav {
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--text-muted);
  opacity: 0.6;
}

.breadcrumb-item a {
  color: var(--text-secondary);
}

.breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-item[aria-current="page"] {
  color: var(--text-muted);
}

.hero-card {
  position: relative;
  background: linear-gradient(165deg, #2d3644 0%, #252d38 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 28px 30px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent), var(--accent-dim));
  opacity: 0.85;
}

.skeuo-h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--text-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin: 0 0 18px;
  text-transform: lowercase;
}

.stone-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
  margin: 20px 0;
  position: relative;
}

.stone-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--accent-glow);
}

.stone-divider.wide {
  margin: 32px 0;
}

.hero-note {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 15.5px;
  max-width: 72ch;
}

.hero-note strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-primary {
  margin: 0;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #3cbef2 0%, #2a8fb8 100%);
  color: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 4px 14px rgba(60, 190, 242, 0.28);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  word-break: break-all;
}

.primary-link:hover,
.primary-link:focus {
  color: #0d1117;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(60, 190, 242, 0.4);
}

.links-section {
  position: relative;
}

.links-plate {
  background: linear-gradient(180deg, #2a333f 0%, #242c37 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.plate-engraving {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plate-engraving::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

.plate-engraving.small {
  margin: 16px 0 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--text-muted);
  opacity: 0.8;
}

.plate-engraving.small::after {
  display: none;
}

.mirror-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mirror-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 16px;
  background: linear-gradient(180deg, #333d4c 0%, #2b3441 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.25);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mirror-item:hover {
  border-color: rgba(60, 190, 242, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 2px 12px rgba(60, 190, 242, 0.12);
}

.mirror-item.mirror-primary {
  border-color: rgba(60, 190, 242, 0.45);
  background: linear-gradient(180deg, #33404f 0%, #2a3543 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(60, 190, 242, 0.12),
    0 3px 14px rgba(60, 190, 242, 0.15);
}

.mirror-knob {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6fd3ff, var(--accent-dim));
  box-shadow: 0 0 6px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.mirror-link {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  word-break: break-all;
  flex: 1 1 220px;
  min-width: 0;
}

.mirror-link:hover {
  color: #8fdcff;
}

.mirror-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(60, 190, 242, 0.3);
  background: rgba(60, 190, 242, 0.08);
  white-space: nowrap;
  flex-shrink: 0;
}

.mirror-primary-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0d1117;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3cbef2, #2a8fb8);
  white-space: nowrap;
  flex-shrink: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.info-card {
  background: linear-gradient(180deg, #2a333f 0%, #242c37 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 3px 10px rgba(0, 0, 0, 0.28);
  transition: border-color 0.15s ease;
}

.info-card:hover {
  border-color: rgba(60, 190, 242, 0.25);
}

.info-h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}

.info-h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--accent-glow);
}

.info-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.info-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

.deep-dive {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 28px 0 14px;
  color: var(--text-primary);
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.section-h2:first-of-type {
  margin-top: 0;
}

.prose-block {
  background: linear-gradient(180deg, #272f3a 0%, #232a34 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin-bottom: 4px;
}

.prose-block p {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 78ch;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.prose-block strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose-block em {
  color: var(--text-muted);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.6;
  display: block;
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid var(--border-strong);
}

.spec-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 18px 0 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #2b3441 0%, #262e39 100%);
  flex-wrap: wrap;
}

.spec-key {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.spec-val {
  font-size: 14px;
  color: var(--text-primary);
  text-align: right;
  word-break: break-word;
}

.faq-section {
  margin-top: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: linear-gradient(180deg, #2a333f 0%, #242c37 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.25);
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: rgba(60, 190, 242, 0.25);
}

.faq-q {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary);
  line-height: 1.4;
  position: relative;
  padding-left: 18px;
}

.faq-q::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.9;
}

.faq-a {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 18px;
  max-width: 80ch;
}

.internal-links-section {
  margin-top: 8px;
}

.related-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.related-list li {
  background: linear-gradient(180deg, #2a333f 0%, #242c37 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.related-list li:hover {
  border-color: rgba(60, 190, 242, 0.35);
  transform: translateY(-1px);
}

.related-list a {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  word-break: break-word;
}

.skeuo-footer {
  margin-top: 8px;
  padding: 24px;
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(48, 57, 72, 0.4) 0%, rgba(28, 34, 43, 0.6) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-net {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.net-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.net-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.net-link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #333d4c 0%, #2b3441 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 4px rgba(0, 0, 0, 0.25);
  color: var(--text-secondary);
  word-break: break-all;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.net-link:hover {
  color: var(--accent);
  border-color: rgba(60, 190, 242, 0.35);
  text-decoration: none;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.pgp-stamp {
  color: var(--accent-dim);
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.footer-nav a {
  font-size: 12.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.footer-nav a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .skeuo-wrapper {
    padding: 16px 12px 32px;
  }

  .skeuo-plate {
    border-radius: var(--radius-md);
  }

  .skeuo-header {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .skeuo-main {
    padding: 16px;
    gap: 22px;
  }

  .hero-card {
    padding: 24px 18px 22px;
  }

  .hero-sub {
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .skeuo-h1 {
    font-size: 1.5rem;
  }

  .primary-link {
    font-size: 13px;
    padding: 11px 16px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .links-plate {
    padding: 18px 14px;
  }

  .mirror-item {
    padding: 12px;
    gap: 8px;
  }

  .mirror-link {
    flex-basis: 100%;
    font-size: 13px;
    order: 3;
  }

  .mirror-primary-tag {
    order: 2;
  }

  .mirror-tag {
    order: 1;
    margin-left: auto;
  }

  .info-card {
    padding: 18px 16px;
  }

  .prose-block {
    padding: 16px;
  }

  .prose-block p {
    font-size: 14.5px;
  }

  .spec-row {
    padding: 10px 14px;
  }

  .spec-val {
    text-align: left;
  }

  .faq-item {
    padding: 16px;
  }

  .skeuo-footer {
    padding: 18px 16px;
  }

  .footer-copy {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .logo-badge {
    padding: 4px 8px;
  }

  .skeuo-logo {
    width: 138px;
    height: 50px;
  }

  .header-meta {
    width: 100%;
    justify-content: space-between;
  }

  .badge-verified,
  .badge-year {
    font-size: 11px;
    padding: 6px 10px;
  }

  .section-h2 {
    font-size: 1.1rem;
  }

  .faq-q {
    font-size: 14px;
  }

  .faq-a {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}