:root {
  --paper: #fffdfb;
  --paper-soft: #fbfaf8;
  --ink: #28231f;
  --muted: #615b55;
  --line: #d8d4cf;
  --soft-line: #e7e1d9;
  --accent: #a4642b;
  --accent-dark: #8b4f1c;
  --accent-soft: #f7eee4;
  --shadow: rgba(58, 42, 27, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: #f5f3f0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.home-shell {
  width: min(1208px, calc(100% - 28px));
  margin: 16px auto;
  overflow: hidden;
  border: 1px solid #c7c4bf;
  border-radius: 14px;
  background: var(--paper);
}

.site-header {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 78px;
  padding: 0 31px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 45px;
  height: 45px;
  color: var(--accent);
}

.brand-mark svg { width: 100%; height: 100%; }

.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 19px; line-height: 1.15; letter-spacing: .08em; }
.brand-copy small { font-size: 12px; line-height: 1.25; letter-spacing: .06em; }

.site-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(12px, 2vw, 24px);
  height: 78px;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #25211e;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .2s ease, transform .2s ease;
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after { opacity: 1; transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}

.membership-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid #e4cdb8;
  border-radius: 12px;
  color: var(--accent-dark);
  background: #fffdfa;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}

.membership-button:hover { border-color: #c99462; background: var(--accent-soft); }
.membership-button svg { width: 20px; height: 20px; }

.icon-button,
.avatar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button { width: 28px; height: 36px; color: #272421; }
.icon-button svg { width: 26px; height: 26px; }
.avatar-button { display: inline-flex; align-items: center; justify-content: center; min-width: 90px; min-height: 42px; padding: 5px 10px; border: 1px solid #aaa9a7; border-radius: 21px; background: #f0efee; font-size: 13px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.avatar-button:hover { background: #e8e4e0; }

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  min-height: 358px;
  padding: 40px 32px 30px;
  border-bottom: 1px solid var(--line);
}

.hero-copy { padding-bottom: 3px; }
.hero-copy h1 { margin: 0; font-size: clamp(32px, 3.1vw, 41px); line-height: 1.35; letter-spacing: .04em; font-weight: 800; }
.hero-copy h1 em { color: var(--accent-dark); font-style: normal; }
.hero-description { margin: 12px 0 23px; color: #48423d; font-size: 17px; line-height: 1.75; letter-spacing: .02em; }

.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-mode-link { display: grid; gap: 7px; min-width: 0; min-height: 80px; padding: 16px; border: 1px solid var(--accent); border-radius: 12px; transition: background .2s ease, border-color .2s ease; }
.home-mode-link strong { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 17px; line-height: 1.3; }
.home-mode-link strong span { font-size: 20px; }
.home-mode-link small { font-size: 12px; line-height: 1.5; }
.home-mode-link--platform { color: #fff; background: var(--accent); }
.home-mode-link--platform small { color: #fff7ed; }
.home-mode-link--platform:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.home-mode-link--self { color: var(--accent-dark); background: #fff; }
.home-mode-link--self small { color: var(--muted); }
.home-mode-link--self:hover { background: var(--accent-soft); }
.hero-resume { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; color: var(--muted); font-size: 13px; }
.hero-resume:hover { color: var(--accent-dark); }
a:focus-visible, summary:focus-visible, .hero-carousel:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; border-radius: 4px; }

.hero-carousel { min-width: 0; outline: none; }
.hero-track { position: relative; overflow: hidden; width: 100%; border-radius: 14px; aspect-ratio: 2.16 / 1; background: #f2f1f0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { display: block; width: 100%; height: 100%; border: 1px solid #c9c7c6; border-radius: 14px; object-fit: cover; }
.carousel-footer { display: flex; align-items: center; justify-content: center; min-height: 24px; margin-top: 7px; }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c8c8c8; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.carousel-dot.is-active { background: var(--accent); transform: scale(1.05); }
.carousel-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.carousel-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.home-section { padding: 36px 32px; border-bottom: 1px solid var(--soft-line); }
.home-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.home-section h2 { margin: 0; color: var(--accent-dark); font-size: 27px; line-height: 1.35; }
.home-section-heading p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.home-process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-process-card { min-width: 0; padding: 24px; border: 1px solid var(--soft-line); border-radius: 14px; background: #fff; }
.home-method-label { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 6px; color: var(--accent-dark); background: var(--accent-soft); font-size: 12px; font-weight: 600; }
.home-process-card h3 { margin: 0; font-size: 21px; line-height: 1.45; }
.home-process-card header p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.home-process-steps { display: grid; gap: 18px; margin: 24px 0 16px; padding: 0; list-style: none; counter-reset: process; }
.home-process-steps li { position: relative; min-height: 28px; padding-left: 40px; counter-increment: process; }
.home-process-steps li::before { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #e2cfba; border-radius: 50%; color: var(--accent-dark); background: #fffaf4; font-size: 13px; font-weight: 600; content: counter(process); }
.home-process-steps strong { display: block; padding-top: 2px; font-size: 15px; line-height: 1.5; }
.home-process-steps p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.home-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.home-text-link:hover, .home-faq a:hover, .home-pricing-notes a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-section-heading > .home-text-link { flex-shrink: 0; }
.home-process-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.home-pricing { background: #fcf8f3; }
.home-fee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-fee-grid article { min-width: 0; padding: 22px 24px; border: 1px solid #e8ddd0; border-radius: 12px; background: var(--paper); }
.home-fee-label { color: var(--accent-dark); font-size: 13px; font-weight: 600; }
.home-fee-grid h3 { margin: 10px 0 8px; font-size: 19px; line-height: 1.45; }
.home-fee-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.home-pricing-rule { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.home-pricing-notes { margin-top: 20px; padding-top: 18px; border-top: 1px solid #e8ddd0; }
.home-pricing-notes p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.home-pricing-notes strong { color: var(--ink); }
.home-pricing-notes a, .home-faq a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.home-pricing-notes .home-trial-note { margin-top: 8px; }
.home-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 20px; }
.home-faq details { min-width: 0; border: 1px solid var(--soft-line); border-radius: 10px; background: #fff; }
.home-faq summary { padding: 17px 20px; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.6; }
.home-faq summary::marker { color: var(--accent); }
.home-faq details[open] summary { color: var(--accent-dark); }
.home-faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.home-ai { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--paper-soft); }
.home-ai h2 { font-size: 22px; }
.home-ai-copy { max-width: 710px; }
.home-ai-copy p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.home-ai-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 10px 18px; border: 1px solid #dac6b0; border-radius: 9px; color: var(--accent-dark); background: #fff; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.home-ai-link:hover { background: var(--accent-soft); }

.site-footer { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-height:104px; padding:24px 32px; color:#746a60; font-size:14px; }
.copyright { order:1; margin:0; color:#94897d; font-size:12px; line-height:1.6; text-align:center; }
.footer-links { display: flex; justify-content: center; align-items: center; gap:22px; flex-wrap:wrap; text-align:center; }
.footer-links a:hover { color: var(--accent-dark); }
.footer-links span { color: #8d8882; }
.social-links { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.social-links > span { margin-right: 1px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #d1ccc6; border-radius: 50%; background: #fff; font-weight: 700; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.social-links a:hover { border-color: #c28a5b; color: var(--accent-dark); background: #fff8f1; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 250px minmax(0, 1fr) auto; padding-inline: 24px; }
  .hero-section { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; }
  .site-footer { padding-inline: 26px; gap: 12px; }
  .footer-links { gap: 13px; }
  .social-links { gap: 8px; }
}

@media (max-width: 980px) {
  .hero-section { grid-template-columns: 1fr; padding: 32px; }
  .hero-actions { max-width: 440px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; gap: 15px; padding: 22px; }
}

@media (max-width: 860px) {
  .home-shell { width: min(100% - 20px, 700px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 92px; padding-block: 14px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; order: 3; width: 100%; height: 37px; gap: 28px; overflow-x: auto; }
  .site-nav__link::after { bottom: 2px; }
  .home-section { padding: 30px 26px; }
  .home-process-card { padding: 20px; }
  .home-process-card h3 { font-size: 19px; }
  .home-process-steps li { padding-left: 35px; }
  .home-fee-grid article { padding: 20px; }
  .home-ai { gap: 20px; }
}

@media (max-width: 560px) {
  .home-shell { width: 100%; margin: 0; border: 0; border-radius: 0; }
  .site-header { padding-inline: 18px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 11px; }
  .header-actions { gap: 9px; }
  .membership-button { padding: 7px 8px; font-size: 12px; }
  .membership-button svg { width: 17px; height: 17px; }
  .avatar-button { min-height: 36px; }
  .hero-section { padding: 29px 18px 23px; }
  .hero-copy h1 { font-size: 31px; }
  .hero-description { font-size: 15px; }
  .home-mode-link { padding: 14px 12px; }
  .home-mode-link strong { font-size: 15px; gap: 4px; }
  .home-mode-link strong span { font-size: 18px; }
  .home-mode-link small { font-size: 11px; }
  .home-section { padding: 28px 18px; }
  .home-section h2 { font-size: 24px; }
  .home-section-heading { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
  .home-process-grid, .home-fee-grid, .home-faq-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-process-card h3 { font-size: 20px; }
  .home-process-steps li { padding-left: 40px; }
  .home-ai { flex-direction: column; align-items: flex-start; gap: 18px; }
  .home-ai h2 { font-size: 22px; }
  .site-footer { font-size: 12px; }
  .footer-links { flex-wrap: wrap; gap: 9px 13px; }
  .social-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 380px) {
  .home-shell .site-header { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-shell .header-actions { grid-column: 1; grid-row: 2; }
  .home-shell .site-nav { grid-row: 3; }
  .hero-actions { gap: 8px; }
  .home-mode-link { padding: 13px 10px; }
  .home-mode-link strong { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
