@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #1f1f1f;
  --ink-soft: #333333;
  --line: #e4e4e4;
  --bg: #f5f5f5;
  --card: #ffffff;
  --mut: #6d6d6d;
  --radius: 10px;
}

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

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

body {
  margin: 0;
  padding-bottom: 112px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Space Grotesk", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.002em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.24;
  letter-spacing: -0.012em;
}

button,
input {
  font: inherit;
  color: inherit;
}

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

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
  padding: 7px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.mark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mark-t {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
}

.dock-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.pill::-webkit-details-marker {
  display: none;
}

.pill:hover {
  background: var(--bg);
}

.pill-strong {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.pill-strong:hover {
  background: #000000;
}

.menu-wrap {
  position: relative;
}

.menu-wrap:not([open]) .dock-menu {
  display: none;
}

.dock-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: min(78vw, 322px);
  margin: 0;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  list-style: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.dock-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 16px;
}

.dock-menu a:hover {
  background: var(--bg);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 46vh;
  padding: 26px 16px 34px;
  overflow: hidden;
  background: linear-gradient(125deg, #1f1f1f 0%, #4c4c4c 100%);
  color: #ffffff;
}

.hero-fig {
  position: absolute;
  inset: 0;
  margin: 0;
  background: linear-gradient(125deg, #1f1f1f 0%, #4c4c4c 100%);
}

.hero-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0.34) 0%, rgba(31, 31, 31, 0.54) 52%, rgba(31, 31, 31, 0.9) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-h1 {
  max-width: 17em;
  font-size: clamp(30px, 7.4vw, 58px);
  font-weight: 700;
}

.hero-band {
  display: block;
  width: 122px;
  height: 8px;
  margin-top: 16px;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.stage {
  display: grid;
  gap: 18px;
  align-items: start;
  max-width: 1120px;
  margin: 26px auto 36px;
  padding: 0 16px;
}

.stage-main {
  min-width: 0;
}

.stage-main > article {
  margin-bottom: 16px;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 22px;
}

.stage-main > article > :first-child {
  margin-top: 0;
}

.stage-main h2 {
  margin: 28px 0 12px;
  font-size: 1.34rem;
  font-weight: 600;
}

.stage-main h3 {
  margin: 22px 0 10px;
  font-size: 1.12rem;
  font-weight: 600;
}

.stage-main h2:first-child,
.stage-main h3:first-child {
  margin-top: 0;
}

.stage-main p {
  margin: 0 0 14px;
}

.stage-main small {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--mut);
}

.stage-main ul,
.stage-main ol {
  margin: 0 0 14px;
  padding-left: 1.25em;
}

.stage-main li {
  margin-bottom: 6px;
}

.stage-main a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.stage-main img {
  margin: 14px 0;
  border-radius: 8px;
}

.stage-main figure {
  margin: 0 0 14px;
}

.stage-main figcaption {
  margin-top: 6px;
  font-size: 14px;
  color: var(--mut);
}

.stage-main blockquote {
  margin: 0 0 14px;
  padding: 12px 16px;
  background: var(--bg);
  border-left: 3px solid var(--ink);
  border-radius: 0 8px 8px 0;
}

.stage-main blockquote p:last-child {
  margin-bottom: 0;
}

.stage-main table {
  width: 100%;
  margin: 0 0 14px;
  border-collapse: collapse;
  font-size: 15.5px;
}

.stage-main th,
.stage-main td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rail-card {
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rail small {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--mut);
}

.rail-t {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.q {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
}

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

.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-bottom: 1px solid var(--bg);
  border-radius: 8px;
  font-size: 16px;
}

.rail-list a:hover {
  background: var(--bg);
}

footer {
  margin-top: 12px;
  padding: 34px 16px 28px;
  background: var(--ink);
  color: #f3f3f3;
}

.foot-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.foot-top {
  display: grid;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #3d3d3d;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: #2b2b2b;
  border: 1px solid #4d4d4d;
  border-radius: 999px;
}

.foot-mark .mark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foot-mark .mark-t {
  font-size: 22px;
  color: #ffffff;
}

.foot-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.sub input {
  flex: 1 1 176px;
  min-height: 46px;
  padding: 0 16px;
  background: #2b2b2b;
  border: 1px solid #4d4d4d;
  border-radius: 999px;
  color: #ffffff;
}

.sub input::placeholder {
  color: #9a9a9a;
}

.sub button {
  min-height: 46px;
  padding: 0 22px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #ffffff;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.sub button:hover {
  background: #e9e9e9;
}

.foot-cols {
  display: grid;
  gap: 22px;
  padding: 24px 0;
}

footer dl {
  margin: 0;
}

footer dt {
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #a6a6a6;
}

footer dd {
  margin: 0 0 4px;
  font-size: 15.5px;
  color: #ededed;
}

footer dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-right: 4px;
}

footer dd a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.foot-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #3d3d3d;
  font-size: 14.5px;
  color: #c9c9c9;
}

.foot-end p {
  margin: 0;
}

.foot-end a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.foot-end a:hover {
  color: #ffffff;
}

.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (hover: hover) {
  .rv.in:hover {
    transform: translateY(-2px);
  }
}

@media (min-width: 720px) {
  .hero {
    min-height: 45vh;
    padding: 32px 24px 42px;
  }

  .stage-main > article {
    padding: 28px 30px;
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .foot-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 880px) {
  .stage {
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 22px;
  }

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

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

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

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