/* Design refinement with unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   Attribution: https://x.com/heydamir */
:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  background: #111112;
  color: #f4f4f5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { touch-action: manipulation; }
#sbx-vpn-notice {
  --accent: #e00048;
  --primary: #f4f4f5;
  --secondary: #b7b7be;
  --muted: #96969f;
  --line: #303033;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
header { border-bottom: 1px solid #252528; }
.header-inner, .footer-inner {
  width: min(1080px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  align-items: center;
}
.header-inner { height: 80px; gap: 24px; }
.official-logo { width: 104px; height: auto; max-height: 32px; object-fit: contain; }
.service { padding-left: 24px; border-left: 1px solid #3a3a3f; color: var(--secondary); font-size: 14px; line-height: 20px; }
main { flex: 1; display: flex; align-items: center; padding: 80px 32px; }
.content { width: 1080px; max-width: 100%; margin-inline: auto; display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; align-items: center; }
.intro { min-width: 0; padding-bottom: 8px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--secondary); }
.connection-mark { width: 20px; height: 20px; border: 1px solid #6c3b4b; border-radius: 50%; position: relative; flex: 0 0 auto; }
.connection-mark::before { content: ""; position: absolute; left: 5px; right: 5px; top: 9px; height: 1px; background: #ff7ca6; }
h1 { margin: 0; font-size: 48px; line-height: 1.28; font-weight: 600; letter-spacing: -.03em; word-break: keep-all; }
.description { margin: 24px 0 32px; color: var(--secondary); font-size: 16px; line-height: 1.8; word-break: keep-all; }
button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 16px 24px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font: inherit; font-size: 15px; line-height: 20px; font-weight: 600; cursor: pointer; transition: background-color 160ms ease-out; }
button:hover { background: #c90040; }
button:active { background: #b8003b; }
button span { font-size: 20px; line-height: 20px; font-weight: 400; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #f4f4f5; outline-offset: 6px; border-radius: 4px; }
.guide { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: #19191b; }
.guide-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
h2 { margin: 0; font-size: 18px; line-height: 28px; font-weight: 600; }
.step-count { color: var(--muted); font-size: 13px; line-height: 20px; white-space: nowrap; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; position: relative; padding-bottom: 32px; }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:not(:last-child)::before { content: ""; position: absolute; width: 1px; background: #3b3b40; left: 16px; top: 40px; bottom: 8px; }
.number { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #46464d; border-radius: 50%; font-size: 13px; line-height: 20px; font-weight: 500; font-variant-numeric: tabular-nums; color: #d0d0d5; }
h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin: 4px 0 8px; word-break: keep-all; }
.step-body p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--secondary); word-break: keep-all; }
.install-guide { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--primary); font-size: 14px; line-height: 24px; text-decoration: underline; text-decoration-color: #74747e; text-underline-offset: 4px; }
a { color: var(--primary); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--primary); }
.app-state { color: var(--primary); font-weight: 500; }
details { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 14px; line-height: 24px; color: #d0d0d5; }
summary::-webkit-details-marker { display: none; }
.disclosure-mark { color: var(--muted); flex: 0 0 auto; font-size: 20px; font-weight: 400; }
details[open] .disclosure-mark { font-size: 0; }
details[open] .disclosure-mark::after { content: "−"; font-size: 20px; }
.troubleshooting { word-break: keep-all; text-wrap: pretty; margin: 20px 0 0; padding-left: 20px; color: var(--secondary); font-size: 14px; line-height: 1.8; }
.troubleshooting li + li { margin-top: 12px; }
.troubleshooting strong { color: var(--primary); font-weight: 500; }
.troubleshooting a { overflow-wrap: anywhere; }
footer { border-top: 1px solid #252528; }
.footer-inner { min-height: 64px; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 20px; color: var(--muted); }
@media (min-width: 1800px) { main { max-height: 960px; margin-block: auto; width: 100%; } }
@media (max-width: 960px) {
  .content { gap: 40px; }
  h1 { font-size: 40px; }
  .guide { padding: 24px; }
  .description br, .step-body p br { display: none; }
}
@media (max-width: 760px) {
  .header-inner, .footer-inner { width: calc(100% - 48px); }
  .header-inner { height: 72px; gap: 16px; }
  .official-logo { width: 88px; }
  .service { padding-left: 16px; font-size: 12px; }
  main { padding: 48px 24px; align-items: flex-start; }
  .content { max-width: 480px; grid-template-columns: 1fr; gap: 40px; }
  .intro { padding-bottom: 0; }
  .eyebrow { margin-bottom: 20px; }
  h1 { font-size: 36px; line-height: 1.3; }
  .description { font-size: 15px; margin-top: 20px; margin-bottom: 24px; }
  button { width: 100%; }
  .guide-heading { margin-bottom: 28px; }
  .step-body p { font-size: 14px; }
  .footer-inner { min-height: 80px; flex-wrap: wrap; align-content: center; gap: 4px 16px; padding-block: 16px; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }

.keep-together { white-space: nowrap; }
