/* First-paint safety. This file is the first render-blocking stylesheet. */
html,
body {
  margin: 0;
  background: #fffaf0;
}

html {
  font-size: 16px;
}

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

body,
button,
select {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

body {
  color: #4a2a1d;
  font-size: 16px;
}

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

img {
  max-width: 100%;
}

.bodyBg,
.bodyBgHead {
  background: #fffaf0 !important;
}

.content-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Header skeleton: remains usable before the full navigation theme arrives. */
.topNav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  background: rgba(255, 253, 249, .98);
  border-bottom: 1px solid rgba(70, 50, 35, .07);
}

.topNavCen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1640px, calc(100% - 96px));
  height: 72px;
  margin: 0 auto;
}

.navLogo,
.header-right,
.topNavBox,
.topNavBoxScrollY,
.topNavCenR,
.header-actions {
  display: flex;
  align-items: center;
}

.navLogo {
  flex: 0 0 auto;
}

.navLogo img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 200px;
}

.header-right {
  justify-content: flex-end;
  gap: 30px;
  min-width: 0;
  margin-left: auto;
}

.topNavBoxScrollY {
  gap: clamp(18px, 1.8vw, 34px);
}

.topNavBoxLi,
.topNavBoxLiA,
.topNavBoxLiA > a {
  display: flex;
  align-items: center;
}

.topNavBoxLiA,
.topNavBoxLiA > a {
  min-height: 40px;
  color: #443a34;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.topNavCenR,
.header-actions {
  gap: 12px;
}

.header-cta-plan,
.header-cta-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  margin: 0;
  padding: 0 17px;
  border: 1px solid #d96948;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.header-cta-plan {
  color: #d96948;
  background: #fffdf9;
}

.header-cta-chat {
  color: #fff;
  background: #e46b38;
}

.header-cta-plan svg,
.header-cta-chat svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.mTopNavBtn {
  display: none;
}

.hNav {
  height: 72px;
}

/* Minimal floating service rail geometry prevents raw-flow overflow while the
   complete legacy rail theme is still downloading. */
.pcAside {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 40;
  display: block;
  width: 72px;
  overflow: visible;
  transform: translateY(-50%);
  border-radius: 0;
  color: #fff;
  background: transparent;
}

.pcAside .asideTopBox {
  overflow: visible;
  background: transparent;
}

.pcAside .asideTopBoxLi,
.pcAside .asideTopBoxLiLink {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  color: #fff;
  text-align: center;
  background: #ef5414;
}

.pcAside .asideTopBoxLi:first-child {
  border-radius: 14px 0 6px 6px;
}

.pcAside .asideTopBoxLi:hover,
.pcAside .asideTopBoxLi:focus-within {
  background: #2b2b2b;
}

.pcAside .asideTopBoxLiImg {
  display: block;
}

.pcAside .asideTopBoxLiShow {
  display: block;
  position: absolute;
  top: 50%;
  right: 64px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.pcAside .asideTopBoxLi:hover .asideTopBoxLiShow,
.pcAside .asideTopBoxLi:focus-within .asideTopBoxLiShow {
  right: 54px;
  opacity: 1;
  pointer-events: auto;
}

.pcAside .asideTopBoxLiFont {
  font-size: 14px;
  line-height: 1.35;
}

.mAsideTop,
.mAsideTopBox,
.advisoryMask,
.backTop {
  display: none;
}

.v2-hero {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fffaf0;
}

.v2-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  align-items: center;
  gap: 20px;
  width: min(1480px, calc(100% - 96px));
  min-height: 0;
  margin: 0 auto;
  padding: 48px 0 20px;
}

.v2-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

.v2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 15px;
  border: 1px solid rgba(137, 116, 94, .15);
  border-radius: 999px;
  color: #4d4a46;
  background: #f3f0ea;
  font-size: 13px;
  line-height: 1;
}

.v2-kicker-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d85f42;
}

.v2-theme-title {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 1.4vw, 22px);
  margin: 32px 0 24px;
  font-size: clamp(42px, 3.9vw, 66px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .02em;
  white-space: nowrap;
}

.v2-theme-title em {
  color: #f45112;
  font-style: normal;
}

.v2-hero-desc {
  max-width: 660px;
  margin: 0;
  color: #51463f;
  font-size: 16px;
  line-height: 1.8;
}

.v2-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 250px;
  min-height: 58px;
  padding: 0 26px;
  border: 1px solid #f45112;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.v2-btn-primary {
  color: #fff;
  background: #f45112;
}

.v2-btn-secondary {
  color: #f45112;
  background: rgba(255, 255, 255, .8);
}

.v2-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.v2-btn-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.v2-hero-note {
  max-width: 640px;
  margin: 16px 0 0;
  color: #8c7c70;
  font-size: 13px;
  line-height: 1.65;
}

.v2-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
}

.v2-hero-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.v2-hero-deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.v2-hero-deco svg {
  display: block;
  width: 100%;
  height: 100%;
}

.v2-trust-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  width: min(1480px, calc(100% - 96px));
  margin: 28px auto 20px;
  padding: 0;
  list-style: none;
}

.v2-trust-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 24px;
  border-right: 1px solid rgba(201, 104, 75, .14);
  color: #66574d;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.v2-trust-list li:first-child {
  padding-left: 0;
}

.v2-trust-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.v2-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #c9684b;
}

.v2-trust-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Keep the next first-screen module coherent instead of exposing raw form controls. */
.v2-quick {
  width: min(1480px, calc(100% - 96px));
  margin: 0 auto 40px;
  padding: 26px 32px;
  border: 1px solid rgba(214, 178, 130, .24);
  border-radius: 22px;
  background: #fffdf8;
}

.v2-quick-row {
  display: grid;
  grid-template-columns: minmax(210px, 250px) repeat(3, minmax(0, 1fr)) minmax(190px, 220px);
  align-items: end;
  gap: 16px;
}

.v2-quick-title,
.v2-quick-tags,
.v2-quick-tags span,
.v2-generate {
  display: flex;
  align-items: center;
}

.v2-quick-title {
  gap: 8px;
  color: #f45112;
  font-size: 18px;
  font-weight: 600;
}

.v2-quick-intro p {
  margin: 8px 0 0;
  color: #65584f;
  font-size: 14px;
  line-height: 1.6;
}

.v2-field label {
  display: block;
  margin: 0 0 7px 3px;
  color: #74665d;
  font-size: 13px;
}

.v2-field select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(137, 116, 94, .22);
  border-radius: 10px;
  color: #51463f;
  background: #fff;
  font-size: 14px;
}

.v2-generate {
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #f45112;
  border-radius: 11px;
  color: #fff;
  background: #f45112;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.v2-quick-tags {
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: #796b61;
  font-size: 13px;
}

.v2-quick-tags span {
  gap: 6px;
}

.v2-quick-tags svg,
.v2-generate svg {
  display: block;
  width: 18px;
  height: 18px;
}

.header-actions svg,
.v2-hero-actions svg,
.v2-quick-title svg,
.v2-generate svg,
.v2-trust-icon svg,
.v2-scenario-icon svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 750px) {
  .topNavCen {
    width: calc(100% - 36px);
    height: 64px;
  }

  .navLogo img {
    height: 38px;
  }

  .topNavBox,
  .header-cta-plan {
    display: none;
  }

  .header-cta-chat {
    min-height: 38px;
    padding: 0 12px;
  }

  .mTopNavBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .hNav {
    height: 64px;
  }

  .v2-hero {
    min-height: 0;
  }

  .v2-hero-shell {
    display: block;
    width: calc(100% - 36px);
    min-height: 0;
    padding: 34px 0 10px;
  }

  .v2-hero-visual {
    display: none;
  }

  .v2-theme-title {
    flex-wrap: wrap;
    gap: 3px 10px;
    margin: 18px 0 14px;
    font-size: clamp(34px, 10.5vw, 42px);
    white-space: normal;
  }

  .v2-hero-desc {
    font-size: 15px;
  }

  .v2-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .v2-btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
  }

  .v2-trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 8px;
    width: calc(100% - 36px);
    margin: 24px auto 18px;
  }

  .v2-trust-list li {
    padding: 0;
    border: 0;
    font-size: 13px;
    white-space: normal;
  }

  .v2-quick {
    width: calc(100% - 36px);
    padding: 22px 18px;
  }

  .v2-quick-row {
    display: block;
  }

  .v2-field,
  .v2-generate {
    width: 100%;
    margin-top: 14px;
  }
}

@media (min-width: 751px) and (max-width: 1200px) {
  .topNavCen,
  .v2-hero-shell,
  .v2-trust-list,
  .v2-quick {
    width: calc(100% - 48px);
  }

  .topNavBoxScrollY {
    gap: 15px;
  }

  .header-cta-plan {
    display: none;
  }

  .v2-hero-shell {
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  }

  .v2-theme-title {
    font-size: clamp(40px, 4.5vw, 52px);
  }

  .v2-hero-actions {
    gap: 12px;
  }

  .v2-btn {
    min-width: 0;
    padding: 0 20px;
  }

  .v2-trust-list li {
    padding: 0 16px;
    font-size: 13px;
  }

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

  .v2-quick-intro {
    grid-column: span 2;
  }
}

/* Critical header/footer rules loaded before first paint. */
[data-static-nav="true"] > .sub {
  display: none !important;
}

[data-static-nav="true"] > .topNavBoxLiA i,
[data-static-nav="true"] > .topNavBoxLiA .arrow {
  display: none !important;
}

.footerCenTopR {
  display: flex !important;
  align-items: flex-start !important;
  gap: 64px !important;
}

.footerCenTopRNav {
  margin-left: 250px !important;
}

.footerCenTopLLogo img {
  width: auto !important;
  height: auto !important;
  max-width: 240px !important;
  max-height: 62px !important;
  object-fit: contain !important;
  background: transparent !important;
}

.footerCenTopRGzh,
.footerCenTopRGlBox,
.footerCenLink,
.footerDwIcon {
  display: none !important;
}

.footer-gift-showcase {
  flex: 0 0 380px !important;
  width: 380px !important;
  margin: 0 0 0 auto !important;
}

.footer-gift-showcase img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24) !important;
  object-fit: cover !important;
}

.footerCenBottomR {
  width: auto !important;
  margin-left: 0 !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
}

.footerCenBottomRTitle {
  white-space: nowrap !important;
}

@media (max-width: 1200px) {
  .footerCenTopR {
    display: block !important;
  }

  .footerCenTopRNav {
    margin-left: 80px !important;
  }

  .footer-gift-showcase {
    margin: 32px auto 0 !important;
    width: 380px !important;
    max-width: 380px !important;
    flex-basis: auto !important;
  }
}

@media (max-width: 960px) {
  .footerCenTopRNav {
    margin-left: 0 !important;
  }

  .footer-gift-showcase {
    margin: 28px auto 0 !important;
    width: 100% !important;
    max-width: 340px !important;
    flex-basis: auto !important;
  }

  .footerCenBottomR {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}
