/* 青云梯 - 侘寂极简风样式表 */
:root {
  --bg: #f4efe6;
  --bg-elevated: #ebe3d5;
  --bg-card: #faf7f2;
  --border: #d8cfc0;
  --border-strong: #b9ad99;
  --text: #2d2926;
  --text-muted: #6b6257;
  --accent: #8b5a2b;
  --accent-hover: #704720;
  --accent-soft: rgba(139, 90, 43, 0.1);
  --sage: #6f8a6a;
  --radius: 18px 14px 20px 12px;
  --radius-sm: 12px 9px 14px 10px;
  --max-w: 1120px;
  --header-h: 68px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "YouYuan", "STYuanti", "Hiragino Maru Gothic ProN", "PingFang SC", "Microsoft YaHei UI", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(139, 90, 43, 0.045) 1px, transparent 0),
    radial-gradient(rgba(45, 41, 38, 0.03) 1px, transparent 0);
  background-size: 24px 24px, 17px 17px;
  background-position: 0 0, 9px 11px;
  color: var(--text);
  line-height: 1.72;
  font-size: 16px;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #faf7f2;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px dashed var(--border-strong);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  min-height: 44px;
  padding: 4px 2px;
}

.brand-logo:hover {
  color: var(--accent);
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(244, 239, 230, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  display: none;
  flex-direction: column;
  gap: 8px;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-soft);
}

.site-nav a.nav-blog {
  color: var(--accent);
  border: 1px dashed rgba(139, 90, 43, 0.45);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #faf7f2;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #faf7f2;
  box-shadow: 0 8px 20px rgba(139, 90, 43, 0.22);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-elevated);
}

/* Sections */
.section {
  padding: 64px 0;
  border-bottom: 1px dashed var(--border);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-header {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 90, 43, 0.2);
  margin-bottom: 12px;
}

.section-title,
.hero-title,
.prose h1 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.28;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
}

/* Hero */
.hero {
  padding: 56px 0 68px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px dashed rgba(139, 90, 43, 0.35);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero-subtitle {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1.04rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-visual {
  width: 100%;
}

.visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 14px 32px rgba(45, 41, 38, 0.08);
}

.visual-card img {
  width: 100%;
  border-radius: 12px;
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  margin-right: 6px;
  animation: wabi-breathe 2.8s ease-in-out infinite;
}

@keyframes wabi-breathe {
  0%, 100% { opacity: 0.65; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 6px 18px rgba(45, 41, 38, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-family: var(--font-display);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Streaming & AI */
.service-tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.service-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.service-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.notice-box {
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.94rem;
}

/* Pricing / Pending Verification */
.pricing-card {
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 28px 24px;
  max-width: 780px;
}

.pricing-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.22rem;
}

.pricing-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

/* Section Arrows */
.section-arrows {
  position: fixed;
  right: 12px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(250, 247, 242, 0.94);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(45, 41, 38, 0.12);
}

.arrow-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-elevated);
}

.arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Footer */
.site-footer {
  padding: 36px 0 88px;
  background: var(--bg-elevated);
  border-top: 1px dashed var(--border-strong);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text);
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Subpages / Articles */
.page-main {
  padding: 48px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.prose {
  max-width: 780px;
}

.prose h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
}

.prose .meta-line {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.prose h2 {
  margin: 32px 0 12px;
  font-size: 1.35rem;
  font-family: var(--font-display);
}

.prose h3 {
  margin: 22px 0 8px;
  font-size: 1.1rem;
  font-family: var(--font-display);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul,
.prose ol {
  padding-left: 20px;
}

.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-card h2 {
  margin: 0;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

.article-card p {
  margin: 0;
  color: var(--text-muted);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* Desktop Breakpoints */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 6px;
  }

  .hero-grid {
    flex-direction: row;
    gap: 44px;
  }

  .hero-grid.hero--swapped {
    flex-direction: row-reverse;
  }

  .hero-copy,
  .hero-visual {
    flex: 1 1 0;
  }

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

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

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

  .section-arrows {
    right: 22px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .site-footer {
    padding: 44px 0 52px;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@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;
  }
}

