:root {
  --bg-0: #f5f9fb;
  --bg-1: #eef5f7;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text-main: #11325f;
  --text-sub: #355d92;
  --primary: #1f6feb;
  --primary-strong: #0b54c4;
  --accent: #4aa7ff;
  --success: #158f68;
  --shadow: 0 16px 40px rgba(28, 71, 133, 0.18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  /* Aligned with .landing-card (logo area) */
  background: linear-gradient(180deg, #f8fbfd 0%, var(--bg-0) 52%, var(--bg-1) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(47, 98, 90, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 98, 90, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: floatGlow 10s ease-in-out infinite;
}

.bg-glow-1 {
  width: 320px;
  height: 320px;
  top: 80px;
  left: -60px;
  background: rgba(110, 166, 168, 0.14);
}

.bg-glow-2 {
  width: 420px;
  height: 420px;
  right: -110px;
  bottom: -80px;
  animation-delay: -3s;
  background: rgba(142, 184, 176, 0.12);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(31, 111, 235, 0.18);
}

.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

body.is-landing-view .topbar-inner {
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ea7a1, #2f625a);
  box-shadow: 0 0 16px rgba(21, 119, 255, 0.8);
}

.main-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 18px 42px;
  position: relative;
  z-index: 1;
}

.view {
  display: none;
  animation: fadeUp 420ms ease forwards;
}

.view.active {
  display: block;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(31, 111, 235, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card,
.flow-card {
  padding: clamp(20px, 4vw, 36px);
}

.hero-card {
  text-align: center;
}

.home-top-actions {
  margin-bottom: 12px;
  display: flex;
  justify-content: flex-start;
}

.home-dev-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  max-width: min(320px, calc(100vw - 200px));
  padding: 12px 20px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(145deg, #3b9cff 0%, var(--primary) 45%, var(--primary-strong) 100%);
  box-shadow:
    0 4px 0 rgba(11, 60, 140, 0.35),
    0 14px 32px rgba(31, 111, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-dev-info-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 rgba(11, 60, 140, 0.38),
    0 18px 38px rgba(31, 111, 235, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.home-dev-info-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(11, 60, 140, 0.35),
    0 10px 24px rgba(31, 111, 235, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.home-bottom-actions {
  justify-content: center;
}

.landing-card {
  position: relative;
  /* Must stay visible: logo animation uses translateY/scale; hidden clipped it on server-like viewports */
  overflow: visible;
  text-align: center;
  min-height: clamp(420px, 52vh, 720px);
  padding: clamp(32px, 6vw, 68px) clamp(28px, 5.5vw, 72px) clamp(48px, 9vw, 96px);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fa 100%);
  border: 1px solid rgba(56, 131, 228, 0.26);
}

.landing-step16-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  min-width: 90px;
}

.landing-logo:is(img, video) {
  width: clamp(220px, 25vw, 352px);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0.95;
  filter: saturate(1.08) brightness(1.04) drop-shadow(0 0 16px rgba(76, 158, 255, 0.32));
  animation: landingLogoFloat 3.2s ease-in-out infinite;
  transform-origin: center;
}

video.landing-logo {
  object-fit: contain;
}

.landing-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18em;
  margin: 0 auto;
  max-width: 100%;
  white-space: normal;
  font-size: clamp(1.12rem, 2.55vw, 2.02rem);
  line-height: 1.22;
}

.landing-title .landing-title-line {
  display: block;
  width: 100%;
  max-width: 30ch;
  text-align: center;
}

.landing-title .landing-title-line:first-child {
  font-size: 1.18em;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.landing-title .landing-title-line:last-child {
  max-width: none;
  font-size: 0.78em;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--text-sub);
  white-space: nowrap;
}

.landing-actions {
  justify-content: center;
  margin-top: 42px;
  gap: 16px;
}

.landing-actions .btn {
  padding: 20px 38px;
  font-size: 1.36rem;
  line-height: 1.35;
  border-radius: var(--radius-lg);
  min-height: 66px;
}

.landing-start-btn,
.landing-feature-btn {
  min-width: min(340px, 100%);
  white-space: nowrap;
}

.landing-footnote {
  margin: 52px 0 0;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
  color: #000;
  text-align: center;
  letter-spacing: 0.02em;
}

html[lang="en"] .landing-footnote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  font-size: 1.16rem;
  line-height: 1.4;
}

html[lang="en"] .landing-footnote .landing-footnote-en-line {
  display: block;
  width: 100%;
  max-width: min(760px, 100%);
  text-align: center;
}

.comments-card {
  max-width: 920px;
  margin: 0 auto;
}

.comments-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.comments-kicker {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-strong);
}

.comments-desc {
  max-width: 60ch;
}

.comment-form,
.comment-admin-panel,
.comments-list {
  display: grid;
  gap: 14px;
}

.comment-form {
  padding: 18px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
}

.comment-field {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--text-main);
}

.comment-field input,
.comment-field textarea {
  width: 100%;
  border: 1px solid rgba(31, 111, 235, 0.24);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-field textarea {
  resize: vertical;
  min-height: 126px;
}

.comment-field input:focus,
.comment-field textarea:focus {
  border-color: rgba(31, 111, 235, 0.72);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.12);
}

.comment-form-actions,
.comment-admin-login,
.comment-admin-tools,
.comments-list-header,
.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.comment-tip,
.comment-status,
.comment-admin-note,
.comments-empty {
  margin: 0;
  color: var(--text-sub);
}

.comment-status {
  min-height: 1.5em;
  font-weight: 700;
  color: var(--success);
}

.comment-admin-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px dashed rgba(31, 111, 235, 0.32);
  border-radius: var(--radius-md);
  background: rgba(243, 248, 248, 0.92);
}

.comment-admin-login .comment-field {
  flex: 1;
}

.comments-list-header {
  margin-top: 26px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(31, 111, 235, 0.18);
}

.comments-list-header h3 {
  margin: 0;
  font-size: 1.18rem;
}

#commentsCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.comment-item {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(31, 111, 235, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(31, 111, 235, 0.08);
}

.comment-meta strong {
  color: var(--text-main);
}

.comment-meta time {
  font-size: 0.86rem;
  color: var(--text-sub);
}

.comment-content {
  margin: 10px 0 0;
  color: #234d84;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 管理员回复：与普通用户评论在样式上区分 */
.comment-reply {
  margin: 14px 0 2px;
  padding: 12px 14px;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm, 10px) var(--radius-sm, 10px) 0;
  background: rgba(31, 111, 235, 0.07);
}

.comment-reply-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.comment-reply-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  letter-spacing: 0.02em;
}

.comment-reply-head time {
  font-size: 0.82rem;
  color: var(--text-sub);
}

.comment-reply-content {
  margin: 0;
  color: #1b3f72;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-delete-btn {
  margin-top: 12px;
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.28);
}

.comments-actions {
  justify-content: center;
}

.kicker {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sub);
  font-weight: 700;
}

.hero-title {
  margin: 10px auto 6px;
  max-width: 28ch;
  font-size: clamp(1.82rem, 4.2vw, 3.25rem);
  line-height: 1.2;
  white-space: nowrap;
}

.button-group {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card .button-group {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: min(100%, 1040px);
  margin-left: auto;
  margin-right: auto;
}

.hero-card .button-group .btn {
  flex: 0 1 auto;
  min-width: 0;
  width: min(13em, calc((100% - 24px) / 3));
  max-width: calc((100% - 24px) / 3);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  line-height: 1.2;
  font-size: clamp(1.28rem, 2.4vw + 0.76rem, 1.82rem);
  word-break: break-word;
}

.hero-hint {
  margin: 20px 0 0;
  max-width: 720px;
  margin-inline: auto;
  color: var(--text-sub);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}

.button-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  appearance: none;
  border: none;
  border-radius: var(--radius-md);
  padding: 11px 18px;
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(31, 111, 235, 0.4);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, #4fa9ff, #1975e8);
  box-shadow: 0 10px 24px rgba(57, 141, 245, 0.3);
}

.btn-outline {
  color: var(--primary-strong);
  border: 1px solid rgba(17, 84, 182, 0.38);
  background: rgba(255, 255, 255, 0.82);
}

.btn-outline:hover {
  border-color: rgba(17, 84, 182, 0.7);
  background: #fff;
}

.btn-success {
  color: #fff;
  background: linear-gradient(135deg, #1ca67a, var(--success));
  box-shadow: 0 10px 24px rgba(21, 143, 104, 0.32);
}

.btn-small {
  padding: 8px 13px;
  font-size: 0.88rem;
}

.lang-btn {
  min-width: 0;
  white-space: nowrap;
}

.dev-info-btn,
.topbar-comment-btn {
  display: none;
  white-space: nowrap;
}

body.is-landing-view .dev-info-btn,
body.is-landing-view .topbar-comment-btn,
body.is-landing-view .lang-btn {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(145deg, #3b9cff 0%, var(--primary) 45%, var(--primary-strong) 100%);
  box-shadow:
    0 4px 0 rgba(11, 60, 140, 0.35),
    0 14px 32px rgba(31, 111, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.is-landing-view .dev-info-btn:hover,
body.is-landing-view .topbar-comment-btn:hover,
body.is-landing-view .lang-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 rgba(11, 60, 140, 0.38),
    0 18px 38px rgba(31, 111, 235, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

body.is-landing-view .dev-info-btn:active,
body.is-landing-view .topbar-comment-btn:active,
body.is-landing-view .lang-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(11, 60, 140, 0.35),
    0 10px 24px rgba(31, 111, 235, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.flow-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 3.2vw, 1.9rem);
}

#step11GlobalDownloadTitle {
  white-space: nowrap;
  font-size: clamp(1.28rem, 2.2vw, 1.68rem);
}

.step11-global-download-card #step11GlobalDownloadTitle {
  padding-right: min(44vw, 430px);
}

.flow-card p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #234d84;
}

.step-progress {
  position: relative;
  z-index: 2;
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(31, 111, 235, 0.08);
}

.step-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--text-main);
  font-weight: 800;
}

.step-progress-label {
  letter-spacing: 0.04em;
}

.step-progress-value {
  color: var(--primary-strong);
  white-space: nowrap;
}

.step-progress-track {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 4px;
}

.step-progress-segment {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.14);
  box-shadow: inset 0 0 0 1px rgba(31, 111, 235, 0.12);
  transition: background-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.step-progress-segment.is-filled {
  background: linear-gradient(135deg, #54b5ff, var(--primary));
  box-shadow: 0 4px 10px rgba(31, 111, 235, 0.18);
}

.step-progress-segment.is-current {
  transform: scaleY(1.26);
  background: linear-gradient(135deg, #1f6feb, #0b54c4);
  box-shadow: 0 5px 12px rgba(31, 111, 235, 0.28);
}

.step-entry-card {
  position: relative;
  overflow: visible;
  min-height: 440px;
  padding: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(circle at top left, rgba(90, 173, 255, 0.32), rgba(90, 173, 255, 0) 32%),
    radial-gradient(circle at 88% 18%, rgba(31, 111, 235, 0.18), rgba(31, 111, 235, 0) 28%),
    linear-gradient(145deg, rgba(250, 253, 255, 0.96), rgba(232, 243, 255, 0.92));
  border: 1px solid rgba(56, 131, 228, 0.24);
  box-shadow:
    0 24px 60px rgba(26, 77, 150, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.step-entry-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(112, 181, 255, 0.18);
  pointer-events: none;
}

.step-entry-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 167, 255, 0.28), rgba(74, 167, 255, 0));
  pointer-events: none;
}

.step-entry-hero,
.step-entry-actions,
.step-entry-back {
  position: relative;
  z-index: 1;
}

.step-entry-hero {
  max-width: 780px;
  margin-bottom: 26px;
}

.step-entry-card h2,
.step-guide-card h2,
.step-guide-card h2.step3-heading {
  margin: 0 0 14px;
  max-width: 760px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0d2d61;
}

.step-entry-desc {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1rem, 0.7vw + 0.88rem, 1.18rem);
  line-height: 1.8;
  color: #2d578f;
}

.step-entry-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.step-entry-actions .btn {
  min-height: 150px;
  padding: 24px 22px;
  border-radius: 20px;
  text-align: left;
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.12rem);
  line-height: 1.65;
  font-weight: 700;
  white-space: normal;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.step-entry-actions .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.step-entry-actions .btn-primary {
  box-shadow:
    0 18px 34px rgba(31, 111, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.step-entry-actions .btn-secondary {
  box-shadow:
    0 18px 34px rgba(57, 141, 245, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.step-entry-back {
  margin-top: 26px;
  justify-content: space-between;
}

.step-entry-back .btn.btn-primary[data-nav="home"][data-i18n="backPrev"] {
  color: var(--primary);
  background: #fff;
  border: 1px solid rgba(31, 111, 235, 0.3);
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.14);
}

.step-entry-back .btn.btn-primary[data-nav="home"][data-i18n="backPrev"]:hover {
  color: var(--primary-strong);
  background: #fff;
  border-color: rgba(17, 84, 182, 0.55);
}

.step-guide-card {
  position: relative;
  overflow: visible;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 4.4vw, 42px);
  background:
    radial-gradient(circle at top left, rgba(90, 173, 255, 0.22), rgba(90, 173, 255, 0) 30%),
    radial-gradient(circle at right top, rgba(31, 111, 235, 0.12), rgba(31, 111, 235, 0) 24%),
    linear-gradient(160deg, rgba(250, 253, 255, 0.98), rgba(234, 244, 255, 0.94));
  border: 1px solid rgba(56, 131, 228, 0.22);
  box-shadow:
    0 22px 54px rgba(25, 74, 144, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.step-guide-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(110, 179, 255, 0.18);
  pointer-events: none;
}

.step-guide-card > * {
  position: relative;
  z-index: 1;
}

.step-guide-card > p {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.12rem);
  line-height: 1.8;
  color: #2d578f;
}

.step-guide-card > p.step4-desc {
  max-width: 760px;
  font-size: clamp(1.12rem, 0.9vw + 0.95rem, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
  color: #0d2d61;
}

.step-guide-card > p.step5-desc {
  max-width: 760px;
  font-size: clamp(1.12rem, 0.9vw + 0.95rem, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
  color: #0d2d61;
}

.step-guide-card .step-image {
  margin-top: 22px;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(31, 111, 235, 0.16);
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 20px 42px rgba(26, 76, 147, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.step-guide-card .step-image.step7-image {
  width: 100%;
  max-width: 760px;
  height: auto;
}

.step-guide-card .step-image.step8-image {
  width: 100%;
  max-width: 760px;
  height: auto;
}

.step-guide-card .step-image.step4-image,
.step-guide-card .step-image.step5-image {
  width: 82%;
  max-width: 620px;
}

.step-guide-card .step-image.step5-image {
  width: 76%;
  max-width: 560px;
}

.step-guide-nav {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 111, 235, 0.14);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.step-guide-nav .btn {
  min-width: 136px;
}

/* Step16: keep back/home on one centered row */
[data-view="step16"] .step-guide-nav {
  justify-content: center;
  gap: 16px;
}

/* Step11GlobalDownload: keep back/home on one centered row */
[data-view="step11GlobalDownload"] .step-guide-nav {
  justify-content: center;
  gap: 16px;
}

/* Step11 VRAM choice pages: center back/home on one row */
[data-view="step11"] .step-guide-nav,
[data-view="step11Vram8to12"] .step-guide-nav,
[data-view="step11Vram16Plus"] .step-guide-nav {
  justify-content: center;
  gap: 16px;
}

.step-cta-group {
  margin-top: 18px;
  max-width: 320px;
}

.step-cta-group .btn {
  min-height: 64px;
  justify-content: center;
  font-size: clamp(1.12rem, 0.9vw + 0.95rem, 1.35rem);
  font-weight: 700;
  border-radius: 16px;
}

.step-decision-card > p {
  max-width: 860px;
}

.step-decision-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.step-decision-actions .btn {
  min-height: 142px;
  padding: 24px 22px;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.08rem);
  line-height: 1.65;
  font-weight: 700;
  box-shadow:
    0 18px 34px rgba(31, 111, 235, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.step-guide-notice {
  margin-top: 18px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  background: #f3f8f8;
  box-shadow: 0 14px 28px rgba(26, 76, 147, 0.1);
}

.step-guide-notice p {
  margin-bottom: 10px;
  font-weight: 600;
  color: #1f4f8b;
}

.step-helper-block {
  margin-top: 18px;
}

.step-helper-block > .btn {
  min-height: 46px;
  border-radius: 14px;
  padding-left: 16px;
  padding-right: 16px;
  font-weight: 700;
}

.step-guide-card h2.step9-title {
  max-width: calc(100% - 220px);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: 0;
}

.step-guide-card h2#step10Title {
  max-width: 840px;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.step-guide-card h2#step11Title {
  max-width: 900px;
  font-size: clamp(1.32rem, 2.35vw, 1.82rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.step-guide-card h2#skillStep7Title {
  max-width: none;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
}

.step-guide-card h2.step15-title {
  max-width: 900px;
  font-size: clamp(1.06rem, 1.55vw, 1.36rem);
  line-height: 1.45;
  letter-spacing: 0;
}

.step-guide-card h2[id^="step17_"][id$="Title"] {
  max-width: 900px;
  font-size: clamp(1.16rem, 1.85vw, 1.48rem);
  line-height: 1.3;
  letter-spacing: 0;
}

#step17SuccessTitle {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#step17SuccessTitle .step18-title-line {
  font-size: clamp(1.14rem, 1.95vw, 1.52rem);
  line-height: 1.35;
  font-weight: 700;
  color: #173d72;
}

#step17SuccessTitle .step18-download-url {
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.98rem, 0.38vw + 0.9rem, 1.1rem);
  line-height: 1.55;
  color: #1f6feb;
  text-decoration: underline;
  word-break: break-all;
}

#step20Title {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#step20Title .step20-title-line {
  font-size: clamp(1.12rem, 1.9vw, 1.5rem);
  line-height: 1.35;
  font-weight: 700;
  color: #173d72;
}

#step20Title .step20-sub-line {
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.9rem, 0.25vw + 0.84rem, 1rem);
  line-height: 1.55;
  font-weight: 600;
  color: #1f4f8b;
}

#step20Title .step20-command-box {
  display: block;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(31, 111, 235, 0.22);
  background: rgba(243, 249, 255, 0.92);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.94rem, 0.2vw + 0.9rem, 1.02rem);
  line-height: 1.5;
  font-weight: 600;
  color: #143a6f;
  word-break: break-word;
}

/* Unify all step title typography (step1-step24). */
#step1Title,
.step-guide-card h2[id^="step"],
#step17SuccessTitle .step18-title-line,
#step20Title .step20-title-line {
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif !important;
  font-size: clamp(1.32rem, 2.15vw, 1.72rem) !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  color: #173d72 !important;
}

.step11-download-actions {
  margin-top: 20px;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step11-download-actions.step11-single-action {
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.step11-download-actions.step11-single-action .btn {
  width: min(422px, 100%);
}

.step11-download-actions.step11-four-actions {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step11-download-actions .btn {
  min-height: 86px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.5;
  font-size: clamp(1rem, 0.36vw + 0.94rem, 1.1rem);
  font-weight: 700;
}

.step11-download-actions .btn-secondary {
  background: linear-gradient(135deg, #2f86ff, #1f6feb);
  color: #fff;
  border-color: rgba(27, 93, 209, 0.95);
}

.step11-download-actions .btn-secondary:hover {
  background: linear-gradient(135deg, #5aa5ff, #2f86ff);
  color: #fff;
}

.step-guide-card > p.step11-global-download-desc {
  font-weight: 700;
  font-size: clamp(1.08rem, 0.45vw + 0.98rem, 1.24rem);
  line-height: 1.65;
}

.step-guide-card > p.step17-command-intro {
  margin-top: 10px;
  font-weight: 700;
  color: #1f4f8b;
  text-align: left;
}

.step-guide-card > p.step17-command-line {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(31, 111, 235, 0.22);
  background: rgba(243, 249, 255, 0.92);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.98rem, 0.2vw + 0.94rem, 1.06rem);
  line-height: 1.5;
  color: #143a6f;
}

.step-guide-card > p.step17-success-note {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.1rem);
  font-weight: 700;
  color: #1f4f8b;
  text-align: left;
}

.step-guide-card > p.step23-desc {
  white-space: pre-line;
}

.step11-vram-help-btn {
  position: absolute;
  top: clamp(16px, 2.2vw, 24px);
  right: clamp(16px, 2.2vw, 24px);
  z-index: 2;
  max-width: min(42vw, 400px);
  padding: 8px 12px;
  font-size: clamp(0.78rem, 0.22vw + 0.74rem, 0.9rem);
  line-height: 1.35;
  white-space: normal;
  text-align: left;
}

.step11-vram-help-box {
  margin-top: 14px;
}

.step11-keyword-red {
  color: #e53935;
}

.step11-vram-actions {
  margin-top: 18px;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step11-vram-actions .btn {
  min-height: 74px;
  border-radius: 16px;
  white-space: normal;
  line-height: 1.5;
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.06rem);
}

.step11-language-actions {
  margin-top: 20px;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step11-language-actions .btn {
  min-height: 74px;
  border-radius: 16px;
  white-space: normal;
  line-height: 1.5;
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.06rem);
}

.step9-helper-block {
  position: absolute;
  top: 24px;
  right: 24px;
  margin-top: 0;
  z-index: 3;
}

.step9-helper-block > #usernameHelpBtn {
  background: linear-gradient(135deg, #2f86ff, #1f6feb);
  color: #fff;
  border-color: rgba(27, 93, 209, 0.95);
}

.step9-helper-block > #usernameHelpBtn:hover {
  background: linear-gradient(135deg, #5aa5ff, #2f86ff);
  color: #fff;
}

.step9-helper-block .step-guide-notice {
  position: absolute;
  top: 56px;
  right: 0;
  width: min(420px, calc(100vw - 72px));
}

.online-access-card {
  position: relative;
  overflow: visible;
  max-width: 980px;
  margin: 0 auto;
  min-height: 360px;
  text-align: center;
  padding: clamp(34px, 6vw, 60px) clamp(26px, 5vw, 56px);
  background:
    radial-gradient(circle at 50% 0%, rgba(89, 173, 255, 0.32), rgba(89, 173, 255, 0) 38%),
    radial-gradient(circle at 10% 88%, rgba(31, 111, 235, 0.14), rgba(31, 111, 235, 0) 28%),
    radial-gradient(circle at 90% 86%, rgba(74, 167, 255, 0.16), rgba(74, 167, 255, 0) 30%),
    linear-gradient(160deg, rgba(251, 254, 255, 0.98), rgba(232, 244, 255, 0.94));
  border: 1px solid rgba(56, 131, 228, 0.22);
  box-shadow:
    0 28px 64px rgba(25, 74, 144, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.online-access-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(110, 179, 255, 0.18);
  pointer-events: none;
}

.online-access-card > * {
  position: relative;
  z-index: 1;
}

.online-access-card h2 {
  margin: 0 auto 18px;
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.14;
  color: #0c2b5f;
}

.online-access-card p {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(1.02rem, 0.7vw + 0.9rem, 1.24rem);
  line-height: 1.9;
  color: #285287;
}

.online-access-actions {
  margin-top: 30px;
  align-items: center;
  justify-content: center;
}

.online-access-actions .btn {
  min-width: min(360px, 100%);
  min-height: 64px;
  padding: 18px 30px;
  border-radius: 18px;
  font-size: 1.08rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 18px 38px rgba(31, 111, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.developer-card .expert-profile {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.developer-card .expert-profile-visual {
  position: sticky;
  top: 88px;
}

.expert-photo-frame {
  border-radius: 20px;
  padding: 4px;
  background: linear-gradient(145deg, rgba(74, 167, 255, 0.55), rgba(31, 111, 235, 0.2));
  box-shadow: 0 20px 44px rgba(24, 78, 150, 0.2);
}

.expert-photo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 16px;
  background: var(--surface-strong);
}

.expert-photo-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(165deg, #3b8dff 0%, var(--primary-strong) 48%, #082a5c 100%);
  font-size: clamp(3.75rem, 14vw, 6.25rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.06em;
  text-shadow: 0 6px 28px rgba(0, 30, 80, 0.45);
  user-select: none;
}

.developer-page-actions {
  flex-wrap: wrap;
  align-items: center;
}

.expert-profile-body {
  min-width: 0;
}

.expert-name {
  margin: 0 0 6px;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0c2854;
  line-height: 1.2;
}

.expert-role {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(31, 111, 235, 0.22);
  font-size: clamp(0.92rem, 0.35vw + 0.82rem, 1.05rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-sub);
}

.developer-expert-bio {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(0.88rem, 0.45vw + 0.78rem, 1rem);
  line-height: 1.75;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

.feature-list {
  margin: 6px 0 0;
  padding-left: 20px;
  color: #1f4d88;
}

.feature-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.features-page-card {
  position: relative;
  overflow: visible;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(76, 160, 255, 0.24), rgba(76, 160, 255, 0) 42%),
    linear-gradient(160deg, rgba(247, 251, 255, 0.98), rgba(233, 244, 255, 0.9));
}

.features-page-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(95, 171, 255, 0.2);
  pointer-events: none;
}

.features-page-shell {
  position: relative;
  z-index: 1;
  --features-tile-height: 154px;
}

.features-page-title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.08;
  color: var(--text-main);
}

.features-page-lead {
  margin: 0 auto;
  max-width: 820px;
  width: 100%;
  box-sizing: border-box;
  font-size: clamp(1rem, 0.85vw + 0.82rem, 1.28rem);
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: #234d84;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

html[lang="en"] .features-page-lead {
  font-size: clamp(0.94rem, 0.62vw + 0.78rem, 1.12rem);
  line-height: 1.48;
  letter-spacing: 0;
  font-weight: 600;
}

.features-page-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 20px;
  text-align: left;
  align-items: stretch;
}

.feature-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  grid-column: span 2;
  min-height: var(--features-tile-height);
  height: var(--features-tile-height);
  padding: 22px;
  border-radius: 20px;
  border: 1px solid #000000;
  background: #000000;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.feature-panel-title {
  margin: 0;
  font-size: clamp(1.08rem, 0.46vw + 0.96rem, 1.22rem);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.feature-panel-desc {
  margin: 0;
  flex: 1 1 auto;
  color: #355d92;
  font-size: 0.98rem;
  line-height: 1.78;
}

.features-page-grid > :nth-child(4) {
  grid-column: 1 / span 2;
}

.features-page-grid > :nth-child(5) {
  grid-column: 3 / span 2;
}

.features-page-grid > :nth-child(6) {
  grid-column: 5 / span 2;
}

.feature-panel-button {
  appearance: none;
  color: #ffffff;
  border: 1px solid #000000;
  cursor: pointer;
  text-align: left;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.feature-panel-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  border-color: #000000;
  background: #000000;
  filter: none;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.feature-panel-button .feature-panel-desc {
  font-size: 0.96rem;
}

.features-page-actions {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 30px;
}

.features-page-actions .btn,
.features-page-grid > .btn {
  grid-column: span 2;
  width: 100%;
  padding: 22px;
  font-size: clamp(1.08rem, 0.46vw + 0.96rem, 1.22rem);
  line-height: 1.5;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid #000000;
  color: #ffffff;
  background: #000000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  min-height: var(--features-tile-height);
  height: var(--features-tile-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.features-page-actions .btn:hover,
.features-page-grid > .btn:hover {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
  filter: none;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.features-back-home-btn {
  min-width: 128px;
  margin-left: auto;
  flex: 0 0 auto;
}

.features-page-card .home-copyright {
  width: 100%;
  justify-content: flex-start;
}

/* Features page: same English font + size on grid tiles and bottom CTAs (zh-CN unchanged) */
html[lang="en"] .features-page-shell .feature-panel-button,
html[lang="en"] .features-page-shell .feature-panel-button .feature-panel-title,
html[lang="en"] .features-page-shell .features-page-actions .btn,
html[lang="en"] .features-page-shell .features-page-grid > .btn {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.02rem, 0.42vw + 0.94rem, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
}

/* Features page: unify Chinese font size for tile/buttons only */
html[lang="zh-CN"] .features-page-shell .feature-panel-button,
html[lang="zh-CN"] .features-page-shell .feature-panel-button .feature-panel-title,
html[lang="zh-CN"] .features-page-shell .features-page-actions .btn,
html[lang="zh-CN"] .features-page-shell .features-page-grid > .btn {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
  font-size: clamp(1.04rem, 0.44vw + 0.95rem, 1.14rem);
  font-weight: 700;
  line-height: 1.45;
}

.anti-bias-card {
  max-width: 980px;
  margin: 0 auto;
}

.anti-bias-card h2 {
  margin: 0 0 16px;
  line-height: 1.35;
}

.anti-bias-card .composition-principle-image {
  width: min(820px, 100%);
  margin: 4px auto 24px;
}

.workflow-carousel {
  width: min(820px, 100%);
  margin: 4px auto 24px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(31, 111, 235, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(28, 71, 133, 0.18);
  transform: translateY(-2px);
}

.workflow-carousel-window {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
  background: #edf5f7;
}

.workflow-carousel-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.workflow-carousel-image.is-active {
  opacity: 1;
  transform: translateX(0);
}

.workflow-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(31, 111, 235, 0.28);
  border-radius: 10px;
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(28, 71, 133, 0.16);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.workflow-carousel-arrow-prev {
  left: 12px;
}

.workflow-carousel-arrow-next {
  right: 12px;
}

.workflow-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.workflow-carousel-dot {
  width: 28px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(31, 111, 235, 0.32);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.workflow-carousel-dot.is-active {
  width: 42px;
  background: var(--primary);
}

.anti-bias-card h3 {
  margin: 20px 0 10px;
  font-size: 1.2rem;
  color: #11325f;
}

.anti-bias-card h4 {
  margin: 16px 0 8px;
  font-size: 1.06rem;
  color: #184b8a;
}

.anti-bias-card p {
  margin: 0 0 10px;
}

.anti-bias-card ul {
  margin: 0 0 12px;
  padding-left: 22px;
  color: #234d84;
}

.anti-bias-card li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.anti-bias-h4-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 24px;
  margin: 16px 0 8px;
}

.anti-bias-h4-row h4 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
}

.anti-bias-h4-row .btn {
  flex-shrink: 0;
  margin-left: auto;
  order: 2;
}

.anti-bias-h4-row .btn.btn-outline {
  color: #fff;
  border-color: rgba(27, 93, 209, 0.95);
  background: linear-gradient(135deg, #2f86ff, #1f6feb);
  box-shadow: 0 8px 18px rgba(31, 111, 235, 0.28);
}

.anti-bias-h4-row .btn.btn-outline:hover {
  color: #fff;
  border-color: rgba(27, 93, 209, 1);
  background: linear-gradient(135deg, #5aa5ff, #2f86ff);
}

.anti-bias-card .anti-bias-example-page {
  margin: 4px 0 18px;
}

.anti-bias-card > .button-row {
  width: 100%;
  box-sizing: border-box;
}

.anti-bias-card > .button-row:has([data-i18n="backPrev"]) {
  justify-content: flex-end;
}

.example-image-card .example-image-title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  color: #11325f;
  line-height: 1.35;
}

.example-image-card .example-full-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 111, 235, 0.16);
  box-shadow: 0 14px 30px rgba(32, 74, 143, 0.12);
}

.step-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 111, 235, 0.16);
  box-shadow: 0 14px 30px rgba(32, 74, 143, 0.18);
  display: block;
}

.model-credentials-image {
  margin-left: auto;
  margin-right: auto;
}

.notice-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(31, 111, 235, 0.25);
  background: rgba(243, 248, 248, 0.96);
}

.hidden {
  display: none;
}

.helper-block {
  margin-top: 14px;
}

.home-copyright {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 111, 235, 0.2);
  background: rgba(255, 255, 255, 0.94);
}

.home-copyright img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(31, 111, 235, 0.3);
}

.home-copyright p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1b4f8d;
}

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 18px 22px;
}

.site-footer p {
  margin: 0;
  color: #355d92;
  font-size: 0.88rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
}

@keyframes landingLogoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.9;
    filter: saturate(1.04) brightness(1.02) drop-shadow(0 0 16px rgba(76, 158, 255, 0.24));
  }
  25% {
    transform: translateY(-3px) scale(1.02);
    opacity: 0.97;
    filter: saturate(1.1) brightness(1.05) drop-shadow(0 0 24px rgba(76, 158, 255, 0.38));
  }
  50% {
    transform: translateY(-5px) scale(1.04);
    opacity: 1;
    filter: saturate(1.16) brightness(1.08) drop-shadow(0 0 34px rgba(76, 158, 255, 0.52));
  }
  75% {
    transform: translateY(-2px) scale(1.02);
    opacity: 0.98;
    filter: saturate(1.1) brightness(1.05) drop-shadow(0 0 24px rgba(76, 158, 255, 0.38));
  }
}

@media (max-width: 900px) {
  .topbar-inner,
  .main-shell {
    max-width: 100%;
  }

  .developer-card .expert-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .developer-card .expert-profile-visual {
    position: static;
    max-width: 280px;
    width: 100%;
  }

  .developer-card .expert-profile-body {
    text-align: left;
  }

  .developer-card .expert-role {
    text-align: left;
  }

  .developer-expert-bio {
    text-align: justify;
    text-align-last: left;
  }

  .features-page-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .features-page-grid > :nth-child(4),
  .features-page-grid > :nth-child(5) {
    grid-column: auto;
  }

  .features-page-card {
    text-align: left;
  }

  .features-back-home-btn {
    margin-top: 10px;
  }

  .features-page-actions {
    grid-template-columns: 1fr;
  }

  .features-page-actions .btn,
  .features-page-actions .feature-panel.feature-panel-button,
  .features-page-grid > .btn {
    grid-column: auto;
    min-height: 76px;
    border-radius: 16px;
    height: auto;
  }

  .step-entry-card {
    min-height: auto;
  }

  .step-entry-actions {
    grid-template-columns: 1fr;
  }

  .step-entry-actions .btn {
    min-height: 120px;
  }

  .step-guide-card {
    max-width: 100%;
  }

  .step-guide-card h2 {
    max-width: none;
  }

  .step-guide-card h2#skillStep7Title {
    white-space: normal;
    font-size: clamp(0.92rem, 3.2vw, 1.1rem);
  }

  .step11-global-download-card #step11GlobalDownloadTitle {
    padding-right: 0;
  }

  .step11-vram-help-btn {
    position: static;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .step-guide-card > p.step5-desc {
    max-width: none;
  }

  .step-guide-card h2.step9-title {
    max-width: none;
    padding-right: 0;
  }

  .step9-helper-block {
    position: static;
    margin-top: 14px;
  }

  .step9-helper-block .step-guide-notice {
    position: static;
    width: auto;
  }

  .step11-download-actions {
    grid-template-columns: 1fr;
  }

  .step11-vram-actions {
    grid-template-columns: 1fr;
  }

  .step11-language-actions {
    grid-template-columns: 1fr;
  }

  .step-decision-actions {
    grid-template-columns: 1fr;
  }

  .step-decision-actions .btn {
    min-height: 116px;
  }

  .step-guide-nav {
    justify-content: flex-start;
  }

  .button-row .btn,
  .button-group .btn {
    width: 100%;
  }

  .comments-header,
  .comment-form-actions,
  .comment-admin-login,
  .comment-admin-tools,
  .comments-list-header,
  .comment-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .comments-header .btn,
  .comment-form-actions .btn,
  .comment-admin-login .btn {
    width: 100%;
  }

}

@media (max-width: 520px) {
  .topbar-inner {
    padding: 12px;
  }

  body.is-landing-view .dev-info-btn,
  body.is-landing-view .topbar-comment-btn,
  body.is-landing-view .lang-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 800;
  }

  .home-copyright {
    flex-direction: column;
    text-align: center;
  }

  .home-copyright p {
    font-size: 0.82rem;
  }

  .features-page-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .features-page-lead {
    line-height: 1.75;
  }

  .feature-panel {
    padding: 18px 16px;
  }
}

/* ── Landing action buttons (blue fill) ──────── */
.landing-faq-btn,
.landing-feature-btn {
  color: #fff;
  background: linear-gradient(135deg, #4fa9ff, #1975e8);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.28);
}

.landing-faq-btn:hover,
.landing-feature-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #63b5ff, #1565d8);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(31, 111, 235, 0.4);
}

/* ── FAQ page ─────────────────────────────────── */
.faq-card {
  max-width: 860px;
  margin-inline: auto;
}

.faq-page-title {
  margin: 0 0 28px;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-main);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(95, 171, 255, 0.18);
  padding: 22px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent, #3b82f6);
  line-height: 1.4;
}

.faq-answer p {
  margin: 0 0 10px;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-body, #374151);
}

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

.faq-answer ul {
  margin: 8px 0 10px 1.4em;
  padding: 0;
}

.faq-answer ul li {
  margin-bottom: 6px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-body, #374151);
}

.faq-actions {
  margin-top: 28px;
  justify-content: flex-start;
}

/* English / long-string layout (i18n) */
.step-dl-desc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: baseline;
  word-break: break-word;
}

html[lang="en"] .step-dl-desc a {
  word-break: break-all;
}

html[lang="en"] .faq-question {
  line-height: 1.38;
}

html[lang="en"] .anti-bias-h4-row {
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

html[lang="en"] .anti-bias-h4-row .btn-small {
  flex-shrink: 0;
}

html[lang="en"] .button-group .btn,
html[lang="en"] .step-guide-nav .btn,
html[lang="en"] .step-entry-actions .btn,
html[lang="en"] .landing-actions .btn {
  white-space: normal;
  text-align: center;
}

/* Brand refresh: restrained product-site visual system. */
:root {
  --bg-0: #f5f9fb;
  --bg-1: #eef5f7;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-muted: #f3f8f8;
  --text-main: #16272b;
  --text-sub: #536467;
  --primary: #2f625a;
  --primary-strong: #183f3a;
  --accent: #8b5e3c;
  --success: #2f7d59;
  --line: #d9dfdc;
  --line-strong: #b8c4bf;
  --shadow: 0 12px 30px rgba(25, 43, 44, 0.08);
  --shadow-soft: 0 8px 20px rgba(25, 43, 44, 0.06);
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
}

body {
  color: var(--text-main);
  background: linear-gradient(180deg, #f8fbfd 0%, var(--bg-0) 52%, var(--bg-1) 100%);
}

.bg-grid,
.bg-glow {
  display: none;
}

.topbar {
  backdrop-filter: none;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(22, 39, 43, 0.03);
}

.topbar-inner,
body.is-landing-view .topbar-inner {
  max-width: 1180px;
  gap: 12px;
  justify-content: space-between;
}

.brand {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 4px 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.brand:hover {
  color: var(--primary-strong);
}

.brand-copy {
  display: grid;
  gap: 0;
  line-height: 1.15;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-sub);
  font-weight: 500;
}

.main-shell {
  max-width: 1180px;
  padding-top: clamp(22px, 3vw, 38px);
}

.card,
.comment-form,
.comment-admin-panel,
.comment-item,
.step-progress,
.step-guide-notice,
.notice-box,
.home-copyright {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.card {
  box-shadow: var(--shadow);
}

.card::before,
.card::after,
.step-entry-card::before,
.step-entry-card::after,
.step-guide-card::before,
.online-access-card::before,
.features-page-card::before {
  display: none;
}

.landing-card,
.hero-card,
.flow-card,
.step-entry-card,
.step-guide-card,
.online-access-card,
.features-page-card {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.landing-card {
  max-width: 1120px;
  min-height: auto;
  margin-inline: auto;
  padding: clamp(30px, 5.8vw, 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 4px solid var(--primary);
}

.landing-logo:is(img, video) {
  width: clamp(118px, 12vw, 168px);
  margin: 0 0 26px;
  opacity: 1;
  filter: none;
  animation: none;
}

.landing-title {
  margin: 0 auto;
  max-width: 100%;
  color: var(--text-main);
  text-align: center;
}

.landing-title .landing-title-line,
.landing-footnote .landing-footnote-en-line {
  text-align: center;
}

.landing-carousel {
  width: min(760px, 100%);
  margin: 34px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  box-shadow: var(--shadow-soft);
}

.landing-carousel-window {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  background: #edf5f7;
}

.landing-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 64px 28px 28px;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.landing-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(248, 251, 252, 0.78);
}

.landing-slide > * {
  position: relative;
  z-index: 1;
}

.landing-slide:nth-child(1) {
  background-image: url("./images/BJ01.png");
}

.landing-slide:nth-child(2) {
  background-image: url("./images/BJ02.png");
}

.landing-slide:nth-child(3) {
  background-image: url("./images/BJ03.png");
}

.landing-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.landing-slide-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 1.18em;
  margin: 0 auto;
  max-width: none;
  color: var(--text-main);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.18;
  white-space: nowrap;
}

.landing-slide-desc {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--text-sub);
  font-size: clamp(1.2rem, 2vw, 1.42rem);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.landing-slide-desc-balanced {
  white-space: pre-line;
}

.landing-slide-cta {
  margin-top: 8px;
  min-height: 48px;
  padding: 13px 22px;
}

.landing-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.landing-carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.landing-carousel-dot,
.landing-carousel-arrow {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--primary-strong);
  cursor: pointer;
}

.landing-carousel-dot {
  width: 34px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.landing-carousel-dot.is-active {
  width: 48px;
  background: var(--primary);
  border-color: var(--primary);
}

.landing-carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.landing-carousel-arrow:hover,
.landing-carousel-dot:hover {
  border-color: var(--primary);
  background: #ffffff;
}

.landing-footnote,
html[lang="en"] .landing-footnote {
  max-width: none;
  margin: 30px auto 0;
  color: var(--text-sub);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
}

html[lang="en"] .landing-footnote {
  font-size: 0.86rem;
  line-height: 1.7;
}

.btn {
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  box-shadow: none;
  letter-spacing: 0;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.brand:focus-visible,
.landing-carousel-arrow:focus-visible,
.landing-carousel-dot:focus-visible {
  outline: 3px solid rgba(47, 98, 90, 0.24);
  outline-offset: 2px;
}

.btn-primary,
.landing-faq-btn,
.landing-feature-btn,
.home-dev-info-btn,
body.is-landing-view .dev-info-btn,
body.is-landing-view .topbar-comment-btn,
body.is-landing-view .lang-btn {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: none;
  filter: none;
}

.btn-primary:hover,
.landing-faq-btn:hover,
.landing-feature-btn:hover,
.home-dev-info-btn:hover,
body.is-landing-view .dev-info-btn:hover,
body.is-landing-view .topbar-comment-btn:hover,
body.is-landing-view .lang-btn:hover {
  color: #fff;
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  box-shadow: none;
  filter: none;
}

.btn-primary:active,
.home-dev-info-btn:active,
body.is-landing-view .dev-info-btn:active,
body.is-landing-view .topbar-comment-btn:active,
body.is-landing-view .lang-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary,
.btn-success {
  color: #fff;
  background: #526f74;
  border-color: #526f74;
  box-shadow: none;
}

.btn-secondary:hover,
.btn-success:hover {
  color: #fff;
  background: #3f5f64;
  border-color: #3f5f64;
}

.btn-outline {
  color: var(--primary-strong);
  background: #ffffff;
  border-color: var(--line-strong);
}

.btn-outline:hover {
  color: var(--primary-strong);
  background: var(--surface-muted);
  border-color: var(--primary);
}

body.is-landing-view .dev-info-btn,
body.is-landing-view .topbar-comment-btn,
body.is-landing-view .lang-btn,
.home-dev-info-btn {
  flex: 0 1 auto;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--primary-strong);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
}

.dev-info-btn {
  margin-left: auto;
}

body.is-landing-view .dev-info-btn:hover,
body.is-landing-view .topbar-comment-btn:hover,
body.is-landing-view .lang-btn:hover,
.home-dev-info-btn:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.hero-card {
  max-width: 900px;
  margin-inline: auto;
  text-align: left;
}

.hero-title,
.flow-card h2,
.step-entry-card h2,
.step-guide-card h2,
.step-guide-card h2.step3-heading,
.online-access-card h2,
.features-page-title,
.faq-page-title {
  color: var(--text-main);
  letter-spacing: 0;
}

.hero-title {
  max-width: none;
  margin: 0 0 22px;
  white-space: nowrap;
}

.hero-card .button-group {
  justify-content: space-between;
  max-width: none;
  width: 100%;
  margin: 0;
  gap: 14px;
}

.hero-card .button-group .btn {
  flex: 1 1 0;
  width: auto;
  max-width: 100%;
  min-height: 96px;
  aspect-ratio: auto;
  padding: 20px;
  justify-content: flex-start;
  text-align: left;
  font-size: clamp(1.02rem, 1vw + 0.82rem, 1.24rem);
  line-height: 1.45;
}

.hero-card .button-group .btn-secondary {
  color: #fff;
  background: #000000;
  border-color: #000000;
}

.hero-card .button-group .btn-secondary:hover {
  color: #fff;
  background: #000000;
  border-color: #000000;
}

.flow-card p,
.step-entry-desc,
.step-guide-card > p,
.online-access-card p,
.features-page-lead,
.feature-list,
.anti-bias-card ul,
.comment-content,
.faq-answer p,
.faq-answer ul li {
  color: var(--text-sub);
}

.step-entry-card,
.step-guide-card,
.online-access-card {
  overflow: visible;
  border-top: 4px solid rgba(47, 98, 90, 0.22);
}

.step-entry-card h2,
.step-guide-card h2,
.step-guide-card h2.step3-heading,
#step1Title,
.step-guide-card h2[id^="step"],
#step17SuccessTitle .step18-title-line,
#step20Title .step20-title-line {
  color: var(--text-main) !important;
  font-weight: 750 !important;
}

.step-progress {
  background: var(--surface-muted);
  border-color: var(--line);
}

.step-progress-value {
  color: var(--primary-strong);
}

.step-progress-segment {
  height: 10px;
  background: #dce8e8;
  box-shadow: none;
}

.step-progress-segment.is-filled,
.step-progress-segment.is-current {
  background: var(--primary);
  box-shadow: none;
}

.step-progress-segment.is-current {
  transform: scaleY(1.18);
}

.step-entry-actions .btn,
.step-decision-actions .btn,
.step11-download-actions .btn,
.step11-vram-actions .btn,
.step11-language-actions .btn,
.online-access-actions .btn {
  border-radius: var(--radius-md);
  box-shadow: none;
}

.step-entry-actions .btn::after {
  display: none;
}

.step-entry-actions .btn-primary,
.step-entry-actions .btn-secondary,
.step-decision-actions .btn,
.step11-download-actions .btn,
.step11-vram-actions .btn,
.step11-language-actions .btn {
  color: var(--text-main);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.step-entry-actions .btn-primary:hover,
.step-entry-actions .btn-secondary:hover,
.step-decision-actions .btn:hover,
.step11-download-actions .btn:hover,
.step11-vram-actions .btn:hover,
.step11-language-actions .btn:hover {
  color: var(--text-main);
  background: #ffffff;
  border-color: var(--primary);
}

.step-guide-nav {
  border-top-color: var(--line);
}

.step-guide-card .step-image,
.step-image,
.example-image-card .example-full-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.online-access-card {
  text-align: left;
}

.online-access-card h2 {
  max-width: 22ch;
  margin-left: 0;
  margin-right: 0;
}

.online-access-card p {
  margin-left: 0;
  margin-right: 0;
}

.online-access-actions {
  justify-content: flex-start;
}

.features-page-card {
  text-align: left;
}

.features-page-shell {
  --features-tile-height: 148px;
}

.features-page-title {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
}

.features-page-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  color: var(--text-sub);
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

.features-page-lead p {
  margin-top: 0;
  margin-bottom: 0.9em;
}

.features-page-lead p:last-child {
  margin-bottom: 0;
}

.feature-panel,
.features-page-actions .btn,
.features-page-grid > .btn {
  color: #ffffff;
  background: #000000;
  border: 1px solid #000000;
  border-radius: var(--radius-lg);
  box-shadow: none;
  backdrop-filter: none;
}

.feature-panel-title {
  color: #ffffff;
}

.feature-panel-button {
  color: #ffffff;
  text-align: center;
}

.feature-panel-button:hover,
.features-page-actions .btn:hover,
.features-page-grid > .btn:hover {
  color: #ffffff;
  background: #000000;
  border-color: #000000;
  box-shadow: none;
  filter: none;
}

.developer-card .expert-profile {
  gap: clamp(24px, 4vw, 48px);
}

.expert-photo-frame {
  padding: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.expert-photo,
.expert-photo-monogram {
  border-radius: calc(var(--radius-lg) - 1px);
  background: #fff;
}

.expert-photo-monogram {
  color: #fff;
  background: var(--primary-strong);
  text-shadow: none;
}

.expert-name,
.anti-bias-card h3,
.anti-bias-card h4,
.example-image-card .example-image-title,
.faq-question {
  color: var(--text-main);
}

.expert-role,
.comments-kicker {
  color: var(--primary-strong);
  border-bottom-color: var(--line);
}

.anti-bias-h4-row .btn.btn-outline,
.step9-helper-block > #usernameHelpBtn,
.step11-download-actions .btn-secondary {
  color: var(--primary-strong);
  background: #ffffff;
  border-color: var(--line-strong);
  box-shadow: none;
}

.anti-bias-h4-row .btn.btn-outline:hover,
.step9-helper-block > #usernameHelpBtn:hover,
.step11-download-actions .btn-secondary:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.step-guide-notice,
.notice-box,
.comment-admin-panel {
  background: var(--surface-muted);
  border-color: var(--line);
}

.step-guide-notice p,
.step-guide-card > p.step17-command-intro,
.step-guide-card > p.step17-success-note,
#step20Title .step20-sub-line {
  color: var(--primary-strong);
}

#step17SuccessTitle .step18-download-url {
  color: var(--primary-strong);
}

#step20Title .step20-command-box,
.step-guide-card > p.step17-command-line {
  color: #233134;
  background: #eef5f5;
  border-color: var(--line);
  border-radius: var(--radius-sm);
}

.comment-field input,
.comment-field textarea {
  color: var(--text-main);
  background: #fff;
  border-color: var(--line-strong);
  border-radius: var(--radius-sm);
}

.comment-field input:focus,
.comment-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 98, 90, 0.16);
}

#commentsCount {
  color: #fff;
  background: var(--primary);
}

.comment-delete-btn {
  color: #9b2f24;
  border-color: rgba(155, 47, 36, 0.32);
}

.home-copyright {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

.home-copyright img {
  border-color: var(--line);
}

.home-copyright p,
.site-footer p {
  color: var(--text-sub);
}

@media (prefers-reduced-motion: reduce) {
  .landing-slide {
    transition: none;
  }
}

@media (max-width: 900px) {
  .topbar-inner,
  body.is-landing-view .topbar-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 100%;
  }

  body.is-landing-view .dev-info-btn,
  body.is-landing-view .topbar-comment-btn,
  body.is-landing-view .lang-btn {
    flex: 1 1 calc(33.333% - 8px);
  }

  .dev-info-btn {
    margin-left: 0;
  }

  .hero-card,
  .online-access-card,
  .features-page-card {
    text-align: left;
  }

  .landing-card {
    text-align: center;
  }

  .landing-title,
  .hero-title {
    max-width: 100%;
  }

  .landing-title .landing-title-line:last-child {
    white-space: normal;
    font-size: 0.68em;
  }

  .hero-card .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card .button-group .btn {
    width: 100%;
  }

  .hero-title,
  #step11GlobalDownloadTitle {
    white-space: normal;
  }

  .features-page-grid > :nth-child(6) {
    grid-column: auto;
  }

  .step11-download-actions {
    width: 100%;
    min-width: 0;
  }

  .step11-download-actions .btn,
  .step-guide-card h2,
  .step-guide-card > p.step17-command-line {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 520px) {
  .brand-subtitle {
    display: none;
  }

  body.is-landing-view .dev-info-btn,
  body.is-landing-view .topbar-comment-btn,
  body.is-landing-view .lang-btn {
    flex-basis: 100%;
    justify-content: center;
  }

  .landing-carousel {
    padding: 18px;
  }

  .landing-carousel-window {
    min-height: 340px;
  }

  .landing-slide-cta {
    width: 100%;
  }
}

button:hover,
.btn:hover,
a.btn:hover {
  color: #fff !important;
  background: #168a61 !important;
  border-color: #168a61 !important;
}

button:hover *,
.btn:hover *,
a.btn:hover * {
  color: inherit !important;
}

/* ════════════════════════════════════════════════
   English (en) reading & alignment refinements
   Only targets html[lang="en"]; the Chinese (zh-CN)
   layout is intentionally left untouched. Goals:
   – even word spacing (no justified "rivers")
   – consistent line-height / paragraph rhythm
   – tidy wrapping, no cramped or ragged blocks
   ════════════════════════════════════════════════ */

/* Latin script reads best flush-left: justify + inter-character
   spacing (meant for CJK) makes English word gaps uneven. */
html[lang="en"] .features-page-lead,
html[lang="en"] .developer-expert-bio,
html[lang="en"] .flow-card > p,
html[lang="en"] .flow-card p,
html[lang="en"] .step-guide-card > p,
html[lang="en"] .step-entry-desc,
html[lang="en"] .online-access-card p,
html[lang="en"] .anti-bias-card p,
html[lang="en"] .anti-bias-card li,
html[lang="en"] .faq-answer p,
html[lang="en"] .faq-answer li,
html[lang="en"] .comments-desc {
  text-align: left;
  text-align-last: left;
  text-justify: auto;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Comfortable, uniform reading measure + rhythm for long-form English. */
html[lang="en"] .features-page-lead {
  max-width: 78ch;
  margin-inline: auto;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.14rem);
  line-height: 1.72;
  font-weight: 500;
}

html[lang="en"] .features-page-lead p + p {
  margin-top: 0.85em;
}

/* Article bodies: one consistent line-height across views. */
html[lang="en"] .anti-bias-card p,
html[lang="en"] .anti-bias-card li,
html[lang="en"] .faq-answer p,
html[lang="en"] .faq-answer li,
html[lang="en"] .step-guide-card > p,
html[lang="en"] .flow-card > p {
  line-height: 1.7;
}

/* Even spacing between list items so blocks don't feel crowded. */
html[lang="en"] .anti-bias-card ul {
  padding-left: 1.35em;
}

html[lang="en"] .anti-bias-card li {
  margin-bottom: 0.6em;
}

html[lang="en"] .anti-bias-card li:last-child {
  margin-bottom: 0;
}

/* Headings: keep multi-line English titles readable, not cramped. */
html[lang="en"] .anti-bias-card h2 {
  line-height: 1.32;
  margin-bottom: 0.7em;
  overflow-wrap: break-word;
}

html[lang="en"] .anti-bias-card h3 {
  line-height: 1.4;
  margin: 1.3em 0 0.55em;
}

html[lang="en"] .anti-bias-card h4 {
  line-height: 1.45;
  overflow-wrap: break-word;
}

/* The "View example" button next to each H4 should align to the
   first line of an English heading that wraps to several lines. */
html[lang="en"] .anti-bias-h4-row {
  align-items: flex-start;
  gap: 10px 18px;
}

html[lang="en"] .anti-bias-h4-row .btn-small {
  margin-top: 1px;
  line-height: 1.3;
}

/* Workflow principle paragraphs: balanced, evenly spaced blocks. */
html[lang="en"] [data-view="principle"] .step-guide-card > p,
html[lang="en"] [data-view="principle"] .flow-card > p {
  max-width: 78ch;
  margin-bottom: 1em;
  line-height: 1.72;
}

/* Long English step / section titles: prevent tight, ragged wrapping. */
html[lang="en"] .step-guide-card h2,
html[lang="en"] .step-entry-card h2,
html[lang="en"] .online-access-card h2,
html[lang="en"] .flow-card h2 {
  line-height: 1.3;
  overflow-wrap: break-word;
}

/* Composition/principle article: even paragraph gaps. */
html[lang="en"] [data-i18n-html="compositionPrincipleArticleHtml"] p {
  text-align: left;
  line-height: 1.72;
  margin-bottom: 0.9em;
}

html[lang="en"] [data-i18n-html="compositionPrincipleArticleHtml"] p:last-child {
  margin-bottom: 0;
}

/* ────────────────────────────────────────────────
   English refinements (cont.): balanced wrapping,
   comfortable measure, tidy cards & responsiveness.
   Scoped to html[lang="en"] only — zh-CN untouched.
   ──────────────────────────────────────────────── */

/* Balanced multi-line wrapping for English headings so wrapped titles
   break into even lines instead of a long line + one orphan word.
   text-wrap:balance degrades gracefully where unsupported. */
html[lang="en"] .feature-panel-title,
html[lang="en"] .landing-slide-title,
html[lang="en"] .step-guide-card h2,
html[lang="en"] .step-entry-card h2,
html[lang="en"] .online-access-card h2,
html[lang="en"] .flow-card h2,
html[lang="en"] .anti-bias-card h2,
html[lang="en"] .anti-bias-card h3,
html[lang="en"] .anti-bias-card h4,
html[lang="en"] .faq-question {
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Feature tile titles: line spacing tuned for wrapped English. */
html[lang="en"] .feature-panel-title {
  line-height: 1.45;
  letter-spacing: 0;
}

/* Long English bio: cap reading measure on wide screens + steady rhythm. */
html[lang="en"] .developer-expert-bio {
  max-width: 70ch;
  line-height: 1.7;
}

/* Slide descriptions: keep centered (matches zh) but wrap evenly. */
html[lang="en"] .landing-slide-desc {
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Comments intro copy: flush-left English with a comfortable measure. */
html[lang="en"] .comments-desc {
  text-align: left;
  max-width: 64ch;
  line-height: 1.6;
}

/* FAQ answers: even spacing between stacked paragraphs. */
html[lang="en"] .faq-answer p + p {
  margin-top: 0.7em;
}

/* Phones: let long-form English use full width and a tighter rhythm
   so lines never run uncomfortably long or feel cramped. */
@media (max-width: 640px) {
  html[lang="en"] .features-page-lead,
  html[lang="en"] [data-view="principle"] .step-guide-card > p,
  html[lang="en"] [data-view="principle"] .flow-card > p,
  html[lang="en"] .developer-expert-bio {
    max-width: 100%;
    line-height: 1.65;
  }
}

/* Commercial visual refresh */
:root {
  --bg-0: #f4f8fb;
  --bg-1: #e8f1f6;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --surface-muted: #f5f9fb;
  --text-main: #0a1f33;
  --text-sub: #466176;
  --primary: #0c6bff;
  --primary-strong: #0648b6;
  --accent: #00a6a6;
  --success: #0b8f63;
  --warning: #f2a516;
  --line: rgba(28, 50, 70, 0.12);
  --line-strong: rgba(12, 107, 255, 0.28);
  --shadow: 0 24px 60px rgba(8, 31, 55, 0.12);
  --shadow-soft: 0 12px 32px rgba(8, 31, 55, 0.08);
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
}

html {
  background: #f4f8fb;
}

body {
  color: var(--text-main);
  background:
    linear-gradient(115deg, rgba(12, 107, 255, 0.08) 0%, rgba(12, 107, 255, 0) 34%),
    linear-gradient(245deg, rgba(0, 166, 166, 0.11) 0%, rgba(0, 166, 166, 0) 36%),
    linear-gradient(180deg, #f9fbfd 0%, #eef5f8 52%, #f8fafc 100%);
}

.bg-grid {
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(10, 31, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 51, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black 0%, transparent 72%);
}

.bg-glow {
  display: none;
}

.topbar {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(10, 31, 51, 0.1);
  box-shadow: 0 10px 28px rgba(8, 31, 55, 0.08);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  max-width: 1280px;
  padding: 12px 20px;
  gap: 12px;
}

.brand {
  position: relative;
  min-height: 48px;
  padding: 6px 0 6px 52px;
  color: var(--text-main);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #000000;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.brand::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  transform: translateY(-50%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--text-sub);
  font-size: 0.78rem;
  font-weight: 700;
}

.main-shell {
  max-width: 1280px;
  padding-top: 34px;
}

.card,
.landing-card,
.hero-card,
.flow-card,
.step-entry-card,
.step-guide-card,
.online-access-card,
.features-page-card,
.faq-card,
.comments-card,
.anti-bias-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card::before,
.card::after,
.landing-card::before,
.landing-card::after,
.step-guide-card::before,
.features-page-card::before {
  display: none;
}

.landing-card {
  position: relative;
  width: 100%;
  max-width: 1180px;
  min-height: 560px;
  margin-inline: auto;
  padding: 52px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  grid-template-rows: auto 1fr;
  gap: 28px 42px;
  align-items: center;
  overflow: hidden;
  text-align: left;
  border-top: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(237, 249, 247, 0.9) 100%),
    linear-gradient(135deg, rgba(12, 107, 255, 0.13), rgba(0, 166, 166, 0.14));
}

.landing-card > * {
  position: relative;
  z-index: 1;
}

.landing-card::after {
  content: "";
  display: block;
  position: absolute;
  inset: auto -80px -120px auto;
  width: 420px;
  height: 320px;
  background:
    linear-gradient(135deg, rgba(12, 107, 255, 0.11), rgba(0, 166, 166, 0.12)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0 10px, rgba(255, 255, 255, 0) 10px 20px);
  transform: rotate(-12deg);
  pointer-events: none;
}

.landing-title {
  align-items: flex-start;
  margin: 0;
  color: var(--text-main);
  text-align: left;
}

.landing-title .landing-title-line {
  width: auto;
  max-width: 100%;
  text-align: left;
  text-wrap: balance;
}

.landing-title .landing-title-line:first-child {
  font-size: 4.1rem;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.landing-title .landing-title-line:last-child {
  max-width: 17em;
  margin-top: 14px;
  color: #16324a;
  font-size: 1.28rem;
  font-weight: 760;
  line-height: 1.45;
  white-space: normal;
}

.landing-footnote,
html[lang="en"] .landing-footnote {
  grid-column: 1;
  margin: 0;
  max-width: 50em;
  color: var(--text-sub);
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.82;
  text-align: left;
}

html[lang="zh-CN"] .landing-footnote {
  display: flex;
  flex-direction: column;
  gap: 0.65em;
}

html[lang="zh-CN"] .landing-footnote .landing-footnote-line {
  display: block;
}

.landing-carousel {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(10, 31, 51, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 56px rgba(8, 31, 55, 0.14);
}

.landing-carousel-window {
  min-height: 420px;
  border-radius: 8px;
  background: #071e34;
}

.landing-slide {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 56px;
  text-align: left;
}

.landing-slide::before {
  background:
    linear-gradient(90deg, rgba(5, 22, 38, 0.92) 0%, rgba(5, 22, 38, 0.62) 45%, rgba(5, 22, 38, 0.16) 100%),
    linear-gradient(0deg, rgba(5, 22, 38, 0.72), rgba(5, 22, 38, 0));
}

.landing-slide-title {
  justify-content: flex-start;
  max-width: 13em;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.14;
  text-align: left;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  white-space: normal;
  text-wrap: balance;
}

.landing-slide-desc {
  max-width: 32em;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.06rem;
  font-weight: 650;
  line-height: 1.72;
  text-align: left;
}

.landing-slide-cta {
  margin-top: 12px;
}

.landing-carousel-controls {
  padding: 12px 2px 0;
  border-top: 0;
}

.landing-carousel-dot,
.landing-carousel-arrow {
  border-color: rgba(10, 31, 51, 0.16);
  background: #ffffff;
  color: var(--primary-strong);
}

.landing-carousel-dot.is-active {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-color: transparent;
}

.landing-carousel-arrow {
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(8, 31, 55, 0.08);
}

.landing-carousel-window .landing-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.landing-carousel-window .landing-carousel-arrow-prev {
  left: 14px;
}

.landing-carousel-window .landing-carousel-arrow-next {
  right: 14px;
}

.brand:hover {
  color: var(--text-main) !important;
  background: transparent !important;
  border-color: transparent !important;
}

.landing-carousel-arrow:hover,
.workflow-carousel-arrow:hover {
  color: var(--primary-strong) !important;
  background: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 14px 28px rgba(8, 31, 55, 0.12);
}

.landing-carousel-dot:hover,
.workflow-carousel-dot:hover {
  background: #ffffff !important;
  border-color: var(--primary) !important;
}

.landing-carousel-dot.is-active:hover,
.workflow-carousel-dot.is-active:hover {
  background: linear-gradient(90deg, var(--primary), var(--accent)) !important;
  border-color: transparent !important;
}

.hero-card,
.flow-card,
.step-entry-card,
.step-guide-card,
.online-access-card,
.features-page-card,
.faq-card,
.comments-card,
.anti-bias-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
}

.hero-card {
  max-width: 1080px;
  text-align: left;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 253, 0.98) 54%, rgba(238, 249, 247, 0.94) 100%);
}

.hero-title {
  max-width: none;
  margin: 0 0 26px;
  color: var(--text-main);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.16;
  white-space: normal;
  text-wrap: balance;
}

.hero-card .button-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: none;
}

.hero-card .button-group .btn {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 144px;
  aspect-ratio: auto;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  overflow: hidden;
  text-align: left;
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.42;
  border-radius: 8px;
}

.hero-card .button-group .btn::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 24px;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.hero-hint {
  max-width: 72em;
  margin: 22px 0 0;
  padding: 16px 18px;
  color: #365a72;
  background: rgba(0, 166, 166, 0.08);
  border: 1px solid rgba(0, 166, 166, 0.16);
  border-radius: 8px;
  text-align: left;
}

.btn,
a.btn,
button.btn {
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
}

.btn-primary,
a.btn-primary,
button.btn-primary,
.online-access-actions .btn-primary,
.step-cta-group .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, #074fc9 58%, var(--accent) 100%);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(12, 107, 255, 0.22);
}

.hero-card .button-group .btn-primary,
.hero-card .button-group .btn-secondary {
  color: #ffffff;
  background: #000000;
  border-color: #000000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.hero-card .button-group .btn:nth-child(1) {
  background-image: url("./images/shiyong1.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-card .button-group .btn:nth-child(2) {
  background-image: url("./images/shiyong2.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-card .button-group .btn:nth-child(3) {
  background-image: url("./images/shiyong3.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-secondary,
a.btn-secondary,
button.btn-secondary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, #087f73 100%);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(0, 166, 166, 0.2);
}

.btn-outline,
a.btn-outline,
button.btn-outline,
.home-dev-info-btn {
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 22px rgba(8, 31, 55, 0.06);
}

body.is-landing-view .topbar-comment-btn,
body.is-landing-view .lang-btn {
  color: #000000;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #000000;
  box-shadow: 0 10px 22px rgba(8, 31, 55, 0.06);
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-secondary:hover,
a.btn-secondary:hover,
button.btn-secondary:hover,
.landing-slide-cta:hover,
.online-access-actions .btn-primary:hover,
.step-cta-group .btn-primary:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #075ee6 0%, #053e9c 58%, #008f8f 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 18px 36px rgba(12, 107, 255, 0.28);
  filter: none;
}

.hero-card .button-group .btn-primary:hover,
.hero-card .button-group .btn-secondary:hover {
  color: #ffffff !important;
  border-color: #000000 !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  filter: none;
}

.hero-card .button-group .btn:nth-child(1):hover {
  background-image: url("./images/shiyong1.png") !important;
  background-position: center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

.hero-card .button-group .btn:nth-child(2):hover {
  background-image: url("./images/shiyong2.png") !important;
  background-position: center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

.hero-card .button-group .btn:nth-child(3):hover {
  background-image: url("./images/shiyong3.png") !important;
  background-position: center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover,
.home-dev-info-btn:hover {
  color: var(--primary-strong) !important;
  background: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 14px 28px rgba(8, 31, 55, 0.1);
  filter: none;
}

body.is-landing-view .topbar-comment-btn:hover,
body.is-landing-view .lang-btn:hover {
  color: #000000 !important;
  background: #ffffff !important;
  border: 2px solid #000000 !important;
  box-shadow: 0 14px 28px rgba(8, 31, 55, 0.1);
  filter: none;
}

.flow-card h2,
.step-entry-card h2,
.step-guide-card h2,
.online-access-card h2,
.features-page-title,
.faq-page-title,
.comments-card h2,
.anti-bias-card h2 {
  color: var(--text-main) !important;
  font-size: 2rem;
  font-weight: 900 !important;
  line-height: 1.22;
  text-wrap: balance;
}

.flow-card p,
.step-entry-desc,
.step-guide-card > p,
.online-access-card p,
.features-page-lead,
.faq-answer p,
.faq-answer ul li,
.anti-bias-card p,
.anti-bias-card li,
.comments-desc {
  color: var(--text-sub);
}

.step-entry-card,
.step-guide-card,
.online-access-card {
  border-top: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 253, 0.98) 100%);
}

.step-guide-card > p {
  max-width: 74em;
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 1.82;
}

.step-guide-card .step-image,
.step-image,
.example-image-card .example-full-image,
.workflow-carousel {
  border-radius: 8px;
  border: 1px solid rgba(10, 31, 51, 0.12);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(8, 31, 55, 0.12);
}

.step-guide-nav,
.button-row {
  gap: 12px;
}

.step-guide-nav {
  border-top: 1px solid var(--line);
}

.step-progress {
  border-radius: 8px;
  border-color: var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.step-progress-segment {
  background: rgba(12, 107, 255, 0.12);
  border-radius: 4px;
}

.step-progress-segment.is-filled,
.step-progress-segment.is-current {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.features-page-card {
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 253, 0.98) 62%, rgba(242, 248, 246, 0.96) 100%);
}

.features-page-title {
  margin-bottom: 20px;
  font-size: 3.1rem;
}

.features-page-lead {
  max-width: 78em;
  margin-left: 0;
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 1.82;
}

.features-page-grid,
.features-page-actions {
  gap: 16px;
}

.feature-panel,
.features-page-actions .btn,
.features-page-grid > .btn {
  position: relative;
  min-height: 156px;
  height: auto;
  padding: 24px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #000000;
  background: #000000;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.feature-panel::before,
.features-page-actions .btn::before,
.features-page-grid > .btn::before,
.features-page-grid > :nth-child(2)::before,
.features-page-grid > :nth-child(3)::before,
.features-page-grid > :nth-child(4)::before,
.features-page-grid > :nth-child(5)::before,
.features-page-grid > :nth-child(6)::before {
  display: none;
}

.feature-panel-title,
.features-page-actions .btn,
.features-page-grid > .btn {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.48;
}

.feature-panel-button,
.feature-panel-button:hover,
.features-page-actions .btn,
.features-page-grid > .btn,
.features-page-actions .btn:hover,
.features-page-grid > .btn:hover {
  color: #ffffff !important;
  background: #000000 !important;
  border-color: #000000 !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  filter: none;
}

.feature-panel-button:hover,
.features-page-actions .btn:hover,
.features-page-grid > .btn:hover {
  transform: translateY(-3px);
  border-color: #000000 !important;
}

.faq-item,
.comment-form,
.comment-admin-panel,
.comment-item,
.notice-box,
.step-guide-notice {
  border-radius: 8px;
  border-color: var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  color: var(--text-main);
  font-weight: 900;
}

.comment-field input,
.comment-field textarea {
  border-radius: 8px;
  border-color: var(--line);
  background: #ffffff;
}

.comment-field input:focus,
.comment-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(12, 107, 255, 0.12);
}

.home-copyright {
  border-radius: 8px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(8, 31, 55, 0.06);
}

.home-copyright img {
  border-radius: 8px;
}

.site-footer {
  padding-bottom: 28px;
}

@media (max-width: 1080px) {
  .landing-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
    padding: 36px;
  }

  .landing-carousel {
    grid-column: 1;
    grid-row: auto;
  }

  .landing-footnote {
    grid-column: 1;
  }

  .landing-title .landing-title-line:first-child {
    font-size: 3.2rem;
  }
}

@media (max-width: 900px) {
  .topbar-inner,
  body.is-landing-view .topbar-inner {
    align-items: stretch;
  }

  .brand {
    flex-basis: 100%;
  }

  .landing-card,
  .hero-card,
  .flow-card,
  .step-entry-card,
  .step-guide-card,
  .online-access-card,
  .features-page-card,
  .faq-card,
  .comments-card,
  .anti-bias-card {
    padding: 28px;
  }

  .landing-title .landing-title-line:first-child {
    font-size: 2.6rem;
  }

  .landing-title .landing-title-line:last-child {
    font-size: 1.08rem;
  }

  .landing-carousel-window {
    min-height: 360px;
  }

  .landing-slide {
    padding: 36px;
  }

  .hero-card .button-group {
    grid-template-columns: 1fr;
  }

  .hero-card .button-group .btn {
    min-height: 118px;
  }

  .features-page-grid,
  .features-page-actions {
    grid-template-columns: 1fr;
  }

  .features-page-grid > *,
  .features-page-actions > *,
  .features-page-grid > :nth-child(4),
  .features-page-grid > :nth-child(5),
  .features-page-grid > :nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .main-shell {
    padding: 18px 12px 32px;
  }

  .landing-card,
  .hero-card,
  .flow-card,
  .step-entry-card,
  .step-guide-card,
  .online-access-card,
  .features-page-card,
  .faq-card,
  .comments-card,
  .anti-bias-card {
    padding: 22px;
  }

  .landing-title .landing-title-line:first-child {
    font-size: 2.1rem;
  }

  .landing-title .landing-title-line:last-child {
    font-size: 1rem;
  }

  .landing-carousel {
    padding: 8px;
  }

  .landing-carousel-window {
    min-height: 340px;
  }

  .landing-slide {
    padding: 28px 22px;
  }

  .landing-slide-title {
    font-size: 1.7rem;
  }

  .landing-slide-desc {
    font-size: 0.96rem;
  }

  .hero-title,
  .features-page-title,
  .flow-card h2,
  .step-entry-card h2,
  .step-guide-card h2,
  .online-access-card h2,
  .faq-page-title {
    font-size: 1.72rem;
  }

  .brand {
    padding-left: 46px;
  }

  .brand::before {
    width: 36px;
    height: 36px;
  }
}

/* Home usage entries: enlarged auto-rotating carousel */
.hero-card .button-group.home-actions-carousel {
  position: relative;
  display: block;
  grid-template-columns: none;
  width: 100%;
  max-width: none;
  min-height: 620px;
  margin: 8px 0 0;
  padding: 0;
}

.hero-card .button-group.home-actions-carousel .btn[data-carousel-slide] {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  min-height: 620px;
  height: 620px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px 44px;
  border-radius: 18px;
  font-size: 0;
  line-height: 1.4;
  color: transparent;
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.12), 0 22px 48px rgba(0, 0, 0, 0.28);
  text-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-card .button-group.home-actions-carousel .btn[data-carousel-slide].is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 1;
}

.hero-card .button-group.home-actions-carousel .btn[data-carousel-slide]:hover {
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.22), 0 26px 56px rgba(0, 0, 0, 0.34);
}

.home-actions-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-actions-dot {
  appearance: none;
  width: 40px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.home-actions-dot.is-active {
  width: 58px;
  background: #ffffff;
}

.home-actions-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.home-actions-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-actions-arrow-prev {
  left: 18px;
  transform: translateY(-50%);
  animation: home-actions-arrow-prev-move 1.4s ease-in-out infinite;
}

.home-actions-arrow-next {
  right: 18px;
  transform: translateY(-50%);
  animation: home-actions-arrow-next-move 1.4s ease-in-out infinite;
}

.home-actions-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: #ffffff;
}

@keyframes home-actions-arrow-prev-move {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-6px); }
}

@keyframes home-actions-arrow-next-move {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-actions-arrow-prev,
  .home-actions-arrow-next {
    animation: none;
  }
}

@media (max-width: 640px) {
  .hero-card .button-group.home-actions-carousel,
  .hero-card .button-group.home-actions-carousel .btn[data-carousel-slide] {
    min-height: 420px;
    height: 420px;
  }

  .hero-card .button-group.home-actions-carousel .btn[data-carousel-slide] {
    padding: 28px 26px;
    font-size: 0;
  }

  .home-actions-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .home-actions-arrow-prev {
    left: 10px;
  }

  .home-actions-arrow-next {
    right: 10px;
  }
}

/* Features page: replace box text with function images (gn1-gn9) */
.features-page-grid > .feature-panel,
.features-page-actions > .feature-panel,
.features-page-actions > .btn {
  font-size: 0 !important;
  color: transparent !important;
  text-shadow: none !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.features-page-grid > .feature-panel .feature-panel-title,
.features-page-actions > .feature-panel .feature-panel-title {
  font-size: 0 !important;
  color: transparent !important;
  text-shadow: none !important;
}

.features-page-grid > .feature-panel:nth-child(1) {
  background-image: url("./images/gn1.png") !important;
}

.features-page-grid > .feature-panel:nth-child(2) {
  background-image: url("./images/gn2.png") !important;
}

.features-page-grid > .feature-panel:nth-child(3) {
  background-image: url("./images/gn3.png") !important;
}

.features-page-grid > .feature-panel:nth-child(4) {
  background-image: url("./images/gn4.png") !important;
}

.features-page-grid > .feature-panel:nth-child(5) {
  background-image: url("./images/gn5.png") !important;
}

.features-page-grid > .feature-panel:nth-child(6) {
  background-image: url("./images/gn6.png") !important;
}

.features-page-actions > :nth-child(1) {
  background-image: url("./images/gn7.png") !important;
}

.features-page-actions > :nth-child(2) {
  background-image: url("./images/gn8.png") !important;
}

.features-page-actions > :nth-child(3) {
  background-image: url("./images/gn9.png") !important;
}

.features-page-actions > .btn[data-nav="composition-principle"]:hover {
  background-image: url("./images/gn8.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.features-page-actions > .btn[data-nav="home"]:hover {
  background-image: url("./images/gn9.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

/* English copy balance after GluVasc translation pass */
html[lang="en"] .landing-title .landing-title-line:last-child {
  max-width: min(100%, 24em);
  font-size: clamp(1rem, 0.7vw + 0.84rem, 1.2rem);
  line-height: 1.38;
}

html[lang="en"] .landing-footnote {
  max-width: 54em;
  line-height: 1.72;
}

html[lang="en"] .landing-slide-title {
  max-width: 15em;
  font-size: clamp(1.65rem, 1.65vw + 1rem, 2.05rem);
  line-height: 1.18;
}

html[lang="en"] .landing-slide-desc {
  max-width: 34em;
  line-height: 1.62;
}

html[lang="en"] .hero-title,
html[lang="en"] .features-page-title,
html[lang="en"] .flow-card h2,
html[lang="en"] .step-entry-card h2,
html[lang="en"] .step-guide-card h2,
html[lang="en"] .online-access-card h2,
html[lang="en"] .faq-page-title,
html[lang="en"] .comments-card h2,
html[lang="en"] .anti-bias-card h2 {
  text-wrap: balance;
  line-height: 1.22;
}

html[lang="en"] .step-guide-nav .btn,
html[lang="en"] .button-row .btn,
html[lang="en"] .anti-bias-h4-row .btn-small {
  white-space: normal;
}

html[lang="en"] .anti-bias-h4-row h4 {
  min-width: 0;
}

@media (max-width: 1080px) {
  html[lang="en"] .landing-title .landing-title-line:last-child,
  html[lang="en"] .landing-footnote {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  html[lang="en"] .landing-title .landing-title-line:first-child {
    font-size: 1.95rem;
  }

  html[lang="en"] .landing-title .landing-title-line:last-child {
    font-size: 0.95rem;
    line-height: 1.42;
  }

  html[lang="en"] .landing-footnote {
    line-height: 1.62;
  }
}

/* zh-CN typography polish: spacing, line length, and responsive wrapping only. */
html[lang="zh-CN"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", sans-serif;
  line-break: loose;
  text-rendering: optimizeLegibility;
}

html[lang="zh-CN"] .landing-title,
html[lang="zh-CN"] .hero-title,
html[lang="zh-CN"] .features-page-title,
html[lang="zh-CN"] .flow-card h2,
html[lang="zh-CN"] .step-entry-card h2,
html[lang="zh-CN"] .step-guide-card h2,
html[lang="zh-CN"] .online-access-card h2,
html[lang="zh-CN"] .faq-page-title,
html[lang="zh-CN"] .comments-card h2,
html[lang="zh-CN"] .anti-bias-card h2,
html[lang="zh-CN"] .anti-bias-card h3,
html[lang="zh-CN"] .anti-bias-card h4,
html[lang="zh-CN"] .faq-question {
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

html[lang="zh-CN"] .landing-title .landing-title-line:last-child {
  max-width: min(100%, 18em);
  line-height: 1.42;
}

html[lang="zh-CN"] .landing-footnote {
  max-width: min(100%, 46em);
  gap: 0.78em;
  font-weight: 500;
  line-height: 1.86;
}

html[lang="zh-CN"] .landing-slide-title {
  max-width: 12em;
  line-height: 1.18;
}

html[lang="zh-CN"] .landing-slide-desc {
  max-width: 30em;
  font-weight: 600;
  line-height: 1.72;
}

html[lang="zh-CN"] .features-page-lead {
  max-width: min(100%, 58em);
  margin-left: 0;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.86;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

html[lang="zh-CN"] .anti-bias-card {
  max-width: 940px;
}

html[lang="zh-CN"] .anti-bias-card p,
html[lang="zh-CN"] .anti-bias-card li,
html[lang="zh-CN"] .faq-answer p,
html[lang="zh-CN"] .faq-answer li,
html[lang="zh-CN"] .step-guide-card > p,
html[lang="zh-CN"] .step-entry-desc,
html[lang="zh-CN"] .online-access-card p,
html[lang="zh-CN"] .comments-desc,
html[lang="zh-CN"] .comment-content {
  line-height: 1.82;
  overflow-wrap: break-word;
}

html[lang="zh-CN"] .anti-bias-card p,
html[lang="zh-CN"] .faq-answer p {
  margin-bottom: 0.9em;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

html[lang="zh-CN"] .anti-bias-card h2 {
  margin-bottom: 0.72em;
  line-height: 1.34;
}

html[lang="zh-CN"] .anti-bias-card h3 {
  margin: 1.55em 0 0.72em;
  line-height: 1.45;
}

html[lang="zh-CN"] .anti-bias-card h4 {
  margin: 1.18em 0 0.55em;
  line-height: 1.55;
}

html[lang="zh-CN"] .anti-bias-card ul,
html[lang="zh-CN"] .faq-answer ul {
  margin: 0.15em 0 1.05em;
  padding-left: 1.35em;
}

html[lang="zh-CN"] .anti-bias-card li,
html[lang="zh-CN"] .faq-answer li {
  margin-bottom: 0.62em;
}

html[lang="zh-CN"] .anti-bias-card li:last-child,
html[lang="zh-CN"] .faq-answer li:last-child {
  margin-bottom: 0;
}

html[lang="zh-CN"] .step-guide-nav,
html[lang="zh-CN"] .step-entry-back {
  justify-content: flex-start;
  gap: 12px;
}

html[lang="zh-CN"] .step-guide-nav .btn,
html[lang="zh-CN"] .step-entry-back .btn,
html[lang="zh-CN"] .button-row .btn,
html[lang="zh-CN"] .button-group .btn {
  white-space: normal;
  overflow-wrap: break-word;
}

html[lang="zh-CN"] .step-guide-nav .btn,
html[lang="zh-CN"] .step-entry-back .btn {
  min-width: 118px;
}

html[lang="zh-CN"] .step-entry-actions .btn,
html[lang="zh-CN"] .step-decision-actions .btn,
html[lang="zh-CN"] .step11-download-actions .btn,
html[lang="zh-CN"] .step11-vram-actions .btn,
html[lang="zh-CN"] .step11-language-actions .btn {
  align-items: flex-start;
  line-height: 1.62;
}

html[lang="zh-CN"] .comments-header {
  align-items: flex-start;
  gap: 18px 28px;
}

html[lang="zh-CN"] .comments-desc {
  max-width: 42em;
}

html[lang="zh-CN"] .comment-form {
  padding: 22px;
}

html[lang="zh-CN"] .comment-field label {
  line-height: 1.45;
}

html[lang="zh-CN"] .comment-field input,
html[lang="zh-CN"] .comment-field textarea {
  font-weight: 500;
  line-height: 1.65;
}

html[lang="zh-CN"] .comment-form-actions {
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  html[lang="zh-CN"] .features-page-lead,
  html[lang="zh-CN"] .anti-bias-card p,
  html[lang="zh-CN"] .anti-bias-card li,
  html[lang="zh-CN"] .faq-answer p,
  html[lang="zh-CN"] .faq-answer li {
    text-align: left;
    text-align-last: left;
  }

  html[lang="zh-CN"] .step-guide-nav .btn,
  html[lang="zh-CN"] .step-entry-back .btn {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  html[lang="zh-CN"] .landing-card {
    gap: 24px;
  }

  html[lang="zh-CN"] .landing-carousel-window {
    min-height: 380px;
  }

  html[lang="zh-CN"] .landing-slide {
    padding: 32px 52px 30px;
  }

  html[lang="zh-CN"] .landing-slide-title {
    max-width: 9.5em;
    font-size: clamp(1.45rem, 6.4vw, 1.68rem);
    line-height: 1.2;
  }

  html[lang="zh-CN"] .landing-slide-desc {
    max-width: 16em;
    font-size: 0.96rem;
    line-height: 1.66;
  }

  html[lang="zh-CN"] .landing-carousel-window .landing-carousel-arrow {
    width: 34px;
    height: 38px;
  }

  html[lang="zh-CN"] .landing-carousel-window .landing-carousel-arrow-prev {
    left: 10px;
  }

  html[lang="zh-CN"] .landing-carousel-window .landing-carousel-arrow-next {
    right: 10px;
  }

  html[lang="zh-CN"] .features-page-lead,
  html[lang="zh-CN"] .anti-bias-card p,
  html[lang="zh-CN"] .anti-bias-card li,
  html[lang="zh-CN"] .step-guide-card > p,
  html[lang="zh-CN"] .step-entry-desc,
  html[lang="zh-CN"] .comments-desc {
    font-size: 1rem;
    line-height: 1.78;
  }

  html[lang="zh-CN"] .anti-bias-card h3 {
    margin-top: 1.35em;
  }

  html[lang="zh-CN"] .comment-form {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  html[lang="en"] .landing-slide {
    padding: 72px 20px 26px;
  }

  html[lang="en"] .landing-carousel-window .landing-carousel-arrow {
    top: 16px;
    width: 34px;
    height: 34px;
    transform: none;
  }

  html[lang="en"] .landing-carousel-window .landing-carousel-arrow-prev {
    left: 12px;
  }

  html[lang="en"] .landing-carousel-window .landing-carousel-arrow-next {
    right: 12px;
  }

  html[lang="en"] .landing-slide-title {
    max-width: 100%;
    font-size: 1.65rem;
    line-height: 1.16;
  }

  html[lang="en"] .landing-slide-desc {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.56;
  }
}
