:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f5f6f8;
  --text: #1b1d21;
  --muted: #5b616b;
  --border: #dde0e5;
  --accent: #0b5cad;
  --accent-text: #ffffff;
  --note-bg: #fff7e0;
  --note-border: #e6c25a;
  --measure: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --surface: #1c1f24;
    --text: #e8eaed;
    --muted: #a3a9b3;
    --border: #2f343b;
    --accent: #6aaeff;
    --accent-text: #0d1117;
    --note-bg: #2a2410;
    --note-border: #7a6320;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  hyphens: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  z-index: 10;
}

.site-header,
.site-footer {
  border-color: var(--border);
  border-style: solid;
  border-width: 0;
}

.site-header {
  border-bottom-width: 1px;
}

.site-footer {
  border-top-width: 1px;
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.bar {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
  hyphens: manual;
}

h1 {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

h2 {
  font-size: 1.375rem;
  margin: 2.25rem 0 0.75rem;
}

h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li + li {
  margin-top: 0.35rem;
}

.lead {
  font-size: 1.1875rem;
  color: var(--muted);
}

.hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1rem 0 1.5rem;
}

.hero img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  flex-shrink: 0;
}

.hero h1 {
  margin: 0;
}

.button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 0.6rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.features li {
  margin: 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.features strong {
  display: block;
  margin-bottom: 0.25rem;
}

.note {
  padding: 0.875rem 1rem;
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-radius: 0.6rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

address {
  font-style: normal;
}

details {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: var(--surface);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details[open] summary {
  margin-bottom: 0.5rem;
}

details > :last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.table-wrap {
  overflow-x: auto;
}

@media (max-width: 30rem) {
  h1 {
    font-size: 1.625rem;
  }

  .hero img {
    width: 64px;
    height: 64px;
    border-radius: 15px;
  }
}
