:root {
  --bg: #080b0a;
  --bg-raised: #0d1210;
  --surface: #101714;
  --surface-hover: #141e1a;
  --line: #23302a;
  --line-bright: #354a40;
  --text: #f2f5f3;
  --muted: #93a098;
  --muted-2: #68766e;
  --green: #70f3ac;
  --green-dark: #112f21;
  --cyan: #62d9ef;
  --yellow: #f1cb68;
  --danger: #ff7d7d;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 11%, rgba(44, 110, 78, 0.14), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 50%);
  content: "";
  pointer-events: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--green);
  color: #061109;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.section,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 66px;
  margin-top: 14px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(83, 110, 96, 0.45);
  border-radius: 12px;
  background: rgba(10, 15, 12, 0.86);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: -0.03em;
}

.brand img {
  object-fit: contain;
}

.brand b {
  color: var(--green);
  font-weight: 500;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

nav a,
footer a,
.text-link {
  transition: color 160ms ease;
}

nav a:hover,
footer a:hover,
.text-link:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  gap: 8px;
  border: 1px solid rgba(83, 110, 96, 0.45);
  border-radius: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.language-switch::before {
  content: "LANG";
  color: var(--muted-2);
  font-size: 8px;
}

.language-switch a,
.language-switch span {
  padding: 4px 2px;
}

.language-switch a {
  transition: color 160ms ease;
}

.language-switch a:hover,
.language-switch [aria-current="page"] {
  color: var(--green);
}

.github-mark {
  display: block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("assets/icons/github.svg") center / contain no-repeat;
  mask: url("assets/icons/github.svg") center / contain no-repeat;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0 19px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease,
    color 160ms ease;
}

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

.button:focus-visible,
.filter-button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 8px 30px rgba(63, 213, 135, 0.12);
  color: #07120c;
}

.button-primary:hover {
  background: #8ff7bd;
}

.button-secondary,
.button-ghost {
  border-color: var(--line-bright);
  background: rgba(16, 23, 20, 0.75);
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--green);
  background: var(--surface-hover);
}

.button-small {
  min-height: 38px;
  padding-inline: 14px;
}

.section {
  padding-block: 112px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  min-height: 740px;
  gap: 64px;
  padding-top: 94px;
  padding-bottom: 100px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  gap: 9px;
  border: 1px solid #2c493b;
  border-radius: 99px;
  background: rgba(21, 50, 36, 0.6);
  color: #bcebd0;
  transition: border-color 160ms ease;
}

.eyebrow:hover {
  border-color: var(--green);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(112, 243, 172, 0.1), 0 0 12px rgba(112, 243, 172, 0.65);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-block: 24px 22px;
  font-size: clamp(52px, 6.1vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.068em;
}

h1 em {
  color: var(--green);
  font-style: normal;
  font-weight: 450;
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 30px;
  color: #b2beb7;
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-icon {
  font-size: 18px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  margin: 25px 0 0;
  padding: 0;
  gap: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  list-style: none;
}

.trust-list span {
  color: var(--green);
}

.app-preview {
  position: relative;
  perspective: 1000px;
}

.preview-glow {
  position: absolute;
  inset: 8% -8% -10% 10%;
  border-radius: 50%;
  background: rgba(51, 191, 116, 0.13);
  filter: blur(70px);
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid #34443c;
  border-radius: 10px;
  background: #090c0b;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  transform: rotateY(-3deg) rotateX(1deg);
  transform-origin: right center;
  font-family: var(--font-mono);
}

.window-bar,
.window-toolbar,
.window-body,
.tunnel-main,
.forward,
.list-heading {
  display: flex;
  align-items: center;
}

.window-bar {
  justify-content: space-between;
  height: 43px;
  padding: 0 14px;
  border-bottom: 1px solid #202923;
  background: #0f1412;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b7c2bc;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.window-controls {
  display: flex;
  gap: 8px;
}

.window-controls span {
  width: 8px;
  height: 8px;
  border: 1px solid #4a5650;
  border-radius: 50%;
}

.window-toolbar {
  justify-content: space-between;
  height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid #202923;
  background: #0b100e;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.window-toolbar div {
  display: flex;
  gap: 7px;
}

.window-toolbar b {
  padding: 3px 5px;
  border: 1px solid #26312b;
  color: #77867e;
  font-weight: 500;
}

.window-body {
  align-items: stretch;
  min-height: 390px;
}

.window-body aside {
  width: 138px;
  padding: 18px 9px;
  border-right: 1px solid #202923;
  background: #0b0f0d;
}

.window-body aside small {
  display: block;
  padding: 0 8px 9px;
  color: #536159;
  font-size: 7px;
  letter-spacing: 0.16em;
}

.side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-radius: 3px;
  color: #6f7e76;
  font-size: 7px;
}

.side-item.active {
  background: #12251b;
  color: var(--green);
}

.side-item b {
  font-weight: 400;
}

.tunnel-list {
  flex: 1;
  padding: 14px;
}

.list-heading {
  justify-content: space-between;
  margin-bottom: 10px;
  color: #78867f;
  font-size: 8px;
  letter-spacing: 0.09em;
}

.list-heading b {
  color: var(--green);
  font-weight: 500;
}

.tunnel-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  margin-bottom: 8px;
  padding: 12px 12px 10px;
  border: 1px solid #222e28;
  border-radius: 4px;
  background: #0f1512;
}

.tunnel-card.connected {
  border-left: 2px solid var(--green);
}

.tunnel-card.dimmed {
  opacity: 0.57;
}

.tunnel-main {
  gap: 9px;
}

.tunnel-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(112, 243, 172, 0.65);
}

.tunnel-pulse.cyan {
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(98, 217, 239, 0.65);
}

.tunnel-pulse.offline {
  background: #66736c;
  box-shadow: none;
}

.tunnel-main strong,
.tunnel-main small {
  display: block;
}

.tunnel-main strong {
  margin-bottom: 4px;
  color: #dfe8e3;
  font-size: 10px;
  font-weight: 500;
}

.tunnel-main small {
  color: #65736b;
  font-size: 7px;
}

.status {
  align-self: start;
  padding: 3px 5px;
  border: 1px solid #39463f;
  color: #7d8982;
  font-size: 6px;
  letter-spacing: 0.09em;
}

.connected-status {
  border-color: #1c5939;
  background: #0d281a;
  color: var(--green);
}

.forward {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 9px;
  gap: 7px;
  border-top: 1px solid #1c2521;
  color: #65736b;
  font-size: 7px;
}

.forward span {
  color: #4f5e56;
  font-size: 6px;
}

.forward code {
  color: #94a49b;
  font-family: inherit;
}

.forward i {
  color: var(--green);
  font-style: normal;
}

.connection-toast {
  position: absolute;
  right: -24px;
  bottom: -25px;
  display: flex;
  align-items: center;
  min-width: 220px;
  padding: 13px 16px;
  gap: 11px;
  border: 1px solid #335442;
  border-radius: 7px;
  background: rgba(14, 27, 20, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  font-family: var(--font-mono);
}

.toast-check {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #07120c;
  font-weight: 900;
}

.connection-toast b,
.connection-toast small {
  display: block;
}

.connection-toast b {
  margin-bottom: 4px;
  color: #e2ece6;
  font-size: 10px;
}

.connection-toast small {
  color: var(--muted);
  font-size: 8px;
}

.feature-strip {
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding-inline: 24px;
  gap: 24px;
  border-block: 1px solid var(--line);
  background: #0b100e;
  color: #6f7e76;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.feature-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #385345;
}

.section-intro {
  max-width: 660px;
}

.kicker {
  margin-bottom: 16px;
  color: var(--green);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-intro > p:last-child,
.contact > div:first-child > p:last-child {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 18, 16, 0.65);
  transition: background 180ms ease;
}

.feature-card:hover {
  background: var(--surface-hover);
}

.feature-wide {
  grid-column: span 2;
}

.feature-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #4a5b52;
  font-family: var(--font-mono);
  font-size: 10px;
}

.feature-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 38px;
  place-items: center;
  border: 1px solid #2b4c3a;
  border-radius: 5px;
  background: #11241a;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 22px;
}

.feature-card h3,
.platform-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.feature-card p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-card code {
  color: #bfd1c6;
  font-family: var(--font-mono);
}

.route-visual {
  display: flex;
  align-items: center;
  max-width: 570px;
  margin-top: 30px;
  gap: 20px;
  color: #d3ddd7;
  font-family: var(--font-mono);
  font-size: 11px;
}

.route-visual span {
  padding: 9px 11px;
  border: 1px solid #2b3932;
  border-radius: 4px;
  background: #0b100e;
}

.route-visual small {
  display: block;
  margin-bottom: 4px;
  color: #57675e;
  font-size: 6px;
  letter-spacing: 0.12em;
}

.route-visual > i {
  position: relative;
  display: flex;
  flex: 1;
  justify-content: space-between;
  height: 1px;
  background: #31543f;
}

.route-visual > i b {
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--green);
}

.feature-accent {
  background: linear-gradient(145deg, #102219, #0d1612);
}

.signal {
  position: absolute;
  right: 24px;
  bottom: 25px;
  display: flex;
  align-items: end;
  height: 50px;
  gap: 5px;
  opacity: 0.5;
}

.signal i {
  width: 4px;
  border-radius: 4px;
  background: var(--green);
}

.signal i:nth-child(1) { height: 18%; }
.signal i:nth-child(2) { height: 40%; }
.signal i:nth-child(3) { height: 68%; }
.signal i:nth-child(4) { height: 100%; }

.downloads {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  border-block: 1px solid var(--line);
  background: #0b100e;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.centered > p:last-child {
  margin-inline: auto;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
  margin: 54px auto 0;
  gap: 12px;
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 360px;
  padding: 38px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0f1512;
  text-align: center;
}

.platform-card.featured {
  border-color: #39644d;
  box-shadow: 0 0 50px rgba(42, 133, 85, 0.08);
}

.recommended {
  position: absolute;
  top: 0;
  padding: 5px 10px;
  border-radius: 0 0 4px 4px;
  background: var(--green);
  color: #07120c;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.os-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 15px 0 24px;
  place-items: center;
  color: #d5e0da;
}

.windows-icon {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  transform: perspective(30px) rotateY(-5deg);
}

.windows-icon i {
  width: 100%;
  height: 100%;
  background: currentColor;
}

.apple-icon,
.linux-icon {
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.apple-icon {
  -webkit-mask-image: url("assets/icons/apple.svg");
  mask-image: url("assets/icons/apple.svg");
}

.linux-icon {
  -webkit-mask-image: url("assets/icons/linux.svg");
  mask-image: url("assets/icons/linux.svg");
}

.platform-card h3 {
  margin-bottom: 5px;
}

.platform-card p,
.platform-note {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
}

.platform-card > .button,
.platform-actions {
  width: 100%;
  margin-top: auto;
}

.platform-actions .button {
  width: 100%;
}

.text-link {
  color: #bac8c0;
  font-family: var(--font-mono);
  font-size: 10px;
  text-decoration: underline;
  text-decoration-color: #45554c;
  text-underline-offset: 4px;
}

.platform-card > .text-link,
.platform-actions .text-link,
.platform-note {
  margin-top: 17px;
}

.download-note {
  margin: 24px 0 0;
  color: #606f67;
  font-size: 11px;
  text-align: center;
}

.download-note a {
  color: #9caba3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.release-heading {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: end;
  gap: 80px;
}

.rollback-note {
  display: flex;
  padding: 23px;
  gap: 16px;
  border: 1px solid #4c4328;
  border-radius: 7px;
  background: rgba(74, 61, 25, 0.15);
}

.rollback-note > span {
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 26px;
}

.rollback-note h3 {
  margin-bottom: 7px;
  color: #ecdfb9;
  font-size: 13px;
}

.rollback-note p {
  margin: 0;
  color: #a99f81;
  font-size: 12px;
  line-height: 1.55;
}

.release-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-bright);
}

.release-filters {
  display: flex;
  gap: 5px;
}

.filter-button {
  min-height: 34px;
  padding-inline: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
}

.filter-button.active {
  border-color: #315240;
  background: #10251a;
  color: var(--green);
}

.release-row {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) minmax(340px, auto);
  align-items: start;
  padding: 25px 4px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.release-version {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.release-version a {
  color: #e3ebe6;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.release-version a:hover {
  color: var(--green);
}

.release-badge {
  padding: 3px 5px;
  border: 1px solid #315a43;
  border-radius: 3px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.release-badge.beta {
  border-color: #65572c;
  color: var(--yellow);
}

.release-description h3 {
  margin-bottom: 6px;
  color: #cdd8d1;
  font-size: 13px;
  font-weight: 600;
}

.release-description p,
.release-date {
  margin-bottom: 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.55;
}

.release-date {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
}

.release-assets {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.asset-button {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 0 10px;
  gap: 6px;
  border: 1px solid #2d3c34;
  border-radius: 4px;
  background: #0d1310;
  color: #aebbb4;
  font-family: var(--font-mono);
  font-size: 8px;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease;
}

.asset-button:hover {
  border-color: var(--green);
  color: var(--green);
}

.release-skeleton {
  display: grid;
  grid-template-columns: 145px 1fr 340px;
  padding: 27px 4px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.release-skeleton span {
  height: 32px;
  border-radius: 4px;
  background: linear-gradient(90deg, #101713, #17221c, #101713);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.release-error {
  padding: 36px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.release-error a {
  color: var(--green);
  text-decoration: underline;
}

.load-more {
  margin: 28px auto 0;
}

.load-more:not([hidden]) {
  display: flex;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.faq {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
  border-top: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line-bright);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 73px;
  gap: 20px;
  color: #d9e2dd;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

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

summary span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 300;
  transition: transform 180ms ease;
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  max-width: 650px;
  margin: -3px 45px 24px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

details code {
  color: #c9d6cf;
  font-family: var(--font-mono);
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  margin-bottom: 90px;
  padding: 70px;
  gap: 40px;
  border: 1px solid #31533f;
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(18, 50, 34, 0.82), rgba(11, 20, 15, 0.94)),
    radial-gradient(circle at 70% 0%, rgba(112, 243, 172, 0.12), transparent 30%);
}

.contact::after {
  position: absolute;
  right: 12%;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(112, 243, 172, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(112, 243, 172, 0.025), 0 0 0 75px rgba(112, 243, 172, 0.018);
  content: "";
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact h2 {
  max-width: 680px;
  font-size: clamp(34px, 4vw, 56px);
}

.contact-actions {
  flex-direction: column;
  align-items: stretch;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
}

footer > div {
  display: flex;
  gap: 22px;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .app-preview {
    max-width: 720px;
    margin-inline: auto;
  }

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

  .feature-wide {
    grid-column: span 2;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .platform-card {
    min-height: 340px;
  }

  .release-heading,
  .faq {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .rollback-note {
    max-width: 620px;
  }

  .release-row {
    grid-template-columns: 130px 1fr;
  }

  .release-assets {
    grid-column: 2;
    justify-content: flex-start;
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 56px;
  }

  .contact-actions {
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .site-header,
  .section,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 8px;
    min-height: 58px;
    margin-top: 8px;
    padding: 8px 9px 8px 12px;
  }

  .site-header .brand span {
    display: none;
  }

  .button-small {
    min-height: 38px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch {
    padding-inline: 8px;
  }

  .language-switch::before {
    display: none;
  }

  .section {
    padding-block: 82px;
  }

  .hero {
    min-height: auto;
    padding-top: 67px;
    gap: 58px;
  }

  h1 {
    font-size: clamp(47px, 16vw, 66px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    gap: 10px 18px;
  }

  .app-window {
    transform: none;
  }

  .window-body {
    min-height: 330px;
  }

  .window-body aside {
    display: none;
  }

  .tunnel-list {
    padding: 10px;
  }

  .connection-toast {
    right: 10px;
    bottom: -36px;
    min-width: 195px;
  }

  .feature-strip {
    justify-content: flex-start;
  }

  .feature-strip span:nth-of-type(n + 4),
  .feature-strip i:nth-of-type(n + 4) {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .feature-wide {
    grid-column: span 1;
  }

  .feature-card {
    min-height: 290px;
    padding: 28px;
  }

  .route-visual {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .route-visual > i {
    display: none;
  }

  .downloads {
    width: 100%;
    padding-inline: 14px;
  }

  .release-heading {
    gap: 32px;
  }

  .release-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .release-filters {
    width: 100%;
  }

  .filter-button {
    flex: 1;
  }

  .release-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .release-assets {
    grid-column: 1;
    justify-content: flex-start;
  }

  .release-skeleton {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .release-skeleton span:nth-child(3) {
    display: none;
  }

  .contact {
    width: calc(100% - 28px);
    margin-bottom: 50px;
    padding: 38px 24px;
  }

  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 32px;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
