@font-face {
  font-family: "Unbounded";
  src: url("/fonts/Unbounded.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #06100e;
  --surface: #0b1a16;
  --surface-2: #10231d;
  --line: #203f35;
  --line-strong: #356454;
  --text: #f4f2e7;
  --muted: #a2b6ae;
  --muted-2: #71867d;
  --green: #7cf0ad;
  --green-soft: #b3f8ce;
  --cream: #ece8d7;
  --ink: #091511;
  --warning: #f1cb76;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 Arial, sans-serif;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 40;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  min-height: 74px;
  margin: auto;
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font: 500 15px "Unbounded", sans-serif;
  text-decoration: none;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--green);
  color: var(--ink);
  font: 800 16px Arial, sans-serif;
}

#site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

#site-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

#site-nav a:hover,
#site-nav a:focus-visible {
  color: var(--text);
}

#site-nav .support-link {
  margin-left: 8px;
}

#site-nav .nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 15px;
  color: var(--text);
}

.menu-button {
  display: none;
}

main {
  overflow: hidden;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-strip div {
  padding: 17px 18px;
  text-align: center;
}

.fact-strip div + div {
  border-left: 1px solid var(--line);
}

.fact-strip strong,
.fact-strip span {
  display: block;
}

.fact-strip strong {
  color: var(--green);
  font: 700 13px "JetBrains Mono", monospace;
}

.fact-strip span {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 11px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 72px;
  width: min(calc(100% - 40px), var(--max));
  min-height: 660px;
  margin: auto;
  padding: 72px 0 86px;
}

.hero::before {
  position: absolute;
  top: 80px;
  right: -150px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(87 229 150 / 16%), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font: 700 12px "JetBrains Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Unbounded", sans-serif;
  letter-spacing: -.035em;
}

h1 {
  max-width: 760px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(42px, 5.7vw, 73px);
  font-weight: 520;
  line-height: 1.13;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.16;
}

h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 520;
  line-height: 1.28;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 690px;
  margin: 34px 0 18px;
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  padding: 11px 12px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.download-card::before {
  position: absolute;
  top: -45px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgb(124 240 173 / 8%);
  content: "";
  pointer-events: none;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 14px 35px rgb(0 0 0 / 24%);
}

.download-card:focus-visible {
  outline: 3px solid rgb(124 240 173 / 32%);
  outline-offset: 3px;
}

.download-card-primary {
  border-color: transparent;
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 12px 32px rgb(39 198 107 / 16%);
}

.download-card-primary::before {
  background: rgb(255 255 255 / 22%);
}

.download-card-primary:hover {
  border-color: transparent;
  background: var(--green-soft);
}

.download-card-icon,
.download-card-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: none;
}

.download-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgb(124 240 173 / 11%);
  color: var(--green);
}

.download-card-primary .download-card-icon {
  background: rgb(9 21 17 / 10%);
  color: var(--ink);
}

.download-card-telegram .download-card-icon {
  background: rgb(42 171 238 / 13%);
  color: #2aabee;
}

.download-card-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.download-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
}

.download-card-copy strong {
  overflow: hidden;
  font: 750 13px/1.25 Arial, sans-serif;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-card-copy small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted-2);
  font: 600 9px/1.2 "JetBrains Mono", monospace;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-card-primary .download-card-copy small {
  color: rgb(9 21 17 / 62%);
}

.download-card-arrow {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font: 700 15px/1 Arial, sans-serif;
  transition: transform .18s ease, background .18s ease;
}

.download-card:hover .download-card-arrow {
  transform: translateY(2px);
  background: rgb(124 240 173 / 10%);
}

.download-card-external:hover .download-card-arrow {
  transform: translate(2px, -2px);
}

.download-card-primary .download-card-arrow {
  border-color: rgb(9 21 17 / 18%);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 11px;
  padding: 0 21px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-soft);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.hero-note {
  max-width: 560px;
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
}

.server-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 23px;
  background: linear-gradient(145deg, var(--surface-2), #08130f);
  box-shadow: 0 32px 90px rgb(0 0 0 / 34%);
}

.server-card-head,
.server-location,
.server-access {
  display: flex;
  align-items: center;
}

.server-card-head {
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  font: 600 11px "JetBrains Mono", monospace;
}

.server-card-head span {
  color: var(--green);
}

.server-card-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.server-card-head code {
  color: var(--muted-2);
}

.server-location {
  gap: 13px;
  padding: 24px 0;
}

.server-location b,
.server-location small {
  display: block;
}

.server-location small {
  color: var(--muted);
}

.server-location em {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green);
  font: normal 700 10px "JetBrains Mono", monospace;
}

.server-cube {
  position: relative;
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 13px;
  background: var(--cream);
}

.server-cube::before,
.server-cube::after,
.server-cube i {
  position: absolute;
  width: 20px;
  height: 11px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  content: "";
}

.server-cube::before {
  transform: translateY(-8px);
}

.server-cube::after {
  transform: translateY(8px);
}

.server-cube i {
  width: 2px;
  height: 2px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}

.server-cube i:nth-child(1) {
  transform: translate(-6px, -8px);
}

.server-cube i:nth-child(2) {
  transform: translate(-6px, 8px);
}

.server-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.server-specs div {
  border-radius: 11px;
  padding: 13px;
  background: rgb(255 255 255 / 3.5%);
}

.server-specs span,
.server-specs b {
  display: block;
}

.server-specs span {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 10px;
  text-transform: uppercase;
}

.server-specs b {
  font: 650 13px "JetBrains Mono", monospace;
}

.server-access {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.server-access span {
  color: var(--muted-2);
  font-size: 11px;
}

.server-access code {
  overflow: hidden;
  color: var(--muted);
  font: 11px "JetBrains Mono", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-access button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 8px;
  background: transparent;
  color: var(--green);
  font: 700 9px "JetBrains Mono", monospace;
}

.platform-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px;
  color: var(--muted-2);
  font-size: 12px;
}

.platform-strip b {
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
  padding: 116px 0;
}

.section-heading {
  max-width: 790px;
}

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

.section-heading > p:last-child {
  max-width: 690px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 50px;
}

.feature-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 23px;
  background: var(--surface);
}

.feature-grid p {
  margin: 13px 0 0;
  color: var(--muted);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 28px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--green) 13%, transparent);
  color: var(--green);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.pricing-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: var(--cream);
  color: var(--ink);
}

.pricing-section .eyebrow,
.locations-section .eyebrow {
  color: #187142;
}

.pricing-section .section-heading > p:last-child {
  color: #506158;
}

.plan-summary {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 18px;
}

.plan-summary span {
  border: 1px solid #bdc6ba;
  border-radius: 999px;
  padding: 9px 14px;
  background: #f6f3e5;
  color: #526058;
  font-size: 12px;
}

.plan-summary b {
  color: #187142;
  font-family: "JetBrains Mono", monospace;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid #bdc6ba;
  border-radius: 18px;
  background: #f8f5e8;
}

.pricing-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 18px;
  border-bottom: 1px solid #ccd2c7;
  text-align: left;
}

.pricing-table th {
  color: #637068;
  font: 600 10px "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.pricing-table td {
  color: #35453d;
  font-size: 13px;
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table td strong,
.pricing-table td small {
  display: block;
}

.pricing-table td strong {
  color: var(--ink);
  font: 600 15px "Unbounded", sans-serif;
}

.pricing-table td small {
  margin-top: 3px;
  color: #718078;
}

.pricing-table td b {
  color: var(--ink);
  font: 700 15px "JetBrains Mono", monospace;
}

.pricing-table td a {
  display: inline-flex;
  justify-content: center;
  min-width: 96px;
  border-radius: 9px;
  padding: 9px 13px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.pricing-table .recommended {
  background: #e5f6e8;
}

.locations-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: #dceee2;
  color: var(--ink);
}

.locations-section .section-heading > p:last-child {
  color: #506158;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}

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

.location-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.location-grid a {
  display: grid;
  min-height: 220px;
  border: 1px solid #aebfb2;
  border-radius: 16px;
  padding: 22px;
  background: #eff6ed;
  text-decoration: none;
}

.location-index {
  color: #187142;
  font: 700 11px "JetBrains Mono", monospace;
}

.location-grid strong {
  align-self: end;
  font: 520 21px "Unbounded", sans-serif;
}

.location-grid small {
  align-self: end;
  margin-top: 8px;
  color: #587067;
}

.faq-section {
  padding-bottom: 130px;
}

.faq-list {
  max-width: 880px;
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 52px 22px 2px;
  font: 520 16px "Unbounded", sans-serif;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  content: "+";
  font: 400 20px Arial, sans-serif;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 730px;
  margin: -5px 0 22px;
  color: var(--muted);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 92px;
  border-radius: 22px;
  padding: 46px;
  background: var(--green);
  color: var(--ink);
}

.final-cta .eyebrow {
  color: #195c37;
}

.final-cta h2 {
  max-width: 760px;
  font-size: clamp(28px, 3.4vw, 43px);
}

.final-cta p:last-child {
  max-width: 680px;
  margin-bottom: 0;
}

.button-dark {
  flex: none;
  background: var(--ink);
  color: #fff;
}

.download-actions {
  display: grid;
  flex: 0 1 570px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.final-cta > div:first-child {
  flex: 1;
  min-width: 0;
}

.final-cta .download-card {
  border-color: rgb(9 21 17 / 22%);
  background: var(--ink);
  color: var(--text);
  box-shadow: none;
}

.final-cta .download-card:hover {
  border-color: var(--ink);
  background: #10231d;
  box-shadow: 0 14px 34px rgb(9 21 17 / 18%);
}

.final-cta .download-card-icon {
  background: rgb(124 240 173 / 12%);
  color: var(--green);
}

.final-cta .download-card-copy small {
  color: var(--muted-2);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 1fr);
  gap: 38px;
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
  padding: 48px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer h3 {
  margin-bottom: 15px;
  color: var(--text);
  font: 650 11px "JetBrains Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer > div:not(.footer-about, .footer-legal, .footer-bottom) a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-about p {
  max-width: 310px;
  font-size: 13px;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
}

.footer-legal p {
  margin: 0;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 11px;
}

.legal-page {
  width: min(calc(100% - 40px), 860px);
  min-height: 70vh;
  margin: auto;
  padding: 86px 0 120px;
}

.legal-page h1 {
  font-size: clamp(36px, 5.5vw, 61px);
}

.legal-page section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  font-size: 23px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.simple-footer {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 40px), 860px);
  margin: auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.install-page {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 96px 0 120px;
}

.install-hero {
  max-width: 900px;
  padding: 56px 0 72px;
}

.install-hero h1 {
  max-width: 880px;
}

.install-platform-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.install-platform-nav a {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--text);
  font: 700 12px/1 Arial, sans-serif;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.install-platform-nav a:hover {
  transform: translateY(-1px);
  border-color: var(--green);
  background: var(--surface-2);
}

.install-platform-nav a:focus-visible {
  outline: 3px solid rgb(124 240 173 / 30%);
  outline-offset: 3px;
}

.install-guides {
  scroll-margin-top: 90px;
}

.install-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.install-guide {
  display: flex;
  min-width: 0;
  min-height: 430px;
  scroll-margin-top: 90px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
}

.install-guide-wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.install-guide-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.install-platform-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: rgb(124 240 173 / 12%);
  color: var(--green);
  font: 800 11px/1 "JetBrains Mono", monospace;
  letter-spacing: .04em;
}

.install-platform-badge-telegram {
  background: rgb(42 171 238 / 14%);
  color: #2aabee;
}

.install-guide-head p {
  margin: 0 0 4px;
  color: var(--muted-2);
  font: 650 10px/1.2 "JetBrains Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.install-guide-head h3 {
  font-size: 22px;
}

.install-steps {
  display: grid;
  gap: 14px;
  margin: 24px 0 28px;
  padding-left: 24px;
  color: var(--muted);
}

.install-steps li {
  padding-left: 6px;
  line-height: 1.55;
}

.install-steps li::marker {
  color: var(--green);
  font-weight: 800;
}

.install-steps code {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 5px;
  background: rgb(124 240 173 / 7%);
  color: var(--text);
  font-size: .86em;
}

.install-download {
  align-self: flex-start;
  margin-top: auto;
  background: var(--green);
  color: var(--ink);
}

.install-download:hover {
  background: var(--green-soft);
}

.install-secondary {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}

.install-secondary:hover {
  border-color: var(--green);
  background: var(--surface-2);
}

.install-card-note {
  margin: 15px 0 0;
  color: var(--muted-2);
  font-size: 12px;
}

.install-telegram-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.install-telegram-actions .button {
  margin-top: 0;
}

.install-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 70px;
  border-radius: 24px;
  padding: 34px;
  background: var(--green);
  color: var(--ink);
}

.install-help .eyebrow {
  color: #195c37;
}

.install-help h2 {
  margin-top: 8px;
  font-size: clamp(27px, 3vw, 40px);
}

.install-help > p {
  margin: 0;
  color: rgb(9 21 17 / 72%);
  line-height: 1.55;
}

.install-help .button-dark {
  white-space: nowrap;
}

@media (max-width: 930px) {
  .site-header {
    width: calc(100% - 28px);
  }

  .menu-button {
    display: block;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 8px 12px;
    background: transparent;
    color: var(--text);
  }

  #site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 10px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgb(0 0 0 / 44%);
  }

  #site-nav.open {
    display: flex;
  }

  #site-nav a {
    padding: 10px;
  }

  #site-nav .support-link {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    min-height: auto;
  }

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

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-actions {
    flex: none;
    width: 100%;
  }

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

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

  .site-footer {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .install-help {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .fact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-strip div:nth-child(3) {
    border-left: 0;
  }

  .fact-strip div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .platform-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .feature-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .location-grid a {
    min-height: auto;
  }

  .plan-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

  .install-page {
    width: calc(100% - 32px);
    padding-top: 58px;
  }

  .install-hero {
    padding: 38px 0 58px;
  }

  .install-guide-grid {
    grid-template-columns: 1fr;
  }

  .install-guide-wide {
    grid-column: 1;
  }

  .install-guide {
    min-height: 0;
    padding: 21px;
  }

  .install-help {
    padding: 26px;
  }

  .hero-actions,
  .download-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 13px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .hero {
    width: calc(100% - 32px);
    padding-top: 56px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.18;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    max-width: none;
  }

  .download-actions {
    width: 100%;
  }

  .server-card {
    border-radius: 18px;
    padding: 16px;
  }

  .server-access {
    grid-template-columns: 1fr auto;
  }

  .server-access span {
    grid-column: 1 / -1;
  }

  .section {
    padding: 82px 0;
  }

  .faq-list summary {
    font-size: 14px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-about,
  .footer-legal,
  .footer-bottom {
    grid-column: 1;
  }

  .footer-bottom,
  .simple-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Email confirmation */
.confirmation-page {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 44%, rgb(124 240 173 / 10%), transparent 28%),
    radial-gradient(circle at 84% 20%, rgb(76 199 255 / 7%), transparent 24%),
    var(--bg);
}

.confirmation-header {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.confirmation-support {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.confirmation-support:hover,
.confirmation-support:focus-visible {
  color: var(--text);
}

.confirmation-main {
  display: grid;
  min-height: calc(100svh - 148px);
  overflow: hidden;
  padding: clamp(42px, 7vw, 90px) 20px;
}

.confirmation-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  width: min(100%, 1060px);
  margin: auto;
}

.confirmation-shell::before {
  position: absolute;
  top: -16%;
  right: -22%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgb(124 240 173 / 8%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.confirmation-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 390px);
  aspect-ratio: 1;
  justify-self: center;
}

.confirmation-art::before {
  width: 64%;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 35% 65% 57% 43% / 42% 40% 60% 58%;
  background: linear-gradient(145deg, var(--surface-2), #07110e);
  box-shadow: 0 30px 85px rgb(0 0 0 / 38%), inset 0 1px rgb(255 255 255 / 4%);
  content: "";
  transform: rotate(-8deg);
}

.confirmation-art::after {
  position: absolute;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  content: "";
  opacity: .55;
  transform: rotate(-33deg) translate(10px, -84px);
}

.confirmation-orbit {
  position: absolute;
  border: 1px solid rgb(124 240 173 / 20%);
  border-radius: 50%;
}

.orbit-one {
  inset: 8%;
  transform: rotate(14deg) scaleY(.7);
}

.orbit-two {
  inset: 20%;
  border-color: rgb(76 199 255 / 23%);
  transform: rotate(-40deg) scaleY(.62);
}

.confirmation-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px rgb(124 240 173 / 48%), 0 0 18px rgb(124 240 173 / 52%);
}

.node-one {
  top: 19%;
  right: 18%;
}

.node-two {
  bottom: 20%;
  left: 16%;
  background: #4cc7ff;
}

.node-three {
  right: 8%;
  bottom: 36%;
  width: 6px;
  height: 6px;
}

.confirmation-emblem {
  position: absolute;
  display: grid;
  place-items: center;
  width: 96px;
  height: 112px;
  background: linear-gradient(145deg, var(--green-soft), #58d98f);
  color: var(--ink);
  clip-path: polygon(50% 0, 94% 17%, 88% 70%, 50% 100%, 12% 70%, 6% 17%);
  filter: drop-shadow(0 18px 22px rgb(61 209 131 / 28%));
  animation: confirmation-float 4.8s ease-in-out infinite;
}

.confirmation-emblem::before {
  width: 27px;
  height: 14px;
  border-bottom: 4px solid currentcolor;
  border-left: 4px solid currentcolor;
  content: "";
  transform: translateY(-4px) rotate(-45deg);
}

.confirmation-art p {
  position: absolute;
  right: 8%;
  bottom: 13%;
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--muted-2);
  font: 700 9px "JetBrains Mono", monospace;
  letter-spacing: .16em;
}

.confirmation-art p b {
  color: var(--green);
  font-size: 11px;
}

.confirmation-card {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  padding: clamp(26px, 3.5vw, 40px);
  background: linear-gradient(145deg, rgb(16 35 29 / 94%), rgb(7 17 14 / 97%));
  box-shadow: 0 34px 92px rgb(0 0 0 / 32%);
}

.confirmation-card::before {
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), #4cc7ff, transparent);
  content: "";
}

.confirmation-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 21px;
  color: var(--muted);
  font: 700 10px "JetBrains Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.confirmation-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgb(124 240 173 / 10%);
}

.confirmation-card h1 {
  max-width: 620px;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
  font: 600 clamp(31px, 4vw, 46px)/1.08 "Unbounded", sans-serif;
  letter-spacing: -.035em;
}

.confirmation-message {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.62;
}

.confirmation-steps {
  display: grid;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.confirmation-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.confirmation-steps li > span {
  padding-top: 2px;
  color: var(--green);
  font: 700 10px "JetBrains Mono", monospace;
}

.confirmation-steps b,
.confirmation-steps small {
  display: block;
}

.confirmation-steps b {
  font-size: 14px;
}

.confirmation-steps small {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.45;
}

.confirmation-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 25px;
}

.confirmation-actions .button-primary {
  min-width: 190px;
}

.confirmation-help {
  border-bottom: 1px solid var(--line-strong);
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.confirmation-help:hover,
.confirmation-help:focus-visible {
  color: var(--text);
}

.confirmation-note {
  margin: 17px 0 0;
  color: var(--muted-2);
  font-size: 11.5px;
}

.confirmation-footer {
  width: min(calc(100% - 40px), var(--max));
  color: var(--muted-2);
}

.confirmation-error .confirmation-emblem {
  background: linear-gradient(145deg, #ed8b71, #c3524d);
  filter: drop-shadow(0 18px 22px rgb(195 82 77 / 25%));
}

.confirmation-error .confirmation-emblem::before,
.confirmation-error .confirmation-emblem::after {
  position: absolute;
  width: 31px;
  height: 4px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  content: "";
}

.confirmation-error .confirmation-emblem::before {
  transform: rotate(45deg);
}

.confirmation-error .confirmation-emblem::after {
  transform: rotate(-45deg);
}

.confirmation-error .confirmation-kicker span,
.confirmation-error .confirmation-node {
  background: #ed8b71;
  box-shadow: 0 0 0 5px rgb(237 139 113 / 10%);
}

.confirmation-error .confirmation-card::before {
  background: linear-gradient(90deg, transparent, #ed8b71, var(--warning), transparent);
}

.confirmation-error .confirmation-art p b {
  color: #ed8b71;
}

@keyframes confirmation-float {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@media (max-width: 880px) {
  .confirmation-main {
    padding-top: 46px;
  }

  .confirmation-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .confirmation-art {
    width: min(66vw, 310px);
  }

  .confirmation-card {
    width: min(100%, 660px);
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .confirmation-header {
    width: calc(100% - 28px);
  }

  .confirmation-support {
    padding: 8px 10px;
    font-size: 12px;
  }

  .confirmation-main {
    padding: 32px 16px 58px;
  }

  .confirmation-art {
    width: min(70vw, 250px);
  }

  .confirmation-emblem {
    width: 74px;
    height: 86px;
  }

  .confirmation-card {
    border-radius: 19px;
    padding: 24px 19px;
  }

  .confirmation-card h1 {
    font-size: 27px;
    line-height: 1.12;
  }

  .confirmation-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .confirmation-actions .button-primary {
    width: 100%;
  }

  .confirmation-help {
    align-self: center;
  }

  .confirmation-footer {
    width: calc(100% - 32px);
  }
}
