@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Righteous&display=swap');

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

:root {
  --ink: #1f1f1f;
  --ink-2: #4d4d4d;
  --paper: #ffffff;
  --mist: #f5f5f5;
  --line: rgba(31, 31, 31, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --e1: 0 1px 2px rgba(31, 31, 31, 0.06), 0 2px 6px rgba(31, 31, 31, 0.05);
  --e2: 0 2px 6px rgba(31, 31, 31, 0.07), 0 10px 22px rgba(31, 31, 31, 0.07);
  --e3: 0 6px 14px rgba(31, 31, 31, 0.08), 0 22px 44px rgba(31, 31, 31, 0.09);
  --e4: 0 10px 24px rgba(31, 31, 31, 0.1), 0 40px 80px rgba(31, 31, 31, 0.12);
  --r: 4px;
  --head: 132px;
}

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

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(1100px 640px at 88% -8%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(900px 620px at 4% 34%, #ffffff 0%, rgba(255, 255, 255, 0) 58%),
    var(--mist);
  background-attachment: fixed;
}

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

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

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 顶部两行 */
.top {
  position: sticky;
  top: 0;
  z-index: 70;
  padding: 10px clamp(14px, 4vw, 48px) 12px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--e2);
}

.brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}

.brand-t {
  font-family: 'Righteous', 'Poppins', system-ui, sans-serif;
  font-size: clamp(20px, 4.6vw, 26px);
  letter-spacing: 0.02em;
}

.logo {
  height: 32px;
  width: auto;
  border-radius: var(--r);
  box-shadow: var(--e1);
}

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  box-shadow: var(--e2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact:hover {
  transform: translateY(-1px);
  box-shadow: var(--e3);
}

.menu {
  display: block;
  min-width: 0;
}

.menu ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 8px 2px 2px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  box-shadow: var(--e1);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible {
  background: #fff;
  box-shadow: var(--e2);
  transform: translateY(-2px);
}

/* 首屏 */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: max(500px, calc(100svh - var(--head)));
  padding: clamp(26px, 7vw, 80px) clamp(16px, 5vw, 72px);
  background: radial-gradient(120% 88% at 100% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 64%);
}

.ghost {
  position: absolute;
  top: 50%;
  right: -0.06em;
  z-index: 0;
  transform: translateY(-50%);
  font-family: 'Righteous', 'Poppins', sans-serif;
  font-size: clamp(10rem, 42vw, 26rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: rgba(31, 31, 31, 0.06);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.hero-in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(16px, 3vw, 28px);
  text-align: right;
}

.hero h1 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(2.1rem, 8.4vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  box-shadow: var(--e1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cue::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-1px, -1px);
}

.cue:hover {
  transform: translateY(2px);
  box-shadow: var(--e2);
}

/* 主区 */
.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 30px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 56px) clamp(14px, 4vw, 48px) clamp(30px, 6vw, 80px);
}

.prose {
  min-width: 0;
  perspective: 1400px;
}

.prose > article {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(14px, 2.4vw, 26px);
  padding: clamp(20px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--e2);
  scroll-margin-top: calc(var(--head) + 14px);
  transition: box-shadow 0.3s ease;
}

.prose > article:first-child {
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(31, 31, 31, 0.42);
  box-shadow: var(--e4);
}

.prose > article:nth-child(2) {
  z-index: 2;
}

.prose > article:nth-child(3) {
  z-index: 3;
}

.prose > article:hover {
  box-shadow: var(--e3);
}

.prose h2 {
  margin: 0 0 0.6em;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.prose h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 0.55em;
  border-radius: 2px;
  background: var(--ink);
}

.prose h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.15rem;
  line-height: 1.4;
}

.prose p {
  margin: 0 0 1em;
  line-height: 1.8;
}

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.prose li {
  margin: 0.35em 0;
}

.prose small {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}

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

.prose strong {
  font-weight: 600;
}

.prose blockquote {
  margin: 1.2em 0;
  padding: 12px 18px;
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--r) var(--r) 0;
  background: rgba(245, 245, 245, 0.9);
}

.prose img {
  border-radius: var(--r);
  box-shadow: var(--e2);
}

/* 侧栏 */
.rail {
  position: relative;
  z-index: 4;
  min-width: 0;
}

.rail-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--e3);
}

.rail-card small {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}

.rail-card h2 {
  margin: 2px 0 10px;
  font-size: 1.15rem;
  line-height: 1.4;
}

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--r) var(--r) 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rail-list a:hover {
  background: #fff;
  border-left-color: var(--ink);
  box-shadow: var(--e1);
}

/* 页脚 */
.base {
  position: relative;
  z-index: 6;
  margin-top: clamp(24px, 5vw, 64px);
  padding: clamp(26px, 4vw, 54px) clamp(14px, 4vw, 48px) 16px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -22px 44px rgba(31, 31, 31, 0.06);
}

.base-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.base dl {
  margin: 0;
}

.base dt {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.base dd {
  margin: 0;
  font-size: 16px;
  color: var(--ink-2);
}

.base dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ink);
  text-decoration: none;
}

.base dd a:hover {
  text-decoration: underline;
}

.subs p {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.subs form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subs input {
  flex: 1 1 132px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--e1);
}

.subs button {
  min-height: 44px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--e2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subs button:hover {
  transform: translateY(-1px);
  box-shadow: var(--e3);
}

.contact--flat {
  margin-top: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.contact--flat:hover {
  color: var(--ink);
  background: #fff;
}

.base-bar {
  max-width: 1240px;
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 16px;
  color: var(--ink-2);
}

.base-bar p {
  margin: 0;
}

/* 逐层入场 */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.rv.in {
  opacity: 1;
  transform: none;
}

@media (min-width: 560px) {
  .base-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 640px) {
  .prose > article:nth-child(even) {
    margin-left: clamp(0px, 3vw, 48px);
  }

  .prose > article:nth-child(odd) {
    margin-right: clamp(0px, 3vw, 48px);
  }
}

@media (min-width: 860px) {
  .base-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 3vw, 44px);
  }
}

@media (min-width: 980px) {
  :root {
    --head: 142px;
  }

  .stage {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .rail {
    position: sticky;
    top: calc(var(--head) + 16px);
  }
}

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

  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ghost {
    transform: translateY(-50%) !important;
  }

  .menu a,
  .contact,
  .cue,
  .prose > article {
    transition: none;
  }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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