:root {
  --bg: #F3EFE6;
  --ink: #16131A;
  --hi: #F3EFE6;
  --paper: #FFFDF8;
  --pink: #FF7AB6;
  --violet: #8E7CFF;
  --mint: #34D399;
  --blob: var(--violet);
  --head: "Instrument Serif", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hw: 400;
  --h1ls: -0.02em;
  --h1lh: 0.92;
  --h1var: normal;
  --bsize: 112px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(color-mix(in srgb, var(--ink) 8%, transparent) 1.2px, transparent 1.4px) 0 0 / 26px 26px fixed, var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
kbd {
  font: 700 0.8em/1 var(--mono);
  display: inline-block; padding: 0.3em 0.45em; border-radius: 6px;
  background: var(--ink); color: var(--hi); vertical-align: 0.08em;
}

/* ---------- page ---------- */
.top, main, .foot { position: relative; z-index: 2; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 44px);
}
.brand { display: flex; align-items: center; gap: 10px; font: 600 19px/1 var(--body); letter-spacing: -0.02em; text-decoration: none; }
.brand img { border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 4px; }
.link { font-weight: 500; font-size: 15px; text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.link:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }

/* Visit KRNL: a paper pill with the KRNL fingerprint that lights up in KRNL orange */
@property --krnl-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.krnl {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px; margin-left: 6px;
  padding: 8px 14px 8px 10px; border-radius: 999px; text-decoration: none;
  font: 600 14px/1 var(--body); color: var(--ink); background: var(--paper);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent), 0 1px 2px rgba(23, 19, 31, 0.06);
  transition: transform 0.25s cubic-bezier(.3, 1.6, .5, 1), box-shadow 0.25s;
}
.krnl::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 1; pointer-events: none;
  background: conic-gradient(from var(--krnl-a), #EA4711, #FF8A5C, #FFD2BF, #EA4711);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s;
  animation: krnl-spin 2.2s linear infinite paused;
}
.krnl::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(234, 71, 17, 0.14) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s cubic-bezier(.3, .7, .3, 1);
}
.krnl:hover, .krnl:focus-visible { transform: translateY(-1px); box-shadow: inset 0 0 0 1px transparent, 0 10px 26px rgba(234, 71, 17, 0.2); }
.krnl:hover::before, .krnl:focus-visible::before { opacity: 1; animation-play-state: running; }
.krnl:hover::after, .krnl:focus-visible::after { transform: translateX(120%); }
@keyframes krnl-spin { to { --krnl-a: 360deg; } }
.krnl .mark { width: 20px; height: 20px; flex: none; overflow: visible; }
.krnl .mark .ridges { transform-box: fill-box; transform-origin: 50% 60%; }
.krnl .mark .acc { stroke-dasharray: 260; stroke-dashoffset: 0; }
.krnl:hover .mark .ridges { animation: krnl-ripple 0.6s cubic-bezier(.3, 1.4, .5, 1); }
.krnl:hover .mark .acc { animation: krnl-trace 0.8s cubic-bezier(.5, 0, .2, 1); }
.krnl:hover .mark .dot { animation: krnl-dot 0.8s ease-out; }
@keyframes krnl-ripple { 40% { transform: scale(1.08); } }
@keyframes krnl-trace { from { stroke-dashoffset: 260; } }
@keyframes krnl-dot { 0%, 70% { opacity: 0; } }
.krnl .arr { display: inline-block; font-size: 13px; color: #EA4711; transition: transform 0.3s cubic-bezier(.3, 1.6, .5, 1); }
.krnl:hover .arr { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .krnl::before, .krnl .mark * { animation: none !important; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--hi);
  font: 600 16px/1 var(--body); text-decoration: none;
  transition: transform 0.15s cubic-bezier(.3, 1.6, .5, 1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn.big { padding: 18px 28px; font-size: 18px; }
.textbtn { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.hero {
  min-height: calc(100svh - 80px);
  padding: clamp(40px, 9vh, 110px) clamp(16px, 5vw, 64px) 180px;
  max-width: 1240px; margin: 0 auto;
}
h1 {
  margin: 0; max-width: 13ch;
  font: var(--hw) clamp(52px, 8.4vw, 128px)/var(--h1lh) var(--head);
  font-variation-settings: var(--h1var);
  letter-spacing: var(--h1ls);
  text-wrap: balance;
}
.fish {
  position: relative; white-space: nowrap;
  background: linear-gradient(transparent 64%, var(--pink) 64%, var(--pink) 88%, transparent 88%);
}
.fish::after {
  content: "🐟"; position: absolute; right: -0.2em; top: -0.35em; font-size: 0.38em;
  animation: swim 3.2s ease-in-out infinite;
}
@keyframes swim { 50% { transform: translate(-8px, 4px) rotate(-12deg) scaleX(-1); } }
.sub { margin: 26px 0 0; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: color-mix(in srgb, var(--ink) 82%, transparent); }
.ctas { margin-top: 30px; display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; }
.hint {
  margin: 40px 0 0; display: inline-flex; gap: 10px; align-items: center; max-width: 60ch;
  font-size: 14.5px; color: color-mix(in srgb, var(--ink) 70%, transparent);
}
.hint-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 25%, transparent); animation: ping 1.8s ease-in-out infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--pink) 0%, transparent); } }

/* ---------- tricks ---------- */
.tricks { padding: 40px clamp(16px, 5vw, 64px) 40px; max-width: 1240px; margin: 0 auto; }
.tricks > h2 { margin: 0 0 28px; font: var(--hw) clamp(38px, 5vw, 68px)/0.95 var(--head); font-variation-settings: var(--h1var); letter-spacing: var(--h1ls); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trick {
  padding: 24px; border-radius: 22px; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 14%, transparent), 0 1px 0 color-mix(in srgb, var(--ink) 6%, transparent);
}
.trick h3 { margin: 0 0 8px; font: var(--hw) 26px/1.05 var(--head); font-variation-settings: var(--h1var); letter-spacing: -0.01em; }
.trick p { margin: 0; font-size: 15.5px; line-height: 1.5; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.trick.dark { background: var(--ink); color: var(--hi); }
.trick.dark p { color: color-mix(in srgb, var(--hi) 80%, transparent); }
.trick.tint { background: color-mix(in srgb, var(--violet) 14%, var(--paper)); }
.art { height: 60px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; font-size: 28px; }
.art.shots { position: relative; }
.art.shots i { position: absolute; width: 72px; height: 48px; border-radius: 8px; background: #221D2D; }
.art.shots i:nth-child(1) { left: 0; top: 10px; transform: rotate(-8deg); }
.art.shots i:nth-child(2) { left: 30px; top: 4px; transform: rotate(4deg); background: var(--violet); }
.art.shots i:nth-child(3) { left: 62px; top: 12px; transform: rotate(-2deg); background: var(--pink); }
.art.phone span { font: 600 22px/1 var(--body); }
.art.keys kbd { font-size: 20px; }
.cmd {
  margin-top: 16px; display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border-radius: 12px; border: 0; cursor: pointer; text-align: left;
  background: color-mix(in srgb, var(--hi) 10%, transparent); color: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hi) 30%, transparent);
}
.cmd code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12.5px/1.3 var(--mono); }
.cmd span { font: 700 12px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: var(--hi); color: var(--ink); }
.pets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pet { width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: none; transition: transform 0.15s cubic-bezier(.3, 1.8, .5, 1); }
.pet:hover { transform: translateY(-3px) rotate(-6deg); }
.pet.on { box-shadow: 0 0 0 2.5px var(--ink); }
.pet .mascot { width: 100%; height: 100%; display: block; }

.install { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.install .or { font-weight: 500; }
.install .cmd { margin: 0; width: auto; max-width: 100%; min-width: 0; flex: 1 1 320px; background: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 18%, transparent); }
.install .cmd span { background: var(--ink); color: var(--hi); }
.install .note { flex-basis: 100%; margin: 0; font-size: 14px; color: color-mix(in srgb, var(--ink) 65%, transparent); }

.foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 26px clamp(16px, 5vw, 64px) calc(var(--bsize) + 48px); max-width: 1240px; margin: 0 auto;
  font-size: 14.5px; font-weight: 500;
}

/* ---------- the game (fixed, over the page, click-through) ---------- */
.game { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.items { position: absolute; inset: 0; }
.item { position: absolute; left: 0; top: 0; will-change: transform; filter: drop-shadow(0 8px 10px color-mix(in srgb, var(--ink) 16%, transparent)); }
.tag {
  position: absolute; top: -10px; left: 10px; padding: 3px 6px; border-radius: 6px;
  background: var(--ink); color: var(--hi); font: 700 9.5px/1 var(--mono); letter-spacing: 0.03em; white-space: nowrap;
}
.chip {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 14px 10px; border-radius: 14px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); font: 700 14px/1 var(--mono); white-space: nowrap;
}
.chip.you { background: color-mix(in srgb, var(--pink) 22%, var(--paper)); }
.chip.pass { background: #FFE0EE; }
.shot { position: relative; width: 128px; height: 84px; border-radius: 10px; background: #221D2D; box-shadow: inset 0 0 0 1.5px var(--ink); padding: 7px; display: grid; grid-template-rows: auto 1fr; gap: 6px; }
.shot .bar { display: flex; gap: 4px; }
.shot .bar b { width: 7px; height: 7px; border-radius: 50%; background: #FF5F57; }
.shot .bar b:nth-child(2) { background: #FEBC2E; }
.shot .bar b:nth-child(3) { background: #28C840; }
.shot .blocks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.shot .blocks u { border-radius: 5px; background: var(--pink); }
.shot .blocks u:nth-child(2) { background: var(--violet); }
.shot .blocks u:nth-child(3) { background: var(--mint); }
.photo { position: relative; padding: 6px 6px 18px; background: #fff; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.pic, .tile.t-photo {
  display: block; width: 82px; height: 82px; border-radius: 2px;
  background: radial-gradient(circle at 50% 48%, #FFF1A8 0 15%, transparent 16%), linear-gradient(170deg, transparent 58%, #2A1B45 58.5%), linear-gradient(200deg, transparent 62%, #3B2662 62.5%), linear-gradient(#FF7AB6, #FFB35C 55%, #6F4BB0);
}
.swatch { position: relative; display: grid; gap: 6px; justify-items: center; padding: 10px 10px 8px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); font: 700 12px/1 var(--mono); }
.swatch i { width: 54px; height: 54px; border-radius: 12px; background: var(--pink); }
.file { position: relative; display: grid; gap: 6px; justify-items: center; font: 700 11px/1.1 var(--mono); width: 104px; text-align: center; }
.doc { position: relative; width: 58px; height: 74px; border-radius: 6px 18px 6px 6px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.doc em { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 3px 6px; border-radius: 4px; background: #F0453A; color: #fff; font: 700 10px/1 var(--mono); font-style: normal; }
.file .tag { left: 50%; transform: translateX(-50%); top: -12px; }
.code { position: relative; padding: 14px 16px 12px; border-radius: 12px; background: #17131F; font: 500 13.5px/1 var(--mono); color: #EDE7FF; white-space: nowrap; }
.code .tag { background: var(--pink); color: #17131F; }
.code .k { color: var(--pink); }
.code .s { color: var(--mint); }
.msg { position: relative; padding: 12px 16px 11px; border-radius: 20px 20px 20px 6px; background: #3E8BFF; color: #fff; font: 600 15px/1 var(--body); white-space: nowrap; }

/* the bubble */
.bubble {
  position: fixed; left: 0; top: 0; z-index: 20;
  width: var(--bsize); height: var(--bsize); padding: 0; border: 0; background: none; cursor: pointer;
  will-change: transform; -webkit-tap-highlight-color: transparent; touch-action: none;
}
.bob { position: relative; display: block; width: 100%; height: 100%; transform-origin: 50% 90%; }
.bob .mascot { width: 100%; height: 100%; display: block; filter: drop-shadow(0 12px 16px rgba(23, 19, 31, 0.3)); }
.badge {
  position: absolute; top: 3%; right: 3%; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 999px;
  display: grid; place-items: center; background: var(--pink); color: #17131F; box-shadow: 0 0 0 3px var(--bg);
  font: 700 14px/1 var(--body);
}
.badge.bump { animation: bump 0.35s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 40% { transform: scale(1.35); } }
.bubble.driving .bob::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--pink); opacity: 0.7; animation: ring 1.2s ease-out infinite;
}
@keyframes ring { from { transform: scale(0.95); opacity: 0.8; } to { transform: scale(1.18); opacity: 0; } }
.bob.chomp { animation: chomp 0.38s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes chomp { 30% { transform: scale(1.14, 0.84); } 65% { transform: scale(0.94, 1.08) translateY(-6px); } }
.bob.nope { animation: nope 0.5s ease-in-out; }
@keyframes nope { 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-7deg); } 80% { transform: rotate(4deg); } }
.bob.kick { animation: kick 0.45s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes kick {
  25% { transform: translateY(-18px) rotate(calc(var(--kick, 1) * 16deg)) scale(0.94, 1.08); }
  55% { transform: translateY(2px) rotate(calc(var(--kick, 1) * -5deg)) scale(1.08, 0.92); }
}
.bonk {
  position: fixed; z-index: 21; pointer-events: none; transform: translate(-50%, 0);
  font: 400 26px/1 var(--head); font-style: italic; color: #E0336F;
  animation: bonk 0.7s cubic-bezier(.2, 1.4, .4, 1) forwards;
}
@keyframes bonk { 0% { opacity: 0; transform: translate(-50%, 6px) scale(0.6) rotate(-8deg); } 25% { opacity: 1; transform: translate(-50%, -10px) scale(1.15) rotate(-8deg); } 100% { opacity: 0; transform: translate(-50%, -34px) scale(1) rotate(-8deg); } }
.bob.hop { animation: hop 0.55s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes hop { 35% { transform: translateY(-24px) scale(0.96, 1.06); } 70% { transform: translateY(0) scale(1.08, 0.92); } }

/* mascot face states */
.mascot .eyes-happy, .mascot .eyes-nope, .mascot .m-open, .mascot .m-grin, .mascot .m-flat, .mascot .emoji { display: none; }
.mascot .eye-in { transform-box: fill-box; transform-origin: center; transition: transform 0.07s; }
.is-blink .mascot .eye-in { transform: scaleY(0.1); }
.is-open .mascot .m-smile { display: none; }
.is-open .mascot .m-open { display: block; }
.is-happy .mascot .eyes, .is-happy .mascot .m-smile, .is-happy .mascot .m-open { display: none; }
.is-happy .mascot .eyes-happy, .is-happy .mascot .m-grin { display: block; }
.is-nope .mascot .eyes, .is-nope .mascot .m-smile, .is-nope .mascot .m-open, .is-nope .mascot .m-grin, .is-nope .mascot .eyes-happy { display: none; }
.is-nope .mascot .eyes-nope, .is-nope .mascot .m-flat { display: block; }
.mascot.emoji-mode .blob { display: none; }
.mascot.emoji-mode .emoji { display: block; }

/* little speech bubbles from the mascot */
.coach, .toast {
  position: fixed; left: 0; top: 0; z-index: 21; pointer-events: none;
  padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--hi);
  font: 600 13.5px/1.25 var(--body); white-space: nowrap;
}
.coach { animation: popin 0.3s cubic-bezier(.3, 1.6, .5, 1); }
.toast { animation: toast 1.1s ease-out forwards; font-family: var(--mono); font-size: 12.5px; }
.toast.no { background: #FFE0EE; color: #17131F; }
@keyframes toast { 0% { opacity: 0; translate: 0 6px; } 15% { opacity: 1; translate: 0 0; } 75% { opacity: 1; } 100% { opacity: 0; translate: 0 -24px; } }
@keyframes popin { from { opacity: 0; transform: scale(0.85) translateY(8px); } }
.poof { position: fixed; z-index: 1; pointer-events: none; font: 600 12px/1 var(--mono); color: color-mix(in srgb, var(--ink) 55%, transparent); animation: poof 0.7s ease-out forwards; }
@keyframes poof { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -18px); } }

/* play mode */
.playbar { position: fixed; right: 16px; bottom: 16px; z-index: 21; display: flex; gap: 8px; align-items: center; }
.playbtn {
  position: relative; padding: 12px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--hi); font: 600 15px/1 var(--body);
  box-shadow: 0 10px 24px rgba(23, 19, 31, 0.2);
  transition: transform 0.15s cubic-bezier(.3, 1.6, .5, 1);
}
.playbtn:hover { transform: translateY(-2px); }
.playbtn.on { background: var(--pink); color: #17131F; }
.playbtn:not(.tried)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--pink) 60%, transparent);
  animation: callout 2s ease-out infinite;
}
@keyframes callout { 70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--pink) 0%, transparent); } }
.score { padding: 9px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 18%, transparent); font: 600 12.5px/1 var(--mono); white-space: nowrap; }

/* what it caught (looks like the real app) */
.panel {
  position: fixed; z-index: 22; width: min(340px, calc(100vw - 24px));
  border-radius: 16px; overflow: hidden; background: rgba(30, 27, 36, 0.97); color: #F5F1FF;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px rgba(23, 19, 31, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  animation: popin 0.25s cubic-bezier(.3, 1.4, .5, 1);
}
.panel .head { padding: 14px 16px 10px; font-size: 15px; color: rgba(245, 241, 255, 0.45); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel .head small { font-size: 11px; color: rgba(245, 241, 255, 0.45); white-space: nowrap; }
.panel .rows { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 5px; max-height: min(330px, 50vh); overflow: auto; }
.panel .empty { padding: 18px 16px; font-size: 13px; color: rgba(245, 241, 255, 0.6); }
.row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 9px; background: none; text-align: left; cursor: pointer; }
.row.sel, .row:hover { background: rgba(255, 255, 255, 0.11); }
.row .txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.row b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row small { font-size: 11px; color: rgba(245, 241, 255, 0.55); }
.row kbd { background: none; color: rgba(245, 241, 255, 0.35); padding: 0; font: 500 11px/1 -apple-system, system-ui; }
.tile { flex: none; width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); font-size: 13px; overflow: hidden; }
.tile.t-color { background: var(--pink); }
.tile.t-photo { width: 30px; height: 30px; background-size: cover; }
.tile.t-shot { background: #221D2D; }
.tile.t-link { background: rgba(79, 139, 255, 0.22); }
.panel .foot2 { display: flex; justify-content: space-between; gap: 14px; padding: 9px 14px; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 11px; color: rgba(245, 241, 255, 0.55); }
.panel .foot2 kbd { background: rgba(255, 255, 255, 0.1); color: rgba(245, 241, 255, 0.7); font-family: -apple-system, system-ui; }

dialog.demo { padding: 0; border: 0; border-radius: 20px; background: #111; width: min(960px, 94vw); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); }
dialog.demo::backdrop { background: rgba(10, 8, 14, 0.7); }
dialog.demo video { display: block; width: 100%; height: auto; }
dialog.demo form { position: absolute; top: 10px; right: 10px; }
.pill { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; border: 0; background: #fff; color: #111; font: 600 13px/1 var(--body); cursor: pointer; }

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  :root { --bsize: 92px; }
  body { font-size: 16px; }
  .top nav .link { display: none; }
  .krnl .visit { display: none; }
  .krnl { padding: 8px 12px 8px 8px; margin-left: 2px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
