:root {
  color-scheme: dark;
  --background: #090b0c;
  --surface: #121618;
  --surface-raised: #171d1f;
  --line: #2e3739;
  --line-strong: #465255;
  --text: #f1f4f1;
  --muted: #aeb8b5;
  --accent: #d7b565;
  --accent-soft: rgba(215, 181, 101, 0.12);
  --warning: #e4c98a;
  --content-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans CJK SC",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 100% 40px,
    var(--background);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #f0d698;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 12, 0.94);
}

.header-inner,
.page,
.site-footer {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

.page {
  padding-block: 64px 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 720;
  letter-spacing: 0;
}

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

.meta {
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 13px;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.notice,
.contact-panel {
  margin-top: 38px;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.contact-panel {
  border-left: 3px solid var(--accent);
}

.contact-panel h2,
.notice h2 {
  margin-top: 0;
}

.contact-address {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 650;
}

.contact-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-top: 48px;
}

.section + .section {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin: 30px 0 8px;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
}

p,
ul,
ol {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.35em;
}

li + li {
  margin-top: 7px;
}

.steps {
  counter-reset: support-step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding-left: 38px;
  counter-increment: support-step;
}

.steps li::before {
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  content: counter(support-step);
}

.fact-list {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(0, 2fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.fact-list dt,
.fact-list dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  padding-right: 22px;
  color: var(--muted);
}

.site-footer {
  padding-block: 28px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 5px;
}

@media (max-width: 600px) {
  .header-inner,
  .page,
  .site-footer {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .header-inner {
    min-height: 60px;
    gap: 14px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .nav {
    gap: 13px;
  }

  .nav a {
    font-size: 13px;
  }

  .page {
    padding-block: 44px 56px;
  }

  h1 {
    font-size: 31px;
  }

  .lead {
    font-size: 16px;
  }

  .notice,
  .contact-panel {
    padding: 19px 18px;
  }

  .section,
  .section + .section {
    padding-top: 38px;
    margin-top: 38px;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .fact-list dt {
    padding-bottom: 3px;
    border-bottom: 0;
    font-size: 13px;
    font-weight: 650;
  }

  .fact-list dd {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
    --background: #ffffff;
    --surface: #ffffff;
    --line: #d7d7d7;
    --line-strong: #b6b6b6;
    --text: #111111;
    --muted: #4d4d4d;
    --accent: #72550c;
  }

  body {
    background: #ffffff;
  }

  .site-header {
    background: #ffffff;
  }
}
