:root {
  color-scheme: dark;
  --ink: #f2f2f9;
  --soft: #9d9db4;
  --line: #26263a;
  --bg: #0b0b13;
  --panel: #14141f;
  --accent: #ff2e7e;
  --accent-2: #9b5cff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 22px 96px;
  overflow-wrap: anywhere;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.dotx-brand {
  display: inline-block;
  min-height: 24px;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  text-decoration: none;
}

.dotx-brand span {
  color: var(--accent);
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

h2 {
  margin: 38px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.45;
}

h3 {
  margin: 26px 0 8px;
  font-size: 16px;
  line-height: 1.5;
}

p {
  margin: 9px 0;
}

a {
  color: #c796ff;
  text-underline-offset: 3px;
}

a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

ul,
ol {
  padding-left: 20px;
}

li {
  margin: 4px 0;
}

code {
  padding: 1px 6px;
  border-radius: 5px;
  background: #241826;
  color: #ff9ec4;
  font-family: inherit;
  font-size: 0.9em;
  font-weight: 650;
}

table {
  display: block;
  width: 100%;
  margin: 16px 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

th,
td {
  min-width: 112px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--panel);
  color: var(--ink);
}

td,
.lang {
  color: #d7d7e4;
}

@media (max-width: 420px) {
  body {
    padding: 22px 20px 80px;
    font-size: 15px;
  }

  .dotx-brand {
    margin-bottom: 24px;
    font-size: 23px;
  }

  h1 {
    font-size: 26px;
  }
}
