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

:root {
  --ink: #1f1f1f;
  --paper: #ffffff;
  --mist: #f5f5f5;
  --line: rgba(31, 31, 31, 0.1);
  --glass: rgba(255, 255, 255, 0.66);
  --r: 4px;
  --el1: 0 1px 2px rgba(31, 31, 31, 0.06);
  --el2: 0 5px 16px rgba(31, 31, 31, 0.07);
  --el3: 0 14px 34px rgba(31, 31, 31, 0.1);
  --el4: 0 28px 64px rgba(31, 31, 31, 0.15);
}

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

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

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% -8%, #efefef, rgba(255, 255, 255, 0) 62%),
    radial-gradient(720px 500px at 2% 34%, #f7f7f7, rgba(255, 255, 255, 0) 60%),
    #ffffff;
}

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

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

p {
  margin: 0 0 14px;
}

.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--r);
  box-shadow: var(--el2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 90;
  padding: 10px 16px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(31, 31, 31, 0.06);
  transition: box-shadow 0.3s ease;
}

.topbar.up {
  box-shadow: var(--el3);
}

.bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.bar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bar-nav--l {
  justify-content: flex-end;
}

.bar-nav--r {
  justify-content: flex-start;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 13px;
  font-size: 16px;
  line-height: 1.3;
  border-radius: 999px;
  border: 1px solid rgba(31, 31, 31, 0.1);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--el1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--el3);
  background: #fff;
}

.pill--key {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--el2);
}

.pill--key:hover {
  background: #000;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--ink);
  box-shadow: 0 6px 14px rgba(31, 31, 31, 0.28), inset 0 -6px 0 rgba(255, 255, 255, 0.34);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-12deg) translateY(-1px);
}

.hero-wrap {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 22px auto 0;
  padding: 0 16px;
}

.hero-dots {
  position: absolute;
  inset: -14px 8px -14px 8px;
  z-index: 0;
  border-radius: 6px;
  background-image: radial-gradient(rgba(31, 31, 31, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(120% 110% at 88% 0, #000, transparent 76%);
  mask-image: radial-gradient(120% 110% at 88% 0, #000, transparent 76%);
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 45vh;
  padding: 32px 30px;
  box-shadow: var(--el3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-art {
  flex: 0 0 auto;
  width: 104px;
  will-change: transform;
}

.hero-mm {
  width: 104px;
  border-radius: var(--r);
  box-shadow: var(--el4);
}

.art-blob {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff, #dddddd 68%, #cfcfcf);
  box-shadow: var(--el4), inset 0 -8px 16px rgba(255, 255, 255, 0.9);
}

.hero-copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

.h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #5c5c5c;
}

.stage {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 26px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.side {
  position: sticky;
  top: 92px;
  z-index: 3;
  padding: 18px 16px;
}

.side-h {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.side-h > span {
  box-shadow: inset 0 -0.4em 0 rgba(31, 31, 31, 0.1);
}

.side-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.side-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 4px 8px;
  border-radius: var(--r);
  font-size: 16px;
  line-height: 1.35;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.side-list a:hover {
  background: #fff;
  transform: translateX(2px);
  box-shadow: var(--el1);
}

.num {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: #9b9b9b;
  min-width: 20px;
}

.side-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  box-shadow: var(--el2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.side-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--el3);
}

.doc {
  position: relative;
  z-index: 2;
  padding: 34px clamp(18px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--r);
  box-shadow: var(--el2);
}

.doc > section {
  scroll-margin-top: 108px;
}

.doc > section + section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.doc h2 {
  margin: 0 0 14px;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.doc h3 {
  margin: 24px 0 10px;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 600;
}

.doc h2 > span,
.doc h3 > span {
  box-shadow: inset 0 -0.42em 0 rgba(31, 31, 31, 0.09);
}

.doc a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(31, 31, 31, 0.32);
}

.doc a:hover {
  text-decoration-color: var(--ink);
}

.doc ul,
.doc ol {
  padding-left: 22px;
  margin: 0 0 14px;
}

.doc li {
  margin-bottom: 6px;
}

.doc blockquote {
  margin: 0 0 14px;
  padding: 14px 18px;
  border-left: 3px solid rgba(31, 31, 31, 0.2);
  background: rgba(245, 245, 245, 0.8);
  border-radius: 0 var(--r) var(--r) 0;
}

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

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 16px;
}

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

.doc th {
  background: rgba(245, 245, 245, 0.9);
  font-weight: 600;
}

.site-foot {
  position: relative;
  z-index: 1;
  margin-top: 46px;
  padding: 40px 16px 26px;
  background: rgba(245, 245, 245, 0.74);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  box-shadow: var(--el1);
}

.bigmark {
  max-width: 1160px;
  margin: 0 auto 28px;
  font-size: clamp(44px, 13vw, 124px);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-align: center;
  color: rgba(31, 31, 31, 0.9);
}

.foot-nav {
  max-width: 1160px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.foot-nav dl {
  margin: 0;
}

.foot-nav dt {
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #8e8e8e;
}

.foot-nav dd {
  margin: 0;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 2px 0;
  font-size: 16px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.foot-nav a:hover {
  border-bottom-color: var(--ink);
  transform: translateY(-1px);
}

.copyright {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: #8e8e8e;
}

.js .rv {
  opacity: 0;
  transform: translateY(16px);
}

.js .rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.62s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (max-width: 900px) {
  .bar {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 8px;
  }

  .brand {
    order: -1;
  }

  .bar-nav--l,
  .bar-nav--r {
    justify-content: center;
  }

  .hero-wrap {
    margin-top: 16px;
  }

  .hero {
    flex-direction: column-reverse;
    align-items: flex-start;
    min-height: 0;
    gap: 16px;
    padding: 24px 20px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-art,
  .hero-mm {
    width: 66px;
  }

  .art-blob {
    width: 56px;
    height: 56px;
  }

  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .side {
    position: static;
    top: auto;
  }

  .side-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc > section {
    scroll-margin-top: 148px;
  }
}

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

  .foot-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .doc {
    padding: 22px 16px;
  }

  .bigmark {
    margin-bottom: 20px;
  }
}

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

  .js .rv,
  .js .rv.in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pill,
  .brand-mark,
  .side-cta,
  .side-list a,
  .foot-nav a,
  .skip {
    transition: none;
  }
}

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