:root {
  --home-bg: #fdf3dc; --home-surface: #fffaf0; --home-text: #4a3524;
  --home-muted: #8a7258; --home-line: #3f2d1d; --home-border: #ecdcbb;
  --home-orange: #f78c12; --home-orange-deep: #c06a08; --home-accent: #e07b0a;
  --home-yellow: #ffd84d; --home-green: #3c8a2e; --home-green-bg: #e4f4d8;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--home-bg); }
.home-body {
  min-height: 100vh; margin: 0; display: flex; flex-direction: column;
  background-color: var(--home-bg);
  background-image: radial-gradient(rgba(120, 84, 40, 0.05) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  color: var(--home-text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.home-shell { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--home-orange); outline-offset: 4px; }
section[id], div[id] { scroll-margin-top: 28px; }

.home-nav {
  position: relative; z-index: 5;
  background: var(--home-surface); border-bottom: 3px solid var(--home-line);
}
.home-nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--home-text); font-size: 17px; font-weight: 800; text-decoration: none; letter-spacing: 0.02em; }
.home-nav-logo { width: 44px; height: 44px; object-fit: contain; }
.home-nav-links { display: flex; align-items: center; gap: 30px; }
.home-nav-links a { color: var(--home-text); font-size: 14px; font-weight: 700; text-decoration: none; }
.home-nav-links a:hover { color: var(--home-accent); }
.home-nav-cta {
  padding: 9px 18px; border: 3px solid var(--home-line); border-radius: 12px;
  background: var(--home-yellow); box-shadow: 0 4px 0 var(--home-line);
  transition: transform 100ms ease, box-shadow 100ms ease;
}
.home-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--home-line); color: var(--home-text); }
.home-nav-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--home-line); }

.home-main { flex: 1; }

.home-hero {
  position: relative; padding: 72px 0 96px; overflow: hidden;
  background: linear-gradient(180deg, #a5dcf7 0%, #cdeffb 45%, var(--home-bg) 88%);
}
.home-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px;
  background:
    repeating-linear-gradient(90deg, #74c25a 0 16px, #63b34c 16px 32px) 0 0 / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, #5da948 0 16px, #4f9a3d 16px 32px) 16px 8px / 100% 8px no-repeat;
}
.home-cloud {
  position: absolute; width: 10px; height: 10px; background: #ffffff; opacity: 0.92;
  box-shadow:
    10px 0 0 #fff, 20px 0 0 #fff, 30px 0 0 #fff, 40px 0 0 #fff, 50px 0 0 #fff,
    0 10px 0 #fff, 10px 10px 0 #fff, 20px 10px 0 #fff, 30px 10px 0 #fff, 40px 10px 0 #fff, 50px 10px 0 #fff,
    10px -10px 0 #fff, 20px -10px 0 #fff, 30px -10px 0 #fff, 40px -10px 0 #fff,
    20px -20px 0 #fff, 30px -20px 0 #fff;
  animation: home-cloud-drift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
.home-cloud-a { top: 92px; left: 5%; transform: scale(1.9); transform-origin: top left; }
.home-cloud-b { top: 150px; right: 9%; transform: scale(1.3); transform-origin: top right; animation-delay: -13s; opacity: 0.8; }
@keyframes home-cloud-drift {
  from { margin-left: 0; } to { margin-left: 34px; }
}
.home-deco { position: absolute; height: auto; image-rendering: pixelated; pointer-events: none; z-index: 1; }
.home-deco-mushroom { width: 92px; left: max(24px, calc(50% - 620px)); bottom: 42px; animation: home-deco-bob 3.4s ease-in-out infinite alternate; }
.home-deco-leaf { width: 62px; top: 88px; right: max(30px, calc(50% - 610px)); transform: rotate(14deg); animation: home-deco-sway 4.6s ease-in-out infinite alternate; }
.home-deco-star { width: 42px; top: 46%; left: max(18px, calc(50% - 660px)); animation: home-deco-twinkle 2.2s ease-in-out infinite alternate; }
@keyframes home-deco-bob { from { transform: translateY(0); } to { transform: translateY(-9px); } }
@keyframes home-deco-sway { from { transform: rotate(6deg) translateY(0); } to { transform: rotate(20deg) translateY(8px); } }
@keyframes home-deco-twinkle { from { transform: scale(1); opacity: 0.85; } to { transform: scale(1.18); opacity: 1; } }

.home-hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 64px; }
.home-kicker { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: var(--home-muted); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.home-kicker span { width: 10px; height: 10px; background: var(--home-orange); border: 2px solid var(--home-line); }
.home-hero h1 { margin: 0; font-size: clamp(36px, 4.3vw, 54px); line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; }
.home-hero-lead { max-width: 470px; margin: 24px 0 0; color: var(--home-muted); font-size: 15px; line-height: 1.9; }
.home-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.home-button, .home-secondary-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px;
  min-height: 50px; padding: 12px 24px; border: 3px solid var(--home-line); border-radius: 13px;
  background: var(--home-orange); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none;
  text-shadow: 0 2px 0 rgba(63, 45, 29, 0.25);
  box-shadow: 0 5px 0 var(--home-line);
  transition: transform 100ms ease, box-shadow 100ms ease, background 150ms ease;
}
.home-secondary-button { background: var(--home-surface); color: var(--home-text); text-shadow: none; }
.home-button:hover { background: #ff9d2e; transform: translateY(-2px); box-shadow: 0 7px 0 var(--home-line); }
.home-secondary-button:hover { background: #fff3d6; transform: translateY(-2px); box-shadow: 0 7px 0 var(--home-line); }
.home-button:active, .home-secondary-button:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--home-line); }
.home-button span { font-size: 19px; }
.home-platform { margin: 23px 0 0; color: var(--home-muted); font-size: 12px; line-height: 1.8; }
.home-hero-brand {
  min-width: 0;
  overflow: hidden; border: 3px solid var(--home-line); border-radius: 18px;
  background: #cdeffb; box-shadow: 0 8px 0 rgba(63, 45, 29, 0.16);
}
.home-hero-poster { display: block; width: 100%; height: auto; }

.home-section { padding: 76px 0; }
.home-section-heading { margin-bottom: 34px; }
.home-section-heading .home-kicker { margin-bottom: 12px; }
.home-section h2 { margin: 0; font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.4; letter-spacing: -0.01em; }
.home-section-heading h2::after {
  content: ""; display: block; width: 72px; height: 8px; margin-top: 14px;
  border: 2px solid var(--home-line); border-radius: 4px;
  background: linear-gradient(90deg, var(--home-yellow) 0 50%, var(--home-orange) 50% 100%);
}
.home-section-heading > p:last-child:not(.home-kicker) { margin: 15px 0 0; color: var(--home-muted); font-size: 14px; line-height: 1.9; }

.home-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-feature-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-info-card {
  padding: 28px; border: 3px solid var(--home-line); border-radius: 16px;
  background: var(--home-surface); box-shadow: 0 6px 0 rgba(63, 45, 29, 0.14);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.home-info-card:hover { transform: translateY(-4px); box-shadow: 0 10px 0 rgba(63, 45, 29, 0.14); }
.home-feature-number {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 34px;
  border: 3px solid var(--home-line); border-radius: 9px;
  background: var(--home-yellow); color: var(--home-text);
  font-size: 13px; font-weight: 800; font-family: ui-monospace, monospace;
  box-shadow: 0 3px 0 var(--home-line);
}
.home-info-card h3 { margin: 20px 0 11px; font-size: 18px; font-weight: 800; }
.home-info-card p { margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.9; }

.home-quickstart-section { padding-top: 0; }
.home-quickstart-more { margin: 26px 0 0; }
.home-quickstart-more a { color: var(--home-accent); font-size: 14px; font-weight: 800; text-decoration: none; }
.home-quickstart-more a:hover { text-decoration: underline; }

.home-plans-section { background: #e9f6fd; border-block: 3px solid rgba(63, 45, 29, 0.12); }
.home-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.home-plan-card {
  position: relative; padding: 32px; border: 3px solid var(--home-line); border-radius: 18px;
  background: var(--home-surface); box-shadow: 0 8px 0 rgba(63, 45, 29, 0.14);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.home-plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 0 rgba(63, 45, 29, 0.14); }
.home-plan-tier { margin: 0 0 13px; color: var(--home-accent); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.home-plan-card h3 { margin: 0; font-size: 24px; font-weight: 800; }
.home-plan-price { display: flex; align-items: baseline; gap: 7px; margin: 23px 0 12px; color: var(--home-accent); font-size: 48px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.home-plan-price span { font-size: 21px; font-weight: 700; }
.home-plan-duration {
  display: inline-block; margin: 0; padding: 6px 12px;
  border: 2px solid var(--home-green); border-radius: 8px;
  background: var(--home-green-bg); color: var(--home-green); font-size: 13px; font-weight: 700;
}
.home-plan-description { margin: 20px 0 25px; color: var(--home-muted); font-size: 14px; line-height: 1.9; }
.home-plan-notice, .home-empty { margin: 25px 0 0; color: var(--home-muted); font-size: 13px; line-height: 1.8; }

.home-guide-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 64px; }

.home-help-section { padding-top: 0; }
.home-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: home-step; }
.home-steps li {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px;
  border: 3px solid var(--home-line); border-radius: 16px;
  background: var(--home-surface); box-shadow: 0 5px 0 rgba(63, 45, 29, 0.14);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.home-steps li:hover { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(63, 45, 29, 0.14); }
.home-steps li::before {
  counter-increment: home-step; content: counter(home-step, decimal-leading-zero);
  flex: none; width: 42px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--home-line); border-radius: 9px;
  background: var(--home-yellow); color: var(--home-text);
  font-size: 13px; font-weight: 800; font-family: ui-monospace, monospace;
  box-shadow: 0 3px 0 var(--home-line);
}
.home-steps h3 { margin: 5px 0 7px; font-size: 16px; font-weight: 800; }
.home-steps p { margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.9; }
.home-steps strong { color: var(--home-text); font-weight: 800; }
.home-note {
  margin-top: 28px; padding: 20px 24px;
  border: 3px solid var(--home-line); border-radius: 14px;
  background: #fff3d6; box-shadow: 0 5px 0 rgba(63, 45, 29, 0.14);
}
.home-note h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--home-orange-deep); }
.home-note p { margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.9; }
.home-help-actions { margin-top: 34px; }
.home-faq-more { margin-top: 22px; }

.home-changelog-section { padding-top: 0; }
.home-changelog { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.home-changelog li {
  padding: 18px 24px; border: 3px solid var(--home-line); border-radius: 14px;
  background: var(--home-surface); box-shadow: 0 4px 0 rgba(63, 45, 29, 0.14);
}
.home-changelog-meta { display: flex; align-items: center; gap: 14px; }
.home-changelog-version {
  display: inline-flex; align-items: center; padding: 4px 12px;
  border: 3px solid var(--home-line); border-radius: 8px;
  background: var(--home-yellow); color: var(--home-text);
  font-size: 13px; font-weight: 800; font-family: ui-monospace, monospace;
  box-shadow: 0 3px 0 var(--home-line);
}
.home-changelog time { color: var(--home-muted); font-size: 12px; font-weight: 700; }
.home-changelog p { margin: 10px 0 0; color: var(--home-muted); font-size: 13px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }

.home-guide-list { margin: 0; }
.home-guide-list > div { padding: 22px 0; border-bottom: 2px dashed var(--home-border); }
.home-guide-list > div:first-child { padding-top: 0; }
.home-guide-list dt { display: flex; align-items: center; gap: 10px; color: var(--home-text); font-size: 15px; font-weight: 800; }
.home-guide-list dt::before { content: ""; width: 9px; height: 9px; background: var(--home-orange); border: 2px solid var(--home-line); transform: rotate(45deg); flex: none; }
.home-guide-list dd { margin: 10px 0 0; color: var(--home-muted); font-size: 14px; line-height: 1.9; }
.home-after-sales { padding-top: 28px; }
.home-after-sales h3 { margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.home-after-sales p { margin: 6px 0 0; color: var(--home-muted); font-size: 14px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }

.home-footer { border-top: 3px solid var(--home-line); background: #46331f; color: #f7e9cf; }
.home-footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }
.home-footer-inner p { margin: 0; }
.home-footer-brand { display: grid; gap: 6px; padding: 18px 0; }
.home-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.home-footer-links a, .home-icp a { color: #f7e9cf; text-decoration: none; }
.home-footer a:hover { color: var(--home-yellow); text-decoration: underline; }
.home-icp { margin: 0; padding: 0 16px 20px; text-align: center; font-size: 12px; line-height: 1.8; color: #cdb894; }

@media (max-width: 960px) {
  .home-deco-mushroom { width: 72px; left: 18px; }
  .home-deco-leaf { width: 52px; right: 18px; }
  .home-deco-star { display: none; }
}
@media (max-width: 820px) {
  .home-nav-links { gap: 18px; }
  .home-guide-nav { display: none; }
  .home-hero { padding: 52px 0 72px; }
  .home-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-hero-copy { text-align: center; }
  .home-hero-lead { margin-inline: auto; }
  .home-hero-copy .home-kicker, .home-hero-actions { justify-content: center; }
  .home-hero-brand { max-width: 560px; width: 100%; margin: 0 auto; }
  .home-cloud-b { display: none; }
  .home-deco-mushroom { bottom: auto; top: 24px; }
  .home-section-heading h2::after { margin-inline: 0; }
  .home-feature-grid { grid-template-columns: 1fr; }
  .home-feature-grid-3 { grid-template-columns: 1fr; }
  .home-guide-layout { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 520px) {
  .home-shell { width: calc(100% - 36px); }
  .home-nav-inner { min-height: 68px; gap: 10px; }
  .home-brand { font-size: 16px; gap: 7px; }
  .home-nav-logo { width: 42px; height: 42px; }
  .home-nav-links > a:not(.home-nav-cta) { display: none; }
  .home-nav-cta { padding: 7px 12px; font-size: 12px; }
  .home-hero h1 { font-size: clamp(34px, 9.5vw, 42px); }
  .home-hero-lead { font-size: 14px; }
  .home-hero-actions { gap: 14px; }
  .home-button, .home-secondary-button { padding: 11px 16px; font-size: 13px; gap: 10px; }
  .home-platform { font-size: 11px; }
  .home-hero-brand { border-radius: 14px; }
  .home-deco { display: none; }
  .home-cloud { display: none; }
  .home-section { padding: 48px 0; }
  .home-plan-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-plan-card { padding: 26px; }
  .home-footer-inner { padding-bottom: 18px; flex-direction: column; gap: 0; text-align: center; }
  .home-footer-links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .home-button, .home-secondary-button, .home-info-card, .home-plan-card, .home-nav-cta, .home-steps li { transition: none; }
  .home-cloud, .home-deco-mushroom, .home-deco-leaf, .home-deco-star { animation: none; }
}
