/* Desktop home hero compact layout. Mobile hero is hidden by home_network_stories.css. */
.home-b2b-business-grid,
.home-b2b-hero__action-art {
  display: none;
}

@media (min-width: 768px) {
  .home-b2b-page .home-b2b-hero {
    min-height: 222px;
    padding: 20px 52px;
    background: #fff;
    background-image: none;
    background-position: center;
  }

  .home-b2b-page .home-b2b-hero::after {
    content: none;
    display: none;
    background: none;
  }

  .home-b2b-page .home-b2b-hero__text {
    max-width: 820px;
  }

  .home-b2b-page .home-b2b-hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -1px;
    white-space: nowrap;
  }

  .home-b2b-page .home-b2b-hero p {
    max-width: none;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .home-b2b-page .home-b2b-hero__actions {
    max-width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }

  .home-b2b-page .home-b2b-btn--primary {
    width: auto;
    min-width: max-content;
    flex: 0 0 auto;
    min-height: 44px;
    height: 44px;
    padding: 0 24px;
  }

  .home-b2b-page .home-b2b-btn--compact {
    width: 118px;
    min-width: 118px;
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    gap: 8px;
    font-size: 14px;
    border: 1px solid transparent;
  }

  .home-b2b-page .home-b2b-btn--compact::after {
    content: "";
    width: 17px;
    height: 17px;
    min-width: 17px;
    display: block;
    order: -1;
    background: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    pointer-events: none;
  }

  .home-b2b-page .home-b2b-btn--analytics {
    background: #111713;
    color: #fff;
    box-shadow: 0 8px 18px rgba(17, 23, 19, .18);
  }

  .home-b2b-page .home-b2b-btn--analytics::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='2' y='10' width='3.5' height='7.5' rx='1'/%3E%3Crect x='8.25' y='6' width='3.5' height='11.5' rx='1'/%3E%3Crect x='14.5' y='2.5' width='3.5' height='15' rx='1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='2' y='10' width='3.5' height='7.5' rx='1'/%3E%3Crect x='8.25' y='6' width='3.5' height='11.5' rx='1'/%3E%3Crect x='14.5' y='2.5' width='3.5' height='15' rx='1'/%3E%3C/svg%3E");
  }

  .home-b2b-page .home-b2b-btn--analytics:hover,
  .home-b2b-page .home-b2b-btn--analytics:focus-visible {
    background: #050806;
    box-shadow: 0 14px 28px rgba(17, 23, 19, .24);
  }

  .home-b2b-page .home-b2b-btn--network {
    background: #66c8ef;
    color: #07131a;
    border-color: rgba(56, 145, 183, .28);
    box-shadow: 0 8px 18px rgba(56, 145, 183, .17);
    backdrop-filter: blur(6px);
  }

  .home-b2b-page .home-b2b-btn--network::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='7' cy='6' r='3'/%3E%3Ccircle cx='14.5' cy='7' r='2.3'/%3E%3Cpath d='M1.5 17c.35-4 2.5-6 5.5-6s5.15 2 5.5 6h-11Z'/%3E%3Cpath d='M12 12.3c3.25-.3 5.4 1.25 6 4.7h-4.15c-.2-1.9-.85-3.45-1.85-4.7Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='7' cy='6' r='3'/%3E%3Ccircle cx='14.5' cy='7' r='2.3'/%3E%3Cpath d='M1.5 17c.35-4 2.5-6 5.5-6s5.15 2 5.5 6h-11Z'/%3E%3Cpath d='M12 12.3c3.25-.3 5.4 1.25 6 4.7h-4.15c-.2-1.9-.85-3.45-1.85-4.7Z'/%3E%3C/svg%3E");
  }

  .home-b2b-page .home-b2b-btn--network:hover,
  .home-b2b-page .home-b2b-btn--network:focus-visible {
    background: #66c8ef;
    border-color: rgba(43, 124, 161, .42);
    box-shadow: 0 14px 28px rgba(56, 145, 183, .24);
  }
}

@media (min-width: 1100px) {
  /* Wide desktop: six equal cards form one continuous row.
     The first three reuse the existing mobile artwork; the last three keep
     their Premium / Work / Processing identities. */
  .home-b2b-page .home-b2b-hero__actions {
    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    gap: 12px;
    align-items: stretch;
  }

  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    min-width: 0;
    height: 96px;
    min-height: 96px;
    margin: 0;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #e0e4e1;
    border-radius: 13px;
    background: #f1f2f3;
    color: #17211a;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(20,45,30,.045);
    transform: none;
    box-sizing: border-box;
  }

  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn__label {
    position: relative;
    z-index: 1;
    display: block;
    max-width: calc(100% - 74px);
    color: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  /* The legacy CTA title is nowrap: permit this label's intended two lines. */
  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn--primary .home-b2b-btn__label {
    white-space: normal;
  }

  /* The illustration stays inside its existing card, clear of both words. */
  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn--primary .home-b2b-hero__action-art {
    right: -10px;
  }

  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn__plus,
  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn--compact::after {
    display: none;
    content: none;
  }

  .home-b2b-page .home-b2b-hero__actions .home-b2b-hero__action-art {
    position: absolute;
    display: block;
    right: -4px;
    bottom: -7px;
    width: 92px;
    height: 76px;
    filter: drop-shadow(0 4px 5px rgba(12,56,40,.08));
    pointer-events: none;
  }

  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn--network .home-b2b-hero__action-art {
    width: 98px;
    height: 78px;
  }

  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn:hover,
  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn:focus-visible {
    background: #e9eeeb;
    border-color: #a3bda9;
    box-shadow: 0 9px 18px rgba(17,64,37,.10);
    transform: translateY(-1px);
  }

  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn:focus-visible {
    outline: 2px solid #08732b;
    outline-offset: 2px;
  }

  .home-b2b-page .home-b2b-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto 96px;
    column-gap: 12px;
    row-gap: 0;
    align-items: flex-start;
    align-content: start;
    min-height: 188px;
    margin-bottom: 4px;
    padding-block: 8px;
    padding-inline: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .home-b2b-page .home-b2b-hero__text {
    display: contents;
  }

  .home-b2b-page .home-b2b-hero h1 {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .home-b2b-page .home-b2b-hero p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .home-b2b-page .home-b2b-business-grid {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    height: 96px;
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    gap: 12px;
    background: transparent;
    box-sizing: border-box;
  }

  .home-b2b-page .home-b2b-business-card {
    position: relative;
    min-width: 0;
    padding: 11px 12px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    border: 1px solid #d8e2db;
    border-radius: 13px;
    background: #fff;
    color: #073f22;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(20, 45, 30, .045);
    box-sizing: border-box;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  }

  .home-b2b-page .home-b2b-business-card--premium {
    background: linear-gradient(135deg, #fffdf8 0%, #fff8e8 100%);
    border-color: #e7dcc2;
    color: #8a5a00;
  }

  .home-b2b-page .home-b2b-business-card--premium .home-b2b-business-card__copy > span {
    color: #765000;
  }



  .home-b2b-page .home-b2b-business-card--processing {
    background: #eaf2f9;
    border-color: #d1dfeb;
  }

  .home-b2b-page .home-b2b-business-card:hover,
  .home-b2b-page .home-b2b-business-card:focus-visible {
    border-color: #92b9a0;
    box-shadow: 0 10px 22px rgba(17, 64, 37, .12);
    transform: translateY(-2px);
  }

  .home-b2b-page .home-b2b-business-card:focus-visible {
    outline: 2px solid #08732b;
    outline-offset: 2px;
  }


  .home-b2b-page .home-b2b-business-card__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-b2b-page .home-b2b-business-card__copy strong {
    max-width: 100%;
    color: inherit;
    font-size: 14px;
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -.2px;
  }

  .home-b2b-page .home-b2b-business-card__copy > span {
    max-width: 100%;
    margin-top: 6px;
    color: #5f7167;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
  }


  .home-b2b-page .home-b2b-business-card__art {
    position: absolute;
    right: -5px;
    bottom: -6px;
    width: 78px;
    height: 67px;
    pointer-events: none;
    filter: drop-shadow(0 4px 5px rgba(20, 45, 30, .08));
  }

  .home-b2b-page .home-b2b-business-card__copy {
    position: relative;
    z-index: 1;
  }

  .home-b2b-page .home-b2b-business-card--premium .home-b2b-business-card__copy,
  .home-b2b-page .home-b2b-business-card--work .home-b2b-business-card__copy,
  .home-b2b-page .home-b2b-business-card--processing .home-b2b-business-card__copy {
    max-width: calc(100% - 55px);
  }

  /* Same title and subtitle typography for all right-side cards. */
  .home-b2b-page .home-b2b-business-card--premium .home-b2b-business-card__copy strong {
    white-space: nowrap;
  }

}

@media (min-width: 1100px) and (max-width: 1279.98px) {
  .home-b2b-page .home-b2b-hero {
    margin-bottom: 6px;
  }

  .home-b2b-page .home-b2b-business-card {
    padding: 10px;
    border-radius: 13px;
  }

  .home-b2b-page .home-b2b-business-card__copy strong {
    font-size: 12.5px;
    line-height: 1.08;
  }

  .home-b2b-page .home-b2b-business-card__copy > span {
    display: none;
  }

  .home-b2b-page .home-b2b-business-card__art {
    right: -10px;
    width: 60px;
    height: 60px;
  }

  .home-b2b-page .home-b2b-business-card--premium .home-b2b-business-card__copy,
  .home-b2b-page .home-b2b-business-card--work .home-b2b-business-card__copy,
  .home-b2b-page .home-b2b-business-card--processing .home-b2b-business-card__copy {
    max-width: calc(100% - 52px);
  }

}

@media (min-width: 1400px) {
  .home-b2b-page .home-b2b-hero__actions .home-b2b-btn__label {
    font-size: 16px;
  }

  .home-b2b-page .home-b2b-business-card {
    padding: 13px 15px;
  }

  .home-b2b-page .home-b2b-business-card__copy strong {
    font-size: 16px;
  }

  .home-b2b-page .home-b2b-business-card__copy > span {
    font-size: 14px;
  }

}

@media (min-width: 768px) and (max-width: 1099.98px) {
  .home-b2b-page .home-b2b-hero {
    min-height: 210px;
    padding: 18px 28px;
    background-position: center;
  }

  .home-b2b-page .home-b2b-hero h1 {
    font-size: 28px;
    letter-spacing: -.7px;
  }

  .home-b2b-page .home-b2b-hero p {
    font-size: 12.5px;
  }

  .home-b2b-page .home-b2b-btn--primary {
    padding: 0 20px;
  }

  .home-b2b-page .home-b2b-btn--compact {
    width: 108px;
    min-width: 108px;
    padding: 0 10px;
    gap: 6px;
    font-size: 13px;
  }

  .home-b2b-page .home-b2b-btn--compact::after {
    width: 15px;
    height: 15px;
    min-width: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-b2b-page .home-b2b-business-card,
  .home-b2b-page .home-b2b-business-card__arrow {
    transition: none;
  }

  .home-b2b-page .home-b2b-business-card:hover,
  .home-b2b-page .home-b2b-business-card:focus-visible,
  .home-b2b-page .home-b2b-business-card:hover .home-b2b-business-card__arrow,
  .home-b2b-page .home-b2b-business-card:focus-visible .home-b2b-business-card__arrow {
    transform: none;
  }
}
