@import url("base.css");

.doc {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 64px;
}

/* Header */

.brand-row {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.brand-row a {
  display: block;
  transition: opacity 0.15s ease;
}

.brand-row a:hover {
  opacity: 0.8;
}

.brand-mark-img {
  height: 115px;
  width: auto;
  display: block;
}

.doc-nav {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 36px;
  width: fit-content;
}

.doc-nav a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.doc-nav a:hover {
  color: var(--ink);
}

.doc-nav a.active {
  background: var(--ink);
  color: #fff;
}

header h1 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.meta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 32px;
}

.intro {
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

/* Body */

h2 {
  position: relative;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 12px;
  padding-left: 14px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 999px;
  background: var(--red);
}

p {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

li::marker {
  color: var(--eye);
}

li strong,
p strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 640px) {
  .doc {
    padding: 40px 20px 48px;
  }
  header h1 {
    font-size: 1.7rem;
  }
}
