/* =========================================================
   A2TDEV Responsive Upgrade 03
   Public marketing pages: Home, Services, Case Studies,
   Legal pages and global search results.

   This layer intentionally loads after all page CSS so it can
   normalize old page-specific rules without editing every page.
   ========================================================= */

  :root {
    --a2t-public-inline: clamp(14px, 4vw, 32px);
    --a2t-public-radius-xl: clamp(20px, 5vw, 30px);
    --a2t-public-radius-lg: clamp(16px, 4vw, 24px);
    --a2t-public-section-y: clamp(46px, 11vw, 84px);
    --a2t-public-card-pad: clamp(18px, 5vw, 28px);
    --a2t-public-title: clamp(34px, 12vw, 56px);
    --a2t-public-h2: clamp(27px, 8vw, 42px);
    --a2t-public-copy: clamp(15px, 4vw, 18px);
  }

  .a2t-home,
  .a2t-services-pro,
  .a2t-trust-page,
  .a2t-legal-page,
  .search-container {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .a2t-home img,
  .a2t-services-pro img,
  .a2t-trust-page img,
  .a2t-legal-page img,
  .search-container img {
    max-width: 100%;
    height: auto;
  }

  .a2t-home a,
  .a2t-services-pro a,
  .a2t-trust-page a,
  .a2t-legal-page a,
  .search-container a {
    -webkit-tap-highlight-color: transparent;
  }

  .a2t-home :is(.a2t-btn, button, input, select, textarea),
  .a2t-services-pro :is(.a2t-btn, button, input, select, textarea),
  .a2t-trust-page :is(.a2t-btn, button, input, select, textarea),
  .a2t-legal-page :is(.a2t-btn, button, input, select, textarea),
  .search-container :is(.a2t-btn, button, input, select, textarea) {
    min-height: 44px;
  }

  /* ---------------- Home page ---------------- */
  #wxa-homepage {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    isolation: isolate;
  }

  #wxa-homepage .a2t-container {
    max-width: 1240px;
  }

  #wxa-homepage .a2t-product-card a,
  #wxa-homepage .a2t-blog-card a {
    display: flex;
    min-height: 100%;
    flex-direction: column;
  }

  #wxa-homepage .a2t-card-foot {
    margin-top: auto;
  }

  #wxa-homepage .a2t-product-media,
  #wxa-homepage .a2t-visual {
    isolation: isolate;
  }

  #wxa-homepage .a2t-product-media img {
    transition: transform .28s ease;
  }

  @media (hover:hover) and (pointer:fine) {
    #wxa-homepage .a2t-product-card:hover .a2t-product-media img,
    #wxa-homepage .a2t-blog-card:hover .a2t-product-media img {
      transform: scale(1.035);
    }
  }

  @media (max-width: 1120px) {
    #wxa-homepage .a2t-hero {
      padding-top: clamp(52px, 8vw, 76px);
    }

    #wxa-homepage .a2t-hero-grid {
      gap: 42px;
    }

    #wxa-homepage .a2t-grid-3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #wxa-homepage .a2t-metrics {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #wxa-homepage .a2t-metric:nth-child(2n) {
      border-right: 0;
    }

    #wxa-homepage .a2t-metric:nth-child(-n + 2) {
      border-bottom: 1px solid var(--a2t-line, #e8ebf1);
    }
  }

  @media (max-width: 760px) {
    #wxa-homepage {
      background:
        radial-gradient(circle at 88% 6%, rgba(53, 103, 255, .08), transparent 26%),
        var(--a2t-bg, #fff);
    }

    #wxa-homepage .a2t-container {
      width: min(100% - 28px, 1240px) !important;
    }

    #wxa-homepage .a2t-hero {
      padding: 34px 0 38px !important;
    }

    #wxa-homepage .a2t-hero-grid {
      display: flex !important;
      flex-direction: column;
      gap: 28px !important;
      align-items: stretch !important;
    }

    #wxa-homepage .a2t-hero-copy {
      min-width: 0;
    }

    #wxa-homepage .a2t-eyebrow {
      min-height: 30px;
      padding: 7px 12px;
      font-size: 10.5px;
      letter-spacing: .065em;
      max-width: 100%;
    }

    #wxa-homepage .a2t-hero h1 {
      max-width: 100%;
      margin: 20px 0 14px;
      font-size: var(--a2t-public-title) !important;
      line-height: .98;
      letter-spacing: -.055em;
    }

    #wxa-homepage .a2t-lead {
      max-width: 100%;
      margin-bottom: 22px;
      font-size: var(--a2t-public-copy) !important;
      line-height: 1.62;
    }

    #wxa-homepage .a2t-actions {
      display: grid !important;
      grid-template-columns: 1fr;
      gap: 12px;
      margin-bottom: 18px;
    }

    #wxa-homepage .a2t-btn {
      width: 100%;
      min-width: 0;
      min-height: 48px;
      height: auto;
      padding: 13px 16px;
      border-radius: 16px;
      font-size: 15px;
    }

    #wxa-homepage .a2t-trusted {
      width: 100%;
      align-items: center !important;
      gap: 12px;
      padding: 12px;
      border: 1px solid var(--a2t-line, #e8ebf1);
      border-radius: 18px;
      background: var(--a2t-surface, #fff);
      box-shadow: 0 10px 28px rgba(8, 12, 24, .045);
    }

    #wxa-homepage .a2t-trusted p {
      font-size: 13px;
      line-height: 1.45;
    }

    #wxa-homepage .a2t-avatars {
      flex: 0 0 auto;
    }

    #wxa-homepage .a2t-avatars span {
      width: 30px;
      height: 30px;
      margin-left: -10px;
    }

    #wxa-homepage .a2t-avatars span:first-child {
      margin-left: 0;
    }

    #wxa-homepage .a2t-system-map {
      display: grid !important;
      grid-template-columns: 1fr;
      gap: 12px;
      height: auto !important;
      max-width: 100%;
      margin: 0 !important;
      transform: none !important;
      padding: 0;
    }

    #wxa-homepage .a2t-orbit {
      display: none !important;
    }

    #wxa-homepage .a2t-center-brand,
    #wxa-homepage .a2t-node,
    #wxa-homepage .a2t-tech {
      position: static !important;
      inset: auto !important;
      transform: none !important;
      width: 100% !important;
      max-width: 100%;
      margin: 0;
    }

    #wxa-homepage .a2t-center-brand {
      display: block;
      text-align: left;
      padding: 20px;
      border: 1px solid rgba(53, 103, 255, .16);
      border-radius: 22px;
      background:
        radial-gradient(circle at 88% 10%, rgba(53, 103, 255, .12), transparent 35%),
        var(--a2t-surface, #fff);
      box-shadow: 0 14px 34px rgba(8, 12, 24, .055);
      order: -3;
    }

    #wxa-homepage .a2t-center-brand strong {
      margin-bottom: 8px;
      font-size: clamp(34px, 11vw, 48px);
      letter-spacing: -.055em;
    }

    #wxa-homepage .a2t-center-brand p {
      font-size: 14px;
      line-height: 1.55;
    }

    #wxa-homepage .a2t-node {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      min-height: 92px;
      padding: 14px;
      border-radius: 18px;
      box-shadow: 0 10px 28px rgba(8, 12, 24, .045);
    }

    #wxa-homepage .a2t-node h2 {
      font-size: 15px;
      line-height: 1.15;
      margin-bottom: 4px;
    }

    #wxa-homepage .a2t-node p {
      font-size: 12.5px;
      line-height: 1.42;
    }

    #wxa-homepage .a2t-ico {
      width: 42px;
      height: 42px;
      flex-basis: 42px;
      border-radius: 14px;
      font-size: 18px;
    }

    #wxa-homepage .a2t-tech {
      display: inline-flex;
      min-height: 38px;
      height: auto;
      justify-content: center;
      padding: 9px 12px;
      border-radius: 14px;
      font-size: 12.5px;
      box-shadow: 0 8px 20px rgba(8, 12, 24, .045);
    }

    #wxa-homepage .a2t-tech:nth-last-of-type(1),
    #wxa-homepage .a2t-tech:nth-last-of-type(2),
    #wxa-homepage .a2t-tech:nth-last-of-type(3),
    #wxa-homepage .a2t-tech:nth-last-of-type(4),
    #wxa-homepage .a2t-tech:nth-last-of-type(5),
    #wxa-homepage .a2t-tech:nth-last-of-type(6) {
      width: 100% !important;
    }

    #wxa-homepage .a2t-metrics {
      grid-template-columns: 1fr !important;
      margin-top: 24px;
      border-radius: 22px;
    }

    #wxa-homepage .a2t-metric {
      padding: 16px;
      gap: 14px;
      border-right: 0 !important;
      border-bottom: 1px solid var(--a2t-line, #e8ebf1) !important;
    }

    #wxa-homepage .a2t-metric:last-child {
      border-bottom: 0 !important;
    }

    #wxa-homepage .a2t-micon {
      width: 46px;
      height: 46px;
      flex-basis: 46px;
      border-radius: 15px;
      font-size: 18px;
    }

    #wxa-homepage .a2t-metric strong {
      font-size: 25px;
    }

    #wxa-homepage .a2t-metric span {
      font-size: 13px;
      line-height: 1.35;
    }

    #wxa-homepage .a2t-section {
      padding: var(--a2t-public-section-y) 0;
    }

    #wxa-homepage .a2t-section-head {
      display: grid !important;
      gap: 14px;
      margin-bottom: 20px;
    }

    #wxa-homepage .a2t-section-head h2,
    #wxa-homepage .a2t-cta-band h2 {
      font-size: var(--a2t-public-h2) !important;
      line-height: 1.06;
      letter-spacing: -.05em;
    }

    #wxa-homepage .a2t-section-head p,
    #wxa-homepage .a2t-cta-band p {
      font-size: 15px;
      line-height: 1.58;
      margin-top: 8px;
    }

    #wxa-homepage .a2t-section-head > a {
      display: inline-flex;
      width: fit-content;
      max-width: 100%;
      min-height: 38px;
      align-items: center;
      padding: 0 12px;
      border: 1px solid var(--a2t-line, #e8ebf1);
      border-radius: 999px;
      background: var(--a2t-surface, #fff);
      font-size: 13px;
    }

    #wxa-homepage .a2t-grid-3,
    #wxa-homepage .a2t-grid-4 {
      grid-template-columns: 1fr !important;
      gap: 14px;
    }

    #wxa-homepage .a2t-card {
      padding: 18px;
      border-radius: 20px;
      box-shadow: 0 10px 26px rgba(8, 12, 24, .04);
    }

    #wxa-homepage .a2t-card h3 {
      font-size: 19px;
      line-height: 1.2;
    }

    #wxa-homepage .a2t-card p {
      font-size: 14px;
      line-height: 1.58;
      margin-bottom: 14px;
    }

    #wxa-homepage .a2t-visual {
      height: 118px;
      margin-bottom: 16px;
      border-radius: 16px;
    }

    #wxa-homepage .a2t-product-media {
      height: clamp(150px, 48vw, 190px);
      margin-bottom: 16px;
      border-radius: 16px;
    }

    #wxa-homepage .a2t-card-foot {
      gap: 10px;
      padding-top: 14px;
      align-items: flex-start;
    }

    #wxa-homepage .a2t-card-foot span,
    #wxa-homepage .a2t-card-foot strong {
      font-size: 13px;
      line-height: 1.35;
    }

    #wxa-homepage .a2t-cta-band {
      display: grid !important;
      gap: 18px;
      padding: 22px;
      border-radius: 24px;
    }

    #wxa-homepage .a2t-cta-band .a2t-btn {
      margin: 0 !important;
    }

    #wxa-homepage .a2t-home-trust-strip {
      padding: var(--a2t-public-section-y) 0;
    }

    #wxa-homepage .a2t-testimonial-grid {
      grid-template-columns: 1fr !important;
      gap: 14px;
    }
  }

  @media (max-width: 390px) {
    #wxa-homepage .a2t-container {
      width: min(100% - 24px, 1240px) !important;
    }

    #wxa-homepage .a2t-hero h1 {
      font-size: clamp(31px, 12vw, 42px) !important;
    }

    #wxa-homepage .a2t-trusted {
      align-items: flex-start !important;
    }

    #wxa-homepage .a2t-node {
      grid-template-columns: 40px minmax(0, 1fr);
    }

    #wxa-homepage .a2t-ico {
      width: 40px;
      height: 40px;
      flex-basis: 40px;
    }
  }

  /* ---------------- Services public page ---------------- */
  .a2t-services-pro {
    max-width: 1240px;
  }

  .a2t-services-pro .a2t-service-card,
  .a2t-services-pro .a2t-process-card,
  .a2t-services-pro .a2t-studio-card,
  .a2t-services-pro .a2t-start-panel,
  .a2t-services-pro .a2t-start-box {
    min-width: 0;
  }

  .a2t-services-pro .a2t-service-card p,
  .a2t-services-pro .a2t-process-card p,
  .a2t-services-pro .a2t-studio-card p,
  .a2t-services-pro .a2t-start-panel p,
  .a2t-services-pro .a2t-start-box span {
    overflow-wrap: anywhere;
  }

  @media (max-width: 1120px) {
    .a2t-services-pro {
      width: min(100% - 44px, 1240px) !important;
      padding-top: 56px;
      padding-bottom: 86px;
    }

    .a2t-services-pro .a2t-service-hero {
      gap: 32px !important;
      padding-bottom: 48px;
    }

    .a2t-services-pro .a2t-service-grid,
    .a2t-services-pro .a2t-process-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  }

  @media (max-width: 760px) {
    .a2t-services-pro {
      width: min(100% - 28px, 1240px) !important;
      padding: 34px 0 70px !important;
    }

    .a2t-services-pro .a2t-service-hero {
      display: grid !important;
      grid-template-columns: 1fr !important;
      gap: 20px !important;
      padding: 0 0 40px !important;
    }

    .a2t-services-pro .a2t-service-eyebrow {
      min-height: 30px;
      padding: 7px 12px;
      font-size: 10.5px;
      line-height: 1.2;
      letter-spacing: .065em;
    }

    .a2t-services-pro .a2t-service-title {
      max-width: 100%;
      margin: 18px 0 12px;
      font-size: var(--a2t-public-title) !important;
      line-height: .99;
      letter-spacing: -.058em;
    }

    .a2t-services-pro .a2t-service-lead {
      max-width: 100%;
      font-size: var(--a2t-public-copy) !important;
      line-height: 1.62;
    }

    .a2t-services-pro .a2t-service-actions {
      display: grid !important;
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: 22px;
    }

    .a2t-services-pro .a2t-service-actions .a2t-btn,
    .a2t-services-pro .a2t-start-box .a2t-btn {
      width: 100%;
      min-height: 48px;
      height: auto;
      justify-content: center;
      border-radius: 16px;
      padding: 13px 16px;
      font-size: 15px;
    }

    .a2t-services-pro .a2t-studio-card {
      padding: 20px !important;
      border-radius: 24px;
      box-shadow: 0 12px 34px rgba(8, 12, 24, .055);
    }

    .a2t-services-pro .a2t-studio-card h2 {
      font-size: clamp(25px, 8vw, 34px) !important;
      line-height: 1.08;
      letter-spacing: -.052em;
    }

    .a2t-services-pro .a2t-studio-card p {
      font-size: 14px;
      line-height: 1.62;
      margin-bottom: 0;
    }

    .a2t-services-pro .a2t-studio-metrics,
    .a2t-services-pro .a2t-service-grid,
    .a2t-services-pro .a2t-process-grid {
      grid-template-columns: 1fr !important;
      gap: 12px !important;
    }

    .a2t-services-pro .a2t-studio-metric {
      padding: 14px;
      border-radius: 16px;
    }

    .a2t-services-pro .a2t-studio-metric strong {
      font-size: 25px;
    }

    .a2t-services-pro .a2t-studio-metric span {
      font-size: 13px;
      line-height: 1.35;
    }

    .a2t-services-pro .a2t-service-section {
      padding: var(--a2t-public-section-y) 0 !important;
    }

    .a2t-services-pro .a2t-service-head {
      display: grid !important;
      gap: 10px;
      margin-bottom: 18px;
    }

    .a2t-services-pro .a2t-service-head h2,
    .a2t-services-pro .a2t-start-panel h2 {
      font-size: var(--a2t-public-h2) !important;
      line-height: 1.08;
      letter-spacing: -.052em;
    }

    .a2t-services-pro .a2t-service-head p,
    .a2t-services-pro .a2t-start-panel p {
      font-size: 15px;
      line-height: 1.6;
    }

    .a2t-services-pro .a2t-service-card,
    .a2t-services-pro .a2t-process-card {
      padding: 18px !important;
      border-radius: 20px;
    }

    .a2t-services-pro .a2t-service-card h3,
    .a2t-services-pro .a2t-process-card h3 {
      font-size: 19px;
      line-height: 1.2;
    }

    .a2t-services-pro .a2t-service-card p,
    .a2t-services-pro .a2t-process-card p {
      font-size: 14px;
      line-height: 1.58;
    }

    .a2t-services-pro .a2t-service-icon,
    .a2t-services-pro .a2t-process-num {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      font-size: 15px;
    }

    .a2t-services-pro .a2t-start-panel {
      display: grid !important;
      grid-template-columns: 1fr !important;
      gap: 18px;
      padding: 22px !important;
      border-radius: 26px;
    }

    .a2t-services-pro .a2t-start-box {
      padding: 18px;
      border-radius: 20px;
    }
  }

  @media (max-width: 390px) {
    .a2t-services-pro {
      width: min(100% - 24px, 1240px) !important;
    }

    .a2t-services-pro .a2t-service-title {
      font-size: clamp(31px, 12vw, 42px) !important;
    }
  }

  /* ---------------- Case studies / trust page ---------------- */
  .a2t-trust-page .a2t-case-card,
  .a2t-trust-page .a2t-testimonial-card,
  .a2t-trust-page .a2t-proof-panel,
  .a2t-trust-page .a2t-proof-card,
  .a2t-trust-page .a2t-logo-item {
    min-width: 0;
  }

  .a2t-trust-page .a2t-case-body p,
  .a2t-trust-page .a2t-quote,
  .a2t-trust-page .a2t-page-lead,
  .a2t-trust-page .a2t-muted {
    overflow-wrap: anywhere;
  }

  @media (max-width: 1120px) {
    .a2t-trust-page {
      width: min(100% - 44px, 1240px) !important;
      padding-top: 56px;
      padding-bottom: 86px;
    }

    .a2t-trust-page .a2t-trust-hero {
      grid-template-columns: 1fr !important;
      gap: 24px;
      align-items: stretch;
    }

    .a2t-trust-page .a2t-case-grid,
    .a2t-trust-page .a2t-testimonial-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .a2t-trust-page .a2t-proof-grid,
    .a2t-trust-page .a2t-logo-wall {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  }

  @media (max-width: 760px) {
    .a2t-trust-page {
      width: min(100% - 28px, 1240px) !important;
      padding: 34px 0 70px !important;
    }

    .a2t-trust-page .a2t-trust-hero {
      margin-bottom: 30px;
      gap: 18px;
    }

    .a2t-trust-page .a2t-page-kicker,
    .a2t-trust-page .a2t-mini-pill {
      min-height: 30px;
      padding: 7px 11px;
      font-size: 10.5px;
      line-height: 1.2;
      letter-spacing: .06em;
    }

    .a2t-trust-page .a2t-page-title {
      max-width: 100%;
      margin: 18px 0 12px;
      font-size: var(--a2t-public-title) !important;
      line-height: .99;
      letter-spacing: -.058em;
    }

    .a2t-trust-page .a2t-page-lead {
      max-width: 100%;
      font-size: var(--a2t-public-copy) !important;
      line-height: 1.62;
    }

    .a2t-trust-page .a2t-action-row {
      display: grid !important;
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .a2t-trust-page .a2t-action-row .a2t-btn,
    .a2t-trust-page .a2t-action-row .a2t-btn-dark {
      width: 100%;
      min-height: 48px;
      height: auto;
      justify-content: center;
      border-radius: 16px;
      padding: 13px 16px;
      font-size: 15px;
    }

    .a2t-trust-page .a2t-proof-panel {
      padding: 20px !important;
      border-radius: 24px;
      box-shadow: 0 12px 34px rgba(8, 12, 24, .055);
    }

    .a2t-trust-page .a2t-section-block {
      padding: var(--a2t-public-section-y) 0 !important;
    }

    .a2t-trust-page .a2t-section-heading {
      font-size: var(--a2t-public-h2) !important;
      line-height: 1.08;
      letter-spacing: -.052em;
      margin-bottom: 16px;
    }

    .a2t-trust-page .a2t-case-grid,
    .a2t-trust-page .a2t-testimonial-grid,
    .a2t-trust-page .a2t-proof-grid,
    .a2t-trust-page .a2t-logo-wall {
      grid-template-columns: 1fr !important;
      gap: 14px !important;
    }

    .a2t-trust-page .a2t-proof-card {
      padding: 16px;
      border-radius: 18px;
    }

    .a2t-trust-page .a2t-proof-card strong {
      font-size: 25px;
    }

    .a2t-trust-page .a2t-case-card,
    .a2t-trust-page .a2t-testimonial-card {
      border-radius: 20px;
      box-shadow: 0 10px 26px rgba(8, 12, 24, .04);
    }

    .a2t-trust-page .a2t-case-visual {
      height: clamp(150px, 48vw, 190px);
    }

    .a2t-trust-page .a2t-case-body,
    .a2t-trust-page .a2t-testimonial-card {
      padding: 18px !important;
    }

    .a2t-trust-page .a2t-case-body h3 {
      font-size: 20px;
      line-height: 1.2;
    }

    .a2t-trust-page .a2t-case-meta {
      margin: 12px 0;
    }

    .a2t-trust-page .a2t-result-box strong {
      font-size: 24px;
    }

    .a2t-trust-page .a2t-quote {
      font-size: 14.5px;
      line-height: 1.65;
    }

    .a2t-trust-page .a2t-author {
      align-items: flex-start;
    }

    .a2t-trust-page .a2t-author-avatar {
      width: 38px;
      height: 38px;
      flex-basis: 38px;
    }

    .a2t-trust-page .a2t-logo-item {
      min-height: 66px;
      border-radius: 16px;
      padding: 12px;
      text-align: center;
    }
  }

  @media (max-width: 390px) {
    .a2t-trust-page {
      width: min(100% - 24px, 1240px) !important;
    }

    .a2t-trust-page .a2t-page-title {
      font-size: clamp(31px, 12vw, 42px) !important;
    }
  }

  /* ---------------- Legal pages ---------------- */
  .a2t-legal-page .a2t-legal-card,
  .a2t-legal-page .a2t-legal-toc,
  .a2t-legal-page .a2t-legal-hero {
    min-width: 0;
  }

  .a2t-legal-page .a2t-legal-card :is(p, li, a, td, th),
  .a2t-legal-page .a2t-legal-hero p,
  .a2t-legal-page .a2t-legal-toc a {
    overflow-wrap: anywhere;
  }

  .a2t-legal-page .a2t-legal-card table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  @media (max-width: 920px) {
    .a2t-legal-page {
      width: min(100% - 44px, 1120px) !important;
    }

    .a2t-legal-page .a2t-legal-layout {
      grid-template-columns: 1fr !important;
      gap: 18px;
    }

    .a2t-legal-page .a2t-legal-toc {
      position: static !important;
      order: 2;
    }
  }

  @media (max-width: 760px) {
    .a2t-legal-page {
      width: min(100% - 28px, 1120px) !important;
      padding: 34px 0 70px !important;
    }

    .a2t-legal-page .a2t-legal-hero {
      padding: 22px !important;
      border-radius: 24px;
      margin-bottom: 18px;
      box-shadow: 0 12px 34px rgba(8, 12, 24, .055);
    }

    .a2t-legal-page .a2t-legal-kicker {
      min-height: 30px;
      padding: 7px 11px;
      font-size: 10.5px;
      line-height: 1.2;
      letter-spacing: .06em;
    }

    .a2t-legal-page .a2t-legal-hero h1 {
      font-size: var(--a2t-public-title) !important;
      line-height: .99;
      letter-spacing: -.058em;
      margin: 18px 0 12px;
    }

    .a2t-legal-page .a2t-legal-hero p {
      font-size: var(--a2t-public-copy);
      line-height: 1.62;
    }

    .a2t-legal-page .a2t-legal-date {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .a2t-legal-page .a2t-legal-pill {
      width: 100%;
      justify-content: center;
      min-height: 36px;
      padding: 8px 10px;
      text-align: center;
      border-radius: 14px;
    }

    .a2t-legal-page .a2t-legal-card {
      padding: 20px !important;
      border-radius: 22px;
      box-shadow: 0 10px 28px rgba(8, 12, 24, .045);
    }

    .a2t-legal-page .a2t-legal-card section {
      padding: 22px 0;
      scroll-margin-top: 96px;
    }

    .a2t-legal-page .a2t-legal-card h2 {
      font-size: clamp(24px, 7vw, 34px) !important;
      line-height: 1.12;
    }

    .a2t-legal-page .a2t-legal-card h3 {
      font-size: 20px;
      line-height: 1.2;
    }

    .a2t-legal-page .a2t-legal-card p,
    .a2t-legal-page .a2t-legal-card li {
      font-size: 14.5px;
      line-height: 1.72;
    }

    .a2t-legal-page .a2t-legal-card ul,
    .a2t-legal-page .a2t-legal-card ol {
      padding-left: 1.1rem;
    }

    .a2t-legal-page .a2t-legal-note {
      padding: 14px;
      border-radius: 16px;
      font-size: 14px;
    }

    .a2t-legal-page .a2t-legal-toc {
      padding: 14px;
      border-radius: 20px;
    }

    .a2t-legal-page .a2t-legal-toc a {
      min-height: 36px;
      padding: 9px 10px;
      font-size: 13px;
    }
  }

  @media (max-width: 390px) {
    .a2t-legal-page {
      width: min(100% - 24px, 1120px) !important;
    }

    .a2t-legal-page .a2t-legal-hero h1 {
      font-size: clamp(31px, 12vw, 42px) !important;
    }
  }

  /* ---------------- Search results ---------------- */
  .search-container {
    width: min(900px, calc(100% - 64px));
    max-width: 900px;
    margin: 72px auto 96px;
    padding: 0;
    color: var(--a2t-text, #07070b);
  }

  .search-container h1 {
    margin: 0 0 22px;
    color: var(--a2t-text, #07070b);
    font-size: clamp(34px, 6vw, 54px);
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 950;
  }

  .search-container .search-section {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid var(--a2t-line, #e8ebf1);
    border-radius: 22px;
    background: var(--a2t-surface, #fff);
    box-shadow: 0 12px 35px rgba(8, 12, 24, .04);
  }

  .search-container .search-section h2 {
    margin: 0 0 14px;
    color: var(--a2t-text, #07070b);
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.035em;
    font-weight: 900;
  }

  .search-container .search-list {
    display: grid;
    gap: 10px;
  }

  .search-container .search-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--a2t-line, #e8ebf1);
    border-radius: 16px;
    background: var(--a2t-soft, #f7f8fb);
  }

  .search-container .search-list li a {
    color: var(--a2t-text, #07070b);
    line-height: 1.35;
    font-weight: 850;
  }

  .search-container .search-list li a:hover {
    color: var(--a2t-blue, #3567ff);
  }

  .search-container .meta {
    max-width: 280px;
    color: var(--a2t-muted, #58657a);
    font-size: 13px;
    line-height: 1.45;
    text-align: right;
  }

  .search-container .empty {
    margin: 0;
    color: var(--a2t-muted, #58657a);
    font-size: 14px;
  }

  @media (max-width: 760px) {
    .search-container {
      width: min(100% - 28px, 900px);
      margin: 34px auto 70px;
    }

    .search-container h1 {
      font-size: var(--a2t-public-title);
      line-height: .99;
      letter-spacing: -.058em;
      margin-bottom: 18px;
    }

    .search-container .search-section {
      padding: 18px;
      border-radius: 20px;
    }

    .search-container .search-list li {
      grid-template-columns: 1fr;
      gap: 6px;
      align-items: start;
      padding: 12px;
    }

    .search-container .meta {
      max-width: 100%;
      text-align: left;
      font-size: 12.5px;
    }
  }

  @media (max-width: 390px) {
    .search-container {
      width: min(100% - 24px, 900px);
    }

    .search-container h1 {
      font-size: clamp(31px, 12vw, 42px);
    }
  }

  /* ---------------- Dark theme parity ---------------- */
  html[data-theme="dark"] #wxa-homepage,
  html[data-theme="dark"] .a2t-services-pro,
  html[data-theme="dark"] .a2t-trust-page,
  html[data-theme="dark"] .a2t-legal-page,
  html[data-theme="dark"] .search-container,
  body.dark-mode #wxa-homepage,
  body.dark-mode .a2t-services-pro,
  body.dark-mode .a2t-trust-page,
  body.dark-mode .a2t-legal-page,
  body.dark-mode .search-container,
  body.dark #wxa-homepage,
  body.dark .a2t-services-pro,
  body.dark .a2t-trust-page,
  body.dark .a2t-legal-page,
  body.dark .search-container {
    --a2t-bg: #05070d;
    --a2t-surface: #0c111d;
    --a2t-soft: #111827;
    --a2t-line: rgba(255,255,255,.11);
    --a2t-text: #f8fafc;
    --a2t-muted: #aab6c8;
  }

  html[data-theme="dark"] #wxa-homepage,
  body.dark-mode #wxa-homepage,
  body.dark #wxa-homepage {
    background: #05070d;
  }

  html[data-theme="dark"] :is(#wxa-homepage .a2t-card, #wxa-homepage .a2t-node, #wxa-homepage .a2t-tech, #wxa-homepage .a2t-metrics, #wxa-homepage .a2t-trusted, #wxa-homepage .a2t-center-brand, .a2t-services-pro .a2t-studio-card, .a2t-services-pro .a2t-service-card, .a2t-services-pro .a2t-process-card, .a2t-trust-page .a2t-proof-panel, .a2t-trust-page .a2t-case-card, .a2t-trust-page .a2t-testimonial-card, .a2t-trust-page .a2t-logo-item, .a2t-legal-page .a2t-legal-hero, .a2t-legal-page .a2t-legal-card, .a2t-legal-page .a2t-legal-toc, .search-container .search-section, .search-container .search-list li),
  body.dark-mode :is(#wxa-homepage .a2t-card, #wxa-homepage .a2t-node, #wxa-homepage .a2t-tech, #wxa-homepage .a2t-metrics, #wxa-homepage .a2t-trusted, #wxa-homepage .a2t-center-brand, .a2t-services-pro .a2t-studio-card, .a2t-services-pro .a2t-service-card, .a2t-services-pro .a2t-process-card, .a2t-trust-page .a2t-proof-panel, .a2t-trust-page .a2t-case-card, .a2t-trust-page .a2t-testimonial-card, .a2t-trust-page .a2t-logo-item, .a2t-legal-page .a2t-legal-hero, .a2t-legal-page .a2t-legal-card, .a2t-legal-page .a2t-legal-toc, .search-container .search-section, .search-container .search-list li),
  body.dark :is(#wxa-homepage .a2t-card, #wxa-homepage .a2t-node, #wxa-homepage .a2t-tech, #wxa-homepage .a2t-metrics, #wxa-homepage .a2t-trusted, #wxa-homepage .a2t-center-brand, .a2t-services-pro .a2t-studio-card, .a2t-services-pro .a2t-service-card, .a2t-services-pro .a2t-process-card, .a2t-trust-page .a2t-proof-panel, .a2t-trust-page .a2t-case-card, .a2t-trust-page .a2t-testimonial-card, .a2t-trust-page .a2t-logo-item, .a2t-legal-page .a2t-legal-hero, .a2t-legal-page .a2t-legal-card, .a2t-legal-page .a2t-legal-toc, .search-container .search-section, .search-container .search-list li) {
    background-color: var(--a2t-surface, #0c111d);
    border-color: var(--a2t-line, rgba(255,255,255,.11));
    color: var(--a2t-text, #f8fafc);
  }

  html[data-theme="dark"] :is(#wxa-homepage h1, #wxa-homepage h2, #wxa-homepage h3, #wxa-homepage .a2t-card-foot span, .a2t-services-pro h1, .a2t-services-pro h2, .a2t-services-pro h3, .a2t-trust-page h1, .a2t-trust-page h2, .a2t-trust-page h3, .a2t-legal-page h1, .a2t-legal-page h2, .a2t-legal-page h3, .search-container h1, .search-container h2, .search-container a),
  body.dark-mode :is(#wxa-homepage h1, #wxa-homepage h2, #wxa-homepage h3, #wxa-homepage .a2t-card-foot span, .a2t-services-pro h1, .a2t-services-pro h2, .a2t-services-pro h3, .a2t-trust-page h1, .a2t-trust-page h2, .a2t-trust-page h3, .a2t-legal-page h1, .a2t-legal-page h2, .a2t-legal-page h3, .search-container h1, .search-container h2, .search-container a),
  body.dark :is(#wxa-homepage h1, #wxa-homepage h2, #wxa-homepage h3, #wxa-homepage .a2t-card-foot span, .a2t-services-pro h1, .a2t-services-pro h2, .a2t-services-pro h3, .a2t-trust-page h1, .a2t-trust-page h2, .a2t-trust-page h3, .a2t-legal-page h1, .a2t-legal-page h2, .a2t-legal-page h3, .search-container h1, .search-container h2, .search-container a) {
    color: var(--a2t-text, #f8fafc) !important;
  }

  html[data-theme="dark"] :is(#wxa-homepage p, #wxa-homepage .a2t-lead, #wxa-homepage .a2t-card p, #wxa-homepage .a2t-metric span, #wxa-homepage .a2t-center-brand p, .a2t-services-pro p, .a2t-services-pro span, .a2t-trust-page p, .a2t-trust-page span, .a2t-legal-page p, .a2t-legal-page li, .a2t-legal-page .a2t-legal-pill, .search-container .meta, .search-container .empty),
  body.dark-mode :is(#wxa-homepage p, #wxa-homepage .a2t-lead, #wxa-homepage .a2t-card p, #wxa-homepage .a2t-metric span, #wxa-homepage .a2t-center-brand p, .a2t-services-pro p, .a2t-services-pro span, .a2t-trust-page p, .a2t-trust-page span, .a2t-legal-page p, .a2t-legal-page li, .a2t-legal-page .a2t-legal-pill, .search-container .meta, .search-container .empty),
  body.dark :is(#wxa-homepage p, #wxa-homepage .a2t-lead, #wxa-homepage .a2t-card p, #wxa-homepage .a2t-metric span, #wxa-homepage .a2t-center-brand p, .a2t-services-pro p, .a2t-services-pro span, .a2t-trust-page p, .a2t-trust-page span, .a2t-legal-page p, .a2t-legal-page li, .a2t-legal-page .a2t-legal-pill, .search-container .meta, .search-container .empty) {
    color: var(--a2t-muted, #aab6c8) !important;
  }

  html[data-theme="dark"] :is(#wxa-homepage .a2t-btn:not(.a2t-btn-dark), .a2t-services-pro .a2t-btn:not(.a2t-btn-dark), .a2t-trust-page .a2t-btn:not(.a2t-btn-dark)),
  body.dark-mode :is(#wxa-homepage .a2t-btn:not(.a2t-btn-dark), .a2t-services-pro .a2t-btn:not(.a2t-btn-dark), .a2t-trust-page .a2t-btn:not(.a2t-btn-dark)),
  body.dark :is(#wxa-homepage .a2t-btn:not(.a2t-btn-dark), .a2t-services-pro .a2t-btn:not(.a2t-btn-dark), .a2t-trust-page .a2t-btn:not(.a2t-btn-dark)) {
    background: #f8fafc !important;
    color: #05070d !important;
    border-color: #f8fafc !important;
  }

  @media (prefers-reduced-motion: reduce) {
    #wxa-homepage *,
    .a2t-services-pro *,
    .a2t-trust-page *,
    .a2t-legal-page *,
    .search-container * {
      scroll-behavior: auto !important;
      transition-duration: .01ms !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
    }
  }

