/* ==========================================================================
   Refined Luxury Art Direction — Finishing Pass
   ========================================================================== */

/* Restore global document tokens over nested article stylesheet */
html body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.64;
}

/* --------------------------------------------------------------------------
   1. Header & Responsive Navigation Polish
   -------------------------------------------------------------------------- */
.h676-menu-rail {
  padding: 12px 28px;
  gap: 16px;
}

.h676-brand-lockup {
  letter-spacing: -0.01em;
  font-weight: 400;
  font-size: 1.12rem;
  flex-shrink: 0;
}

.h676-menu-line ul {
  gap: 2px;
}

.h676-menu-line a {
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  position: relative;
}

.h676-menu-line a:hover,
.h676-menu-line a:focus-visible {
  color: var(--color-primary-dark);
  background: rgba(var(--color-primary-rgb), 0.1);
  outline: none;
}

html.dark .h676-menu-line a:hover,
html.dark .h676-menu-line a:focus-visible {
  color: var(--color-primary);
}

#h676-find-box:focus {
  width: 195px;
}

@media (max-width: 1024px) {
  .h676-menu-rail {
    padding: 12px 20px;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .h676-menu-rail {
    padding: 12px 16px;
    row-gap: 10px;
  }
  .h676-brand-lockup {
    font-size: 1.02rem;
  }
  .h676-tool-cluster {
    margin-left: auto;
  }
  .h676-menu-line {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
  }
  .h676-menu-line ul {
    width: 100%;
    justify-content: flex-start;
    gap: 4px 6px;
  }
  .h676-menu-line a {
    padding: 6px 10px;
    font-size: 0.82rem;
  }
  #h676-find-box {
    width: 140px;
  }
  #h676-find-box:focus {
    width: 165px;
  }
}

@media (max-width: 480px) {
  .h676-menu-rail {
    padding: 10px 14px;
    gap: 8px;
  }
  .h676-tool-cluster {
    gap: 6px;
  }
  #h676-find-box {
    width: 112px;
    padding: 6px 11px;
    font-size: 0.8rem;
  }
  #h676-find-box:focus {
    width: 132px;
  }
}

/* --------------------------------------------------------------------------
   2. Hero Refinement — Deep Editorial Stage
   -------------------------------------------------------------------------- */
.h676-intro-deck {
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.35);
}

.h676-stage-core {
  padding: 84px 24px 88px;
}

.h676-stage-core::before {
  width: 64px;
  height: 3px;
  border-radius: var(--radius-btn);
  margin-bottom: 1.35rem;
}

.h676-stamp {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-btn);
  background: rgba(var(--color-primary-rgb), 0.14);
}

.h676-intro-deck h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 4.8vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin-bottom: 1rem;
}

.h676-intro-deck p:not(.h676-stamp) {
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 610px;
  margin-bottom: 1.85rem;
}

.h676-prime-cta {
  padding: 13px 32px;
  letter-spacing: 0.02em;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.h676-prime-cta:hover,
.h676-prime-cta:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 768px) {
  .h676-stage-core {
    padding: 56px 20px 60px;
  }
}

@media (max-width: 480px) {
  .h676-stage-core {
    padding: 44px 16px 48px;
  }
  .h676-intro-deck p:not(.h676-stamp) {
    font-size: 0.98rem;
  }
  .h676-prime-cta {
    width: 100%;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   3. Long-Form Article Typography inside .h676-core-feed
   (Preserves #h676-rating-matrix and #h676-review-deck untouched)
   -------------------------------------------------------------------------- */
.h676-core-feed {
  padding: 2.2rem 1.5rem 2.6rem;
}

.h676-core-feed .container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--color-text);
}

/* Editorial lead callout */
.h676-core-feed .container .intro {
  margin: 0.4rem 0 1.8rem;
  padding: 20px 22px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--color-text-muted);
}

/* H2 — Expressive serif with hairline divider and accent rule */
.h676-core-feed .container h2 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.48rem, 2.8vw, 1.88rem);
  line-height: 1.22;
  color: var(--color-text);
  margin: 2.2rem 0 0.85rem;
  padding: 1.35rem 0 0.55rem;
  border-top: 1px solid var(--color-border);
}

.h676-core-feed .container h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 0.55rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-btn);
}

/* H3 — Refined serif subheadings */
.h676-core-feed .container h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.26rem;
  line-height: 1.28;
  color: var(--color-text);
  margin: 1.3rem 0 0.45rem;
  padding-left: 12px;
  border-left: 2px solid var(--color-primary);
}

/* Compact paragraph rhythm */
.h676-core-feed .container p {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  line-height: 1.66;
  color: var(--color-text-muted);
}

.h676-core-feed .container strong {
  color: var(--color-text);
  font-weight: 600;
}

/* WCAG-safe elegant link underlines */
.h676-core-feed .container a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, opacity 0.2s ease;
}

.h676-core-feed .container a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
  opacity: 1;
}

html.dark .h676-core-feed .container a {
  color: var(--color-primary);
  text-decoration-color: rgba(var(--color-primary-rgb), 0.65);
}

html.dark .h676-core-feed .container a:hover {
  color: var(--color-text);
  text-decoration-color: var(--color-accent);
}

/* Lists inside article */
.h676-core-feed .container ul,
.h676-core-feed .container ol {
  margin: 0.3rem 0 1rem;
  padding-left: 1.35rem;
}

.h676-core-feed .container li {
  margin-bottom: 0.42rem;
  line-height: 1.58;
  color: var(--color-text-muted);
}

.h676-core-feed .container ul li::marker {
  color: var(--color-primary);
}

.h676-core-feed .container ol li::marker {
  color: var(--color-primary-dark);
  font-family: var(--font-display);
}

html.dark .h676-core-feed .container ol li::marker {
  color: var(--color-primary);
}

/* Blockquotes */
.h676-core-feed blockquote {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.15rem 1.4rem 1.15rem 1.6rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.h676-core-feed blockquote p {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0;
}

/* In-article summary table */
.h676-core-feed .container table {
  width: 100%;
  margin: 1.6rem 0 2rem;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.h676-core-feed .container table thead {
  background: var(--color-primary-dark);
  color: var(--color-bg);
}

html.dark .h676-core-feed .container table thead {
  background: var(--color-bg-card);
  color: var(--color-text);
}

.h676-core-feed .container table th {
  padding: 11px 12px;
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-align: left;
  background: transparent;
  color: inherit;
  border-bottom: 2px solid var(--color-primary);
}

.h676-core-feed .container table th strong {
  color: inherit;
  font-weight: 700;
}

.h676-core-feed .container table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: top;
  overflow-wrap: break-word;
}

.h676-core-feed .container table tbody tr:nth-child(even) {
  background: var(--color-bg-card);
}

.h676-core-feed .container table tbody tr:hover {
  background: rgba(var(--color-primary-rgb), 0.08);
}

.h676-core-feed .container table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 767px) {
  .h676-core-feed .container table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Ranking cards inside .container */
.h676-core-feed .container .ranking-item {
  position: relative;
  margin: 1.2rem 0 1.8rem;
  padding: 24px 22px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.h676-core-feed .container .ranking-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--color-primary-rgb), 0.55);
}

.h676-core-feed .container .ranking-item.featured {
  background: linear-gradient(155deg, rgba(var(--color-primary-rgb), 0.10) 0%, var(--color-bg-card) 62%, rgba(var(--color-accent-rgb), 0.03) 100%);
  border: 1.5px solid var(--color-primary);
  box-shadow: var(--shadow-card), inset 0 3px 0 var(--color-primary-dark);
}

html.dark .h676-core-feed .container .ranking-item.featured {
  box-shadow: var(--shadow-card), inset 0 3px 0 var(--color-primary);
}

.h676-core-feed .container .ranking-item.featured::before {
  content: "Best in Class";
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-btn);
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

html.dark .h676-core-feed .container .ranking-item.featured::before {
  background: rgba(var(--color-accent-rgb), 0.22);
  color: var(--color-text);
  border: 1px solid var(--color-accent);
}

/* Signature hairline circle enclosure around rank marker */
.h676-core-feed .container .rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 12px 6px 0;
  vertical-align: middle;
  transition: border-color 0.24s ease, background-color 0.24s ease;
}

.h676-core-feed .container .ranking-item.featured .rank-number {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

.h676-core-feed .container .ranking-item:hover .rank-number {
  border-color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.08);
}

.h676-core-feed .container .company-name {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
  margin: 0 0 10px;
}

.h676-core-feed .container .company-name strong {
  font-weight: 400;
}

/* Pros and cons blocks inside ranking items */
.h676-core-feed .container .pros,
.h676-core-feed .container .cons {
  margin: 0.9rem 0;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-ctl);
}

.h676-core-feed .container .pros h4,
.h676-core-feed .container .cons h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
}

.h676-core-feed .container .pros h4 {
  color: var(--color-success);
}

.h676-core-feed .container .cons h4 {
  color: var(--color-danger);
}

.h676-core-feed .container .pros ul,
.h676-core-feed .container .cons ul {
  margin: 0;
  color: var(--color-text-muted);
}

.h676-core-feed .container .pros li,
.h676-core-feed .container .cons li {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* CTA pills inside article */
.h676-core-feed .container .cta-button {
  display: inline-block;
  margin: 14px 10px 2px 0;
  padding: 10px 22px;
  background: var(--color-primary-dark);
  color: var(--color-bg);
  border: 1px solid var(--color-primary-dark);
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.h676-core-feed .container .cta-button:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
  text-decoration: none;
}

html.dark .h676-core-feed .container .cta-button {
  background: var(--color-primary);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

html.dark .h676-core-feed .container .cta-button:hover {
  background: var(--color-accent);
  color: var(--color-text);
  border-color: var(--color-accent);
}

/* Methodology panel */
.h676-core-feed .container .methodology {
  margin: 1rem 0 1.6rem;
  padding: 20px 22px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* FAQ cards */
.h676-core-feed .container .faq-item {
  margin: 0.9rem 0;
  padding: 18px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.h676-core-feed .container .faq-item:hover {
  border-color: rgba(var(--color-primary-rgb), 0.5);
  box-shadow: var(--shadow-card);
}

.h676-core-feed .container .faq-item h3 {
  margin: 0 0 8px;
  padding-left: 0;
  border-left: none;
  font-size: 1.16rem;
  color: var(--color-text);
}

.h676-core-feed .container .faq-item p {
  margin: 0;
  font-size: 0.96rem;
}

@media (max-width: 480px) {
  .h676-core-feed {
    padding: 1.5rem 1rem 2rem;
  }
  .h676-core-feed .container .ranking-item {
    padding: 18px 16px;
  }
  .h676-core-feed .container .cta-button {
    display: block;
    width: 100%;
    text-align: center;
    margin-right: 0;
  }
}

/* --------------------------------------------------------------------------
   4. Section Rhythm — Contact, Author & Footer
   -------------------------------------------------------------------------- */
#h676-get-in-touch,
#h676-about-writer {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

#h676-get-in-touch {
  margin: 2.2rem auto;
  position: relative;
}

.h676-reach-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

#h676-about-writer {
  margin: 2rem auto 3rem;
}

.h676-person-name {
  font-weight: 400;
  font-size: 1.32rem;
}

.h676-title-note {
  letter-spacing: 0.11em;
}

.h676-person-tile img {
  border: 2px solid var(--color-primary);
  padding: 2px;
  background: var(--color-bg);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.h676-person-tile:hover img {
  border-color: var(--color-accent);
  transform: scale(1.03);
}

.h676-profile-links a {
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  background: var(--color-bg);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.h676-profile-links a:hover {
  border-color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.08);
  color: var(--color-accent);
}

html.dark .h676-profile-links a {
  color: var(--color-primary);
}

html.dark .h676-profile-links a:hover {
  color: var(--color-text);
}

@media (max-width: 768px) {
  #h676-get-in-touch,
  #h676-about-writer {
    margin-left: 16px;
    margin-right: 16px;
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  #h676-get-in-touch,
  #h676-about-writer {
    margin-left: 14px;
    margin-right: 14px;
    padding: 20px 16px;
  }
  .h676-person-row {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

/* Footer Polish */
.h676-bottom-deck {
  border-top: 2px solid var(--color-primary);
  padding-top: 52px;
}

.h676-bottom-deck .h676-brand-lockup {
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}

.h676-end-nav {
  gap: 8px 22px;
  margin-bottom: 14px;
}

.h676-end-nav a {
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.h676-end-nav a:hover {
  border-bottom-color: var(--color-primary);
}

.h676-fine-print {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   5. Entrance Motion (Reduced-Motion Safe)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes h676EditorialReveal {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .h676-stage-core {
    animation: h676EditorialReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .h676-core-feed {
    animation: h676EditorialReveal 0.65s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

/* === CSS CONTENT === */

/* ==========================================================================
   Fintech Translation Agency 2026 — Unified Data Components (style.css)
   Targets: #h676-rating-matrix & #h676-review-deck
   ========================================================================== */

/* 1. Shared Editorial Headers & Kicker Alignment
   -------------------------------------------------------------------------- */
section#h676-rating-matrix,
section#h676-review-deck {
  max-width: 100%;
  margin: 2.25rem 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  box-sizing: border-box;
}

section#h676-rating-matrix .h676-mtx-head,
section#h676-review-deck .h676-dk-head {
  margin-bottom: 1.25rem;
}

section#h676-rating-matrix .h676-mtx-kicker,
section#h676-review-deck .h676-dk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-primary-dark);
}

html.dark section#h676-rating-matrix .h676-mtx-kicker,
html.dark section#h676-review-deck .h676-dk-kicker {
  color: var(--color-primary);
}

section#h676-rating-matrix .h676-mtx-kicker::before,
section#h676-review-deck .h676-dk-kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--color-primary);
}

section#h676-rating-matrix h2.h676-mtx-title,
section#h676-review-deck h2.h676-dk-title {
  margin: 0 0 0.4rem;
  padding: 0;
  border-top: none;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

section#h676-rating-matrix .h676-mtx-lead,
section#h676-review-deck .h676-dk-lead {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* 2. Comparison Matrix (#h676-rating-matrix)
   -------------------------------------------------------------------------- */
section#h676-rating-matrix .h676-mtx-shell {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

section#h676-rating-matrix .h676-mtx-shell:hover {
  box-shadow: var(--shadow-card-hover);
}

section#h676-rating-matrix .h676-mtx-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  border: none;
  border-collapse: collapse;
  background: transparent;
}

section#h676-rating-matrix .h676-mtx-grid thead tr,
section#h676-rating-matrix .h676-mtx-grid thead tr:hover {
  background: var(--color-bg-card);
}

section#h676-rating-matrix .h676-mtx-colhead {
  padding: 12px 10px;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  text-align: left;
  border-bottom: 1.5px solid var(--color-border);
  vertical-align: middle;
}

@media (min-width: 768px) {
  section#h676-rating-matrix .h676-mtx-grid {
    table-layout: fixed;
  }

  section#h676-rating-matrix .h676-mtx-colhead:first-child {
    width: 30%;
    padding-left: 16px;
  }

  section#h676-rating-matrix .h676-mtx-colhead:nth-child(2) {
    width: 21%;
  }

  section#h676-rating-matrix .h676-mtx-colhead:nth-child(3) {
    width: 16%;
  }

  section#h676-rating-matrix .h676-mtx-colhead:nth-child(4) {
    width: 16%;
  }

  section#h676-rating-matrix .h676-mtx-colhead:last-child {
    width: 17%;
    text-align: right;
    padding-right: 16px;
  }
}

section#h676-rating-matrix .h676-mtx-entry,
section#h676-rating-matrix .h676-mtx-entry:nth-child(even) {
  background: var(--color-bg);
  transition: background-color 0.22s ease;
}

section#h676-rating-matrix .h676-mtx-entry:hover {
  background: rgba(var(--color-primary-rgb), 0.05);
}

section#h676-rating-matrix .h676-mtx-laureate {
  background: linear-gradient(
    95deg,
    rgba(var(--color-primary-rgb), 0.12) 0%,
    rgba(var(--color-primary-rgb), 0.03) 65%,
    var(--color-bg) 100%
  );
  transition: background 0.25s ease;
}

section#h676-rating-matrix .h676-mtx-laureate:hover {
  background: linear-gradient(
    95deg,
    rgba(var(--color-primary-rgb), 0.16) 0%,
    rgba(var(--color-accent-rgb), 0.05) 100%
  );
}

section#h676-rating-matrix .h676-mtx-cell {
  padding: 12px 10px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  background: transparent;
  font-size: 0.85rem;
  line-height: 1.42;
  color: var(--color-text-muted);
  overflow-wrap: break-word;
}

section#h676-rating-matrix .h676-mtx-cell:first-child {
  padding-left: 16px;
}

section#h676-rating-matrix .h676-mtx-cell:last-child {
  padding-right: 16px;
  text-align: right;
}

section#h676-rating-matrix tr:last-child .h676-mtx-cell {
  border-bottom: none;
}

section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-cell {
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.35);
}

section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-cell:first-child {
  box-shadow: inset 3px 0 0 var(--color-primary);
}

/* Rank micro-label & Best in Class treatment */
section#h676-rating-matrix .h676-mtx-idline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

section#h676-rating-matrix .h676-mtx-rank {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-rank {
  color: var(--color-primary-dark);
}

html.dark section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-rank {
  color: var(--color-primary);
}

section#h676-rating-matrix .h676-mtx-ribbon,
section#h676-review-deck .h676-dk-laureate-seal {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-btn);
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.45;
}

html.dark section#h676-rating-matrix .h676-mtx-ribbon,
html.dark section#h676-review-deck .h676-dk-laureate-seal {
  background: rgba(var(--color-accent-rgb), 0.24);
  color: var(--color-text);
  border: 1px solid var(--color-accent);
}

/* Signature Technique 1: Display serif score in hairline circle enclosure */
section#h676-rating-matrix .h676-mtx-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

section#h676-rating-matrix .h676-mtx-orb {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-orb {
  border: 1.5px solid var(--color-primary);
  background: var(--color-bg);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.14);
}

section#h676-rating-matrix .h676-mtx-entry:hover .h676-mtx-orb,
section#h676-rating-matrix .h676-mtx-laureate:hover .h676-mtx-orb {
  border-color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.09);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.1);
  transform: scale(1.04);
}

section#h676-rating-matrix .h676-mtx-firm {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.24;
  color: var(--color-text);
}

section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-firm {
  font-size: 1.08rem;
}

section#h676-rating-matrix .h676-mtx-txt {
  display: block;
  color: var(--color-text);
  font-size: 0.83rem;
}

section#h676-rating-matrix .h676-mtx-sub {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 0.81rem;
  font-weight: 500;
}

/* Signature Technique 2: Muted duotone hover on chips */
section#h676-rating-matrix .h676-mtx-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--radius-ctl);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  font-size: 0.69rem;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

section#h676-rating-matrix .h676-mtx-entry:hover .h676-mtx-pill,
section#h676-rating-matrix .h676-mtx-laureate:hover .h676-mtx-pill {
  border-color: rgba(var(--color-accent-rgb), 0.42);
  background: rgba(var(--color-accent-rgb), 0.08);
  color: var(--color-text);
}

/* Matrix CTA hierarchy */
section#h676-rating-matrix .h676-mtx-cta,
section#h676-rating-matrix .h676-mtx-cta-prime {
  display: inline-block;
  padding: 7px 12px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

section#h676-rating-matrix .h676-mtx-cta {
  background: var(--color-bg-card);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

section#h676-rating-matrix .h676-mtx-cta:hover {
  border-color: var(--color-primary-dark);
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-text);
  transform: translateY(-1px);
  opacity: 1;
}

html.dark section#h676-rating-matrix .h676-mtx-cta:hover {
  border-color: var(--color-primary);
}

section#h676-rating-matrix .h676-mtx-cta-prime {
  background: var(--color-primary-dark);
  color: var(--color-bg);
  border: 1px solid var(--color-primary-dark);
  padding: 8px 13px;
  box-shadow: var(--shadow-card);
}

section#h676-rating-matrix .h676-mtx-cta-prime:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
  opacity: 1;
}

html.dark section#h676-rating-matrix .h676-mtx-cta-prime {
  background: var(--color-primary);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

html.dark section#h676-rating-matrix .h676-mtx-cta-prime:hover {
  background: var(--color-accent);
  color: var(--color-text);
  border-color: var(--color-accent);
}

/* 3. Listing Cards (#h676-review-deck)
   -------------------------------------------------------------------------- */
section#h676-review-deck .h676-dk-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

section#h676-review-deck .h676-dk-folio,
section#h676-review-deck .h676-dk-laureate {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

section#h676-review-deck .h676-dk-folio:hover,
section#h676-review-deck .h676-dk-laureate:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--color-primary-rgb), 0.55);
}

section#h676-review-deck .h676-dk-laureate {
  background: linear-gradient(
    155deg,
    rgba(var(--color-primary-rgb), 0.12) 0%,
    var(--color-bg-card) 58%,
    rgba(var(--color-accent-rgb), 0.03) 100%
  );
  border: 1.5px solid var(--color-primary);
  box-shadow: var(--shadow-card), inset 0 4px 0 var(--color-primary-dark);
  padding-top: 28px;
}

html.dark section#h676-review-deck .h676-dk-laureate {
  box-shadow: var(--shadow-card), inset 0 4px 0 var(--color-primary);
}

section#h676-review-deck .h676-dk-laureate:hover {
  border-color: var(--color-accent);
}

section#h676-review-deck .h676-dk-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

section#h676-review-deck .h676-dk-identity {
  flex: 1;
  min-width: 0;
}

section#h676-review-deck .h676-dk-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

section#h676-review-deck .h676-dk-rank {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

section#h676-review-deck .h676-dk-laureate .h676-dk-rank {
  color: var(--color-primary-dark);
}

html.dark section#h676-review-deck .h676-dk-laureate .h676-dk-rank {
  color: var(--color-primary);
}

section#h676-review-deck .h676-dk-eyebrow {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

section#h676-review-deck .h676-dk-folio:hover .h676-dk-eyebrow,
section#h676-review-deck .h676-dk-laureate:hover .h676-dk-eyebrow {
  border-color: rgba(var(--color-accent-rgb), 0.45);
  background: rgba(var(--color-accent-rgb), 0.08);
  color: var(--color-text);
}

section#h676-review-deck h3.h676-dk-name {
  margin: 0 0 6px;
  padding: 0;
  border: none;
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 2.5vw, 1.66rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

section#h676-review-deck .h676-dk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  font-size: 0.71rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* Signature Technique 1: Display rating ring */
section#h676-review-deck .h676-dk-dial {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section#h676-review-deck .h676-dk-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

section#h676-review-deck .h676-dk-laureate .h676-dk-ring {
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12), inset 0 0 0 1px rgba(var(--color-primary-rgb), 0.22);
}

section#h676-review-deck .h676-dk-folio:hover .h676-dk-ring,
section#h676-review-deck .h676-dk-laureate:hover .h676-dk-ring {
  border-color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.08);
  box-shadow: 0 0 0 4px rgba(var(--color-accent-rgb), 0.1);
}

section#h676-review-deck .h676-dk-score {
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
}

section#h676-review-deck .h676-dk-scale {
  margin-top: 2px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--color-text-muted);
}

section#h676-review-deck .h676-dk-summary {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Compact Verdict & List Spacing */
section#h676-review-deck .h676-dk-verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 15px 16px;
  margin-bottom: 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-ctl);
}

section#h676-review-deck h4.h676-dk-listhead {
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--color-text);
}

section#h676-review-deck ul,
section#h676-review-deck .h676-dk-procol ul,
section#h676-review-deck .h676-dk-concol ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

section#h676-review-deck .h676-dk-procol li,
section#h676-review-deck .h676-dk-concol li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0 0 7px 0;
  font-size: 0.88rem;
  line-height: 1.46;
  color: var(--color-text-muted);
}

section#h676-review-deck .h676-dk-procol li:last-child,
section#h676-review-deck .h676-dk-concol li:last-child {
  margin-bottom: 0;
}

section#h676-review-deck .h676-dk-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

section#h676-review-deck .h676-dk-cert {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-text-muted);
}

/* Card CTA Hierarchy */
section#h676-review-deck .h676-dk-cta,
section#h676-review-deck .h676-dk-cta-prime {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.25;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

section#h676-review-deck .h676-dk-cta-prime {
  background: var(--color-primary-dark);
  color: var(--color-bg);
  border: 1px solid var(--color-primary-dark);
  box-shadow: var(--shadow-card);
}

section#h676-review-deck .h676-dk-cta-prime:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
  opacity: 1;
}

html.dark section#h676-review-deck .h676-dk-cta-prime {
  background: var(--color-primary);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

html.dark section#h676-review-deck .h676-dk-cta-prime:hover {
  background: var(--color-accent);
  color: var(--color-text);
  border-color: var(--color-accent);
}

section#h676-review-deck .h676-dk-cta {
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

section#h676-review-deck .h676-dk-cta:hover {
  border-color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.08);
  color: var(--color-text);
  transform: translateY(-1px);
  opacity: 1;
}

/* 4. Responsive Reflow Below 768px (Zero Horizontal Scroll)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  section#h676-rating-matrix,
  section#h676-rating-matrix .h676-mtx-shell,
  section#h676-rating-matrix .h676-mtx-grid,
  section#h676-rating-matrix .h676-mtx-grid tbody {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: visible;
  }

  section#h676-rating-matrix .h676-mtx-shell {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  section#h676-rating-matrix .h676-mtx-shell:hover {
    box-shadow: none;
  }

  section#h676-rating-matrix .h676-mtx-grid thead {
    display: none;
  }

  section#h676-rating-matrix .h676-mtx-entry,
  section#h676-rating-matrix .h676-mtx-entry:nth-child(even),
  section#h676-rating-matrix .h676-mtx-laureate {
    display: block;
    width: 100%;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-card);
  }

  section#h676-rating-matrix .h676-mtx-laureate {
    border: 1.5px solid var(--color-primary);
    background: linear-gradient(
      155deg,
      rgba(var(--color-primary-rgb), 0.12) 0%,
      var(--color-bg-card) 75%
    );
    box-shadow: var(--shadow-card), inset 0 3px 0 var(--color-primary-dark);
  }

  html.dark section#h676-rating-matrix .h676-mtx-laureate {
    box-shadow: var(--shadow-card), inset 0 3px 0 var(--color-primary);
  }

  section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-cell:first-child {
    box-shadow: none;
  }

  section#h676-rating-matrix .h676-mtx-cell,
  section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-cell {
    display: block;
    width: 100%;
    padding: 9px 0;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
  }

  section#h676-rating-matrix .h676-mtx-cell:first-child,
  section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-cell:first-child {
    padding: 0 0 11px;
  }

  section#h676-rating-matrix .h676-mtx-cell:last-child,
  section#h676-rating-matrix .h676-mtx-laureate .h676-mtx-cell:last-child {
    padding: 12px 0 0;
    border-bottom: none;
    text-align: left;
  }

  section#h676-rating-matrix .h676-mtx-cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--color-text-muted);
  }

  section#h676-rating-matrix .h676-mtx-cell:last-child::before {
    display: none;
  }

  section#h676-rating-matrix .h676-mtx-cta,
  section#h676-rating-matrix .h676-mtx-cta-prime {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
    white-space: normal;
  }

  /* Review Deck Mobile Stack (<768px) */
  section#h676-review-deck .h676-dk-folio,
  section#h676-review-deck .h676-dk-laureate {
    padding: 20px 18px;
  }

  section#h676-review-deck .h676-dk-top {
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  section#h676-review-deck .h676-dk-verdict {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  section#h676-review-deck .h676-dk-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  section#h676-review-deck .h676-dk-cta,
  section#h676-review-deck .h676-dk-cta-prime {
    display: block;
    width: 100%;
    text-align: center;
  }
}