
*{box-sizing:border-box}
html{scroll-behavior:smooth}
:root{
  --bg:#f5f2ec;
  --bg-soft:#fbfaf7;
  --card:#ffffff;
  --ink:#111317;
  --ink-soft:#55606d;
  --line:#e8e1d7;
  --line-strong:#d9d0c2;
  --dark:#111317;
  --dark-soft:#1c2026;
  --shadow:0 18px 50px rgba(16,19,23,.08);
  --shadow-strong:0 28px 70px rgba(16,19,23,.12);
  --radius:30px;
  --radius-md:24px;
  --radius-sm:18px;
  --container:1260px;
}
html,body{margin:0;padding:0}
body{
  font-family:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.65), transparent 22%),
    linear-gradient(180deg, #f6f3ee 0%, #f3efe8 100%);
  color:var(--ink);
  line-height:1.72;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
button{font:inherit}
.container{width:min(var(--container), calc(100% - 32px));margin:0 auto}

.site-header{
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(245,242,236,.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(17,19,23,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:22px;
  padding:16px 0;
  position:relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:max-content;
}
.brand-icon{
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:15px;
  background:#101318;
  color:#fff;
  font-weight:900;
  font-size:20px;
}
.brand-copy{display:flex;flex-direction:column;gap:4px}
.brand-copy strong{font-size:18px;line-height:1}
.brand-copy em{font-style:normal;font-size:12px;letter-spacing:.08em;color:#7b8795}
.main-nav{
  display:flex;align-items:center;gap:18px;
  margin-left:auto;
}
.main-nav a{
  font-size:14px;
  font-weight:700;
  color:#4c5662;
}
.main-nav a:hover{color:#111317}
.header-actions{display:flex;gap:10px}
.nav-toggle{
  display:none;
  margin-left:auto;
  background:transparent;
  border:0;
  padding:0;
}
.nav-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:#111317;
  margin:5px 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  font-weight:800;
  transition:transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-dark{background:#111317;color:#fff}
.btn-light{background:#fff;color:#111317;border-color:#ddd4c7}
.btn-outline{background:transparent;color:#111317;border-color:#d9d0c2}

.eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#1b2230;
}
.eyebrow-dark{color:#6a7480}

.hero-section{
  padding:48px 0 34px;
}
.sub-hero{padding-top:42px}
.hero-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:34px;
  align-items:center;
}
.hero-copy h1,
.section-head h2,
.story-copy h2,
.split-copy h2,
.support-copy h2,
.entry-display-card h2{
  margin:16px 0 16px;
  font-size:clamp(38px,5vw,74px);
  line-height:.94;
  letter-spacing:-.05em;
}
.hero-copy p,
.section-head p,
.story-copy p,
.split-copy p,
.support-copy p,
.product-row-copy p,
.guide-card p,
.seo-card p,
.faq-list p,
.entry-display-card p{
  margin:0;
  color:var(--ink-soft);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:28px 0 26px;
}
.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.hero-stats div{
  background:rgba(255,255,255,.62);
  border:1px solid #e4ddd2;
  border-radius:22px;
  padding:18px 18px 16px;
  box-shadow:var(--shadow);
}
.hero-stats strong{
  display:block;
  font-size:28px;
  color:#111317;
}
.hero-stats span{
  display:block;
  font-size:13px;
  color:#687382;
}
.hero-visual{position:relative}
.hero-media,.panel{
  overflow:hidden;
  background:#fff;
  border:1px solid #e7ded2;
  border-radius:34px;
  box-shadow:var(--shadow-strong);
}
.hero-media img{
  width:100%;
  min-height:560px;
  object-fit:cover;
}
.hero-float{
  position:absolute;
  padding:14px 16px;
  background:rgba(255,255,255,.88);
  border:1px solid #e6ddd1;
  border-radius:18px;
  backdrop-filter:blur(10px);
  box-shadow:var(--shadow);
}
.hero-float span{
  display:block;
  font-size:12px;
  color:#7c8794;
}
.hero-float strong{
  display:block;
  margin-top:4px;
  font-size:18px;
}
.float-left{left:22px;bottom:22px}
.float-right{right:22px;top:22px}

.portal-section,
.story-section,
.products-section,
.compare-section,
.download-section,
.guide-section,
.security-section,
.support-section,
.seo-section,
.faq-section,
.entry-display-section{
  padding:28px 0;
}
.section-head{
  max-width:860px;
  margin-bottom:22px;
}
.section-center{
  margin-inline:auto;
  text-align:center;
}

.portal-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.portal-card{
  padding:24px;
  text-align:left;
  background:#fff;
  border:1px solid #e7ded2;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  cursor:pointer;
}
.portal-card-dark{
  background:#15191f;
  color:#fff;
  border-color:#15191f;
}
.portal-no{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:14px;
  background:#111317;
  color:#fff;
  font-weight:900;
  margin-bottom:16px;
}
.portal-card-dark .portal-no{
  background:#fff;
  color:#111317;
}
.portal-card h3,
.product-row-copy h3,
.guide-card h3,
.seo-card h3{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.06;
  letter-spacing:-.04em;
}
.portal-card p{margin:0 0 14px;color:var(--ink-soft)}
.portal-card-dark p{color:rgba(255,255,255,.72)}
.portal-card b{word-break:break-all}

.story-grid,
.split-grid,
.support-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:center;
}
.story-list,
.feature-list,
.security-list{
  display:grid;
  gap:14px;
  margin-top:22px;
}
.story-list div,
.feature-list div,
.security-list div{
  background:#fff;
  border:1px solid #e7ded2;
  border-radius:20px;
  padding:15px 16px;
  box-shadow:var(--shadow);
}
.story-list strong,
.feature-list strong,
.security-list strong{
  display:block;
  font-size:15px;
}
.story-list span,
.feature-list span{
  display:block;
  font-size:14px;
  color:#687382;
}
.security-list p{
  margin:6px 0 0;
  color:#687382;
}

.product-stack{
  display:grid;
  gap:18px;
}
.product-row{
  display:grid;
  grid-template-columns:1fr .92fr;
  gap:18px;
  align-items:center;
}
.product-row.reverse{
  grid-template-columns:.92fr 1fr;
}
.product-row.reverse .product-row-copy{order:2}
.product-row.reverse .product-row-image{order:1}
.product-row-copy{
  background:#fff;
  border:1px solid #e7ded2;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:30px;
}
.product-row-image{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:360px;
  padding:28px;
}
.product-row-image img{
  width:100%;
  max-width:440px;
  aspect-ratio:1/1;
  object-fit:contain;
}
.product-code{
  display:block;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  color:#6a7480;
}
.tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}
.tag-list span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:#fbf8f3;
  border:1px solid #e4ddd1;
  font-size:13px;
  color:#17202b;
}

.compare-wrap{
  border-radius:var(--radius);
}
.compare-row{
  display:grid;
  grid-template-columns:1fr 1.45fr 1.2fr 1fr 1.45fr .62fr;
  gap:14px;
  align-items:center;
  padding:16px 20px;
  border-bottom:1px solid #eee5d9;
}
.compare-row:last-child{border-bottom:0}
.compare-head{
  background:#171b22;
  color:#fff;
}
.table-btn{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid #d9d0c2;
  background:#fff;
  color:#111317;
  cursor:pointer;
}

.guide-grid,
.seo-grid,
.entry-display-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.seo-grid{grid-template-columns:repeat(3,1fr)}
.entry-display-grid{grid-template-columns:repeat(3,1fr)}
.guide-card,
.seo-card,
.entry-display-card{
  background:#fff;
  border:1px solid #e7ded2;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
}
.guide-card b{
  width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:14px;
  background:#111317;
  color:#fff;
  font-weight:900;
  margin-bottom:16px;
}
.entry-display-card strong{
  display:block;
  margin:12px 0 16px;
  word-break:break-all;
}
.entry-display-card .btn{margin-top:6px}

.support-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.faq-wrap{max-width:980px}
.faq-list{
  display:grid;
  gap:14px;
}
.faq-list details{
  background:#fff;
  border:1px solid #e7ded2;
  border-radius:22px;
  padding:18px 20px;
  box-shadow:var(--shadow);
}
.faq-list summary{
  list-style:none;
  cursor:pointer;
  font-weight:900;
}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list p{margin-top:12px}

.site-footer{
  margin-top:16px;
  border-top:1px solid rgba(17,19,23,.08);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  padding:26px 0 34px;
}
.footer-brand strong{font-size:22px}
.footer-brand p{
  margin:8px 0 0;
  max-width:640px;
  color:#687382;
}
.footer-links{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}
.footer-btn{
  padding:11px 16px;
  border-radius:999px;
  border:1px solid #d9d0c2;
  background:#fff;
  color:#111317;
  cursor:pointer;
}

.contact-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:110;
  align-items:center;
  justify-content:center;
}
.contact-modal.open{display:flex}
.modal-mask{
  position:absolute;
  inset:0;
  background:rgba(17,19,23,.48);
  backdrop-filter:blur(10px);
}
.modal-panel{
  position:relative;
  z-index:2;
  width:min(460px, calc(100% - 28px));
  padding:28px;
  background:#fff;
  border:1px solid #e2d9cc;
  border-radius:28px;
  box-shadow:0 40px 100px rgba(16,19,23,.22);
  text-align:center;
}
.modal-close{
  position:absolute;
  top:10px;right:14px;
  border:0;
  background:transparent;
  color:#111317;
  font-size:34px;
  cursor:pointer;
}
.modal-panel h2{
  margin:0 0 18px;
  font-size:32px;
}
.modal-image{
  overflow:hidden;
  border-radius:22px;
  border:1px solid #e6ddd1;
}
.modal-image img{width:100%}
.modal-links{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
.modal-links a{
  padding:10px 14px;
  border-radius:999px;
  background:#f9f6f1;
  border:1px solid #e4ddd1;
}

.floating-contact{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:70;
  padding:14px 18px;
  border:0;
  border-radius:999px;
  background:#111317;
  color:#fff;
  font-weight:900;
  box-shadow:0 18px 40px rgba(16,19,23,.18);
  cursor:pointer;
}
body.lock{overflow:hidden}

@media (max-width:1180px){
  .main-nav,.header-actions{display:none}
  .nav-toggle{display:block}
  .header-inner.open .main-nav{
    display:flex;
    position:absolute;
    left:12px;
    right:12px;
    top:74px;
    flex-direction:column;
    gap:0;
    background:#fff;
    border:1px solid #e7ded2;
    border-radius:20px;
    padding:8px;
    box-shadow:var(--shadow-strong);
  }
  .header-inner.open .main-nav a{
    padding:12px 14px;
    border-radius:14px;
  }
  .header-inner.open .header-actions{
    display:flex;
    position:absolute;
    left:12px;
    right:12px;
    top:calc(74px + 7 * 49px + 8px);
    gap:8px;
    background:#fff;
    border:1px solid #e7ded2;
    border-radius:20px;
    padding:12px;
    box-shadow:var(--shadow-strong);
  }
  .hero-grid,
  .portal-grid,
  .story-grid,
  .split-grid,
  .support-grid,
  .product-row,
  .product-row.reverse,
  .seo-grid,
  .entry-display-grid{
    grid-template-columns:1fr;
  }
  .product-row.reverse .product-row-copy,
  .product-row.reverse .product-row-image{
    order:unset;
  }
  .guide-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .compare-head{display:none}
  .compare-row{
    grid-template-columns:1fr 1fr;
  }
  .footer-inner{
    flex-direction:column;
  }
  .footer-links{
    align-items:flex-start;
  }
}
@media (max-width:760px){
  .container{width:min(var(--container), calc(100% - 24px))}
  .hero-copy h1,
  .section-head h2,
  .story-copy h2,
  .split-copy h2,
  .support-copy h2,
  .entry-display-card h2{
    font-size:40px;
  }
  .hero-media img{min-height:auto}
  .hero-actions,
  .support-actions{
    flex-direction:column;
  }
  .hero-stats,
  .guide-grid,
  .compare-row{
    grid-template-columns:1fr;
  }
  .btn{width:100%}
  .float-left,.float-right{
    position:static;
    margin-top:12px;
  }
  .hero-visual{
    display:flex;
    flex-direction:column;
  }
  .floating-contact{
    right:14px;
    bottom:14px;
  }
}


/* service-center refinement */
.hero-copy h1{max-width:680px}
.portal-card h3,
.product-row-copy h3,
.guide-card h3,
.seo-card h3{
  font-size:28px;
}
.hero-copy p,
.section-head p,
.story-copy p,
.split-copy p,
.support-copy p,
.entry-display-card p{
  max-width:720px;
}
