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

:root {
  --ink: #111318;
  --ink-2: #181b22;
  --ink-3: #20242c;
  --sig: #FF5A36;
  --bone: #F4F1EA;
  --mute: #949aa6;
  --line: #262a33;
  --r: 10px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding-bottom: 104px;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .01em;
  overflow-x: hidden;
}

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

a { color: var(--sig); text-decoration: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0;
}

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

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: clamp(28px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: -6% -4%;
  z-index: -2;
  background:
    radial-gradient(60% 70% at 20% 20%, #232833 0%, rgba(17, 19, 24, 0) 70%),
    radial-gradient(50% 60% at 85% 75%, rgba(255, 90, 54, .22) 0%, rgba(17, 19, 24, 0) 72%);
}

.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(250deg, rgba(17, 19, 24, .2) 0%, rgba(17, 19, 24, .78) 58%, var(--ink) 100%);
}

.hero-img {
  position: absolute;
  width: 44%;
  height: 58%;
  object-fit: cover;
  border-radius: var(--r);
  filter: grayscale(.35) contrast(1.05);
  opacity: .62;
}

.hero-img-1 {
  left: 3%;
  top: 8%;
  transform: rotate(-4deg);
}

.hero-img-2 {
  left: 26%;
  top: 30%;
  transform: rotate(3.5deg);
  opacity: .45;
}

.hero::after {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 19%;
  height: 13px;
  z-index: -1;
  background: var(--sig);
  transform: skewY(-3.2deg);
  opacity: .92;
}

.hero-copy {
  position: relative;
  text-align: right;
  max-width: 100%;
  margin-left: auto;
}

.hero-mark {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--sig);
  text-transform: none;
}

.hero h1 {
  font-size: clamp(2.4rem, 7.6vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  background-image: linear-gradient(104deg, var(--bone) 6%, #ffd0c2 38%, var(--sig) 66%, var(--bone) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .ch {
  display: inline-block;
  animation: chIn .72s cubic-bezier(.2, .85, .22, 1) both;
}

@keyframes chIn {
  from { opacity: 0; transform: translateY(.55em) rotate(7deg) scale(.86); }
  to { opacity: 1; transform: none; }
}

.hero-desc {
  margin: 20px 0 0 auto;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.8;
  color: #c8cbd3;
}

/* ---------- shell ---------- */

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: 34px;
  max-width: 1180px;
  margin: clamp(36px, 6vw, 72px) auto 0;
  padding: 0 clamp(16px, 4vw, 40px);
  align-items: start;
}

.stream { min-width: 0; }

.doc > article {
  background: var(--ink-2);
  border-radius: var(--r);
  padding: clamp(22px, 3.2vw, 40px);
  margin-bottom: 22px;
  scroll-margin-top: 22px;
  transition: opacity .62s ease, transform .62s ease, outline-color .3s ease;
  outline: 2px solid transparent;
  outline-offset: 3px;
}

.doc > article:nth-child(even) { background: #14161c; }

.doc > article.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.doc > article.reveal.seen {
  opacity: 1;
  transform: none;
}

.doc > article.hit { outline-color: var(--sig); }

.doc h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.3rem);
  color: var(--bone);
}

.doc h2::after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 12px;
  background: var(--sig);
  transform: rotate(45deg) translateY(-4px);
}

.doc h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  margin-top: 1.6em;
  color: #ffd3c8;
}

hr {
  width: 72px;
  height: 4px;
  border: 0;
  margin: 16px 0 22px;
  background: var(--sig);
  border-radius: 2px;
}

.doc p {
  margin: 0 0 1.15em;
  max-width: 68ch;
  line-height: 1.85;
}

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

.doc ul, .doc ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  max-width: 66ch;
}

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

.doc strong { color: #fff; font-weight: 700; }

.doc a { border-bottom: 1px solid rgba(255, 90, 54, .45); }

.doc a:hover { border-bottom-color: var(--sig); }

/* ---------- rail ---------- */

.rail {
  position: sticky;
  top: 26px;
  background: var(--ink-2);
  border-radius: var(--r);
  padding: 24px 20px 18px;
}

.rail h2 {
  font-size: 1.05rem;
  letter-spacing: .06em;
  color: var(--bone);
}

.rail hr {
  width: 44px;
  height: 3px;
  margin: 12px 0 8px;
}

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

.rail-nav a {
  display: block;
  padding: 11px 12px;
  min-height: 44px;
  border-radius: 8px;
  color: #ccd0d9;
  font-size: 16px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rail-nav a:hover,
.rail-nav a:focus-visible {
  background: var(--ink-3);
  color: var(--sig);
  transform: translateX(4px);
}

/* ---------- footer ---------- */

.foot {
  margin-top: clamp(44px, 7vw, 80px);
  border-top: 1px solid var(--line);
  padding: clamp(32px, 5vw, 54px) clamp(16px, 4vw, 40px) 34px;
}

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

.foot dt {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--sig);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.foot dd { margin: 8px 0 0; }

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

.foot dd a {
  display: block;
  padding: 10px 0;
  min-height: 44px;
  color: #b9bec9;
  font-size: 16px;
  transition: color .18s ease, padding-left .18s ease;
}

.foot dd a:hover,
.foot dd a:focus-visible {
  color: var(--sig);
  padding-left: 5px;
}

.copy {
  max-width: 1180px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--mute);
}

/* ---------- dock ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px clamp(12px, 3vw, 26px);
  background: rgba(17, 19, 24, .95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 6px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  color: var(--sig);
  white-space: nowrap;
}

.dock-nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.dock-nav::-webkit-scrollbar { display: none; }

.dock-nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--ink-3);
  color: #d3d7de;
  font-size: 16px;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.pill:hover,
.pill:focus-visible {
  background: var(--sig);
  color: var(--ink);
  transform: translateY(-2px);
}

.dock-search {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dock-search input {
  width: clamp(88px, 22vw, 190px);
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
  color: var(--bone);
  font: inherit;
  font-size: 16px;
}

.dock-search input:focus {
  outline: none;
  border-color: var(--sig);
}

.dock-search button {
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: var(--sig);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.dock-search button:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .rail { position: static; }
  .rail-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .rail-nav a {
    border-radius: 999px;
    background: var(--ink-3);
    padding: 10px 14px;
  }
  .hero-img { width: 56%; height: 50%; opacity: .42; }
  .hero-img-1 { left: 2%; top: 4%; }
  .hero-img-2 { left: 34%; top: 18%; }
}

@media (max-width: 720px) {
  body { font-size: 17px; padding-bottom: 118px; }
  .hero {
    min-height: 0;
    align-items: flex-start;
    padding: 84px 20px 74px;
  }
  .hero h1 { font-size: clamp(2.05rem, 9.4vw, 3rem); }
  .hero-desc { margin-top: 16px; font-size: 16px; }
  .hero::after { bottom: 12%; height: 10px; }
  .dock { gap: 7px; padding: 9px 12px; flex-wrap: nowrap; }
  .brand { font-size: 0; min-width: 40px; justify-content: center; }
  .brand::before {
    content: '片';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 999px;
    background: var(--sig);
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
  }
  .dock-search input { width: clamp(70px, 24vw, 120px); padding: 0 10px; }
  .dock-search button { padding: 0 11px; }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }
  .foot dd ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .foot dd a { padding: 9px 0; }
}

@media (max-width: 420px) {
  .pill { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .doc > article.reveal { opacity: 1; transform: none; }
}

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