/* ==========================================================================
   Sika Nexus — single stylesheet
   "Free Scripts. Real Tools."
   No external resources, no CDN, no webfonts. System fonts only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #030817;
  --panel: #071230;
  --panel-2: #0a1a3f;
  --line: #12306e;
  --cyan: #00d4ff;
  --blue: #2f6bff;
  --text: #d7e4ff;
  --muted: #6f86b8;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1120px;
  --gap: 1.25rem;
  --pad: clamp(1rem, 3.5vw, 2rem);
}

/* --------------------------------------------------------------------------
   2. Base + reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #eaf2ff;
}

h1 {
  font-size: clamp(1.9rem, 6.2vw, 3.3rem);
}

h2 {
  font-size: clamp(1.35rem, 3.6vw, 2rem);
}

h3 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

li {
  margin: 0.25rem 0;
}

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

code,
kbd,
pre,
samp {
  font-family: var(--font-mono);
}

strong {
  color: #f2f7ff;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

::selection {
  background: rgba(0, 212, 255, 0.28);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. Ambient background — faint grid + soft glow (decorative, cheap)
   -------------------------------------------------------------------------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(900px 520px at 10% -10%, rgba(47, 107, 255, 0.22), transparent 62%),
    radial-gradient(760px 460px at 96% 2%, rgba(0, 212, 255, 0.13), transparent 60%),
    linear-gradient(to right, rgba(18, 48, 110, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 48, 110, 0.5) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  -webkit-mask-image: radial-gradient(1300px 900px at 50% -5%, #000 25%, transparent 100%);
  mask-image: radial-gradient(1300px 900px at 50% -5%, #000 25%, transparent 100%);
}

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.wrap--narrow {
  max-width: 860px;
}

.section {
  padding-block: clamp(2.25rem, 6vw, 4rem);
}

.section--tight {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.section--lined {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 1.75rem;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   5. Small type utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(to right, var(--cyan), rgba(0, 212, 255, 0));
}

.lede {
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: #b9cbee;
  max-width: 58ch;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   6. Links + focus
   -------------------------------------------------------------------------- */
a {
  color: var(--cyan);
  text-decoration-color: rgba(0, 212, 255, 0.4);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   7. Header + nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(3, 8, 23, 0.82);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.brand:hover .brand-name {
  color: #ffffff;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  border-color: var(--line);
  background: var(--panel);
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease,
    background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.55);
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
  color: #02081c;
  box-shadow: 0 6px 24px -8px rgba(0, 212, 255, 0.6);
}

.btn--primary:hover {
  box-shadow: 0 10px 30px -8px rgba(0, 212, 255, 0.75);
}

.btn--ghost {
  background: transparent;
  color: var(--cyan);
}

.btn--sm {
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 8vw, 5.5rem) clamp(2rem, 6vw, 4rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3rem);
  align-items: center;
}

.hero h1 .accent {
  color: var(--cyan);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-meta li::before {
  content: "◆ ";
  color: var(--blue);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 260px at 50% 42%, rgba(0, 212, 255, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(10, 26, 63, 0.9), rgba(7, 18, 48, 0.75));
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px dashed rgba(18, 48, 110, 0.85);
  pointer-events: none;
}

.mascot {
  width: min(260px, 70vw);
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
  animation: float 7s ease-in-out infinite;
}

.art-caption {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* --------------------------------------------------------------------------
   10. Cards + grids
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.card {
  position: relative;
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 26, 63, 0.72), rgba(7, 18, 48, 0.6));
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.25s ease;
}

.card h3 {
  margin-bottom: 0.35rem;
}

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

a.card {
  color: inherit;
  text-decoration: none;
  display: block;
}

a.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 14px 40px -22px rgba(0, 212, 255, 0.6);
}

.card--glow {
  box-shadow: inset 0 1px 0 rgba(0, 212, 255, 0.16);
}

.card--glow::after {
  content: "";
  position: absolute;
  inset-inline: 1.1rem;
  top: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  opacity: 0.75;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.card-links a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(3, 8, 23, 0.55);
}

.card-links a:hover {
  border-color: rgba(0, 212, 255, 0.55);
  color: var(--cyan);
}

/* Feature checklist */
.tick-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
}

.tick-list li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0.4rem 0;
  font-size: 0.94rem;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

/* --------------------------------------------------------------------------
   11. Badges / pills
   -------------------------------------------------------------------------- */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.pill {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.34rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.pill--accent {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.4);
}

/* --------------------------------------------------------------------------
   12. Notes / callout boxes
   -------------------------------------------------------------------------- */
.note {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  background: rgba(7, 18, 48, 0.72);
}

.note--cyan {
  border-left-color: var(--cyan);
}

.note--warn {
  border-left-color: #ffb457;
}

.note-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.5rem;
}

.note--warn .note-title {
  color: #ffb457;
}

.note p:last-child,
.note ul:last-child {
  margin-bottom: 0;
}

.note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.note-list li {
  position: relative;
  padding-left: 1.3rem;
  margin: 0.55rem 0;
}

.note-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   13. Figure / screenshot
   -------------------------------------------------------------------------- */
.figure {
  margin: 0;
}

.figure-frame {
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 26, 63, 0.8), rgba(7, 18, 48, 0.6));
  box-shadow: 0 24px 60px -34px rgba(0, 212, 255, 0.55);
}

.figure img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.figure figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   14. Steps
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--gap);
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.15rem 1.2rem 1.15rem 3.6rem;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 26, 63, 0.7), rgba(7, 18, 48, 0.55));
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.45);
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.steps h3 {
  margin-bottom: 0.3rem;
}

.steps p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   15. Code blocks (copyable-looking, plain <pre>)
   -------------------------------------------------------------------------- */
.code-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.code {
  position: relative;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #04102a;
  overflow: hidden;
}

.code::before {
  content: "";
  display: block;
  height: 26px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16px 13px, #1d3a78 4px, transparent 4.5px),
    radial-gradient(circle at 32px 13px, #1d3a78 4px, transparent 4.5px),
    radial-gradient(circle at 48px 13px, #1d3a78 4px, transparent 4.5px),
    linear-gradient(180deg, rgba(10, 26, 63, 0.9), rgba(4, 16, 42, 0.6));
}

.code pre {
  margin: 0;
  padding: 0.95rem 1.1rem 1.1rem;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre;
}

.code code {
  font-size: inherit;
}

.c-cmd {
  color: #ffffff;
  font-weight: 600;
}

.c-flag {
  color: var(--cyan);
}

.c-cm {
  color: var(--muted);
}

.c-str {
  color: #9fd0ff;
}

.c-url {
  color: #a8ffcf;
}

/* Keyboard keys */
.kbd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.kbd-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(7, 18, 48, 0.6);
}

kbd {
  display: inline-block;
  min-width: 2.4rem;
  text-align: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.09);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-bottom-width: 2px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   16. Tables
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(7, 18, 48, 0.6);
}

table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(18, 48, 110, 0.65);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(3, 8, 23, 0.5);
}

tbody th {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.table-wrap + h3 {
  margin-top: 1.75rem;
}

tbody tr:hover {
  background: rgba(0, 212, 255, 0.045);
}

/* --------------------------------------------------------------------------
   17. FAQ (details / summary)
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(7, 18, 48, 0.6);
  overflow: hidden;
}

summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 3rem 0.95rem 1.1rem;
  font-weight: 600;
  color: var(--text);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--cyan);
}

details[open] summary::after {
  content: "−";
}

summary:hover {
  color: #ffffff;
  background: rgba(0, 212, 255, 0.05);
}

details .faq-body {
  padding: 0 1.1rem 1.1rem;
  color: #b9cbee;
}

details .faq-body p:last-child,
details .faq-body ul:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   18. Link rows (channel section)
   -------------------------------------------------------------------------- */
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(7, 18, 48, 0.6);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.link-list a:hover {
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateX(3px);
}

.link-name {
  font-weight: 600;
}

.link-desc {
  display: block;
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 400;
}

.link-arrow {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   19. CTA strip + footer
   -------------------------------------------------------------------------- */
.cta {
  text-align: center;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(0, 212, 255, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(10, 26, 63, 0.8), rgba(7, 18, 48, 0.6));
}

.cta .btn-row {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-block: 2.25rem 2.5rem;
  background: rgba(3, 8, 23, 0.6);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-col h2,
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0.4rem 0;
}

.footer-col a {
  color: #b9cbee;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(18, 48, 110, 0.7);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   20. 404
   -------------------------------------------------------------------------- */
.error-code {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 16vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 0.75rem;
}

/* --------------------------------------------------------------------------
   21. Responsive (mobile first → larger screens)
   -------------------------------------------------------------------------- */
@media (min-width: 34rem) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn-row .btn {
    padding: 0.85rem 1.35rem;
  }
}

@media (min-width: 48rem) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--sidebar {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .kbd-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .kbd-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   22. Motion / print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .mascot {
    animation: none;
  }

  .btn:hover,
  a.card:hover,
  .link-list a:hover {
    transform: none;
  }
}

@media print {
  .bg,
  .site-header,
  .hero-art {
    display: none;
  }
}