:root {
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --line: #ededed;
  --fill: #f2f2f2;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Pretendard", "Inter", "Segoe UI", sans-serif;
}

img, pre, svg { max-width: 100%; }

.col {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.logo {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.top nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero { padding-top: 64px; padding-bottom: 8px; }

h1, h2, .promise {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sub {
  margin: 0 0 24px;
  color: var(--muted);
}

.cmd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 6px 16px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 12px;
}

.cmd code {
  min-width: 0;
  padding: 0;
  font-size: 15px;
  background: none;
  overflow-wrap: anywhere;
}

.pr {
  margin-right: 8px;
  color: var(--muted);
  user-select: none;
}

button, .ghost {
  font: inherit;
  min-height: 44px;
  border-radius: 12px;
}

button {
  flex: none;
  padding: 0 16px;
  color: #fff;
  cursor: pointer;
  background: var(--ink);
  border: 0;
}

.ghost {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 0 16px;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--ink);
}

.proof {
  padding: 8px 0 0;
  margin: 32px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.proof li {
  padding: 8px 0;
  color: var(--muted);
}

.sample {
  margin: 32px 0 0;
  padding: 20px;
  color: #ededed;
  background: #0a0a0a;
  border-radius: 12px;
  font: 15px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sample .dim { color: #6b6b6b; }

.lines, .faq, .rules {
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
}

.rules ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.rules a {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  align-items: baseline;
  padding: 12px 0;
  color: inherit;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid #e6e6e6;
}

.rules li:first-child a { border-top: 1px solid #e6e6e6; }

.rules .id {
  flex: 1 1 200px;
  max-width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.rules .desc {
  flex: 2 1 280px;
  color: #6b6b6b;
  font-weight: 400;
}

.rules a:hover .id { text-decoration: underline; }

.top nav { display: flex; gap: 16px; }

.lines ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.lines li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.lines li:last-child { border-bottom: 1px solid var(--line); }

code {
  padding: 1px 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--fill);
  border-radius: 4px;
}

.faq details { border-top: 1px solid var(--line); }

.faq details:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--muted);
}

.faq details[open] summary::after { content: "-"; }

.faq p {
  margin: 0 0 16px;
  color: var(--muted);
}

footer.col {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 24px;
  padding-bottom: 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
