:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5d687b;
  --line: #dfe5ec;
  --soft: #f4f7fa;
  --brand: #b24d2d;
  --brand-dark: #7f321d;
  --accent: #0f766e;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--brand-dark);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
}

.header-inner,
.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  color: #354052;
  font-weight: 600;
  text-decoration: none;
}

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

.page-shell {
  padding: 54px 0 72px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: 40px;
  overflow-wrap: anywhere;
}

h2 {
  margin: 46px 0 14px;
  font-size: 28px;
}

h3 {
  margin: 26px 0 8px;
  font-size: 20px;
}

.lead {
  max-width: 800px;
  margin: 18px 0 0;
  color: #3f4b5d;
  font-size: 19px;
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.answer-box {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: #effaf8;
}

.answer-box strong {
  display: block;
  margin-bottom: 4px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 6px;
}

.button:hover {
  color: var(--white);
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--brand-dark);
  background: var(--white);
}

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

.info-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.info-card h3 {
  margin-top: 0;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps {
  padding-left: 24px;
}

.steps li {
  margin: 12px 0;
  padding-left: 6px;
}

.checklist {
  padding-left: 22px;
}

.checklist li {
  margin: 9px 0;
}

.notice {
  margin: 30px 0;
  padding: 18px 20px;
  color: #683915;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
}

.source-note {
  margin: 16px 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.contact-id {
  overflow-wrap: anywhere;
}

.merchant-contact {
  margin: 32px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.merchant-contact h2 {
  margin-top: 0;
  font-size: 23px;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  background: var(--soft);
}

:where(a, button):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 140px;
}

.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

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

.faq-item h3,
.faq-item p {
  margin-top: 0;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 20px;
  background: var(--soft);
  border-radius: 6px;
}

.site-footer {
  padding: 28px 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .page-shell {
    padding-top: 34px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 36px;
  }
}
