/* 涉诉信息更正台 LitiDesk 介绍页
   颜色取自应用图标：墨蓝、米白、青绿。只做浅色主题，不引用任何外部资源。 */

:root {
  color-scheme: light;

  --ink: #0b1f45;          /* 墨蓝：首屏、页脚 */
  --ink-soft: #16356a;
  --cream: #f7efdc;        /* 米白：页面底色 */
  --paper: #fffaf0;        /* 卡片、表格底色 */
  --sand: #efe5cc;         /* 交替区块底色 */
  --line: #dccfae;         /* 分隔线 */
  --text: #14233f;
  --muted: #4a5670;
  --teal: #4aaea8;         /* 青绿：深色底上的强调色 */
  --teal-deep: #1d6f6b;    /* 青绿：米白底上的强调色 */

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Segoe UI", sans-serif;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 首屏 ---------- */

.hero {
  background: var(--ink);
  color: var(--cream);
  padding: 44px 0 48px;
  border-bottom: 4px solid var(--teal);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.hero-logo {
  width: 72px;
  height: 72px;
}

h1 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 .en {
  display: block;
  margin-top: 4px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lead {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-note {
  margin: 0 0 24px;
  color: #c3c8d3;
  font-size: 14px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
}

.btn-primary:hover {
  background: #62bdb7;
  border-color: #62bdb7;
}

/* 禁用态：虚线边框、无填充、不可点 */
.btn-disabled {
  border: 1px dashed rgba(247, 239, 220, 0.55);
  background: transparent;
  color: rgba(247, 239, 220, 0.78);
  font-weight: 500;
  cursor: not-allowed;
  user-select: none;
}

/* ---------- 通用区块 ---------- */

.section {
  padding: 40px 0;
}

.section-alt {
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 20px;
  padding-top: 14px;
  position: relative;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--teal-deep);
}

h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
}

.aside {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 三步办理 ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.step-body p {
  color: var(--text);
}

.callouts {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.callout {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-deep);
  border-radius: var(--radius);
  background: var(--paper);
}

.callout p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 平台表格 ---------- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: var(--sand);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

tbody th {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

tbody td:nth-child(2),
tbody td:nth-child(3) {
  white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:first-child {
  background: rgba(74, 174, 168, 0.12);
}

/* ---------- 列表 ---------- */

.dont-list,
.data-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dont-list li,
.data-list li {
  position: relative;
  padding: 12px 16px 12px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.section-alt .dont-list li {
  background: var(--cream);
}

.dont-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.45em;
  width: 12px;
  height: 2px;
  background: var(--ink);
}

.data-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-deep);
}

.data-list strong {
  color: var(--ink);
}

/* ---------- 页脚 ---------- */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 36px 0 44px;
  border-top: 4px solid var(--teal);
  font-size: 14px;
  line-height: 1.8;
}

.meta {
  display: grid;
  gap: 8px 32px;
  margin: 0 0 24px;
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(247, 239, 220, 0.2);
}

.meta > div {
  display: flex;
  gap: 12px;
}

.meta dt {
  flex: 0 0 5.5em;
  color: #c3c8d3;
}

.meta dd {
  margin: 0;
}

.tbd {
  display: inline-block;
  padding: 0 10px;
  border: 1px dashed var(--teal);
  border-radius: 4px;
  color: var(--teal);
}

.disclaimer p {
  margin: 0 0 6px;
  color: #c3c8d3;
}

/* ---------- 桌面 ---------- */

@media (min-width: 640px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

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

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

@media (min-width: 860px) {
  .hero {
    padding: 72px 0 76px;
  }

  .hero-inner {
    grid-template-columns: 96px 1fr;
    gap: 32px;
  }

  .hero-logo {
    width: 96px;
    height: 96px;
  }

  h1 {
    font-size: 40px;
  }

  h1 .en {
    display: inline;
    margin-left: 10px;
    font-size: 22px;
  }

  .lead {
    font-size: 20px;
  }

  .hero-note {
    font-size: 15px;
  }

  .section {
    padding: 60px 0;
  }

  h2 {
    margin-bottom: 24px;
    font-size: 26px;
  }

  .step {
    padding: 20px 24px;
    gap: 20px;
    grid-template-columns: 40px 1fr;
  }

  .step-no {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
