:root {
  color-scheme: light;
  --background: #f7f7f5;
  --surface: #ffffff;
  --text: #191b1a;
  --muted: #666c68;
  --line: #dfe2df;
  --accent: #176b45;
  --accent-hover: #115437;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

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

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

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

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

h1 {
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
}

header p,
.description {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.installer {
  padding-top: 32px;
}

.install-button {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: #ffffff;
  background: var(--accent);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.install-button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.install-button:focus-visible {
  outline: 3px solid #acd5bf;
  outline-offset: 3px;
}

.hint {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.privacy {
  margin: 28px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.config-link {
  color: var(--accent);
  font-size: 13px;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, 620px);
    padding: 40px 0;
  }

  header {
    padding-bottom: 26px;
  }

  h1 {
    font-size: 25px;
  }

  .installer {
    padding-top: 26px;
  }
}
