:root {
  color-scheme: dark;
  --bg: #0f1419;
  --fg: #e1e4e8;
  --muted: #8b949e;
  --accent: #3fb950;
  --line: #30363d;
  --surface: #161b22;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --fg: #24292f;
    --muted: #57606a;
    --accent: #2ea043;
    --line: #d0d7de;
    --surface: #f6f8fa;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

input,
textarea,
select,
button {
  color: inherit;
  font: inherit;
}

main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 80px;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
}

ul li {
  margin-bottom: 4px;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

code {
  color: var(--fg);
}

pre {
  margin: 14px 0 0;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.5;
}

pre code {
  display: block;
  padding: 12px 0 12px 14px;
  border-left: 3px solid var(--line);
  background: var(--surface);
  border-radius: 0 6px 6px 0;
  color: var(--fg);
}

pre code.sh {
  border-left-color: var(--accent);
}

table {
  width: 100%;
  margin: 14px 0 0;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--fg);
  font-weight: 600;
}

td {
  color: var(--muted);
}

td code {
  color: var(--fg);
}

.ssh-console {
  margin: 12px 0 0;
  padding: 11px 14px;
  overflow-x: auto;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.5;
}

.ssh-console code {
  border: none;
  background: none;
  color: inherit;
  padding: 0;
}

.hero {
  text-align: center;
  padding: 40px 0;
}

.hero-logo {
  width: min(420px, 92%);
  height: auto;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 36px;
}

.hero p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
}

.hero .ssh-console {
  max-width: 360px;
  margin: 8px auto 0;
  text-align: center;
}

.service {
  padding: 32px 0;
}

.service,
.footer {
  border-top: 1px solid var(--line);
}

.service p:last-child {
  margin-bottom: 0;
}

.site-logo {
  display: flex;
  justify-content: center;
  width: min(760px, calc(100% - 32px));
  margin: 40px auto 24px;
}

.site-logo img {
  width: min(420px, 92%);
  height: auto;
  display: block;
}

header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.summary {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

section {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.try-options {
  display: grid;
  gap: 28px;
}

.try-method-label {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.footer,
footer {
  margin-top: 32px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

footer {
  margin-top: 0;
  gap: 12px;
}

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

footer a:hover {
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  main {
    padding: 0 0 56px;
  }

  .site-logo {
    width: min(100% - 32px, 760px);
    margin: 24px auto 18px;
  }

  .site-logo img,
  .hero-logo {
    width: min(300px, 92%);
  }

  h1,
  .hero h1 {
    font-size: 28px;
  }

  .hero {
    padding-top: 24px;
  }

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