:root {
  color-scheme: light;
  --accent: #ef3043;
  --accent-deep: #c9182b;
  --ink: #211d1e;
  --muted: #6f6769;
  --line: rgba(50, 34, 37, 0.1);
  --surface: rgba(255, 255, 255, 0.88);
  --page: #fff8f4;
  --warm: #ffdfca;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 169, 119, 0.26), transparent 28rem),
    radial-gradient(circle at 92% 20%, rgba(239, 48, 67, 0.12), transparent 24rem),
    linear-gradient(180deg, #fffaf7 0%, var(--page) 55%, #fff 100%);
  font-family: "Avenir Next", "PingFang SC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.72;
  min-height: 100vh;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 247, 0.82);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ff6c4b, var(--accent));
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(239, 48, 67, 0.22);
  font-size: 20px;
  font-weight: 850;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-deep);
  background: rgba(239, 48, 67, 0.08);
}

.language-switcher {
  display: flex;
  padding: 4px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switcher button {
  border: 0;
  padding: 6px 9px;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.language-switcher button:hover,
.language-switcher button.active {
  color: #fff;
  background: var(--accent);
}

.hero {
  width: min(920px, calc(100% - 40px));
  margin: 72px auto 34px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  padding: 6px 13px;
  color: var(--accent-deep);
  background: rgba(239, 48, 67, 0.09);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 670px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #8c7e80;
  font-size: 13px;
}

.updated::before {
  width: 7px;
  height: 7px;
  content: "";
  background: #32b477;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(50, 180, 119, 0.12);
}

.content-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto 90px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(85, 50, 45, 0.1);
}

.notice {
  margin: 0 0 34px;
  padding: 18px 20px;
  border: 1px solid rgba(239, 48, 67, 0.13);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  color: #5e5052;
  background: rgba(255, 241, 235, 0.72);
}

.legal-section + .legal-section {
  padding-top: 15px;
}

.legal-section h2 {
  margin: 34px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 23px;
  line-height: 1.35;
}

.legal-section h3 {
  margin: 22px 0 7px;
  font-size: 17px;
}

.legal-section p {
  margin: 9px 0;
  color: #51494a;
}

.legal-section ul,
.legal-section ol {
  margin: 10px 0;
  padding-left: 1.45em;
  color: #51494a;
}

.legal-section li + li {
  margin-top: 7px;
}

.data-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.data-table th,
.data-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  width: 28%;
  color: var(--ink);
  background: rgba(239, 48, 67, 0.045);
  font-size: 14px;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 34px;
}

.support-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
}

.support-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-panel {
  margin-top: 34px;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #ec3045, #ff6847);
  box-shadow: 0 20px 44px rgba(239, 48, 67, 0.22);
}

.contact-panel h2 {
  margin: 0 0 7px;
  border: 0;
  padding: 0;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.contact-panel a {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  font-weight: 800;
  word-break: break-all;
}

.site-footer {
  padding: 0 20px 46px;
  color: #8d8082;
  text-align: center;
  font-size: 13px;
}

[data-lang] {
  display: none;
}

[data-lang].active {
  display: block;
}

span[data-lang].active {
  display: inline;
}

@media (max-width: 820px) {
  .header-inner {
    width: min(100% - 24px, 1120px);
    min-height: 64px;
    gap: 10px;
  }

  .brand span:last-child,
  .site-nav {
    display: none;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero {
    width: min(100% - 28px, 920px);
    margin-top: 48px;
  }

  .hero h1 {
    font-size: clamp(37px, 12vw, 58px);
  }

  .content-shell {
    width: min(100% - 20px, 920px);
    margin-bottom: 54px;
    border-radius: 26px;
  }

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

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table th {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .data-table td {
    padding-top: 4px;
  }
}

@media print {
  .site-header,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
  }

  .hero {
    margin-top: 28px;
  }

  .content-shell {
    box-shadow: none;
    border: 0;
  }
}
