:root {
  --ink: #13211c;
  --muted: #5d6b66;
  --deep: #0d4f42;
  --deep-2: #08382f;
  --line: #d8e2de;
  --paper: #fbfcf8;
  --soft: #eef6f1;
  --accent: #d6a028;
  --accent-2: #f0d47a;
  --white: #fff;
  --shadow: 0 20px 60px rgba(11, 54, 45, .14);
}

/* 2026-07-24 shared UX hardening: compact disclosures, stable dates and
   non-overlapping rails. These overrides intentionally live after legacy rules. */
.query-answer-block {
  padding: 0;
  overflow: hidden;
}
.query-answer-block > summary,
.industry-top3-card__reason > summary,
.industry-reading-detail > summary {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 14px 48px 14px 18px;
  color: #075c8d;
  font-weight: 850;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.query-answer-block > summary::-webkit-details-marker,
.industry-top3-card__reason > summary::-webkit-details-marker,
.industry-reading-detail > summary::-webkit-details-marker {
  display: none;
}
.query-answer-block > summary::after,
.industry-top3-card__reason > summary::after,
.industry-reading-detail > summary::after {
  content: "＋";
  position: absolute;
  right: 18px;
  font-size: 20px;
  line-height: 1;
}
.query-answer-block[open] > summary::after,
.industry-top3-card__reason[open] > summary::after,
.industry-reading-detail[open] > summary::after {
  content: "−";
}
.query-answer-block__body {
  padding: 0 clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px);
}
.industry-top3-card__reason {
  overflow: hidden;
  border: 1px solid #d4e8f0;
  border-radius: 10px;
  background: #f6fbfd;
}
.industry-top3-card__reason > summary {
  min-height: 44px;
  padding: 9px 34px 9px 11px;
  font-size: 12px;
}
.industry-top3-card__reason > summary::after {
  right: 11px;
  font-size: 16px;
}
.industry-top3-card__reason > p {
  margin: 0;
  padding: 0 11px 11px;
  color: #2e5368;
  font-size: 12px;
  line-height: 1.65;
}
.industry-top3-card__checked > span,
.context-card__checked,
.survey-card__checked > span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}
.industry-reading-detail {
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid #c8e1ec;
  border-radius: 14px;
  background: #fff;
  scroll-margin-top: 96px;
}
.industry-reading-detail__body {
  padding: 0 18px 18px;
}
.industry-reading-detail__body > :first-child {
  margin-top: 0;
}
.industry-visual-article-hero {
  padding-block: 18px 24px;
}
.industry-visual-article-hero .industry-editorial-hero {
  margin-top: 16px;
}
body.has-recommendation-rail .company-fit-sticky {
  right: auto;
  left: 24px;
}
.bizcre-related-inline .related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bizcre-related-inline .related-grid > a {
  min-width: 0;
  min-height: 52px;
  padding: 12px 42px 12px 14px;
  word-break: keep-all;
}
.bizcre-related-inline .related-grid strong {
  overflow-wrap: normal;
  word-break: keep-all;
}

/* Final solid-fill CTA override: keep the cascade after legacy aurora rules. */
.table-cta:not(.muted-cta):not(.card-apply-cta),
.table-cta.card-market-item__action--official,
.button.primary:not(.disabled-cta),
.large-gradient-cta:not([href$="#diagnosis"]),
.card-market-item__official,
.context-card__official,
.industry-top3-card__official,
.survey-card__official,
.industry-hero-actions a:first-child,
.open-diagnosis-modal,
.quick-comparison-actions__primary {
  color: #fff !important;
  background: #075c8d !important;
  background-image: none !important;
  background-size: auto !important;
  animation: none !important;
}

/* Rank-specific collection CTAs intentionally retain their own grade identity. */
.feature-grade-page .grade-directory-cta--standard {
  border-color: #075c8d !important;
  background: linear-gradient(135deg, #0b79b5, #075c8d) !important;
}
.feature-grade-page .grade-directory-cta--gold {
  border-color: #8d5b04 !important;
  background: linear-gradient(135deg, #d0a23e, #966006) !important;
  box-shadow: 0 12px 28px rgba(130, 82, 3, 0.28) !important;
}
.feature-grade-page .grade-directory-cta--platinum {
  border-color: #3f4957 !important;
  background: linear-gradient(135deg, #718093, #3c4653) !important;
  box-shadow: 0 12px 28px rgba(38, 47, 58, 0.26) !important;
}
.feature-grade-page .grade-directory-cta:hover,
.feature-grade-page .grade-directory-cta:focus-visible {
  filter: brightness(1.08) !important;
  transform: translateY(-1px);
}

.table-cta:not(.muted-cta):not(.card-apply-cta)::before,
.table-cta:not(.muted-cta):not(.card-apply-cta)::after,
.table-cta.card-market-item__action--official::before,
.table-cta.card-market-item__action--official::after,
.button.primary:not(.disabled-cta)::before,
.button.primary:not(.disabled-cta)::after,
.large-gradient-cta::before,
.large-gradient-cta::after,
.card-market-item__official::before,
.card-market-item__official::after,
.context-card__official::before,
.context-card__official::after,
.industry-top3-card__official::before,
.industry-top3-card__official::after,
.survey-card__official::before,
.survey-card__official::after {
  display: none !important;
}

/* Branded CTAs use one dark-blue fill. Legacy diagonal overlays are disabled. */
.large-gradient-cta,
.card-market-item__official,
.context-card__official,
.industry-top3-card__official,
.survey-card__official,
.industry-hero-actions a:first-child,
.table-cta:not(.muted-cta),
.open-diagnosis-modal,
.quick-comparison-actions__primary {
  background: #075c8d !important;
  background-image: none !important;
}
.table-cta:not(.muted-cta):not(.card-apply-cta),
.table-cta.card-market-item__action--official,
.button.primary:not(.disabled-cta),
.payment-carte-card a,
.large-gradient-cta:not([href$="#diagnosis"]) {
  color: #fff !important;
  background: #075c8d !important;
  background-image: none !important;
  background-size: auto !important;
  animation: none !important;
}
.large-gradient-cta::before,
.large-gradient-cta::after,
.card-market-item__official::before,
.card-market-item__official::after,
.context-card__official::before,
.context-card__official::after,
.industry-top3-card__official::before,
.industry-top3-card__official::after,
.survey-card__official::before,
.survey-card__official::after,
.table-cta:not(.muted-cta):not(.card-apply-cta)::before,
.table-cta:not(.muted-cta):not(.card-apply-cta)::after,
.table-cta.card-market-item__action--official::before,
.table-cta.card-market-item__action--official::after,
.button.primary:not(.disabled-cta)::before,
.button.primary:not(.disabled-cta)::after,
.payment-carte-card a::before,
.payment-carte-card a::after {
  display: none !important;
}

/* Desktop footer stays expanded; mobile turns the long lists into three accordions. */
.bizcre-footer-nav {
  display: block;
}
.bizcre-footer-nav > summary {
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  list-style: none;
  cursor: default;
}
.bizcre-footer-nav > summary::-webkit-details-marker {
  display: none;
}
.bizcre-footer-nav__links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 980px) {
  body.has-recommendation-rail .company-fit-sticky {
    right: 10px;
    left: 10px;
  }
}

@media (max-width: 639px) {
  .phase2-primary-actions .grade-directory-cta {
    min-height: 60px;
    padding-inline: 16px;
    font-size: 16px;
  }
  .industry-top3-card__checked,
  .survey-card__checked {
    grid-column: 1 / -1 !important;
    margin-top: 8px;
    font-size: 10.5px;
  }
  .industry-top3-card__reason {
    grid-column: 1 / -1 !important;
  }
  .bizcre-related-inline .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer .footer-grid {
    gap: 10px;
  }
  .bizcre-footer-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
  .bizcre-footer-nav > summary {
    position: relative;
    min-height: 48px;
    padding: 13px 34px 13px 0;
    cursor: pointer;
  }
  .bizcre-footer-nav > summary::after {
    content: "＋";
    position: absolute;
    right: 4px;
  }
  .bizcre-footer-nav[open] > summary::after {
    content: "−";
  }
  .bizcre-footer-nav__links {
    padding: 0 0 14px;
    margin-top: 0;
  }
}

/* Executive feature entry: a consistent black-and-gold primary route. */
.home-executive-card-cta,
.phase2-executive-cross-link__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .72em;
  min-height: 54px;
  padding: 14px 26px;
  border: 1px solid #d9bb75;
  border-radius: 999px;
  background: linear-gradient(116deg, #0a0c0e 0%, #23201b 48%, #0a0c0e 100%);
  color: #f9e6b0;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .035em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(209, 167, 77, .55), 0 12px 24px rgba(10, 12, 14, .2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-executive-card-cta {
  width: min(100%, 520px);
  margin: 14px auto 0;
}

.phase2-executive-cross-link__cta {
  margin-top: 18px;
}

.executive-gp-pulse-link {
  animation: executive-gp-entry-pulse 2.8s ease-out infinite;
}

.home-executive-card-cta:hover,
.home-executive-card-cta:focus-visible,
.phase2-executive-cross-link__cta:hover,
.phase2-executive-cross-link__cta:focus-visible {
  border-color: #ffe3a2;
  color: #fff4d5;
  box-shadow: 0 0 0 8px rgba(209, 167, 77, .14), 0 16px 30px rgba(10, 12, 14, .28);
  transform: translateY(-2px);
}

@keyframes executive-gp-entry-pulse {
  0%, 62% { box-shadow: 0 0 0 0 rgba(209, 167, 77, 0), 0 12px 24px rgba(10, 12, 14, .2); }
  76% { box-shadow: 0 0 0 10px rgba(209, 167, 77, .22), 0 14px 28px rgba(10, 12, 14, .24); }
  100% { box-shadow: 0 0 0 0 rgba(209, 167, 77, 0), 0 12px 24px rgba(10, 12, 14, .2); }
}

@media (max-width: 639px) {
  .home-executive-card-cta,
  .phase2-executive-cross-link__cta {
    width: 100%;
    min-height: 56px;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .executive-gp-pulse-link { animation: none; }
  .home-executive-card-cta,
  .phase2-executive-cross-link__cta { transition: none; }
}

/* Keep the three collection CTAs recognisable at a glance, even after shared CTA rules. */
.feature-grade-page.feature-grade-page .grade-directory-cta--standard {
  border-color: #075c8d !important;
  background: linear-gradient(135deg, #0b79b5, #075c8d) !important;
  box-shadow: 0 12px 28px rgba(7, 92, 141, 0.26) !important;
}

.feature-grade-page.feature-grade-page .grade-directory-cta--gold {
  border-color: #8d5b04 !important;
  background: linear-gradient(135deg, #d7ae4e, #966006) !important;
  box-shadow: 0 12px 28px rgba(130, 82, 3, 0.3) !important;
}

.feature-grade-page.feature-grade-page .grade-directory-cta--platinum {
  border-color: #3f4957 !important;
  background: linear-gradient(135deg, #718093, #3c4653) !important;
  box-shadow: 0 12px 28px rgba(38, 47, 58, 0.28) !important;
}

.feature-grade-page.feature-grade-page .grade-directory-cta:hover,
.feature-grade-page.feature-grade-page .grade-directory-cta:focus-visible {
  filter: brightness(1.08) !important;
  transform: translateY(-1px);
}

@media (max-width: 639px) {
  .feature-grade-page .phase2-primary-actions .grade-directory-cta {
    min-height: 60px;
    padding-inline: 16px;
    font-size: 16px;
  }
}

/* Approved editorial TOP3 for industry pages */
.industry-top3-section {
  padding: clamp(28px, 4vw, 52px) 24px;
  border-block: 1px solid #d8e9f1;
  background: linear-gradient(180deg, #f8fcfe 0%, #edf8fc 100%);
}

.industry-top3-section__inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.industry-top3-section__eyebrow {
  margin: 0 0 8px;
  color: #0780b9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.industry-top3-section h2 {
  margin: 0;
  color: #063c63;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.3;
}

.industry-top3-section__lead {
  max-width: 760px;
  margin: 10px 0 0;
  color: #385d72;
  font-size: 16px;
  line-height: 1.7;
}

.industry-top3-section__note {
  max-width: 820px;
  margin: 8px 0 0;
  color: #627b89;
  font-size: 12px;
  line-height: 1.65;
}

.industry-top3-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.industry-top3-grid > li {
  display: grid;
  min-width: 0;
}

.industry-top3-card {
  display: grid;
  grid-template-rows: auto auto auto auto auto auto 1fr auto auto auto;
  min-width: 0;
  padding: 17px;
  border: 1px solid #c6e1ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(4, 62, 99, .08);
}

.industry-top3-card__rank {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.industry-top3-card__rank span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: #075786;
  font-weight: 900;
}

.industry-top3-card__rank strong {
  color: #075786;
  font-size: 12px;
}

.industry-top3-card__rank em {
  margin-left: auto;
  padding: 5px 7px;
  border-radius: 999px;
  color: #075f87;
  background: #e7f6fb;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.industry-top3-card__role {
  min-height: 24px;
  margin: 10px 0;
  color: #9a6611;
  font-size: 12px;
  font-weight: 850;
}

.industry-top3-card__face {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 10px;
  border-radius: 14px;
  background: #f1f7fa;
}

.industry-top3-card__face img {
  display: block;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 1.586 / 1;
  object-fit: contain;
}

.industry-top3-card__issuer {
  margin: 12px 0 4px;
  color: #59778a;
  font-size: 12px;
  font-weight: 750;
}

.industry-top3-card h3 {
  margin: 0;
  color: #083e64;
  font-size: 18px;
  line-height: 1.45;
}

.industry-top3-card h3 a {
  color: inherit;
  text-decoration: none;
}

.industry-top3-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 0;
}

.industry-top3-card dl > div {
  min-width: 0;
  padding-top: 9px;
  border-top: 1px solid #dcebf1;
}

.industry-top3-card dt {
  color: #6a8492;
  font-size: 10px;
  font-weight: 800;
}

.industry-top3-card dd {
  margin: 4px 0 0;
  color: #112f45;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.industry-top3-card__reason {
  margin: 13px 0 10px;
  color: #2e5368;
  font-size: 13px;
  line-height: 1.65;
}

.industry-top3-card__reason strong {
  display: block;
  color: #0878aa;
}

.industry-top3-card__checked {
  margin: 0 0 10px;
  color: #607c8b;
  font-size: 11px;
}

.industry-top3-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.industry-top3-card__actions a,
.industry-top3-card__actions button,
.industry-top3-card__official {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid #0787c1;
  border-radius: 10px;
  color: #0678ad;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.industry-top3-card__official {
  min-height: 52px;
  margin-top: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0787c1, #09a8d5);
}

.industry-top3-section__footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.industry-top3-section__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 22px;
  border: 1px solid #0787c1;
  border-radius: 12px;
  color: #0576a9;
  background: #fff;
  font-weight: 850;
  text-decoration: none;
}

.industry-top3-section__footer .industry-top3-section__calculator {
  color: #fff;
  background: #075786;
}

.industry-grade-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  justify-content: center;
  gap: 14px;
  margin: 22px auto 0;
}

.industry-grade-banners a {
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(7, 59, 97, .12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.industry-grade-banners a:hover,
.industry-grade-banners a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(7, 59, 97, .18);
}

.industry-grade-banners img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: inherit;
}

@media (max-width: 767px) {
  .industry-top3-section {
    padding: 24px 16px 30px;
  }

  .industry-top3-section__lead {
    font-size: 14px;
  }

  .industry-top3-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .industry-top3-card {
    grid-template-columns: minmax(112px, .82fr) minmax(0, 1.18fr);
    grid-template-rows: auto auto auto auto auto auto auto;
    column-gap: 13px;
    padding: 14px;
  }

  .industry-top3-card__rank,
  .industry-top3-card__role,
  .industry-top3-card__actions,
  .industry-top3-card__official {
    grid-column: 1 / -1;
  }

  .industry-top3-card__role {
    min-height: 0;
    margin: 7px 0 10px;
  }

  .industry-top3-card__face {
    grid-column: 1;
    grid-row: 3 / span 4;
    align-self: start;
    min-height: 108px;
    padding: 6px;
  }

  .industry-top3-card__issuer,
  .industry-top3-card h3,
  .industry-top3-card dl,
  .industry-top3-card__reason,
  .industry-top3-card__checked {
    grid-column: 2;
  }

  .industry-top3-card__issuer {
    grid-row: 3;
    margin-top: 0;
  }

  .industry-top3-card h3 {
    grid-row: 4;
    font-size: 15px;
  }

  .industry-top3-card dl {
    grid-row: 5;
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .industry-top3-card__reason {
    grid-row: 6;
    margin: 8px 0 5px;
    font-size: 12px;
  }

  .industry-top3-card__checked {
    grid-row: 7;
    margin: 0;
  }

  .industry-top3-card__actions {
    grid-row: 8;
    margin-top: 10px;
  }

  .industry-top3-card__official {
    grid-row: 9;
  }

  .industry-top3-section__footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .industry-grade-banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Company-fit navigation: SSR links enhanced into one desktop rail / mobile bar. */
.company-fit-root {
  position: relative;
  z-index: 1180;
}

.card-rank-root {
  position: relative;
  z-index: 1175;
}

.company-fit-sticky {
  position: fixed;
  top: clamp(190px, 31vh, 330px);
  right: max(16px, calc((100vw - 1380px) / 2));
  width: 272px;
  padding: 18px;
  border: 1px solid #b9dce9;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: #073b57;
  box-shadow: 0 18px 48px rgba(7, 59, 87, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.company-fit-sticky.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.company-fit-sticky.is-near-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.card-rank-sticky {
  position: fixed;
  top: clamp(430px, 62vh, 610px);
  right: max(16px, calc((100vw - 1380px) / 2));
  width: 272px;
  padding: 14px 16px 16px;
  border: 1px solid #c7dce8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: #073b57;
  box-shadow: 0 18px 48px rgba(7, 59, 87, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.card-rank-sticky.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.card-rank-sticky.is-near-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.card-rank-sticky__close {
  position: absolute;
  top: 5px;
  right: 6px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: transparent;
  color: #356073;
  font: inherit;
  font-size: 21px;
  cursor: pointer;
}

.card-rank-sticky__eyebrow {
  margin: 0 30px 10px 0;
  color: #073b57;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.card-rank-sticky__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.card-rank-sticky__link {
  display: grid;
  min-height: 56px;
  padding: 7px 5px;
  border: 1px solid transparent;
  border-radius: 10px;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.card-rank-sticky__link > span {
  display: block;
  white-space: nowrap;
}

.card-rank-sticky__link--standard {
  border-color: #075c8d;
  background: #075c8d;
}

.card-rank-sticky__link--gold {
  border-color: #9d6a0b;
  background: linear-gradient(135deg, #c7972f, #8e5c04);
}

.card-rank-sticky__link--platinum {
  border-color: #485466;
  background: linear-gradient(135deg, #667386, #353e4b);
}

.card-rank-sticky__link:hover,
.card-rank-sticky__link:focus-visible {
  filter: brightness(1.1);
}

.company-fit-sticky__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: transparent;
  color: #356073;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.company-fit-sticky__eyebrow {
  margin: 0 32px 6px 0;
  color: #087eae;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.company-fit-sticky > strong {
  display: block;
  margin: 0 28px 14px 0;
  font-size: 18px;
  line-height: 1.5;
}

.company-fit-sticky__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.company-fit-sticky__actions a {
  display: grid;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid #0a91c8;
  border-radius: 10px;
  place-items: center;
  background: #fff;
  color: #075779;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.company-fit-sticky__actions a:first-child {
  border-color: #087eae;
  background: #087eae;
  color: #fff;
}

.company-fit-sticky button:focus-visible,
.company-fit-sticky a:focus-visible,
.company-fit-sheet button:focus-visible,
.company-fit-sheet a:focus-visible,
.card-rank-sticky button:focus-visible,
.card-rank-sticky a:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 3px;
}

.company-fit-sheet[hidden] {
  display: none !important;
}

.company-fit-sheet {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: end center;
}

.company-fit-sheet__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(2, 26, 39, 0.55);
  cursor: default;
}

.company-fit-sheet__dialog {
  position: relative;
  width: min(720px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 48px));
  margin: 0 0 24px;
  padding: 22px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #b9dce9;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(2, 26, 39, 0.32);
}

.company-fit-sheet__dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.company-fit-sheet__dialog > header span {
  color: #087eae;
  font-size: 12px;
  font-weight: 800;
}

.company-fit-sheet__dialog h2 {
  margin: 4px 0 0;
  color: #073b57;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.3;
}

.company-fit-sheet__dialog > header button {
  flex: 0 0 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #badce8;
  border-radius: 50%;
  background: #fff;
  color: #073b57;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}

.company-fit-sheet__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px;
  border-radius: 12px;
  background: #eaf5f9;
}

.company-fit-sheet__tabs button {
  min-height: 46px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #075779;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.company-fit-sheet__tabs button[aria-selected="true"] {
  background: #087eae;
  color: #fff;
  box-shadow: 0 3px 10px rgba(7, 89, 122, 0.18);
}

.company-fit-sheet__panel nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.company-fit-sheet__panel a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid #c7e0e9;
  border-radius: 11px;
  background: #fff;
  color: #073b57;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.company-fit-sheet__panel a:hover {
  border-color: #0a91c8;
  background: #effaff;
}

.company-fit-sheet__diagnosis {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 14px;
  color: #075779;
  font-weight: 700;
}

body.company-fit-sheet-open {
  overflow: hidden;
}

body.mobile-menu-open .company-fit-sticky,
body.has-compare-tray .company-fit-sticky,
body.bizcre-app-modal-open .company-fit-sticky,
body.company-fit-sheet-open .company-fit-sticky,
body.mobile-menu-open .card-rank-sticky,
body.has-compare-tray .card-rank-sticky,
body.bizcre-app-modal-open .card-rank-sticky,
body.company-fit-sheet-open .card-rank-sticky {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.has-recommendation-rail .company-fit-sticky {
  top: auto;
  right: 24px;
  bottom: 92px;
  width: 224px;
}

body.has-recommendation-rail .card-rank-sticky {
  top: auto;
  right: auto;
  /* Keep the grade navigator above the independent company-fit panel. */
  bottom: 270px;
  left: 24px;
  width: 224px;
}

body.has-recommendation-rail .company-fit-sticky__desktop-break {
  display: none;
}

@media (min-width: 981px) and (max-width: 1199px) {
  .company-fit-sticky {
    top: auto;
    right: 18px;
    bottom: 88px;
    width: 222px;
    padding: 14px;
  }

  .company-fit-sticky__desktop-break {
    display: none;
  }

  .card-rank-sticky {
    top: auto;
    right: 18px;
    /* The company-fit panel can be taller than its compact desktop copy. */
    bottom: 270px;
    width: 222px;
    padding: 12px;
  }
}

@media (max-width: 980px) {
  .company-fit-sticky {
    top: auto;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    width: auto;
    min-height: 72px;
    padding: 10px 46px 10px 12px;
    border-radius: 15px;
    transform: translateY(10px);
  }

  .company-fit-sticky.is-visible {
    transform: none;
  }

  .company-fit-sticky__eyebrow,
  .company-fit-sticky__desktop-break {
    display: none;
  }

  .company-fit-sticky > strong {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.25;
  }

  .company-fit-sticky__close {
    top: 6px;
    right: 6px;
    width: 38px;
    height: 38px;
  }

  .company-fit-sticky__actions {
    gap: 7px;
  }

  .company-fit-sticky__actions a {
    min-height: 44px;
    padding: 7px 10px;
    font-size: 14px;
  }

  .card-rank-sticky {
    top: auto;
    right: 10px;
    /* Reserve space for the independently dismissible company-fit panel. */
    bottom: calc(190px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    width: auto;
    padding: 8px 42px 8px 10px;
    border-radius: 15px;
    transform: translateY(10px);
  }

  .card-rank-sticky.is-visible {
    transform: none;
  }

  .card-rank-sticky__eyebrow {
    position: absolute;
    top: 50%;
    left: 12px;
    margin: 0;
    transform: translateY(-50%);
    font-size: 12px;
  }

  .card-rank-sticky__close {
    top: 50%;
    right: 4px;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
  }

  .card-rank-sticky__links {
    margin-left: 72px;
  }

  .card-rank-sticky__link {
    min-height: 44px;
    padding: 6px 4px;
    font-size: 12px;
  }

  .company-fit-sheet {
    align-items: end;
  }

  .company-fit-sheet__dialog {
    width: 100%;
    max-height: min(82dvh, 760px);
    margin: 0;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
  }

  .company-fit-sheet__panel nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-fit-sticky,
  .card-rank-sticky {
    transition: none;
  }
}

/* ANA JCB法人カードはPCで横比較、狭い画面では券種ごとの縦比較に切り替える。 */
.ana-series-comparison__mobile {
  display: none;
}

.ana-series-comparison-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line, #cfe0ea);
  border-radius: 18px;
  background: #fff;
}

.ana-series-comparison-card > img {
  display: block;
  width: min(100%, 320px);
  aspect-ratio: 1.586 / 1;
  margin: 0 auto 14px;
  object-fit: contain;
}

.ana-series-comparison-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.ana-series-comparison-card dl > div {
  display: grid;
  grid-template-columns: minmax(104px, 38%) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line, #d8e5ec);
}

.ana-series-comparison-card dt {
  font-weight: 700;
  color: var(--ink-soft, #3f5f70);
}

.ana-series-comparison-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.ana-corporate-face-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.ana-corporate-face-card,
.card-network-variant-grid .card-face-figure {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line, #d8e2de);
  border-radius: 16px;
  background: #fff;
}

.ana-corporate-face-card img,
.card-network-variant-grid .card-face-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  object-fit: contain;
}

.ana-corporate-face-card figcaption,
.card-network-variant-grid .card-face-figure figcaption {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.ana-corporate-face-card figcaption span {
  color: var(--muted, #5d6b66);
}

.card-network-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 16px;
}

.ana-corporate-all-table {
  min-width: 1680px;
}

.upsider-control-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.upsider-control-flow li {
  position: relative;
  min-width: 0;
  padding: 16px 12px;
  border: 1px solid var(--line, #cfe0ea);
  border-radius: 14px;
  background: #eef8fb;
  font-weight: 700;
  text-align: center;
}

.upsider-control-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--accent, #0787bc);
}

@media (max-width: 639px) {
  .article-hero:has(+ .notice-pr + .industry-chooser-section) {
    padding-block: 22px;
  }

  .article-hero:has(+ .notice-pr + .industry-chooser-section) h1 {
    margin-block: 10px 14px;
    font-size: clamp(29px, 8vw, 32px);
    line-height: 1.34;
  }

  .article-hero:has(+ .notice-pr + .industry-chooser-section)
    .page-shell__inner
    > p:last-child {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .ana-series-comparison__desktop {
    display: none;
  }

  .ana-series-comparison__mobile {
    display: grid;
    gap: 16px;
  }

  .ana-corporate-face-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ana-corporate-face-card {
    padding: 10px;
  }

  .card-network-variant-grid {
    grid-template-columns: 1fr;
  }

  .upsider-control-flow {
    grid-template-columns: 1fr;
  }

  .upsider-control-flow li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -15px;
    transform: translateX(50%) rotate(90deg);
  }
}

/* Phase 2 product-discovery pages: quick comparison and reviewed feature pilots. */
.phase2-product-page {
  max-width: 1240px;
}

.phase2-product-page > h1 {
  max-width: 18em;
  margin-bottom: 16px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.feature-grade-identity {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin: -4px 0 18px;
  padding: 8px 14px 8px 9px;
  border: 1px solid var(--feature-grade-line, #b9dce9);
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  background: var(--feature-grade-surface, #edf8fd);
  color: var(--feature-grade-ink, #075c8d);
  box-shadow: 0 10px 24px rgb(7 74 106 / 8%);
}

.feature-grade-identity span {
  display: inline-grid;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  place-items: center;
  background: var(--feature-grade-accent, #0b7eae);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
}

.feature-grade-identity strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
}

.feature-grade-page--standard {
  --feature-grade-accent: #0879b7;
  --feature-grade-ink: #084b73;
  --feature-grade-surface: linear-gradient(90deg, #edf9ff, #e8f4fb);
  --feature-grade-line: #a8d5ea;
  --feature-grade-glow: rgb(8 121 183 / 16%);
}

.feature-grade-page--gold {
  --feature-grade-accent: #a56d0b;
  --feature-grade-ink: #704800;
  --feature-grade-surface: linear-gradient(90deg, #fff9ee, #fff0ce);
  --feature-grade-line: #e4bd70;
  --feature-grade-glow: rgb(165 109 11 / 16%);
}

.feature-grade-page--platinum {
  --feature-grade-accent: #46505e;
  --feature-grade-ink: #252f3a;
  --feature-grade-surface: linear-gradient(90deg, #f6f8fa, #e6ebf0);
  --feature-grade-line: #b7c1cc;
  --feature-grade-glow: rgb(70 80 94 / 14%);
}

.feature-grade-page > h1 {
  color: var(--feature-grade-ink, #063f62);
}

.feature-grade-page > .eyebrow,
.feature-grade-page .cards-section-heading > .eyebrow {
  color: var(--feature-grade-accent, #0879b7);
}

.feature-grade-page .phase2-survey-insight {
  background:
    radial-gradient(circle at 100% 0, var(--feature-grade-glow, rgb(11 126 174 / 16%)), transparent 34%),
    var(--feature-grade-surface, #f4fafd);
}

.feature-grade-page .phase2-survey-insight__grid span,
.feature-grade-page .phase2-checklist li::before {
  background: var(--feature-grade-accent, #0879b7);
}

.feature-grade-page .table-cta:not(.muted-cta) {
  border-color: var(--feature-grade-accent, #0879b7);
  background: var(--feature-grade-accent, #0879b7);
}

.feature-grade-page .table-cta:not(.muted-cta):hover,
.feature-grade-page .table-cta:not(.muted-cta):focus-visible {
  filter: brightness(.92);
}

.feature-grade-page .table-cta.muted-cta {
  border-color: var(--feature-grade-line, #a8d5ea);
  color: var(--feature-grade-ink, #084b73);
}

.phase2-lead {
  max-width: 850px;
  margin: 0 0 24px;
  color: #31566a;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.9;
}

.phase2-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 36px;
}

.phase2-primary-actions .table-cta {
  min-width: min(100%, 280px);
}

.phase2-primary-actions .grade-directory-cta {
  display: inline-flex;
  min-height: 64px;
  min-width: min(100%, 360px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px 13px 20px;
  border-width: 2px;
  box-shadow: 0 12px 26px rgba(7, 59, 87, 0.18);
  font-size: 17px;
  font-weight: 900;
}

.phase2-primary-actions .grade-directory-cta > span {
  display: inline-grid;
  min-width: 48px;
  min-height: 34px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.phase2-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 40px;
}

.phase2-summary-chip {
  display: flex;
  min-height: 88px;
  padding: 18px;
  border: 1px solid #c8dce7;
  border-radius: 18px;
  background: #fff;
  color: #0a5178;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(17, 77, 105, 0.06);
}

.phase2-summary-chip strong {
  font-size: 18px;
}

.phase2-summary-chip span {
  margin-top: 4px;
  color: #1684bd;
  font-weight: 800;
}

.phase2-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.phase2-reason-card {
  display: flex;
  min-height: 0;
  padding: 18px 20px;
  border: 1px solid #cfe1e9;
  border-radius: 18px;
  background: #f8fcfe;
  flex-direction: column;
}

.phase2-reason-card h3 {
  margin: 0 0 8px;
  color: #0a4e73;
  font-size: 18px;
  line-height: 1.45;
}

.phase2-reason-card p {
  margin: 0 0 14px;
  color: #34596b;
  line-height: 1.75;
}

.phase2-reason-card a {
  margin-top: auto;
  color: #087caf;
  font-weight: 900;
}

.phase2-reason-card__title {
  color: #0a4e73;
  text-decoration: none;
}

.phase2-reason-card__title:hover {
  text-decoration: underline;
}

.phase2-selection-reasons .phase2-reason-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.phase2-checklist {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0;
  padding: 0;
  counter-reset: phase2-check;
  list-style: none;
}

.phase2-checklist li {
  display: grid;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid #d3e3ea;
  border-radius: 14px;
  background: #fff;
  color: #173f52;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  line-height: 1.65;
  counter-increment: phase2-check;
}

.phase2-checklist li::before {
  content: counter(phase2-check);
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #138dc3;
  color: #fff;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.phase2-survey-insight {
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(51, 174, 220, .13), transparent 34%),
    #f4fafd;
}

.phase2-survey-insight__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.phase2-survey-insight__grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid #c9e0ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 74, 106, .07);
}

.phase2-survey-insight__grid span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 999px;
  place-items: center;
  color: #fff;
  background: #075c8d;
  font-size: 12px;
  font-weight: 900;
}

.phase2-survey-insight__grid strong {
  display: block;
  color: #073f61;
  font-size: clamp(18px, 2vw, 24px);
}

.phase2-survey-insight__grid p,
.phase2-survey-insight__note {
  color: #4f7081;
  line-height: 1.7;
}

.phase2-survey-insight__grid p {
  margin: 6px 0 0;
}

.phase2-survey-insight__note {
  max-width: 900px;
  margin: 18px 0 10px;
}

.phase2-survey-insight__link {
  color: #075c8d;
  font-weight: 900;
}

@media (max-width: 639px) {
  .phase2-product-page {
    padding-inline: 0;
  }

  .phase2-product-page > h1 {
    max-width: none;
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.22;
  }

  .feature-grade-identity {
    width: 100%;
    padding: 9px 12px;
    border-radius: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .feature-grade-identity strong {
    font-size: 13px;
  }

  .phase2-lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .phase2-primary-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .phase2-primary-actions .table-cta {
    width: 100%;
    min-width: 0;
  }

  .phase2-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phase2-summary-chip {
    min-height: 76px;
    padding: 14px;
  }

  .phase2-reason-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .phase2-reason-card {
    min-height: 0;
  }

  .phase2-survey-insight__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
a,
span,
th,
td,
button {
  overflow-wrap: anywhere;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 248, .92);
  border-bottom: 1px solid rgba(13, 79, 66, .12);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header .logo-brand {
  display: inline-grid;
  grid-template-columns: auto;
  gap: 2px;
  align-items: center;
  justify-items: start;
  line-height: 1;
}

.brand-tagline {
  display: block;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--deep);
  border-radius: 6px;
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.4vw, 20px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding-block: 8px;
}

.main-nav a.is-active,
.main-nav a[aria-current="page"] {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.hero-calculator-link {
  margin: 10px 0 0;
  color: #045655;
  font-size: 14px;
  font-weight: 800;
}

.hero-calculator-link a {
  color: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.cards-calculator-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 24px;
  padding: 14px 18px;
  border: 1px solid #b8dce7;
  border-radius: 14px;
  background: #f4fbfd;
  color: #244d61;
}

.cards-calculator-link p {
  margin: 0;
}

.cards-calculator-link a {
  flex: 0 0 auto;
  min-height: 44px;
}

@media (max-width: 639px) {
  .hero-calculator-link {
    max-width: 330px;
    margin-inline: auto;
    text-align: center;
  }

  .cards-calculator-link {
    align-items: stretch;
    flex-direction: column;
  }

  .cards-calculator-link a {
    width: 100%;
    justify-content: center;
  }
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 56, 47, .92) 0%, rgba(8, 56, 47, .76) 42%, rgba(8, 56, 47, .12) 78%),
    linear-gradient(180deg, rgba(8, 56, 47, .12), rgba(8, 56, 47, .34));
  z-index: -1;
}

.hero-content {
  padding-block: 76px 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span,
.intro-grid h2 span {
  display: block;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.2;
}

.button.primary {
  color: var(--deep-2);
  background: var(--accent-2);
  box-shadow: 0 14px 34px rgba(214, 160, 40, .28);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08);
}

.button.light {
  color: var(--deep-2);
  background: var(--white);
}

.notice {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: -36px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.notice strong {
  min-width: 46px;
  color: var(--white);
  background: var(--deep);
  border-radius: 4px;
  text-align: center;
  line-height: 28px;
}

.section {
  padding-block: 88px;
}

.section-tight {
  padding-block: 72px;
}

.intro-grid,
.axis-layout,
.policy-layout,
.diagnosis-grid,
.cta-inner,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.intro-copy p + p,
.policy-box p + p {
  margin-top: 16px;
}

.small-note,
.scroll-hint,
.slot-meta {
  color: var(--muted);
  font-size: 13px;
}

.title-block {
  max-width: 820px;
  margin-bottom: 34px;
}

.title-block p:last-child {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
}

.comparison-section {
  background: var(--soft);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
  width: 25%;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}

.comparison-table thead th {
  background: var(--deep);
  color: var(--white);
  text-align: center;
}

.comparison-table tbody th {
  color: var(--deep);
  background: #f6fbf8;
  text-align: left;
  font-weight: 900;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.sticky {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 210px;
}

thead .sticky {
  z-index: 3;
}

.table-card-head {
  display: grid;
  gap: 8px;
}

.table-card-head span {
  width: fit-content;
  margin-inline: auto;
  padding: 4px 10px;
  color: var(--deep-2);
  background: var(--accent-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.table-card-head strong {
  font-size: 20px;
}

.scroll-hint {
  margin-top: 12px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
}

.usecase-card,
.slot-card,
.policy-box,
.diagnosis-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11, 54, 45, .08);
}

.usecase-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.usecase-card span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--deep);
  border-radius: 6px;
  font-weight: 900;
}

.usecase-card h3 {
  font-size: 20px;
}

.usecase-card p,
.axis-layout p,
.policy-layout p,
.diagnosis-grid p {
  color: var(--muted);
  font-weight: 600;
}

.axis-section {
  background: #f7f3e8;
}

.axis-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.axis-list span {
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid #e8d8a8;
  border-radius: 6px;
  font-weight: 800;
}

.diagnosis-section {
  background: var(--deep-2);
  color: var(--white);
}

.diagnosis-section .section-kicker,
.cta-band .section-kicker {
  color: var(--accent-2);
}

.diagnosis-grid p {
  color: rgba(255, 255, 255, .78);
}

.diagnosis-panel {
  padding: 20px;
  color: var(--ink);
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.choice {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.choice.is-active {
  color: var(--white);
  background: var(--deep);
  border-color: var(--deep);
}

.diagnosis-result {
  min-height: 156px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 8px;
  background: #f6fbf8;
}

.diagnosis-result h3 {
  margin-bottom: 8px;
}

.diagnosis-result p {
  color: var(--muted);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.slot-card {
  padding: 24px;
}

.slot-card-top {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.slot-card-top span {
  width: fit-content;
  padding: 5px 10px;
  color: var(--deep-2);
  background: var(--accent-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.slot-card ul,
.policy-box ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.slot-card li,
.policy-box li {
  margin-top: 8px;
}

.slot-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.policy-section {
  background: var(--soft);
}

.policy-box {
  padding: 26px;
}

.policy-box h3 {
  font-size: 22px;
}

.cta-band {
  padding-block: 52px;
  color: var(--white);
  background: var(--deep);
}

.cta-inner {
  align-items: center;
}

.site-footer {
  padding-block: 44px;
  color: rgba(255, 255, 255, .82);
  background: #061f1a;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-grid a:not(.brand) {
  display: block;
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-hero {
  padding-block: 92px 64px;
  color: var(--white);
  background: var(--deep-2);
}

.breadcrumb {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: 700;
}

.article-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
  letter-spacing: 0;
}

.article-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  font-weight: 700;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.article-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.article-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11, 54, 45, .07);
}

.article-card h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3.4vw, 34px);
}

.article-card h3 {
  margin-top: 20px;
  font-size: 20px;
}

.article-card ul,
.article-card ol {
  margin: 14px 0 0;
  padding-left: 1.2em;
}

.article-card li {
  margin-top: 8px;
}

.article-card details {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.article-card details:first-of-type {
  border-top: 0;
}

.article-card summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 900;
}

.article-card details p {
  margin-top: 8px;
  color: var(--muted);
}

.article-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.side-box {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-box h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.side-box a {
  display: block;
  margin-top: 8px;
  color: var(--deep);
  font-weight: 800;
}

.column-page .article-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(244, 206, 74, .22), transparent 24%),
    linear-gradient(135deg, #08382f 0%, #0d4f42 62%, #008482 100%);
}

.column-page .article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

.column-page .article-hero .wrap {
  position: relative;
  z-index: 1;
}

.column-page .article-meta span {
  background: rgba(255, 255, 255, .08);
}

.column-quick {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: -8px;
  margin-bottom: 38px;
}

.conclusion-card,
.overview-card,
.toc-card,
.inline-article-cta {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11, 54, 45, .08);
}

.conclusion-card {
  padding: 28px;
  border-top: 8px solid var(--accent);
}

.conclusion-card span,
.overview-head span,
.inline-article-cta span,
.related-grid span,
.exit-card span {
  color: #e9730c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.conclusion-card h2,
.overview-card h2,
.toc-card h2 {
  margin-top: 8px;
  font-size: clamp(23px, 3.2vw, 34px);
}

.conclusion-card p,
.overview-card p,
.toc-card a,
.inline-article-cta strong {
  color: var(--muted);
  font-weight: 800;
}

.overview-card {
  padding: 0;
  overflow: hidden;
}

.overview-head {
  padding: 24px 26px 18px;
  color: var(--white);
  background: var(--deep);
}

.overview-head span,
.overview-head p {
  color: rgba(255, 255, 255, .82);
}

.overview-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}

.overview-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 62px;
  border-top: 1px solid var(--line);
}

.overview-list dt,
.overview-list dd {
  margin: 0;
  padding: 14px;
  font-size: 14px;
}

.overview-list dt {
  color: var(--white);
  background: #008482;
  font-weight: 900;
}

.overview-list dd {
  color: var(--deep);
  font-weight: 800;
}

.article-cta-pair {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #e7f8f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.secondary-on-light {
  color: var(--deep);
  background: var(--white);
  border-color: var(--line);
}

.article-cta-pair span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.disabled-cta {
  color: var(--muted);
  background: #edf3f0;
  border-color: var(--line);
  cursor: not-allowed;
}

.article-cta-pair .disabled-cta {
  color: var(--muted);
  font-size: 14px;
}

.standard-column-section {
  display: grid;
  gap: 28px;
}

/* Final hero image and card-slot comparison refinements */
.hero {
  min-height: 580px;
  max-height: 620px;
  background: #eefbf6;
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 255, 251, .94) 0%, rgba(247, 255, 251, .88) 34%, rgba(247, 255, 251, .18) 68%, rgba(247, 255, 251, .02) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-stage {
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(340px, 540px) 1fr;
  justify-content: start;
  align-items: center;
  padding-block: 46px 72px;
}

.hero-title-panel {
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 0;
  text-align: left;
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.18;
  text-align: left;
}

.hero-pill {
  min-width: 0;
  padding: 8px 18px;
  font-size: 15px;
}

.hero-ribbon {
  margin-top: 2px;
  padding: 10px 18px;
  font-size: 17px;
}

.hero-lead {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}

.hero-link-row {
  justify-content: flex-start;
}

.hero-link-row a {
  min-width: 210px;
  background: rgba(255, 255, 255, .92);
}

.comparison-table {
  width: 1120px;
  min-width: 1120px;
}

.comparison-table th,
.comparison-table td {
  text-align: center;
  font-size: 14px;
}

.comparison-table td {
  min-width: 280px;
  color: #113d35;
}

.comparison-table .sticky,
.comparison-table thead .sticky,
.comparison-table tbody th {
  width: 118px;
  min-width: 118px;
}

.table-card-head {
  min-height: 230px;
  align-content: start;
}

.table-card-head .table-cta {
  width: min(210px, 100%);
  margin-top: 8px;
}

.muted-cta {
  color: var(--primary-dark);
  background: #fff;
  border: 2px solid var(--primary);
  box-shadow: none;
}

.muted-cta::before {
  content: none;
}

@media (max-width: 980px) {
  .hero {
    min-height: 660px;
    max-height: none;
  }

  .hero-visual {
    object-position: 58% center;
    opacity: .9;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(247, 255, 251, .95) 0%, rgba(247, 255, 251, .86) 46%, rgba(247, 255, 251, .22) 100%);
  }

  .hero-stage {
    min-height: 660px;
    grid-template-columns: 1fr;
    align-items: start;
    padding: 34px 12px 0;
  }

  .hero-title-panel {
    align-items: center;
    text-align: center;
  }

  .hero h1,
  .hero-lead {
    text-align: center;
  }

  .hero h1 {
    max-width: 350px;
    font-size: 31px;
  }

  .hero-link-row {
    justify-content: center;
  }

  .comparison-table {
    width: 980px;
    min-width: 980px;
  }

  .table-card-head {
    min-height: 210px;
  }
}

@media (max-width: 620px) {
  h1,
  h2,
  h3,
  p,
  a,
  span,
  th,
  td,
  button {
    word-break: normal;
    line-break: strict;
    overflow-wrap: anywhere;
  }

  .hero h1,
  .hero-pill,
  .hero-ribbon,
  .hero-link-row a,
  .comparison-table th,
  .comparison-table td {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-lead {
    max-width: 330px;
    font-size: 14px;
  }

  .hero-link-row a {
    width: 156px;
    min-width: 156px;
  }

  .comparison-table th,
  .comparison-table td {
    font-size: 13px;
  }
}

.toc-card {
  grid-column: 1 / -1;
  padding: 24px 28px;
}

.toc-card ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 14px 0 0;
  padding-left: 1.4em;
}

.toc-card li {
  padding-left: 4px;
  color: var(--deep);
  font-weight: 900;
}

.inline-article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-left: 8px solid var(--accent);
}

.inline-article-cta strong {
  display: block;
  margin-top: 4px;
  color: var(--deep);
  font-size: 18px;
}

.editor-memo {
  background: #fff9e6;
  border-color: #ead487;
}

.editor-memo .section-kicker {
  color: #e9730c;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-grid a {
  min-height: 118px;
  padding: 16px;
  background: #f6fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--deep);
  line-height: 1.45;
}

.article-policy-note .button {
  margin-top: 18px;
}

.article-popup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(320px, calc(100vw - 28px));
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(11, 54, 45, .22);
  transform: translateY(140%);
  transition: transform .24s ease;
}

.article-popup.is-visible {
  transform: translateY(0);
}

.article-popup span {
  color: #e9730c;
  font-size: 12px;
  font-weight: 900;
}

.article-popup strong {
  display: block;
  margin: 6px 0 12px;
  color: var(--deep);
  line-height: 1.45;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: #f1f5f3;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 31, 26, .48);
}

.exit-card {
  position: relative;
  width: min(560px, 100%);
  padding: 34px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.exit-card h2 {
  margin: 8px 0 12px;
  font-size: clamp(25px, 4vw, 38px);
}

.exit-card p {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-side {
    position: static;
  }

  .column-quick,
  .overview-list,
  .toc-card ol,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .overview-list div {
    grid-template-columns: 96px 1fr;
  }

  .inline-article-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(8, 56, 47, .92) 0%, rgba(8, 56, 47, .68) 66%, rgba(8, 56, 47, .3) 100%);
  }

  .intro-grid,
  .axis-layout,
  .policy-layout,
  .diagnosis-grid,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  h1,
  h2,
  h3,
  p,
  a,
  span,
  th,
  td,
  button {
    line-break: anywhere;
    word-break: break-all;
  }

  /* Centered fluid shell — fixed 344px + margin-left caused PAGE_LEFT_BIASED */
  .wrap,
  .page-shell__inner,
  .article-shell__inner,
  .card-detail-shell__inner {
    width: calc(100% - 32px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
  }

  .header-inner {
    min-height: 62px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 34px;
    font-size: 12px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-media {
    object-position: 64% 50%;
  }

  .hero-content {
    padding-block: 52px 78px;
  }

  .hero h1 {
    font-size: 30px;
    max-width: none;
  }

  .hero-lead {
    font-size: 15px;
  }

  h2 {
    font-size: 23px;
    line-height: 1.36;
  }

  .hero-content,
  .hero-lead,
  .intro-grid,
  .intro-grid h2,
  .intro-copy,
  .intro-copy p,
  .title-block,
  .title-block p,
  .notice,
  .notice span,
  .axis-layout,
  .policy-layout,
  .diagnosis-grid,
  .cta-inner {
    max-width: none;
  }

  .table-shell {
    width: 100%;
    max-width: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .notice {
    margin-top: -28px;
    flex-direction: column;
  }

  .section {
    padding-block: 64px;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .choice-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px;
  }
}

/* Closer LP visual treatment */
.logo-brand img {
  width: 206px;
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

.site-header {
  position: relative;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
}

.header-inner {
  min-height: 72px;
}

.main-nav {
  color: #004544;
  font-weight: 800;
}

.hero {
  min-height: 400px;
  max-height: 430px;
  color: #004544;
  background:
    radial-gradient(circle at 18% 28%, rgba(244, 206, 74, .4) 0 10px, transparent 11px),
    radial-gradient(circle at 86% 72%, rgba(0, 132, 130, .18) 0 14px, transparent 15px),
    linear-gradient(135deg, #f6fff9 0%, #e7f8f7 52%, #d8f1ef 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 132, 130, .06) 1px, transparent 1px),
    linear-gradient(rgba(0, 132, 130, .06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 82%, transparent 100%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 78%, rgba(0, 69, 68, .08) 78%),
    radial-gradient(circle at 50% 115%, rgba(0, 69, 68, .18), transparent 48%);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  min-height: 400px;
  display: grid;
  grid-template-columns: 260px minmax(430px, 620px) 220px;
  align-items: end;
  justify-content: center;
  gap: 22px;
  margin-inline: auto;
  padding-block: 36px 20px;
}

.hero-title-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  text-align: center;
  z-index: 3;
}

.hero-pill {
  display: inline-flex;
  min-width: 240px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 34px;
  border-radius: 999px;
  color: #e7f8f7;
  background: #008482;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-pill-icon {
  width: 26px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  color: transparent;
  background: linear-gradient(135deg, #fff 0 48%, #f4ce4a 49% 100%);
}

.hero h1 {
  max-width: 720px;
  color: #004544;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: clamp(58px, 6vw, 86px);
  font-weight: 900;
  line-height: 1.02;
  text-align: center;
  text-shadow: 0 3px 0 rgba(255,255,255,.7);
}

.hero h1 span {
  display: inline;
}

.hero-title-small {
  margin-left: .12em;
  font-size: .72em;
}

.hero-ribbon {
  position: relative;
  width: fit-content;
  max-width: 100%;
  color: #fff;
  background: linear-gradient(90deg, #009e9b 0%, #045655 8%, #027a78 90%, #009e9b 100%);
  border-radius: 2px;
  padding: 12px 24px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 5px 0 rgba(0, 69, 68, .18);
}

.hero-ribbon::before,
.hero-ribbon::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 32px;
  height: 28px;
  background: #045655;
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 62%);
  z-index: -1;
}

.hero-ribbon::before {
  left: -22px;
}

.hero-ribbon::after {
  right: -22px;
  transform: scaleX(-1);
}

.hero-lead {
  max-width: 760px;
  margin: 0;
  color: #004544;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.8;
}

.hero-link-row {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.hero-link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 46px;
  padding: 8px 18px;
  color: #045655;
  background: rgba(255, 255, 255, .74);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 4px 4px rgba(0,0,0,.18);
  font-weight: 900;
}

.hero-person {
  position: relative;
  width: 240px;
  height: 320px;
  align-self: end;
}

.person-head {
  position: absolute;
  top: 24px;
  left: 78px;
  width: 86px;
  height: 92px;
  border-radius: 44% 44% 48% 48%;
  background: #f6d0b8;
  border: 4px solid #004544;
  z-index: 3;
}

.person-head::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -7px;
  width: 100px;
  height: 48px;
  border-radius: 48px 48px 20px 20px;
  background: #26352f;
}

.person-head::after {
  content: "";
  position: absolute;
  top: 45px;
  left: 22px;
  width: 42px;
  height: 12px;
  border-bottom: 3px solid #004544;
  border-radius: 50%;
}

.person-body {
  position: absolute;
  left: 42px;
  bottom: 0;
  width: 154px;
  height: 190px;
  border-radius: 44px 44px 0 0;
  background: #008482;
  border: 5px solid #004544;
  z-index: 2;
}

.person-body::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 45px;
  border-left: 32px solid transparent;
  border-right: 32px solid transparent;
  border-top: 76px solid #fff;
}

.person-arm {
  position: absolute;
  right: 18px;
  bottom: 86px;
  width: 92px;
  height: 32px;
  border-radius: 999px;
  background: #f6d0b8;
  border: 4px solid #004544;
  transform: rotate(-20deg);
  z-index: 4;
}

.person-paper {
  position: absolute;
  right: 0;
  bottom: 112px;
  width: 84px;
  height: 110px;
  border-radius: 6px;
  background:
    linear-gradient(#d7ece9 0 4px, transparent 4px 20px) 14px 24px / 56px 18px repeat-y,
    #fff;
  border: 4px solid #004544;
  transform: rotate(8deg);
  z-index: 5;
}

.hero-card-stack {
  position: relative;
  width: 220px;
  height: 210px;
  align-self: center;
}

.hero-card {
  position: absolute;
  width: 188px;
  height: 116px;
  border-radius: 16px;
  border: 5px solid #004544;
  box-shadow: 0 12px 0 rgba(0, 69, 68, .14);
}

.hero-card-main {
  top: 44px;
  left: 4px;
  z-index: 2;
  background: linear-gradient(135deg, #f4ce4a, #fff3b7);
  transform: rotate(-9deg);
}

.hero-card-main span {
  position: absolute;
  top: 22px;
  left: 18px;
  width: 42px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  border: 3px solid #004544;
}

.hero-card-main b {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: #004544;
  font-size: 13px;
}

.hero-card-sub {
  top: 78px;
  right: 2px;
  background: #fff;
  transform: rotate(8deg);
}

.hero-actions {
  display: none;
}

.notice {
  max-width: 1060px;
  margin-top: 0;
  transform: translateY(-28px);
  border-radius: 4px;
  box-shadow: 0 8px 12px rgba(0,0,0,.1);
}

.comparison-section {
  position: relative;
  background: #fff;
  padding-block: 0 80px;
}

.comparison-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 540px;
  background-image: radial-gradient(#009e9b 1.5px, transparent 2px);
  background-size: 24px 24px;
  opacity: .35;
}

.comparison-section > .wrap {
  position: relative;
  max-width: 1060px;
  padding: 48px 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #e7f8f7 0%, #ddf2f1 100%);
  box-shadow: 0 4px 4px rgba(0,0,0,.25);
}

.comparison-title-block {
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: center;
}

.section-ribbon {
  position: relative;
  display: inline-flex;
  margin-bottom: 16px;
  padding: 10px 22px;
  color: #fff;
  background: #008482;
  border-radius: 2px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 800;
}

.section-ribbon::before,
.section-ribbon::after {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 24px;
  height: 24px;
  background: #045655;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 62%);
  z-index: -1;
}

.section-ribbon::before {
  left: -16px;
}

.section-ribbon::after {
  right: -16px;
  transform: scaleX(-1);
}

.comparison-title-block h2 {
  color: #004544;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.25;
}

.comparison-title-block h2 span {
  color: #282828;
  font-size: 40px;
}

.table-shell {
  max-width: 86%;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: none;
}

.comparison-table {
  width: 1040px;
  min-width: 1040px;
  table-layout: fixed;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  width: 240px;
  padding: 16px;
  border: 1px solid #ddd;
  background: #fff;
  color: #004544;
  text-align: center;
  vertical-align: middle;
  font-weight: 800;
}

.comparison-table thead th {
  background: #fff;
  color: #004544;
}

.comparison-table .sticky,
.comparison-table thead .sticky,
.comparison-table tbody th {
  width: 80px;
  background: #008482;
  color: #fff;
  z-index: 2;
  text-align: center;
}

.table-card-head {
  gap: 8px;
  justify-items: center;
}

.comparison-card-comment {
  color: #e9730c;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.placeholder-card-visual {
  position: relative;
  width: 150px;
  height: 92px;
  margin: 2px auto 8px;
  border-radius: 12px;
  border: 4px solid #004544;
  background: linear-gradient(135deg, #f4ce4a, #fff4bd);
  box-shadow: 0 7px 0 rgba(0, 69, 68, .12);
}

.placeholder-card-visual span {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 36px;
  height: 24px;
  border-radius: 6px;
  border: 3px solid #004544;
  background: #fff;
}

.placeholder-card-visual i {
  position: absolute;
  right: 14px;
  bottom: 16px;
  width: 64px;
  height: 10px;
  border-radius: 999px;
  background: #004544;
}

.table-card-head > span {
  margin: 0;
  color: #004544;
  background: #e7f8f7;
}

.table-card-head strong {
  color: #282828;
  font-size: 18px;
  line-height: 1.5;
}

.table-cta,
.button.primary,
.shiny {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(229deg, #fe8321 23.11%, #ff9925 76.89%);
  box-shadow: 0 4px 4px rgba(183, 80, 10, .7);
}

.table-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 10px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.table-cta::before,
.button.primary::before,
.shiny::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -80px;
  width: 420px;
  height: 180%;
  background: rgba(255,255,255,.46);
  transform: rotate(45deg);
  animation: shiny-effect 2.4s ease-in-out infinite;
}

@media (max-width: 980px) {
  .logo-brand img {
    width: 154px;
    max-height: 44px;
  }

  .hero {
    min-height: 560px;
    max-height: none;
  }

  .hero-stage {
    min-height: 560px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0;
    padding: 34px 12px 0;
  }

  .hero-title-panel {
    gap: 14px;
    padding-bottom: 0;
  }

  .hero-pill {
    min-width: 150px;
    padding: 4px 20px;
    font-size: 16px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 46px;
  }

  .hero-ribbon {
    padding: 10px 14px;
    font-size: 14px;
  }

  .hero-lead {
    max-width: 336px;
    font-size: 13px;
    line-height: 1.7;
  }

  .hero-link-row {
    gap: 10px;
  }

  .hero-link-row a {
    min-width: 132px;
    min-height: 38px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .hero-person {
    position: absolute;
    right: 8px;
    bottom: -8px;
    width: 170px;
    height: 230px;
    opacity: .96;
  }

  .person-head {
    left: 58px;
    width: 62px;
    height: 68px;
    border-width: 3px;
  }

  .person-head::before {
    width: 74px;
    height: 36px;
  }

  .person-body {
    left: 28px;
    width: 112px;
    height: 136px;
    border-width: 3px;
  }

  .person-body::before {
    left: 32px;
    border-left-width: 24px;
    border-right-width: 24px;
    border-top-width: 58px;
  }

  .person-arm,
  .person-paper {
    transform: scale(.72) rotate(-15deg);
  }

  .hero-card-stack {
    position: absolute;
    left: 4px;
    bottom: 28px;
    transform: scale(.72);
    transform-origin: left bottom;
  }

  .notice {
    transform: translateY(-20px);
  }

  .comparison-section > .wrap {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin-inline: 12px;
    padding: 30px 12px;
  }

  .comparison-title-block h2 {
    font-size: 28px;
  }

  .comparison-title-block h2 span {
    font-size: 26px;
  }

  .table-shell {
    width: 100%;
    max-width: 100%;
  }

  .comparison-table {
    width: 760px;
    min-width: 760px;
  }

  .comparison-table th,
  .comparison-table td {
    width: 210px;
    padding: 8px;
    font-size: 13px;
  }

  .comparison-table .sticky,
  .comparison-table thead .sticky,
  .comparison-table tbody th {
    width: 48px;
    font-size: 12px;
    line-height: 1.2;
  }

  .placeholder-card-visual {
    width: 124px;
    height: 76px;
  }
}

@media (max-width: 620px) {
  .site-header .wrap {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin-inline: 12px;
  }

  .hero .wrap {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin-inline: 12px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 43px;
    word-break: keep-all;
    line-break: strict;
  }

  .hero h1 span {
    display: block;
  }

  .hero-lead,
  .hero-title-panel,
  .hero-link-row {
    max-width: 340px;
  }

  .hero-link-row {
    flex-wrap: wrap;
  }

  .hero-link-row a {
    width: 150px;
  }
}

/* Bizcre practical-media refinements */
.hero {
  min-height: 560px;
  max-height: 590px;
}

.hero-stage {
  grid-template-columns: 230px minmax(520px, 690px) 210px;
  min-height: 560px;
}

.hero-title-panel {
  padding-bottom: 42px;
}

.hero-pill {
  max-width: 100%;
  min-width: 0;
  padding-inline: 24px;
  font-size: 18px;
  line-height: 1.4;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: keep-all;
  line-break: strict;
}

.hero h1 span {
  display: block;
}

.hero-title-small {
  margin-left: 0;
  font-size: .88em;
}

.hero-link-row a {
  min-width: 230px;
}

.usecase-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.choice-row {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.detail-points {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.detail-points section {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.detail-points h4 {
  margin: 0 0 6px;
  color: var(--deep);
  font-size: 14px;
}

.detail-points p,
.detail-points ul {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.detail-points ul {
  padding-left: 1.2em;
}

.campaign-section {
  background:
    linear-gradient(90deg, rgba(0, 132, 130, .05) 1px, transparent 1px),
    linear-gradient(rgba(0, 132, 130, .05) 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
}

.campaign-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: start;
}

.campaign-layout p {
  color: var(--muted);
  font-weight: 700;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.campaign-card {
  min-height: 210px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11, 54, 45, .08);
}

.campaign-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.campaign-card strong {
  display: block;
  margin-bottom: 10px;
  color: #e9730c;
  font-size: 20px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .hero {
    min-height: 590px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    min-height: 590px;
  }

  .hero-title-panel {
    padding-bottom: 0;
  }

  .hero-pill {
    max-width: 330px;
    font-size: 14px;
  }

  .hero h1 {
    max-width: 350px;
    font-size: 32px;
  }

  .hero-link-row a {
    min-width: 156px;
    width: 156px;
  }

  .campaign-layout,
  .campaign-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    max-width: 336px;
    font-size: 29px;
  }

  .hero-pill {
    max-width: 320px;
  }

  .hero-link-row a {
    width: 156px;
    min-width: 156px;
  }
}

/* Media system layer */
:root {
  --primary: #00a884;
  --primary-dark: #00856f;
  --accent-orange: #ff8a2a;
  --light-gray: #f6f7f8;
  --warning-bg: #fff1f3;
  --warning-red: #ef476f;
  --border: #e5e7eb;
}

body {
  padding-bottom: 136px;
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
}

.notice {
  border-color: var(--border);
}

.notice strong,
.comparison-table .sticky,
.comparison-table thead .sticky,
.comparison-table tbody th,
.overview-list dt {
  background: var(--primary-dark);
}

.comparison-section > .wrap {
  background: #f0fbf8;
}

.comparison-table {
  width: 1080px;
  min-width: 1080px;
}

.comparison-table th,
.comparison-table td {
  width: auto;
  padding: 18px;
  text-align: left;
  line-height: 1.65;
}

.comparison-table thead th {
  color: #fff;
  background: var(--primary-dark);
  text-align: center;
}

.comparison-table .sticky,
.comparison-table thead .sticky,
.comparison-table tbody th {
  width: 160px;
  min-width: 160px;
  text-align: center;
}

.comparison-table tbody td {
  color: #1f2d29;
  font-weight: 700;
}

.industry-section {
  background: var(--light-gray);
}

.cannot-section {
  background: #fff;
}

.alert-box {
  padding: 24px 26px;
  background: var(--warning-bg);
  border: 1px solid rgba(239, 71, 111, .35);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(239, 71, 111, .06);
}

.alert-box > strong {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 12px;
  color: #fff;
  background: var(--warning-red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.alert-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.alert-box li + li {
  margin-top: 8px;
}

.faq-section {
  background: var(--light-gray);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 40px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 900;
}

.faq-list p {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.article-layout {
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 48px;
  max-width: 1120px;
}

.article-card h2 {
  position: relative;
  padding-left: 18px;
}

.article-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 6px;
  height: 1.15em;
  border-radius: 999px;
  background: var(--primary);
}

.inline-alert h2 {
  padding-left: 0;
}

.inline-alert h2::before {
  content: none;
}

.editor-memo {
  border: 2px solid rgba(0, 168, 132, .32);
}

.editor-memo p:last-child {
  background: linear-gradient(transparent 58%, rgba(255, 138, 42, .22) 58%);
}

.main-visual-card {
  grid-column: auto;
  position: relative;
  min-height: 100%;
  display: grid;
  align-content: start;
  overflow: hidden;
  margin: 0;
  padding: 22px;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 224, 138, .34), transparent 24%),
    linear-gradient(90deg, rgba(40, 169, 224, .11) 1px, transparent 1px),
    linear-gradient(rgba(40, 169, 224, .11) 1px, transparent 1px),
    linear-gradient(135deg, #f2fbff, #dff4ff 58%, #fff);
  background-size: auto, 34px 34px, 34px 34px, auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(20, 101, 151, .1);
}

.main-visual-card figcaption {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.main-visual-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  max-width: 440px;
  min-height: 0;
  padding-top: 14px;
}

.main-visual-copy span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 900;
}

.main-visual-copy strong {
  color: var(--deep-2);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.24;
  text-wrap: balance;
}

.main-visual-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.main-visual-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.visual-document {
  position: absolute;
  left: auto;
  right: 214px;
  top: 226px;
  width: 116px;
  height: 132px;
  padding: 22px 17px;
  background: #fff;
  border: 4px solid var(--deep);
  border-radius: 8px;
  transform: rotate(-7deg);
  box-shadow: 0 10px 0 rgba(0, 0, 0, .08);
  opacity: .72;
}

.visual-document span {
  display: block;
  height: 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #cce9e3;
}

.visual-card {
  position: absolute;
  right: 28px;
  top: 260px;
  width: 174px;
  height: 106px;
  background: linear-gradient(135deg, #ffe17a, #fff0aa);
  border: 5px solid var(--deep);
  border-radius: 16px;
  transform: rotate(8deg);
  box-shadow: 0 12px 0 rgba(0, 0, 0, .08);
  opacity: .88;
}

.visual-card i {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 42px;
  height: 28px;
  border: 3px solid var(--deep);
  border-radius: 7px;
  background: #fff;
}

.visual-card b {
  position: absolute;
  right: 20px;
  bottom: 22px;
  color: var(--deep);
  font-size: 13px;
}

.side-ad-rail {
  gap: 16px;
}

.side-rail-banner {
  display: grid;
  gap: 8px;
  padding: 20px;
  color: var(--deep);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 138, 42, .24), transparent 32%),
    #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11, 54, 45, .08);
}

.side-rail-banner.primary-rail {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.side-rail-banner span {
  font-size: 12px;
  font-weight: 900;
}

.side-rail-banner small {
  width: fit-content;
  padding: 4px 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, .84);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.side-rail-banner strong {
  font-size: 22px;
  line-height: 1.3;
}

.side-rail-banner em {
  width: fit-content;
  padding: 8px 12px;
  color: #fff;
  background: var(--accent-orange);
  border-radius: 6px;
  font-style: normal;
  font-weight: 900;
}

.sticky-bottom-cta {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 45;
  width: min(1060px, calc(100% - 32px));
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px 220px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.sticky-copy span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.sticky-copy strong {
  display: block;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.35;
}

.sticky-main,
.sticky-sub {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.large-gradient-cta {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(0, 92, 76, .28);
  font-weight: 900;
  text-align: center;
}

.sticky-main {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-orange), #ff9f40);
  box-shadow: 0 5px 0 rgba(179, 84, 24, .42);
}

.sticky-sub {
  color: var(--accent-orange);
  background: #fff;
  border: 2px solid var(--accent-orange);
}

.floating-campaign-box {
  position: fixed;
  right: 22px;
  bottom: 140px;
  z-index: 40;
  width: 250px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .14);
}

.floating-campaign-box span {
  color: var(--accent-orange);
  font-size: 12px;
  font-weight: 900;
}

.floating-campaign-box strong {
  display: block;
  margin: 6px 0 12px;
  color: var(--deep);
  line-height: 1.4;
}

.floating-campaign-box a {
  color: var(--primary-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floating-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: var(--light-gray);
  font-weight: 900;
  cursor: pointer;
}

.scroll-top-button {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 41;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--primary-dark);
  border-radius: 50%;
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  body {
    padding-bottom: 112px;
  }

  .faq-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .side-ad-rail {
    position: static;
    grid-template-columns: 1fr;
  }

  .sticky-bottom-cta {
    bottom: 0;
    width: 100%;
    min-height: 86px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px 12px 0 0;
  }

  .sticky-copy {
    grid-column: 1 / -1;
  }

  .sticky-copy strong {
    font-size: 15px;
  }

  .sticky-copy span {
    font-size: 11px;
  }

  .sticky-main,
  .sticky-sub {
    min-height: 44px;
    min-width: 0;
    padding: 6px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .floating-campaign-box {
    display: none;
  }

  .scroll-top-button {
    right: 12px;
    bottom: 118px;
  }

  .main-visual-card {
    min-height: 180px;
  }

  .visual-document {
    left: 9%;
    transform: scale(.72) rotate(-7deg);
    transform-origin: left top;
  }

  .visual-card {
    right: 6%;
    transform: scale(.72) rotate(8deg);
    transform-origin: right top;
  }

  .comparison-table {
    width: 940px;
    min-width: 940px;
  }

  .comparison-table .sticky,
  .comparison-table thead .sticky,
  .comparison-table tbody th {
    width: 120px;
    min-width: 120px;
  }
}

/* Last-mile overrides: generated hero asset + insertable card comparison */
.hero {
  min-height: 580px !important;
  max-height: 620px !important;
  color: #004544;
  background: #eefbf6;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 255, 251, .96) 0%, rgba(247, 255, 251, .88) 34%, rgba(247, 255, 251, .16) 68%, rgba(247, 255, 251, .02) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-stage {
  min-height: 580px !important;
  display: grid;
  grid-template-columns: minmax(430px, 560px) 1fr !important;
  justify-content: start;
  align-items: center !important;
  padding-block: 42px 70px !important;
}

.hero-title-panel {
  max-width: 560px !important;
  align-items: flex-start !important;
  gap: 14px;
  padding-bottom: 0 !important;
  text-align: left !important;
}

.hero h1 {
  max-width: 560px !important;
  color: #004544;
  font-size: clamp(34px, 3.55vw, 46px) !important;
  line-height: 1.18 !important;
  text-align: left !important;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero h1 span,
.hero-title-small {
  display: block !important;
  margin-left: 0 !important;
  font-size: .88em !important;
}

.hero-title-line,
.hero-title-small {
  white-space: nowrap;
}

.hero-pill {
  max-width: 360px !important;
  min-width: 0 !important;
  padding: 8px 18px !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.hero-ribbon {
  padding: 10px 18px !important;
  font-size: 17px !important;
}

.hero-lead {
  max-width: 500px !important;
  color: #004544;
  font-size: 15px !important;
  line-height: 1.7 !important;
  text-align: left !important;
}

.hero-link-row {
  justify-content: flex-start !important;
}

.hero-link-row a {
  min-width: 206px !important;
  background: rgba(255, 255, 255, .94);
}

.intro-grid h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.comparison-table {
  width: 1120px !important;
  min-width: 1120px !important;
}

.comparison-table td {
  min-width: 280px;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.65;
}

.table-card-head {
  min-height: 230px;
  gap: 10px;
}

.table-card-head strong {
  line-height: 1.35;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.muted-cta {
  color: var(--primary-dark) !important;
  background: #fff !important;
  border: 2px solid var(--primary);
  box-shadow: none !important;
}

.muted-cta::before {
  content: none !important;
}

@media (max-width: 980px) {
  .hero {
    min-height: 650px !important;
    max-height: none !important;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(247, 255, 251, .96) 0%, rgba(247, 255, 251, .88) 50%, rgba(247, 255, 251, .18) 100%);
  }

  .hero-visual {
    object-position: 56% center;
    opacity: .9;
  }

  .hero-stage {
    min-height: 650px !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    padding: 34px 12px 0 !important;
  }

  .hero-title-panel {
    align-items: center !important;
    text-align: center !important;
  }

  .hero h1,
  .hero-lead {
    max-width: 340px !important;
    text-align: center !important;
  }

  .hero h1 {
    font-size: 27px !important;
  }

  .hero-link-row {
    justify-content: center !important;
  }
}

@media (max-width: 620px) {
  .hero-lead {
    max-width: 330px !important;
    font-size: 14px !important;
  }

  .hero-link-row a {
    width: 156px !important;
    min-width: 156px !important;
  }

  .comparison-table {
    width: 900px !important;
    min-width: 900px !important;
  }

  .comparison-table td {
    min-width: 220px;
  }

  .table-card-head {
    min-height: 210px;
  }
}

/* Bizcre original decision tools */
.payment-carte-section {
  background: #fff;
}

.payment-carte-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 12px;
}

.payment-carte-card,
.article-verdict-card,
.diagnosis-result-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 69, 68, .08);
}

.payment-carte-card {
  min-width: 210px;
  padding: 18px;
}

.payment-carte-card > span,
.article-verdict-card > span,
.result-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.payment-carte-card dl,
.article-verdict-card dl {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.payment-carte-card dt,
.article-verdict-card dt {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.payment-carte-card dd,
.article-verdict-card dd {
  margin: 3px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

.payment-carte-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.payment-carte-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

#bizcre-diagnosis {
  min-width: 0;
}

.diagnosis-launch-card {
  border: 2px solid rgba(0, 168, 132, .24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 168, 132, .16), transparent 24%),
    linear-gradient(180deg, #ffffff, #f2fffb);
  padding: 26px;
  box-shadow: 0 22px 60px rgba(0, 69, 68, .14);
}

.diagnosis-launch-card span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.diagnosis-launch-card h3 {
  margin: 14px 0 10px;
  color: var(--deep);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
}

.diagnosis-launch-card p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.open-diagnosis-modal {
  width: 100%;
  min-height: 62px;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a1a, var(--accent-orange));
  box-shadow: 0 6px 0 rgba(179, 84, 24, .48);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.modal-open {
  overflow: hidden;
}

.diagnosis-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(0, 32, 30, .66);
  backdrop-filter: blur(8px);
}

.diagnosis-modal.is-open {
  display: grid;
}

.diagnosis-modal-card {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(860px, 92vh);
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.diagnosis-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #004544;
  background: #eefbf6;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.diagnosis-modal-head {
  padding: 32px 38px 24px;
  color: #fff;
  background: linear-gradient(135deg, #004544, #00a884);
}

.diagnosis-modal-head span {
  color: #ffdc78;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.diagnosis-modal-head h3 {
  margin: 8px 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

.diagnosis-modal-head p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.8;
}

.diagnosis-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  gap: 20px;
  padding: 24px;
}

.diagnosis-form {
  display: grid;
  gap: 14px;
}

.diagnosis-question {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fffc;
}

.diagnosis-question legend {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  color: #004544;
  font-size: 14px;
  font-weight: 900;
}

.diagnosis-question legend span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-size: 12px;
}

.diagnosis-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
}

.diagnosis-option {
  min-height: 38px;
  border: 1px solid #c8e9df;
  border-radius: 8px;
  padding: 8px 12px;
  color: #004544;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.diagnosis-option.is-active {
  color: #fff;
  border-color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.diagnosis-result-card {
  position: sticky;
  top: 16px;
  padding: 20px;
}

.diagnosis-exit-confirm {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(4px);
}

.diagnosis-modal.is-confirming .diagnosis-exit-confirm {
  display: grid;
}

.diagnosis-exit-confirm > div {
  width: min(420px, 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  text-align: center;
}

.diagnosis-exit-confirm strong {
  display: block;
  color: #004544;
  font-size: 26px;
}

.diagnosis-exit-confirm p {
  color: var(--muted);
}

.diagnosis-continue,
.diagnosis-exit {
  min-height: 46px;
  min-width: 120px;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.diagnosis-continue {
  border: 0;
  color: #fff;
  background: var(--primary);
}

.diagnosis-exit {
  margin-left: 8px;
  color: var(--primary-dark);
  background: #fff;
  border: 2px solid var(--primary);
}

.diagnosis-result-card h3 {
  margin: 12px 0 8px;
  color: #004544;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}

.diagnosis-result-card p {
  color: var(--text);
  line-height: 1.8;
}

.result-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.result-columns section,
.score-card {
  border-radius: 10px;
  background: #f6fbf9;
  padding: 14px;
}

.result-columns h4,
.score-card h4 {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 15px;
}

.result-columns ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.score-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.score-row {
  display: grid;
  grid-template-columns: 132px minmax(80px, 1fr) 40px;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  font-size: 13px;
  font-weight: 800;
}

.score-row b {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #dcefe9;
  overflow: hidden;
}

.score-row b::before {
  content: "";
  display: block;
  width: var(--score-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
}

.score-row em {
  color: var(--primary-dark);
  font-style: normal;
}

.result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.result-links span {
  width: 100%;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.result-links a {
  border: 1px solid #c8e9df;
  border-radius: 999px;
  padding: 7px 11px;
  color: #004544;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.result-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-verdict-card {
  padding: 20px;
}

.article-verdict-card .table-cta {
  margin-top: 4px;
}

.mini-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
}

.mini-table th,
.mini-table td {
  border-bottom: 1px solid var(--border);
  padding: 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
  white-space: normal;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  writing-mode: horizontal-tb;
}

.mini-table th {
  color: #004544;
  background: #eaf8f3;
  font-weight: 900;
}

.mini-table tr:last-child td {
  border-bottom: 0;
}

.article-policy-note .button + .button {
  margin-left: 8px;
}

.featured-card-section {
  background: #fff;
}

.featured-card-title {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.featured-card-title > p {
  max-width: 760px;
}

.featured-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.featured-card-slot {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 38px rgba(0, 69, 68, .09);
}

.featured-card-visual {
  position: relative;
  min-height: 150px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 138, 42, .2), transparent 28%),
    linear-gradient(135deg, #004544, #00a884);
  overflow: hidden;
}

.featured-card-visual::before,
.featured-card-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.featured-card-visual::before {
  width: 150px;
  height: 150px;
  right: -46px;
  top: -44px;
}

.featured-card-visual::after {
  width: 88px;
  height: 88px;
  left: 20px;
  bottom: -28px;
}

.featured-card-visual span,
.featured-card-visual strong {
  position: absolute;
  z-index: 1;
  color: #fff;
}

.featured-card-visual span {
  left: 18px;
  top: 18px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.featured-card-visual strong {
  right: 18px;
  bottom: 14px;
  font-size: 42px;
  line-height: 1;
}

.featured-card-copy span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.featured-card-copy h3 {
  margin: 5px 0 7px;
  color: #004544;
  font-size: 22px;
  line-height: 1.35;
}

.featured-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.featured-card-slot dl {
  display: grid;
  gap: 8px;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.featured-card-slot dl div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.featured-card-slot dt {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.featured-card-slot dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.featured-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.text-link {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-quote-box {
  border-color: #b9e7dc;
  background: #fbfffd;
}

.source-quote-box blockquote {
  margin: 14px 0;
  border-left: 5px solid var(--primary);
  padding: 12px 14px;
  color: #004544;
  background: #eefbf6;
  border-radius: 0 8px 8px 0;
  font-weight: 800;
  line-height: 1.8;
}

.source-quote-box dl,
.company-footer-data {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.source-quote-box dl div,
.company-footer-data div {
  display: grid;
  gap: 2px;
}

.source-quote-box dt,
.company-footer-data dt {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.source-quote-box dd,
.company-footer-data dd {
  margin: 0;
  line-height: 1.7;
}

.quote-policy-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.practitioner-pickup,
.practical-editor-note {
  border: 2px solid rgba(11, 120, 182, .24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(231, 246, 255, .9));
}

.lead-practitioner-pickup {
  grid-column: 1 / -1;
}

.practitioner-pickup h2,
.field-failure-box h2,
.check-before-apply-box h2,
.expert-boundary-box h2,
.practical-editor-note h2 {
  font-size: clamp(22px, 2.8vw, 30px);
}

.practitioner-pickup > strong {
  display: block;
  color: var(--deep-2);
  font-size: 18px;
  line-height: 1.65;
}

.practitioner-pickup ul,
.check-before-apply-box ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-left: 0;
  list-style: none;
}

.practitioner-pickup li,
.check-before-apply-box li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.75;
}

.practitioner-pickup li::before,
.check-before-apply-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-2), var(--primary));
  box-shadow: 0 0 0 3px rgba(40, 169, 224, .12);
}

.field-failure-box {
  border-color: rgba(239, 71, 111, .25);
  background: linear-gradient(135deg, #fff7fa, #fff);
}

.field-failure-box dl {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}

.field-failure-box dl div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(239, 71, 111, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
}

.field-failure-box dt {
  color: var(--warning-red);
  font-size: 13px;
  font-weight: 900;
}

.field-failure-box dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.7;
}

.check-before-apply-box {
  border-color: rgba(244, 199, 95, .5);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 224, 138, .34), transparent 24%),
    linear-gradient(135deg, #fffdf4, #fff);
}

.check-before-apply-box ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.expert-boundary-box {
  border-color: rgba(11, 120, 182, .24);
  background: #f3faff;
}

.expert-boundary-box p,
.practical-editor-note p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.85;
}

.practical-editor-note {
  border-left: 8px solid var(--accent);
}

.site-footer .footer-grid {
  grid-template-columns: minmax(260px, 1.22fr) repeat(3, minmax(150px, .78fr));
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}

.site-footer p,
.site-footer dd {
  color: rgba(255, 255, 255, .78);
}

.site-footer .company-footer-data a {
  color: #fff;
}

@media (max-width: 1080px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .featured-card-grid {
    grid-template-columns: 1fr;
  }

  .payment-carte-grid {
    grid-template-columns: repeat(5, minmax(230px, 1fr));
  }

  .result-columns {
    grid-template-columns: 1fr;
  }

  .diagnosis-modal {
    padding: 10px;
  }

  .diagnosis-modal-card {
    max-height: 94vh;
  }

  .diagnosis-modal-grid {
    grid-template-columns: 1fr;
  }

  .diagnosis-result-card {
    position: static;
  }

  .score-row {
    grid-template-columns: 116px minmax(70px, 1fr) 34px;
  }
}

@media (max-width: 620px) {
  .diagnosis-modal-head {
    padding: 28px 18px 20px;
  }

  .diagnosis-modal-grid {
    padding: 14px;
  }

  .diagnosis-question {
    padding: 12px;
  }

  .diagnosis-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .diagnosis-option {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .result-cta-row .table-cta {
    width: 100%;
  }

  .mini-table {
    display: table;
    width: 100%;
    min-width: 520px;
    overflow: visible;
    white-space: normal;
  }

  .table-scroll > .mini-table:has(tr > :nth-child(4)) {
    min-width: 680px;
  }

  .table-scroll > .mini-table:has(tr > :nth-child(5)) {
    min-width: 820px;
  }

  .article-policy-note .button + .button {
    margin: 10px 0 0;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .featured-card-actions {
    grid-template-columns: 1fr;
  }
}

.faq-hero h1 {
  max-width: 920px;
}

.faq-hero p {
  max-width: 880px;
}

.faq-disclosure {
  margin-top: -28px;
}

.faq-database-section {
  background: #f7faf9;
}

.faq-app {
  display: grid;
  gap: 24px;
}

.faq-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr) 180px 120px;
  gap: 16px;
  align-items: end;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(0, 69, 68, .08);
}

.faq-search-card > div > span,
.faq-section-head > span,
.faq-cta-panel span,
.faq-category-summary > span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.faq-search-card h2,
.faq-section-head h2,
.faq-cta-panel h2,
.faq-category-summary h2 {
  margin: 6px 0;
  color: var(--deep);
  line-height: 1.25;
}

.faq-search-card p,
.faq-cta-panel p,
.faq-category-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-search-input,
.faq-filter-select {
  display: grid;
  gap: 8px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.faq-search-input input,
.faq-filter-select select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8e9df;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  font-weight: 700;
}

.faq-result-count {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-dark);
  font-weight: 900;
}

.faq-result-count strong {
  font-size: 22px;
}

.faq-category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.faq-category-tabs button,
.faq-category-tabs a {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid #c8e9df;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.faq-category-tabs .is-active {
  color: #fff;
  border-color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.faq-popular-section,
.faq-category-block,
.faq-filtered-section,
.faq-category-summary,
.faq-empty-state,
.faq-cta-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(0, 69, 68, .07);
}

.faq-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.faq-popular-grid a {
  display: grid;
  gap: 8px;
  min-height: 118px;
  border: 1px solid #d7eee7;
  border-radius: 10px;
  background: #f8fffc;
  padding: 14px;
  text-decoration: none;
}

.faq-popular-grid span,
.faq-database-item summary span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.faq-popular-grid strong {
  color: var(--deep);
  line-height: 1.5;
}

.faq-category-overview {
  display: grid;
  gap: 18px;
}

.faq-category-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.faq-category-head span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-dark);
  font-weight: 900;
}

.faq-category-head h2 {
  margin: 10px 0 6px;
  color: var(--deep);
}

.faq-category-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-category-head a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-dark);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.faq-database-list {
  display: grid;
  gap: 10px;
}

.faq-database-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.faq-database-item summary {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 14px 16px;
  color: var(--deep);
  cursor: pointer;
}

.faq-database-item summary strong {
  line-height: 1.55;
}

.faq-answer {
  border-top: 1px solid var(--border);
  background: #fbfffd;
  padding: 16px;
}

.faq-answer p {
  margin: 0;
  color: var(--text);
  line-height: 1.9;
  font-weight: 650;
}

.faq-answer mark {
  border-radius: 4px;
  background: rgba(255, 138, 42, .28);
  padding: 0 2px;
}

.faq-meta-row,
.faq-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.faq-meta-row span,
.faq-related-links a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.faq-meta-row span {
  color: var(--primary-dark);
  background: #eaf8f3;
}

.faq-meta-row .high {
  color: #fff;
  background: var(--warning-red);
}

.faq-meta-row .caution {
  color: #5f3b00;
  background: #ffe5bd;
}

.faq-related-links a {
  color: var(--primary-dark);
  border: 1px solid #b9e7dc;
  background: #fff;
  text-decoration: none;
}

.faq-category-summary {
  display: grid;
  gap: 10px;
  background:
    radial-gradient(circle at 95% 5%, rgba(0, 168, 132, .15), transparent 28%),
    #fff;
}

.faq-category-summary > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  background: var(--primary-dark);
}

.faq-category-summary div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.faq-empty-state {
  text-align: center;
}

.faq-empty-state h2 {
  color: var(--deep);
}

.faq-empty-state p {
  color: var(--muted);
}

.faq-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  background: #f8fffc;
}

@media (max-width: 980px) {
  .faq-search-card,
  .faq-cta-panel {
    grid-template-columns: 1fr;
  }

  .faq-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .faq-disclosure {
    margin-top: -14px;
  }

  .faq-search-card,
  .faq-popular-section,
  .faq-category-block,
  .faq-filtered-section,
  .faq-category-summary,
  .faq-empty-state,
  .faq-cta-panel {
    padding: 16px;
  }

  .faq-popular-grid {
    grid-template-columns: 1fr;
  }

  .faq-category-head,
  .faq-database-item summary {
    grid-template-columns: 1fr;
  }

  .faq-category-head a,
  .faq-cta-panel .large-gradient-cta,
  .faq-cta-panel .table-cta {
    width: 100%;
  }
}

/* Cross-page balance and hardening pass */
h1,
h2,
h3 {
  text-wrap: balance;
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
}

p,
li,
dd,
td,
summary,
.faq-answer p,
.featured-card-slot dd,
.mini-table td {
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* WebKit includes overflow-wrap:anywhere in table min-content sizing. That can
   collapse Japanese cells to roughly one glyph wide even when the table itself
   has ample room. Keep emergency breaks without letting them shrink columns. */
.mini-table th,
.mini-table td {
  text-wrap: wrap;
  white-space: normal;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  writing-mode: horizontal-tb;
}

.main-nav a,
.button,
.table-cta,
.large-gradient-cta,
.sticky-main,
.sticky-sub,
.hero-link-row a,
.open-diagnosis-modal,
.faq-category-tabs a,
.faq-category-tabs button {
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
}

.site-header {
  z-index: 80;
}

.main-nav {
  gap: clamp(14px, 2vw, 26px);
  color: #004544;
  font-weight: 900;
}

.main-nav a:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.table-cta:focus-visible,
.large-gradient-cta:focus-visible,
.hero-link-row a:focus-visible,
.faq-category-tabs button:focus-visible,
.faq-category-tabs a:focus-visible,
.diagnosis-option:focus-visible,
.open-diagnosis-modal:focus-visible {
  outline: 3px solid rgba(255, 138, 42, .78);
  outline-offset: 3px;
}

.hero {
  min-height: clamp(650px, 58vw, 760px) !important;
  max-height: none !important;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(247, 255, 251, .98) 0%, rgba(247, 255, 251, .92) 42%, rgba(247, 255, 251, .32) 70%, rgba(247, 255, 251, .05) 100%) !important;
}

.hero-stage {
  min-height: clamp(650px, 58vw, 760px) !important;
  grid-template-columns: minmax(560px, 670px) minmax(0, 1fr) !important;
  padding-block: clamp(62px, 7vw, 92px) 96px !important;
}

.hero-title-panel {
  max-width: 670px !important;
  gap: 18px !important;
}

.hero-pill {
  max-width: 100% !important;
  padding: 9px 18px !important;
  font-size: clamp(14px, 1.3vw, 16px) !important;
  box-shadow: 0 10px 24px rgba(0, 69, 68, .12);
}

.hero h1 {
  max-width: 650px !important;
  font-size: clamp(44px, 4.3vw, 62px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

.hero h1 .hero-title-line,
.hero h1 .hero-title-small {
  display: block !important;
  margin-left: 0 !important;
  white-space: normal !important;
}

.hero h1 .hero-title-line:first-child {
  font-size: .78em !important;
  line-height: 1.18 !important;
}

.hero h1 .hero-title-line:nth-child(2),
.hero h1 .hero-title-small {
  font-size: 1em !important;
  line-height: 1.08 !important;
}

.hero-ribbon {
  max-width: 540px;
  padding: 11px 20px !important;
  font-size: clamp(15px, 1.45vw, 18px) !important;
  line-height: 1.45 !important;
}

.hero-lead {
  max-width: 610px !important;
  font-size: clamp(15px, 1.45vw, 17px) !important;
  line-height: 1.85 !important;
}

.hero-link-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(270px, 1fr));
  gap: 16px !important;
  width: min(610px, 100%);
}

.hero-link-row a {
  width: 100%;
  min-width: 0 !important;
  min-height: 72px;
  padding: 14px 22px !important;
  white-space: normal;
  line-height: 1.55 !important;
  box-shadow: 0 14px 30px rgba(0, 69, 68, .14);
}

.notice {
  max-width: 1080px;
}

.notice span {
  line-height: 1.75;
}

.section {
  padding-block: clamp(84px, 7vw, 112px);
}

.title-block {
  max-width: 880px;
}

.title-block h2,
.faq-section-head h2,
.article-card h2 {
  line-height: 1.28;
}

.usecase-card,
.slot-card,
.featured-card-slot,
.payment-carte-card,
.faq-database-item,
.article-card {
  min-width: 0;
}

.usecase-card h3,
.featured-card-copy h3,
.slot-card h3,
.payment-carte-card span {
  text-wrap: balance;
}

.sticky-bottom-cta {
  width: min(1120px, calc(100% - 40px));
  min-height: 82px;
  grid-template-columns: minmax(250px, 1fr) minmax(280px, .78fr) minmax(200px, .5fr);
  padding: 12px 16px;
}

.sticky-main,
.sticky-sub {
  white-space: normal;
  line-height: 1.35;
  padding-inline: 12px;
}

.floating-campaign-box {
  z-index: 42;
}

.scroll-top-button {
  z-index: 43;
}

@media (max-width: 980px) {
  .hero {
    min-height: 720px !important;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(247, 255, 251, .98) 0%, rgba(247, 255, 251, .94) 48%, rgba(247, 255, 251, .42) 100%) !important;
  }

  .hero-stage {
    min-height: 720px !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    padding: 46px 16px 0 !important;
  }

  .hero-title-panel {
    max-width: 620px !important;
    margin-inline: auto;
    align-items: center !important;
    text-align: center !important;
  }

  .hero h1 {
    max-width: 600px !important;
    font-size: clamp(38px, 7vw, 54px) !important;
    text-align: center !important;
  }

  .hero-lead {
    max-width: 560px !important;
    text-align: center !important;
  }

  .hero-link-row {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    width: min(540px, 100%);
  }

  .sticky-bottom-cta {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .logo-brand img {
    max-width: 178px;
  }

  .main-nav {
    gap: 10px;
    font-size: 12px;
  }

  .hero {
    min-height: 700px !important;
  }

  .hero-stage {
    min-height: 700px !important;
    padding: 34px 8px 0 !important;
  }

  .hero-title-panel {
    width: min(360px, calc(100vw - 24px)) !important;
    max-width: none !important;
    gap: 14px !important;
  }

  .hero-pill {
    width: min(356px, calc(100vw - 24px)) !important;
    max-width: none !important;
    box-sizing: border-box;
    justify-content: center;
    white-space: normal !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: none !important;
    font-size: clamp(30px, 8.2vw, 36px) !important;
    line-height: 1.16 !important;
  }

  .hero h1 .hero-title-line:first-child,
  .hero h1 .hero-title-line:nth-child(2) {
    font-size: .72em !important;
    line-height: 1.2 !important;
  }

  .hero h1 .hero-title-small {
    font-size: .94em !important;
  }

  .hero-ribbon,
  .hero-lead {
    width: 100% !important;
    max-width: none !important;
  }

  .hero-link-row {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px !important;
  }

  .hero-link-row a {
    width: 100% !important;
    min-height: 58px;
    font-size: 14px !important;
  }

  .sticky-bottom-cta {
    left: 8px;
    right: 8px;
    width: auto !important;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px;
    padding: 8px;
    transform: none;
  }

  .sticky-main,
  .sticky-sub {
    min-height: 42px;
    padding-inline: 4px;
    font-size: 12px;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .notice {
    display: grid;
    grid-template-columns: auto 1fr;
    width: calc(100% - 24px);
    gap: 10px;
    padding: 14px 12px;
  }

  .notice span {
    font-size: 13px;
    line-height: 1.65;
  }

  .sticky-copy strong {
    font-size: 14px;
  }
}

/* Aqua theme and card capability modules */
:root {
  --ink: #10273b;
  --muted: #526b7f;
  --deep: #0b76ad;
  --deep-2: #064b78;
  --line: #d5eaf6;
  --paper: #f7fbff;
  --soft: #eaf7ff;
  --primary: #28a9e0;
  --primary-dark: #0b78b6;
  --primary-soft: #e7f6ff;
  --accent: #f4c75f;
  --accent-2: #ffe08a;
  --accent-orange: #ff8a2a;
  --light-gray: #f4faff;
  --border: #d5e7f1;
  --shadow: 0 20px 60px rgba(20, 101, 151, .14);
}

body {
  color: var(--ink);
  background: var(--paper);
}

.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: var(--border);
}

.main-nav,
.main-nav a {
  color: #064b78;
}

.hero {
  background: #edf8ff !important;
}

.hero-visual {
  filter: hue-rotate(32deg) saturate(.92) brightness(1.04);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(247, 252, 255, .98) 0%, rgba(239, 249, 255, .93) 42%, rgba(224, 244, 255, .36) 70%, rgba(224, 244, 255, .08) 100%) !important;
}

.hero h1,
.title-block h2,
.intro-grid h2,
.featured-card-copy h3,
.slot-card h3,
.campaign-card strong,
.mini-table th,
.article-card h2,
.overview-card h2,
.toc-card h2,
.faq-section-head h2 {
  color: var(--deep-2) !important;
}

.hero-pill,
.hero-ribbon,
.notice strong,
.comparison-table .sticky,
.comparison-table thead .sticky,
.comparison-table tbody th,
.overview-list dt,
.score-dot,
.faq-category-tabs button.is-active,
.faq-category-tabs a.is-active {
  background: var(--primary-dark) !important;
}

.hero-pill {
  box-shadow: 0 10px 24px rgba(16, 121, 178, .16);
}

.hero-ribbon {
  box-shadow: 0 12px 26px rgba(16, 121, 178, .16);
}

.hero-lead,
.section .title-block p,
.featured-card-copy p,
.usecase-card p,
.payment-carte-card p,
.slot-card p,
.article-card p {
  color: var(--muted);
}

.comparison-section > .wrap,
.card-function-section,
.payment-carte-section,
.industry-section,
.faq-database-section {
  background: linear-gradient(180deg, #f2faff 0%, #eaf7ff 100%) !important;
}

.comparison-table {
  border-color: var(--border);
}

.comparison-table thead th {
  background: var(--primary-dark) !important;
}

.comparison-table tbody td,
.comparison-table td {
  color: #17344a !important;
}

.table-card-head,
.usecase-card,
.payment-carte-card,
.slot-card,
.featured-card-slot,
.article-card,
.faq-database-item,
.notice,
.toc-card,
.overview-card,
.side-box {
  border-color: var(--border) !important;
  box-shadow: 0 16px 34px rgba(20, 101, 151, .09);
}

.featured-card-visual,
.placeholder-card-visual,
.visual-card,
.slot-card-top,
.side-rail-banner.primary-rail,
.large-gradient-cta,
.button.primary {
  background: linear-gradient(135deg, #0b78b6, #2dbce9) !important;
}

.featured-card-copy span,
.featured-card-slot dt,
.text-link,
.source-quote-box h2,
.card-function-section .section-kicker,
.section-kicker {
  color: var(--primary-dark) !important;
}

.muted-cta,
.button.secondary-on-light,
.sticky-sub {
  color: var(--primary-dark) !important;
  border-color: var(--primary) !important;
}

.card-function-section {
  position: relative;
}

.compact-title {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.function-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.function-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 36px rgba(20, 101, 151, .08);
}

.function-grid .function-number {
  display: inline-grid;
  min-width: 38px;
  height: 30px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.function-grid h3 {
  margin: 0 0 8px;
  color: var(--deep-2);
  font-size: 21px;
  line-height: 1.35;
}

.function-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.feature-badge-row,
.card-function-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid #b8dcf1;
  border-radius: 999px;
  color: #0b5d90;
  background: #eef9ff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.feature-badge.muted {
  color: #6a7d8a;
  background: #f5f9fc;
}

.card-function-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.card-function-strip > div,
.slot-feature-grid > div {
  display: grid;
  gap: 6px;
}

.card-function-strip > div > span:first-child,
.slot-feature-grid > div > span:first-child {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.slot-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.source-quote-box {
  border-color: #b8dcf1 !important;
  background: #fbfdff;
}

.source-quote-box blockquote {
  border-left-color: var(--primary);
  color: var(--deep-2);
  background: #eef9ff;
}

.site-footer,
.diagnosis-section {
  background: #063b63 !important;
}

.floating-campaign-box span,
.sticky-copy strong,
.scroll-top-button {
  color: var(--primary-dark) !important;
}

.scroll-top-button {
  border-color: var(--primary-dark) !important;
}

@media (max-width: 980px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(247, 252, 255, .98) 0%, rgba(239, 249, 255, .94) 48%, rgba(224, 244, 255, .48) 100%) !important;
  }

  .function-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .function-grid,
  .slot-feature-grid {
    grid-template-columns: 1fr;
  }

  .function-grid article {
    padding: 18px;
  }

  .card-function-strip {
    gap: 8px;
  }
}

/* Gold aurora CTA system */
@keyframes goldAuroraMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 6px 0 rgba(158, 101, 11, .34), 0 18px 38px rgba(226, 170, 44, .28); }
  50% { box-shadow: 0 6px 0 rgba(158, 101, 11, .42), 0 22px 48px rgba(255, 203, 79, .42); }
}

@keyframes goldSheen {
  0% { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
  18% { opacity: .75; }
  42% { transform: translateX(145%) skewX(-18deg); opacity: 0; }
  100% { transform: translateX(145%) skewX(-18deg); opacity: 0; }
}

.card-apply-cta,
.featured-card-actions .table-cta.card-apply-cta,
.table-card-head .table-cta.card-apply-cta,
.comparison-table .table-cta.card-apply-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #312100 !important;
  background:
    linear-gradient(115deg, #fff7b8 0%, #f6c84f 22%, #ff9f2d 44%, #ffe27a 66%, #f0b731 82%, #fff8c8 100%) !important;
  background-size: 260% 260% !important;
  border: 1px solid rgba(168, 112, 12, .64) !important;
  box-shadow: 0 6px 0 rgba(158, 101, 11, .34), 0 18px 38px rgba(226, 170, 44, .28) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .58);
  animation: goldAuroraMove 4.8s ease-in-out infinite, goldPulse 2.8s ease-in-out infinite;
}

.card-apply-cta::after,
.open-diagnosis-modal::after,
.sticky-main::after,
.hero-link-row a[href="#diagnosis"]::after,
a.large-gradient-cta[href$="#diagnosis"]::after,
a.button[href$="#diagnosis"]::after,
.article-verdict-card .table-cta[href$="#diagnosis"]::after,
.inline-article-cta .table-cta[href$="#diagnosis"]::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -35%;
  z-index: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  pointer-events: none;
  animation: goldSheen 3.2s ease-in-out infinite;
}

.card-apply-cta:hover,
.open-diagnosis-modal:hover,
.sticky-main:hover,
.hero-link-row a[href="#diagnosis"]:hover,
a.large-gradient-cta[href$="#diagnosis"]:hover,
a.button[href$="#diagnosis"]:hover,
.article-verdict-card .table-cta[href$="#diagnosis"]:hover,
.inline-article-cta .table-cta[href$="#diagnosis"]:hover {
  transform: translateY(-1px);
  filter: saturate(1.05) brightness(1.02);
}

.open-diagnosis-modal,
.sticky-main,
.hero-link-row a[href="#diagnosis"],
a.large-gradient-cta[href$="#diagnosis"],
a.button[href$="#diagnosis"],
.article-verdict-card .table-cta[href$="#diagnosis"],
.inline-article-cta .table-cta[href$="#diagnosis"],
.faq-cta-panel .large-gradient-cta[href$="#diagnosis"],
.side-rail-banner[href$="#diagnosis"] em {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #2f2100 !important;
  background:
    linear-gradient(115deg, #fff4a8 0%, #ffd45b 24%, #ffb02e 48%, #fff0a3 70%, #e7aa27 100%) !important;
  background-size: 260% 260% !important;
  border: 1px solid rgba(169, 111, 6, .62) !important;
  box-shadow: 0 6px 0 rgba(158, 101, 11, .36), 0 18px 42px rgba(255, 190, 57, .3) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .58);
  animation: goldAuroraMove 4.2s ease-in-out infinite, goldPulse 2.6s ease-in-out infinite;
}

.open-diagnosis-modal {
  border-radius: 10px;
}

.sticky-main {
  color: #2f2100 !important;
}

.diagnosis-panel,
.diagnosis-launch-card {
  border-color: rgba(246, 200, 79, .5) !important;
}

@media (prefers-reduced-motion: reduce) {
  .card-apply-cta,
  .open-diagnosis-modal,
  .sticky-main,
  .hero-link-row a[href="#diagnosis"],
  a.large-gradient-cta[href$="#diagnosis"],
  a.button[href$="#diagnosis"],
  .article-verdict-card .table-cta[href$="#diagnosis"],
  .inline-article-cta .table-cta[href$="#diagnosis"] {
    animation: none !important;
  }

  .card-apply-cta::after,
  .open-diagnosis-modal::after,
  .sticky-main::after,
  .hero-link-row a[href="#diagnosis"]::after,
  a.large-gradient-cta[href$="#diagnosis"]::after,
  a.button[href$="#diagnosis"]::after,
  .article-verdict-card .table-cta[href$="#diagnosis"]::after,
  .inline-article-cta .table-cta[href$="#diagnosis"]::after {
    animation: none !important;
  }
}

/* Hero insertable card marquee */
@keyframes cardMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero {
  min-height: clamp(760px, 64vw, 860px) !important;
}

.hero-stage {
  min-height: clamp(760px, 64vw, 860px) !important;
  padding-bottom: clamp(220px, 17vw, 252px) !important;
}

.card-marquee-shell {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 7;
  transform: translateX(-50%);
  display: grid;
  gap: 10px;
  pointer-events: auto;
}

.card-marquee-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1040px, 100%);
  margin-inline: auto;
  color: var(--deep-2);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .78);
}

.card-marquee-label span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-marquee-label strong {
  font-size: 15px;
  font-weight: 900;
}

.card-marquee {
  width: min(1040px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(40, 169, 224, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 22px 52px rgba(20, 91, 133, .15);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.card-marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 14px 18px;
  animation: cardMarqueeScroll 34s linear infinite;
  will-change: transform;
}

.card-marquee:hover .card-marquee-track,
.card-marquee:focus-within .card-marquee-track {
  animation-play-state: paused;
}

.marquee-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  flex: 0 0 clamp(320px, 31vw, 390px);
  min-height: 174px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 20px;
  padding: 16px;
  color: #073454;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, .78), transparent 24%),
    linear-gradient(135deg, #eaf8ff 0%, #bce7ff 48%, #fff6b8 100%);
  box-shadow: 0 16px 34px rgba(11, 120, 182, .16);
}

.marquee-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -34px auto;
  z-index: -1;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
}

.marquee-card.theme-2 {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .78), transparent 25%),
    linear-gradient(135deg, #dff8ff 0%, #9edcff 45%, #e8fbff 100%);
}

.marquee-card.theme-3 {
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, .75), transparent 26%),
    linear-gradient(135deg, #effaff 0%, #c8edff 45%, #d9fff4 100%);
}

.marquee-card.theme-4 {
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, .75), transparent 26%),
    linear-gradient(135deg, #e8f6ff 0%, #b7e3ff 46%, #ffe9a8 100%);
}

.marquee-card-art {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .48)),
    linear-gradient(135deg, #0b78b6, #28a9e0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .58), 0 12px 26px rgba(11, 120, 182, .18);
}

.marquee-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marquee-card-chip {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 34px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fff7b8 0 52%, #6fc7f0 52% 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.marquee-card-art i,
.marquee-card-art b {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
}

.marquee-card-art i {
  bottom: 44px;
}

.marquee-card-art b {
  bottom: 26px;
  right: 46px;
}

.marquee-card-body {
  display: grid;
  align-content: center;
  gap: 9px;
  min-width: 0;
}

.marquee-card-body > span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  color: #063b63;
  background: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.marquee-card-body strong {
  color: #053653;
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.28;
  text-wrap: balance;
}

.marquee-card-body dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.marquee-card-body dl div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
}

.marquee-card-body dt {
  color: #0b78b6;
  font-size: 12px;
  font-weight: 900;
}

.marquee-card-body dd {
  min-width: 0;
  margin: 0;
  color: #143a4e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .hero {
    min-height: 810px !important;
  }

  .hero-stage {
    min-height: 810px !important;
    padding-bottom: 204px !important;
  }

  .card-marquee-shell {
    bottom: 22px;
    width: calc(100% - 24px);
  }

  .card-marquee-label {
    padding-inline: 4px;
  }

  .card-marquee-track {
    gap: 14px;
    padding: 12px 14px;
  }

  .marquee-card {
    flex-basis: 326px;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 156px;
  }

  .marquee-card-art {
    min-height: 118px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 830px !important;
  }

  .hero-stage {
    min-height: 830px !important;
    padding-bottom: 184px !important;
  }

  .card-marquee-shell {
    bottom: 16px;
    width: calc(100% - 20px);
    gap: 8px;
  }

  .card-marquee-label {
    justify-content: center;
    text-align: center;
  }

  .card-marquee-label span {
    display: none;
  }

  .card-marquee-label strong {
    font-size: 13px;
  }

  .card-marquee {
    border-radius: 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }

  .card-marquee-track {
    gap: 10px;
    padding: 10px;
    animation-duration: 28s;
  }

  .marquee-card {
    flex-basis: 278px;
    grid-template-columns: 90px minmax(0, 1fr);
    min-height: 132px;
    gap: 11px;
    border-radius: 16px;
    padding: 12px;
  }

  .marquee-card-art {
    min-height: 104px;
    border-radius: 13px;
  }

  .marquee-card-chip {
    left: 10px;
    top: 10px;
    width: 28px;
    height: 22px;
  }

  .marquee-card-art i,
  .marquee-card-art b {
    left: 11px;
    right: 11px;
    height: 6px;
  }

  .marquee-card-art i {
    bottom: 34px;
  }

  .marquee-card-art b {
    bottom: 20px;
    right: 34px;
  }

  .marquee-card-body {
    gap: 7px;
  }

  .marquee-card-body > span {
    padding: 4px 8px;
    font-size: 11px;
  }

  .marquee-card-body strong {
    font-size: 16px;
  }

  .marquee-card-body dl div {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px;
  }

  .marquee-card-body dt,
  .marquee-card-body dd {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-marquee-track {
    animation: none !important;
  }
}

/* Mobile hamburger menu */
.mobile-menu-toggle,
.mobile-menu-floating-toggle,
.mobile-menu-panel {
  display: none;
}

@media (max-width: 760px) {
  .site-header {
    z-index: 96;
  }

  .header-inner {
    position: relative;
  }

  .site-header .main-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    width: 52px;
    height: 46px;
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-grid;
    place-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid rgba(40, 169, 224, .45);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 28px rgba(20, 101, 151, .12);
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 2;
  }

  .mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    display: block;
    border-radius: 999px;
    background: var(--primary-dark);
    transition: transform .22s ease, opacity .22s ease;
  }

  .mobile-menu-toggle i {
    display: block;
    color: var(--primary-dark);
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .03em;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu-panel {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    z-index: 95;
    display: block;
    padding: 12px;
    border: 1px solid rgba(40, 169, 224, .35);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 60px rgba(20, 101, 151, .2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
    backdrop-filter: blur(16px);
  }

  .mobile-menu-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-menu-links a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid #d5e7f1;
    border-radius: 10px;
    color: var(--deep-2);
    background: #f7fbff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
  }

  .mobile-menu-links a[href$="#diagnosis"],
  .mobile-menu-links a[href*="#diagnosis"] {
    color: #2f2100;
    background: linear-gradient(115deg, #fff4a8 0%, #ffd45b 24%, #ffb02e 48%, #fff0a3 70%, #e7aa27 100%);
    border-color: rgba(169, 111, 6, .5);
  }
}

/* ===== Bizcre use-case taxonomy: one card, two explicit routes ===== */
.use-case-taxonomy-grid {
  margin-top: 22px;
}

.usecase-card.use-case-card,
.cards-need-card.use-case-card {
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}

.usecase-card.use-case-card .use-case-card__index,
.cards-need-card.use-case-card .use-case-card__index {
  width: fit-content;
  min-width: 42px;
  height: 30px;
  padding-inline: 10px;
  border-radius: 999px;
  color: #fff;
  background: #087db5;
  font-size: 14px;
  font-weight: 900;
  line-height: 30px;
  text-align: center;
}

.usecase-card.use-case-card h3,
.cards-need-card.use-case-card h3 {
  margin: 0;
  color: #083e60;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.45;
}

.usecase-card.use-case-card > p,
.cards-need-card.use-case-card > p {
  margin: 0;
  color: #365f76;
  font-size: 16px;
  line-height: 1.75;
}

.use-case-card__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.use-case-card__actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.use-case-card__filter {
  gap: 8px;
  color: #fff;
  background: #087db5;
  border: 1px solid #087db5;
}

.use-case-card__filter:hover,
.use-case-card__filter:focus-visible {
  background: #075782;
}

.usecase-card.use-case-card .use-case-card__filter span,
.cards-need-card.use-case-card .use-case-card__filter span {
  display: inline;
  width: auto;
  height: auto;
  padding: 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
}

.use-case-card__guide {
  color: #075782;
  background: #fff;
  border: 1px solid #75c5e8;
}

.use-case-card__guide:hover,
.use-case-card__guide:focus-visible {
  background: #eaf8ff;
  border-color: #087db5;
}

.cards-use-case-grid {
  align-items: stretch;
}

@media (max-width: 760px) {
  .usecase-card.use-case-card,
  .cards-need-card.use-case-card {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .mobile-menu-panel {
    top: 66px;
  }

  .mobile-menu-links {
    grid-template-columns: 1fr;
  }
}

/* Site-wide small CTA motion */
@keyframes microCtaAurora {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes microCtaGlow {
  0%, 100% { box-shadow: 0 8px 0 rgba(11, 120, 182, .18), 0 18px 36px rgba(40, 169, 224, .18); }
  50% { box-shadow: 0 8px 0 rgba(255, 176, 46, .24), 0 22px 44px rgba(255, 212, 91, .28); }
}

@keyframes microCtaSheen {
  0% { transform: translateX(-150%) skewX(-18deg); opacity: 0; }
  16% { opacity: .62; }
  42% { transform: translateX(170%) skewX(-18deg); opacity: 0; }
  100% { transform: translateX(170%) skewX(-18deg); opacity: 0; }
}

.table-cta:not(.card-apply-cta),
.button.primary:not(.disabled-cta),
.button.secondary-on-light:not(.disabled-cta),
.large-gradient-cta,
.payment-carte-card a,
.sticky-sub,
.mobile-menu-links a[href$="checklist/"],
.mobile-menu-links a[href*="checklist/"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.table-cta:not(.muted-cta):not(.card-apply-cta),
.button.primary:not(.disabled-cta),
.payment-carte-card a,
.large-gradient-cta:not([href$="#diagnosis"]) {
  color: #fff !important;
  background:
    linear-gradient(115deg, #167fca 0%, #20abe6 24%, #0b78b6 46%, #ffd45b 68%, #149bd7 100%) !important;
  background-size: 280% 280% !important;
  border: 1px solid rgba(11, 120, 182, .42) !important;
  animation: microCtaAurora 5.2s ease-in-out infinite, microCtaGlow 3.2s ease-in-out infinite;
}

.table-cta.muted-cta:not(.card-apply-cta),
.button.secondary-on-light:not(.disabled-cta),
.sticky-sub,
.mobile-menu-links a[href$="checklist/"],
.mobile-menu-links a[href*="checklist/"] {
  color: var(--primary-dark) !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(115deg, #28a9e0 0%, #8fd8ff 28%, #ffd45b 54%, #0b78b6 78%, #28a9e0 100%) border-box !important;
  background-size: 100% 100%, 280% 280% !important;
  border: 2px solid transparent !important;
  box-shadow: 0 10px 26px rgba(40, 169, 224, .16) !important;
  animation: microCtaAurora 5.6s ease-in-out infinite;
}

.table-cta:not(.card-apply-cta)::after,
.button.primary:not(.disabled-cta)::after,
.button.secondary-on-light:not(.disabled-cta)::after,
.large-gradient-cta::after,
.payment-carte-card a::after,
.sticky-sub::after,
.mobile-menu-links a[href$="checklist/"]::after,
.mobile-menu-links a[href*="checklist/"]::after {
  content: "";
  position: absolute;
  inset: -38% auto -38% -42%;
  z-index: 0;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
  pointer-events: none;
  animation: microCtaSheen 3.4s ease-in-out infinite;
}

.table-cta:not(.card-apply-cta):hover,
.button.primary:not(.disabled-cta):hover,
.button.secondary-on-light:not(.disabled-cta):hover,
.large-gradient-cta:hover,
.payment-carte-card a:hover,
.sticky-sub:hover,
.mobile-menu-links a[href$="checklist/"]:hover,
.mobile-menu-links a[href*="checklist/"]:hover {
  transform: translateY(-1px);
  filter: saturate(1.06) brightness(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .table-cta:not(.card-apply-cta),
  .button.primary:not(.disabled-cta),
  .button.secondary-on-light:not(.disabled-cta),
  .large-gradient-cta,
  .payment-carte-card a,
  .sticky-sub,
  .mobile-menu-links a[href$="checklist/"],
  .mobile-menu-links a[href*="checklist/"],
  .table-cta:not(.card-apply-cta)::after,
  .button.primary:not(.disabled-cta)::after,
  .button.secondary-on-light:not(.disabled-cta)::after,
  .large-gradient-cta::after,
  .payment-carte-card a::after,
  .sticky-sub::after,
  .mobile-menu-links a[href$="checklist/"]::after,
  .mobile-menu-links a[href*="checklist/"]::after {
    animation: none !important;
  }
}

/* Article empty-space ad/CTA placement */
@media (max-width: 980px) {
  .main-visual-card {
    min-height: 320px;
  }

  .main-visual-copy {
    min-height: 0;
    padding-top: 14px;
  }

  .main-visual-card .visual-document {
    left: auto;
    right: 180px;
    top: 178px;
    transform: scale(.76) rotate(-7deg);
    transform-origin: left top;
  }

  .main-visual-card .visual-card {
    right: 24px;
    top: 202px;
    transform: scale(.76) rotate(8deg);
    transform-origin: right top;
  }
}

@media (max-width: 620px) {
  .main-visual-card {
    min-height: 0;
    padding: 18px;
  }

  .main-visual-copy {
    min-height: 0;
    padding-top: 12px;
  }

  .main-visual-actions {
    grid-template-columns: 1fr;
  }

  .main-visual-card .visual-document {
    left: 18px;
    right: auto;
    top: 208px;
    transform: scale(.62) rotate(-7deg);
  }

  .main-visual-card .visual-card {
    right: 18px;
    top: 222px;
    transform: scale(.62) rotate(8deg);
  }
}

/* Column readability and single-color CTA unification */
.overview-head {
  background: var(--primary-dark) !important;
}

.overview-head span,
.overview-head h2,
.overview-head p,
.overview-card .overview-head h2,
.overview-card .overview-head p {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.overview-head span {
  color: #dff4ff !important;
}

.open-diagnosis-modal,
.sticky-main,
.hero-link-row a[href="#diagnosis"],
a.large-gradient-cta[href$="#diagnosis"],
a.button[href$="#diagnosis"],
.article-verdict-card .table-cta[href$="#diagnosis"],
.inline-article-cta .table-cta[href$="#diagnosis"],
.faq-cta-panel .large-gradient-cta[href$="#diagnosis"],
.side-rail-banner[href$="#diagnosis"] em,
.button.primary.shiny[href$="#diagnosis"],
.button.primary[href$="#diagnosis"] {
  color: #2d2100 !important;
  background: #ffc247 !important;
  border-color: #c98b12 !important;
  box-shadow: 0 6px 0 rgba(166, 103, 12, .36), 0 18px 38px rgba(255, 194, 71, .28) !important;
  text-shadow: none !important;
  animation: goldPulse 2.8s ease-in-out infinite !important;
}

.open-diagnosis-modal::before,
.open-diagnosis-modal::after,
.sticky-main::before,
.sticky-main::after,
.hero-link-row a[href="#diagnosis"]::before,
.hero-link-row a[href="#diagnosis"]::after,
a.large-gradient-cta[href$="#diagnosis"]::before,
a.large-gradient-cta[href$="#diagnosis"]::after,
a.button[href$="#diagnosis"]::before,
a.button[href$="#diagnosis"]::after,
.article-verdict-card .table-cta[href$="#diagnosis"]::before,
.article-verdict-card .table-cta[href$="#diagnosis"]::after,
.inline-article-cta .table-cta[href$="#diagnosis"]::before,
.inline-article-cta .table-cta[href$="#diagnosis"]::after,
.faq-cta-panel .large-gradient-cta[href$="#diagnosis"]::before,
.faq-cta-panel .large-gradient-cta[href$="#diagnosis"]::after,
.side-rail-banner[href$="#diagnosis"] em::before,
.side-rail-banner[href$="#diagnosis"] em::after,
.button.primary.shiny[href$="#diagnosis"]::before,
.button.primary.shiny[href$="#diagnosis"]::after,
.button.primary[href$="#diagnosis"]::before,
.button.primary[href$="#diagnosis"]::after {
  content: none !important;
  display: none !important;
}

/* Aqua article/blog hero unification */
.article-hero,
.column-page .article-hero,
.faq-hero {
  color: var(--deep-2) !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 224, 138, .36), transparent 22%),
    radial-gradient(circle at 72% 48%, rgba(40, 169, 224, .22), transparent 30%),
    linear-gradient(135deg, #f7fcff 0%, #e6f7ff 36%, #c7ecff 72%, #eefaff 100%) !important;
}

.article-hero::after,
.column-page .article-hero::after,
.faq-hero::after {
  background-image:
    linear-gradient(90deg, rgba(11, 120, 182, .12) 1px, transparent 1px),
    linear-gradient(rgba(11, 120, 182, .12) 1px, transparent 1px) !important;
}

.article-hero .breadcrumb,
.article-hero .breadcrumb a,
.article-hero p,
.article-hero .eyebrow,
.faq-hero .breadcrumb,
.faq-hero .breadcrumb a,
.faq-hero p,
.faq-hero .eyebrow {
  color: var(--deep-2) !important;
}

.article-hero h1,
.faq-hero h1 {
  color: var(--deep-2) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
}

.article-hero .eyebrow,
.faq-hero .eyebrow {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 11px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 24px rgba(40, 169, 224, .18);
}

.article-hero .article-meta span,
.column-page .article-meta span,
.faq-hero .article-meta span {
  color: var(--deep-2) !important;
  background: rgba(255, 255, 255, .62) !important;
  border-color: rgba(11, 120, 182, .24) !important;
  box-shadow: 0 8px 22px rgba(40, 169, 224, .12);
}

/* Brand definition, tracking, and balanced article headings */
.article-hero h1,
.faq-hero h1 {
  max-width: min(1080px, 100%) !important;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

@media (min-width: 981px) {
  .article-hero h1,
  .faq-hero h1 {
    font-size: clamp(38px, 4.25vw, 58px) !important;
  }
}

.brand-cta-strip {
  padding: 26px 0;
  color: var(--deep-2);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 218, 112, .28), transparent 24%),
    linear-gradient(135deg, #eefaff 0%, #dff4ff 100%);
  border-top: 1px solid rgba(11, 120, 182, .16);
}

.brand-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
}

.brand-cta-inner span {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-cta-inner strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
}

.brand-cta-inner p {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.brand-definition-body .article-card {
  border-color: rgba(11, 120, 182, .16);
}

.brand-final-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.brand-final-cta h2,
.brand-final-cta p {
  color: #fff;
}

.go-redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
    linear-gradient(90deg, rgba(11, 120, 182, .12) 1px, transparent 1px),
    linear-gradient(rgba(11, 120, 182, .12) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.go-card {
  width: min(620px, 100%);
  text-align: center;
}

.go-card h1 {
  margin: 0 0 12px;
  color: var(--deep-2);
  font-size: clamp(28px, 4vw, 44px);
}

.affiliate-dashboard {
  display: grid;
  gap: 22px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  padding: 18px;
  color: var(--deep-2);
  background: #fff;
  border: 1px solid rgba(11, 120, 182, .16);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 79, 111, .08);
}

.metric-card span {
  display: block;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

@media (max-width: 980px) {
  .brand-cta-inner {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-tagline {
    display: none;
  }

  .mobile-menu-toggle i {
    display: block !important;
  }

  .hero-title-panel,
  .hero-pill,
  .hero-ribbon,
  .hero-lead,
  .hero-link-row {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .hero-ribbon {
    margin-inline: auto !important;
    padding-inline: 14px !important;
    text-align: center !important;
  }

  .hero-ribbon span {
    display: block;
    white-space: normal !important;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .article-hero h1,
  .faq-hero h1 {
    text-wrap: balance;
  }
}

/* Link type separation before ASP approval */
.card-cta-stack {
  display: grid;
  gap: 8px;
  align-items: stretch;
}

.table-card-head .card-cta-stack {
  margin-top: 8px;
}

.featured-card-actions .card-cta-stack {
  width: 100%;
}

.card-internal-cta {
  min-height: 44px;
}

.official-reference-cta {
  min-height: 42px;
  color: var(--primary-dark) !important;
  background: #fff !important;
  border: 1px solid rgba(11, 120, 182, .28) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
}

.official-reference-cta::before,
.official-reference-cta::after {
  content: none !important;
  display: none !important;
}

.official-reference-cta.disabled-cta {
  color: #60717d !important;
  background: #eef6fb !important;
  border-style: dashed !important;
  cursor: not-allowed;
  pointer-events: none;
}

.card-pr-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--warning-red);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.card-affiliate-cta {
  margin-top: 0;
}

/* Final mobile overflow guard */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 620px) {
  .hero-title-panel,
  .hero-lead,
  .hero-ribbon,
  .hero-link-row {
    width: min(100%, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
  }

  .hero-lead,
  .notice span {
    min-width: 0;
    word-break: normal !important;
    line-break: anywhere;
    overflow-wrap: anywhere !important;
  }

  .hero-lead {
    text-align: center !important;
  }

  .notice {
    overflow: hidden;
  }

  .sticky-bottom-cta {
    max-width: calc(100vw - 16px);
  }

  .featured-card-grid,
  .slot-grid,
  .function-grid,
  .usecase-grid,
  .industry-grid,
  .payment-carte-grid,
  .column-quick,
  .related-grid {
    justify-items: center !important;
  }

  .featured-card-grid > *,
  .slot-grid > *,
  .function-grid > *,
  .usecase-grid > *,
  .industry-grid > *,
  .payment-carte-grid > *,
  .column-quick > *,
  .related-grid > * {
    width: min(100%, 360px) !important;
    margin-inline: auto !important;
  }

  .article-body,
  .article-card,
  .overview-card,
  .conclusion-card,
  .article-verdict-card,
  .main-visual-card,
  .featured-card-slot,
  .slot-card,
  .payment-carte-card,
  .function-grid article,
  .usecase-card,
  .industry-card {
    margin-inline: auto !important;
  }

  .table-shell,
  .card-marquee,
  .card-marquee-label {
    margin-inline: auto !important;
  }

  .marquee-card {
    flex-basis: min(278px, calc(100vw - 56px)) !important;
  }
}

/* Final balance pass: footer, hero card rail, and article trust blocks */
@media (max-width: 1360px) {
  .card-marquee-shell {
    width: min(920px, calc(100% - 56px)) !important;
  }

  .card-marquee-label {
    display: none !important;
  }

  .hero {
    min-height: clamp(800px, 70vw, 900px) !important;
  }

  .hero-stage {
    min-height: clamp(800px, 70vw, 900px) !important;
    padding-bottom: 244px !important;
  }
}

@media (max-width: 980px) {
  .card-marquee-shell {
    width: min(720px, calc(100% - 28px)) !important;
    bottom: 18px !important;
  }

  .card-marquee {
    width: 100% !important;
  }

  .marquee-card {
    flex-basis: min(326px, calc(100vw - 72px)) !important;
  }

  .check-before-apply-box ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 900px !important;
  }

  .hero-stage {
    min-height: 900px !important;
    padding-bottom: 224px !important;
  }

  .card-marquee-shell {
    width: calc(100% - 18px) !important;
    bottom: 12px !important;
  }

  .marquee-card {
    flex-basis: min(286px, calc(100vw - 42px)) !important;
  }

  .field-failure-box dl div {
    grid-template-columns: 1fr;
  }

  .check-before-apply-box ul {
    grid-template-columns: 1fr;
  }

  .practitioner-pickup li,
  .check-before-apply-box li {
    padding-left: 24px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Card image and logo permission guard */
.card-media-frame,
.featured-card-visual,
.placeholder-card-visual,
.marquee-card-art {
  display: grid;
  place-items: center;
}

.uses-abstract-card::before,
.uses-abstract-card::after {
  content: none !important;
}

.featured-card-visual.uses-abstract-card,
.marquee-card-art.uses-abstract-card {
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 224, 138, .22), transparent 26%),
    linear-gradient(135deg, rgba(231, 246, 255, .86), rgba(199, 235, 255, .72));
}

.placeholder-card-visual.uses-abstract-card {
  width: 150px;
  height: auto;
  min-height: 92px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.has-authorized-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.abstract-card-placeholder {
  position: relative;
  display: grid;
  align-content: space-between;
  width: min(100%, 220px);
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 16px;
  overflow: hidden;
  color: #083f61;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, .72), transparent 24%),
    linear-gradient(135deg, #dff5ff 0%, #9ddcff 58%, #fff2b8 100%);
  box-shadow: inset 0 0 0 1px rgba(11, 120, 182, .12), 0 14px 30px rgba(11, 120, 182, .16);
}

.abstract-card-placeholder::before {
  content: "";
  width: 34px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fff5a8 0 50%, #6fc7f0 50% 100%);
  box-shadow: 0 0 0 1px rgba(8, 75, 120, .08);
}

.abstract-card-placeholder::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -36px;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .36);
}

.abstract-card-placeholder span,
.abstract-card-placeholder strong,
.abstract-card-placeholder small,
.featured-card-visual .abstract-card-placeholder span,
.featured-card-visual .abstract-card-placeholder strong,
.placeholder-card-visual .abstract-card-placeholder span,
.placeholder-card-visual .abstract-card-placeholder strong {
  position: relative !important;
  inset: auto !important;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  letter-spacing: 0;
}

.abstract-card-placeholder span {
  color: #0b78b6 !important;
  font-size: 12px !important;
  font-weight: 900;
}

.abstract-card-placeholder strong {
  color: #083f61 !important;
  font-size: clamp(16px, 1.6vw, 20px) !important;
  line-height: 1.25;
}

.abstract-card-placeholder small {
  color: #42687c;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.placeholder-card-note {
  margin: 6px 0 0;
  color: #5b7080;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.placeholder-card-visual .abstract-card-placeholder {
  width: 126px;
  min-height: 76px;
  padding: 10px;
  border-radius: 10px;
}

.placeholder-card-visual .abstract-card-placeholder::before {
  width: 22px;
  height: 16px;
  border-radius: 4px;
}

.placeholder-card-visual .abstract-card-placeholder strong {
  font-size: 12px !important;
}

.placeholder-card-visual .abstract-card-placeholder small {
  display: none;
}

.marquee-card-art .abstract-card-placeholder {
  width: 100%;
  min-height: 100%;
}

/* Hero CTA vs card marquee — prevent overlap */
.hero-stage {
  align-items: start !important;
  padding-bottom: clamp(280px, 22vw, 320px) !important;
}

.hero,
.hero-stage {
  min-height: clamp(860px, 72vw, 960px) !important;
}

.hero-link-row {
  position: relative;
  z-index: 8;
}

@media (max-width: 1360px) {
  .hero,
  .hero-stage {
    min-height: clamp(880px, 78vw, 980px) !important;
  }

  .hero-stage {
    padding-bottom: 290px !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .hero-stage {
    min-height: 920px !important;
  }

  .hero-stage {
    padding-bottom: 260px !important;
  }
}

@media (max-width: 620px) {
  .hero,
  .hero-stage {
    min-height: 960px !important;
  }

  .hero-stage {
    padding-bottom: 270px !important;
  }
}

/* Same-page TOC anchors: keep headings below sticky header */
html {
  scroll-behavior: smooth;
}

.article-body h2[id],
.article-body h3[id],
.article-content h2[id],
.article-content h3[id],
.article-card[id],
.toc-card + * h2[id] {
  scroll-margin-top: 120px;
}

@media (max-width: 768px) {
  .article-body h2[id],
  .article-body h3[id],
  .article-content h2[id],
  .article-content h3[id],
  .article-card[id] {
    scroll-margin-top: 96px;
  }
}

/* MASAYUKI author brand */
.author-hero-inner,
.author-hero-grid {
  display: grid;
  gap: 22px;
}

.author-hero-grid {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
}

.author-avatar {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0b78b6, #004544);
  box-shadow: 0 18px 40px rgba(11, 120, 182, .22);
  font-size: 42px;
  font-weight: 900;
}

.author-role {
  margin: 8px 0 14px;
  color: #0b4f6c;
  font-weight: 800;
}

.author-profile-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(40, 169, 224, .22);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(20, 91, 133, .08);
}

.author-profile-card.is-lead {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto;
}

.author-profile-card .author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  font-size: 28px;
}

.author-profile-kicker {
  margin: 0 0 4px;
  color: #0b78b6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.author-profile-copy {
  display: grid;
  gap: 8px;
}

.author-profile-copy strong a {
  color: #004544;
  text-decoration: none;
}

.author-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.experience-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.experience-official {
  color: #0b4f6c;
  background: #e8f4ff;
}

.experience-memo {
  color: #045c63;
  background: #dff8f4;
}

.experience-judgment {
  color: #1f5b37;
  background: #e8f8ec;
}

.experience-expert,
.experience-label.experience-expert {
  color: #8a1f3d;
  background: #ffe6ef;
}

.author-brand-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(40, 169, 224, .12), transparent 28%),
    linear-gradient(180deg, #f7fcff, #ffffff);
}

.author-brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 24px;
  align-items: center;
}

.author-brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .author-hero-grid,
  .author-profile-card,
  .author-brand-grid {
    grid-template-columns: 1fr;
  }

  .author-avatar {
    width: 84px;
    height: 84px;
    font-size: 32px;
  }
}

.info-box,.case-box{margin:24px 0;padding:18px;border:1px solid #d7dee8;border-radius:10px;background:#f7f9fc}.case-box{border-left:4px solid #375a9e}.inline-cta{margin:20px 0}.inline-cta .large-gradient-cta{display:block;padding:16px 20px;border-radius:10px;background:linear-gradient(135deg,#173b7a,#4d74bf);color:#fff;text-align:center;text-decoration:none;font-weight:700}

/* Bizcre Batch A: mobile layout foundations and final overrides */
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; margin: 0; }
body { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
.bizcre-container, .wrap {
  width: min(calc(100% - 32px), 1120px) !important;
  margin-inline: auto !important;
}
.bizcre-content { min-width: 0; }

.bizcre-header, .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 64px;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.bizcre-header__inner, .header-inner {
  width: min(calc(100% - 32px), 1120px) !important;
  min-height: 64px;
  margin-inline: auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bizcre-menu-button { display: none; }
.bizcre-menu-backdrop[hidden] { display: none; }
.bizcre-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(11, 28, 43, .45);
}
.mobile-menu-panel {
  position: fixed;
  z-index: 3001;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
  color: var(--deep-2);
  background: #fff;
  box-shadow: -20px 0 48px rgba(11, 28, 43, .2);
  transform: translateX(100%);
  transition: transform .2s ease;
}
.mobile-menu-panel.is-open { transform: translateX(0); }
.mobile-menu-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 16px;
}
.mobile-menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 120, 182, .3);
  border-radius: 10px;
  color: var(--primary-dark);
  background: #fff;
  font-size: 28px;
  line-height: 1;
}
.mobile-menu-links { display: grid; gap: 8px; }
.mobile-menu-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #d5e7f1;
  border-radius: 10px;
  color: var(--deep-2);
  background: #f7fbff;
  font-weight: 800;
  text-decoration: none;
}
body.mobile-menu-open { overflow: hidden; }

.table-scroll, .table-shell {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.bizcre-article-header {
  scroll-margin-top: 80px;
}
.bizcre-article-header .wrap { min-width: 0; }
.bizcre-article-header .breadcrumb,
.bizcre-article-header .eyebrow,
.bizcre-article-header h1,
.bizcre-article-header > .wrap > p,
.bizcre-article-header .article-meta {
  max-width: 860px;
}

.sticky-bottom-cta {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.sticky-bottom-cta.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.sticky-bottom-cta.is-near-footer {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .bizcre-header, .site-header { min-height: 72px; }
  .bizcre-header__inner, .header-inner { min-height: 72px; }
}

@media (max-width: 767px) {
  .main-nav { display: none !important; }
  .bizcre-menu-button, .mobile-menu-toggle {
    position: static !important;
    flex: 0 0 52px;
    display: inline-grid !important;
    width: 52px;
    height: 52px;
    margin-left: auto;
    padding: 10px;
    place-items: center;
    gap: 4px;
    transform: none !important;
    top: auto;
    right: auto;
    border: 1px solid rgba(40, 169, 224, .45);
    border-radius: 12px;
    background: #fff;
  }
  .mobile-menu-toggle i { display: block !important; }
  .mobile-menu-floating-toggle { display: none !important; }

  main { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .sticky-bottom-cta {
    position: fixed;
    z-index: 1001;
    left: 8px !important;
    right: 8px !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: 88px;
    padding: 8px !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    border-radius: 16px;
    transform: none !important;
  }
  .sticky-copy, .sticky-bottom-cta__copy { display: none !important; }
  .sticky-bottom-cta .sticky-main,
  .sticky-bottom-cta .sticky-sub {
    min-height: 56px;
    padding: 8px;
    font-size: 13px;
    line-height: 1.2;
  }

  .featured-card-section > .wrap { width: 100%; }
  .featured-card-section .title-block { width: min(calc(100% - 32px), 1120px); margin-inline: auto; }
  .featured-card-grid {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 360px);
    grid-template-columns: none !important;
    gap: 12px;
    padding: 8px 16px 20px;
    overflow-x: auto;
    justify-content: start !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .featured-card-grid::-webkit-scrollbar { display: none; }
  .featured-card-grid > .featured-card-slot {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    scroll-snap-align: start;
  }
  .featured-card-slot {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }
  .featured-card-visual,
  .featured-card-slot .card-media-frame {
    width: min(100%, 320px) !important;
    aspect-ratio: 1.586 / 1;
    margin-inline: auto;
  }
  .featured-card-visual img { width: 100%; height: 100%; object-fit: contain; }

  .card-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; scroll-snap-type: x mandatory; }
  .card-marquee-track { animation: none !important; padding-inline: 16px; }
  .marquee-card { scroll-snap-align: start; }

  .bizcre-article-header { padding-top: 28px !important; padding-bottom: 30px !important; }
  .bizcre-article-header h1 { font-size: clamp(28px, 8vw, 38px) !important; line-height: 1.25; }
}

/* Canonical verified network / payment mark component.
   The official artwork is never cropped, recolored or stretched. Variants only
   standardize the optical viewport used by each Bizcre surface. */
.brand-mark-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  max-width: 100%;
  vertical-align: middle;
}

.brand-mark-group img {
  display: block;
  flex: 0 0 auto;
  width: auto !important;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.network-logo-group--inline,
.network-logo-group--compact,
.network-logo-group--modal,
.payment-method-logo-group--inline,
.payment-method-logo-group--compact,
.payment-method-logo-group--modal {
  min-height: 28px;
}

.network-logo-group--inline .network-logo-inline,
.network-logo-group--compact .network-logo-inline,
.network-logo-group--modal .network-logo-inline {
  max-width: 58px !important;
  max-height: 22px !important;
  margin: 0 !important;
}

.network-logo-group .network-logo-inline[data-network-id="visa"] {
  height: 15px !important;
}

.network-logo-group .network-logo-inline[data-network-id="mastercard"] {
  height: 20px !important;
}

.network-logo-group .network-logo-inline[data-network-id="jcb"] {
  height: 22px !important;
}

.network-logo-group .network-logo-inline[data-network-id="amex"] {
  height: 23px !important;
}

.network-logo-group .network-logo-inline[data-network-id="diners"] {
  height: 21px !important;
}

.payment-method-logo-group--inline .payment-method-logo-inline,
.payment-method-logo-group--compact .payment-method-logo-inline,
.payment-method-logo-group--modal .payment-method-logo-inline {
  width: auto !important;
  max-width: 78px !important;
  height: 22px !important;
  max-height: 22px !important;
  margin: 0 !important;
}

.payment-method-logo-group .payment-method-logo-inline[data-payment-method-id="visa-contactless"] {
  max-width: 54px !important;
  height: 24px !important;
  max-height: 24px !important;
}

.network-logo-group--discovery {
  display: inline-flex;
  width: 136px;
  height: 56px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: #fff;
}

.network-logo-group--discovery .network-logo-inline {
  max-width: 126px !important;
  max-height: 48px !important;
}

.network-logo-group--discovery .network-logo-inline[data-network-id="visa"] {
  height: 34px !important;
}

.network-logo-group--discovery .network-logo-inline[data-network-id="mastercard"] {
  height: 44px !important;
}

.network-logo-group--discovery .network-logo-inline[data-network-id="jcb"],
.network-logo-group--discovery .network-logo-inline[data-network-id="amex"] {
  height: 48px !important;
}

.network-logo-group--discovery .network-logo-inline[data-network-id="diners"] {
  height: 42px !important;
}

.network-logo-row > .network-logo-group--capability {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  gap: 5px;
}

.network-logo-group--capability .network-logo-inline[data-network-id] {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  height: 34px !important;
  max-height: 34px !important;
  border: 1px solid #d5eaf5;
  border-radius: 7px;
  padding: 4px;
  background: #fff;
}

.payment-logo-row > .payment-method-logo-group--capability {
  width: 100%;
}

.payment-method-logo-group--capability .payment-method-logo-inline[data-payment-method-id] {
  width: auto !important;
  max-width: 104px !important;
  height: 34px !important;
  max-height: 34px !important;
}

.brand-logo-filter > .network-logo-group--discovery,
.networks-hub-item > .network-logo-group--discovery {
  flex: 0 0 136px;
}

.card-market-item__networks,
.card-market-item__payment-methods {
  display: flex;
  min-height: 28px;
  align-items: center;
}

.bizcre-app-modal__brand-marks {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #d7eaf3;
  border-radius: 12px;
  background: #f7fbfd;
}

.bizcre-app-modal__brand-marks > div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.bizcre-app-modal__brand-marks > div > span:first-child {
  color: #526c7a;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 639px) {
  .network-logo-group--compact,
  .payment-method-logo-group--compact {
    gap: 4px 6px;
  }

  .network-logo-group--compact .network-logo-inline {
    max-width: 48px !important;
  }

  .payment-method-logo-group--compact .payment-method-logo-inline {
    max-width: 64px !important;
    height: 19px !important;
  }

  .network-logo-row > .network-logo-group--capability {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .bizcre-app-modal__brand-marks > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-panel, .sticky-bottom-cta { transition: none; }
}

/* ===== Cross-media page shells (Bizcre / Tabicre / Motekure) =====
   Full-bleed backgrounds may sit outside; body copy always uses __inner. */
.page-shell,
.article-shell,
.card-detail-shell,
.author-shell,
.hub-shell {
  width: 100%;
}

.page-shell__inner,
.hub-shell__inner,
.author-shell__inner {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}

.article-shell__inner {
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
}

.card-detail-shell__inner {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}

/* Legacy sections without wrap: force centered container */
main > .article-hero > :not(.article-shell__inner):not(.page-shell__inner),
main > .section > :not(.wrap):not(.page-shell__inner):not(.article-shell__inner),
.article-hero:not(:has(.article-shell__inner)):not(:has(.wrap)) {
  /* structural fix is applied by scripts/fix-page-shells.mjs */
}

.article-hero .article-shell__inner,
.article-hero .page-shell__inner,
.article-hero .wrap {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}

.article-body,
.article-layout {
  width: 100%;
  min-width: 0;
}

.article-layout {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}

.article-body {
  max-width: 920px;
}

@media (max-width: 767px) {
  .page-shell__inner,
  .article-shell__inner,
  .card-detail-shell__inner,
  .hub-shell__inner,
  .author-shell__inner,
  .article-layout,
  .article-hero .article-shell__inner,
  .article-hero .page-shell__inner,
  .article-hero .wrap {
    width: calc(100% - 32px);
  }
}

/* CardDetailPageShell */
.card-detail-shell__inner {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
  padding-block: 24px 64px;
}
.card-article-shell__inner {
  width: min(100%, 920px);
  margin-inline: auto;
}
.card-detail-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}
.bizcre-main-content .card-detail-hero__summary h1 {
  display: block;
  overflow: visible;
  font-size: clamp(30px, 3vw, 44px);
  -webkit-line-clamp: unset;
}
.required-parent-notice {
  display: grid;
  gap: 5px;
  margin-block: 14px;
  padding: 14px 16px;
}
.required-parent-notice strong {
  font-size: 17px;
}
.required-parent-card-visual {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 340px);
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid rgba(14, 128, 179, 0.24);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(233, 247, 253, 0.92), rgba(255, 255, 255, 0.98));
}
.required-parent-card-visual .card-face-figure {
  margin: 0;
}
.card-face-figure img,
.card-face-placeholder {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1.586 / 1;
  object-fit: contain;
  background: #f3f7f5;
  border-radius: 12px;
}
.card-face-placeholder {
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  color: #5a726a;
  font-size: 14px;
  border: 1px dashed rgba(90, 114, 106, 0.35);
}
.card-face-placeholder strong {
  font-size: 13px;
  line-height: 1.35;
  color: #24352f;
}
.card-face-placeholder small {
  font-size: 11px;
  color: #6b7f77;
}
.hero-face-pending {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  border: 1px dashed rgba(20, 91, 133, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
}
.hero-face-pending strong {
  font-size: 16px;
}
.hero-face-pending p {
  margin: 0;
  font-size: 13px;
  color: #456;
  max-width: 36em;
}
.brand-logo-filter__name-only {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  color: #1a2a24;
}
.network-logo-inline {
  display: inline-block;
  height: 26px;
  width: auto;
  max-width: 76px;
  margin-right: 6px;
  vertical-align: middle;
  object-fit: contain;
}
.brand-mark-row,
.payment-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.payment-method-logo-inline,
.payment-logo-row img {
  display: inline-block;
  width: auto;
  max-width: 92px;
  height: 28px;
  object-fit: contain;
  object-position: center;
}
.payment-logo-row {
  min-height: 42px;
  margin: 10px 0 4px;
}
.payment-logo-row img {
  max-width: 104px;
  height: 34px;
}
.network-logo-text {
  display: inline-block;
  margin-right: 6px;
  font-size: 12px;
  font-weight: 700;
}
.card-market-item__networks {
  min-height: 24px;
  margin: 4px 0 8px;
}
.card-market-item__payment-methods {
  min-height: 30px;
  margin: -4px 0 4px;
}
.card-market-grid,
#cards-directory-list.card-market-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .card-market-grid,
  #cards-directory-list.card-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .card-market-grid,
  #cards-directory-list.card-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1440px) {
  .card-market-grid,
  #cards-directory-list.card-market-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.card-market-item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card-market-item__name {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-market-item__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card-market-card__audience,
.card-market-card__fee {
  margin: 0;
  font-size: 13px;
  color: #445;
}
.card-market-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card-market-card__features li {
  font-size: 12px;
  font-weight: 700;
  color: #073454;
  background: #eef6fb;
  border-radius: 999px;
  padding: 3px 10px;
}
.compare-empty {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px dashed rgba(20, 91, 133, .28);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
}
.comparison-scroll {
  overflow-x: auto;
  max-width: 100%;
}
.comparison-grid {
  min-width: calc(180px + var(--card-count, 2) * 240px);
}
body.has-compare-tray .sticky-bottom-cta,
body.bizcre-cards-surface .sticky-bottom-cta {
  display: none !important;
}
.floating-campaign-box {
  bottom: 24px;
  right: 16px;
  z-index: 40;
}
.card-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.face-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.face-tab {
  border: 1px solid rgba(13, 79, 66, .2);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}
.face-tab.is-active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}
.compare-table {
  min-width: 640px;
}
.breadcrumb {
  margin-bottom: 16px;
  font-size: 13px;
}
@media (max-width: 767px) {
  .card-detail-shell__inner,
  .card-article-shell__inner {
    width: calc(100% - 32px);
  }
  .card-detail-hero {
    grid-template-columns: 1fr;
  }
  .required-parent-card-visual {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}


/* Comparison table: sticky axis + up to 4 card columns (scroll, never overlap) */
.comparison-section .table-shell,
.table-shell.compare-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.comparison-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}
.comparison-table th,
.comparison-table td {
  width: auto;
  min-width: 180px;
  max-width: 260px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.comparison-table th.sticky,
.comparison-table td.sticky,
.comparison-table .sticky {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 140px;
  max-width: 180px;
  background: #f6fbf8;
}
.comparison-table thead th.sticky {
  background: var(--deep);
  z-index: 3;
}
.table-card-head {
  display: grid;
  gap: 8px;
  justify-items: center;
  position: relative;
}
.table-card-head img,
.table-card-head .abstract-card-placeholder,
.table-card-head .placeholder-card-visual {
  position: relative;
  max-width: 160px;
  width: 100%;
  height: auto;
}

/* ===== Card marketplace (hero / grid / facets / compare tray) ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-market {
  position: relative;
  min-height: auto !important;
  padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 64px);
  overflow: hidden;
}

.hero-market .hero-visual {
  opacity: .35;
  object-fit: cover;
}

.hero-market-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.hero-market-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hero-search-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 4px;
}

.hero-search-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(20, 91, 133, .22);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  background: rgba(255, 255, 255, .92);
}

.hero-search-form button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 800;
  color: #fff;
  background: #0b78b6;
  cursor: pointer;
}

.hero-search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 2px;
  max-height: 320px;
  overflow: auto;
  border: 1px solid rgba(20, 91, 133, .18);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 60, 90, .14);
}

.hero-search-suggest a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

.hero-search-suggest a:hover { background: #f3f9fd; }
.hero-search-suggest em {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #0b78b6;
}

.hero-market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(20, 91, 133, .18);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, .88);
  text-decoration: none;
  color: #073454;
  font-size: 13px;
  font-weight: 700;
}

.market-chip em {
  font-style: normal;
  color: #0b78b6;
  font-weight: 900;
}

.hero-card-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
}

/* Fewer than 3 approved card faces: stack stays empty, hero-visual + search carry the hero. */
.hero-card-stack:empty {
  display: none;
}

.hero-face-card {
  display: grid;
  gap: 8px;
  width: min(100%, 360px);
  margin-inline: auto;
  text-decoration: none;
  color: inherit;
  transform: translateX(calc(var(--i, 0) * 12px));
}

.hero-face-card img,
.card-market-item__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  height: auto;
  object-fit: contain;
  background: #f4f8fb;
  border: 1px solid rgba(20, 91, 133, .12);
  border-radius: 14px;
}

.hero-face-card span {
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.hero-market-empty {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px dashed rgba(20, 91, 133, .28);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
}

.card-market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-inline: auto;
}

.card-market-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(20, 91, 133, .12);
  border-radius: 16px;
  background: #fff;
}

.card-market-item__issuer {
  margin: 0;
  font-size: 12px;
  color: #4a6678;
  font-weight: 700;
}

.card-market-item__name {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.card-market-item__name a {
  color: inherit;
  text-decoration: none;
}

.card-market-item__audience {
  margin: 0;
  font-size: 12px;
  color: #5b7384;
}

.card-market-item__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.card-market-item__metrics div {
  display: grid;
  gap: 2px;
}

.card-market-item__metrics dt {
  font-size: 10px;
  color: #6a8090;
}

.card-market-item__metrics dd {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.card-market-item__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-market-item__badges span {
  border-radius: 999px;
  padding: 3px 8px;
  background: #eef6fb;
  font-size: 11px;
  font-weight: 700;
}

.card-market-item__masayuki-note {
  margin: 0;
  min-height: 2.6em;
  font-size: 12px;
  color: #355066;
  line-height: 1.5;
}

.card-market-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-market-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.card-market-filters__row label,
.card-market-filters__grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  flex: 1 1 220px;
}

.card-market-filters__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.card-market-filters input,
.card-market-filters select {
  min-height: 42px;
  border: 1px solid rgba(20, 91, 133, .2);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
}

.card-market-result-meta {
  margin: 14px 0 0;
  font-size: 14px;
}

.brands-hub-grid,
.brands-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cards-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cards-pager a {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 91, 133, .18);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.cards-pager a.is-active {
  background: #0b78b6;
  color: #fff;
  border-color: #0b78b6;
}

.compare-tray {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 12px;
  background: rgba(7, 52, 84, .92);
  color: #fff;
}

.compare-tray__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: min(1100px, 100%);
  margin-inline: auto;
}

.compare-tray__faces {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.compare-tray .table-cta {
  background: #fff;
  color: #073454;
}

@media (max-width: 1100px) {
  .card-market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-market-filters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brands-hub-grid, .brands-teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero-market-grid { grid-template-columns: 1fr; }
  .hero-card-stack {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78%);
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
  }
  .hero-face-card { transform: none; width: 100%; }
  .card-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-market-filters__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .card-market-grid { grid-template-columns: 1fr; }
  .card-market-filters__grid { grid-template-columns: 1fr; }
  .brands-hub-grid, .brands-teaser-grid { grid-template-columns: 1fr; }
  .card-market-item__metrics { grid-template-columns: 1fr; }

  .compare-tray {
    padding: 8px 10px;
  }

  .compare-tray__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: stretch;
  }

  .compare-tray__inner > strong {
    white-space: nowrap;
    font-size: 14px;
  }

  .compare-tray__faces {
    display: none;
  }

  .compare-tray .table-cta {
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 8px 10px;
    font-size: 14px;
  }

  body.has-compare-tray {
    padding-bottom: 72px;
  }
}

/* ===== Bizcre browser review polish (2026-07-16) ===== */
/* Empty interactive containers must not reserve a visual row. */
.hero-search-suggest[hidden],
.hero-market-chips[hidden],
.hero-market-chips:empty {
  display: none !important;
}

/* Concise, intentional two-line home headline. */
.hero-market #hero-title {
  max-width: none !important;
  margin: 0 !important;
  font-size: clamp(42px, 4.4vw, 62px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
}

.hero-market #hero-title .hero-title-line,
.hero-market #hero-title .hero-title-small {
  display: block !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.hero-market #hero-title .hero-title-line {
  font-size: 1em !important;
}

.hero-market #hero-title .hero-title-small {
  margin-top: .12em !important;
  font-size: .72em !important;
  line-height: 1.18 !important;
}

/* Approved card-face marquee. It is a full-width second row in the market hero. */
.hero-market-grid > .card-marquee-shell[data-hero-marquee="true"] {
  position: relative;
  inset: auto !important;
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1120px;
  margin: clamp(10px, 2vw, 24px) auto 0;
  transform: none !important;
  display: grid;
  gap: 10px;
}

.hero-market-grid > .card-marquee-shell[data-hero-marquee="true"]:empty {
  display: none !important;
}

.hero-market .card-marquee-label {
  display: flex !important;
  width: 100%;
  color: #073454;
}

.hero-market .card-marquee-label > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.card-marquee-toggle {
  min-width: 96px;
  min-height: 44px;
  border: 1px solid #78bde2;
  border-radius: 999px;
  padding: 8px 16px;
  color: #075b8c;
  background: rgba(255, 255, 255, .92);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.hero-market .card-marquee {
  width: 100%;
  max-width: none;
}

@keyframes bizcreApprovedCardMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}

.hero-market .card-marquee-track {
  gap: 16px;
  padding: 12px 0;
  animation: bizcreApprovedCardMarquee 32s linear infinite;
}

.hero-market .card-marquee-shell.is-paused .card-marquee-track {
  animation-play-state: paused;
}

.hero-market .marquee-card {
  flex-basis: clamp(330px, 32vw, 390px);
  grid-template-columns: 136px minmax(0, 1fr);
  color: #073454;
  text-decoration: none;
}

.hero-market .marquee-card:focus-visible,
.hero-market .marquee-card:hover {
  outline: 3px solid rgba(11, 120, 182, .38);
  outline-offset: 2px;
}

.hero-market .marquee-card-art {
  display: grid;
  min-height: 0;
  aspect-ratio: 1.586 / 1;
  place-items: center;
  align-self: center;
  background: rgba(255, 255, 255, .88);
}

.hero-market .marquee-card-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-market .marquee-card-body {
  display: grid;
}

.hero-market .marquee-card-body .marquee-card-meta {
  width: auto;
  padding: 0;
  border-radius: 0;
  color: #416779;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
}

/* Related navigation is an action area, not a run of inline text. */
main section:has(> nav.related-links) {
  padding-block: clamp(24px, 3vw, 40px);
}

main section:has(> nav.related-links) > h2 {
  margin: 0 0 16px;
  border-left: 7px solid #19a7df;
  border-radius: 12px;
  padding: 12px 18px;
  color: #064f7b;
  background: linear-gradient(100deg, #dff4ff 0%, #f7fcff 72%);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.related-links + .related-links {
  margin-top: 14px;
}

.related-links > strong {
  grid-column: 1 / -1;
  display: block;
  border-radius: 10px;
  padding: 9px 13px;
  color: #fff;
  background: linear-gradient(110deg, #075b8c, #18a7df);
  font-size: 14px;
  line-height: 1.4;
}

.related-links > a,
.related-grid > a,
.side-box > a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #9ed4ef;
  border-radius: 11px;
  padding: 11px 14px;
  color: #075b8c;
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 101, 151, .08);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

.related-links > a::after,
.related-grid > a::after,
.side-box > a::after {
  content: "→";
  flex: 0 0 auto;
  color: #18a7df;
  font-size: 18px;
}

.related-links > a:hover,
.related-links > a:focus-visible,
.related-grid > a:hover,
.related-grid > a:focus-visible {
  border-color: #0b78b6;
  background: #edf9ff;
  transform: translateY(-1px);
}

.related-section--enhanced {
  padding-block: clamp(22px, 3vw, 38px) !important;
}

.related-heading-band {
  margin: 0 0 16px !important;
  border-left: 7px solid #19a7df;
  border-radius: 12px;
  padding: 12px 18px !important;
  color: #064f7b !important;
  background: linear-gradient(100deg, #dff4ff 0%, #f7fcff 72%);
  font-size: clamp(22px, 2.5vw, 30px) !important;
  line-height: 1.3 !important;
}

.related-links--generated {
  margin-top: 0;
}

.related-links-note {
  margin: 10px 0 0;
  color: #567486;
  font-size: 13px;
  line-height: 1.65;
}

.related-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-link-list > li {
  margin: 0 !important;
}

.related-link-list a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #9ed4ef;
  border-radius: 11px;
  padding: 11px 14px;
  color: #075b8c;
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 101, 151, .08);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

.related-link-list a::after {
  content: "→";
  flex: 0 0 auto;
  color: #18a7df;
  font-size: 18px;
}

/* Industry hub uses compact editorial cards instead of full landing-page gaps. */
.industry-intro-section,
.industry-focus-section,
.industry-hub-heading,
.industry-hub-list-section,
.industry-hub-related-section {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.industry-intro-section,
.industry-focus-section {
  margin-block: 18px;
  border: 1px solid #c6e4f4;
  border-radius: 16px;
  padding: clamp(22px, 3vw, 34px) !important;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 101, 151, .08);
}

.industry-intro-section > h2,
.industry-focus-section > h2,
.industry-intro-section > .page-shell__inner > h2,
.industry-focus-section > .page-shell__inner > h2,
.industry-hub-heading > h2,
.industry-hub-list-section > h2,
.industry-hub-related-section > h2 {
  margin: 0 0 16px;
  border-left: 7px solid #19a7df;
  border-radius: 12px;
  padding: 12px 18px;
  color: #064f7b;
  background: linear-gradient(100deg, #dff4ff, #f8fdff);
  font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.25;
}

.industry-intro-section > p,
.industry-focus-section > p,
.industry-intro-section > .page-shell__inner > p,
.industry-focus-section > .page-shell__inner > p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.75;
}

.industry-hub-heading {
  padding-block: 32px 10px !important;
}

.industry-hub-list-section,
.industry-hub-related-section {
  padding-block: clamp(30px, 4vw, 52px) !important;
}

/* Column and use-case labels must read as labels, including long words. */
.usecase-card > span {
  width: auto !important;
  min-width: 42px;
  height: auto !important;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 14px !important;
  line-height: 1.2;
  white-space: nowrap;
}

.usecase-card h2,
.usecase-card h3 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
}

.usecase-card p {
  font-size: 15px;
  line-height: 1.75;
}

/* Payment carte: fixed hierarchy and action baseline across every card. */
.payment-carte-grid {
  align-items: stretch;
}

.payment-carte-card {
  display: flex;
  min-height: 600px;
  flex-direction: column;
  padding: 18px 16px;
}

.payment-carte-card > span {
  align-self: flex-start;
  min-height: 34px;
  padding: 7px 12px;
  font-size: 14px;
}

.payment-carte-card dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 12px;
}

.payment-carte-card dl > div {
  border-left: 4px solid #8fd5f4;
  border-radius: 8px;
  padding: 9px 10px;
  background: #f5fbff;
}

.payment-carte-card dt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 1.4;
}

.payment-carte-card dt::before {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #0b78b6;
  font-size: 11px;
  font-weight: 900;
}

.payment-carte-card dl > div:nth-child(1) dt::before { content: "支"; }
.payment-carte-card dl > div:nth-child(2) dt::before { content: "軸"; }
.payment-carte-card dl > div:nth-child(3) dt::before { content: "注"; }
.payment-carte-card dl > div:nth-child(4) dt::before { content: "条"; }

.payment-carte-card dd {
  margin-top: 6px;
  color: #163a4d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.payment-carte-card > p {
  margin: 0 0 14px;
  color: #567486;
  font-size: 12px;
  line-height: 1.55;
}

.payment-carte-card__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.payment-carte-card__actions > a {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 10px 12px;
  text-align: center;
  line-height: 1.35;
}

.payment-carte-card .payment-carte-card__secondary-action {
  color: #075b8c !important;
  border: 2px solid #7bc8eb !important;
  background: #fff !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Visual feature cards: pictogram first, then name and verification context. */
.function-visual-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: 12px;
  align-items: start;
}

.function-visual {
  grid-column: 1 / -1;
  display: grid;
  min-height: 92px;
  place-items: center;
  margin: -4px -4px 14px;
  border-radius: 12px;
  color: #0b78b6;
  background: linear-gradient(135deg, #e3f6ff, #f8fdff);
}

.function-visual__icon {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.function-visual-grid .function-number {
  grid-column: 1;
  width: 42px;
  min-width: 42px;
  justify-self: start;
  margin: 0;
}

.function-visual-grid h3 {
  grid-column: 2;
  align-self: center;
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: auto-phrase;
}

.function-visual-grid .payment-name-chips,
.function-visual-grid .network-logo-row,
.function-visual-grid article > p {
  grid-column: 1 / -1;
}

.payment-name-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 10px;
}

.payment-name-chips b {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid #9ed4ef;
  border-radius: 999px;
  padding: 5px 10px;
  color: #075b8c;
  background: #fff;
  font-size: 12px;
  line-height: 1.2;
}

.network-logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  align-items: center;
  margin: 12px 0 10px;
}

.network-logo-row img {
  display: block;
  width: 100%;
  height: 34px;
  object-fit: contain;
  border: 1px solid #d5eaf5;
  border-radius: 7px;
  padding: 4px;
  background: #fff;
}

/* Six visual industry paths form a balanced 3x2 desktop grid. */
.industry-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.industry-visual-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  border: 1px solid #b9def1;
  border-radius: 16px;
  padding: 20px;
  color: #12384c;
  background: #fff;
  box-shadow: 0 14px 32px rgba(20, 101, 151, .09);
  text-decoration: none;
}

.industry-visual-card__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  color: #0b78b6;
  background: linear-gradient(135deg, #dcf3ff, #f5fcff);
}

.industry-visual-card__icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-visual-card h3 {
  margin: 16px 0 8px;
  color: #064f7b;
  font-size: 22px;
  line-height: 1.35;
}

.industry-visual-card p {
  margin: 0 0 18px;
  color: #48697a;
  font-size: 15px;
  line-height: 1.7;
}

.industry-visual-card__cta {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  border-radius: 10px;
  padding: 10px 13px;
  color: #fff;
  background: linear-gradient(110deg, #075b8c, #18a7df);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.industry-visual-card:hover,
.industry-visual-card:focus-visible {
  border-color: #0b78b6;
  transform: translateY(-2px);
}

.industry-visual-section__all {
  display: flex;
  justify-content: center;
  margin: 24px 0 0;
}

@media (max-width: 820px) {
  .hero-market #hero-title {
    font-size: clamp(36px, 9vw, 52px) !important;
  }

  .hero-market-grid > .card-marquee-shell[data-hero-marquee="true"] {
    grid-column: 1;
    width: 100%;
  }

  .hero-market .marquee-card {
    flex-basis: min(82vw, 340px);
  }

  .industry-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .related-link-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-market .card-marquee-track {
    animation: bizcreApprovedCardMarquee 28s linear infinite !important;
  }
}

@media (max-width: 560px) {
  .hero-market #hero-title {
    font-size: clamp(32px, 10vw, 42px) !important;
  }

  .hero-market #hero-title .hero-title-small {
    font-size: .7em !important;
  }

  .hero-market .card-marquee-label {
    justify-content: space-between;
    text-align: left;
  }

  .hero-market .card-marquee-label > div {
    display: grid;
    gap: 2px;
  }

  .hero-market .card-marquee-label span {
    display: block;
  }

  .hero-market .marquee-card {
    flex-basis: min(84vw, 310px);
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .industry-visual-grid,
  .function-visual-grid {
    grid-template-columns: 1fr;
  }

  .industry-visual-card {
    min-height: 260px;
  }

  .payment-carte-card {
    min-height: 570px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-market .card-marquee-track {
    animation: none !important;
  }
}

/* ===== Card selection funnel (brand / fee / use / compare) ===== */
html.bizcre-filter-pending #cards-directory {
  visibility: hidden;
}

#cards-directory[data-filter-ready="true"] {
  visibility: visible;
}

.selection-subtitle {
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 900;
  color: #073454;
}

.brand-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.brand-logo-filter {
  position: relative;
  min-height: 84px;
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid rgba(20, 91, 133, .16);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: #073454;
  text-align: center;
}

.brand-logo-filter:focus-visible {
  outline: 3px solid rgba(11, 120, 182, .45);
  outline-offset: 2px;
}

.brand-logo-filter.is-active {
  border-color: #0b78b6;
  background: #eef7fc;
  box-shadow: inset 0 0 0 1px #0b78b6;
}

.brand-logo-filter.is-active::after {
  content: "選択中";
  position: absolute;
  top: 6px;
  right: 7px;
  border-radius: 999px;
  padding: 2px 6px;
  background: #0b78b6;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
}

.brand-logo-filter img {
  width: 72px;
  height: 40px;
  object-fit: contain;
}

.brand-logo-filter__mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e8f4fb;
  font-weight: 900;
}

.brand-logo-filter__name {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.brand-logo-filter__count {
  font-size: 11px;
  color: #0b78b6;
  font-weight: 800;
}

.selection-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selection-chip,
.active-filter-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(20, 91, 133, .18);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.selection-chip em,
.active-filter-chip {
  font-style: normal;
  color: #0b78b6;
}

.fit-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef6fb;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

.home-compare-slot:empty { display: none; }

.compare-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

body.has-compare-tray {
  padding-bottom: 96px;
}

.use-case-cards-cta {
  margin: 16px 0 24px;
  padding: 16px;
  border: 1px solid rgba(20, 91, 133, .16);
  border-radius: 14px;
  background: #f7fbfe;
}

@media (max-width: 820px) {
  .brand-filter-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(110px, 36%);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .card-market-filters summary {
    min-height: 44px;
    font-weight: 800;
    cursor: pointer;
  }
}

@media (max-width: 520px) {
  .brand-filter-grid {
    grid-auto-columns: minmax(30%, 1fr);
  }
}

/* ===== Bizcre master page grid / ad rails / typography (2026-07) ===== */
.bizcre-header.site-header,
.site-header.bizcre-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: #fff;
  border-bottom: 1px solid rgba(13, 79, 66, .14);
  backdrop-filter: none;
}
.bizcre-header .header-inner,
.site-header.bizcre-header .header-inner {
  min-height: 72px;
  width: min(1200px, calc(100% - 32px));
}
@media (max-width: 767px) {
  .bizcre-header .header-inner,
  .site-header.bizcre-header .header-inner { min-height: 64px; }
}
.bizcre-header .logo-brand {
  text-decoration: none;
  color: inherit;
}
.bizcre-header .logo-brand img {
  display: block;
  height: 36px;
  width: auto;
}
.bizcre-header .brand-tagline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #5a6b66;
  line-height: 1.3;
  max-width: 14em;
}
.bizcre-header .main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: flex-end;
}
.bizcre-header .main-nav a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #12352e;
}
.bizcre-header .main-nav a.bizcre-nav-cta {
  background: #0d4f42;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
}
@media (max-width: 980px) {
  .bizcre-header .main-nav { display: none; }
}

/* ===== Bizcre Phase 1: build-time page shell (grid + hero guard) =====
   Structure is written at build time by apply-build-time-shells.mjs (see
   scripts/lib/bizcreShell.mjs). .bizcre-content-layout is an alias of
   .bizcre-page-grid — both classes are always applied together so either
   selector name works; new rules below target both for clarity. */

/* Top hero (#hero-market / .hero-market) is written OUTSIDE the grid/rail
   wrapper by build time and must never inherit the --content-max: 920px (or
   1120/1200px) column width, even defensively if something nests it. */
.hero,
#hero-market,
.hero-market {
  max-width: none;
}
.bizcre-page-grid .wrap.hero-market-grid,
.bizcre-content-layout .wrap.hero-market-grid,
.bizcre-page-grid #hero-market,
.bizcre-content-layout #hero-market,
.bizcre-page-grid .hero-market,
.bizcre-content-layout .hero-market {
  width: 100%;
  max-width: none;
}

@media (min-width: 1200px) {
  .hero-market {
    min-height: 600px;
    display: flex;
    align-items: center;
  }
  .hero-market .hero-market-grid {
    max-width: 1200px;
    margin-inline: auto;
    width: 100%;
  }
  #hero-title {
    /* !important required: legacy .hero h1 rules elsewhere in this file also carry
       !important, which otherwise wins over this ID selector regardless of source order. */
    font-size: clamp(46px, 4.6vw, 68px) !important;
    line-height: 1.22 !important;
  }
}

/* Market hero on small screens: single column, no overlap, CTA row >= 16px gap.
   Higher specificity (.hero-market .hero-link-row) beats the legacy .hero-link-row
   rules elsewhere in this file (some of which drop to 10px !important below 620px). */
@media (max-width: 820px) {
  .hero-market .hero-search-form input,
  .hero-market .hero-search-form button {
    min-height: 48px;
  }
  .hero-market .hero-link-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 16px !important;
  }
}

.bizcre-page-grid,
.bizcre-content-layout {
  --content-max: 920px;
  display: grid;
  grid-template-columns:
    minmax(24px, 1fr)
    minmax(0, var(--content-max))
    minmax(24px, 1fr);
  width: 100%;
  align-items: stretch;
  min-height: 40vh;
}
.bizcre-page-grid--market,
.bizcre-content-layout--market {
  --content-max: 1120px;
}
.bizcre-main-content {
  grid-column: 2;
  min-width: 0;
  width: 100%;
  max-width: none;
}
.bizcre-left-rail {
  grid-column: 1;
  min-width: 0;
}
.bizcre-right-rail {
  grid-column: 3;
  min-width: 0;
}
.bizcre-left-rail:empty,
.bizcre-right-rail:empty {
  border: 0;
  background: transparent;
  pointer-events: none;
}

@media (min-width: 1200px) {
  body.bizcre-recommendation-rail-layout .bizcre-page-grid,
  body.bizcre-recommendation-rail-layout .bizcre-content-layout,
  body.bizcre-recommendation-rail-layout .bizcre-page-grid--market,
  body.bizcre-recommendation-rail-layout .bizcre-content-layout--market {
    grid-template-columns: minmax(24px, 1fr) minmax(0, 860px) 300px;
  }
  body.bizcre-recommendation-rail-layout .bizcre-right-rail {
    grid-row: 1;
    pointer-events: auto;
  }
  body.bizcre-recommendation-rail-layout .bizcre-left-rail,
  body.bizcre-recommendation-rail-layout .bizcre-main-content {
    grid-row: 1;
  }
  .recommendation-rail {
    position: sticky;
    top: 112px;
    width: 280px;
    margin: 24px auto 40px;
    align-self: start;
    z-index: 20;
  }
}

.recommendation-card {
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(14, 91, 139, .2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 61, 91, .12);
  color: #0a3452;
}
.recommendation-card__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}
.recommendation-card__pr {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #087fba;
  color: #fff;
  letter-spacing: .08em;
}
.recommendation-card__heading-text {
  color: #176184;
}
.recommendation-card__media {
  display: grid;
  width: 100%;
  min-height: 154px;
  place-items: center;
  border-radius: 13px;
  background: #f3f8fb;
  text-decoration: none;
}
.recommendation-card__face {
  display: block;
  width: 100%;
  max-width: 244px;
  aspect-ratio: 1.586 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.recommendation-card__issuer {
  margin: 14px 0 4px;
  color: #526c7e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.recommendation-card__name {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #082f4b;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.recommendation-card__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 0;
}
.recommendation-card__fact {
  min-width: 0;
  padding-top: 9px;
  border-top: 1px solid #dceaf2;
}
.recommendation-card__fact dt {
  color: #648093;
  font-size: 11px;
  font-weight: 700;
}
.recommendation-card__fact dd {
  overflow-wrap: anywhere;
  margin: 3px 0 0;
  color: #0b3b59;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}
.recommendation-card__reason {
  margin: 14px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: #eaf6fb;
  color: #164b68;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}
.recommendation-card__actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.recommendation-card__detail,
.recommendation-card__official {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
  writing-mode: horizontal-tb;
}
.recommendation-card__detail {
  border: 1px solid #0798d2;
  background: #fff;
  color: #0677ad;
}
.recommendation-card__official {
  border: 1px solid #007fb7;
  background: linear-gradient(135deg, #0b79c4, #13a8d7);
  color: #fff;
  box-shadow: 0 5px 0 #076b9e;
}
.recommendation-card__detail:focus-visible,
.recommendation-card__official:focus-visible,
.recommendation-card__media:focus-visible {
  outline: 3px solid #f2b544;
  outline-offset: 3px;
}
.recommendation-inline {
  position: static;
  z-index: 1;
  width: calc(100% - 32px);
  max-width: 920px;
  margin: 30px auto;
  padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
}
.recommendation-card--inline {
  width: 100%;
  max-width: none;
  border-color: rgba(8, 127, 186, .28);
  box-shadow: 0 12px 28px rgba(17, 61, 91, .1);
}
.recommendation-card.recommendation-card--inline .recommendation-card__name {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.42;
}
.recommendation-card--inline .recommendation-card__actions {
  scroll-margin-block-end: calc(132px + env(safe-area-inset-bottom));
}
@media (min-width: 640px) and (max-width: 1199px) {
  .recommendation-card--inline {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    grid-template-areas:
      "heading heading"
      "media issuer"
      "media name"
      "media facts"
      "media reason"
      "actions actions";
    column-gap: 22px;
    align-items: start;
  }
  .recommendation-card--inline .recommendation-card__heading { grid-area: heading; }
  .recommendation-card--inline .recommendation-card__media {
    grid-area: media;
    align-self: start;
    min-height: 0;
    aspect-ratio: 1.586 / 1;
  }
  .recommendation-card--inline .recommendation-card__face { max-width: 280px; }
  .recommendation-card--inline .recommendation-card__issuer {
    grid-area: issuer;
    margin-top: 0;
  }
  .recommendation-card--inline .recommendation-card__name { grid-area: name; }
  .recommendation-card--inline .recommendation-card__facts { grid-area: facts; }
  .recommendation-card--inline .recommendation-card__reason { grid-area: reason; }
  .recommendation-card--inline .recommendation-card__actions {
    grid-area: actions;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline-end: 0;
  }
}
@media (max-width: 639px) {
  .recommendation-inline {
    width: calc(100% - 24px);
    margin-block: 24px;
  }
  .recommendation-card--inline { padding: 14px; }
  .recommendation-card--inline .recommendation-card__heading { margin-bottom: 12px; }
  .recommendation-card--inline .recommendation-card__media { min-height: 146px; }
  .recommendation-card--inline .recommendation-card__face { max-width: 260px; }
  .recommendation-card.recommendation-card--inline .recommendation-card__name { font-size: 16px; }
}
@media (min-width: 1200px) {
  .recommendation-inline { display: none !important; }
}

/* Query answer pilot: SSR answer, context cards, and comparison path above legacy content. */
.query-answer-pilot {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 30px;
  color: #0d3550;
}
.query-answer-pilot__inner {
  display: grid;
  gap: 18px;
}
.query-answer-block,
.context-card-rail {
  border: 1px solid #bddceb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 76, 112, 0.08);
}
.query-answer-block {
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(229, 247, 255, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
}
.query-answer-block__eyebrow,
.context-card-rail__eyebrow {
  margin: 0 0 6px;
  color: #087cb7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.query-answer-block h2,
.context-card-rail h2 {
  margin: 0;
  color: #073f66;
  line-height: 1.3;
}
.query-answer-block h2 {
  font-size: clamp(20px, 2.5vw, 28px);
}
.query-answer-block__answer {
  max-width: 900px;
  margin: 10px 0 0;
  color: #163f58;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.8;
}
.query-answer-block__chips,
.context-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.query-answer-block__chips {
  margin-top: 14px;
}
.query-answer-block__chips span,
.context-card__features li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  border: 1px solid #98d1e9;
  border-radius: 999px;
  background: #f3fbff;
  color: #075b86;
  font-size: 13px;
  font-weight: 750;
}
.query-answer-block__caution {
  margin: 12px 0 0;
  color: #536d7d;
  font-size: 13px;
  line-height: 1.65;
}
.context-card-rail {
  padding: clamp(18px, 3vw, 28px);
}
.context-card-rail__head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.context-card-rail h2 {
  font-size: clamp(21px, 2.8vw, 30px);
}
.card-selection-reason {
  max-width: 900px;
  margin: 4px 0 0;
  color: #496878;
  line-height: 1.7;
}
.card-selection-reason strong,
.context-card__reason strong {
  display: block;
  margin-bottom: 2px;
  color: #087cb7;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.context-card-rail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.context-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 14px;
  border: 1px solid #cbe2ed;
  border-radius: 16px;
  background: #fff;
}
.context-card__label-row {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: #637b89;
  font-size: 11px;
}
.context-card__pr,
.context-card__editorial {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #087fba;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.context-card__editorial {
  background: #e8f7fb;
  color: #08638d;
}
.context-card__face-link {
  display: flex;
  min-height: 142px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  background: #f4f9fc;
}
.context-card__face {
  display: block;
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 1.586 / 1;
  object-fit: contain;
  object-position: center;
}
.context-card__issuer {
  margin: 10px 0 3px;
  color: #5c7380;
  font-size: 12px;
  font-weight: 750;
}
.context-card__name {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}
.context-card__name a {
  color: #0b3f5e;
  text-decoration: none;
}
.context-card__audience {
  margin: 7px 0 0;
  color: #59717f;
  font-size: 12px;
}
.context-card__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin: 12px 0 0;
}
.context-card__facts div {
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid #d9e9f0;
}
.context-card__facts dt {
  color: #66808e;
  font-size: 11px;
}
.context-card__facts dd {
  margin: 3px 0 0;
  color: #103c55;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.context-card__networks {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}
.context-card__networks img {
  width: auto;
  max-width: 50px;
  height: 20px;
  object-fit: contain;
}
.context-card__features {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}
.context-card__features li {
  min-height: 26px;
  padding: 2px 8px;
  font-size: 11px;
}
.context-card__reason {
  margin: 10px 0 0;
  color: #4d6877;
  font-size: 12px;
  line-height: 1.6;
}
.context-card__checked,
.card-official-info-date,
.bizcre-app-modal__checked-at {
  margin: 10px 0 0;
  color: #59717f;
  font-size: 12px;
  line-height: 1.6;
}
.context-card__checked strong,
.card-official-info-date strong,
.bizcre-app-modal__checked-at strong {
  color: #284f63;
}
.context-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.context-card__detail,
.context-card__compare,
.context-card__official,
.quick-comparison-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid #169acb;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.context-card__detail,
.context-card__compare {
  background: #fff;
  color: #0875a8;
}
.context-card__compare[aria-pressed="true"] {
  border-color: #0875a8;
  background: #e4f6fd;
}
.context-card__official {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #087fba, #09a9d5);
  color: #fff;
}
.quick-comparison-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.quick-comparison-actions a {
  min-width: min(100%, 280px);
  min-height: 48px;
}
.quick-comparison-actions__primary {
  border-color: #087fba;
  background: #087fba;
  color: #fff;
}
.quick-comparison-actions__secondary {
  background: #fff;
  color: #0875a8;
}
.pilot-decision-guide {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #bddceb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 76, 112, 0.08);
}
.pilot-decision-guide__head {
  margin-bottom: 14px;
}
.pilot-decision-guide__eyebrow {
  margin: 0 0 5px;
  color: #087cb7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.pilot-decision-guide h2 {
  margin: 0;
  color: #073f66;
  font-size: clamp(21px, 2.8vw, 30px);
  line-height: 1.3;
}
.pilot-quick-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbe2ed;
  border-radius: 14px;
}
.pilot-quick-table div {
  min-width: 0;
  padding: 14px;
  background: #f5fbfe;
}
.pilot-quick-table div + div {
  border-left: 1px solid #cbe2ed;
}
.pilot-quick-table dt {
  color: #087cb7;
  font-size: 12px;
  font-weight: 800;
}
.pilot-quick-table dd {
  margin: 5px 0 0;
  color: #153f57;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.pilot-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.pilot-fit-panel,
.pilot-choice-steps {
  padding: 16px;
  border: 1px solid #d4e7ef;
  border-radius: 14px;
  background: #fff;
}
.pilot-fit-panel--best {
  border-color: #a9d8e7;
  background: #f1fbfd;
}
.pilot-fit-panel--not {
  background: #f8fafb;
}
.pilot-fit-panel h3,
.pilot-choice-steps h3 {
  margin: 0;
  color: #0b5378;
  font-size: 16px;
  line-height: 1.4;
}
.pilot-fit-panel ul,
.pilot-choice-steps ol {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 1.25em;
  color: #345769;
  font-size: 14px;
  line-height: 1.65;
}
.pilot-choice-steps {
  margin-top: 12px;
}
.pilot-choice-steps ol {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  counter-reset: pilot-choice-step;
}
.pilot-choice-steps li {
  position: relative;
  min-width: 0;
  padding: 11px 11px 11px 42px;
  border-radius: 10px;
  background: #eef8fc;
  counter-increment: pilot-choice-step;
}
.pilot-choice-steps li::before {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #087fba;
  color: #fff;
  content: counter(pilot-choice-step);
  font-size: 12px;
  font-weight: 800;
}
.faq-review-empty {
  padding: 22px;
  border: 1px solid #cbe2ed;
  border-radius: 16px;
  background: #fff;
}
.faq-review-empty p {
  margin-bottom: 0;
  line-height: 1.8;
}

@media (max-width: 639px) {
  .query-answer-pilot {
    width: calc(100% - 24px);
    margin: 14px auto 22px;
  }
  .query-answer-pilot__inner {
    gap: 12px;
  }
  .query-answer-block,
  .context-card-rail {
    border-radius: 14px;
  }
  .query-answer-block,
  .context-card-rail {
    padding: 15px;
  }
  .query-answer-block h2 {
    font-size: 19px;
  }
  .query-answer-block__answer {
    margin-top: 7px;
    font-size: 15px;
    line-height: 1.65;
  }
  .query-answer-block__chips {
    gap: 6px;
    margin-top: 10px;
  }
  .query-answer-block__chips span {
    min-height: 27px;
    padding: 3px 8px;
    font-size: 11px;
  }
  .query-answer-block__caution {
    margin-top: 9px;
    font-size: 11px;
  }
  .context-card-rail__head {
    margin-bottom: 12px;
  }
  .context-card-rail h2 {
    font-size: 21px;
  }
  .card-selection-reason {
    font-size: 13px;
    line-height: 1.6;
  }
  .context-card-rail__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .context-card {
    padding: 12px;
  }
  .context-card__face-link {
    min-height: 112px;
  }
  .context-card__face {
    width: min(100%, 156px);
  }
  .context-card__name {
    font-size: 16px;
  }
  .context-card__actions {
    order: 1;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 10px;
    padding-top: 0;
  }
  .context-card__audience,
  .context-card__facts,
  .context-card__networks,
  .context-card__features,
  .context-card__reason {
    order: 2;
  }
  .context-card__detail {
    display: none;
  }
  .context-card__official {
    grid-column: auto;
  }
  .context-card__detail,
  .context-card__compare,
  .context-card__official {
    min-height: 44px;
    font-size: 12px;
  }
  .quick-comparison-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .quick-comparison-actions a {
    width: 100%;
    min-width: 0;
  }
  .pilot-decision-guide {
    padding: 15px;
    border-radius: 14px;
  }
  .pilot-decision-guide h2 {
    font-size: 21px;
  }
  .pilot-quick-table,
  .pilot-fit-grid,
  .pilot-choice-steps ol {
    grid-template-columns: 1fr;
  }
  .pilot-quick-table div + div {
    border-top: 1px solid #cbe2ed;
    border-left: 0;
  }
  .pilot-quick-table div,
  .pilot-fit-panel,
  .pilot-choice-steps {
    padding: 12px;
  }
  .pilot-fit-panel ul,
  .pilot-choice-steps ol {
    font-size: 13px;
  }
}
@media (max-width: 1199px) {
  .recommendation-rail { display: none !important; }
}
.bizcre-ad-slot {
  display: none;
}
.bizcre-ad-slot[data-ad-loaded="true"] {
  display: block;
  position: sticky;
  top: 96px;
  margin: 24px 12px;
  padding: 12px;
  border: 1px solid rgba(13, 79, 66, .16);
  background: #fff;
  font-size: 12px;
}
.bizcre-ad-slot .bizcre-ad-label {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #667;
}
@media (max-width: 1199px) {
  .bizcre-ad-slot[data-ad-loaded="true"] { display: none; }
  .bizcre-left-rail,
  .bizcre-right-rail { pointer-events: none; }
}

/* Author-only sidebars belong at the end of the article. The site-level rail is
   reserved for the related-card recommendation surface. */
.article-layout:has(> .article-side > p:only-child) {
  grid-template-columns: minmax(0, 1fr);
}
.article-layout > .article-side:has(> p:only-child) {
  position: static;
  top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.article-layout > .article-side:not(:has(.side-box, .side-rail-banner, .bizcre-ad-slot)) p {
  margin: 0;
}

.bizcre-article-inner,
.bizcre-page-grid:not(.bizcre-page-grid--market) .page-shell__inner,
.bizcre-page-grid:not(.bizcre-page-grid--market) .article-shell__inner,
.bizcre-page-grid:not(.bizcre-page-grid--market) .hub-shell__inner,
.bizcre-page-grid:not(.bizcre-page-grid--market) .article-layout,
.bizcre-page-grid:not(.bizcre-page-grid--market) .wrap:not(.header-inner):not(.footer-grid):not(.brand-cta-inner),
.bizcre-content-layout:not(.bizcre-content-layout--market) .page-shell__inner,
.bizcre-content-layout:not(.bizcre-content-layout--market) .article-shell__inner,
.bizcre-content-layout:not(.bizcre-content-layout--market) .hub-shell__inner,
.bizcre-content-layout:not(.bizcre-content-layout--market) .article-layout,
.bizcre-content-layout:not(.bizcre-content-layout--market) .wrap:not(.header-inner):not(.footer-grid):not(.brand-cta-inner) {
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
  max-inline-size: none;
}
.bizcre-market-inner,
.bizcre-page-grid--market .page-shell__inner,
.bizcre-page-grid--market .card-detail-shell__inner,
.bizcre-page-grid--market .wrap:not(.header-inner):not(.footer-grid):not(.brand-cta-inner),
.bizcre-content-layout--market .page-shell__inner,
.bizcre-content-layout--market .card-detail-shell__inner,
.bizcre-content-layout--market .wrap:not(.header-inner):not(.footer-grid):not(.brand-cta-inner) {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}
.bizcre-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.bizcre-full-bleed > .bizcre-article-inner,
.bizcre-full-bleed > .bizcre-market-inner,
.bizcre-full-bleed > .page-shell__inner,
.bizcre-full-bleed > .article-shell__inner {
  margin-inline: auto;
}

.bizcre-main-content,
.bizcre-main-content .article-body,
.bizcre-main-content .section p,
.bizcre-main-content article p {
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .02em;
}
.bizcre-main-content .article-body > p,
.bizcre-main-content .section > .bizcre-article-inner > p,
.bizcre-main-content .section > .page-shell__inner > p {
  max-inline-size: 42em;
}
.bizcre-main-content h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bizcre-main-content h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.4;
}
.bizcre-main-content h3 {
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.5;
}
[id] { scroll-margin-top: 96px; }

.guide-grid,
.bizcre-main-content .usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
@media (min-width: 900px) {
  .guide-grid,
  .bizcre-main-content .usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .guide-grid,
  .bizcre-main-content .usecase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.guide-grid .usecase-card h2,
.guide-grid .guide-card__title,
.bizcre-main-content .usecase-card h2,
.bizcre-main-content .usecase-card h3 {
  font-size: 21px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bizcre-conclusion {
  border: 1px solid rgba(13, 79, 66, .18);
  background: #f4faf7;
  padding: 20px 22px;
  border-radius: 12px;
}
.bizcre-conclusion ol { margin: 0; padding-left: 1.2em; }
.bizcre-conclusion li { margin: .55em 0; }
.bizcre-flow {
  display: grid;
  gap: 10px;
  margin: 16px 0 8px;
}
.bizcre-flow__step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(13, 79, 66, .14);
  border-radius: 10px;
  background: #fff;
}
.bizcre-flow__step strong {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0d4f42;
  color: #fff;
  font-size: 14px;
}
.bizcre-case {
  border-left: 4px solid #0d4f42;
  padding: 12px 16px;
  margin: 14px 0;
  background: #f8fbfa;
}
.bizcre-case__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #0d4f42;
  margin-bottom: 6px;
}
.bizcre-accordion {
  border: 1px solid rgba(13, 79, 66, .16);
  border-radius: 10px;
  margin: 12px 0;
  background: #fff;
}
.bizcre-accordion > button.bizcre-accordion__trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #12352e;
}
.bizcre-accordion > button.bizcre-accordion__trigger:focus-visible {
  outline: 3px solid #0d4f42;
  outline-offset: 2px;
}
.bizcre-accordion__panel {
  padding: 0 16px 16px;
}
.bizcre-accordion__panel[hidden] { display: none; }
.bizcre-checklist li { margin: .4em 0; }
.bizcre-toc {
  padding: 16px 18px;
  border: 1px solid rgba(13, 79, 66, .14);
  border-radius: 10px;
  background: #fff;
  margin: 18px 0;
}
.bizcre-toc ol { margin: .4em 0 0; padding-left: 1.2em; }
.bizcre-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  color: #445;
  margin: 10px 0 0;
}
.bizcre-footer-nav {
  display: grid;
  gap: 8px;
}
body.bizcre-shell-ready { overflow-x: clip; }

/* Wide desktop: article rail widens to 140px, market rail to 80px, center column stays capped. */
@media (min-width: 1440px) {
  .bizcre-page-grid:not(.bizcre-page-grid--market),
  .bizcre-content-layout:not(.bizcre-content-layout--market) {
    grid-template-columns: minmax(140px, 1fr) minmax(0, 920px) minmax(140px, 1fr);
  }
  .bizcre-page-grid--market,
  .bizcre-content-layout--market {
    grid-template-columns: minmax(80px, 1fr) minmax(0, 1200px) minmax(80px, 1fr);
  }
}

/* Below the rail breakpoint: hide the ad rails entirely and collapse to a single column. */
@media (max-width: 1199px) {
  .bizcre-left-rail,
  .bizcre-right-rail {
    display: none;
  }
  .bizcre-page-grid,
  .bizcre-content-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Critical: when rails collapse to 1 column, main must occupy column 1.
     Leaving grid-column:2 creates an implicit second track and biases content. */
  .bizcre-main-content,
  .bizcre-page-grid > main,
  .bizcre-content-layout > main {
    grid-column: 1;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }
  .bizcre-page-grid:not(.bizcre-page-grid--market) .page-shell__inner,
  .bizcre-page-grid:not(.bizcre-page-grid--market) .article-shell__inner,
  .bizcre-page-grid:not(.bizcre-page-grid--market) .hub-shell__inner,
  .bizcre-page-grid:not(.bizcre-page-grid--market) .article-layout,
  .bizcre-page-grid:not(.bizcre-page-grid--market) .wrap:not(.header-inner):not(.footer-grid):not(.brand-cta-inner),
  .bizcre-content-layout:not(.bizcre-content-layout--market) .page-shell__inner,
  .bizcre-content-layout:not(.bizcre-content-layout--market) .article-shell__inner,
  .bizcre-content-layout:not(.bizcre-content-layout--market) .hub-shell__inner,
  .bizcre-content-layout:not(.bizcre-content-layout--market) .article-layout,
  .bizcre-content-layout:not(.bizcre-content-layout--market) .wrap:not(.header-inner):not(.footer-grid):not(.brand-cta-inner) {
    width: min(calc(100% - 48px), 920px);
  }
  .bizcre-page-grid--market .page-shell__inner,
  .bizcre-page-grid--market .card-detail-shell__inner,
  .bizcre-page-grid--market .wrap:not(.header-inner):not(.footer-grid):not(.brand-cta-inner),
  .bizcre-content-layout--market .page-shell__inner,
  .bizcre-content-layout--market .card-detail-shell__inner,
  .bizcre-content-layout--market .wrap:not(.header-inner):not(.footer-grid):not(.brand-cta-inner) {
    width: min(calc(100% - 48px), 1200px);
  }
}

@media (max-width: 767px) {
  .bizcre-article-inner,
  .bizcre-market-inner,
  .bizcre-page-grid:not(.bizcre-page-grid--market) .page-shell__inner,
  .bizcre-page-grid:not(.bizcre-page-grid--market) .article-shell__inner,
  .bizcre-page-grid:not(.bizcre-page-grid--market) .hub-shell__inner,
  .bizcre-page-grid--market .page-shell__inner,
  .bizcre-page-grid--market .card-detail-shell__inner,
  .bizcre-content-layout:not(.bizcre-content-layout--market) .page-shell__inner,
  .bizcre-content-layout:not(.bizcre-content-layout--market) .article-shell__inner,
  .bizcre-content-layout:not(.bizcre-content-layout--market) .hub-shell__inner,
  .bizcre-content-layout--market .page-shell__inner,
  .bizcre-content-layout--market .card-detail-shell__inner {
    width: calc(100% - 32px);
  }
  /* Keep a single column. Do NOT reintroduce side gutter tracks —
     that collapses main into the 16px left track when grid-column:1. */
  .bizcre-page-grid,
  .bizcre-content-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .bizcre-main-content,
  .bizcre-page-grid > main,
  .bizcre-content-layout > main {
    grid-column: 1 !important;
    width: 100%;
    max-width: 100%;
  }
}

/* ===== Application confirm modal + checklist tool ===== */
.bizcre-app-modal[hidden] { display: none !important; }
.bizcre-app-modal {
  position: fixed; inset: 0; z-index: 4000;
  display: grid; place-items: center;
}
.bizcre-app-modal__backdrop {
  position: absolute; inset: 0; background: rgba(10, 24, 20, .45);
}
.bizcre-app-modal__panel {
  position: relative; z-index: 1;
  width: min(720px, calc(100% - 32px));
  max-height: min(86vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.bizcre-app-modal__close {
  position: absolute; top: 10px; right: 12px;
  display: inline-grid; place-items: center;
  min-width: 44px; min-height: 44px;
  border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer;
}
.bizcre-app-modal__grid {
  display: grid; gap: 18px;
  grid-template-columns: 160px 1fr;
}
.bizcre-app-modal__face, .bizcre-app-modal__face-ph {
  width: 100%; border-radius: 12px; background: #f2f5f4; aspect-ratio: 1.6/1; object-fit: contain;
}
.bizcre-app-modal__face-ph { display:grid; place-items:center; color:#667; font-weight:700; }
.bizcre-app-modal__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .06em; color:#0d4f42; margin:0 0 6px; }
.bizcre-app-modal__meta { color:#556; font-size: 14px; }
.bizcre-app-modal__facts { display:grid; gap:8px; margin: 14px 0; }
.bizcre-app-modal__facts div { display:grid; grid-template-columns: 7em 1fr; gap:8px; font-size:14px; }
.bizcre-app-modal__facts dt { color:#667; }
.bizcre-app-modal__notes { margin: 0 0 12px; padding-left: 1.2em; }
.bizcre-app-modal__notice { font-size: 13px; color:#445; line-height:1.7; }
.bizcre-app-modal__checked-at { padding-top: 10px; border-top: 1px solid #d9e6ea; }
.bizcre-app-modal__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top: 16px; }
body.bizcre-app-modal-open { overflow: hidden; }
@media (max-width: 767px) {
  .bizcre-app-modal { place-items: end center; }
  .bizcre-app-modal__panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
    margin: 0;
  }
  .bizcre-app-modal__grid { grid-template-columns: 1fr; }
}
.bizcre-checklist-toolbar { display:flex; flex-wrap:wrap; gap:12px 16px; justify-content:space-between; align-items:center; margin: 18px 0; }
.bizcre-checklist-progress { min-width: 220px; flex: 1; }
.bizcre-checklist-bar { height: 8px; background:#e6eeeb; border-radius:999px; overflow:hidden; margin-top:6px; }
.bizcre-checklist-bar span { display:block; height:100%; background:#0d4f42; }
.bizcre-checklist-actions { display:flex; flex-wrap:wrap; gap:8px; }
.bizcre-checklist-list { list-style:none; padding:0; margin:0; }
.bizcre-checklist-list li { margin: .55em 0; }
.bizcre-checklist-list label { display:flex; gap:10px; align-items:flex-start; font-size:16px; line-height:1.6; cursor:pointer; }
.bizcre-checklist-note { font-size:13px; color:#556; margin-top:18px; }
.bizcre-checklist-next { display:flex; flex-wrap:wrap; gap:10px; margin: 18px 0 8px; }
.bizcre-related-inline { margin: 20px 0; padding: 16px; border:1px solid rgba(13,79,66,.14); border-radius:12px; background:#fff; }
.bizcre-related-inline h3 { margin:0 0 10px; font-size:18px; }
.bizcre-related-inline .related-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:12px; }

/* BrandFilterTile — unified logo tiles */
.brand-filter-grid,
#home-issuer-logo-grid,
#home-network-logo-grid,
#cards-issuer-logo-grid,
#cards-network-logo-grid,
.brands-hub-list,
.networks-hub-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 768px) {
  .brand-filter-grid,
  #home-issuer-logo-grid,
  #home-network-logo-grid,
  #cards-issuer-logo-grid,
  #cards-network-logo-grid,
  .brands-hub-list,
  .networks-hub-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .brand-filter-grid,
  #home-issuer-logo-grid,
  #home-network-logo-grid,
  #cards-issuer-logo-grid,
  #cards-network-logo-grid,
  .brands-hub-list,
  .networks-hub-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .brand-filter-grid,
  #home-issuer-logo-grid,
  #home-network-logo-grid,
  #cards-issuer-logo-grid,
  #cards-network-logo-grid,
  .brands-hub-list,
  .networks-hub-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.brand-logo-filter,
.brands-hub-item,
.networks-hub-item {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid rgba(20, 91, 133, 0.16);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: #073454;
  text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.brand-logo-filter__mark {
  width: 136px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  background: #fff;
}
.brand-logo-filter:hover,
.brands-hub-item:hover,
.networks-hub-item:hover {
  border-color: #0b78b6;
  box-shadow: 0 4px 14px rgba(7, 52, 84, 0.08);
}
.brand-logo-filter img,
.brands-hub-item img,
.networks-hub-item img {
  width: auto;
  max-width: var(--logo-max-width, 136px);
  height: var(--logo-max-height, 56px);
  object-fit: contain;
  object-position: center;
  background: #fff;
  transform: scale(var(--logo-optical-scale, 1));
  transform-origin: center;
}
#home-network-logo-grid .brand-logo-filter img,
#cards-network-logo-grid .brand-logo-filter img,
#networks-hub-list .brand-logo-filter img {
  width: auto;
  max-width: var(--logo-max-width, 136px);
  height: var(--logo-max-height, 56px);
  object-fit: contain;
  object-position: center;
}
.brand-logo-filter__name,
.brands-hub-item h2,
.networks-hub-item h2 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.brand-logo-filter__count {
  margin-top: auto;
  font-size: 12px;
  font-weight: 800;
  color: #0b78b6;
}

/* BrandFilterTile mobile fix */
.brand-filter-grid,
#home-issuer-logo-grid,
#home-network-logo-grid,
#cards-issuer-logo-grid,
#cards-network-logo-grid,
.brands-hub-list,
.networks-hub-list {
  display: grid !important;
  grid-auto-flow: row !important;
  grid-auto-columns: unset !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  overflow-x: visible !important;
}
@media (min-width: 768px) {
  .brand-filter-grid,
  #home-issuer-logo-grid,
  #home-network-logo-grid,
  #cards-issuer-logo-grid,
  #cards-network-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1024px) {
  .brand-filter-grid,
  #home-issuer-logo-grid,
  #home-network-logo-grid,
  #cards-issuer-logo-grid,
  #cards-network-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1280px) {
  .brand-filter-grid,
  #home-issuer-logo-grid,
  #home-network-logo-grid,
  #cards-issuer-logo-grid,
  #cards-network-logo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}
.brand-logo-filter {
  min-width: 0 !important;
  width: 100% !important;
}
.brand-logo-filter__name {
  overflow-wrap: normal;
  word-break: keep-all;
}
.brand-logo-filter.is-empty {
  cursor: default;
  opacity: .78;
  background: #f7f9fa;
}
.brand-logo-filter.is-empty:hover {
  border-color: rgba(20, 91, 133, 0.16);
  box-shadow: none;
}

/* ===== CardSurface shared layout =====
   One responsive contract for home, directory and generated card collections. */
.featured-card-section .featured-card-title {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.card-market-grid,
#cards-directory-list.card-market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.card-market-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: clamp(16px, 2vw, 20px);
  border: 1px solid rgba(20, 91, 133, .16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 52, 84, .07);
}

.card-market-item__image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(20, 91, 133, .12);
  border-radius: 14px;
  background: #f6f9fb;
}

.card-market-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.card-market-item__name {
  display: -webkit-box;
  max-height: calc(1.45em * 3);
  margin: 0;
  overflow: hidden;
  color: #073454;
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-market-item__name a {
  color: inherit;
  text-decoration: none;
}

.card-market-item__networks {
  min-height: 0;
}

.card-market-item__metrics:empty,
.card-market-item__badges:empty,
.card-market-item__networks:empty,
.card-market-item__masayuki-note:empty {
  display: none;
}

.card-market-item__masayuki-note {
  min-height: 0;
}

.card-market-item__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(48px, auto) minmax(52px, auto);
  align-self: end;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.card-market-item__actions > a,
.card-market-item__actions > button {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding-inline: 10px;
}

.card-market-item__actions > [data-link-type="official"],
.card-market-item__actions > [data-open-application-modal] {
  grid-column: 1 / -1;
  min-height: 52px;
}

.card-market-item__actions:has(> [data-link-type="official"]:nth-child(2)) > :first-child,
.card-market-item__actions:has(> [data-open-application-modal]:nth-child(2)) > :first-child,
.card-market-item__actions > :only-child {
  grid-column: 1 / -1;
}

@media (max-width: 359px) {
  .card-market-item__actions {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .card-market-item__actions > * {
    grid-column: 1;
  }
}

/* The viewport bands are explicit. At desktop widths four equal tracks share
   the same centered container as the hero instead of forcing a wider rail. */
@media (max-width: 639px) {
  .card-market-grid,
  #cards-directory-list.card-market-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 959px) {
  .card-market-grid,
  #cards-directory-list.card-market-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (min-width: 960px) and (max-width: 1279px) {
  .card-market-grid,
  #cards-directory-list.card-market-grid {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
  }
}

@media (min-width: 1280px) {
  .bizcre-page-grid--market,
  .bizcre-content-layout--market {
    --content-max: 1200px;
  }

  #cards-directory.page-shell__inner {
    width: min(calc(100% - 8px), 1200px);
  }

  .card-market-grid,
  #cards-directory-list.card-market-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Override the article typography without affecting headings outside a card. */
.bizcre-main-content .card-market-item__name {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
}

.bizcre-main-content .section .card-market-item__issuer,
.bizcre-main-content .section .card-market-item__networks,
.bizcre-main-content .section .card-market-item__audience,
.bizcre-main-content .section .card-market-item__masayuki-note {
  margin: 0;
  line-height: 1.5;
}

.bizcre-main-content .section .card-market-item__issuer,
.bizcre-main-content .section .card-market-item__masayuki-note {
  font-size: 12px;
}

.bizcre-main-content .section .card-market-item__networks,
.bizcre-main-content .section .card-market-item__audience {
  font-size: 13px;
}

/* Detail is the secondary action, comparison is the quieter outline action. */
.bizcre-main-content .card-market-item__action--detail {
  color: #075782 !important;
  border: 1px solid #9fd5ec !important;
  background: #eaf7fd !important;
  box-shadow: none !important;
  animation: none !important;
}

.bizcre-main-content .card-market-item__action--compare {
  color: #075782 !important;
  border: 1px solid #1687bd !important;
  background: #fff !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Related cards live inside the narrower detail article column. Preserve up
   to three equal tracks so one sibling card never stretches across the full
   article width. */
#related-card-list.card-market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 640px) and (max-width: 959px) {
  #related-card-list.card-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  #related-card-list.card-market-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Bizcre Commit 3C: one-page verified comparison and application journey. */
.cards-directory-lead {
  max-width: 900px;
  margin: 16px 0 0;
  color: #28485b;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.9;
}

.cards-completion-section {
  margin-top: clamp(48px, 7vw, 88px);
  scroll-margin-top: 96px;
}

.cards-section-heading {
  max-width: 900px;
  margin-bottom: 24px;
}

.cards-section-heading h2 {
  margin: 4px 0 10px;
}

.cards-section-heading > p:last-child {
  margin-bottom: 0;
  color: #456273;
}

.cards-need-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.cards-need-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #9fd5ec;
  border-radius: 999px;
  color: #075782;
  background: #f4fbff;
  font-weight: 800;
  text-decoration: none;
}

.cards-need-nav a:hover,
.cards-need-nav a:focus-visible {
  border-color: #1687bd;
  background: #e5f6fe;
}

.cards-need-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cards-need-card {
  scroll-margin-top: 96px;
  padding: 22px;
  border: 1px solid #cfe7f2;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff 0%, #f1faff 100%);
}

.cards-need-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.cards-need-card p {
  margin: 8px 0 0;
}

.cards-need-card__matches {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  color: #214b63;
  font-size: 14px;
}

.cards-need-card__match-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cards-need-card__match-link,
.cards-need-card__article-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.cards-need-card__match-link {
  border: 1px solid #9fd5ec;
  color: #075782;
  background: #fff;
}

.cards-need-card__article-row {
  margin-top: 14px !important;
}

.cards-need-card__article-link {
  width: 100%;
  border: 1px solid #1687bd;
  color: #fff;
  background: #087db5;
}

.cards-need-card__match-link:hover,
.cards-need-card__match-link:focus-visible {
  border-color: #087db5;
  background: #e5f6fe;
}

.cards-need-card__article-link:hover,
.cards-need-card__article-link:focus-visible {
  background: #075782;
}

.cards-comparison-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid #baddea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(8, 83, 122, 0.1);
  -webkit-overflow-scrolling: touch;
}

.cards-comparison-scroll:focus-visible {
  outline: 3px solid rgba(22, 135, 189, 0.35);
  outline-offset: 3px;
}

.cards-comparison-table {
  width: max(100%, 1020px);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.cards-comparison-table th,
.cards-comparison-table td {
  padding: 14px;
  border-right: 1px solid #dcecf3;
  border-bottom: 1px solid #dcecf3;
  vertical-align: top;
  line-height: 1.55;
}

.cards-comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #082f46;
  background: #eaf7fd;
  text-align: left;
}

.cards-comparison-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 180px;
  background: #f3faff;
}

.cards-comparison-table thead th:first-child {
  z-index: 4;
  background: #dff2fb;
}

.cards-comparison-table th:not(:first-child),
.cards-comparison-table td:not(:first-child) {
  width: 270px;
}

.cards-comparison-table tr:last-child th,
.cards-comparison-table tr:last-child td {
  border-bottom: 0;
}

.cards-comparison-table th:last-child,
.cards-comparison-table td:last-child {
  border-right: 0;
}

.cards-comparison-table__face {
  position: relative;
  display: grid;
  width: 240px;
  height: 151px;
  max-width: 100%;
  place-items: center;
  margin-inline: auto;
  padding: 8px;
  border-radius: 12px;
  background: #f3f7f9;
}

.cards-comparison-table__face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cards-comparison-table__list {
  margin: 0;
  padding-left: 18px;
}

.cards-comparison-table__list li + li {
  margin-top: 7px;
}

.cards-comparison-table__empty {
  background: repeating-linear-gradient(-45deg, #fff, #fff 7px, #f8fbfc 7px, #f8fbfc 14px);
}

.cards-comparison-table .table-cta {
  width: 100%;
  min-height: 48px;
  white-space: normal;
}

.cards-filter-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}

#filter-cards .card-market-filters {
  margin: 24px 0;
}

#filter-cards {
  scroll-margin-top: 96px;
}

#filter-cards .card-market-filters__row,
#filter-cards #active-filter-chips {
  margin-top: 14px;
}

.cards-product-detail-list {
  display: grid;
  gap: 28px;
}

.cards-product-detail {
  scroll-margin-top: 96px;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid #baddea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(8, 83, 122, 0.1);
}

.cards-product-detail__hero {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.cards-product-detail__hero figure {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  background: #f1f7fa;
}

.cards-product-detail__hero figure > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cards-comparison-table .brand-mark-row,
.compare-table .brand-mark-row,
.mini-table .brand-mark-row {
  justify-content: flex-start;
  min-width: 96px;
}

/* Inline card-surface marks are deliberately smaller than 136x56 discovery
   tiles. Each network uses an optical height so unlike logo ratios carry a
   similar visual weight without modifying the official artwork. */
.card-market-item__networks .network-logo-inline,
.cards-comparison-table .network-logo-inline,
.compare-table .network-logo-inline,
.cards-product-detail__basics .network-logo-inline,
.card-detail-hero__network .network-logo-inline,
.mini-table .network-logo-inline {
  width: auto !important;
  max-width: 54px !important;
  height: 20px !important;
  max-height: 23px !important;
  margin: 0 !important;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

.card-market-item__networks .network-logo-inline[data-network-id="visa"],
.cards-comparison-table .network-logo-inline[data-network-id="visa"],
.compare-table .network-logo-inline[data-network-id="visa"],
.cards-product-detail__basics .network-logo-inline[data-network-id="visa"],
.card-detail-hero__network .network-logo-inline[data-network-id="visa"],
.mini-table .network-logo-inline[data-network-id="visa"] {
  height: 14px !important;
}

.card-market-item__networks .network-logo-inline[data-network-id="mastercard"],
.cards-comparison-table .network-logo-inline[data-network-id="mastercard"],
.compare-table .network-logo-inline[data-network-id="mastercard"],
.cards-product-detail__basics .network-logo-inline[data-network-id="mastercard"],
.card-detail-hero__network .network-logo-inline[data-network-id="mastercard"],
.mini-table .network-logo-inline[data-network-id="mastercard"] {
  height: 19px !important;
}

.card-market-item__networks .network-logo-inline[data-network-id="jcb"],
.cards-comparison-table .network-logo-inline[data-network-id="jcb"],
.compare-table .network-logo-inline[data-network-id="jcb"],
.cards-product-detail__basics .network-logo-inline[data-network-id="jcb"],
.card-detail-hero__network .network-logo-inline[data-network-id="jcb"],
.mini-table .network-logo-inline[data-network-id="jcb"] {
  height: 21px !important;
}

.card-market-item__networks .network-logo-inline[data-network-id="amex"],
.cards-comparison-table .network-logo-inline[data-network-id="amex"],
.compare-table .network-logo-inline[data-network-id="amex"],
.cards-product-detail__basics .network-logo-inline[data-network-id="amex"],
.card-detail-hero__network .network-logo-inline[data-network-id="amex"],
.mini-table .network-logo-inline[data-network-id="amex"] {
  height: 23px !important;
}

.card-market-item__networks .network-logo-inline[data-network-id="diners"],
.cards-comparison-table .network-logo-inline[data-network-id="diners"],
.compare-table .network-logo-inline[data-network-id="diners"],
.cards-product-detail__basics .network-logo-inline[data-network-id="diners"],
.card-detail-hero__network .network-logo-inline[data-network-id="diners"],
.mini-table .network-logo-inline[data-network-id="diners"] {
  height: 21px !important;
}

/* Existing generated detail pages predate data-network-id. Keep their optical
   presentation correct until the next intentionally scoped detail rebuild. */
.network-logo-inline[src*="/networks/visa/"] { height: 14px !important; }
.network-logo-inline[src*="/networks/mastercard/"] { height: 19px !important; }
.network-logo-inline[src*="/networks/jcb/"] { height: 21px !important; }
.network-logo-inline[src*="/networks/amex/"] { height: 23px !important; }
.network-logo-inline[src*="/networks/diners/"] { height: 21px !important; }

.compare-table th:not(.sticky),
.compare-table td:not(.sticky) {
  width: 280px;
  min-width: 280px;
  max-width: 280px;
}

.compare-card-face {
  position: relative;
  display: grid;
  width: 240px;
  height: 151px;
  place-items: center;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f7f9;
}

.compare-card-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.comparison-scroll .compare-table {
  display: table;
  table-layout: fixed;
}

.issuer-compare-intro {
  margin: 0 0 10px;
  color: #456878;
}

.cards-product-detail__hero h3 {
  margin: 8px 0 12px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cards-product-detail__conclusion {
  color: #173f55;
  font-size: 16px;
  line-height: 1.85;
}

.cards-product-detail__basics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 22px 0 0;
}

.cards-product-detail__basics div {
  padding-top: 10px;
  border-top: 1px solid #dcecf3;
}

.cards-product-detail__basics dt {
  color: #607985;
  font-size: 12px;
  font-weight: 800;
}

.cards-product-detail__basics dd {
  margin: 4px 0 0;
  color: #0a3148;
  font-weight: 800;
}

.cards-product-detail__judgement {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.cards-product-detail__judgement section {
  padding: 20px;
  border: 1px solid #dcecf3;
  border-radius: 14px;
  background: #f9fcfe;
}

.cards-product-detail__judgement h4 {
  margin: 0 0 10px;
  color: #075782;
  font-size: 17px;
}

.cards-product-detail__judgement ul {
  margin: 0;
  padding-left: 20px;
}

.cards-product-detail__judgement li + li {
  margin-top: 8px;
}

.cards-masayuki-view {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 5px solid #1687bd;
  border-radius: 4px 14px 14px 4px;
  background: #eaf7fd;
}

.cards-masayuki-view p {
  margin: 0;
}

.cards-masayuki-view p + p {
  margin-top: 8px;
  line-height: 1.8;
}

.cards-product-detail__disclosure {
  margin-top: 20px;
  border: 1px solid #cfe7f2;
  border-radius: 12px;
  background: #fff;
}

.cards-product-detail__disclosure summary {
  min-height: 48px;
  padding: 13px 16px;
  color: #075782;
  font-weight: 800;
  cursor: pointer;
}

.cards-product-detail__disclosure > div {
  padding: 0 16px 16px;
}

.cards-product-detail__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.cards-product-detail__actions > * {
  min-height: 48px;
}

.cards-product-detail__official {
  grid-column: 1 / -1;
  width: 100%;
}

.cards-compare-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #073e61 0%, #0e82bd 100%);
}

.cards-compare-callout h2,
.cards-compare-callout p {
  color: inherit;
}

.cards-compare-callout h2 {
  margin: 4px 0 10px;
}

.cards-compare-callout .table-cta {
  min-width: 220px;
  color: #075782 !important;
  background: #fff !important;
}

.cards-checklist ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  counter-reset: cards-check;
  list-style: none;
}

.cards-checklist li {
  position: relative;
  min-height: 72px;
  padding: 18px 18px 18px 58px;
  border: 1px solid #d4e9f2;
  border-radius: 14px;
  background: #f8fcfe;
  counter-increment: cards-check;
}

.cards-checklist li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: #1687bd;
  content: counter(cards-check);
  font-weight: 900;
}

.cards-page-faq {
  display: grid;
  gap: 12px;
}

.cards-page-faq details {
  border: 1px solid #cfe7f2;
  border-radius: 14px;
  background: #fff;
}

.cards-page-faq summary {
  min-height: 52px;
  padding: 15px 18px;
  color: #083c5a;
  font-weight: 900;
  cursor: pointer;
}

.cards-page-faq p {
  margin: 0;
  padding: 0 18px 18px;
  line-height: 1.8;
}

.cards-sources {
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid #d4e9f2;
  border-radius: 18px;
  background: #f8fcfe;
}

.cards-sources li + li {
  margin-top: 8px;
}

.cards-hub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 767px) {
  .cards-need-grid,
  .cards-filter-shortcuts,
  .cards-product-detail__hero,
  .cards-product-detail__judgement,
  .cards-product-detail__basics,
  .cards-checklist ol,
  .cards-compare-callout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-need-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-need-nav a {
    justify-content: center;
    padding-inline: 10px;
    text-align: center;
  }

  .cards-comparison-table {
    width: max(100%, 1000px);
  }

  .cards-comparison-table th:first-child {
    width: 150px;
  }

  .cards-comparison-table th:not(:first-child),
  .cards-comparison-table td:not(:first-child) {
    width: 270px;
  }

  .cards-product-detail {
    padding: 18px;
    border-radius: 18px;
  }

  .cards-product-detail__hero figure {
    min-height: 190px;
  }

  .cards-product-detail__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-product-detail__official {
    grid-column: auto;
  }

  .cards-compare-callout .table-cta {
    width: 100%;
    min-width: 0;
  }
}

/* ===== Bizcre M1: shared compact mobile card collection =====
   The same tile contract is used for the directory, filtered results, home
   recommendations and related-card collections. */
.card-market-item__mobile-hit-area,
.card-market-item__name-mobile,
.card-market-item__mobile-grade {
  display: none;
}

@media (max-width: 639px) {
  .card-market-grid,
  #cards-directory-list.card-market-grid,
  #related-card-list.card-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    align-items: stretch;
  }

  .card-market-item {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: auto;
    gap: 7px;
    padding: 10px;
    overflow: hidden;
    border-radius: 14px;
  }

  .card-market-item__mobile-hit-area {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    border-radius: inherit;
  }

  .card-market-item__image {
    aspect-ratio: 1.586 / 1;
    padding: 4px;
    border-radius: 10px;
    pointer-events: none;
  }

  .card-market-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .bizcre-main-content .section .card-market-item__issuer {
    margin: 0;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-market-item__networks {
    min-height: 28px;
    max-height: 28px;
    margin: 0;
    overflow: hidden;
  }

  .card-market-item__networks .brand-mark-group {
    max-width: 100%;
    min-height: 28px;
    overflow: hidden;
  }

  .card-market-item__payment-methods,
  .card-market-item__audience,
  .card-market-item__metrics,
  .card-market-item__badges,
  .card-market-item__masayuki-note {
    display: none !important;
  }

  .bizcre-main-content .card-market-item__name {
    display: -webkit-box;
    min-height: calc(1.45em * 2);
    max-height: calc(1.45em * 2);
    margin: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .card-market-item__name a {
    pointer-events: none;
  }

  .card-market-item__name-full {
    display: none;
  }

  .card-market-item__name-mobile {
    display: inline;
  }

  .card-market-item__mobile-grade {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid #b9ddeb;
    border-radius: 999px;
    color: #075782;
    background: #eef8fc;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
  }

  .card-market-item__actions {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: auto;
  }

  .card-market-item__actions:empty {
    display: none;
  }

  .card-market-item__action--detail,
  .card-market-item__action--official {
    display: none !important;
  }

  .bizcre-main-content .card-market-item__action--compare {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 8px;
    font-size: 13px;
    line-height: 1.25;
  }

  .cards-product-detail__hero figure {
    min-height: 0;
    aspect-ratio: 1.586 / 1;
    padding: 8px;
  }

  .compare-tray {
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  body.has-compare-tray {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  /* The homepage already exposes comparison through the selected-card tray
     and the card directory. Its desktop matrix is not a usable 390px module. */
  #comparison {
    display: none !important;
  }

  /* A floating page-top control obscures the second compact card column. */
  .scroll-top-button {
    display: none !important;
  }

  /* Related cards share the 2-column compact contract. Remove the legacy
     article-card side padding that would shrink each tile below 170px. */
  #related-cards {
    padding-inline: 0;
  }

  .card-article-shell__inner {
    width: 100%;
  }

  #related-cards > h2,
  #related-cards > p {
    margin-inline: 12px;
  }
}

/* Capability marks are a visual row, not a narrow implicit grid cell. */
.function-visual-grid .payment-logo-row {
  grid-column: 1 / -1;
  width: 100%;
  background: transparent;
}

.function-visual-grid .payment-method-logo-group--capability {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 38px;
}

body.has-compare-tray .floating-campaign-box {
  bottom: calc(104px + env(safe-area-inset-bottom)) !important;
}

/* Discovery tiles need equal optical presence without Visa/Mastercard
   dominating the remaining official network marks. */
.network-logo-group--discovery .network-logo-inline[data-network-id="visa"] {
  height: 30px !important;
}

.network-logo-group--discovery .network-logo-inline[data-network-id="mastercard"] {
  height: 38px !important;
}

/* ===== Bizcre restore follow-up: readable product cards and mobile compare ===== */
.card-market-item__name-compact,
.compare-mobile-list {
  display: none;
}

.card-market-item__name {
  text-wrap: balance;
  word-break: normal;
}

.card-market-item__name-line {
  display: inline-block;
  white-space: nowrap;
}

.card-market-item__metrics dd {
  min-width: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .card-market-item__name-full {
    display: none;
  }

  .card-market-item__name-compact {
    display: inline;
  }

  .card-market-item__metrics {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .card-market-item__metrics div {
    grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
    align-items: start;
    gap: 8px;
  }

  .card-market-item__metrics dt {
    padding-top: 2px;
  }

  .card-market-item__metrics dd {
    font-size: 14px;
  }
}

.diagnosis-card-recommendations {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid #d7ebe4;
}

.diagnosis-card-recommendations__head h4 {
  margin: 0 0 5px;
  color: var(--primary-dark);
  font-size: 17px;
}

.diagnosis-card-recommendations__head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.diagnosis-recommendation-grid {
  display: grid;
  gap: 10px;
}

.diagnosis-recommendation-grid .card-market-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 5px 10px;
  padding: 10px;
  border-radius: 12px;
}

.diagnosis-recommendation-grid .card-market-item__image {
  grid-column: 1;
  grid-row: 1 / span 6;
  align-self: start;
  padding: 4px;
}

.diagnosis-recommendation-grid .card-market-item__issuer,
.diagnosis-recommendation-grid .card-market-item__networks,
.diagnosis-recommendation-grid .card-market-item__name,
.diagnosis-recommendation-grid .card-market-item__metrics,
.diagnosis-recommendation-grid .card-market-item__badges {
  grid-column: 2;
}

.diagnosis-recommendation-grid .card-market-item__payment-methods,
.diagnosis-recommendation-grid .card-market-item__audience,
.diagnosis-recommendation-grid .card-market-item__masayuki-note,
.diagnosis-recommendation-grid .card-market-item__action--official {
  display: none !important;
}

.diagnosis-recommendation-grid .card-market-item__name {
  min-height: 0;
  max-height: calc(1.4em * 3);
  font-size: 15px;
  line-height: 1.4;
}

.diagnosis-recommendation-grid .card-market-item__metrics {
  grid-template-columns: minmax(0, 1fr);
}

.diagnosis-recommendation-grid .card-market-item__metrics div {
  grid-template-columns: 72px minmax(0, 1fr);
}

.diagnosis-recommendation-grid .card-market-item__metrics dd {
  font-size: 12px;
}

.diagnosis-recommendation-grid .card-market-item__actions {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.diagnosis-recommendation-grid .card-market-item__actions > a,
.diagnosis-recommendation-grid .card-market-item__actions > button {
  min-height: 44px;
  font-size: 12px;
}

@media (max-width: 639px) {
  #compare-root .comparison-scroll {
    display: none !important;
  }

  #compare-root .compare-mobile-list {
    display: grid;
    gap: 14px;
    margin-top: 10px;
  }

  .compare-mobile-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(20, 91, 133, .18);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 60, 90, .08);
  }

  .compare-mobile-card__header {
    display: grid;
    grid-template-columns: minmax(112px, 40%) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  .compare-mobile-card__face {
    display: grid;
    width: 100%;
    aspect-ratio: 1.586 / 1;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f7f9;
  }

  .compare-mobile-card__face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .compare-mobile-card__header p {
    margin: 0 0 4px;
    color: #587183;
    font-size: 11px;
    font-weight: 800;
  }

  .compare-mobile-card__header h2 {
    margin: 0;
    color: #073454;
    font-size: 17px;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: balance;
  }

  .compare-mobile-card__summary,
  .compare-mobile-card__details dl {
    display: grid;
    gap: 0;
    margin: 0;
  }

  .compare-mobile-card__summary div,
  .compare-mobile-card__details dl div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-top: 1px solid #e2edf2;
  }

  .compare-mobile-card dt {
    color: #456878;
    font-size: 12px;
    font-weight: 800;
  }

  .compare-mobile-card dd {
    min-width: 0;
    margin: 0;
    color: #0a3148;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .compare-mobile-card .brand-mark-group,
  .compare-mobile-card .payment-method-logo-group {
    justify-content: flex-start;
  }

  .compare-mobile-card__details {
    border-top: 1px solid #e2edf2;
  }

  .compare-mobile-card__details summary {
    min-height: 44px;
    padding: 12px 2px;
    color: #0875aa;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
  }

  .compare-mobile-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .compare-mobile-card__actions .table-cta {
    width: 100%;
    min-height: 48px;
    margin: 0;
  }

  .diagnosis-recommendation-grid .card-market-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .diagnosis-recommendation-grid .card-market-item__name-full,
  .diagnosis-recommendation-grid .card-market-item__name-compact {
    display: none;
  }

  .diagnosis-recommendation-grid .card-market-item__name-mobile {
    display: inline;
  }

  .diagnosis-recommendation-grid .card-market-item__metrics,
  .diagnosis-recommendation-grid .card-market-item__badges {
    display: grid !important;
  }

  .diagnosis-recommendation-grid .card-market-item__mobile-grade,
  .diagnosis-recommendation-grid .card-market-item__action--official {
    display: none !important;
  }

  .diagnosis-recommendation-grid .card-market-item__action--detail,
  .diagnosis-recommendation-grid .card-market-item__action--compare {
    display: flex !important;
  }
}

/* ===== Card-first discovery hierarchy (2026-07-19) ===== */
.hero-market {
  min-height: 0 !important;
  padding-block: clamp(20px, 3vw, 34px) !important;
}

.hero-market .hero-market-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 1120px;
  min-height: 0 !important;
  gap: 12px !important;
}

.hero-market .hero-market-copy {
  max-width: 860px;
  gap: 10px;
}

.hero-market #hero-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .28em;
  max-width: 900px !important;
  margin: 0 !important;
  font-size: clamp(38px, 4.5vw, 64px) !important;
  line-height: 1.08 !important;
}

.hero-market #hero-title .hero-title-phrase {
  display: inline !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.hero-market .hero-visual {
  opacity: .16;
}

.hero-market-grid > .card-marquee-shell[data-hero-marquee="true"] {
  display: none !important;
}

.card-first-section {
  padding-top: clamp(24px, 3vw, 42px) !important;
  background: linear-gradient(180deg, #f4fbff 0%, #fff 100%);
}

.card-first-section .featured-card-title {
  margin-bottom: 18px;
}

.card-first-section__all {
  display: flex;
  justify-content: center;
  margin: 20px 0 0;
}

@media (max-width: 639px) {
  .hero-market {
    padding-block: 14px 16px !important;
  }

  .hero-market .hero-market-grid {
    gap: 8px !important;
  }

  .hero-market .hero-market-copy {
    gap: 7px !important;
  }

  .hero-market .hero-pill {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .hero-market #hero-title {
    gap: 0 .2em;
    font-size: clamp(29px, 8.4vw, 36px) !important;
    letter-spacing: -.04em;
  }

  .hero-market .hero-lead {
    max-width: 34em;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-market .hero-search-form {
    margin-top: 1px;
  }

  .hero-market .hero-search-form input,
  .hero-market .hero-search-form button {
    min-height: 42px;
  }

  .hero-market .hero-market-chips,
  .hero-market .hero-link-row {
    display: none !important;
  }

  .card-first-section {
    padding-top: 18px !important;
  }

  .card-first-section .featured-card-title {
    margin-bottom: 12px;
  }

  .card-first-section .title-block h2 {
    font-size: clamp(24px, 6.8vw, 29px);
  }

  .card-first-section .title-block p {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.5;
  }
}

/* ===== UX2: shared compact card catalog and card-first directory ===== */
.card-market-item__mobile-meta {
  display: none;
}

.card-market-item__action--compare[aria-pressed="true"] {
  color: #fff !important;
  border-color: #087caf !important;
  background: #087caf !important;
}

.card-market-item__compare-symbol {
  font-size: 1.15em;
  line-height: 1;
}

.cards-directory-hero {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(26px, 4vw, 48px);
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(20, 91, 133, .15);
  border-radius: 24px;
  background: linear-gradient(135deg, #eaf8ff 0%, #f9fdff 58%, #fff8df 100%);
}

.cards-directory-hero .eyebrow,
.cards-directory-hero h1,
.cards-directory-hero p {
  margin: 0;
}

.cards-directory-hero h1 span {
  display: inline;
}

.cards-directory-hero__count {
  color: #075782;
  font-size: 14px;
  font-weight: 800;
}

.cards-catalog-section {
  margin-top: 0 !important;
}

.cards-catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  gap: 12px;
  align-items: start;
  margin: 18px 0;
}

.cards-catalog-search {
  display: grid;
  gap: 6px;
  color: #315a70;
  font-size: 12px;
  font-weight: 800;
}

.cards-catalog-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #b9dcea;
  border-radius: 12px;
  color: #073454;
  background: #fff;
  font: inherit;
  font-size: 15px;
}

.cards-catalog-toolbar .card-market-filters {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.cards-catalog-toolbar .card-market-filters summary,
.cards-catalog-discovery > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 14px;
  color: #075782;
  font-weight: 900;
  cursor: pointer;
}

.cards-catalog-toolbar .card-market-filters__grid,
.cards-catalog-toolbar .card-market-filters__row {
  margin: 0;
  padding: 12px;
}

.cards-catalog-toolbar .card-market-filters__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-catalog-toolbar .card-market-filters__grid > label {
  min-width: 0;
}

.cards-catalog-toolbar .card-market-filters__grid select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.cards-catalog-active-filters {
  margin-bottom: 14px;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.cards-load-more-row {
  display: flex;
  justify-content: center;
  margin: 20px 0 0;
}

.cards-catalog-discovery {
  margin-top: 28px;
  border: 1px solid #d3e9f2;
  border-radius: 16px;
  background: #f8fcfe;
}

.cards-catalog-discovery > :not(summary) {
  margin-inline: 16px;
}

@media (max-width: 639px) {
  #cards-directory.page-shell__inner {
    width: min(calc(100% - 28px), 1200px);
    padding-top: 12px;
  }

  .cards-directory-hero {
    gap: 8px;
    margin-bottom: 24px;
    padding: 20px 16px;
    border-radius: 20px;
  }

  .cards-directory-hero h1 {
    font-size: clamp(32px, 9.2vw, 38px);
    line-height: 1.13;
  }

  .cards-directory-hero h1 span {
    display: block;
  }

  .cards-directory-hero .cards-directory-lead {
    font-size: 14px;
    line-height: 1.65;
  }

  .cards-directory-hero__count {
    font-size: 13px;
  }

  .cards-catalog-section {
    padding-block: 22px !important;
  }

  .cards-catalog-section .cards-section-heading {
    margin-bottom: 12px;
  }

  .cards-catalog-section .cards-section-heading h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .cards-catalog-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 12px 0 14px;
  }

  .cards-catalog-search span {
    font-size: 11px;
  }

  .cards-catalog-search input,
  .cards-catalog-toolbar .card-market-filters summary {
    min-height: 44px;
  }

  #cards-directory-list.card-market-grid,
  .card-first-section .card-market-grid,
  #related-card-list.card-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .card-market-item {
    gap: 4px;
    padding: 8px;
    border-radius: 13px;
  }

  .card-market-item__image {
    padding: 2px;
    border-radius: 9px;
  }

  .bizcre-main-content .section .card-market-item__issuer {
    font-size: 10px;
    line-height: 1.3;
  }

  .card-market-item__networks,
  .card-market-item__networks .brand-mark-group {
    min-height: 22px;
    max-height: 22px;
  }

  .card-market-item__networks .brand-mark-group {
    gap: 4px;
  }

  .card-market-item__networks .network-logo-inline {
    max-width: 44px;
    height: 16px !important;
  }

  .bizcre-main-content .card-market-item__name {
    min-height: calc(1.4em * 2);
    max-height: calc(1.4em * 2);
    font-size: 15px;
    line-height: 1.4;
  }

  .card-market-item__mobile-meta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    min-height: 22px;
    margin: 0;
    overflow: hidden;
  }

  .card-market-item__mobile-grade {
    flex: 0 0 auto;
    min-height: 20px;
    padding: 2px 6px;
    font-size: 10px;
  }

  .card-market-item__mobile-fee {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #173f55;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-market-item__mobile-fee small {
    margin-right: 3px;
    color: #69808d;
    font-size: 9px;
  }

  .card-market-item__actions {
    position: static;
    min-height: 0;
  }

  .bizcre-main-content .card-market-item__action--compare {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: grid !important;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(7, 52, 84, .16) !important;
  }

  .card-market-item__action--compare > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .card-market-item__compare-symbol {
    font-size: 22px;
  }

  .cards-catalog-discovery {
    margin-top: 22px;
  }
}

/* ===== UX3: field-first mobile comparison ===== */
.compare-mobile-vertical {
  display: none;
}

@media (max-width: 639px) {
  body.bizcre-compare-page .page-shell__inner {
    padding: 22px 14px 40px;
  }

  body.bizcre-compare-page .page-shell__inner > h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.15;
  }

  body.bizcre-compare-page .page-shell__inner > h1 + p {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.65;
  }

  #compare-root > p:first-child,
  #compare-root .compare-mobile-list {
    display: none !important;
  }

  #compare-root .compare-mobile-vertical {
    display: grid;
    gap: 18px;
  }

  .compare-mobile-navigator,
  .compare-mobile-group {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(20, 91, 133, .16);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 60, 90, .07);
  }

  .compare-mobile-heading p {
    margin: 0 0 3px;
    color: #0c83bd;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
  }

  .compare-mobile-heading h2,
  .compare-mobile-group > h2 {
    margin: 0;
    color: #073454;
    font-size: 20px;
    line-height: 1.35;
  }

  .compare-mobile-group > h2 {
    padding-left: 10px;
    border-left: 4px solid #16a7d9;
  }

  .compare-mobile-nav-grid,
  .compare-mobile-field dl,
  .compare-mobile-official-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
    margin: 0;
  }

  .compare-mobile-nav-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d7e7ee;
    border-radius: 13px;
    background: #f7fbfd;
  }

  .compare-mobile-nav-card > a {
    display: grid;
    gap: 5px;
    min-height: 100%;
    padding: 8px;
    color: #073454;
    text-decoration: none;
  }

  .compare-mobile-nav-card__face {
    display: grid;
    width: 100%;
    aspect-ratio: 1.586 / 1;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #eef5f8;
  }

  .compare-mobile-nav-card__face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .compare-mobile-nav-card__number {
    color: #0785c2;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
  }

  .compare-mobile-nav-card strong {
    display: -webkit-box;
    min-height: calc(1.4em * 2);
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
    text-wrap: pretty;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .compare-mobile-nav-card__remove {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 5px;
    display: grid;
    width: 44px;
    min-height: 44px;
    padding: 0;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: rgba(7, 52, 84, .86);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(7, 52, 84, .18);
  }

  .compare-mobile-field {
    display: grid;
    gap: 8px;
    min-width: 0;
  }

  .compare-mobile-field + .compare-mobile-field {
    padding-top: 12px;
    border-top: 1px solid #dfeaf0;
  }

  .compare-mobile-field h3 {
    margin: 0;
    color: #0a527a;
    font-size: 14px;
    line-height: 1.4;
  }

  .compare-mobile-value,
  .compare-mobile-official-card {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    margin: 0;
    padding: 10px;
    border-radius: 11px;
    background: #f2f8fb;
  }

  .compare-mobile-value dt,
  .compare-mobile-official-card p {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 6px;
    align-items: start;
    min-width: 0;
    margin: 0;
    color: #476879;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.35;
  }

  .compare-mobile-value dt > span,
  .compare-mobile-official-card p > span {
    display: grid;
    width: 22px;
    min-height: 22px;
    place-items: center;
    border-radius: 999px;
    background: #0b8bc7;
    color: #fff;
    font-size: 9px;
  }

  .compare-mobile-value dd {
    min-width: 0;
    margin: 0;
    color: #082f47;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .compare-mobile-value__empty {
    color: #8ba0aa;
    font-weight: 700;
  }

  .compare-mobile-value .brand-mark-row,
  .compare-mobile-value .brand-mark-group,
  .compare-mobile-value .payment-method-logo-group {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
  }

  .compare-mobile-value .network-logo-inline,
  .compare-mobile-value .payment-method-logo {
    max-width: 54px;
    height: 18px !important;
    object-fit: contain;
  }

  .compare-mobile-official-card .table-cta {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding-inline: 8px;
    font-size: 11px;
    line-height: 1.35;
  }

  body.bizcre-compare-page .page-shell__inner > p:last-child {
    margin: 20px 0 0;
  }
}

/* ===== UX4: six compact needs after card discovery ===== */
.home-need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(78px, auto);
  gap: 12px;
  margin-top: 20px;
}

.home-need-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  height: 100%;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid #cce2ec;
  border-radius: 16px;
  background: #fff;
  color: #073d60;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(11, 83, 122, .07);
}

.home-need-card > span:first-child {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-need-card strong {
  color: #0b84bd;
  font-size: 13px;
  white-space: nowrap;
}

.home-need-card__arrow {
  display: grid;
  width: 28px;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #e5f6fd;
  color: #087db5;
  font-size: 17px;
  font-weight: 900;
}

.home-need-card:hover,
.home-need-card:focus-visible {
  border-color: #23a7dc;
  background: #f0faff;
  transform: translateY(-1px);
}

.home-need-all {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

.home-need-all .table-cta {
  width: min(100%, 360px);
  min-height: 48px;
  margin: 0;
}

.use-case-taxonomy-grid--hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.use-case-taxonomy-grid--hub > .use-case-card {
  height: 100%;
}

@media (max-width: 900px) {
  .home-need-grid,
  .use-case-taxonomy-grid--hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== UX5: compact comparison tray and safe fixed areas ===== */
.compare-tray {
  min-height: calc(64px + env(safe-area-inset-bottom));
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}

.compare-tray__inner {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  width: min(720px, 100%);
}

.compare-tray__inner > strong {
  font-size: 15px;
  white-space: nowrap;
}

.compare-tray__faces {
  display: none !important;
}

.compare-tray .table-cta {
  min-width: 112px;
  min-height: 44px;
  margin: 0;
  padding: 8px 14px;
}

body.has-compare-tray {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

body.has-compare-tray .floating-campaign-box {
  bottom: calc(88px + env(safe-area-inset-bottom)) !important;
}

body.bizcre-compare-page .compare-tray,
body.bizcre-compare-page.has-compare-tray .compare-tray {
  display: none !important;
}

body.bizcre-compare-page.has-compare-tray {
  padding-bottom: 0;
}

@media (max-width: 639px) {
  .compare-tray {
    min-height: calc(60px + env(safe-area-inset-bottom));
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  }

  .compare-tray__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 48px;
  }

  .compare-tray__inner > strong {
    font-size: 14px;
  }

  .compare-tray .table-cta {
    min-width: 0;
    min-height: 44px;
    padding: 7px 11px;
    font-size: 13px;
  }

  body.has-compare-tray {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 639px) {
  .use-case-section {
    padding-block: 30px !important;
  }

  .use-case-section .title-block {
    margin-bottom: 0;
  }

  .use-case-section .title-block h2 {
    font-size: clamp(25px, 7.4vw, 31px);
  }

  .use-case-section .title-block p:last-child {
    font-size: 13px;
    line-height: 1.6;
  }

  .home-need-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(58px, auto);
    gap: 10px;
    margin-top: 16px;
  }

  .home-need-card {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 58px;
    padding: 10px 12px;
  }

  .home-need-card > span:first-child {
    font-size: 15px;
    text-align: center;
  }

  .home-need-card strong {
    font-size: 11px;
  }

  .home-need-card__arrow {
    display: none;
  }

  .use-case-taxonomy-grid--hub {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* Industry discovery and long-form readability */
.article-hero:has(+ .notice-pr + .industry-chooser-section) {
  padding-block: clamp(28px, 4vw, 48px);
}

.industry-chooser-section {
  padding-block: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 100% 0%, rgba(15, 168, 211, 0.13), transparent 34%),
    linear-gradient(180deg, #f5fbff 0%, #edf8fc 100%);
}

.industry-chooser-section h2,
.industry-focus-details-section h2 {
  margin-bottom: 8px;
}

.industry-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.industry-choice-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 8px 10px;
  min-width: 0;
  min-height: 118px;
  padding: 18px;
  color: #073b61;
  text-decoration: none;
  background: #fff;
  border: 1px solid #b9ddeb;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(6, 57, 91, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.industry-choice-card:hover,
.industry-choice-card:focus-visible {
  color: #006fa6;
  border-color: #0fa8d3;
  box-shadow: 0 14px 30px rgba(6, 57, 91, 0.12);
  transform: translateY(-2px);
}

.industry-choice-card strong {
  min-width: 0;
  font-size: 17px;
  line-height: 1.45;
}

.industry-choice-card span {
  display: -webkit-box;
  grid-column: 1 / -1;
  overflow: hidden;
  color: #466579;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.industry-choice-card b {
  color: #0a8ebd;
  font-size: 20px;
}

.industry-choice-card--compact {
  align-content: center;
  min-height: 72px;
  padding: 14px 16px;
}

.industry-more-picker,
.industry-hub-explainer,
.industry-focus-detail {
  margin-top: 16px;
  overflow: clip;
  background: #fff;
  border: 1px solid #b9ddeb;
  border-radius: 16px;
}

.industry-more-picker > summary,
.industry-hub-explainer > summary,
.industry-focus-detail > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 14px 18px;
  color: #073b61;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.industry-more-picker > summary::-webkit-details-marker,
.industry-hub-explainer > summary::-webkit-details-marker,
.industry-focus-detail > summary::-webkit-details-marker {
  display: none;
}

.industry-more-picker > summary::after,
.industry-hub-explainer > summary::after,
.industry-focus-detail > summary::after {
  flex: 0 0 auto;
  content: "＋";
  color: #0a8ebd;
  font-size: 22px;
}

.industry-more-picker[open] > summary::after,
.industry-hub-explainer[open] > summary::after,
.industry-focus-detail[open] > summary::after {
  content: "−";
}

.industry-more-picker .industry-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0 16px 16px;
}

.industry-chooser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.industry-chooser-actions .table-cta {
  min-width: min(100%, 260px);
  min-height: 48px;
}

.industry-hub-explainer-section,
.industry-focus-details-section {
  padding-block: clamp(24px, 4vw, 44px);
}

.industry-hub-explainer {
  margin-top: 0;
}

.industry-hub-explainer__body,
.industry-focus-detail__body {
  padding: 4px 20px 20px;
}

.industry-hub-explainer__body .industry-intro-section + .industry-intro-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #d7eaf2;
}

.industry-focus-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.industry-focus-details > .industry-focus-section {
  /* Cancel the standalone-section max width and outer margins inside the grid. */
  width: auto;
  margin: 0;
  padding: clamp(18px, 2.4vw, 24px) !important;
}

.industry-focus-detail {
  min-width: 0;
  margin-top: 0;
}

.industry-focus-detail > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 8px;
  align-items: start;
}

.industry-focus-detail > summary strong {
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
}

.industry-focus-detail > summary span {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  color: #567083;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
  writing-mode: horizontal-tb;
}

.industry-focus-detail > summary::after {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

@media (max-width: 1180px) {
  .industry-focus-details {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
.industry-article-jump {
  margin: 16px 0 24px;
  padding: 16px;
  background: #f2fbfe;
  border: 1px solid #b9ddeb;
  border-radius: 14px;
}

.industry-article-jump > strong {
  display: block;
  margin-bottom: 10px;
  color: #073b61;
}

.industry-article-jump > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.industry-article-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 13px;
  color: #075c8d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border: 1px solid #a9d4e6;
  border-radius: 999px;
}

.industry-table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 16px 0 26px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.industry-table-scroll .mini-table {
  min-width: 640px;
  margin: 0;
}

.industry-editorial-hero {
  width: min(100%, 1120px);
  margin: 24px auto 0;
}

.industry-editorial-hero picture,
.industry-editorial-hero img {
  display: block;
  width: 100%;
}

.industry-editorial-hero img {
  aspect-ratio: 16 / 9;
  max-height: 480px;
  object-fit: cover;
  border: 1px solid rgba(14, 103, 151, 0.16);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(7, 59, 97, 0.12);
}

.industry-hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.industry-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  color: #075c8d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #8ecfe8;
  border-radius: 12px;
}

.industry-hero-actions a:first-child {
  color: #fff;
  background: linear-gradient(135deg, #087eae, #0aa7d8);
  border-color: transparent;
}

.industry-hero-actions a:focus-visible,
.industry-hero-actions a:hover {
  outline: 3px solid rgba(8, 126, 174, 0.2);
  outline-offset: 2px;
}

@media (max-width: 899px) {
  .industry-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-choice-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .industry-more-picker .industry-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-more-picker .industry-choice-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 639px) {
  .article-hero:has(.industry-editorial-hero) {
    padding-block: 20px 24px;
  }

  .article-hero:has(.industry-editorial-hero) h1 {
    font-size: clamp(28px, 8.8vw, 38px);
    line-height: 1.2;
  }

  .article-hero:has(.industry-editorial-hero) p {
    font-size: 15px;
    line-height: 1.7;
  }

  .industry-editorial-hero {
    margin-top: 18px;
  }

  .industry-editorial-hero img {
    max-height: 260px;
    border-radius: 14px;
  }

  .industry-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .industry-hero-actions a {
    min-height: 48px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .industry-hero-actions a:last-child {
    grid-column: 1 / -1;
  }

  .industry-chooser-section {
    padding-block: 24px;
  }

  .industry-chooser-section > .page-shell__inner,
  .industry-hub-explainer-section > .page-shell__inner,
  .industry-focus-details-section > .page-shell__inner {
    padding-inline: 16px;
  }

  .industry-choice-grid {
    gap: 10px;
    margin-top: 16px;
  }

  .industry-choice-card {
    min-height: 94px;
    padding: 13px;
    border-radius: 13px;
  }

  .industry-choice-card strong {
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.45;
  }

  .industry-choice-card span {
    font-size: 11px;
  }

  .industry-choice-card--compact {
    min-height: 64px;
  }

  .industry-more-picker > summary,
  .industry-hub-explainer > summary,
  .industry-focus-detail > summary {
    min-height: 48px;
    padding: 12px 14px;
  }

  .industry-more-picker .industry-choice-grid {
    gap: 8px;
    padding: 0 10px 10px;
  }

  .industry-chooser-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .industry-chooser-actions .table-cta {
    width: 100%;
  }

  .industry-focus-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .industry-focus-detail > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .industry-focus-detail > summary span {
    grid-column: 1 / -1;
    max-width: none;
    text-align: left;
  }

  .industry-article-jump {
    margin: 12px 0 20px;
    padding: 12px;
  }

  .industry-article-jump > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-article-jump a {
    justify-content: center;
    min-width: 0;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
  }

  .industry-table-scroll {
    margin-block: 14px 24px;
    overflow: visible;
  }

  .industry-table-scroll .mini-table {
    display: grid;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
  }

  .industry-table-scroll .table-scroll {
    max-width: 100%;
    overflow: visible;
  }

  .industry-table-scroll .table-scroll > .mini-table {
    width: 100%;
    min-width: 0 !important;
  }

  .industry-table-scroll .mini-table caption {
    display: block;
    width: 100%;
    padding: 0 4px 10px;
    color: #244d64;
    font-weight: 800;
    text-align: left;
  }

  .industry-table-scroll .mini-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }

  .industry-table-scroll .mini-table tbody {
    display: grid;
    gap: 12px;
  }

  .industry-table-scroll .mini-table tr {
    display: grid;
    overflow: hidden;
    background: #fff;
    border: 1px solid #bddce8;
    border-radius: 14px;
    box-shadow: 0 7px 18px rgba(7, 59, 97, 0.05);
  }

  .industry-table-scroll .mini-table td {
    display: grid;
    grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 11px 13px;
    border: 0;
    border-bottom: 1px solid #dcecf2;
    writing-mode: horizontal-tb;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .industry-table-scroll .mini-table td:last-child {
    border-bottom: 0;
  }

  .industry-table-scroll .mini-table td::before {
    content: attr(data-label);
    min-width: 0;
    color: #076b9b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    writing-mode: horizontal-tb;
    word-break: keep-all;
  }
}

/* Final cascade for shared 2026-07-24 UX rules. */
.query-answer-block {
  padding: 0;
  overflow: hidden;
}
.industry-top3-card__reason {
  overflow: hidden;
  border: 1px solid #d4e8f0;
  border-radius: 10px;
  background: #f6fbfd;
}
.industry-top3-card__reason strong {
  display: inline;
}
.industry-top3-card__checked > span,
.context-card__checked,
.survey-card__checked > span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}
body.has-recommendation-rail .company-fit-sticky {
  right: auto;
  left: 24px;
}
.large-gradient-cta,
.card-market-item__official,
.context-card__official,
.industry-top3-card__official,
.survey-card__official,
.industry-hero-actions a:first-child,
.table-cta:not(.muted-cta),
.table-cta:not(.muted-cta):not(.card-apply-cta),
.table-cta.card-market-item__action--official,
.button.primary:not(.disabled-cta),
.open-diagnosis-modal,
.quick-comparison-actions__primary {
  color: #fff !important;
  background: #075c8d !important;
  background-image: none !important;
  background-size: auto !important;
  animation: none !important;
}
.table-cta:not(.muted-cta):not(.card-apply-cta)::before,
.table-cta:not(.muted-cta):not(.card-apply-cta)::after,
.table-cta.card-market-item__action--official::before,
.table-cta.card-market-item__action--official::after,
.button.primary:not(.disabled-cta)::before,
.button.primary:not(.disabled-cta)::after,
.large-gradient-cta::before,
.large-gradient-cta::after,
.card-market-item__official::before,
.card-market-item__official::after,
.context-card__official::before,
.context-card__official::after,
.industry-top3-card__official::before,
.industry-top3-card__official::after,
.survey-card__official::before,
.survey-card__official::after {
  display: none !important;
}
.bizcre-footer-nav {
  display: block;
}
.bizcre-footer-nav__links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 980px) {
  body.has-recommendation-rail .company-fit-sticky {
    right: 10px;
    left: 10px;
  }
}

@media (max-width: 639px) {
  /* On article pages both fixed navigators remain independently reachable. */
  body.has-recommendation-rail .company-fit-sticky {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    width: auto;
  }

  body.has-recommendation-rail .card-rank-sticky {
    top: auto;
    right: 10px;
    bottom: calc(190px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    width: auto;
  }

  .industry-top3-card__reason,
  .industry-top3-card__checked,
  .survey-card__checked {
    grid-column: 1 / -1 !important;
  }
  .bizcre-related-inline .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bizcre-footer-nav__links {
    margin-top: 0;
  }

  /* Keep the card-detail quick facts readable without forcing a horizontal scroll. */
  .card-article-shell__inner .mini-table--basics {
    display: table;
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
  }

  .card-article-shell__inner .mini-table--basics th {
    width: 36%;
  }

  .card-article-shell__inner .mini-table--basics th,
  .card-article-shell__inner .mini-table--basics td {
    padding: 11px 10px;
    font-size: 14px;
    line-height: 1.55;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    writing-mode: horizontal-tb;
  }
}
.home-sole-proprietor-cta,
.sole-proprietor-entry-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  min-height: 56px;
  margin: 20px auto 0;
  padding: 14px 22px;
  border: 2px solid #087fbd;
  border-radius: 14px;
  background: #087fbd;
  color: #fff;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 0 #075d8a;
}
.home-sole-proprietor-cta:hover,
.home-sole-proprietor-cta:focus-visible,
.sole-proprietor-entry-cta:hover,
.sole-proprietor-entry-cta:focus-visible {
  background: #075d8a;
  color: #fff;
}

/* Primary actions should be easy to find without turning secondary controls
   into competing calls to action. The pulse is deliberately shadow-only, so
   labels and the card layout never move. */
@keyframes bizcre-primary-cta-pulse {
  0%, 100% {
    box-shadow: 0 5px 0 #075d8a, 0 0 0 0 rgba(31, 176, 232, .22), 0 10px 22px rgba(7, 92, 141, .18);
  }
  50% {
    box-shadow: 0 5px 0 #075d8a, 0 0 0 7px rgba(31, 176, 232, 0), 0 14px 30px rgba(31, 176, 232, .42);
  }
}

.table-cta:not(.muted-cta):not(.card-apply-cta),
.table-cta.card-market-item__action--official,
.button.primary:not(.disabled-cta),
.large-gradient-cta,
.card-market-item__official,
.context-card__official,
.industry-top3-card__official,
.survey-card__official,
.industry-hero-actions a:first-child,
.open-diagnosis-modal,
.quick-comparison-actions__primary,
.bizcre-nav-cta,
.home-sole-proprietor-cta,
.sole-proprietor-entry-cta,
.sole-proprietor-entry-banner a {
  animation: bizcre-primary-cta-pulse 2.8s ease-in-out infinite !important;
}

@media (prefers-reduced-motion: reduce) {
  .table-cta:not(.muted-cta):not(.card-apply-cta),
  .table-cta.card-market-item__action--official,
  .button.primary:not(.disabled-cta),
  .large-gradient-cta,
  .card-market-item__official,
  .context-card__official,
  .industry-top3-card__official,
  .survey-card__official,
  .industry-hero-actions a:first-child,
  .open-diagnosis-modal,
  .quick-comparison-actions__primary,
  .bizcre-nav-cta,
  .home-sole-proprietor-cta,
  .sole-proprietor-entry-cta,
  .sole-proprietor-entry-banner a {
    animation: none !important;
  }
}

/* The homepage entry is a primary action, so retain a comfortably large tap target. */
.home-sole-proprietor-cta {
  width: min(100%, 920px);
  min-height: 76px;
  margin-top: 24px;
  padding: 18px 28px;
  border-radius: 16px;
  font-size: 1.18rem;
  letter-spacing: .02em;
  touch-action: manipulation;
}

/* A lead author card makes the article-end fallback redundant. */
body:has(.author-profile-card.is-lead) .author-profile-card.is-tail {
  display: none;
}
.sole-proprietor-entry-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 22px auto;
  padding: 20px;
  border: 1px solid #8bcbe9;
  border-radius: 16px;
  background: #eef9ff;
}
.sole-proprietor-entry-banner p {
  margin: 0;
  color: #084c70;
  font-weight: 800;
}
.sole-proprietor-entry-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 12px;
  background: #087fbd;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 620px) {
  .home-sole-proprietor-cta {
    min-height: 68px;
    padding: 16px 20px;
    font-size: 1.06rem;
  }

  .sole-proprietor-entry-banner {
    grid-template-columns: 1fr;
  }
  .sole-proprietor-entry-banner a {
    width: 100%;
  }
}

/* Card title display contract: semantic source lines own all card-specific
   breaks.  Titles must never rely on clipping or emergency character breaks. */
.card-market-item__name {
  display: block;
  min-width: 0;
  max-height: none;
  overflow: visible;
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
  hyphens: none;
}

.card-market-item__name a {
  display: block;
  min-width: 0;
}

@media (max-width: 639px) {
  .bizcre-main-content .card-market-item__name,
  .diagnosis-recommendation-grid .card-market-item__name {
    display: block;
    min-height: 0;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
}

/* Keep fixed discovery panels in one clear stack, regardless of page shell. */
@media (min-width: 981px) {
  .company-fit-sticky,
  body.has-recommendation-rail .company-fit-sticky {
    top: auto;
    bottom: 24px;
  }

  .card-rank-sticky,
  body.has-recommendation-rail .card-rank-sticky {
    top: auto;
    bottom: 252px;
  }
}

@media (max-width: 980px) {
  .company-fit-sticky,
  body.has-recommendation-rail .company-fit-sticky {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .card-rank-sticky,
  body.has-recommendation-rail .card-rank-sticky {
    bottom: calc(176px + env(safe-area-inset-bottom, 0px));
  }
}

/* Industry choices retain usable line lengths instead of narrowing copy by character. */
.industry-choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.industry-choice-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 136px;
}

.industry-choice-card strong {
  flex: 1 1 0;
}

.industry-choice-card b {
  flex: 0 0 auto;
  order: 1;
}

.industry-choice-card span {
  display: -webkit-box;
  flex: 1 0 100%;
  order: 2;
  width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-line-clamp: 3;
}

.feature-employee-chart {
  margin: 0 0 clamp(32px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid #d2e5ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(6, 57, 91, 0.08);
}

.feature-employee-chart img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-employee-chart figcaption {
  padding: 13px 18px;
  color: #34566b;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.55;
}

@media (max-width: 639px) {
  .industry-choice-grid {
    grid-template-columns: 1fr;
  }

  .industry-choice-card {
    min-height: 124px;
  }

  .feature-employee-chart {
    border-radius: 14px;
  }
}

/* Keep the executive feature route distinct from the site-wide blue CTA cascade. */
.home-executive-card-cta,
body .feature-grade-page .table-cta.phase2-executive-cross-link__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .72em;
  min-height: 54px;
  padding: 14px 26px;
  border: 1px solid #d9bb75 !important;
  border-radius: 999px !important;
  background: linear-gradient(116deg, #090a0c 0%, #2c261b 48%, #090a0c 100%) !important;
  color: #f9e6b0 !important;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .035em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-shadow: none !important;
  animation: executive-gp-entry-pulse 2.8s ease-out infinite !important;
  transition: transform .2s ease, border-color .2s ease, filter .2s ease;
}

.home-executive-card-cta {
  /* Keep the black-and-gold entry identical in footprint to the adjacent
     sole-proprietor CTA; only the visual treatment differs. */
  /* `inline-flex` ignores auto side margins, which shifts this entry left
     when the available width exceeds 920px. */
  display: flex !important;
  width: min(100%, 920px);
  min-height: 76px;
  margin: 24px auto 0;
  padding: 18px 28px;
  font-size: 1.18rem;
  letter-spacing: .02em;
  touch-action: manipulation;
}

body .feature-grade-page .table-cta.phase2-executive-cross-link__cta {
  margin-top: 18px;
}

body .feature-grade-page .table-cta.phase2-executive-cross-link__cta::before,
body .feature-grade-page .table-cta.phase2-executive-cross-link__cta::after {
  content: none !important;
  display: none !important;
}

.home-executive-card-cta:hover,
.home-executive-card-cta:focus-visible,
body .feature-grade-page .table-cta.phase2-executive-cross-link__cta:hover,
body .feature-grade-page .table-cta.phase2-executive-cross-link__cta:focus-visible {
  border-color: #ffe3a2 !important;
  color: #fff4d5 !important;
  filter: brightness(1.12);
  transform: translateY(-2px);
}

@keyframes executive-gp-entry-pulse {
  0%, 62% { filter: drop-shadow(0 9px 15px rgba(0, 0, 0, .25)); }
  76% { filter: drop-shadow(0 0 14px rgba(226, 184, 91, .72)) drop-shadow(0 12px 19px rgba(0, 0, 0, .3)); }
  100% { filter: drop-shadow(0 9px 15px rgba(0, 0, 0, .25)); }
}

@media (max-width: 639px) {
  .home-executive-card-cta {
    width: 100%;
    min-height: 68px;
    padding: 16px 20px;
    font-size: 1.06rem;
  }

  body .feature-grade-page .table-cta.phase2-executive-cross-link__cta {
    width: 100%;
    min-height: 56px;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-executive-card-cta,
  body .feature-grade-page .table-cta.phase2-executive-cross-link__cta { animation: none !important; transition: none; }
}

/* Contextual interview entry points for the existing gold and platinum pages. */
.feature-grade-page .feature-interview-case {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  border: 1px solid #d8c69d;
  border-radius: 24px;
  background: linear-gradient(128deg, #171715 0%, #252119 57%, #f2e4c7 180%);
  box-shadow: 0 18px 36px rgb(35 30 19 / .15);
  color: #fffaf0;
}
.feature-grade-page .feature-interview-case__copy { padding: clamp(24px, 4vw, 48px); }
.feature-grade-page .feature-interview-case .eyebrow { color: #e3c681; }
.feature-grade-page .feature-interview-case h2 { margin: 8px 0 14px; color: #fffaf0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1.26; }
.feature-grade-page .feature-interview-case p:not(.eyebrow) { margin: 0; color: #f5ead5; font-size: clamp(1rem, 1.45vw, 1.2rem); font-weight: 700; line-height: 1.7; }
.feature-grade-page .feature-interview-case .table-cta { width: fit-content; margin-top: 22px; border-color: #e4c67e; border-radius: 999px; background: linear-gradient(110deg, #b88e42, #edd18a); color: #1b1710; }
.feature-grade-page .feature-interview-case__links { display: grid; gap: 1px; align-self: stretch; border-radius: 0 23px 23px 0; overflow: hidden; background: rgb(235 216 176 / .24); }
.feature-grade-page .feature-interview-case__links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px; background: rgb(255 255 255 / .06); color: #fffaf0; font-size: .95rem; font-weight: 800; line-height: 1.5; text-decoration: none; }
.feature-grade-page .feature-interview-case__links a:hover, .feature-grade-page .feature-interview-case__links a:focus-visible { background: rgb(235 207 145 / .18); }
.feature-grade-page .feature-interview-case__links span { color: #e7cc8f; font-size: 1.2rem; }

@media (max-width: 699px) {
  .feature-grade-page .feature-interview-case { grid-template-columns: 1fr; gap: 0; border-radius: 18px; }
  .feature-grade-page .feature-interview-case__links { border-radius: 0 0 17px 17px; }
  .feature-grade-page .feature-interview-case .table-cta { width: 100%; min-height: 56px; }
}

/* A single documentary entry point for the Episode 03 surfaces. */
.bizcre-interview-case-link { margin: clamp(36px, 6vw, 76px) auto; padding: clamp(24px, 4vw, 44px); border: 1px solid #c6a66a; border-radius: 20px; background: linear-gradient(125deg, #141414, #24201a); color: #fffaf0; box-shadow: 0 18px 38px rgb(17 16 14 / .16); }
.bizcre-interview-case-link__eyebrow { margin: 0 0 10px; color: #dec58d; font-size: .74rem; font-weight: 900; letter-spacing: .12em; line-height: 1.4; }
.bizcre-interview-case-link h2 { margin: 0; color: #fffaf0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.5rem, 3vw, 2.35rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.35; }
.bizcre-interview-case-link > p:not(.bizcre-interview-case-link__eyebrow) { max-width: 58rem; margin: 14px 0 0; color: #ece1ce; line-height: 1.8; }
.bizcre-interview-case-link__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.bizcre-interview-case-link__primary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px; padding: 11px 20px; border: 1px solid #d9bc7d; border-radius: 999px; background: linear-gradient(105deg, #b38a42, #e0c078); color: #191613; font-weight: 900; text-decoration: none; box-shadow: 0 0 0 0 rgb(224 192 120 / .44); animation: bizcre-interview-case-pulse 2.8s ease-out infinite; }
.bizcre-interview-case-link__primary:hover, .bizcre-interview-case-link__primary:focus-visible { background: #f2d69a; color: #191613; transform: translateY(-1px); }
.bizcre-interview-case-link__actions > a:not(.bizcre-interview-case-link__primary) { color: #f2dca6; font-size: .9rem; font-weight: 800; text-underline-offset: .18em; }
@keyframes bizcre-interview-case-pulse { 70% { box-shadow: 0 0 0 12px rgb(224 192 120 / 0); } 100% { box-shadow: 0 0 0 0 rgb(224 192 120 / 0); } }
@media (max-width: 560px) { .bizcre-interview-case-link { margin: 32px 0; border-radius: 16px; } .bizcre-interview-case-link__actions { display: grid; grid-template-columns: 1fr; } .bizcre-interview-case-link__primary { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .bizcre-interview-case-link__primary { animation: none; } }
