:root {
  color-scheme: dark;
  --ink: #eef2e7;
  --muted: #9ca597;
  --dim: #646c62;
  --bg: #090b0a;
  --panel: #111512;
  --panel-2: #161b16;
  --line: rgba(194, 211, 178, 0.16);
  --acid: #c7f36b;
  --acid-strong: #dcff92;
  --orange: #ff8a3d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: "Bahnschrift", "Aptos Display", "Microsoft YaHei UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 12%, rgba(199, 243, 107, 0.09), transparent 30rem),
    radial-gradient(circle at 2% 45%, rgba(255, 138, 61, 0.06), transparent 25rem),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 0.12em 0.38em;
  color: var(--acid-strong);
  background: rgba(199, 243, 107, 0.08);
  border: 1px solid rgba(199, 243, 107, 0.14);
  border-radius: 3px;
  font: 0.9em "Cascadia Code", Consolas, monospace;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 10, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  gap: 13px;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: #0b0d0b;
  background: var(--acid);
  place-items: center;
  font-weight: 900;
  letter-spacing: -1.5px;
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 18% 100%, 0 82%);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: 0.12em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.3em;
}

.topbar nav {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.topbar nav a {
  transition: color 160ms ease;
}

.topbar nav a:hover {
  color: var(--acid);
}

.topbar nav a.language-link {
  color: var(--ink);
  font-weight: 700;
}

main {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  min-height: 735px;
  padding: clamp(70px, 10vw, 138px) clamp(22px, 5vw, 72px) 90px;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 20px;
  color: var(--acid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.pulse {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(199, 243, 107, 0.08);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(199, 243, 107, 0);
  }
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(54px, 7.4vw, 116px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 242, 231, 0.58);
  letter-spacing: 0.82px;
  paint-order: stroke fill;
  text-rendering: geometricPrecision;
}

html[lang="en"] .hero h1 {
  max-width: 920px;
  font-size: clamp(50px, 6vw, 92px);
  line-height: 1.18;
  letter-spacing: 0.01em;
}

html[lang="en"] .hero h1 span {
  -webkit-text-stroke-width: 0.75px;
  letter-spacing: 0.015em;
}

.hero-text {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #0a0c0a;
  background: var(--acid);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.button-primary:hover {
  background: var(--acid-strong);
}

.button-arrow {
  font-size: 20px;
}

.button-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.button-ghost:hover,
.button-outline:hover {
  border-color: rgba(199, 243, 107, 0.5);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 600px;
  margin: 64px 0 0;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  padding: 18px 22px 0 0;
}

.hero-stats div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.hero-stats dt,
.manifest-list span,
.repo-metrics span {
  color: var(--dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 9px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
}

.deployment-card {
  position: relative;
  min-height: 515px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(199, 243, 107, 0.22);
  background:
    linear-gradient(145deg, rgba(199, 243, 107, 0.08), transparent 45%),
    rgba(15, 19, 15, 0.93);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.deployment-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 31px;
  height: 31px;
  content: "";
  border-left: 1px solid rgba(199, 243, 107, 0.22);
  transform: rotate(-45deg) translate(2px, -20px);
}

.card-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(199, 243, 107, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 243, 107, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle, black, transparent 78%);
}

.card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.status-label {
  color: var(--acid);
}

.scope {
  position: relative;
  z-index: 1;
  width: 235px;
  height: 235px;
  margin: 46px auto 38px;
}

.scope-ring {
  position: absolute;
  border: 1px solid rgba(199, 243, 107, 0.32);
  border-radius: 50%;
}

.scope-ring-one {
  inset: 0;
  border-style: dashed;
  animation: rotate 28s linear infinite;
}

.scope-ring-two {
  inset: 43px;
  border-color: rgba(199, 243, 107, 0.58);
  box-shadow: inset 0 0 40px rgba(199, 243, 107, 0.04);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.scope-cross {
  position: absolute;
  background: rgba(199, 243, 107, 0.22);
}

.scope-cross-x {
  top: 50%;
  right: 20px;
  left: 20px;
  height: 1px;
}

.scope-cross-y {
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 1px;
}

.scope-center {
  position: absolute;
  top: calc(50% - 5px);
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(255, 138, 61, 0.8);
}

.manifest-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.manifest-list div {
  display: grid;
  gap: 7px;
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifest-list strong {
  overflow: hidden;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--acid);
}

.ticker div {
  display: flex;
  gap: 60px;
  width: max-content;
  padding: 14px 0;
  color: #0b0d0b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  animation: ticker 30s linear infinite;
}

.ticker span::before {
  margin-right: 60px;
  content: "◆";
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(84px, 10vw, 140px) clamp(22px, 5vw, 72px);
}

.section-heading {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-heading h2,
.repository-panel h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gun-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.gun-card {
  position: relative;
  min-height: 315px;
  padding: 20px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.025), transparent 55%);
  transition: background 180ms ease;
}

.gun-card:hover {
  background: linear-gradient(170deg, rgba(199, 243, 107, 0.075), transparent 60%);
}

.gun-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dim);
  font: 10px "Cascadia Code", Consolas, monospace;
}

.gun-type {
  color: var(--acid);
  letter-spacing: 0.1em;
}

.gun-image-wrap {
  display: grid;
  height: 165px;
  place-items: center;
}

.gun-image {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.45));
  transition: transform 220ms ease;
}

.gun-card:hover .gun-image {
  transform: scale(1.05) translateY(-3px);
}

.gun-card h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.gun-card p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.loading-panel {
  grid-column: 1 / -1;
  padding: 80px 20px;
  color: var(--muted);
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.steps li {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--orange);
  font: 12px "Cascadia Code", Consolas, monospace;
}

.steps h3 {
  margin: 46px 0 12px;
  font-size: 20px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.repository-panel {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 50px;
  align-items: center;
  margin: 0 clamp(22px, 5vw, 72px) clamp(84px, 9vw, 130px);
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(199, 243, 107, 0.07), transparent 28%),
    var(--panel);
}

.repository-panel p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.repo-metrics {
  display: grid;
  gap: 14px;
}

.repo-metrics div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.repo-metrics strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
}

.button-outline {
  color: var(--acid);
  border-color: rgba(199, 243, 107, 0.4);
  white-space: nowrap;
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.update-card {
  display: flex;
  min-height: 255px;
  padding: 24px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(155deg, rgba(199, 243, 107, 0.045), transparent 42%),
    rgba(255, 255, 255, 0.012);
}

.update-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--dim);
  font: 10px "Cascadia Code", Consolas, monospace;
}

.update-version {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  color: var(--acid);
  border: 1px solid rgba(199, 243, 107, 0.32);
  background: rgba(199, 243, 107, 0.055);
  font: 10px "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.05em;
}

.update-card h3 {
  margin: 54px 0 12px;
  font-size: 21px;
}

.update-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.update-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 26px;
  color: var(--acid);
  border-bottom: 1px solid rgba(199, 243, 107, 0.38);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.updates-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.log-hero {
  max-width: 980px;
  padding: clamp(90px, 12vw, 170px) clamp(22px, 5vw, 72px) 64px;
}

.log-hero h1 {
  margin: 0;
  font-size: clamp(60px, 10vw, 142px);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.log-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.website-log-hero .eyebrow,
.website-release-entry .update-version {
  color: var(--orange);
}

.website-log-hero .eyebrow .pulse {
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 138, 61, 0.08);
}

.website-release-entry {
  border-color: rgba(255, 138, 61, 0.22);
  background:
    linear-gradient(125deg, rgba(255, 138, 61, 0.055), transparent 24%),
    var(--panel);
}

.website-release-entry .update-version {
  border-color: rgba(255, 138, 61, 0.34);
  background: rgba(255, 138, 61, 0.06);
}

.website-change-section + .website-change-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.website-change-section h3 {
  margin-top: 0;
  color: var(--orange);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.log-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin-top: 38px;
  padding-top: 22px;
  color: var(--acid);
  border-top: 1px solid var(--line);
  font: 11px "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.12em;
}

.changelog-list {
  display: grid;
  gap: 22px;
  padding: 0 clamp(22px, 5vw, 72px) clamp(90px, 10vw, 150px);
}

.site-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 34px clamp(22px, 5vw, 72px) 0;
  color: var(--dim);
  font: 11px "Cascadia Code", Consolas, monospace;
}

.site-breadcrumb a {
  color: var(--orange);
}

.website-detail-shell {
  padding: clamp(48px, 7vw, 92px) clamp(22px, 5vw, 72px) clamp(90px, 10vw, 150px);
}

.website-detail-card {
  max-width: 1160px;
  margin: 0 auto;
}

.website-detail-card h1 {
  margin: 18px 0 10px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.website-detail-summary {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
}

.release-entry {
  scroll-margin-top: 100px;
  border: 1px solid var(--line);
  background:
    linear-gradient(125deg, rgba(199, 243, 107, 0.055), transparent 24%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.release-entry-header {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
}

.release-entry-header h2 {
  margin: 18px 0 10px;
  font-size: clamp(25px, 3vw, 42px);
  letter-spacing: -0.035em;
}

.release-entry-header time {
  color: var(--dim);
  font: 11px "Cascadia Code", Consolas, monospace;
}

.release-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.release-facts {
  padding: 13px clamp(24px, 4vw, 42px);
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  font: 10px "Cascadia Code", Consolas, monospace;
  overflow-wrap: anywhere;
}

.release-notes {
  max-width: 960px;
  padding: clamp(26px, 4vw, 48px);
  color: var(--muted);
  line-height: 1.8;
}

.release-notes h2,
.release-notes h3,
.release-notes h4 {
  margin: 30px 0 13px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.release-notes h2:first-child,
.release-notes h3:first-child,
.release-notes h4:first-child {
  margin-top: 0;
}

.release-notes h3 {
  font-size: 23px;
}

.release-notes h4 {
  color: var(--acid);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.release-notes p,
.release-notes ul {
  margin: 0 0 16px;
}

.release-notes ul {
  padding-left: 21px;
}

.release-notes li + li {
  margin-top: 8px;
}

.release-notes strong {
  color: var(--ink);
}

.release-notes a {
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.release-notes blockquote {
  margin: 20px 0;
  padding: 12px 18px;
  color: var(--muted);
  border-left: 2px solid var(--acid);
  background: rgba(199, 243, 107, 0.035);
}

.website-history {
  padding-top: 0;
}

.home-website-update-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 138, 61, 0.2);
  border-left: 1px solid rgba(255, 138, 61, 0.2);
}

.home-website-update {
  display: flex;
  min-height: 235px;
  padding: 24px;
  flex-direction: column;
  border-right: 1px solid rgba(255, 138, 61, 0.2);
  border-bottom: 1px solid rgba(255, 138, 61, 0.2);
  background:
    linear-gradient(155deg, rgba(255, 138, 61, 0.045), transparent 42%),
    rgba(255, 255, 255, 0.012);
}

.home-website-update-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  color: var(--orange);
  font: 10px "Cascadia Code", Consolas, monospace;
}

.home-website-update h3 {
  margin: 44px 0 12px;
  font-size: 20px;
}

.home-website-update p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-website-update a {
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--orange);
  border-bottom: 1px solid rgba(255, 138, 61, 0.38);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.log-empty {
  padding: 80px 24px;
  color: var(--muted);
  border: 1px solid var(--line);
  text-align: center;
}

footer {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 28px clamp(22px, 5vw, 72px);
  color: var(--dim);
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer .admin-entry {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.58;
}

footer .admin-entry:hover {
  color: var(--acid);
  opacity: 1;
}

footer .site-credit {
  flex-basis: 100%;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.06em;
}

footer .site-credit a {
  color: var(--muted);
}

.copy-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 100;
  max-width: min(90vw, 540px);
  padding: 13px 18px;
  color: #11150f;
  background: var(--acid);
  border: 1px solid var(--acid-strong);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.copy-toast[hidden] {
  display: none;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .deployment-card {
    width: min(100%, 580px);
  }

  .gun-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .repository-panel {
    grid-template-columns: 1fr;
  }

  .update-grid {
    grid-template-columns: 1fr;
  }

  .home-website-update-list {
    grid-template-columns: 1fr;
  }

  .release-entry-header {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    height: 68px;
  }

  .topbar nav a:not(:last-child):not(.language-link) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 82px);
  }

  .hero h1 span {
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
    -webkit-text-stroke-width: 0;
    letter-spacing: 0.015em;
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(46px, 13vw, 64px);
    line-height: 1.18;
    letter-spacing: 0.005em;
  }

  html[lang="en"] .hero h1 span {
    -webkit-text-stroke-width: 0;
    letter-spacing: 0.01em;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .hero-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div + div {
    padding-left: 0;
    border-left: 0;
  }

  .hero-stats dd {
    margin: 0;
  }

  .deployment-card {
    min-height: 480px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .gun-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gun-card {
    min-height: 270px;
  }

  .gun-image-wrap {
    height: 130px;
  }

  .gun-image {
    max-height: 115px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: 170px;
  }

  .steps h3 {
    margin-top: 30px;
  }

  .update-card {
    min-height: 220px;
  }

  .home-website-update {
    min-height: 210px;
  }

  .update-card h3 {
    margin-top: 36px;
  }

  .log-toolbar,
  .release-entry-header {
    display: grid;
  }

  .release-actions {
    justify-content: flex-start;
  }

  .updates-more {
    justify-content: flex-start;
  }

  footer {
    display: grid;
  }
}

@media (max-width: 460px) {
  .brand-copy strong {
    font-size: 11px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .gun-grid {
    grid-template-columns: 1fr;
  }

  .gun-card {
    min-height: 300px;
  }

  .manifest-list {
    grid-template-columns: 1fr;
  }
}

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

