/* ============================================================================
   Home desktop — snap visual language
   ----------------------------------------------------------------------------
   Every rule is double-gated on html[data-page="home"] and min-width: 768px so
   the mobile snapp system (home-mobile-snapp.css, max-width: 767px) and all
   other pages stay untouched. styles.css is never edited.

   Scope: content below the header only. Header, top services strip and footer
   are deliberately left alone.
   ========================================================================== */

/* New static blocks are desktop-only; hidden until the media query opens. */
html[data-page="home"] .hd-block {
  display: none;
}

@media screen and (min-width: 768px) {
  /* ── Tokens (ported from product-page-snap.css desktop block) ──────────── */
  html[data-page="home"] {
    --sn-canvas: #eef1f5;
    --sn-surface: #ffffff;
    --sn-ink: #0d1520;
    --sn-ink-2: #465868;
    --sn-ink-3: #8593a1;
    --sn-brand: #f59e0b;
    --sn-accent: #00a651;
    --sn-soft: #f7f8fa;
    --sn-hairline: rgba(13, 21, 32, 0.06);
    --sn-gap: 20px;
    --sn-radius: 20px;
    --sn-radius-sm: 16px;
    --sn-elev-1: 0 1px 2px rgba(13, 21, 32, 0.04), 0 10px 24px -16px rgba(13, 21, 32, 0.18);
    --sn-elev-2: 0 2px 4px rgba(13, 21, 32, 0.05), 0 18px 38px -20px rgba(13, 21, 32, 0.26);
    --hd-shell: min(1200px, calc(100% - 48px));
  }

  /* ── Canvas: dotted paper, applied to main only ────────────────────────── */
  html[data-page="home"] .container_1 > main {
    display: flex;
    flex-direction: column;
    gap: var(--sn-gap);
    padding: var(--sn-gap) 0 56px;
    background-color: var(--sn-canvas);
    background-image: radial-gradient(rgba(95, 105, 116, 0.16) 1px, transparent 1.15px);
    background-size: 6px 6px;
    background-attachment: fixed;
  }

  /* Empty flex slot: bootstrap's .d-flex beats [hidden], so hide explicitly. */
  html[data-page="home"] .container_1 > main > #message_framework {
    display: none !important;
  }

  /* ── Page shell: every band shares one measure ─────────────────────────── */
  html[data-page="home"] .container_1 > main > .slider,
  html[data-page="home"] .container_1 > main > .ai-top-section,
  html[data-page="home"] .container_1 > main > .asiatech-services,
  html[data-page="home"] .container_1 > main > .news-section,
  html[data-page="home"] .container_1 > main > .hd-block {
    width: var(--hd-shell) !important;
    max-width: var(--hd-shell) !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }

  /* ── Shared card surface ───────────────────────────────────────────────── */
  html[data-page="home"] .container_1 > main > .ai-top-section,
  html[data-page="home"] .container_1 > main > .asiatech-services,
  html[data-page="home"] .container_1 > main > .news-section {
    padding: 22px 24px 20px !important;
    border-radius: var(--sn-radius) !important;
    background: var(--sn-surface) !important;
    box-shadow: var(--sn-elev-1) !important;
    overflow: visible !important;
  }

  /* ── Shared section title: amber accent bar ────────────────────────────── */
  html[data-page="home"] .container_1 > main .ai-top-section__titles .title,
  html[data-page="home"] .container_1 > main .asiatech-services > .title,
  html[data-page="home"] .container_1 > main .news-section__head .title,
  html[data-page="home"] .hd-title {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.3px;
    color: var(--sn-ink) !important;
    text-align: right;
    border: 0 !important;
    background: none !important;
  }

  html[data-page="home"] .container_1 > main .ai-top-section__titles .title::before,
  html[data-page="home"] .container_1 > main .asiatech-services > .title::before,
  html[data-page="home"] .container_1 > main .news-section__head .title::before,
  html[data-page="home"] .hd-title::before {
    content: "";
    width: 4px;
    height: 22px;
    border-radius: 999px;
    background: var(--sn-brand);
    flex-shrink: 0;
  }

  html[data-page="home"] .container_1 > main .ai-top-section__titles .title::after,
  html[data-page="home"] .container_1 > main .asiatech-services > .title::after,
  html[data-page="home"] .container_1 > main .news-section__head .title::after {
    content: none !important;
  }

  /* ── Shared "see all" link ─────────────────────────────────────────────── */
  html[data-page="home"] .container_1 > main .ai-top-section__all,
  html[data-page="home"] .container_1 > main .news-section__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(0, 166, 81, 0.08);
    color: #007a42 !important;
    font-size: 12.5px !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.15s ease;
  }

  html[data-page="home"] .container_1 > main .ai-top-section__all:hover,
  html[data-page="home"] .container_1 > main .news-section__all:hover {
    background: rgba(0, 166, 81, 0.15);
    color: #00653a !important;
    text-decoration: none !important;
  }

  /* ── Shared carousel nav: circular, neutral, on-surface ────────────────── */
  html[data-page="home"] .container_1 > main .ai-top-nav,
  html[data-page="home"] .container_1 > main .news-nav {
    width: 38px;
    height: 38px;
    border: 1px solid var(--sn-hairline);
    background: var(--sn-surface);
    color: var(--sn-ink-2);
    box-shadow: 0 1px 2px rgba(13, 21, 32, 0.05), 0 8px 18px -12px rgba(13, 21, 32, 0.28);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
                transform 0.15s ease;
  }

  html[data-page="home"] .container_1 > main .ai-top-nav::before,
  html[data-page="home"] .container_1 > main .news-nav::before {
    font-size: 21px;
  }

  html[data-page="home"] .container_1 > main .ai-top-nav:hover:not(:disabled),
  html[data-page="home"] .container_1 > main .news-nav:hover:not(:disabled) {
    background: var(--sn-brand);
    border-color: var(--sn-brand);
    color: #fff;
    transform: translateY(-1px);
  }

  /* ══ 1. Hero carousel ═══════════════════════════════════════════════════ */
  html[data-page="home"] .container_1 > main > .slider {
    border-radius: var(--sn-radius);
    background: var(--sn-surface);
    box-shadow: var(--sn-elev-1);
    overflow: hidden;
  }

  html[data-page="home"] .container_1 > main > .slider .carousel {
    border-radius: var(--sn-radius);
    overflow: hidden;
  }

  /* Glass arrows instead of Bootstrap's full-height gradient strips. */
  html[data-page="home"] .container_1 > main > .slider .carousel-control-prev,
  html[data-page="home"] .container_1 > main > .slider .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(13, 21, 32, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px -10px rgba(13, 21, 32, 0.55);
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
  }

  html[data-page="home"] .container_1 > main > .slider .carousel-control-prev {
    right: auto;
    left: 16px;
  }

  html[data-page="home"] .container_1 > main > .slider .carousel-control-next {
    left: auto;
    right: 16px;
  }

  html[data-page="home"] .container_1 > main > .slider:hover .carousel-control-prev,
  html[data-page="home"] .container_1 > main > .slider:hover .carousel-control-next,
  html[data-page="home"] .container_1 > main > .slider .carousel-control-prev:focus-visible,
  html[data-page="home"] .container_1 > main > .slider .carousel-control-next:focus-visible {
    opacity: 1;
  }

  html[data-page="home"] .container_1 > main > .slider .carousel-control-prev:hover,
  html[data-page="home"] .container_1 > main > .slider .carousel-control-next:hover {
    background: rgba(13, 21, 32, 0.5);
  }

  html[data-page="home"] .container_1 > main > .slider .carousel-control-prev-icon,
  html[data-page="home"] .container_1 > main > .slider .carousel-control-next-icon {
    width: 18px;
    height: 18px;
    background-size: 100% 100%;
  }

  /* Indicators as pill dashes. */
  html[data-page="home"] .container_1 > main > .slider .carousel-indicators {
    margin: 0 0 14px;
    padding: 6px 10px;
    width: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(13, 21, 32, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    gap: 7px;
  }

  html[data-page="home"] .container_1 > main > .slider .carousel-indicators [data-bs-target] {
    width: 22px;
    height: 5px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: width 0.22s ease, background 0.22s ease;
  }

  html[data-page="home"] .container_1 > main > .slider .carousel-indicators [data-bs-target].active {
    width: 40px;
    background: var(--sn-brand);
  }

  /* ══ 2. Quick-access deck ═══════════════════════════════════════════════ */
  html[data-page="home"] .container_1 > main > .hd-deck {
    display: block;
    padding: 20px 22px 14px;
    border-radius: var(--sn-radius);
    background: var(--sn-surface);
    box-shadow: var(--sn-elev-1);
  }

  html[data-page="home"] .hd-deck__grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 0;
    padding: 16px 4px 4px;
    border-top: 1px solid var(--sn-hairline);
  }

  html[data-page="home"] .hd-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 4px 8px;
    border-radius: 14px;
    color: var(--sn-ink-2) !important;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease;
  }

  html[data-page="home"] .hd-tile:hover {
    background: var(--sn-soft);
    transform: translateY(-1px);
    color: var(--sn-ink) !important;
    text-decoration: none !important;
  }

  html[data-page="home"] .hd-tile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 19px;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22),
                0 8px 16px -8px rgba(13, 21, 32, 0.35);
  }

  html[data-page="home"] .hd-tile__icon svg {
    width: 27px;
    height: 27px;
  }

  html[data-page="home"] .hd-tile__icon img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
  }

  html[data-page="home"] .hd-tile__icon--mask img {
    filter: brightness(0) invert(1);
  }

  html[data-page="home"] .hd-tile__label {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }

  html[data-page="home"] .hd-tile__icon--c0 { background: linear-gradient(160deg, #2dd4bf, #0f9d96); }
  html[data-page="home"] .hd-tile__icon--c1 { background: linear-gradient(160deg, #818cf8, #4f46e5); }
  html[data-page="home"] .hd-tile__icon--c2 { background: linear-gradient(160deg, #fbbf24, #d97706); }
  html[data-page="home"] .hd-tile__icon--c3 { background: linear-gradient(160deg, #34d399, #059669); }
  html[data-page="home"] .hd-tile__icon--c4 { background: linear-gradient(160deg, #38bdf8, #0369a1); }
  html[data-page="home"] .hd-tile__icon--c5 { background: linear-gradient(160deg, #f472b6, #be185d); }
  html[data-page="home"] .hd-tile__icon--c6 { background: linear-gradient(160deg, #a78bfa, #6d28d9); }
  html[data-page="home"] .hd-tile__icon--c7 { background: linear-gradient(160deg, #fb923c, #c2410c); }

  /* ══ 3. Trust band (vp-d-bar language) ══════════════════════════════════ */
  html[data-page="home"] .container_1 > main > .hd-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    min-height: 72px;
    padding: 0 6px;
    border-radius: 14px;
    background-color: var(--sn-surface);
    background-image:
      radial-gradient(rgba(13, 21, 32, 0.07) 1px, transparent 1.2px),
      repeating-linear-gradient(-45deg, rgba(245, 158, 11, 0.06) 0 10px, transparent 10px 20px);
    background-size: 8px 8px, auto;
    box-shadow: var(--sn-elev-1);
  }

  html[data-page="home"] .hd-trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    position: relative;
  }

  /* Hairline separators between items, none before the first. */
  html[data-page="home"] .hd-trust__item + .hd-trust__item::before {
    content: "";
    position: absolute;
    right: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: linear-gradient(
      180deg,
      rgba(13, 21, 32, 0) 0%,
      rgba(13, 21, 32, 0.1) 50%,
      rgba(13, 21, 32, 0) 100%
    );
  }

  html[data-page="home"] .hd-trust__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: rgba(245, 158, 11, 0.11);
    color: #d97706;
  }

  html[data-page="home"] .hd-trust__icon svg {
    width: 21px;
    height: 21px;
  }

  html[data-page="home"] .hd-trust__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  html[data-page="home"] .hd-trust__lead {
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.2px;
    color: var(--sn-ink);
  }

  html[data-page="home"] .hd-trust__sub {
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--sn-ink-3);
  }

  /* ══ 4. Top-selling AI accounts ═════════════════════════════════════════ */
  html[data-page="home"] .container_1 > main > .ai-top-section {
    background: var(--sn-surface) !important;
  }

  html[data-page="home"] .ai-top-section__inner {
    gap: 16px;
  }

  html[data-page="home"] .ai-top-section__head {
    padding: 0 !important;
  }

  html[data-page="home"] .ai-top-section__head-row {
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sn-hairline);
  }

  html[data-page="home"] .ai-top-section__lead {
    color: var(--sn-ink-3);
  }

  /* Scroll viewport: gap must stay a real `gap` — ai-top-selling-carousel.js
     reads it via getComputedStyle to compute --ai-top-card-basis. */
  html[data-page="home"] .ai-top-scroll-wrapper {
    padding: 0 !important;
    gap: 12px;
  }

  html[data-page="home"] .ai-top-cards {
    --ai-top-gap: var(--sn-gap);
    padding: 4px 2px 12px;
  }

  html[data-page="home"] .ai-top-card {
    border: 1px solid var(--sn-hairline);
    border-radius: var(--sn-radius);
    background: var(--sn-surface);
    box-shadow: var(--sn-elev-1);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  html[data-page="home"] .ai-top-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: var(--sn-elev-2);
  }

  html[data-page="home"] .ai-top-card__media {
    min-height: 116px;
    padding: 18px 16px 12px;
    background: linear-gradient(180deg, var(--sn-soft) 0%, #fff 100%);
  }

  html[data-page="home"] .ai-top-card__media img {
    max-height: 68px;
  }

  html[data-page="home"] .ai-top-card__offer {
    padding: 4px 9px;
    border-radius: 999px;
    background: linear-gradient(160deg, #f8a917, #ef8f05);
    box-shadow: 0 6px 14px -8px rgba(239, 143, 5, 0.9);
    font-weight: 800;
  }

  html[data-page="home"] .ai-top-card__body {
    gap: 7px;
    padding: 14px 16px 16px;
  }

  html[data-page="home"] .ai-top-card__title {
    color: var(--sn-ink) !important;
    font-size: 14px;
    font-weight: 800;
  }

  html[data-page="home"] .ai-top-card__title:hover {
    color: #b45309 !important;
  }

  html[data-page="home"] .ai-top-card__plan {
    color: var(--sn-ink-3);
  }

  html[data-page="home"] .ai-top-card__price-main {
    color: #059669;
    font-size: 15px;
  }

  html[data-page="home"] .ai-top-card__price-usd {
    color: var(--sn-ink-3);
  }

  html[data-page="home"] .ai-top-card__price-before {
    color: var(--sn-ink-3);
  }

  html[data-page="home"] .ai-top-card__actions {
    padding-top: 6px;
  }

  /* Primary CTA in the new orange language. */
  html[data-page="home"] .ai-top-card__buy {
    min-height: 40px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8a917, #ef8f05);
    box-shadow: 0 10px 24px -14px rgba(239, 143, 5, 0.9),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 800;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  }

  html[data-page="home"] .ai-top-card__buy:hover {
    background: linear-gradient(180deg, #f8ad38, #e88700);
    box-shadow: 0 12px 26px -12px rgba(239, 143, 5, 0.95),
                inset 0 1px 0 rgba(255, 255, 255, 0.34);
  }

  html[data-page="home"] .ai-top-card__buy:active {
    transform: translateY(1px);
  }

  /* ══ 5. Asiatechin services grid ════════════════════════════════════════ */
  html[data-page="home"] .container_1 > main > .asiatech-services {
    font-size: 15px !important;
  }

  html[data-page="home"] .container_1 > main > .asiatech-services > .title {
    padding-bottom: 14px !important;
    border-bottom: 1px solid var(--sn-hairline) !important;
  }

  html[data-page="home"] .container_1 .asiatech-services .service-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px !important;
  }

  html[data-page="home"] .container_1 .asiatech-services .service-container .service-box,
  html[data-page="home"] .container_1 .asiatech-services .service-container .service-box.CardSize {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    padding: 18px 18px 20px !important;
    border: 1px solid var(--sn-hairline);
    border-radius: var(--sn-radius-sm);
    background: var(--sn-soft) !important;
    box-shadow: none !important;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease,
                box-shadow 0.18s ease;
  }

  html[data-page="home"] .container_1 .asiatech-services .service-container .service-box:hover,
  html[data-page="home"] .container_1 .asiatech-services .service-container .service-box.CardSize:hover {
    padding: 18px 18px 20px !important;
    border-color: rgba(245, 158, 11, 0.35);
    background: var(--sn-surface) !important;
    transform: translateY(-2px);
    box-shadow: var(--sn-elev-1) !important;
  }

  /* Title row: heading right, icon in a soft rounded tile left. */
  html[data-page="home"] .container_1 .asiatech-services .service-container section .header {
    margin: 0 0 10px !important;
    gap: 12px;
  }

  html[data-page="home"] .container_1 .asiatech-services .service-container section .header h3 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.2px;
    color: var(--sn-ink);
  }

  html[data-page="home"] .container_1 .asiatech-services .service-container section .header img {
    flex-shrink: 0;
    width: 44px !important;
    height: 44px !important;
    padding: 8px;
    border-radius: 14px;
    background: var(--sn-surface);
    box-shadow: inset 0 0 0 1px var(--sn-hairline);
    object-fit: contain;
    box-sizing: border-box;
    transition: background 0.18s ease;
  }

  html[data-page="home"] .container_1 .asiatech-services .service-container .service-box:hover .header img {
    background: rgba(245, 158, 11, 0.1);
  }

  html[data-page="home"] .container_1 .asiatech-services .service-container section p {
    margin: 0;
    font-size: 13px;
    line-height: 1.95;
    color: var(--sn-ink-2);
    text-align: justify;
    text-justify: inter-word;
  }

  /* ══ 6. News rail ═══════════════════════════════════════════════════════ */
  html[data-page="home"] .container_1 > main > .news-section {
    background: var(--sn-surface) !important;
    font-size: 15px !important;
  }

  html[data-page="home"] .news-section__inner {
    gap: 16px;
  }

  html[data-page="home"] .news-section__head {
    padding: 0 !important;
  }

  html[data-page="home"] .news-section__tags {
    margin: 12px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--sn-hairline);
  }

  /* Tags become soft pills in the snap chip language. */
  html[data-page="home"] .news-section__tags a {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--sn-hairline);
    background: var(--sn-soft);
    color: var(--sn-ink-2) !important;
    font-size: 12.5px;
    font-weight: 700;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }

  html[data-page="home"] .news-section__tags a:hover {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.1);
    color: #b45309 !important;
  }

  /* Scroll viewport: keep `gap` real — news-carousel.js reads it to compute
     --news-card-basis. */
  html[data-page="home"] .news-scroll-wrapper {
    padding: 0 !important;
    gap: 12px;
  }

  html[data-page="home"] .news-cards {
    --news-gap: var(--sn-gap);
    padding: 4px 2px 12px;
  }

  html[data-page="home"] .news-card {
    border: 1px solid var(--sn-hairline);
    border-radius: var(--sn-radius);
    background: var(--sn-surface);
    box-shadow: var(--sn-elev-1);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  html[data-page="home"] .news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: var(--sn-elev-2);
  }

  html[data-page="home"] .news-card__img {
    height: 156px;
    background: linear-gradient(180deg, var(--sn-soft) 0%, #eef1f5 100%);
  }

  html[data-page="home"] .news-card__badge {
    background: rgba(13, 21, 32, 0.62);
    font-size: 10.5px;
    font-weight: 800;
  }

  html[data-page="home"] .news-card__body {
    gap: 8px;
    padding: 15px 16px 16px;
  }

  html[data-page="home"] .news-card__body h3 {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.65;
    letter-spacing: -0.2px;
    color: var(--sn-ink);
  }

  html[data-page="home"] .news-card__body p {
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--sn-ink-2);
  }

  html[data-page="home"] .news-card__meta {
    padding-top: 8px;
    border-top: 1px solid var(--sn-hairline);
  }

  html[data-page="home"] .news-card__date,
  html[data-page="home"] .news-card__time {
    color: var(--sn-ink-3);
    font-weight: 700;
  }

  /* ══ 7. Closing CTA band ════════════════════════════════════════════════ */
  html[data-page="home"] .container_1 > main > .hd-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 26px 28px;
    border-radius: var(--sn-radius);
    background-color: var(--sn-surface);
    background-image:
      radial-gradient(rgba(13, 21, 32, 0.05) 1px, transparent 1.2px),
      linear-gradient(120deg, rgba(245, 158, 11, 0.14) 0%, rgba(255, 255, 255, 0.4) 46%, #fff 82%);
    background-size: 10px 10px, auto;
    box-shadow: var(--sn-elev-1);
  }

  html[data-page="home"] .hd-cta__text {
    min-width: 0;
  }

  html[data-page="home"] .hd-cta__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.3px;
    color: var(--sn-ink);
  }

  html[data-page="home"] .hd-cta__title::before {
    content: "";
    width: 4px;
    height: 23px;
    border-radius: 999px;
    background: var(--sn-brand);
    flex-shrink: 0;
  }

  html[data-page="home"] .hd-cta__lead {
    margin: 8px 0 0 14px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.9;
    color: var(--sn-ink-2);
  }

  /* Primary button — the AI-detail buy-button treatment brought to desktop. */
  html[data-page="home"] .hd-cta__btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 270px;
    padding: 13px 24px;
    overflow: hidden;
    border-radius: 18px;
    background-image:
      radial-gradient(120% 130% at 14% 8%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 46%),
      linear-gradient(146deg, #ffb545 0%, #f79a10 34%, #ea8400 64%, #cf6d00 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      inset 0 -1px 0 rgba(122, 62, 0, 0.22),
      0 16px 30px -16px rgba(223, 124, 0, 0.9),
      0 4px 12px -8px rgba(15, 23, 42, 0.3);
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
  }

  /* Diagonal light sweep. */
  html[data-page="home"] .hd-cta__btn::after {
    content: "";
    position: absolute;
    top: -35%;
    bottom: -35%;
    left: -55%;
    width: 38%;
    z-index: 0;
    pointer-events: none;
    transform: skewX(-18deg);
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.34) 50%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  html[data-page="home"] .hd-cta__btn:hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      0 20px 34px -16px rgba(223, 124, 0, 0.95),
      0 4px 12px -8px rgba(15, 23, 42, 0.32);
  }

  html[data-page="home"] .hd-cta__btn:active {
    transform: translateY(1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 8px 18px -14px rgba(223, 124, 0, 0.85);
  }

  html[data-page="home"] .hd-cta__btn-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  html[data-page="home"] .hd-cta__btn-lead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
    text-shadow: 0 1px 2px rgba(120, 60, 0, 0.24);
  }

  html[data-page="home"] .hd-cta__btn-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  }

  html[data-page="home"] .hd-cta__btn-go svg {
    display: block;
    width: 13px;
    height: 13px;
  }

  html[data-page="home"] .hd-cta__btn-sub {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
  }
}

@media screen and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  html[data-page="home"] .hd-cta__btn::after {
    animation: hd-cta-sheen 5.2s cubic-bezier(0.4, 0, 0.2, 1) 1.4s infinite;
  }

  html[data-page="home"] .hd-cta__btn-go {
    animation: hd-cta-nudge 2.6s ease-in-out infinite;
  }
}

@keyframes hd-cta-sheen {
  0% { left: -55%; }
  58%, 100% { left: 130%; }
}

@keyframes hd-cta-nudge {
  0%, 62%, 100% { transform: translateX(0); }
  76% { transform: translateX(-3px); }
  88% { transform: translateX(-1px); }
}

/* Narrow desktop: eight tiles / four trust items per row get cramped. */
@media screen and (min-width: 768px) and (max-width: 1079px) {
  html[data-page="home"] .hd-deck__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  html[data-page="home"] .container_1 > main > .hd-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* With two columns the separator must not sit on the left-hand item. */
  html[data-page="home"] .hd-trust__item:nth-child(odd)::before {
    content: none;
  }

  html[data-page="home"] .container_1 .asiatech-services .service-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-page="home"] .container_1 > main > .hd-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  html[data-page="home"] .hd-cta__btn {
    min-width: 0;
  }
}
