/* Body copy and controls share the site font; display and monospace styles remain explicit. */
html,
body,
body.font-sans { font-family: 'Gantari', sans-serif; }
button,
input,
select,
textarea { font-family: inherit; }

/* Shared navigation for every full site page. */
.site-footer {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(160,120,255,.14);
  background: #050310;
  padding: 2rem 1.5rem;
  color: #807c92;
  font-family: 'Gantari', system-ui, sans-serif;
  font-size: .75rem;
}
.site-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.site-footer-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.site-footer-brand img { flex: none; object-fit: contain; opacity: .9; }
.site-footer-brand-name { display: block; font-family: 'Effloresce', Georgia, serif; font-size: 1rem; color: #f8f4ec; }
.site-footer-tagline { display: block; margin-top: .25rem; color: #807c92; }
.site-footer-details { text-align: right; }
.site-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem 1.25rem; }
.site-footer-links a { color: #cfcabf; text-decoration: none; transition: color .15s; }
.site-footer-links a:hover { color: #fff; }
.site-footer-links a:focus-visible,
.site-footer-brand:focus-visible,
.alternative-card:focus-visible { outline: 2px solid #c0a0ff; outline-offset: 6px; border-radius: 4px; }
.site-footer-copyright { margin: .75rem 0 0; }
.alternatives-page { display: flex; flex-direction: column; }
.alternatives-main { width: 100%; max-width: 75rem; margin: 0 auto; padding: 5rem 1.5rem; flex: 1; }
.alternatives-header { max-width: 46rem; margin-bottom: 3rem; }
.alternatives-eyebrow { color: #c0a0ff; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.alternatives-header h1 { font-family: 'Effloresce', Georgia, serif; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 400; line-height: 1.12; color: #f8f4ec; text-wrap: balance; }
.alternatives-header > p:last-child { color: #cfcabf; margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.8; }
.alternatives-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.alternative-card { display: block; padding: 1.75rem; border: 1px solid rgba(192,160,255,.16); border-radius: 1.25rem; background: linear-gradient(145deg, rgba(192,160,255,.07), rgba(255,255,255,.02)); text-decoration: none; transition: border-color .15s, background .15s; }
.alternative-card:hover { border-color: rgba(192,160,255,.6); background: rgba(192,160,255,.1); }
.alternative-card-icons { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.alternative-favicon { width: 3rem; height: 3rem; flex: none; object-fit: contain; border-radius: .75rem; }
.alternative-versus { color: #9098b0; font-size: .75rem; }
.alternative-card h2 { color: #f8f4ec; font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.alternative-card-cta { display: block; color: #c0a0ff; margin-top: .75rem; font-size: .875rem; }
@media (max-width: 900px) { .alternatives-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .site-footer-inner { flex-direction: column; }
  .site-footer-details { text-align: center; }
  .site-footer-links { justify-content: center; }
}
@media (max-width: 540px) {
  .alternatives-main { padding-top: 3rem; padding-bottom: 3rem; }
  .alternatives-grid { grid-template-columns: 1fr; }
}

@font-face {
    font-family: 'Effloresce';
    src: url('assets/fonts/Effloresce.otf') format('opentype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
  }
  @font-face {
    font-family: 'Effloresce';
    src: url('assets/fonts/Effloresce%20It.otf') format('opentype');
    font-style: italic;
    font-weight: 400;
    font-display: swap;
  }
  @font-face {
    font-family: 'Effloresce';
    src: url('assets/fonts/Effloresce%20Bd.otf') format('opentype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
  }
  @font-face {
    font-family: 'Effloresce';
    src: url('assets/fonts/Effloresce%20Bd%20It.otf') format('opentype');
    font-style: italic;
    font-weight: 700;
    font-display: swap;
  }

  :root {
    --ink:    #f8f4ec;
    --ink-dim:#cfcabf;
    --water-h: 24vh;
    --skyline-h: 13vh;
  }

  /* Bespoke artwork only: sky, stars, canvas scene and vignette. */
  /* night sky gradient — ends on light purple, no dark reversal */
  .stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      linear-gradient(180deg,
        #04010e 0%,
        #06021a 15%,
        #08041f 30%,
        #0c0628 45%,
        #100a35 58%,
        #180e48 68%,
        #22145a 76%,
        #351a75 83%,
        #501e8e 89%,
        #7030a0 94%,
        #8040b0 100%)
        top / 100% 100% no-repeat;
  }

  .star-field {
    position: absolute; inset: 0 0 35% 0; z-index: 1;
    pointer-events: none;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    color: #d0d8ff;
  }
  .star {
    position: absolute; transform: translate(-50%,-50%); line-height: 1;
    opacity: var(--a, .7);
    text-shadow: 0 0 6px rgba(160,170,255,.5);
    animation: twinkle var(--t, 4s) ease-in-out var(--d, 0s) infinite;
    will-change: opacity, transform;
  }
  @keyframes twinkle {
    0%,100% { opacity: calc(var(--a) * .3); transform: translate(-50%,-50%) scale(.9); }
    50%     { opacity: var(--a);            transform: translate(-50%,-50%) scale(1.15); }
  }

  /* beams canvas — behind skyline */
  .beam-canvas {
    position: absolute; inset: 0; z-index: 2;
    display: block; width: 100%; height: 100%; pointer-events: none;
  }

  /* glow canvas — above skyline, for window halos */
  .glow-canvas {
    position: absolute; inset: 0; z-index: 7;
    display: block; width: 100%; height: 100%; pointer-events: none;
  }

  /* skyline + water + shoreline — single pixel-art canvas */
  .scene-canvas {
    position: absolute; inset: 0; z-index: 6;
    display: block; width: 100%; height: 100%; pointer-events: none;
    image-rendering: pixelated; image-rendering: crisp-edges;
  }

  /* radial city glow from center */
  .city-glow {
    position: absolute; z-index: 3; left: 50%;
    bottom: var(--water-h); transform: translate(-50%, 10%);
    width: 90vw; height: 45vh;
    background: radial-gradient(ellipse 50% 70% at 50% 90%,
      rgba(160,80,240,.3) 0%, rgba(120,50,200,.15) 30%, rgba(80,30,160,.06) 55%, transparent 75%);
    pointer-events: none;
  }

  /* edge vignette */
  .stage::after {
    content:""; position:absolute; inset:0; z-index:8; pointer-events:none;
    background: radial-gradient(125% 80% at 50% 36%, transparent 52%, rgba(4,2,14,.55) 100%);
  }


  /* Hero highlight treatment. */
  .display .warm {
    background: linear-gradient(180deg, #ecd8ff 0%, #d0a8ff 40%, #9060dd 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    filter:
      drop-shadow(0 0 22px rgba(176,120,255,.65))
      drop-shadow(0 0 46px rgba(144,80,220,.4))
      drop-shadow(0 3px 0 rgba(30,8,60,.55));
  }

  /* Product-demo artwork and interaction surface. */
  .demo-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
  .demo-tab { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.25rem; border: 1px solid rgba(192,160,255,.4); border-radius: 999px; background: transparent; color: #cfcabf; font-size: .875rem; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
  .demo-tab[aria-selected="true"] { background: #c0a0ff; color: #1a0830; border-color: #c0a0ff; }
  .demo-tab:hover { border-color: #c0a0ff; }
  .demo-tab:focus-visible, [data-demo-panel]:focus-visible { outline: 2px solid #c0a0ff; outline-offset: 4px; }
  [data-demo-panel][hidden] { display: none; }
  .demo-video {
    position: relative; display: block; width: 100%; margin-left: 0;
    aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer;
    border: 1px solid rgba(160,120,255,.24); border-radius: 1rem;
    background: linear-gradient(145deg, rgba(34,18,68,.9), rgba(8,4,20,.96));
    box-shadow:
      inset 0 0 0 1px rgba(200,160,255,.04),
      inset 0 1px 0 rgba(220,185,255,.28),
      0 14px 38px -16px rgba(0,0,0,.85);
    color: var(--ink);
  }
  .demo-video::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(4,1,14,.04), rgba(4,1,14,.34));
  }
  .demo-video img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  }
  .demo-video-cta {
    position: absolute; inset: 0; z-index: 2; display: grid; place-content: center;
    justify-items: center; gap: .8rem;
  }
  .demo-video-play {
    display: grid; place-items: center; width: 4.5rem; height: 4.5rem;
    border: 1px solid rgba(210,175,255,.42); border-radius: 50%;
    background: linear-gradient(180deg, rgba(160,105,235,.92), rgba(105,58,185,.94));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.42),
      0 12px 28px -10px rgba(0,0,0,.9),
      0 0 28px rgba(160,100,255,.28);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .demo-video-label {
    padding: .42rem .8rem; border: 1px solid rgba(200,160,255,.2); border-radius: 999px;
    background: rgba(14,7,30,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  }
  .demo-video:hover .demo-video-play {
    transform: scale(1.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 32px -10px rgba(0,0,0,.9), 0 0 36px rgba(160,100,255,.38);
  }
  .demo-video:focus-visible { outline: 2px solid #b080ff; outline-offset: 4px; }
  .demo-video-active { cursor: default; }
  .demo-video-active::after { display: none; }
  .demo-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

  /* Existing card glow effect; geometry and typography are handled by Tailwind. */
  .glow-card::after {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    pointer-events: none; box-shadow: 0 0 58px rgba(160,100,255,.2184);
    opacity: .45; will-change: opacity; animation: section-card-glow 5.2s ease-in-out infinite;
  }
  @keyframes section-card-glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .glow-card::after { animation: none; opacity: .7; } }

  details a {
    text-decoration: underline;
  }
  /* Deep-sea artwork: dither, kelp and fish. */
  /* shared deep-sea backdrop behind compare / mission / faq: flat dark floor, a dithered purple glow (made of speckles, not a smooth gradient) rising from the bottom, and a kelp silhouette line at the very bottom */
  .deep-bg {
    position: relative;
    background: #050310;
    overflow: hidden;
  }
  /* dither glow: purple speckle tile, revealed via a radial mask so density falls off like a real glow */
  .deep-bg::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect x='0' y='0' width='1' height='1' fill='%23b088f0' fill-opacity='0.9'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23c8a0ff' fill-opacity='0.7'/%3E%3Crect x='1' y='4' width='1' height='1' fill='%239868e0' fill-opacity='0.6'/%3E%3Crect x='4' y='5' width='1' height='1' fill='%23c8a0ff' fill-opacity='0.5'/%3E%3C/svg%3E");
    background-size: 6px 6px;
    -webkit-mask-image: radial-gradient(65% 85% at 50% 100%, black 0%, black 25%, transparent 78%);
    mask-image: radial-gradient(65% 85% at 50% 100%, black 0%, black 25%, transparent 78%);
    opacity: .5;
  }
  /* dither sand: sits low, right at the floor */
  .deep-bg::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect x='0' y='0' width='1' height='1' fill='%23d8c090' fill-opacity='0.35'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23d8c090' fill-opacity='0.35'/%3E%3Crect x='2' y='0' width='1' height='1' fill='%23d8c090' fill-opacity='0.15'/%3E%3C/svg%3E");
    background-size: 5px 5px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 82%, black 100%);
    mask-image: linear-gradient(180deg, transparent 0%, transparent 82%, black 100%);
    opacity: .6;
  }
  /* color wash on top of both dither layers: opaque at the top of the section, easing to 50% at the floor */
  .deep-bg .wash {
    position: absolute; inset: 0; pointer-events: none; z-index: 2;
    background: linear-gradient(180deg, rgba(16,10,54,0) 0%, rgba(16,10,54,1) 100%);
  }
  /* sparse, lightweight sprite grass along the sea floor */
  .deep-bg .kelp { position: absolute; left: 0; right: 0; bottom: 0; height: 15rem; pointer-events: none; z-index: 3; overflow: hidden; }
  .deep-bg .water-overlay {
    position: absolute; left: 0; right: 0; bottom: 0; height: 15rem; pointer-events: none; z-index: 5;
    background: linear-gradient(180deg, rgba(5,3,16,0) 0%, rgba(5,3,16,.75) 100%);
  }
  .kelp-sprite { position: absolute; bottom: 0; width: calc(var(--h) * .7575); height: calc(var(--h) * .5); background: url('assets/grass_36-purple.png') 0 bottom / 200% 100% no-repeat; image-rendering: pixelated; animation: kelp-frames .45s steps(1) infinite; }
  .kelp-sprite[style*="--h:1."],
  .kelp-sprite[style*="--h:2rem"],
  .kelp-sprite[style*="--h:2.1rem"],
  .kelp-sprite[style*="--h:2.2rem"],
  .kelp-sprite[style*="--h:2.3rem"],
  .kelp-sprite[style*="--h:2.4rem"] { opacity: .61; }
  @media (max-width: 640px) {
    .kelp .kelp-sprite { display: none; }
    .kelp .kelp-sprite:nth-child(1),
    .kelp .kelp-sprite:nth-child(4),
    .kelp .kelp-sprite:nth-child(9),
    .kelp .kelp-sprite:nth-child(13),
    .kelp .kelp-sprite:nth-child(16),
    .kelp .kelp-sprite:nth-child(19),
    .kelp .kelp-sprite:nth-child(22),
    .kelp .kelp-sprite:nth-child(25),
    .kelp .kelp-sprite:nth-child(28) { display: block; }
  }
  @keyframes kelp-frames {
    0%, 49.99% { background-position: 0 bottom; }
    50%, 100% { background-position: 100% bottom; }
  }
  @keyframes kelp-frames-reverse {
    0%, 49.99% { background-position: 100% bottom; }
    50%, 100% { background-position: 0 bottom; }
  }
  /* dither fish dividers around the mission section */
  .fish-divider { position: relative; z-index: 4; height: 2.6rem; overflow: hidden; }
  .fish { position: absolute; top: 0; left: 0; width: 30px; opacity: .8; animation: swim linear infinite; image-rendering: pixelated; }
  .fish svg { width: 100%; height: auto; display: block; shape-rendering: crispEdges; filter: url(#fishRipple); }
  .fish.rev { animation-name: swim-rev; }
  @keyframes swim {
    0% { transform: translateX(-10vw) translateY(0); }
    25% { transform: translateX(15vw) translateY(-2px); }
    50% { transform: translateX(50vw) translateY(0); }
    75% { transform: translateX(85vw) translateY(-2px); }
    100% { transform: translateX(110vw) translateY(0); }
  }
  @keyframes swim-rev {
    0% { transform: translateX(110vw) translateY(0) scaleX(-1); }
    25% { transform: translateX(85vw) translateY(-2px) scaleX(-1); }
    50% { transform: translateX(50vw) translateY(0) scaleX(-1); }
    75% { transform: translateX(15vw) translateY(-2px) scaleX(-1); }
    100% { transform: translateX(-10vw) translateY(0) scaleX(-1); }
  }
  @media (prefers-reduced-motion: reduce) { .fish { animation: none; display: none; } .kelp-sprite { animation: none !important; } }

/* Comparison-page artwork. Layout, spacing, type, tables and cards use Tailwind. */
.comparison-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, rgba(120,60,200,.24) 0%, rgba(80,30,160,.08) 45%, transparent 75%);
}
.comparison-page .page-hero .warm {
  background: linear-gradient(180deg, #ecd8ff 0%, #d0a8ff 40%, #9060dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(176,120,255,.65)) drop-shadow(0 0 46px rgba(144,80,220,.4));
}
.comparison-page .deep-bg::before {
  -webkit-mask-image: radial-gradient(65% 60% at 50% 0%, black 0%, black 20%, transparent 70%);
  mask-image: radial-gradient(65% 60% at 50% 0%, black 0%, black 20%, transparent 70%);
  opacity: .35;
}
.comparison-page .deep-bg::after { display: none; }
.comparison-page .deep-bg .wash {
  background: linear-gradient(180deg, rgba(16,10,54,.4) 0%, rgba(5,3,16,0) 12%, rgba(5,3,16,0) 88%, rgba(16,10,54,.5) 100%);
}

/* Article contents and compact reading navigation. */
.article-toc,
.article-toc-dock {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(160,120,255,.2);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(140,100,220,.12), rgba(100,60,180,.04)),
    rgba(8,4,20,.58);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(200,160,255,.22),
    inset 0 -10px 18px -12px rgba(120,80,200,.12),
    0 14px 38px -16px rgba(0,0,0,.7);
}
.article-toc { padding: 1.5rem; margin-bottom: 3rem; }
.article-toc h2 { color: var(--ink); font-size: 1.5rem; line-height: 1.2; }
.article-toc p { margin-top: .5rem; color: var(--ink-dim); font-size: .9rem; line-height: 1.6; }
.article-toc ol { display: grid; gap: .75rem 1.5rem; margin: 1.25rem 0 0; padding-left: 1.3rem; list-style: decimal; }
.article-toc li { padding-left: .25rem; color: #c8a0ff; }
.article-toc a { color: var(--ink-dim); font-size: .9rem; line-height: 1.45; text-decoration: none; }
.article-toc a:hover,
.article-toc a:focus-visible,
.article-toc a[aria-current] { color: #e8d6ff; text-decoration: underline; text-underline-offset: .2em; }

.article-toc-dock {
  position: fixed;
  z-index: 30;
  top: 50%;
  left: max(1.5rem, calc((100vw - 72rem) / 2));
  width: 18rem;
  max-height: min(80vh, 36rem);
  transform: translateY(-50%);
  clip-path: inset(0 calc(100% - 2.75rem) 0 0 round 1rem);
  transition: clip-path .28s cubic-bezier(.22, 1, .36, 1);
}
.article-toc-dock[hidden] { display: none; }
.article-toc-dock.is-expanded { clip-path: inset(-4rem -4rem -4rem -4rem round 1rem); }
.article-toc-dock__toggle {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  min-height: 2.5rem;
  padding: .55rem .95rem;
  border: 0;
  background: transparent;
  color: #e8d6ff;
  cursor: pointer;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}
.article-toc-dock__chevron {
  flex: none;
  width: .45rem;
  height: .45rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.article-toc-dock.is-expanded .article-toc-dock__chevron { transform: rotate(225deg); }
.article-toc-dock__title { visibility: hidden; }
.article-toc-dock.is-expanded .article-toc-dock__title { visibility: visible; }
.article-toc-dock__list { margin: 0; padding: .25rem .65rem .7rem; list-style: none; overflow-y: auto; max-height: calc(min(80vh, 36rem) - 2.5rem); scrollbar-width: none; }
.article-toc-dock__list::-webkit-scrollbar { display: none; }
.article-toc-dock__list li { margin: 0; }
.article-toc-dock__list a {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 1.2rem;
  padding: .38rem .2rem;
  color: var(--ink-dim);
  font-size: .8rem;
  line-height: 1.35;
  text-decoration: none;
}
.article-toc-dock__list a::before {
  content: '';
  flex: none;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(200,160,255,.46);
  transition: width .2s ease, background .2s ease;
}
.article-toc-dock__list a[aria-current]::before { width: 1.4rem; background: #c8a0ff; }
.article-toc-dock.is-expanded .article-toc-dock__list a:hover,
.article-toc-dock.is-expanded .article-toc-dock__list a:focus-visible,
.article-toc-dock.is-expanded .article-toc-dock__list a[aria-current] { color: #f1e7ff; background: rgba(170,120,245,.12); border-radius: .35rem; }
.article-toc-dock__toggle:focus-visible,
.article-toc-dock__list a:focus-visible { outline: 2px solid #c8a0ff; outline-offset: 2px; }
@media (max-width: 700px) {
  .article-toc-dock { display: none; }
}
@media (prefers-reduced-motion: reduce) { .article-toc-dock { transition: none; } }

/* Blog keyboard shortcuts. */
.blog-article img {
  position: relative;
  z-index: 1;
  max-width: 90%;
  margin: 3rem auto;
  transform: scale(max(var(--scroll-scale, 1), var(--hover-scale, 1)));
  transform-origin: center;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.blog-article img:hover { --hover-scale: 1.1; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .blog-article img { transform: none; transition: none; }
}

.blog-article kbd {
  display: inline-flex;
  min-width: 1.75rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .12rem .45rem .2rem;
  border: 1px solid rgba(0,0,0,.65);
  border-top-color: rgba(255,255,255,.16);
  border-left-color: rgba(255,255,255,.1);
  border-bottom-color: #121316;
  border-bottom-width: 3px;
  border-radius: .375rem;
  background: linear-gradient(180deg, #35383f 0%, #2a2d33 28%, #212327 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 1px 0 0 rgba(255,255,255,.07),
    inset -1px 0 0 rgba(0,0,0,.25),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 2px 0 rgba(8,9,12,.9),
    0 4px 6px rgba(0,0,0,.4);
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(0,0,0,.55);
  vertical-align: middle;
  transition: transform .18s ease-out, box-shadow .18s ease-out;
}
.blog-article kbd:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 1px 0 0 rgba(255,255,255,.07),
    inset -1px 0 0 rgba(0,0,0,.25),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 3px 0 rgba(8,9,12,.9),
    0 6px 9px rgba(0,0,0,.45);
}
.blog-article kbd:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.07),
    0 0 0 rgba(8,9,12,.9),
    0 1px 2px rgba(0,0,0,.3);
  transition-duration: .07s;
}
@media (prefers-reduced-motion: reduce) {
  .blog-article kbd { transition: none; }
  .blog-article kbd:hover,
  .blog-article kbd:active { transform: none; }
}

/* Header sky on sub-pages (assets/sky.js): stars + distant airplane only. */
[data-sky] { position: relative; isolation: isolate; }
[data-sky] > .sky-layer {
  position: absolute; top: 0; bottom: 0; left: 0; width: 100%; /* JS stretches to full viewport width */
  z-index: -1; pointer-events: none;
  /* Fade stars/plane behind the header text; JS centers the ellipse on it. */
  -webkit-mask-image: radial-gradient(var(--sky-rx, 26rem) 62% at var(--sky-cx, 50%) 50%, rgba(0,0,0,.12) 0%, rgba(0,0,0,.3) 55%, #000 100%);
  mask-image: radial-gradient(var(--sky-rx, 26rem) 62% at var(--sky-cx, 50%) 50%, rgba(0,0,0,.12) 0%, rgba(0,0,0,.3) 55%, #000 100%);
}
.sky-plane { display: block; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
body:has([data-sky]) { overflow-x: clip; }
