:root {
  --ink: #171717;
  --muted: #525252;
  --subtle: #737373;
  --disabled: #a1a1a1;
  --line: #e5e5e5;
  --line-strong: #d4d4d4;
  --soft: #fafafa;
  --surface: #ffffff;
  --primary: #4a4aff;
  --primary-soft: #ecf0ff;
  --primary-line: #dde4ff;
  --success-soft: #ebfef5;
  --success-line: #a4f6d0;
  --success-text: #03513c;
  --warning-soft: #fffdeb;
  --warning-line: #fff288;
  --warning-text: #7a3e0d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Mulish, "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.92em;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.mark {
  display: inline-flex;
  align-items: center;
  width: 120px;
  height: 30px;
}

.mark img {
  display: block;
  width: 120px;
  height: 30px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.footer-links a,
.pill-link,
.btn {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.nav a {
  padding: 5px 10px;
}

.nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-soft);
}

.hero {
  padding: 72px 0 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

h3 {
  font-size: 20px;
  line-height: 1.28;
}

.lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.links,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 26px;
}

.btn {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
}

.btn.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  color: #fff;
  background: #3025ae;
}

.section {
  padding: 34px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading p,
.section p,
.card p,
.step p,
.note p,
.footer p,
.toc p {
  color: var(--muted);
}

.section-heading p {
  max-width: 520px;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.toc,
.note,
.step {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.card {
  min-height: 190px;
  padding: 22px;
}

.card.feature {
  background: var(--soft);
}

.card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.card p {
  margin: 0 0 18px;
}

.card a,
.text-link {
  color: var(--primary);
  font-weight: 900;
}

.pill-link {
  padding: 5px 10px;
  border: 1px solid var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
  padding-bottom: 70px;
}

.article {
  min-width: 0;
}

.article section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.article section:first-child {
  border-top: 0;
  padding-top: 0;
}

.article h2 {
  margin-bottom: 14px;
}

.article h3 {
  margin: 22px 0 8px;
}

.article p {
  margin: 0 0 14px;
  color: var(--muted);
}

.article ul,
.article ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.article li + li {
  margin-top: 8px;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.step {
  padding: 18px;
}

.step strong {
  display: block;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 800;
}

.toc a:hover {
  color: var(--primary);
}

.note {
  margin-top: 18px;
  padding: 18px;
  background: var(--primary-soft);
  border-color: var(--primary-line);
}

.note.success {
  background: var(--success-soft);
  border-color: var(--success-line);
}

.note.warning {
  background: var(--warning-soft);
  border-color: var(--warning-line);
}

.note strong {
  display: block;
  margin-bottom: 6px;
}

.note.success strong,
.note.success p {
  color: var(--success-text);
}

.note.warning strong,
.note.warning p {
  color: var(--warning-text);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  padding: 5px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar-inner,
  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 44px;
  }

  .grid,
  .grid.two,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .topbar-inner {
    min-height: 0;
    padding: 14px 0;
  }

  .nav a {
    padding-inline: 8px;
  }

  h1 {
    font-size: 36px;
  }

  .lead {
    font-size: 16px;
  }

  .card,
  .toc,
  .note,
  .step {
    border-radius: 8px;
  }
}

.weydub-alias{max-width:960px;margin:auto;padding:32px 24px}.weydub-alias header img{object-fit:contain}.weydub-alias main{padding:48px 0}.weydub-alias h1{font-size:28px;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere}.weydub-alias main a{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.weydub-alias p{color:var(--muted);overflow-wrap:anywhere}
