@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --paper: #fdfbf7;
  --paper2: #f5f5f5;
  --ink: #1a1a1a;
  --line: #e2ded4;
  --line2: #cdc8bc;
  --mute: #5c584f;
  --radius: 28px;
  --pad: clamp(16px, 3vw, 30px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.26;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

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

a {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 10px;
  top: -64px;
  z-index: 140;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 10px;
}

.skip:focus {
  top: 10px;
}

/* 顶栏 */
.mast {
  position: relative;
  z-index: 40;
  background: var(--paper);
}

.mast__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px clamp(12px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}

.mast__burger {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.mast__burger:hover {
  border-color: var(--ink);
}

.mast__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.mast__bars span {
  display: block;
  height: 2px;
  background: var(--ink);
}

.mast__brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;
}

.mast__tel {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
}

.stick {
  position: sticky;
  top: 0;
  z-index: 35;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.stick__list,
.rail__list,
.drawer__list,
.foot__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stick__list {
  display: flex;
  gap: 2px;
  padding: 0 clamp(8px, 2vw, 20px);
  overflow-x: auto;
  scrollbar-width: none;
}

.stick__list::-webkit-scrollbar {
  display: none;
}

.stick__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.stick__list a:hover {
  border-bottom-color: var(--ink);
}

/* 抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 20px;
  padding: clamp(20px, 6vw, 56px);
  background: var(--ink);
  color: var(--paper);
  visibility: hidden;
  opacity: 0;
}

.drawer.open {
  visibility: visible;
  opacity: 1;
}

.drawer nav {
  display: grid;
  place-items: start center;
  overflow-y: auto;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.drawer__list a {
  display: block;
  min-height: 44px;
  padding: 10px 20px;
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1.05rem, 3.2vw, 1.5rem);
}

.drawer__list a:hover {
  outline: 1px solid rgba(253, 251, 247, 0.55);
  outline-offset: -1px;
}

.drawer__close {
  justify-self: center;
  min-height: 44px;
  padding: 8px 28px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: none;
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.drawer a:focus-visible,
.drawer button:focus-visible {
  outline-color: var(--paper);
}

/* 首屏 */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 12vh 0 16vh;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 18, 18, 0.68);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 54rem;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 48px);
  text-align: center;
}

.hero__title {
  margin: 0;
  font-size: clamp(1.8rem, 6.2vw, 3.9rem);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero__lede {
  max-width: 36rem;
  margin: 1.1em auto 0;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.85;
  color: rgba(253, 251, 247, 0.84);
}

.hero__cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 58px;
  z-index: 3;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* 正文骨架 */
.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 46px) clamp(14px, 3vw, 28px);
}

.rail {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.rail__t {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.rail__t span {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 3px;
}

.rail__list {
  display: flex;
  flex-direction: row;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.rail__list::-webkit-scrollbar {
  display: none;
}

.rail__list a {
  display: block;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
}

.rail__list a:hover {
  border-color: var(--ink);
}

.sheet {
  min-width: 0;
}

.doc {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 30px);
}

.doc > section {
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  scroll-margin-top: 78px;
}

.doc p {
  margin: 0 0 1.05em;
}

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

.doc h2 {
  margin: 0 0 0.7em;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.doc h2 > span {
  display: inline-block;
  padding-bottom: 0.16em;
  border-bottom: 3px solid var(--ink);
}

.doc h3 {
  margin: 1.5em 0 0.5em;
  font-size: 1.08rem;
  line-height: 1.5;
}

.doc h3 > span {
  border-bottom: 1px solid var(--line2);
}

.doc ul,
.doc ol {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}

.doc li {
  margin-bottom: 0.4em;
}

.doc a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc strong {
  font-weight: 800;
}

.doc blockquote {
  margin: 0 0 1.1em;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--ink);
  color: var(--mute);
}

.doc table {
  width: 100%;
  margin: 0 0 1.1em;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.doc th,
.doc td {
  padding: 9px 12px;
  border: 1px solid var(--line2);
  text-align: left;
  vertical-align: top;
}

.doc th {
  background: var(--paper2);
  font-weight: 700;
}

.doc img {
  border-radius: 16px;
  border: 1px solid var(--line);
}

.doc hr {
  height: 0;
  margin: 1.6em 0;
  border: 0;
  border-top: 1px solid var(--line2);
}

/* 页脚 */
.foot {
  margin-top: clamp(28px, 6vw, 64px);
  border-top: 1px solid var(--ink);
  background: var(--paper2);
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px) clamp(16px, 3vw, 28px);
}

.foot__h {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.foot__h span {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 3px;
}

.foot__addr {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.foot__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.foot__list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.94rem;
  text-decoration: none;
  border-bottom: 1px dashed var(--line2);
}

.foot__list a:hover {
  border-bottom-color: var(--ink);
}

.foot__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 17rem;
}

.foot__label {
  font-size: 0.85rem;
  color: var(--mute);
}

.foot__input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.foot__btn {
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.foot__end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 78rem;
  margin: 0 auto;
  padding: 16px 16px 28px;
  border-top: 1px solid var(--line2);
  text-align: center;
}

.foot__copy {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--mute);
}

.foot__gone {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 8px;
  font-size: 0.84rem;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

/* 滚动显现 */
.js .doc > section {
  opacity: 0;
  transform: translateY(16px);
}

.js .doc > section.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.28s ease-out, transform 0.28s ease-out;
}

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

  .js .doc > section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 640px) {
  .foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .wrap {
    grid-template-columns: 16rem minmax(0, 1fr);
    align-items: start;
  }

  .rail {
    position: sticky;
    top: 62px;
    padding: 18px;
  }

  .rail__list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
  }

  .rail__list a {
    padding: 8px 4px;
    border: 0;
    border-bottom: 1px dashed var(--line);
    border-radius: 0;
    font-size: 0.92rem;
  }

  .foot__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .mast__btxt {
    display: none;
  }

  .hero {
    padding-top: 10vh;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
