
*{box-sizing:border-box}
html{scroll-behavior:smooth}
:root{
  --paper:#efe7d8;
  --paper2:#f8f3ea;
  --ink:#18201e;
  --muted:#66706d;
  --forest:#20352f;
  --forest2:#12231f;
  --gold:#b28d50;
  --blue:#284d7f;
  --line:rgba(24,32,30,.13);
  --white:#ffffff;
  --shadow:0 26px 80px rgba(24,32,30,.12);
  --container:1220px;
}
body{
  margin:0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  background:
    radial-gradient(circle at 16% 3%,rgba(178,141,80,.16),transparent 30%),
    linear-gradient(180deg,var(--paper) 0%,#f7f2e8 42%,#fbfaf7 100%);
  color:var(--ink);
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
button{font:inherit}
.topline{
  width:min(var(--container),calc(100% - 32px));
  margin:18px auto 0;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:rgba(248,243,234,.86);
  border:1px solid var(--line);
  border-radius:999px;
  position:sticky;
  top:14px;
  z-index:50;
  backdrop-filter:blur(16px);
  box-shadow:0 18px 54px rgba(24,32,30,.08);
}
.brand{display:flex;align-items:center;gap:12px;min-width:max-content}
.brand-mark{
  width:46px;height:46px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--forest),var(--gold));
  color:#fff;font-size:22px;font-weight:900;
}
.brand strong{display:block;font-size:18px;line-height:1.05}
.brand em{display:block;font-size:12px;font-style:normal;color:#7a817f;letter-spacing:.12em;margin-top:2px}
.main-nav{display:flex;align-items:center;gap:6px}
.main-nav a,.nav-contact{
  border:0;background:transparent;color:var(--ink);
  padding:10px 12px;border-radius:999px;font-weight:800;cursor:pointer;
}
.nav-contact{background:var(--forest);color:#fff}
.menu-btn{display:none;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;font-weight:900}
.kicker,.entry-tile small,.catalog-card span,.download-ridge .kicker,.sub-hero .kicker{
  margin:0 0 12px;
  color:var(--gold);
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.editorial-hero{
  width:min(var(--container),calc(100% - 32px));
  margin:34px auto;
  min-height:660px;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  position:relative;
  overflow:hidden;
  border-radius:46px;
  background:#e9dfcf;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.hero-image{
  position:absolute;inset:0;
  background:url("../images/editorial-hero-bg.webp") center/cover no-repeat;
  opacity:1;
}
.hero-left,.hero-right{position:relative;z-index:2}
.hero-left{
  padding:62px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:linear-gradient(90deg,rgba(248,243,234,.96),rgba(248,243,234,.70),transparent);
}
.hero-left h1{
  margin:0 0 22px;
  font-size:clamp(54px,7vw,104px);
  line-height:.88;
  letter-spacing:-.075em;
}
.lead,.section-copy span,.auth-card span,.download-ridge span,.support-text span,.sub-hero span{
  display:block;
  color:var(--muted);
  font-size:17px;
  line-height:1.9;
  max-width:850px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.btn,.micro-btn,.table-btn,.download-cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:14px 22px;border-radius:999px;border:1px solid transparent;
  font-weight:900;cursor:pointer;
}
.btn.primary,.micro-btn,.table-btn,.download-cta{
  background:var(--forest);color:#fff;
}
.btn.secondary{background:#fff;color:var(--ink);border-color:var(--line)}
.btn.text{background:transparent;color:var(--ink);border-color:var(--line)}
.hero-right{min-height:660px}
.device-scene{
  position:absolute;
  inset:0;
}
.device-scene img{
  position:absolute;
  object-fit:contain;
  filter:drop-shadow(0 24px 32px rgba(24,32,30,.24));
}
.scene-stax{width:360px;right:170px;top:112px}
.scene-flex{width:230px;right:42px;top:80px}
.scene-x{width:240px;left:64px;bottom:84px}
.scene-caption{
  position:absolute;right:64px;bottom:72px;
  padding:20px 22px;
  border-radius:26px;
  background:rgba(255,255,255,.70);
  border:1px solid rgba(255,255,255,.8);
  backdrop-filter:blur(14px);
}
.scene-caption strong{display:block}
.scene-caption span{display:block;margin-top:4px;color:var(--muted)}
.ribbon,.section,.download-ridge,.sub-hero{
  width:min(var(--container),calc(100% - 32px));
  margin:30px auto;
}
.ribbon{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.ribbon article{
  padding:24px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 16px 40px rgba(24,32,30,.06);
}
.ribbon span{
  display:block;color:var(--gold);font-weight:900;margin-bottom:10px;
}
.ribbon b{display:block;font-size:20px}
.ribbon p{margin:8px 0 0;color:var(--muted)}
.section,.sub-hero{
  padding:38px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:38px;
  box-shadow:var(--shadow);
}
.sub-main{padding-top:10px}
.sub-hero{
  background:var(--forest);
  color:#fff;
}
.sub-hero h1{
  font-size:clamp(46px,6vw,86px);
  line-height:.92;
  letter-spacing:-.065em;
  margin:0 0 16px;
}
.sub-hero span{color:#d6ddd8}
.section-copy{margin-bottom:26px}
.section-copy.center{text-align:center}
.section-copy h2,.auth-card h2,.download-ridge h2,.support-text h2,.faq-section h2,.modal-panel h2{
  font-size:clamp(38px,5vw,68px);
  line-height:.94;
  letter-spacing:-.06em;
  margin:0 0 14px;
}
.entry-masonry{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  grid-template-areas:
    "official support"
    "official download"
    "contact download";
  gap:16px;
}
.entry-tile{
  text-align:left;
  min-height:230px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:28px;
  border-radius:30px;
  border:1px solid var(--line);
  background:var(--paper2);
}
.entry-tile h3,.catalog-card h3,.auth-points h3,.sequence-grid h3,.support-pane h3{
  margin:16px 0 10px;
  font-size:29px;
  line-height:1.05;
  letter-spacing:-.04em;
}
.entry-tile p,.catalog-card p,.auth-points p,.sequence-grid p,.support-pane p,.faq-section p,.site-footer p{
  color:var(--muted);
  line-height:1.78;
}
.entry-tile strong{word-break:break-word}
.entry-tile.official{grid-area:official;background:var(--forest);color:#fff}
.entry-tile.official p,.entry-tile.official strong{color:#d6ddd8}
.entry-tile.support{grid-area:support}
.entry-tile.download{grid-area:download;background:#f2eadb}
.entry-tile.contact-tile{grid-area:contact;cursor:pointer;border-style:dashed}
.auth-story{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:20px;
}
.auth-card{
  padding:34px;
  border-radius:32px;
  background:var(--forest);
  color:#fff;
}
.auth-card span{color:#d6ddd8}
.auth-points{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.auth-points article,.sequence-grid article{
  padding:24px;
  border-radius:26px;
  border:1px solid var(--line);
  background:var(--paper2);
}
.catalog-layout{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.catalog-card{
  min-height:545px;
  display:flex;
  flex-direction:column;
  padding:24px;
  border-radius:30px;
  background:var(--paper2);
  border:1px solid var(--line);
}
.catalog-card.hero-product{background:linear-gradient(180deg,#f4eadb,#ffffff)}
.catalog-card figure{
  min-height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:16px 0;
  border-radius:26px;
  background:#fff;
  border:1px solid var(--line);
}
.catalog-card img{
  max-height:180px;
  object-fit:contain;
  filter:drop-shadow(0 18px 24px rgba(24,32,30,.14));
}
.catalog-card ul{
  color:var(--muted);
  padding-left:20px;
  margin:12px 0 20px;
}
.catalog-card li{margin:6px 0}
.catalog-card .micro-btn{margin-top:auto}
.table-scroll{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:26px;
}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:18px;border-bottom:1px solid var(--line)}
th{background:#f2eadb}
.download-ridge{
  padding:42px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  border-radius:38px;
  color:#fff;
  background:linear-gradient(135deg,var(--forest2),var(--forest));
  box-shadow:var(--shadow);
}
.download-ridge span{color:#d6ddd8}
.download-cta{background:#fff;color:var(--forest);min-width:max-content}
.sequence-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.sequence-grid b{
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  border-radius:50%;
  background:var(--forest);
  color:#fff;
  margin-bottom:16px;
}
.support-pane{
  display:grid;
  grid-template-columns:1.05fr .75fr;
  gap:20px;
}
.support-text,.qr-card{
  padding:30px;
  border-radius:30px;
  border:1px solid var(--line);
  background:var(--paper2);
}
.support-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.support-tags em{
  font-style:normal;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:13px;
}
.qr-card{text-align:center}
.qr-card img{
  width:min(300px,100%);
  margin:0 auto 18px;
  padding:12px;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
}
.faq-section details{
  border-top:1px solid var(--line);
  padding:18px 0;
}
.faq-section summary{
  font-size:20px;
  font-weight:900;
  cursor:pointer;
}
.site-footer{
  margin-top:48px;
  padding:42px 6vw;
  background:var(--forest2);
  color:#fff;
  display:flex;
  justify-content:space-between;
  gap:24px;
}
.footer-wordmark span{color:#b8d0c5;text-transform:uppercase;font-size:12px;letter-spacing:.16em;font-weight:900}
.footer-wordmark strong{display:block;font-size:34px;margin:8px 0}
.site-footer p{color:#c7d7cf;max-width:760px}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
}
.footer-contact{
  border:1px solid rgba(255,255,255,.2);
  background:transparent;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  cursor:pointer;
}
.contact-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:100;
  align-items:center;
  justify-content:center;
}
.contact-modal.open{display:flex}
.modal-mask{
  position:absolute;
  inset:0;
  background:rgba(18,35,31,.68);
  backdrop-filter:blur(12px);
}
.modal-panel{
  position:relative;
  z-index:2;
  width:min(460px,calc(100% - 24px));
  background:#fff;
  color:var(--ink);
  border-radius:34px;
  padding:30px;
  text-align:center;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
}
.modal-close{
  position:absolute;
  right:14px;
  top:10px;
  border:0;
  background:transparent;
  font-size:30px;
  cursor:pointer;
}
.modal-qr{
  width:min(300px,100%);
  margin:18px auto;
  padding:12px;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--paper2);
}
.modal-panel p{color:var(--muted)}
.modal-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.floating-contact{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  border:0;
  border-radius:999px;
  background:var(--forest);
  color:#fff;
  padding:14px 18px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 20px 44px rgba(24,32,30,.22);
}
body.lock{overflow:hidden}

@media(max-width:1120px){
  .main-nav{display:none}
  .main-nav.show{
    display:flex;
    position:absolute;
    left:0;right:0;top:74px;
    flex-direction:column;
    align-items:flex-start;
    background:var(--paper2);
    border:1px solid var(--line);
    border-radius:24px;
    padding:16px;
    box-shadow:var(--shadow);
  }
  .menu-btn{display:block}
  .editorial-hero,.auth-story,.support-pane{grid-template-columns:1fr}
  .hero-right{min-height:500px}
  .ribbon,.catalog-layout{grid-template-columns:repeat(2,1fr)}
  .sequence-grid{grid-template-columns:repeat(2,1fr)}
  .download-ridge,.site-footer{flex-direction:column;align-items:flex-start}
  .footer-links{align-items:flex-start}
}
@media(max-width:720px){
  .topline{border-radius:26px}
  .brand em{display:none}
  .editorial-hero{grid-template-columns:1fr;min-height:auto}
  .hero-left{padding:34px 24px;background:rgba(248,243,234,.92)}
  .hero-left h1{font-size:42px}
  .hero-right{display:none}
  .section,.sub-hero,.download-ridge{padding:24px}
  .ribbon,.entry-masonry,.auth-points,.catalog-layout,.sequence-grid{grid-template-columns:1fr}
  .entry-masonry{
    grid-template-areas:
      "official"
      "support"
      "download"
      "contact";
  }
  .hero-actions,.modal-actions{flex-direction:column}
  .btn,.download-cta,.footer-contact{width:100%}
}
