:root {
  color-scheme: light;
  --bg: #fffffa;
  --ink: #111;
  --muted: #555;
  --link: #0645ad;
  --rule: #bbb;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 16px;
}

body {
  max-width: 820px;
  margin: 24px auto 64px;
  padding: 0 16px;
  line-height: 1.5;
}

nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

a {
  color: var(--link);
}

a:visited {
  color: #52188c;
}

hr {
  height: 1px;
  margin: 20px 0;
  border: 0;
  background: var(--rule);
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 1.4rem;
}

h2 {
  margin-top: 0;
}

h3 {
  margin-top: 22px;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 24px;
}

li {
  margin: 2px 0;
}

.tool-list {
  padding-left: 0;
  list-style: none;
}

.tool-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  margin: 7px 0;
}

.tool-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
  border-radius: 6px;
  color: var(--muted);
}

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

.icon-terminal {
  background: #111;
  color: #9cffb0;
}

.icon-web {
  background: #fff0d6;
  color: #c45f00;
}

.icon-ai {
  background: #e8f5ff;
  color: #006bb8;
}

.icon-network {
  background: #e8fff4;
  color: #087a50;
}

.icon-copy {
  background: #f2ebff;
  color: #6740b8;
}

.icon-share {
  background: #fff0f3;
  color: #b81f47;
}

section {
  scroll-margin-top: 16px;
}

@media (max-width: 520px) {
  body {
    margin-top: 16px;
  }

  nav {
    display: block;
    line-height: 1.8;
  }

  nav span {
    display: block;
  }
}
