.hero {
  --paper: #fff2dc;
  --signal: #ff6b41;
  color: var(--paper);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(268px, 23vw, 340px);
  background: #132533 url("/cover.jpg") center 48% / cover no-repeat;
  border-bottom: 4px solid #101b36;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0715264d, transparent 52%);
}

.hero-copy {
  padding: clamp(20px, 2vw, 32px) clamp(22px, 3.4vw, 58px);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 clamp(16px, 1.4vw, 22px);
  font-family: var(--headline-zh), sans-serif;
  font-size: clamp(.85rem, 1.1vw, 1.04rem);
  font-weight: 900;
  letter-spacing: .075em;
  line-height: 1;
}

.hero-label span {
  background: var(--signal);
  width: 21px;
  height: 5px;
  transform: skewX(-13deg);
}

.hero-wordmark {
  display: block;
  width: fit-content;
  margin-left: -.035em;
  font-family: var(--headline), Impact, sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3.9rem, 6.1vw, 6.25rem);
  letter-spacing: -.035em;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--paper);
}

.hero h1 {
  margin: .04em 0 0 -.035em;
  width: fit-content;
  font-family: var(--headline-zh), sans-serif;
  font-size: clamp(3.2rem, 5.5vw, 5.65rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.055em;
  transform: skewX(-4deg);
  transform-origin: left bottom;
}

html:lang(en) .hero h1 {
  font-family: var(--headline), Impact, sans-serif;
  font-style: italic;
  font-size: clamp(3.8rem, 6.1vw, 6.25rem);
  letter-spacing: -.025em;
  line-height: .99;
  text-transform: uppercase;
  transform: none;
}

.hero-sub {
  margin: clamp(15px, 1.45vw, 21px) 0 0;
  font-size: clamp(.9rem, 1.15vw, 1.04rem);
  line-height: 1.5;
  color: #fff6e4;
}

.hero-date {
  display: flex;
  align-items: center;
  gap: .5rem;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 6px 13px;
  background: #101b36;
  border-top: 2px solid var(--signal);
  font-size: .82rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.hero-date svg { width: 14px; height: 14px; }

.hero-guide {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 40px;
  margin-top: .65rem;
  padding: .35rem .75rem;
  border: 1px solid #fff2dca8;
  border-radius: 4px;
  background: #101b36d9;
  color: var(--paper);
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
}
.hero-guide svg { width: 17px; height: 17px; }
.hero-guide:hover { background: #fff2dc; color: #101b36; }
.hero-guide:focus-visible { outline: 3px solid #fff2dc; outline-offset: 3px; }
.footer-guide { border: 0; padding: .4rem .3rem; background: transparent; color: inherit; text-decoration: underline; font: inherit; }
.workspace-mode { display: inline-block; margin-inline-end: .45rem; padding: .05rem .4rem; border: 1px solid var(--line); color: var(--navy); font-weight: 700; }
.user-guide-copy .guide-mode { margin: 0 0 1.2rem; padding: .35rem .7rem; width: fit-content; color: var(--cream); background: var(--navy); font-size: .84rem; font-weight: 700; }
.user-guide-copy section + section { margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.user-guide-copy h3 { margin: 0 0 .4rem; font-size: 1.12rem; }
.user-guide-copy ol, .user-guide-copy ul { margin: 0; padding-left: 1.45rem; }
.user-guide-copy li, .user-guide-copy p { margin: .4rem 0; line-height: 1.6; }
.user-guide-copy .guide-try { margin: .4rem 0 .1rem; }
.user-guide-copy details { margin-top: .45rem; }
.user-guide-copy summary { width: fit-content; padding: .25rem 0; color: var(--blue); font-size: .92rem; font-weight: 700; cursor: pointer; }
.user-guide-copy .guide-publish { border-top: 2px solid var(--navy); }

@media (min-width: 761px) and (max-width: 1000px) {
  .hero { min-height: 237px; }
  .hero-copy { padding-inline: 24px; }
  .hero-sub { max-width: 37ch; }
}

@media (max-width: 760px) {
  .hero-guide { min-height: 36px; margin-top: .5rem; padding-block: .25rem; }
  .hero {
    min-height: clamp(211px, 38vw, 255px);
    background-position: 70% 34%;
  }
  .hero::before {
    background: linear-gradient(90deg, #0d2142ed 0%, #10305d9c 36%, transparent 68%);
  }
  .hero-copy, html:lang(en) .hero-copy { padding: 19px 15px; max-width: 67%; }
  .hero-label { font-size: .79rem; margin-bottom: 14px; }
  .hero-wordmark { font-size: clamp(2.8rem, 7.2vw, 3.7rem); -webkit-text-stroke-width: 1px; }
  .hero h1 { font-size: clamp(2.12rem, 5.8vw, 3.15rem); }
  html:lang(en) .hero h1 { font-size: clamp(2.58rem, 6.6vw, 3.55rem); }
  .hero-sub, html:lang(en) .hero-sub { font-size: .84rem; max-width: 22ch; margin-top: 10px; }
  .hero-date { display: none; }
}

@media (max-width: 580px) {
  .hero { display: block; min-height: 0; background: #112139; }
  .hero::before {
    position: static;
    display: block;
    height: clamp(114px, 35vw, 165px);
    background: #172733 url("/cover.jpg") 79% 47% / 130% auto no-repeat;
    border-bottom: 2px solid var(--signal);
  }
  .hero-copy, html:lang(en) .hero-copy {
    max-width: none;
    padding: 12px 13px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 6px;
    align-items: center;
  }
  .hero-label { display: none; }
  .hero-wordmark { grid-column: 1; font-size: clamp(1.55rem, 6vw, 2rem); }
  .hero h1, html:lang(en) .hero h1 { grid-column: 1; font-size: clamp(1.7rem, 6.6vw, 2.4rem); }
  .hero-guide { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .hero-sub, html:lang(en) .hero-sub { grid-column: 1 / -1; margin: 8px 0 0; max-width: none; }
}

@media (forced-colors: active) {
  .hero-wordmark { color: CanvasText; -webkit-text-stroke: 0; }
}
