/* /assets/site.css */
:root {
  color-scheme: light;
  --ink-900: #12100F;
  --ink-700: #2A2624;
  --sand-50: #FAF5EC;
  --sand-200: #E8DCC9;
  --orange-500: #FF6A1A;
  --orange-100: #FFE3D2;
  --zhuhong-600: #C8302A;
  --celadon-500: #3F8F7A;
  --celadon-100: #DBEDE6;
  --gradient-action: linear-gradient(120deg, #FF6A1A, #C8302A);
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", monospace;
  --rail-w: 176px;
  --mobilebar-h: 64px;
  --content-max: 1120px;
  --page-gutter: clamp(18px, 4vw, 48px);
  --radius-fold: 2px 16px 2px 16px;
  --radius-panel: 20px 4px 20px 4px;
  --shadow-soft: 0 18px 50px rgba(18, 16, 15, 0.08);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-900);
  background-color: var(--sand-50);
  background-image:
    radial-gradient(circle at 88% 8%, rgba(255, 106, 26, 0.075), transparent 26rem),
    radial-gradient(circle at 12% 82%, rgba(63, 143, 122, 0.055), transparent 28rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  max-width: 72ch;
}

strong {
  font-weight: 700;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

img {
  height: auto;
}

::selection {
  background: var(--orange-500);
  color: var(--ink-900);
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 2px;
}

#main-content {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  background: var(--orange-500);
  color: var(--ink-900);
  font-weight: 700;
  border-radius: var(--radius-fold);
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

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

@media (min-width: 1024px) {
  body {
    padding-left: var(--rail-w);
  }
}

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 14px 16px;
  overflow: hidden;
  color: var(--sand-50);
  background:
    radial-gradient(circle at 120% 112%, rgba(255, 106, 26, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(255, 106, 26, 0.08), transparent 22%),
    var(--ink-900);
  border-right: 1px solid rgba(250, 245, 236, 0.18);
  z-index: 100;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 10px 8px;
  border: 1px solid rgba(250, 245, 236, 0.12);
  border-radius: 2px 18px 2px 18px;
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: 16%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 106, 26, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(255, 106, 26, 0.07),
    0 0 0 48px rgba(255, 106, 26, 0.045),
    0 0 0 72px rgba(63, 143, 122, 0.035);
  pointer-events: none;
}

.rail-brand,
.rail-nav,
.rail-foot {
  position: relative;
  z-index: 2;
}

.rail-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rail-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rail-brand-mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 245, 236, 0.62);
  border-radius: 50%;
  background: var(--gradient-action);
  color: var(--ink-900);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: inset 0 0 0 4px rgba(18, 16, 15, 0.12);
}

.rail-brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.25;
}

.rail-brand-text strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.rail-brand-text span {
  font-size: 10px;
  color: rgba(250, 245, 236, 0.55);
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0.5rem 0.7rem;
  color: var(--sand-50);
  background: rgba(250, 245, 236, 0.05);
  border: 1px solid rgba(250, 245, 236, 0.2);
  border-radius: var(--radius-fold);
  font-weight: 700;
}

.nav-toggle-lines {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-toggle-text {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.rail-nav {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 18px;
}

.rail-nav-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(250, 245, 236, 0.45);
}

.rail-nav-list {
  display: grid;
  gap: 2px;
  counter-reset: railnav;
}

.rail-nav-list li {
  counter-increment: railnav;
}

.rail-nav-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0.45rem 0.55rem 0.45rem 0.65rem;
  color: rgba(250, 245, 236, 0.7);
  border-left: 2px solid transparent;
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.rail-nav-list a::before {
  content: counter(railnav, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 106, 26, 0.7);
  letter-spacing: 0.04em;
  transform: translateY(-1px);
}

.rail-nav-list a:hover {
  color: var(--sand-50);
  background: rgba(250, 245, 236, 0.06);
  border-left-color: rgba(255, 106, 26, 0.55);
}

.rail-nav-list a[aria-current="page"] {
  color: var(--sand-50);
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.22), rgba(255, 106, 26, 0.04) 70%, transparent);
  border-left-color: var(--orange-500);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 26, 0.18);
}

.rail-nav-list a[aria-current="page"]::before {
  color: var(--orange-500);
}

.rail-utility {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.rail-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid transparent;
  border-radius: var(--radius-fold);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}

.rail-action--primary {
  background: var(--orange-500);
  color: var(--ink-900);
}

.rail-action--primary:hover {
  background-image: var(--gradient-action);
  color: var(--sand-50);
  transform: translateY(-1px);
}

.rail-action--secondary {
  background: rgba(250, 245, 236, 0.05);
  color: var(--sand-50);
  border-color: rgba(250, 245, 236, 0.22);
}

.rail-action--secondary:hover {
  background: rgba(250, 245, 236, 0.1);
  border-color: var(--orange-500);
  color: var(--orange-100);
}

.rail-meta {
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: rgba(250, 245, 236, 0.46);
}

.rail-foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.65rem;
  color: var(--sand-50);
  background: rgba(250, 245, 236, 0.04);
  border: 1px solid rgba(250, 245, 236, 0.18);
  border-radius: var(--radius-fold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), border-color 0.18s, color 0.18s;
}

.rail-top[data-visible="true"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.rail-top:hover {
  border-color: var(--orange-500);
  color: var(--orange-100);
}

.rail-top-arrow {
  font-size: 15px;
  line-height: 1;
}

.rail-progress {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: rgba(250, 245, 236, 0.08);
  pointer-events: none;
  z-index: 3;
}

.rail-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gradient-action);
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}

@media (max-width: 1023px) {
  body {
    padding-left: 0;
  }

  .site-header {
    position: sticky;
    inset: auto;
    top: 0;
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid rgba(250, 245, 236, 0.18);
  }

  .site-header::before,
  .site-header::after {
    display: none;
  }

  .rail-brand {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: var(--mobilebar-h);
    padding: 8px var(--page-gutter);
  }

  .rail-brand-link {
    gap: 10px;
  }

  .rail-brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .rail-brand-text strong {
    font-size: 0.96rem;
  }

  .rail-brand-text span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .rail-nav {
    display: none;
    position: fixed;
    inset: var(--mobilebar-h) 0 0 0;
    width: 100%;
    max-height: none;
    overflow-y: auto;
    flex-direction: column;
    gap: 20px;
    padding: clamp(22px, 5vw, 36px) var(--page-gutter) calc(24px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 95% 3%, rgba(255, 106, 26, 0.18), transparent 20rem),
      radial-gradient(circle at 0 100%, rgba(63, 143, 122, 0.12), transparent 24rem),
      var(--ink-900);
    border-top: 1px solid rgba(250, 245, 236, 0.14);
    z-index: 110;
  }

  .rail-nav[data-open] {
    display: flex;
    animation: navDrawerIn 0.24s var(--ease);
  }

  .rail-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .rail-nav-list a {
    min-height: 52px;
    padding: 0.75rem 0.8rem;
    font-size: 1rem;
    border: 1px solid rgba(250, 245, 236, 0.12);
    border-left: 2px solid transparent;
    border-radius: var(--radius-fold);
  }

  .rail-nav-list a[aria-current="page"] {
    border-color: rgba(255, 106, 26, 0.35);
    border-left-color: var(--orange-500);
  }

  .rail-utility {
    grid-template-columns: 1fr 1fr;
    margin-top: 8px;
  }

  .rail-action {
    min-height: 48px;
  }

  .rail-meta {
    display: block;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(250, 245, 236, 0.12);
    color: rgba(250, 245, 236, 0.58);
  }

  .rail-foot {
    display: block;
    height: 0;
    margin: 0;
  }

  .rail-top {
    position: fixed;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: auto;
    min-width: 128px;
    z-index: 120;
    background: rgba(18, 16, 15, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .rail-progress {
    display: none;
  }

  html[data-nav-open] {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .rail-nav-list {
    grid-template-columns: 1fr;
  }

  .rail-utility {
    grid-template-columns: 1fr;
  }
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px) var(--page-gutter) 24px;
  color: var(--sand-50);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 106, 26, 0.16), transparent 26rem),
    radial-gradient(circle at 8% 100%, rgba(63, 143, 122, 0.12), transparent 28rem),
    var(--ink-900);
  border-top: 1px solid rgba(250, 245, 236, 0.14);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 106, 26, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255, 106, 26, 0.045),
    0 0 0 56px rgba(255, 106, 26, 0.025);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  width: min(100%, var(--content-max));
  margin-inline: auto;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 80px);
  padding-bottom: clamp(28px, 5vw, 56px);
  border-bottom: 1px solid rgba(250, 245, 236, 0.14);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
}

.footer-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 245, 236, 0.58);
  border-radius: 50%;
  background: var(--gradient-action);
  color: var(--ink-900);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: inset 0 0 0 5px rgba(18, 16, 15, 0.12);
}

.footer-brand-text {
  display: grid;
  gap: 3px;
}

.footer-brand-text strong {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.footer-brand-text span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(250, 245, 236, 0.5);
}

.footer-tagline {
  max-width: 30ch;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(250, 245, 236, 0.62);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange-500);
}

.footer-list {
  display: grid;
  gap: 8px;
}

.footer-list a {
  width: fit-content;
  max-width: 100%;
  padding-bottom: 1px;
  color: rgba(250, 245, 236, 0.72);
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}

.footer-list a:hover {
  color: var(--sand-50);
  border-bottom-color: var(--orange-500);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(250, 245, 236, 0.14);
}

.footer-contact-line {
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(250, 245, 236, 0.72);
}

.footer-service {
  max-width: 42ch;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(250, 245, 236, 0.5);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.78rem;
  color: rgba(250, 245, 236, 0.48);
}

.footer-legal,
.footer-copy,
.footer-note {
  margin: 0;
}

.footer-note {
  color: rgba(250, 245, 236, 0.38);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.content-shell {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.content-flow > * + * {
  margin-top: 1.25em;
}

.page-band {
  padding-block: clamp(42px, 7vw, 96px);
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  max-width: 780px;
  margin-bottom: clamp(22px, 4vw, 40px);
}

.section-heading p {
  max-width: 70ch;
  color: var(--ink-700);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.15em;
  color: var(--zhuhong-600);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange-500);
}

.rule {
  height: 1px;
  margin-block: clamp(24px, 4vw, 48px);
  border: 0;
  background: var(--sand-200);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}

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

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

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

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

.span-3 {
  grid-column: span 3;
}

.span-4 {
  grid-column: span 4;
}

.span-6 {
  grid-column: span 6;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

@media (max-width: 900px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--12 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .span-3,
  .span-4 {
    grid-column: span 3;
  }

  .span-6,
  .span-7,
  .span-8,
  .span-12 {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--12 {
    grid-template-columns: 1fr;
  }

  .span-3,
  .span-4,
  .span-6,
  .span-7,
  .span-8,
  .span-12 {
    grid-column: 1 / -1;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-fold);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}

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

.btn--primary {
  background: var(--orange-500);
  color: var(--ink-900);
}

.btn--primary:hover {
  background-image: var(--gradient-action);
  color: var(--sand-50);
}

.btn--secondary {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-900);
}

.btn--secondary:hover {
  background: var(--ink-900);
  color: var(--sand-50);
}

.btn--ghost {
  background: rgba(18, 16, 15, 0.06);
  color: var(--ink-900);
}

.btn--ghost:hover {
  background: rgba(18, 16, 15, 0.1);
}

.btn--on-dark {
  background: rgba(250, 245, 236, 0.1);
  color: var(--sand-50);
  border-color: rgba(250, 245, 236, 0.3);
}

.btn--on-dark:hover {
  background: var(--orange-500);
  color: var(--ink-900);
  border-color: var(--orange-500);
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 26px;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tag {
  color: var(--ink-900);
  background: var(--orange-100);
  border: 1px solid rgba(200, 48, 42, 0.16);
}

.tag--green {
  color: #1f5b4a;
  background: var(--celadon-100);
  border-color: rgba(63, 143, 122, 0.24);
}

.tag--red {
  color: var(--zhuhong-600);
  background: rgba(200, 48, 42, 0.1);
  border-color: rgba(200, 48, 42, 0.22);
}

.status {
  color: var(--ink-700);
  background: rgba(18, 16, 15, 0.05);
  border: 1px solid var(--sand-200);
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink-700);
}

.status--live {
  color: #1f5b4a;
  background: var(--celadon-100);
  border-color: rgba(63, 143, 122, 0.24);
}

.status--live::before {
  background: var(--celadon-500);
  box-shadow: 0 0 0 3px rgba(63, 143, 122, 0.16);
}

.status--pending {
  color: var(--ink-900);
  background: var(--orange-100);
  border-color: rgba(255, 106, 26, 0.25);
}

.status--pending::before {
  background: var(--orange-500);
}

.status--neutral {
  color: var(--ink-700);
  background: rgba(18, 16, 15, 0.05);
  border-color: var(--sand-200);
}

.status--neutral::before {
  background: var(--ink-700);
}

.card {
  padding: clamp(18px, 3vw, 30px);
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: clamp(18px, 3vw, 30px);
  background: rgba(250, 245, 236, 0.72);
  border: 1px solid var(--sand-200);
  border-left: 4px solid var(--orange-500);
  border-radius: 4px 18px 4px 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.glass-panel {
  padding: clamp(18px, 3vw, 30px);
  color: var(--sand-50);
  background: linear-gradient(135deg, rgba(250, 245, 236, 0.16), rgba(250, 245, 236, 0.06));
  border: 1px solid rgba(250, 245, 236, 0.34);
  border-radius: var(--radius-panel);
  box-shadow: 12px 12px 0 rgba(18, 16, 15, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.breadcrumbs {
  padding-block: 18px 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(18, 16, 15, 0.62);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--zhuhong-600);
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-scroll {
  overflow-x: auto;
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: 12px;
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.compare-table thead {
  color: var(--sand-50);
  background: var(--ink-700);
}

.compare-table th,
.compare-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--sand-200);
}

.compare-table th {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(232, 220, 201, 0.28);
}

.compare-table th:first-child,
.compare-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 130px;
  background: var(--sand-50);
}

.compare-table thead th:first-child {
  background: var(--ink-700);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  background: rgba(250, 245, 236, 0.75);
  border: 1px solid var(--sand-200);
  border-radius: 4px 14px 4px 14px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--orange-500);
  transition: transform 0.18s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item > :not(summary) {
  padding: 0 1.1rem 1rem;
  color: var(--ink-700);
}

.image-slot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 106, 26, 0.18), rgba(63, 143, 122, 0.12) 45%, rgba(232, 220, 201, 0.9));
  border: 1px solid rgba(18, 16, 15, 0.12);
  border-radius: var(--radius-panel);
}

.image-slot::before {
  content: "";
  position: absolute;
  top: 12%;
  right: 10%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(18, 16, 15, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(18, 16, 15, 0.04),
    0 0 0 36px rgba(255, 106, 26, 0.07);
  z-index: 0;
}

.image-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(18, 16, 15, 0.045) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(0deg, rgba(250, 245, 236, 0.14) 0 1px, transparent 1px 9px);
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.image-slot > img,
.image-slot > picture,
.image-slot > video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slot > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slot figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  max-width: calc(100% - 24px);
  padding: 0.3rem 0.55rem;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sand-50);
  background: rgba(18, 16, 15, 0.72);
  border-radius: 2px 10px 2px 10px;
}

.image-slot--1x1 {
  aspect-ratio: 1 / 1;
}

.image-slot--4x3 {
  aspect-ratio: 4 / 3;
}

.image-slot--3x4 {
  aspect-ratio: 3 / 4;
}

.image-slot--16x9 {
  aspect-ratio: 16 / 9;
}

.image-slot--wide {
  aspect-ratio: 21 / 9;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.44s var(--ease), transform 0.44s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .rail-progress-fill {
    transition: none;
  }
}
