#vsd.cf {
  --cf-content: 1180px;
  --cf-night: #0c1d34;
  --cf-text-on-dark: #d1deee;
  --cf-divider-on-dark: #324761;
}

#vsd.cf .vd-wrap {
  max-width: var(--cf-content);
  padding-inline: clamp(20px, 4vw, 32px);
}

#vsd.cf .cf-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 5px;
  background: var(--paper);
  font-weight: 700;
}

#vsd.cf .cf-skip:focus {
  transform: none;
}

#vsd.cf .cf-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

#vsd.cf .cf-header .vd-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#vsd.cf .cf-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--ice);
}

#vsd.cf .cf-languages a {
  display: grid;
  min-height: 37px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

#vsd.cf .cf-languages a:hover {
  background: var(--blue-soft);
  color: var(--ink);
}

#vsd.cf .cf-languages a[aria-current="page"] {
  background: var(--paper);
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
}

#vsd.cf .cf-hero {
  background: linear-gradient(112deg, var(--cf-night), var(--navy));
  color: var(--paper);
}

#vsd.cf .cf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 4.8vw, 68px);
  padding-block: clamp(44px, 5vw, 72px);
}

#vsd.cf .cf-hero h1 {
  margin-block: 15px 20px;
  font-size: clamp(36px, 4.25vw, 56px);
  font-weight: 800;
  letter-spacing: -.047em;
  line-height: 1.06;
  text-wrap: balance;
}

#vsd.cf:lang(zh) .cf-hero h1,
#vsd.cf:lang(ko) .cf-hero h1 {
  letter-spacing: -.015em;
  line-height: 1.19;
  word-break: keep-all;
}

#vsd.cf .cf-intro {
  max-width: 56ch;
  color: var(--cf-text-on-dark);
  font-size: clamp(16px, 1.55vw, 18px);
}

#vsd.cf .cf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

#vsd.cf .vd-btn-red {
  background: #b42e29;
}

#vsd.cf .vd-btn-red:hover {
  background: #9b2722;
}

#vsd.cf .cf-total {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--cf-divider-on-dark);
  color: var(--cf-text-on-dark);
  font-size: 14px;
}

#vsd.cf .cf-total strong {
  flex-shrink: 0;
  color: var(--paper);
  font-size: clamp(29px, 3.45vw, 43px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}

#vsd.cf .cf-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cf-divider-on-dark);
  border-radius: var(--radius);
  background: var(--cf-night);
}

#vsd.cf .cf-visual img {
  display: block;
  width: 100%;
  height: auto;
}

#vsd.cf .cf-visual figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--cf-night);
  color: var(--cf-text-on-dark);
  font-size: 12px;
}

#vsd.cf .cf-section {
  padding-block: clamp(44px, 6vw, 76px);
  scroll-margin-top: 112px;
}

#vsd.cf h2 {
  max-width: 30ch;
  font-size: clamp(27px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.034em;
  line-height: 1.14;
  text-wrap: balance;
}

#vsd.cf .cf-section-lead {
  max-width: 63ch;
  margin-top: 12px;
  color: var(--slate);
}

#vsd.cf .cf-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

#vsd.cf .cf-product {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3.2vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

#vsd.cf .cf-product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 19px;
}

#vsd.cf .cf-formula {
  color: var(--blue-deep);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.036em;
  line-height: 1.1;
}

#vsd.cf .cf-cas {
  display: block;
  margin-top: 4px;
  color: var(--slate);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

#vsd.cf .cf-stock {
  padding: 4px 11px;
  border: 1px solid #c2e2d1;
  border-radius: 99px;
  background: #e9f5ee;
  color: #1a613a;
  font-size: 13px;
  font-weight: 700;
}

#vsd.cf .cf-product h3 {
  margin-bottom: 9px;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}

#vsd.cf .cf-product p {
  margin-bottom: 13px;
  color: var(--slate);
}

#vsd.cf .cf-product p.cf-product-lead {
  color: var(--ink);
  font-weight: 650;
}

#vsd.cf .cf-product p:last-of-type {
  margin-bottom: 23px;
}

#vsd.cf .cf-product-quote {
  align-self: flex-start;
  margin-top: 13px;
}

#vsd.cf .cf-product dl {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

#vsd.cf .cf-product dl div {
  display: grid;
  grid-template-columns: minmax(105px, .75fr) minmax(0, 1.65fr);
  gap: 14px;
  padding-block: 13px;
  font-size: 14px;
}

#vsd.cf .cf-product dl div + div {
  border-top: 1px solid var(--line);
}

#vsd.cf .cf-product dt {
  font-weight: 750;
}

#vsd.cf .cf-product dd {
  color: var(--slate);
}

#vsd.cf .cf-documentation {
  padding-top: 0;
}

#vsd.cf .cf-docs-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
  padding: clamp(24px, 4.5vw, 50px);
  border-top: 2px solid var(--blue);
  background: var(--ice);
  border-radius: var(--radius);
}

#vsd.cf .cf-docs-panel p {
  max-width: 68ch;
  margin-top: 13px;
  color: var(--slate);
}

#vsd.cf .cf-docs-panel .vd-btn {
  flex-shrink: 0;
}

#vsd.cf .cf-provenance {
  padding-top: 0;
}

#vsd.cf .cf-provenance-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
  padding: clamp(24px, 4.5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ice);
}

#vsd.cf .cf-provenance h2 {
  grid-column: 1 / -1;
}

#vsd.cf .cf-provenance p {
  color: var(--slate);
}

#vsd.cf .cf-provenance p + p {
  margin-top: 13px;
}

#vsd.cf .cf-provenance a {
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

#vsd.cf .cf-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
}

#vsd.cf .cf-purchase {
  padding-top: 0;
}

#vsd.cf .cf-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
  margin-top: 24px;
  padding-left: 1.25rem;
}

#vsd.cf .cf-steps li {
  padding-left: 4px;
}

#vsd.cf .cf-steps li::marker {
  color: var(--blue-deep);
  font-weight: 800;
}

#vsd.cf .cf-steps h3 {
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 750;
}

#vsd.cf .cf-steps p {
  color: var(--slate);
  font-size: 15px;
}

#vsd.cf .cf-inquiry {
  padding-top: 0;
}

#vsd.cf .cf-inquiry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .52fr);
  align-items: center;
  gap: 26px 38px;
  padding: clamp(26px, 4.5vw, 52px);
  border-radius: var(--radius);
  background: linear-gradient(130deg, var(--cf-night), var(--navy));
  color: var(--paper);
}

#vsd.cf .cf-contact-person {
  margin-top: 14px;
  color: var(--cf-text-on-dark);
}

#vsd.cf .cf-inquiry address {
  display: grid;
  gap: 12px;
  padding-left: 25px;
  border-left: 1px solid var(--cf-divider-on-dark);
  color: var(--cf-text-on-dark);
  font-style: normal;
  overflow-wrap: anywhere;
}

#vsd.cf .cf-inquiry address a,
#vsd.cf .cf-inquiry address strong {
  color: var(--paper);
  font-weight: 700;
}

#vsd.cf .cf-inquiry address a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

#vsd.cf .cf-wechat {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--cf-divider-on-dark);
}

#vsd.cf .cf-wechat a.cf-wechat-profile {
  display: grid;
  justify-items: start;
  gap: 8px;
  text-underline-offset: .2em;
}

#vsd.cf .cf-wechat-profile img {
  display: block;
  width: 144px;
  height: 144px;
  border-radius: 6px;
  background: var(--paper);
}

#vsd.cf .cf-wechat .vd-btn[hidden] {
  display: none;
}

#vsd.cf .cf-wechat-help,
#vsd.cf .cf-wechat-status {
  font-size: 13px;
}

#vsd.cf .cf-wechat-status:empty {
  display: none;
}

#vsd.cf .cf-footer {
  border-top: 1px solid var(--line);
  background: var(--ice);
  color: var(--slate);
  font-size: 14px;
}

#vsd.cf .cf-footer .vd-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 22px;
}

#vsd.cf .cf-footer a {
  color: var(--blue-deep);
  font-weight: 700;
}

@media (max-width: 820px) {
  #vsd.cf .cf-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 42px;
  }

  #vsd.cf .cf-hero h1 {
    max-width: 22ch;
    text-wrap: initial;
  }

  #vsd.cf .cf-visual img {
    max-height: 320px;
    object-fit: contain;
  }

  #vsd.cf .cf-product dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 640px) {
  #vsd.cf .cf-header .vd-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding-block: 10px;
  }

  #vsd.cf .cf-languages {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, auto));
    gap: 1px;
  }

  #vsd.cf .cf-languages a {
    min-height: 39px;
    justify-items: center;
    padding-inline: 4px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  #vsd.cf .cf-products,
  #vsd.cf .cf-provenance-panel,
  #vsd.cf .cf-inquiry-panel,
  #vsd.cf .cf-steps {
    grid-template-columns: 1fr;
  }

  #vsd.cf .cf-docs-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  #vsd.cf .cf-inquiry address {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--cf-divider-on-dark);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #vsd.cf .vd-btn {
    transition: none;
  }
}
