@font-face {
  font-family: "ZedMono Nerd Font";
  src: url("fonts/ZedMonoNerdFont-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ZedMono Nerd Font";
  src: url("fonts/ZedMonoNerdFont-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg0: #07090c;
  --bg1: #0b0f16;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.035);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke2: rgba(255, 255, 255, 0.14);
  --fg: #eaf1ff;
  --muted: rgba(234, 241, 255, 0.70);
  --muted2: rgba(234, 241, 255, 0.55);
  --accent: #7bdff2;
  --accent2: #8ef29a;
  --patreon: #ff424d;
  --sponsor: #ff4d6d;
  --warn: #ffd166;
  --danger: #ff4d6d;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --radius: 12px;
  --radius2: 8px;
  --mono: "ZedMono Nerd Font", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mono);
  color: var(--fg);
  background:
    radial-gradient(900px 560px at 18% 6%, rgba(123, 223, 242, 0.18), transparent 60%),
    radial-gradient(740px 560px at 78% 14%, rgba(142, 242, 154, 0.12), transparent 55%),
    radial-gradient(820px 560px at 50% 86%, rgba(255, 209, 102, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); }

.skip {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px 12px;
  background: #000;
  color: #fff;
  border-radius: var(--radius2);
  transform: translateY(-200%);
  transition: transform 140ms ease;
  z-index: 9999;
}
.skip:focus { transform: translateY(0); }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(7, 9, 12, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}
.brand__name { font-weight: 700; letter-spacing: -0.02em; font-size: 16px; }
.brand__tag {
  font-size: 12px;
  color: var(--muted2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius2);
}
.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  font-size: 13px;
  padding: 6px 8px;
  border-radius: var(--radius2);
}
.nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--fg); text-decoration: none; }
.top__cta { margin-left: auto; display: flex; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius2);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}
.btn--ghost { background: rgba(255, 255, 255, 0.04); }
.btn--primary {
  background: linear-gradient(180deg, rgba(123, 223, 242, 0.26), rgba(123, 223, 242, 0.10));
  border-color: rgba(123, 223, 242, 0.30);
}
.btn--patreon {
  background: linear-gradient(180deg, rgba(255, 66, 77, 0.22), rgba(255, 66, 77, 0.08));
  border-color: rgba(255, 66, 77, 0.30);
}
.btn--patreon:hover { border-color: rgba(255, 66, 77, 0.48); }
.btn--sponsor {
  background: linear-gradient(180deg, rgba(255, 77, 109, 0.20), rgba(255, 77, 109, 0.07));
  border-color: rgba(255, 77, 109, 0.30);
}
.btn--sponsor:hover { border-color: rgba(255, 77, 109, 0.50); }
.btn:hover { text-decoration: none; border-color: rgba(255, 255, 255, 0.28); }
.btn:focus-visible { outline: 2px solid rgba(123, 223, 242, 0.8); outline-offset: 2px; }

main { display: block; }
.hero {
  padding: 56px 16px 18px;
}
.floatmark {
  display: grid;
  place-items: center;
  position: relative;
  pointer-events: none;
  align-self: start;
  justify-self: end;
  isolation: isolate;
}
.floatmark__logo {
  position: relative;
  z-index: 2;
  width: clamp(110px, 14vw, 144px);
  height: clamp(110px, 14vw, 144px);
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
  animation: floatmark-float 7.5s ease-in-out infinite;
}
.floatmark__glow {
  position: absolute;
  z-index: 1;
  width: min(380px, 92vw);
  height: min(220px, 56vw);
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(123, 223, 242, 0.22), rgba(142, 242, 154, 0.10), transparent 70%);
  filter: blur(14px);
  opacity: 0.9;
  transform: translateY(20px);
  animation: floatmark-glow 5.6s ease-in-out infinite;
}
.floatmark__glow::before,
.floatmark__glow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(380px, 92vw);
  height: min(380px, 92vw);
  border-radius: 999px;
  border: 1px solid rgba(234, 241, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(123, 223, 242, 0.08) inset,
    0 0 46px rgba(234, 241, 255, 0.06);
  transform: translate(-50%, -38%) scale(0.55);
  opacity: 0;
  animation: floatmark-ripple 5s ease-out infinite;
}
.floatmark__glow::after { animation-delay: 2.5s; }

@keyframes floatmark-float {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(-10px); }
}
@keyframes floatmark-glow {
  0%, 100% { opacity: 0.78; transform: translateY(20px) translateX(-6px) scale(0.98); }
  50% { opacity: 1; transform: translateY(18px) translateX(8px) scale(1.04); }
}
@keyframes floatmark-ripple {
  0% { opacity: 0; transform: translate(-50%, -38%) scale(0.55); }
  12% { opacity: 0.65; }
  70% { opacity: 0; transform: translate(-50%, -38%) scale(1.45); }
  100% { opacity: 0; transform: translate(-50%, -38%) scale(1.55); }
}

@media (prefers-reduced-motion: reduce) {
  .floatmark__logo, .floatmark__glow, .floatmark__glow::before, .floatmark__glow::after { animation: none; }
}
.hero__head {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
}
.hero__copy { min-width: 0; }
.hero__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-self: end;
}
.hero__mark .floatmark { align-self: flex-end; }
.hero__support {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.hero__shots {
  max-width: 1100px;
  margin: 18px auto 0;
}
.shots--hero {
  margin-top: 0;
}
.shots--hero .shot {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(123, 223, 242, 0.10);
}
.shots--hero .shot:hover {
  border-color: rgba(123, 223, 242, 0.26);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.04);
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 3px rgba(123, 223, 242, 0.12);
}
.hero h1 {
  margin: 10px 0 10px;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { margin: 0 0 14px; color: var(--muted); max-width: 78ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.kpi {
  padding: 10px 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.kpi--cta {
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: border-color 140ms ease, transform 140ms ease;
}
.kpi--cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}
.kpi--cta:focus-visible { outline: 2px solid rgba(123, 223, 242, 0.8); outline-offset: 2px; }
.kpi--patreon {
  border-color: rgba(255, 66, 77, 0.28);
  background: linear-gradient(180deg, rgba(255, 66, 77, 0.18), rgba(255, 66, 77, 0.06));
}
.kpi--patreon:hover { border-color: rgba(255, 66, 77, 0.48); }
.kpi--sponsor {
  border-color: rgba(255, 77, 109, 0.26);
  background: linear-gradient(180deg, rgba(255, 77, 109, 0.16), rgba(255, 77, 109, 0.05));
}
.kpi--sponsor:hover { border-color: rgba(255, 77, 109, 0.48); }
.kpi--version {
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
}
.kpi__k { font-size: 12px; color: var(--muted2); }
.kpi__v { font-weight: 700; }

.hero__panel { padding-top: 6px; }
.term {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.20);
}
.term__dots { display: inline-flex; gap: 6px; }
.term__dots span { width: 10px; height: 10px; border-radius: 999px; opacity: 0.85; }
.term__dots span:nth-child(1) { background: #ff5f56; }
.term__dots span:nth-child(2) { background: #ffbd2e; }
.term__dots span:nth-child(3) { background: #27c93f; }
.term__title { font-size: 12px; color: var(--muted); }
.term__pre {
  margin: 0;
  padding: 14px 14px;
  font-size: 12px;
  line-height: 1.35;
  white-space: pre;
  overflow: auto;
}
.term__shot {
  display: block;
  color: inherit;
  text-decoration: none;
}
.term__shot:hover { text-decoration: none; }
.term__shot:focus-visible { outline: 2px solid rgba(123, 223, 242, 0.8); outline-offset: 2px; }
.term__img { display: block; width: 100%; height: auto; }
.term--shot { position: relative; }
.term--shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(123, 223, 242, 0.14) inset,
    0 32px 120px rgba(123, 223, 242, 0.10);
  opacity: 0.6;
  transition: opacity 140ms ease;
}
.term--shot:hover::after { opacity: 0.95; }

.minishots {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.minishot {
  display: block;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  color: inherit;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.minishot:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 223, 242, 0.28);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}
.minishot:focus-visible { outline: 2px solid rgba(123, 223, 242, 0.8); outline-offset: 2px; }
.minishot img { display: block; width: 100%; height: auto; }
.hero__note { margin: 10px 2px 0; color: var(--muted2); font-size: 12px; }

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 16px;
}
.section--tight { padding-top: 18px; padding-bottom: 34px; }
.section__head h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.02em; }
.section__head p { margin: 0; color: var(--muted); }

.cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card2));
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.card h3 { margin: 0 0 8px; font-size: 16px; }
.muted { color: var(--muted); }

.code {
  position: relative;
  margin-top: 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.30);
  overflow: hidden;
}
.code pre { margin: 0; padding: 14px 14px; overflow: auto; }
.code code { color: var(--fg); font-size: 12px; line-height: 1.4; display: block; }
.copy {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: var(--radius2);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  font-size: 12px;
}
.copy:hover { border-color: rgba(255, 255, 255, 0.28); }
.copy:focus-visible { outline: 2px solid rgba(123, 223, 242, 0.8); outline-offset: 2px; }

.tablewrap {
  margin-top: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.20);
}
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 12px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: left; }
.tbl th { font-size: 12px; color: var(--muted2); background: rgba(255, 255, 255, 0.04); }
.tbl tr:last-child td { border-bottom: none; }
.tbl td:nth-child(3) { width: 64px; }

.callout {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}
.callout--warn { border-color: rgba(255, 209, 102, 0.25); background: rgba(255, 209, 102, 0.06); }
.callout__icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--radius2); background: rgba(255, 209, 102, 0.12); }

.steps { margin-top: 16px; display: grid; gap: 10px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, var(--card), var(--card2));
}
.step__n {
  width: 44px;
  height: 44px;
  border-radius: var(--radius2);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--accent);
  font-weight: 700;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; }

.shots {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.shot {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.shot__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.shot__link:hover { text-decoration: none; }
.shot__link:focus-visible { outline: 2px solid rgba(123, 223, 242, 0.8); outline-offset: 2px; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 12px; color: var(--muted); font-size: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.shots--hero .shot img {
  height: 210px;
  object-fit: cover;
  object-position: center top;
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 9, 12, 0.68);
  backdrop-filter: blur(14px);
}
.lb[hidden] { display: none; }
.lb__panel {
  width: min(1100px, 100%);
  max-height: min(82vh, 820px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.70);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.20);
}
.lb__title {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb__close {
  border-radius: var(--radius2);
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  font-size: 12px;
}
.lb__close:hover { border-color: rgba(255, 255, 255, 0.28); }
.lb__close:focus-visible { outline: 2px solid rgba(123, 223, 242, 0.8); outline-offset: 2px; }
.lb__body { overflow: auto; background: rgba(0, 0, 0, 0.18); }
.lb__img { display: block; width: 100%; height: auto; }
.lb__cap {
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--muted);
  font-size: 12px;
}
.noscroll { overflow: hidden; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.20);
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.footer__right { text-align: right; }

@media (max-width: 980px) {
  .hero__head { grid-template-columns: 1fr; }
  .hero__mark { align-items: center; }
  .hero__mark .floatmark { align-self: center; }
  .floatmark { justify-self: center; }
  .nav { display: none; }
}
@media (max-width: 820px) {
  .cols { grid-template-columns: 1fr; }
  .minishots { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 38px; }
  .footer { flex-direction: column; align-items: stretch; }
  .footer__right { text-align: left; }
}

@media (max-width: 600px) {
  .shots { grid-template-columns: 1fr; }
  .shots--hero .shot img { height: 240px; }
}

@media (min-width: 1280px) {
  .hero h1 { white-space: nowrap; }
  .hero__support { flex-wrap: nowrap; }
}
