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

:root {
  --ink: #000000;
  --paper: #ffffff;
  --line: rgba(0, 0, 0, 0.14);
  --soft: rgba(0, 0, 0, 0.06);
  --pad: clamp(1.15rem, 4vw, 3.25rem);
  --radius: 4px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: 'Syne', 'Manrope', system-ui, 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 0;
}

p {
  margin: 0 0 1.1rem;
}

section[id] {
  scroll-margin-top: 96px;
}

.topline {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}

.topline p {
  margin: 0;
  padding: 0.55rem 1rem;
  font-size: 14px;
  letter-spacing: 0.22em;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem var(--pad);
  border-bottom: 1px solid var(--line);
}

.mast-side {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: wrap;
  min-width: 0;
}

.mast-left {
  justify-self: start;
}

.mast-right {
  justify-self: end;
  justify-content: flex-end;
}

.mast-side > a,
.drop-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  font-size: 16px;
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}

.mast-side > a:hover,
.drop-btn:hover,
.drop.open .drop-btn {
  background: var(--ink);
  color: var(--paper);
}

.mast-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: center;
  min-height: 44px;
}

.mast-brand .mark {
  display: inline-flex;
  border-radius: var(--radius);
  overflow: hidden;
}

.brand-name {
  font-family: 'Syne', 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.drop {
  position: relative;
}

.drop-list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 196px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}

.drop:hover .drop-list,
.drop:focus-within .drop-list,
.drop.open .drop-list {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.drop-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.65rem;
  font-size: 16px;
  text-decoration: none;
  border-radius: var(--radius);
}

.drop-list a:hover {
  background: var(--ink);
  color: var(--paper);
}

.anchorbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
}

.anchorbar-track {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  padding: 0.3rem var(--pad);
  scrollbar-width: none;
}

.anchorbar-track::-webkit-scrollbar {
  display: none;
}

.anchorbar-track a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}

.anchorbar-track a:hover,
.anchorbar-track a.is-active {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  min-height: 70vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.6rem, 5vw, 4.5rem);
  padding: clamp(3rem, 10vh, 7.5rem) var(--pad);
  text-align: center;
}

.hero-fig {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  color: var(--ink);
}

.hero-fig svg {
  display: block;
  max-width: none;
  width: clamp(84px, 12vw, 122px);
  height: auto;
}

.badge {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 58%);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.2em;
  line-height: 1.6;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.hero-copy {
  flex: 1 1 460px;
  max-width: 940px;
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(2.05rem, 8vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  overflow-wrap: break-word;
}

.lede {
  margin: 1.5rem auto 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.72;
  color: #1a1a1a;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: clamp(1.6rem, 4vw, 3.75rem);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) var(--pad) clamp(4rem, 11vh, 8rem);
}

.stage-body {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.stage-body > section {
  padding-top: clamp(2.6rem, 7vh, 5rem);
  margin-bottom: clamp(3rem, 9vh, 6.5rem);
  border-top: 1px solid var(--line);
}

.stage-body > section:first-child {
  border-top: 0;
  padding-top: 0;
}

.stage-body h2 {
  font-size: clamp(1.55rem, 4.4vw, 2.9rem);
  margin: 0 0 0.9rem;
}

.stage-body h3 {
  font-size: clamp(1.2rem, 2.8vw, 1.72rem);
  margin: 2.2rem 0 0.6rem;
}

.stage-body h4 {
  font-size: 1.06rem;
  margin: 1.6rem 0 0.5rem;
}

.stage-body p,
.stage-body ul,
.stage-body ol {
  max-width: 64ch;
}

.stage-body li {
  margin-bottom: 0.55rem;
}

.stage-body ul,
.stage-body ol {
  padding-left: 1.25rem;
  margin: 0 0 1.2rem;
}

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

.stage-body a:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.stage-body blockquote {
  margin: 2rem 0;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.stage-body figure {
  margin: 2rem 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stage-body figure img {
  width: 100%;
  border-radius: var(--radius);
}

.stage-body figcaption {
  font-size: 15px;
  color: #444;
  padding-top: 0.6rem;
}

.stage-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  font-size: 16px;
}

.stage-body th,
.stage-body td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.7rem;
  text-align: left;
}

.stage-body th {
  background: var(--soft);
}

.stage-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.rail {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 74px;
  align-self: start;
  padding: 1.15rem 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 26px 50px -38px rgba(0, 0, 0, 0.85);
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.6;
  color: #5c5c5c;
}

.rail-title {
  font-size: 1.32rem;
  margin: 0.15rem 0 0.9rem;
}

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

.rail-list li + li {
  border-top: 1px solid var(--line);
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.2rem 0.45rem;
  font-size: 16px;
  text-decoration: none;
  border-radius: var(--radius);
}

.rail-list a:hover {
  background: var(--ink);
  color: var(--paper);
}

.site-foot {
  background: var(--ink);
  color: var(--paper);
}

.foot-cta {
  padding: clamp(3rem, 10vh, 7rem) var(--pad);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.eyebrow-dim {
  color: #9c9c9c;
}

.cta-title {
  font-size: clamp(1.9rem, 7vw, 5rem);
  letter-spacing: -0.055em;
  margin-top: 0.2rem;
  overflow-wrap: break-word;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 1.7rem;
  padding: 0 1.7rem;
  border: 1px solid var(--paper);
  border-radius: var(--radius);
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  transition: background 0.16s ease, color 0.16s ease;
}

.cta-btn:hover {
  background: var(--paper);
  color: var(--ink);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  padding: clamp(2rem, 6vh, 3.6rem) var(--pad);
}

.foot-nav dl,
.foot-dl {
  margin: 0;
}

.foot-grid dt {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #9c9c9c;
  margin-bottom: 0.6rem;
}

.foot-grid dd {
  margin: 0;
}

.foot-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 16px;
  text-decoration: none;
  color: var(--paper);
  opacity: 0.86;
}

.foot-grid a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.foot-name {
  margin: 0;
  font-family: 'Syne', 'Manrope', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.foot-base {
  padding: 1.3rem var(--pad) 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.copy {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #9c9c9c;
}

.rv {
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.rv-hide {
  opacity: 0;
  transform: translateY(18px);
}

@media (max-width: 960px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-body {
    grid-column: 1;
  }

  .rail {
    grid-column: 1;
    grid-row: auto;
    position: static;
    margin-top: 1rem;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 760px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0.35rem;
    padding: 0.9rem var(--pad) 1rem;
  }

  .mast-brand {
    order: -1;
  }

  .mast-side {
    justify-content: center;
    justify-self: center;
    width: 100%;
  }

  .mast-left,
  .mast-right {
    justify-content: center;
  }

  .drop-list {
    left: 50%;
    right: auto;
    transform: translate(-50%, -6px);
  }

  .drop:hover .drop-list,
  .drop:focus-within .drop-list,
  .drop.open .drop-list {
    transform: translate(-50%, 0);
  }

  .hero {
    min-height: 62vh;
    text-align: center;
  }

  .hero-copy {
    flex: 1 1 100%;
  }

  .rail-list a {
    min-height: 44px;
  }
}

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

  .topline p {
    letter-spacing: 0.14em;
  }
}

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

  .rv {
    transition: none;
  }

  .rv-hide {
    opacity: 1;
    transform: none;
  }

  .drop-list,
  .anchorbar-track a,
  .cta-btn {
    transition: none;
  }
}

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