:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07101d;
  color: #edf4ff;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(25, 104, 165, .42), transparent 34rem),
    radial-gradient(circle at 90% 70%, rgba(54, 55, 142, .34), transparent 30rem),
    #07101d;
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(160, 197, 246, .1);
  background: rgba(7, 16, 29, .88);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 148px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(124px, 12vw, 148px);
  max-width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #aebfd6;
  font-size: 15px;
}

.nav a { text-decoration: none; }
.nav a:hover { color: #fff; }
.nav > a:not(.button) { position: relative; padding: 10px 0; }

.nav > a:not(.button)[aria-current="page"] {
  color: #fff;
  font-weight: 650;
}

.nav > a:not(.button)[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #75b7ff;
  box-shadow: 0 0 12px rgba(117, 183, 255, .45);
  content: "";
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(162, 201, 255, .25);
  border-radius: 13px;
  background: rgba(130, 180, 255, .08);
  color: #edf6ff;
  font-weight: 650;
  text-decoration: none;
}

.button.primary {
  border-color: #7bc7ff;
  background: #8cd1ff;
  color: #07101d;
}

.button.signed-in {
  min-height: 36px;
  max-width: 210px;
  overflow: hidden;
  padding: 0 12px;
  border-radius: 10px;
  border-color: rgba(127, 240, 189, .45);
  color: #dfffee;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-link::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #52dc98;
  box-shadow: 0 0 0 4px rgba(82, 220, 152, .08);
  content: "";
}

.account-link {
  gap: 8px;
}

.hero {
  display: grid;
  min-height: 350px;
  align-content: center;
  padding: 48px 0 62px;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: .98;
}

.hero .lead {
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 21px);
}

.hero .actions { margin-top: 28px; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, .78fr);
  align-items: center;
  gap: 64px;
  min-height: 610px;
  padding: 74px 0 84px;
}

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

.home-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 650;
}

.hero-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62e2a2;
  box-shadow: 0 0 0 4px rgba(98, 226, 162, .08);
  font-size: 0;
}

.home-hero h1 {
  max-width: 690px;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02;
}

.home-hero h1 span {
  color: #9ac9ff;
  background: linear-gradient(100deg, #69b1ff, #b3dcff 58%, #a6a9ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero .lead {
  max-width: 640px;
  margin-top: 24px;
  font-size: 18px;
}

.home-hero .lead code {
  padding: 3px 6px;
  border: 1px solid rgba(85, 150, 255, .22);
  border-radius: 6px;
  color: #9ed0ff;
  background: rgba(46, 98, 175, .12);
  font-size: .82em;
  overflow-wrap: anywhere;
}

.tunnel-diagram {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(132, 176, 237, .18);
  border-radius: 23px;
  background: linear-gradient(150deg, rgba(14, 28, 50, .95), rgba(7, 15, 29, .94));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
}

.tunnel-diagram-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(160, 197, 246, .11);
  color: #b9c9dc;
  font-size: 12px;
}

.tunnel-diagram-heading > div { display: flex; align-items: center; gap: 9px; }
.diagram-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #58dc9a; font-size: 0; }
.tunnel-diagram-heading > span { padding: 5px 8px; border: 1px solid rgba(85, 150, 255, .2); border-radius: 7px; color: #83b9ff; background: rgba(59, 130, 246, .08); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }

.tunnel-path { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }

.tunnel-node {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(160, 197, 246, .12);
  border-radius: 13px;
  background: rgba(4, 11, 22, .7);
}

.tunnel-node-accent { border-color: rgba(85, 150, 255, .28); background: rgba(33, 84, 163, .1); }

.tunnel-node-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; color: #8bbfff; background: rgba(92, 142, 218, .12); }
.tunnel-node-icon svg { width: 20px; height: 20px; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tunnel-node small { display: block; margin-bottom: 3px; color: #6f849f; font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.tunnel-node strong { display: block; color: #dce9f8; font: 650 12px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }

.tunnel-node-state { padding: 4px 6px; border: 1px solid rgba(85, 150, 255, .18); border-radius: 6px; color: #8abfff; background: rgba(59, 130, 246, .08); font: 750 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.tunnel-node-state-online { border-color: rgba(82, 220, 152, .22); color: #69e5a7; background: rgba(42, 183, 112, .08); }

.tunnel-connector { display: flex; min-height: 31px; align-items: center; justify-content: center; position: relative; color: #7188a5; font-size: 10px; text-align: center; }
.tunnel-connector::before, .tunnel-connector::after { width: 1px; height: 8px; position: absolute; left: 50%; background: rgba(92, 147, 229, .36); content: ""; }
.tunnel-connector::before { top: 0; }
.tunnel-connector::after { bottom: 0; }
.tunnel-connector-secure { color: #78abeb; }

.tunnel-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 19px; padding-top: 15px; border-top: 1px solid rgba(160, 197, 246, .11); }
.tunnel-facts span { padding: 9px 5px; border-radius: 9px; color: #7388a2; background: rgba(3, 9, 19, .48); font-size: 9px; line-height: 1.35; text-align: center; }
.tunnel-facts strong { display: block; margin-bottom: 2px; color: #b9cbe1; font: 750 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }

.home-features { border-top: 1px solid rgba(160, 197, 246, .09); background: rgba(5, 13, 25, .34); }
.home-section-heading { max-width: 770px; margin-bottom: 42px; }
.home-section-heading h2 { margin-bottom: 26px; }
.home-section-heading .section-copy { margin-bottom: 0; }

.eyebrow {
  display: block;
  width: fit-content;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(100, 230, 174, .22);
  border-radius: 999px;
  background: rgba(65, 216, 151, .08);
  color: #7ff0bd;
  font-size: 14px;
}

h1, h2, h3 { letter-spacing: -.045em; }

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(52px, 9vw, 102px);
  line-height: .94;
}

.lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: #aebfd6;
  font-size: clamp(19px, 2.5vw, 25px);
  line-height: 1.5;
}

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

.section { padding: 80px 0; }

.section h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 78px);
}

.section h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 5vw, 56px);
}

.section-copy {
  max-width: 760px;
  margin: -16px 0 30px;
  color: #aebfd6;
  font-size: 19px;
  line-height: 1.6;
}

.feature-intro { padding-top: 48px; }

.feature-intro h1 {
  max-width: 760px;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.04;
}

.feature-intro .lead {
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 21px);
}

.feature-intro .grid.section { padding-top: 48px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(160, 197, 246, .16);
  border-radius: 22px;
  background: rgba(13, 27, 47, .72);
}

.card h3 { margin: 0 0 12px; font-size: 22px; }
.card p, .copy { color: #aebfd6; line-height: 1.65; }

.feature-grid { gap: 24px; align-items: stretch; }

.feature-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: rgba(13, 19, 34, .82);
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(85, 150, 255, .5);
  background: rgba(17, 26, 48, .94);
  box-shadow: 0 16px 38px rgba(28, 88, 196, .15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(85, 150, 255, .24);
  border-radius: 13px;
  background: rgba(59, 130, 246, .1);
  color: #76adff;
  transition: transform .22s ease, color .22s ease, border-color .22s ease;
}

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

.feature-card:hover .feature-icon { transform: scale(1.06); color: #9ac4ff; border-color: rgba(85, 150, 255, .42); }
.feature-card h3 { transition: color .22s ease; }
.feature-card:hover h3 { color: #8bb9ff; }
.feature-card p { margin: 0; font-size: 15px; }

.feature-meta {
  min-height: 35px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(160, 197, 246, .11);
  color: #8fa3bd;
  font-size: 12px;
  line-height: 1.45;
}

.feature-meta:has(> :last-child:nth-child(2)) { justify-content: space-between; }
.feature-meta code { color: #76adff; font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-badge, .feature-role { padding: 3px 7px; border-radius: 6px; background: rgba(59, 130, 246, .1); color: #9ac4ff; }
.feature-badge { border: 1px solid rgba(85, 150, 255, .24); font-size: 10px; font-weight: 750; letter-spacing: .05em; }
.feature-role { background: rgba(148, 163, 184, .1); color: #b8c6d9; }
.feature-role-accent { border: 1px solid rgba(85, 150, 255, .25); background: rgba(59, 130, 246, .16); color: #9ac4ff; }
.feature-accent { color: #7ff0bd; font-weight: 700; }
.feature-status { display: inline-flex; align-items: center; gap: 7px; color: #b8c6d9; }
.feature-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .08); font-size: 0; }

@media (prefers-reduced-motion: reduce) {
  .feature-card, .feature-icon, .download-button, .docs-step-number { transition: none; }
  .feature-card:hover, .feature-card:hover .feature-icon { transform: none; }
}

.card-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  border: 1px solid rgba(127, 240, 189, .3);
  border-radius: 999px;
  color: #7ff0bd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section-actions { margin-top: 24px; }

.code {
  overflow-x: auto;
  padding: 22px;
  border: 1px solid rgba(160, 197, 246, .16);
  border-radius: 18px;
  background: #050b14;
  color: #bde2ff;
  font: 15px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.notice {
  max-width: 760px;
  padding: 22px 24px;
  border-left: 3px solid #7bc7ff;
  background: rgba(65, 139, 204, .09);
  color: #bfd0e5;
  line-height: 1.6;
}

.docs-page {
  width: min(960px, calc(100% - 40px));
  padding: 64px 0 96px;
}

.docs-hero {
  max-width: 760px;
  margin-bottom: 58px;
}

.docs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 6px 11px;
  border: 1px solid rgba(85, 150, 255, .22);
  border-radius: 999px;
  background: rgba(59, 130, 246, .09);
  color: #79b4ff;
  font: 650 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.docs-eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #70b7ff;
  content: "";
}

.docs-hero h1 {
  max-width: 680px;
  font-size: clamp(38px, 5.5vw, 58px);
  line-height: 1.06;
}

.docs-hero .lead {
  max-width: 700px;
  margin-top: 22px;
  font-size: clamp(16px, 2vw, 19px);
}

.docs-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(160, 197, 246, .14);
}

.docs-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -.025em;
}

.docs-section-heading svg {
  width: 25px;
  height: 25px;
  color: #70b7ff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.docs-section-heading > span {
  color: #71849d;
  font: 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.docs-timeline {
  display: grid;
  gap: 38px;
  margin: 0 0 0 16px;
  padding: 0 0 0 40px;
  border-left: 1px solid rgba(160, 197, 246, .14);
  list-style: none;
}

.docs-step {
  position: relative;
  max-width: 760px;
}

.docs-step-number {
  position: absolute;
  top: -4px;
  left: -57px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(160, 197, 246, .26);
  border-radius: 50%;
  background: #07101d;
  color: #b9c9dc;
  font: 750 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  transition: border-color .2s ease, color .2s ease;
}

.docs-step:first-child .docs-step-number {
  border: 2px solid #579cff;
  color: #7ab6ff;
  box-shadow: 0 0 14px rgba(59, 130, 246, .3);
}

.docs-step:hover .docs-step-number { border-color: #579cff; color: #7ab6ff; }
.docs-step h3 { margin: 0 0 7px; color: #f4f8ff; font-size: 16px; letter-spacing: -.015em; }
.docs-step p { max-width: 700px; margin: 0; color: #9fb0c7; font-size: 14px; line-height: 1.65; }
.docs-step a { color: #78b7ff; text-underline-offset: 4px; text-decoration-color: rgba(120, 183, 255, .4); }
.docs-step a:hover { color: #add5ff; }
.docs-step code, .docs-notice code { color: #acd3ff; font-size: .9em; overflow-wrap: anywhere; }

.docs-terminal {
  max-width: 700px;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(160, 197, 246, .14);
  border-radius: 13px;
  background: rgba(4, 10, 20, .82);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

.docs-terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(160, 197, 246, .12);
  background: rgba(18, 34, 57, .75);
  color: #8fa3bd;
  font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.docs-terminal-title { display: flex; min-width: 0; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.docs-terminal-title svg { width: 15px; height: 15px; flex: 0 0 auto; color: #70b7ff; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.docs-terminal-head small { flex: 0 0 auto; color: #657991; font: inherit; font-size: 9px; }
.docs-terminal pre { margin: 0; padding: 15px; color: #d7e2f0; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.docs-terminal-comment { color: #667c97; }
.docs-terminal-token { color: #66e0a4; font-weight: 700; }

.docs-route {
  display: flex;
  max-width: 700px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(160, 197, 246, .14);
  border-radius: 13px;
  background: rgba(4, 10, 20, .68);
  font: 650 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.docs-route-local, .docs-route-public { display: flex; min-width: 0; align-items: center; gap: 9px; overflow-wrap: anywhere; }
.docs-route-local::before { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #58dc9a; content: ""; }
.docs-route-arrow { color: #70b7ff; font-weight: 800; }
.docs-route-public { color: #8cc2ff; }
.docs-route-badge { padding: 3px 6px; border: 1px solid rgba(85, 150, 255, .22); border-radius: 5px; background: rgba(59, 130, 246, .09); color: #78b7ff; font: 750 9px/1 ui-sans-serif, system-ui, sans-serif; }

.docs-notice {
  position: relative;
  max-width: 760px;
  overflow: hidden;
  margin-top: 50px;
  padding: 23px;
  border: 1px solid rgba(85, 150, 255, .3);
  border-radius: 17px;
  background: rgba(12, 29, 54, .72);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .17);
}

.docs-notice-inner { display: flex; align-items: flex-start; gap: 15px; }
.docs-notice-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(85, 150, 255, .2); border-radius: 11px; background: rgba(59, 130, 246, .09); color: #78b7ff; }
.docs-notice-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.docs-notice h3 { margin: 1px 0 7px; font-size: 16px; letter-spacing: -.01em; }
.docs-notice p { margin: 0; color: #b2c1d4; font-size: 14px; line-height: 1.6; }
.docs-notice p + p { margin-top: 8px; color: #879ab3; font-size: 12px; }

.download-page { padding-top: 72px; }

.download-hero {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.download-hero h1 { margin: 14px 0 20px; }
.download-hero .lead { margin: 0 auto; }

.download-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
  margin-top: 58px;
}

.download-platform {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.download-product-card,
.download-guide-card,
.download-checksum-card,
.download-warning {
  min-width: 0;
  border: 1px solid rgba(160, 197, 246, .16);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(16, 33, 57, .9), rgba(8, 18, 33, .94));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}

.download-product-card {
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.download-product-card::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  opacity: .13;
  pointer-events: none;
  right: -95px;
  top: -120px;
}

.download-product-windows::after { background: #4f9cff; }
.download-product-android::after { background: #57df9a; }

.download-product-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  position: relative;
  z-index: 1;
}

.platform-icon {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(130, 180, 255, .26);
  border-radius: 17px;
  color: #8fc3ff;
  background: rgba(63, 135, 255, .12);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.platform-icon svg { width: 31px; height: 31px; }

.platform-icon-android {
  border-color: rgba(87, 223, 154, .25);
  color: #78e5ad;
  background: rgba(46, 190, 119, .12);
}

.download-tag {
  color: #83b9ff;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.download-tag-android { color: #79e1ac; }

.download-product-card h2 {
  margin: 5px 0 0;
  font-size: clamp(25px, 3vw, 32px);
  letter-spacing: -.035em;
}

.download-product-card h2 span {
  color: #8fa3bd;
  font-size: .56em;
  font-weight: 650;
  letter-spacing: 0;
}

.download-product-card > p {
  min-height: 88px;
  margin: 26px 0 0;
  color: #9fb0c7;
  line-height: 1.62;
}

.download-action {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 26px;
}

.download-button {
  flex: 1 1 auto;
  min-height: 50px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.download-button svg { width: 19px; height: 19px; }

.download-button-android {
  border-color: #4bd18e;
  color: #05150d;
  background: linear-gradient(135deg, #79e4ad, #45cb86);
  box-shadow: 0 12px 30px rgba(45, 196, 122, .19);
}

.download-button-android:hover { border-color: #8aefba; background: linear-gradient(135deg, #8aefba, #50d892); }

.download-action > span {
  flex: 0 0 auto;
  color: #7288a4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.download-guide-card,
.download-warning,
.download-checksum-card { padding: 26px; }

.download-guide-title,
.download-checksum-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-guide-number,
.download-guide-icon {
  display: grid;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(99, 157, 255, .3);
  border-radius: 12px;
  color: #91c2ff;
  background: rgba(59, 130, 246, .11);
  font-size: 14px;
  font-weight: 800;
}

.download-guide-number-android {
  border-color: rgba(87, 223, 154, .26);
  color: #78e5ad;
  background: rgba(46, 190, 119, .1);
}

.download-guide-title span + div > span {
  display: block;
  margin-bottom: 3px;
  color: #7288a4;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.download-guide-title h3,
.download-checksum-heading h3 {
  margin: 0;
  color: #edf4ff;
  font-size: 20px;
  letter-spacing: -.02em;
}

.download-steps {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.download-steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.download-steps li > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(126, 179, 255, .24);
  border-radius: 50%;
  color: #8ebfff;
  background: rgba(59, 130, 246, .08);
  font-size: 11px;
  font-weight: 800;
}

.download-steps-android li > span {
  border-color: rgba(87, 223, 154, .22);
  color: #79e1ac;
  background: rgba(46, 190, 119, .08);
}

.download-steps p,
.download-warning > p {
  margin: 0;
  color: #aabbd0;
  line-height: 1.56;
}

.download-steps code,
.download-warning code { color: #d1e5ff; font-size: .92em; overflow-wrap: anywhere; }

.download-info {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(91, 158, 255, .19);
  border-radius: 14px;
  color: #9fb3cb;
  background: rgba(46, 112, 207, .07);
  font-size: 13px;
  line-height: 1.58;
}

.download-info strong { display: block; margin-bottom: 3px; color: #cfe4ff; }

.download-info-green {
  border-color: rgba(74, 222, 128, .18);
  background: rgba(34, 197, 94, .06);
}

.download-info-green strong { color: #a9efc8; }

.download-warning {
  border-color: rgba(245, 190, 73, .2);
  background: linear-gradient(150deg, rgba(63, 45, 20, .36), rgba(18, 22, 29, .93));
}

.download-warning .download-guide-icon {
  border-color: rgba(245, 190, 73, .3);
  color: #ffd272;
  background: rgba(245, 158, 11, .1);
}

.download-warning > p { margin-top: 18px; }
.download-steps-compact { gap: 12px; margin-top: 18px; }
.download-steps-compact li > span { border-color: rgba(245, 190, 73, .23); color: #f6cc72; background: rgba(245, 158, 11, .07); }

.download-checksum-card { background: rgba(7, 15, 27, .76); }

.download-checksum-heading { justify-content: space-between; }
.download-checksum-heading h3 { font-size: 17px; }

.download-checksum-heading > span {
  color: #6f849e;
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.download-checksum-card p { margin: 16px 0 10px; color: #8195ae; font-size: 13px; }

.download-command,
.download-hash {
  display: block;
  padding: 12px 13px;
  border: 1px solid rgba(160, 197, 246, .11);
  border-radius: 10px;
  color: #bde2ff;
  background: #050b14;
  font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

.download-hash { margin-top: 9px; color: #8fa6c1; }

.download-checksum-card a {
  display: inline-block;
  margin-top: 14px;
  color: #9bc8ff;
  font-size: 13px;
  text-underline-offset: 3px;
}

.stable-link-note {
  max-width: 820px;
  margin: 40px auto 0;
  color: #7288a4;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.site-footer {
  padding: 62px 0 34px;
  border-top: 1px solid rgba(160, 197, 246, .1);
  background: rgba(3, 8, 17, .72);
  color: #7186a0;
  font-size: 13px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
  padding: 28px 30px;
  border: 1px solid rgba(134, 180, 243, .16);
  border-radius: 21px;
  background: linear-gradient(110deg, rgba(13, 29, 53, .92), rgba(18, 34, 69, .72));
  box-shadow: 0 22px 50px rgba(0, 0, 0, .16);
}

.footer-cta h2 { margin: 0 0 6px; color: #edf4ff; font-size: 22px; letter-spacing: -.025em; }
.footer-cta p { margin: 0; color: #8fa3bc; line-height: 1.55; }
.footer-cta-actions { display: flex; flex: 0 0 auto; gap: 10px; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
  align-items: start;
  gap: 42px;
}

.footer-brand img { display: block; width: 128px; height: auto; }
.footer-brand p { max-width: 250px; margin: 17px 0 0; color: #6f849d; line-height: 1.6; }

.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }

.footer-heading {
  margin-bottom: 5px;
  color: #afc1d8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer a {
  color: inherit;
  line-height: 1.45;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.footer-links a:hover {
  color: #dceaff;
  transform: translateX(2px);
}

.site-footer a:focus-visible {
  border-radius: 4px;
  outline: 2px solid #7bc7ff;
  outline-offset: 4px;
}

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 25px; border-top: 1px solid rgba(160, 197, 246, .08); color: #61758e; font-size: 12px; }

.legal-page { max-width: 900px; }

.legal-card {
  max-width: 820px;
  margin-top: 48px;
  padding: 8px 28px;
  border: 1px solid rgba(160, 197, 246, .16);
  border-radius: 22px;
  background: rgba(13, 27, 47, .72);
}

.legal-row {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.6fr);
  gap: 28px;
  padding: 22px 0;
}

.legal-row + .legal-row { border-top: 1px solid rgba(160, 197, 246, .12); }
.legal-row h2 { margin: 0; color: #7f93ae; font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.legal-row p { margin: 0; color: #edf4ff; line-height: 1.6; }
.legal-row a { color: #bde2ff; }

.policy-page h1 {
  max-width: 860px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
}

.policy-content {
  max-width: 820px;
  margin-top: 52px;
}

.policy-section {
  padding: 30px 0;
  border-top: 1px solid rgba(160, 197, 246, .14);
}

.policy-section h2 {
  margin: 0 0 20px;
  font-size: clamp(25px, 3vw, 34px);
}

.policy-section h3 {
  margin: 30px 0 10px;
  color: #dceaff;
  font-size: 20px;
  letter-spacing: -.02em;
}

.policy-section p,
.policy-section li {
  color: #bfd0e5;
  line-height: 1.72;
}

.policy-section p { margin: 12px 0; }
.policy-section ul { padding-left: 22px; }
.policy-section li + li { margin-top: 8px; }
.policy-section strong { color: #edf4ff; }
.policy-section a { color: #bde2ff; text-underline-offset: 3px; }
.policy-section code { color: #bde2ff; }

.cookie-notice {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  display: flex;
  width: min(430px, calc(100% - 40px));
  align-items: flex-start;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(160, 197, 246, .22);
  border-radius: 16px;
  background: rgba(9, 20, 35, .96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .36);
  color: #bfd0e5;
  font-size: 14px;
  line-height: 1.5;
  backdrop-filter: blur(14px);
}

.cookie-notice p { margin: 0; }

.cookie-notice strong { color: #edf4ff; }

.cookie-notice a {
  color: #bde2ff;
  text-underline-offset: 3px;
}

.cookie-close {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(160, 197, 246, .18);
  border-radius: 9px;
  background: rgba(130, 180, 255, .08);
  color: #dceaff;
  cursor: pointer;
  font: 22px/1 system-ui, sans-serif;
}

.cookie-close:hover { border-color: rgba(160, 197, 246, .42); color: #fff; }

.metrika-pixel {
  position: absolute;
  left: -9999px;
}

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; gap: 44px; padding: 62px 0 72px; }
  .home-hero-copy { max-width: 760px; }
  .tunnel-diagram { width: min(640px, 100%); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .download-page { padding-top: 54px; }
  .download-platform-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 42px; }
  .download-product-card, .download-guide-card, .download-warning, .download-checksum-card { padding: 22px; border-radius: 20px; }
  .download-product-card > p { min-height: 0; }
  .download-action { align-items: stretch; flex-direction: column; }
  .download-action > span { text-align: center; }
  .download-button { width: 100%; }
  .platform-icon { width: 52px; height: 52px; border-radius: 15px; }
  .platform-icon svg { width: 28px; height: 28px; }
}

@media (max-width: 760px) {
  .nav a:not(.button) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 16px; }
  .feature-card { min-height: 290px; }
  .hero { min-height: auto; padding: 62px 0 72px; }
  .site-header .topbar { min-height: 70px; }
  .home-hero { gap: 36px; min-height: 0; padding: 48px 0 62px; }
  .home-hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .home-hero .lead { font-size: 17px; }
  .tunnel-diagram { padding: 18px; border-radius: 19px; }
  .tunnel-diagram-heading { align-items: flex-start; flex-direction: column; }
  .tunnel-node { grid-template-columns: 36px minmax(0, 1fr); }
  .tunnel-node-state { grid-column: 2; width: fit-content; }
  .tunnel-facts { grid-template-columns: 1fr; }
  .home-section-heading { margin-bottom: 32px; }
  .site-footer { padding-top: 44px; }
  .footer-cta { align-items: stretch; flex-direction: column; margin-bottom: 44px; padding: 23px; }
  .footer-cta-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .brand, .brand-logo { width: 116px; }
  .button.signed-in { max-width: 140px; }
  .cookie-notice { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .legal-card { padding: 4px 22px; }
  .legal-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .docs-page { width: min(100% - 32px, 960px); padding: 48px 0 70px; }
  .docs-hero { margin-bottom: 44px; }
  .docs-hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .docs-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 34px; }
  .docs-timeline { gap: 34px; margin-left: 15px; padding-left: 28px; }
  .docs-step-number { left: -45px; }
  .docs-route { align-items: flex-start; flex-direction: column; }
  .docs-route-arrow { transform: rotate(90deg); }
  .docs-notice { padding: 19px; }
  .docs-notice-inner { gap: 12px; }
}
