/* Compact layout and shared likeyou brand styling. */
h1,
h2,
h3,
.brand { letter-spacing: 0; }

.brand-mark {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 0;
  flex: 0 0 34px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.core {
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: 0 0 42px #2de7da22;
}

.core img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.hero {
  min-height: 560px;
  padding-top: 88px;
}

.hero-art {
  width: 360px;
  height: 360px;
  margin-right: 12px;
}

.nav-links { margin-left: 48px; }

.product,
.services,
.about,
.contact {
  padding-top: 72px;
  padding-bottom: 72px;
}

.product-panel {
  min-height: 0;
  margin-top: 40px;
  padding: 20px;
}

.product-grid {
  margin-top: 22px;
}

.product-stat {
  padding: 20px 18px;
}

.product-stat strong { font-size: 42px; }

.product-caption {
  align-items: flex-start;
  gap: 24px;
  margin-top: 20px;
}

.product-caption > span {
  max-width: 54%;
  line-height: 1.65;
}

.product-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.product-links a {
  display: block !important;
  margin-top: 0 !important;
  white-space: nowrap;
}

.app-icon {
  width: 28px;
  height: 28px;
  margin-right: 2px;
  border-radius: 7px;
  object-fit: cover;
}

.service-list { margin-top: 42px; }

.services .section-heading.split {
  width: 100%;
  max-width: none;
}

.split > div {
  flex: 1 1 auto;
  min-width: 0;
}

.split > p {
  flex: 0 1 450px;
  min-width: 280px;
}

.service-list article {
  min-height: 218px;
  padding: 24px 22px;
}

h3 {
  margin-top: 45px;
  letter-spacing: 0;
}

.about { gap: 64px; }

.about blockquote {
  font-size: clamp(40px, 4.6vw, 58px);
  margin-top: 34px;
  letter-spacing: 0;
}

html[lang="zh-Hant"] .about blockquote { white-space: nowrap; }
html[lang="en"] .about blockquote { white-space: normal; }

@media (min-width: 901px) {
  html[lang="en"] .scroll-cue { left: 340px; }

  html[lang="en"] .product .section-heading { max-width: 900px; }

  html[lang="en"] .product .section-heading > p:last-child {
    max-width: 620px;
  }
}

.about-meta { margin-top: 42px; }

.contact { gap: 54px; }
.contact-email { margin: 28px 0; }
.contact-note { white-space: nowrap; letter-spacing: .04em; }

footer {
  flex-wrap: wrap;
  gap: 18px 24px;
}

footer .brand-mark {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

footer .footer-links {
  flex: 1 1 360px;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.payment-marks {
  margin-left: auto;
  margin-right: 0;
}

footer .copyright { margin-left: auto; }

@media (max-width: 1100px) {
  .nav-links { margin-left: 20px; gap: 20px; }
  .nav-actions { gap: 16px; }
  .hero-art { width: 320px; height: 320px; margin-right: 0; }
  .contact { gap: 36px; }
  .contact-card { width: min(100%, 390px); }
}

@media (max-width: 900px) {
  .nav-wrap { padding-left: 22px; padding-right: 22px; }
  .nav-links { display: none; }
  .hero {
    min-height: 0;
    padding-top: 68px;
    padding-bottom: 54px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-art {
    width: min(100%, 340px);
    height: 340px;
    margin: 12px auto 0;
  }
  .scroll-cue { display: none; }
  .split,
  .contact { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .split > p { margin-top: 0; }
  .split > p { min-width: 0; }
  .contact-card { width: 100%; max-width: 520px; }
  .product-caption { display: block; }
  .product-caption > span { display: block; max-width: none; }
  .product-links { justify-content: flex-start; margin-top: 18px; }
  .about { grid-template-columns: 1fr; gap: 26px; }
  .about-copy { align-self: auto; }
  .about-meta { margin-top: 30px; }
}

@media (max-width: 800px) {
  .section-pad { padding-left: 22px; padding-right: 22px; }
  .product,
  .services,
  .about,
  .contact { padding-top: 58px; padding-bottom: 58px; }
  .product-panel { margin-top: 32px; padding: 16px; }
  .product-grid { margin-top: 18px; }
  .product-stat { padding: 17px 12px; }
  .product-stat strong { font-size: 34px; }
  .service-list { margin-top: 32px; grid-template-columns: 1fr; }
  .service-list article {
    min-height: 0;
    padding: 22px 18px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .service-list article:last-child { border-bottom: 0; }
  h3 { margin: 32px 0 12px; }
  .about blockquote { margin-top: 28px; }
  .contact-email { font-size: 19px; }
  .contact-note { font-size: 9px; }
  footer { padding-left: 22px; padding-right: 22px; }
  footer .footer-links { flex-basis: 100%; order: 3; }
  .payment-marks,
  footer .copyright { margin-left: auto; }
}

@media (max-width: 480px) {
  .nav-wrap { height: 70px; padding-left: 18px; padding-right: 18px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .nav-cta { padding: 9px 11px; font-size: 11px; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 50px); }
  .about blockquote { font-size: clamp(30px, 8.5vw, 40px); }
  .hero-art { width: 286px; height: 286px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid #2b394e;
  }
  .product-stat:last-child { border-bottom: 0; }
  .product-links { gap: 12px; }
  .product-links a { white-space: normal; }
  .payment-marks { margin-left: 0; }
  footer .copyright { margin-left: 0; }
}

/* Use the recovered likeyou mark consistently across the homepage. */
.brand-mark {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border: 0;
  border-radius: 0;
  background: url("logo.svg?v=20261016-7") center / contain no-repeat;
  color: transparent;
  font-size: 0;
}

.brand-mark img,
.brand-mark svg,
.brand-mark::before,
.brand-mark::after { display: none; content: none; }

.core {
  width: 85px;
  height: 85px;
  border: 0;
  border-radius: 0;
  background: url("logo.svg?v=20261016-7") center / 62px 62px no-repeat;
  box-shadow: 0 0 40px #2de7da22;
  font-size: 0;
}

.core img,
.core svg,
.core::before,
.core::after { display: none; content: none; }

footer .brand-mark {
  width: 23px;
  height: 23px;
  flex-basis: 23px;
}

/* Keep the product card content close to its header instead of leaving an empty band. */
.product-panel { padding: 16px 20px 18px; }
.product-grid { margin-top: 8px; }
.product-stat { padding-top: 17px; padding-bottom: 17px; }
.product-caption { margin-top: 14px; }

/* The contact block and footer use a stable rhythm at desktop widths. */
.contact { padding-top: 52px; padding-bottom: 52px; }
.contact-card { align-self: center; }

footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px 24px;
}

footer .footer-links {
  min-width: 0;
  flex: initial;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
}

.payment-marks,
footer .copyright { margin-left: 0; }

@media (max-width: 1000px) {
  footer {
    grid-template-columns: auto minmax(0, 1fr);
  }
  footer .payment-marks,
  footer .copyright { grid-column: 2; justify-self: start; }
  footer .copyright { margin-top: -8px; }
}

@media (max-width: 800px) {
  .product-panel { padding: 14px 16px 16px; }
  .product-grid { margin-top: 6px; }
  .product-caption { margin-top: 12px; }
  .contact { padding-top: 48px; padding-bottom: 48px; }
  footer {
    display: flex;
    align-items: flex-start;
    gap: 14px 18px;
  }
  footer .footer-links {
    flex-basis: 100%;
    order: 3;
  }
  footer .payment-marks,
  footer .copyright { margin-left: 0; }
}
