:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e6e6e8;
  --paper: #ffffff;
  --canvas: #f5f5f7;
  --accent: #ec5b55;
  --accent-soft: #fff1f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.legal-return {
  position: sticky;
  z-index: 10;
  top: 0;
  height: 56px;
  padding: env(safe-area-inset-top) max(20px, env(safe-area-inset-left)) 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legal-return__link {
  display: inline-flex;
  width: 44px;
  height: 55px;
  align-items: center;
  justify-content: flex-start;
  color: var(--ink);
  text-decoration: none;
}

.legal-return__link img {
  display: block;
  width: 27px;
  height: 27.3444px;
}

.legal-return__link:hover {
  opacity: 0.55;
}

.legal-return__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.page {
  width: min(100% - 32px, 920px);
  margin: 32px auto 56px;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.04);
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

h2 {
  margin: 48px 0 14px;
  padding-top: 8px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

h3 {
  margin: 32px 0 10px;
  font-size: 19px;
  line-height: 1.45;
}

p,
ul,
ol {
  margin: 12px 0;
}

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

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

.table-wrap {
  width: 100%;
  margin: 20px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.6;
}

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

th:last-child,
td:last-child {
  border-right: 0;
}

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

th {
  background: #fafafa;
  font-weight: 700;
}

@media (max-width: 640px) {
  .page {
    width: 100%;
    margin: 0;
    padding: 28px 20px 44px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  h2 {
    margin-top: 38px;
  }
}

@media print {
  body {
    background: white;
  }

  .page {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .legal-return {
    display: none;
  }
}
