/* ============================================================
   HelloWorld 跨境电商助手 — Brand CSS
   Domain: helloword-scrm.com
   Prefix: hws-
   Version: 1.3.11
   Palette: Primary #1880FF / Deep #0B5ED7 / Teal #14B8A6
            Soft #F0F7FF / Tint #E8F3FF / Teal-tint #E6FFFA
            Ink #0F172A / Muted #64748B / Pink tip #FF6B9D
   Vibe: light airy SaaS (meiqia-like structure, original colors/copy)
   ============================================================ */

:root {
  --hws-primary: #1880FF;
  --hws-primary-deep: #0B5ED7;
  --hws-teal: #14B8A6;
  --hws-soft: #F0F7FF;
  --hws-tint: #E8F3FF;
  --hws-tint-teal: #E6FFFA;
  --hws-ink: #0F172A;
  --hws-muted: #64748B;
  --hws-pink: #FF6B9D;
  --hws-white: #FFFFFF;
  --hws-border: #E2E8F0;
  --hws-shadow: 0 12px 40px rgba(24, 128, 255, 0.20);
  --hws-shadow-sm: 0 6px 20px rgba(24, 128, 255, 0.12);
  --hws-radius: 20px;
  --hws-radius-sm: 12px;
  --hws-radius-pill: 999px;
  --hws-max: 1300px;
  --hws-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base wrappers ---------- */
.hws-wrap {
  max-width: var(--hws-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.hws-section {
  padding: 72px 0;
  position: relative;
}
.hws-section--soft {
  background-color: var(--hws-soft);
  background-image:
    linear-gradient(rgba(24, 128, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 128, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
}
.hws-section--tint {
  background: linear-gradient(180deg, var(--hws-soft) 0%, var(--hws-white) 100%);
}

/* ---------- Full-bleed soft backgrounds (break out of Astra .ast-container) ---------- */
.hws-hero,
.hws-page-hero,
.hws-section--soft,
.hws-section--tint {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
html {
  /* was overflow-x:clip — clip/auto/scroll on html|body kills position:sticky */
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
}

/* ---------- Kill header→hero white gap (Astra + WP auto <p>) ---------- */
.home .site-content,
.page-template-default .site-content {
  padding-top: 0 !important;
}
.home .ast-container,
.page-template-default.page .ast-container {
  padding-top: 0 !important;
}
/* HWS wider content shell */
.home .ast-container,
.page .ast-container,
.ast-container {
  max-width: 1320px !important;
}
.home #primary,
.home .site-main,
.home .ast-article-single,
.home .entry-content,
.page .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home .entry-header,
.page .entry-header.ast-header-without-markup {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
/* WP wraps stray HTML comments into a leading <p><br></p> — hide it */
.home .entry-content > p:first-child:has(br),
.page .entry-content > p:first-child:has(br) {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
.home .entry-content > .hws-hero:first-child,
.home .entry-content > p + .hws-hero,
.page .entry-content > .hws-page-hero:first-child,
.page .entry-content > p + .hws-page-hero {
  margin-top: 0 !important;
}
.main-header-bar {
  margin-bottom: 0 !important;
}



/* ---------- Floating capsule header (logo wordmark | nav + flat CTA) ---------- */
#masthead.site-header,
#masthead {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
}
#masthead .main-header-bar-wrap,
#masthead .ast-main-header-wrap,
#masthead .ast-primary-header-bar,
#masthead .main-header-bar,
#masthead .site-primary-header-wrap,
#masthead .ast-builder-grid-row,
#masthead a,
#masthead button,
#masthead .menu-link,
#masthead .menu-toggle,
#masthead .ast-button-wrap {
  pointer-events: auto;
}
#masthead .main-header-bar-wrap,
#masthead .ast-main-header-wrap {
  background: transparent !important;
}
#masthead .ast-primary-header-bar.main-header-bar,
#masthead .main-header-bar {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding: 9px 12px 0 !important;
  min-height: 0 !important;
}
/* Kill Astra's default ~80px header height / menu line-height (was making CTA a circle) */
#masthead .ast-primary-header-bar .site-primary-header-wrap,
#masthead .ast-mobile-header-wrap .ast-primary-header-bar,
#masthead .ast-primary-header-bar {
  min-height: 0 !important;
}
#masthead .main-header-menu > .menu-item,
.ast-desktop #masthead .ast-primary-header-bar .main-header-menu > .menu-item {
  line-height: normal !important;
  justify-content: center !important;
}
#masthead .site-primary-header-wrap.ast-container {
  max-width: min(1320px, calc(100% - 24px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 6px 14px 6px 18px !important;
  background: #ffffff !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(24, 128, 255, 0.10);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(24, 128, 255, 0.12), 0 2px 8px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}
#masthead .ast-builder-grid-row {
  align-items: center !important;
  min-height: 0;
}
/* Logo image already includes icon + Hello World — no extra title */
#masthead .site-branding .custom-logo-link img,
#masthead .site-logo-img img,
#masthead .custom-logo-link img,
#masthead .ast-header-logo img,
#masthead .site-header .custom-logo {
  max-height: 41px !important;
  height: 41px !important;
  width: auto !important;
}
#masthead .ast-site-title-wrap,
#masthead .site-title,
#masthead .site-description {
  display: none !important;
}
#masthead .main-header-menu {
  gap: 2px;
  align-items: center;
}
#masthead .main-header-menu > .menu-item > .menu-link {
  color: #334155 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 6px 14px !important;
  line-height: 1.2 !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: color 0.2s var(--hws-ease);
}
#masthead .main-header-menu > .menu-item > .menu-link:hover,
#masthead .main-header-menu > .menu-item.current-menu-item > .menu-link,
#masthead .main-header-menu > .menu-item.current-menu-ancestor > .menu-link {
  color: var(--hws-primary) !important;
  background: transparent !important;
}
/* Last item = flat solid CTA pill (免费下载) — not a circle */
#masthead .main-header-menu > .menu-item:last-child > .menu-link,
#masthead .main-header-menu > .menu-item:last-child > a {
  margin-left: 10px;
  padding: 14px 32px !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
  height: auto !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  background: #1880FF !important;
  box-shadow: 0 8px 20px rgba(24, 128, 255, 0.28), 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.2s var(--hws-ease), box-shadow 0.2s var(--hws-ease), background 0.2s var(--hws-ease) !important;
}
#masthead .main-header-menu > .menu-item:last-child > .menu-link:hover {
  color: #fff !important;
  background: #0B5ED7 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(24, 128, 255, 0.36), 0 3px 8px rgba(15, 23, 42, 0.10) !important;
}
/* Mobile header: keep bar clean, capsule-ish */
@media (max-width: 921px) {
  #masthead .ast-primary-header-bar.main-header-bar {
    padding: 8px 12px 0 !important;
  }
  #masthead .site-primary-header-wrap.ast-container {
    max-width: calc(100% - 16px) !important;
    padding: 6px 12px !important;
  }
}

/* Keep old custom markup styles if ever injected */
.hws-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin-bottom: -8px;
}
.hws-header__capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 6px 18px 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(24, 128, 255, 0.12);
  border-radius: var(--hws-radius-pill);
  box-shadow: var(--hws-shadow-sm);
}
.hws-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--hws-ink);
  font-weight: 700;
  font-size: 15px;
}
.hws-header__logo img {
  height: 50px;
  width: auto;
  display: block;
}
.hws-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hws-header__nav a {
  text-decoration: none;
  color: var(--hws-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--hws-radius-pill);
  transition: color 0.2s var(--hws-ease), background 0.2s var(--hws-ease);
}
.hws-header__nav a:hover {
  color: var(--hws-primary);
  background: var(--hws-tint);
}
.hws-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--hws-primary) 0%, var(--hws-primary-deep) 100%);
  color: var(--hws-white) !important;
  border-radius: var(--hws-radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(24, 128, 255, 0.35);
  transition: transform 0.2s var(--hws-ease), box-shadow 0.2s var(--hws-ease);
}
.hws-header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(24, 128, 255, 0.45);
}

/* ---------- Cross-grid layer (SVG, fixed, always visible) ---------- */
html.home,
body.home {
  background: #F0F7FF !important;
}
body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #F0F7FF;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M32 0H0M0 0V32' stroke='%231880FF' stroke-opacity='0.18' stroke-width='1' fill='none'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(24, 128, 255, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #F0F7FF 0%, rgba(247,250,255,0.92) 40%, rgba(255,255,255,0.88) 75%);
  background-size: 32px 32px, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat;
  background-position: 0 0, center, center;
}
body.home #page,
body.home .site-content,
body.home #content {
  position: relative;
  z-index: 1;
  background: transparent !important;
  background-color: transparent !important;
}
/* Keep capsule sticky on scroll — do NOT set position:relative on #masthead */
body.home #masthead {
  z-index: 10000;
  background: transparent !important;
  background-color: transparent !important;
}

/* ---------- Soft page canvas + cross grid under floating header ---------- */
/* Astra paints .ast-plain-container / .site-content white — force transparent so body grid shows */
body.home.ast-plain-container,
body.home.ast-page-builder-template,
body.home #page,
body.home .site-content,
body.home .ast-container,
body.home #primary,
body.home .site-main,
body.home .ast-article-single,
body.home article.page,
body.home .entry-content {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.home {
  /* Cross grid (visible) + soft blue wash */
  background-color: #F0F7FF !important;
  background-image:
    linear-gradient(rgba(24, 128, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 128, 255, 0.14) 1px, transparent 1px),
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(24, 128, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 8%, rgba(20, 184, 166, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #F0F7FF 0%, #F7FAFF 38%, #FFFFFF 70%) !important;
  background-size:
    28px 28px,
    28px 28px,
    auto,
    auto,
    auto !important;
  background-position: 0 0, 0 0, center, center, center !important;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat !important;
}

/* Inner pages: soft top + light grid behind page-hero */
body.page:not(.home).ast-plain-container,
body.page:not(.home) #page,
body.page:not(.home) .site-content {
  background: transparent !important;
  background-color: transparent !important;
}
body.page:not(.home) {
  background-color: #FFFFFF !important;
  background-image:
    linear-gradient(rgba(24, 128, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 128, 255, 0.10) 1px, transparent 1px),
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(24, 128, 255, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 28%) !important;
  background-size: 28px 28px, 28px 28px, auto, auto !important;
  background-repeat: repeat, repeat, no-repeat, no-repeat !important;
}

/* Hero sits on page canvas (no opaque wash covering grid) */
body.home .hws-hero {
  margin-top: 0;  /* 1.3.10: fixed masthead out of flow — no negative pull */
  padding-top: calc(16px + 56px) !important;
  background: transparent !important;
}
body.page:not(.home) .hws-page-hero {
  margin-top: 0;
  padding-top: calc(16px + 56px) !important;
  background: transparent !important;
}
/* Non-hero pages (blog/single etc.): reserve space under fixed header */
body.blog .site-content,
body.single .site-content,
body.archive .site-content,
body.error404 .site-content {
  padding-top: 56px !important;
}

#masthead,
#masthead .ast-desktop-header,
#masthead #ast-desktop-header,
#masthead .ast-mobile-header-wrap,
#ast-mobile-header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hws-section--soft {
  background-color: #F0F7FF !important;
  background-image:
    linear-gradient(rgba(24, 128, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 128, 255, 0.11) 1px, transparent 1px) !important;
  background-size: 28px 28px, 28px 28px !important;
}


/* ---------- Buttons ---------- */
.hws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  line-height: 1.2;
  min-height: 0;
  border-radius: var(--hws-radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(24, 128, 255, 0.28), 0 2px 6px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s var(--hws-ease), box-shadow 0.2s var(--hws-ease), background 0.2s var(--hws-ease), border-color 0.2s;
}
/* Hero CTAs explicitly taller/longer; font stays 15px */
.hws-hero .hws-btn,
.hws-hero .hws-btn--primary,
.hws-hero .hws-btn--ghost {
  padding: 16px 40px;
  font-size: 15px;
}
a.hws-btn,
a.hws-btn:hover,
a.hws-btn:focus,
a.hws-btn:visited,
.entry-content a.hws-btn,
.entry-content a.hws-btn:hover,
.ast-single-post .entry-content a.hws-btn {
  text-decoration: none !important;
  border-bottom: none !important;
}
.hws-btn--primary,
a.hws-btn--primary {
  background: #1880FF;
  color: var(--hws-white) !important;
  box-shadow: 0 8px 20px rgba(24, 128, 255, 0.28), 0 2px 6px rgba(15, 23, 42, 0.08);
}
.hws-btn--primary:hover,
a.hws-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(24, 128, 255, 0.36), 0 3px 8px rgba(15, 23, 42, 0.10);
  color: var(--hws-white) !important;
  text-decoration: none !important;
}
.hws-btn--ghost,
a.hws-btn--ghost {
  background: var(--hws-white);
  color: var(--hws-primary) !important;
  border: 1.5px solid rgba(24, 128, 255, 0.35);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}
.hws-btn--ghost:hover,
a.hws-btn--ghost:hover {
  background: var(--hws-tint);
  transform: translateY(-1px);
  color: var(--hws-primary-deep);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}
.hws-btn--teal,
a.hws-btn--teal {
  background: linear-gradient(135deg, var(--hws-teal) 0%, #0D9488 100%);
  color: var(--hws-white);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.30), 0 2px 6px rgba(15, 23, 42, 0.08);
}
.hws-btn--teal:hover,
a.hws-btn--teal:hover {
  transform: translateY(-2px) scale(1.02);
  color: var(--hws-white);
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.38), 0 3px 8px rgba(15, 23, 42, 0.10);
}
.hws-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hws-hero {
  text-align: center;
  padding: 72px 0 10px;  /* 1.3.3: tighter before channels */
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(24, 128, 255, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(20, 184, 166, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, var(--hws-soft) 0%, var(--hws-white) 70%);
}
.hws-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--hws-white);
  border: 1px solid rgba(24, 128, 255, 0.18);
  border-radius: var(--hws-radius-pill);
  color: var(--hws-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: var(--hws-shadow-sm);
}
.hws-hero__title {
  font-size: clamp(52px, 8.5vw, 88px);
  line-height: 1.2;
  font-weight: 900;
  margin: 12px 0 32px;
  letter-spacing: -0.03em;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
  background: linear-gradient(120deg, #0B5ED7 0%, #1880FF 42%, #14B8A6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 28px rgba(24, 128, 255, 0.28));
}
.hws-hero__title .hws-grad {
  background: linear-gradient(120deg, var(--hws-primary) 0%, var(--hws-teal) 55%, var(--hws-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hws-hero__sub,
.hws-hero__subtitle {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.65;
  color: var(--hws-muted);
  max-width: min(1100px, 96vw);
  margin: 0 auto 28px;
  text-wrap: pretty;
}
@media (min-width: 1200px) {
  .hws-hero__sub,
  .hws-hero__subtitle {
    font-size: 15px;
    white-space: nowrap;
    max-width: none;
    overflow-x: auto;
  }
}
@media (max-width: 1199px) {
  .hws-hero__sub,
  .hws-hero__subtitle {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .hws-hero__title {
    white-space: normal;
    font-size: clamp(40px, 11vw, 58px);
    line-height: 1.35;
  }
}

/* 1.3.3: kill residual air under hero mock before channels */
.hws-hero__visual,
.hws-hero__media,
.hws-hero .hws-hero__visual,
.hws-hero .hws-hero__media {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.hws-hero__visual img,
.hws-hero__media img {
  margin-bottom: 0 !important;
  display: block;
}
.hws-hero + .hws-channels,
.hws-hero + section.hws-channels,
.hws-wrap + .hws-channels {
  margin-top: 0 !important;
}

/* Hero content wrap slightly wider so mock can grow */
.hws-hero > .hws-wrap {
  max-width: min(1320px, calc(100% - 32px));
}
.hws-hero__visual,
.hws-hero__media,
.hws-hero .hws-hero__visual,
.hws-hero .hws-hero__media {
  margin-top: 48px;
  margin-bottom: 0;
  max-width: min(1280px, 96vw);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.hws-hero__visual img,
.hws-hero__media img,
.hws-hero img:not(.custom-logo) {
  width: 100%;
  max-width: 1180px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: none !important;
  border-radius: var(--hws-radius);
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  transition: transform 0.35s var(--hws-ease);
}
.hws-hero__visual img:hover,
.hws-hero__media img:hover {
  transform: scale(1.02);
  box-shadow: none !important;
}

/* ---------- Page heroes (inner pages) ---------- */
.hws-page-hero {
  text-align: center;
  padding: 72px 0 40px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(24, 128, 255, 0.12) 0%, transparent 55%),
    var(--hws-soft);
}
.hws-page-hero__title {
  font-size: clamp(32px, 4.2vw, 44px);
  font-weight: 800;
  color: var(--hws-ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.hws-page-hero__sub {
  font-size: 17px;
  color: var(--hws-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Channel / brand wall row ---------- */
.hws-channels > .hws-wrap,
.hws-section > .hws-wrap {
  max-width: min(1320px, calc(100% - 32px));
}
.hws-channels {
  padding: 10px 0 24px;  /* 1.3.3: tighter after hero mock */
  text-align: center;
  margin-top: 0;
}
.hws-channels__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hws-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hws-channels__row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  scrollbar-width: none;
}
.hws-channels__row::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
@media (min-width: 922px) {
  .hws-channels__row {
    flex-wrap: nowrap;
    gap: 6px 8px;
  }
  .hws-channel {
    padding: 7px 12px;
    font-size: 12.5px;
    gap: 6px;
    white-space: nowrap;
  }
}
@media (max-width: 921px) {
  .hws-channels__row {
    flex-wrap: wrap;
    overflow-x: hidden;
  }
}
.hws-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--hws-ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  white-space: nowrap;
  flex: 0 0 auto;
  transition: transform 0.2s var(--hws-ease), box-shadow 0.2s var(--hws-ease), border-color 0.2s;
}
.hws-channel:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--hws-shadow-sm);
  border-color: rgba(24, 128, 255, 0.3);
}
.hws-channel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hws-primary);
  flex-shrink: 0;
}
.hws-channel__dot--wa { background: #25D366; }
.hws-channel__dot--tg { background: #2AABEE; }
.hws-channel__dot--fb { background: #1877F2; }
.hws-channel__dot--ig { background: #E4405F; }
.hws-channel__dot--line { background: #06C755; }
.hws-channel__dot--sk { background: #00AFF0; }
.hws-channel__dot--dc { background: #5865F2; }
.hws-channel__dot--x { background: #0F172A; }

/* ---------- Feature zigzag (1.3.0+) ---------- */
.hws-feat {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas: "media copy";
  gap: 36px;
  align-items: center;
  margin: 0;
  padding: 12px 0;
}
.hws-feat__media,
.hws-feat__body {
  margin: 0;
}
.hws-feat--rev {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "copy media";
}
.hws-feat__media { grid-area: media; }
.hws-feat__body { grid-area: copy; }
/* Fallback if areas unsupported / DOM media-first on --rev */
.hws-feat--rev .hws-feat__media { order: 2; }
.hws-feat--rev .hws-feat__body { order: 1; }
.hws-feat__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--hws-tint);
  color: var(--hws-primary);
  border-radius: var(--hws-radius-pill);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.hws-feat__badge--teal {
  background: var(--hws-tint-teal);
  color: #0D9488;
}
.hws-feat__title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: var(--hws-ink);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.hws-feat__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hws-muted);
  margin: 0 0 16px;
}
.hws-feat__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hws-feat__list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: var(--hws-ink);
  line-height: 1.5;
}
.hws-feat__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--hws-tint-teal);
  box-shadow: inset 0 0 0 4px var(--hws-teal);
}
.hws-feat__media {
  grid-area: media;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 340px;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  border-radius: var(--hws-radius);
  padding: 0 !important;
  box-shadow: none !important;
  transition: transform 0.35s var(--hws-ease);
}
.hws-feat__media--teal {
  background: transparent !important;
}
.hws-feat__media:hover {
  transform: scale(1.02);
  box-shadow: none !important;
}
.hws-feat__media img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border: none !important;
  border-radius: var(--hws-radius-sm);
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}


/* ---------- No frames on product/content images ---------- */
.hws-hero__visual,
.hws-feat__media,
.entry-content .hws-hero__visual,
.entry-content .hws-feat__media {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.hws-hero__visual img,
.hws-feat__media img,
.entry-content img:not(.custom-logo):not(.avatar),
.wp-block-image img,
figure img {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ---------- Cards grid (who-for / download / stats) ---------- */
.hws-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hws-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}
.hws-card {
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s var(--hws-ease), box-shadow 0.25s var(--hws-ease);
}
.hws-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--hws-shadow);
}
.hws-card--tint,
.hws-card--teal {
  background: #ffffff;
  border: 1px solid var(--hws-border);
  color: var(--hws-ink);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.hws-card--tint .hws-card__title,
.hws-card--teal .hws-card__title {
  color: #0F172A;
}
.hws-card--tint .hws-card__desc,
.hws-card--teal .hws-card__desc {
  color: #475569;
}
.hws-card--tint .hws-card__icon,
.hws-card--teal .hws-card__icon {
  background: linear-gradient(135deg, var(--hws-primary), var(--hws-teal));
  color: #fff;
  box-shadow: none;
}
.hws-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hws-primary), var(--hws-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hws-white);
  font-size: 20px;
  margin-bottom: 16px;
}
.hws-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hws-muted);
  margin: 0;
}

/* ---------- Stats strip ---------- */
.hws-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.hws-stat {
  padding: 24px 12px;
  background: var(--hws-white);
  border-radius: var(--hws-radius-sm);
  border: 1px solid var(--hws-border);
}
.hws-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--hws-primary);
  margin-bottom: 4px;
}
.hws-stat__num--teal { color: var(--hws-teal); }
.hws-stat__label {
  font-size: 13px;
  color: var(--hws-muted);
  font-weight: 500;
}

/* ---------- Steps ---------- */
.hws-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: hws-step;
}
.hws-step {
  position: relative;
  background: var(--hws-white);
  border-radius: var(--hws-radius);
  padding: 32px 24px 28px;
  border: 1px solid var(--hws-border);
  box-shadow: 0 10px 28px rgba(24, 128, 255, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--hws-ease), box-shadow 0.25s;
}
.hws-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(24, 128, 255, 0.20), 0 4px 12px rgba(15, 23, 42, 0.08);
}
.hws-step::before {
  counter-increment: hws-step;
  content: counter(hws-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hws-primary), var(--hws-teal));
  color: var(--hws-white);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.hws-step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-step__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hws-muted);
  margin: 0;
}

/* ---------- Section headings ---------- */
.hws-heading {
  text-align: center;
  margin-bottom: 40px;
}
.hws-heading__title,
.hws-section__title,
.hws-section h2,
.hws-wrap > h2,
.hws-heading h2 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  color: var(--hws-ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.hws-heading__title .hws-grad {
  background: linear-gradient(120deg, var(--hws-primary) 0%, var(--hws-teal) 60%, var(--hws-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hws-heading__sub {
  font-size: 16px;
  color: var(--hws-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- FAQ ---------- */
.hws-faq {
  max-width: 760px;
  margin: 0 auto;
}
.hws-faq__item {
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s var(--hws-ease), border-color 0.2s;
}
.hws-faq__item:hover {
  border-color: rgba(24, 128, 255, 0.3);
  box-shadow: var(--hws-shadow-sm);
}
.hws-faq__q {
  font-size: 16px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-faq__a {
  font-size: 14px;
  line-height: 1.75;
  color: var(--hws-muted);
  margin: 0;
}

/* ---------- CTA band ---------- */
.hws-cta-band {
  text-align: center;
  padding: 64px 32px;
  background:
    linear-gradient(135deg, rgba(24, 128, 255, 0.95) 0%, rgba(11, 94, 215, 0.95) 50%, rgba(20, 184, 166, 0.9) 100%);
  border-radius: var(--hws-radius);
  color: var(--hws-white);
  box-shadow: var(--hws-shadow);
  margin: 24px 0;
}
.hws-cta-band__title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--hws-white);
}
.hws-cta-band__sub,
.hws-cta__title {
  font-size: clamp(14px, 1.2vw, 16px);
  opacity: 0.95;
  margin: 0 auto 24px;
  max-width: min(1100px, 96vw);
  line-height: 1.6;
  color: #fff;
}
@media (min-width: 1100px) {
  .hws-cta-band__sub,
  .hws-cta__title {
    font-size: 15px;
    white-space: nowrap;
    max-width: none;
  }
}
@media (max-width: 1099px) {
  .hws-cta-band__sub,
  .hws-cta__title {
    white-space: normal;
  }
}
.hws-cta-band .hws-btn--primary,
.hws-cta .hws-btn--primary {
  background: #ffffff !important;
  color: #1880FF !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  text-decoration: none !important;
}
.hws-cta-band .hws-btn--primary:hover,
.hws-cta .hws-btn--primary:hover {
  background: #F0F7FF !important;
  color: #0B5ED7 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18), 0 3px 8px rgba(15, 23, 42, 0.10) !important;
}
.hws-cta-band .hws-btn--ghost,
.hws-cta .hws-btn--ghost {
  background: transparent !important;
  border: 1.5px solid #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18) !important;
  text-decoration: none !important;
}
.hws-cta-band .hws-btn--ghost:hover,
.hws-cta .hws-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22) !important;
}

/* ---------- Download cards ---------- */
.hws-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.hws-dl-card {
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.25s var(--hws-ease), box-shadow 0.25s;
}
.hws-dl-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--hws-shadow);
}
.hws-dl-card__icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.hws-dl-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-dl-card__meta {
  font-size: 13px;
  color: var(--hws-muted);
  margin: 0 0 20px;
  line-height: 1.5;
}
.hws-dl-card .hws-btn {
  width: 100%;
}
/* Solo download CTA: center + mid pad (1.3.10) — see end patch too */
.hws-dl-card--solo .hws-btn,
.hws-dl-card .hws-dl-card__btn {
  width: auto !important;
}

/* ---------- Prose pages (about / privacy / terms) ---------- */
.hws-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 64px;
}
.hws-prose h2 {
  font-size: 22px;
  font-weight: 750;
  color: var(--hws-ink);
  margin: 36px 0 12px;
}
.hws-prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 24px 0 8px;
}
.hws-prose p,
.hws-prose li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--hws-muted);
}
.hws-prose ul,
.hws-prose ol {
  padding-left: 1.25em;
  margin: 8px 0 16px;
}
.hws-prose a {
  color: var(--hws-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hws-prose .hws-note {
  background: var(--hws-tint);
  border-left: 3px solid var(--hws-primary);
  padding: 12px 16px;
  border-radius: 0 var(--hws-radius-sm) var(--hws-radius-sm) 0;
  font-size: 14px;
  color: var(--hws-ink);
  margin: 16px 0;
}

/* ---------- Blog empty / list friendly ---------- */
.hws-blog-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--hws-soft);
  border-radius: var(--hws-radius);
  border: 1px dashed rgba(24, 128, 255, 0.25);
}
.hws-blog-empty__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-blog-empty__desc {
  font-size: 15px;
  color: var(--hws-muted);
  margin: 0;
}
.hws-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hws-blog-card {
  background: var(--hws-white);
  border-radius: var(--hws-radius-sm);
  overflow: hidden;
  border: 1px solid var(--hws-border);
  transition: transform 0.25s var(--hws-ease), box-shadow 0.25s;
}
.hws-blog-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--hws-shadow-sm);
}
.hws-blog-card__thumb {
  aspect-ratio: 1200 / 630;
  background: var(--hws-tint);
  object-fit: cover;
  width: 100%;
  display: block;
}
.hws-blog-card__body {
  padding: 16px 18px 20px;
}
.hws-blog-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 6px;
  line-height: 1.4;
}
.hws-blog-card__excerpt {
  font-size: 13px;
  color: var(--hws-muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Footer columns ---------- */
.hws-footer {
  background: var(--hws-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
  margin-top: 48px;
}
.hws-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.hws-footer__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hws-white);
  margin-bottom: 10px;
}
.hws-footer__brand-icon {
  display: block;
  height: 1.1em; /* ~22px vs 20px title */
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}
.hws-footer__brand-title {
  display: inline-block;
}
.hws-footer__tag,
.hws-footer__blurb {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 300px;
}
.hws-footer__col-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--hws-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hws-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hws-footer__links a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.hws-footer__links a:hover {
  color: var(--hws-teal);
}
.hws-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.hws-footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.hws-footer__bottom a:hover {
  color: var(--hws-teal);
}

/* ---------- Utility ---------- */
.hws-center { text-align: center; }
.hws-mt-24 { margin-top: 24px; }
.hws-mt-40 { margin-top: 40px; }
.hws-mb-0 { margin-bottom: 0; }
.hws-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Scroll-reveal friendly hooks (CSS-only fade-in on load; JS optional later) */
@media (prefers-reduced-motion: no-preference) {
  .hws-reveal {
    animation: hws-fade-up 0.7s var(--hws-ease) both;
  }
  .hws-reveal--delay-1 { animation-delay: 0.08s; }
  .hws-reveal--delay-2 { animation-delay: 0.16s; }
  .hws-reveal--delay-3 { animation-delay: 0.24s; }
}
@keyframes hws-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hws-feat,
  .hws-feat--rev {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy";
    gap: 24px;
  }
  .hws-feat--rev .hws-feat__media,
  .hws-feat--rev .hws-feat__body {
    order: unset;
  }
  .hws-feat__media {
    min-height: 240px;
    max-height: 360px;
  }
  .hws-cards,
  .hws-steps,
  .hws-blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hws-stats {
    grid-template-columns: 1fr 1fr;
  }
  .hws-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .hws-header__nav {
    display: none;
  }
}
@media (max-width: 640px) {
  .hws-section { padding: 48px 0; }
  .hws-hero { padding: 64px 0 16px; }
  .hws-cards,
  .hws-cards--2,
  .hws-steps,
  .hws-blog-grid,
  .hws-stats {
    grid-template-columns: 1fr;
  }
  .hws-footer__grid {
    grid-template-columns: 1fr;
  }
  .hws-btn-row { flex-direction: column; }
  .hws-btn { width: 100%; }
}




/* ---------- Hide Astra default footer copyright row (1.3.3) ---------- */
/* Custom .hws-footer already carries copyright; Astra #colophon is duplicate */
footer.site-footer#colophon,
#colophon.site-footer,
.site-below-footer-wrap,
.ast-footer-copyright,
.ast-small-footer,
.site-footer .ast-footer-copyright {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  visibility: hidden !important;
}
/* keep custom footer */
footer.hws-footer,
#hws-colophon.hws-footer {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

/* ---------- Features stack tighten (1.3.3) ---------- */
#features.hws-section {
  padding: 32px 0;
}
#features .hws-heading {
  margin-bottom: 16px;
}
/* WP wraps HTML comments between .hws-feat into <p>…</p> — kill their vertical space */
#features .hws-wrap > p,
#features .hws-wrap > p:empty {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

/* ---------- Download page polish (1.3.1) ---------- */
.hws-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--hws-white);
  border: 1px solid rgba(24, 128, 255, 0.18);
  border-radius: var(--hws-radius-pill);
  color: var(--hws-primary);
  font-size: 13px;
  font-weight: 600;
  margin: 0 auto 14px;
  box-shadow: var(--hws-shadow-sm);
}
.hws-page-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hws-primary), var(--hws-teal));
  box-shadow: 0 0 0 3px rgba(24, 128, 255, 0.15);
  flex-shrink: 0;
}
.hws-page-hero .hws-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hws-page-hero__sub {
  max-width: 640px;
}

.hws-dl-card--solo {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 36px 32px;
  border: 1px solid rgba(24, 128, 255, 0.14);
  box-shadow: 0 16px 48px rgba(24, 128, 255, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(24, 128, 255, 0.08) 0%, transparent 55%),
    var(--hws-white);
}
.hws-dl-card--solo:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 56px rgba(24, 128, 255, 0.18), 0 4px 12px rgba(15, 23, 42, 0.06);
}
.hws-dl-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--hws-radius-pill);
  background: linear-gradient(135deg, rgba(24, 128, 255, 0.12), rgba(20, 184, 166, 0.12));
  color: var(--hws-primary-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.hws-dl-card__badge::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, #1880FF 0%, #14B8A6 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35);
}
.hws-dl-card--solo .hws-dl-card__title {
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.hws-dl-card--solo .hws-dl-card__meta {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hws-muted);
  margin: 0 0 22px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.hws-dl-card__btn,
.hws-dl-card--solo .hws-btn.hws-btn--primary,
.hws-dl-card .hws-btn.hws-dl-card__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 180px;
  margin-left: auto;
  margin-right: auto;
  padding: 11px 30px !important; /* 1.3.10 mid: was 8px 28px too flat */
  font-size: 16px;
  font-weight: 700;
  box-sizing: border-box;
}
.hws-dl-card--solo,
.hws-dl-card {
  text-align: center;
}
/* wpautop <br> inside CTA makes the pill taller — hide it */
.hws-dl-card .hws-btn br,
.hws-dl-card__btn br {
  display: none !important;
}
.hws-dl-card__hint {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--hws-muted);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.hws-dl-howto {
  max-width: 1080px;
  margin: 56px auto 0;
}
.hws-dl-howto__title {
  text-align: center;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--hws-ink);
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}
.hws-steps--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hws-steps--4 .hws-step {
  padding: 28px 20px 24px;
}

.hws-dl-tips {
  max-width: 720px;
  margin: 48px auto 0;
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius);
  padding: 28px 32px;
  box-shadow: 0 10px 28px rgba(24, 128, 255, 0.10), 0 2px 8px rgba(15, 23, 42, 0.04);
}
.hws-dl-tips__title {
  font-size: 18px;
  font-weight: 750;
  color: var(--hws-ink);
  margin: 0 0 12px;
}
.hws-dl-tips__list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--hws-muted);
  line-height: 1.85;
  font-size: 14px;
}
.hws-dl-tips__list li + li {
  margin-top: 6px;
}

.hws-btn--ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.hws-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff !important;
}

@media (max-width: 960px) {
  .hws-steps--4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .hws-steps--4 {
    grid-template-columns: 1fr;
  }
  .hws-dl-card--solo {
    padding: 28px 20px 24px;
  }
  .hws-dl-tips {
    padding: 22px 18px;
  }
}


/* ---------- v1.3.4 homepage: scenarios / why / FAQ accordion / 4-card grid ---------- */
.hws-cards--4 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.hws-cards--3x2 {
  grid-template-columns: repeat(3, 1fr);
}
.hws-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--hws-primary);
  background: var(--hws-tint);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.hws-card--teal .hws-card__tag {
  color: #0F766E;
  background: var(--hws-tint-teal);
}

.hws-why {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 20px;
  list-style: none;
  padding: 0;
  box-sizing: border-box;
}
/* tighten title → subtitle gap above why grid */
.hws-section--soft:has(.hws-why) .hws-heading {
  margin-bottom: 28px;
}
.hws-section--soft:has(.hws-why) .hws-heading__title {
  margin-bottom: 8px;
}
.hws-why li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius-sm);
  font-size: 14px;
  line-height: 1.7;
  color: var(--hws-muted);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s var(--hws-ease), box-shadow 0.25s var(--hws-ease);
  cursor: default;
}
.hws-why li:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--hws-shadow);
}
.hws-why li strong {
  display: block;
  color: var(--hws-ink);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.hws-why li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hws-primary), var(--hws-teal));
  box-shadow: 0 4px 10px rgba(24, 128, 255, 0.25);
}
.hws-why li::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.hws-faq--acc .hws-faq__item {
  padding: 0;
  overflow: hidden;
}
.hws-faq--acc details.hws-faq__item {
  padding: 0;
}
.hws-faq--acc summary.hws-faq__q {
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 18px 48px 18px 24px;
  position: relative;
  user-select: none;
}
.hws-faq--acc summary.hws-faq__q::-webkit-details-marker { display: none; }
.hws-faq--acc summary.hws-faq__q::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hws-tint);
  color: var(--hws-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}
.hws-faq--acc details[open] summary.hws-faq__q::after {
  content: "–";
  background: linear-gradient(135deg, var(--hws-primary), var(--hws-teal));
  color: #fff;
}
.hws-faq--acc .hws-faq__a {
  padding: 0 24px 20px;
}
.hws-faq--acc details[open] {
  border-color: rgba(24, 128, 255, 0.35);
  box-shadow: var(--hws-shadow-sm);
}

.hws-step__desc strong {
  color: var(--hws-ink);
  font-weight: 600;
}

@media (max-width: 960px) {
  .hws-cards--3x2 {
    grid-template-columns: 1fr 1fr;
  }
  .hws-why {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .hws-cards--4,
  .hws-cards--3x2 {
    grid-template-columns: 1fr;
  }
  .hws-why {
    grid-template-columns: 1fr;
  }
}


/* ---------- 1.3.7 Home blog section + posts index ---------- */
.hws-home-blog {
  /* soft band like FAQ neighbor */
}
.hws-home-blog .hws-heading {
  margin-bottom: 28px;
}
.hws-home-blog .hws-blog-grid {
  margin-top: 8px;
}
.hws-home-blog__more {
  text-align: center;
  margin: 28px 0 0;
}
.hws-blog-card__title a {
  color: inherit;
  text-decoration: none;
}
.hws-blog-card__title a:hover {
  color: var(--hws-primary);
}
.hws-blog-card a.hws-blog-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.hws-blog-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hws-blog-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--hws-border);
  background: var(--hws-white);
  color: var(--hws-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.hws-blog-pager .page-numbers.current,
.hws-blog-pager .page-numbers:hover {
  border-color: var(--hws-primary);
  color: var(--hws-primary);
}
/* Posts index: tame Astra chrome when our loop replaces content */
body.blog .ast-archive-description,
body.blog .page-header,
body.home.blog:not(.page) .entry-header,
body.blog .ast-pagination {
  display: none !important;
}
body.blog #primary.content-area,
body.home.blog #primary.content-area {
  margin-top: 0;
}
body.blog .hws-page-hero {
  margin-top: 0;
}

/* ---------- 1.3.8: home white band + inner page-hero air + blog dedupe ---------- */

/* Homepage: wpautop wraps <!--hws-blog-home--> in <p>; unwrap box so soft bg is continuous */
body.home .entry-content > p:has(> .hws-home-blog),
body.home .entry-content > p:has(> section.hws-section) {
  display: contents;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
}
/* Empty / stray paragraphs between sections → no white strip */
body.home .entry-content > p:empty,
body.home .entry-content > p:blank {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
}
body.home .entry-content > p:not(:has(*)):not(:has(img)):not(:has(a)) {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
}
/* Soft blog → soft FAQ: keep grid continuous, collapse extra air */
body.home .hws-home-blog {
  background-color: transparent !important;
  background-image: none !important; /* sit on body.home soft grid like neighbors */
  padding-bottom: 40px;
}
body.home .hws-home-blog + .hws-section--soft,
body.home .entry-content > p:has(.hws-home-blog) + .hws-section--soft {
  padding-top: 40px;
  background-color: transparent !important;
  background-image: none !important;
}
/* Force any intervening wrappers transparent so body grid shows */
body.home .entry-content > .hws-home-blog,
body.home .entry-content > .hws-home-blog + *,
body.home #hws-blog {
  background-color: transparent !important;
}

/* Inner pages (not home): cut huge hero→content gap */
body.page:not(.home) .hws-page-hero {
  padding-bottom: 16px !important;
  margin-bottom: 0 !important;
}
body.page:not(.home) .hws-page-hero + .hws-section,
body.page:not(.home) .hws-page-hero + .hws-wrap,
body.page:not(.home) .entry-content > .hws-page-hero + .hws-section,
body.page:not(.home) .entry-content > p + .hws-section {
  padding-top: 24px !important;
  margin-top: 0 !important;
}
/* Leading empty <p> from wpautop before page-hero */
body.page:not(.home) .entry-content > p:first-child:empty,
body.page:not(.home) .entry-content > p:first-child:has(br):not(:has(img)):not(:has(a)):not(:has(section)) {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
  padding: 0 !important;
}
/* Download / FAQ etc.: first content section after hero tighter */
body.page:not(.home) .entry-content > .hws-page-hero + .hws-section .hws-wrap {
  margin-top: 0;
}

/* Blog posts index: hide Astra default loop (main#main) — HWS renders one grid only */
body.blog:not(.home) #primary > main#main.site-main,
body.blog #primary > main#main.site-main {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  visibility: hidden !important;
}
body.blog .hws-page-hero {
  padding-bottom: 20px !important;
  margin-bottom: 0 !important;
}
body.blog .hws-page-hero + .hws-section {
  padding-top: 28px !important;
}


/* ---------- 1.3.10: fixed capsule header (sticky failed: html overflow-x:clip) + dl btn mid pad ---------- */
#masthead.site-header,
#masthead {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
}
#masthead .main-header-bar-wrap,
#masthead .ast-main-header-wrap,
#masthead .ast-primary-header-bar.main-header-bar {
  position: relative;
  z-index: 10000;
}
body.home .site-content,
body.page .site-content,
body.blog .site-content,
body.single .site-content {
  position: relative;
  z-index: 1;
}
.hws-dl-card--solo .hws-dl-card__btn,
a.hws-dl-card__btn.hws-btn {
  display: inline-flex !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 11px 30px !important;
}
@media (max-width: 921px) {
  .hws-dl-card--solo .hws-btn,
  .hws-dl-card .hws-dl-card__btn {
    width: auto !important;
  }
}


/* ---------- 1.3.11: footer brand icon before title ---------- */
