/* ==========================================================================
   Creative Finishing Pass: Soft Organic Aesthetic
   Aesthetic: Rounded geometry, warm tints, friendly & calm rhythm
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Atmospheric Polish & Header Finesse
   -------------------------------------------------------------------------- */
.y2af-menu-rail {
  box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.04);
  border-bottom: 1px solid var(--color-border);
}

.y2af-brand-lockup {
  letter-spacing: -0.02em;
}

.y2af-brand-lockup svg {
  border-radius: 8px;
  filter: drop-shadow(0 2px 6px rgba(var(--color-primary-rgb), 0.3));
  transition: transform 0.25s ease;
}

.y2af-brand-lockup:hover svg {
  transform: rotate(-6deg) scale(1.05);
}

.y2af-link-row a {
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.y2af-link-row a:hover {
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   2. Hero Refinement: Saturated Glow & Soft Geometry
   -------------------------------------------------------------------------- */
.y2af-title-stage {
  position: relative;
  background: radial-gradient(circle at 82% 18%, rgba(var(--color-accent-rgb), 0.16) 0%, transparent 44%),
              radial-gradient(circle at 12% 88%, rgba(var(--color-primary-rgb), 0.38) 0%, transparent 52%),
              linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.2);
}

/* Smiling curve divider underneath the hero */
.y2af-title-stage::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 24px;
  background-color: var(--color-bg);
  clip-path: ellipse(54% 100% at 50% 100%);
  pointer-events: none;
}

.y2af-focus-cell {
  position: relative;
  padding: 88px 24px 96px;
}

.y2af-focus-cell::before {
  content: "";
  display: inline-block;
  width: 44px;
  height: 6px;
  background: var(--color-accent);
  border-radius: var(--radius-btn);
  margin-bottom: 1.4rem;
  box-shadow: 0 0 12px rgba(var(--color-accent-rgb), 0.6);
}

.y2af-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.y2af-stamp::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

.y2af-title-stage h1 {
  text-wrap: balance;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.y2af-title-stage p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.68;
}

.y2af-lead-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius-btn);
  background: #ffffff;
  color: var(--color-primary-dark);
  border: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.y2af-lead-action:hover {
  background: #ffffff;
  color: var(--color-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

/* --------------------------------------------------------------------------
   3. Long-Form Article Typography (.article-text-body)
   -------------------------------------------------------------------------- */
.article-text-body {
  color: var(--color-text);
  line-height: 1.68;
}

.article-text-body > p:first-of-type {
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--color-text);
  margin-bottom: 1.4rem;
  padding: 1rem 1.25rem;
  background: rgba(var(--color-primary-rgb), 0.035);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-ctl) var(--radius-ctl) 0;
}

.article-text-body p {
  margin: 0 0 0.95rem;
  color: var(--color-text-muted);
}

.article-text-body strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Expressive Soft Organic H2 Styling */
.article-text-body h2 {
  position: relative;
  display: flex;
  align-items: center;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2.8rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--color-text);
}

.article-text-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 5px;
  border-radius: var(--radius-btn);
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

/* Subordinate H3 Styling */
.article-text-body h3 {
  position: relative;
  font-size: 1.22rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 1.8rem 0 0.6rem;
  color: var(--color-text);
}

/* Organic Soft Dividers (replacing HR) */
.article-text-body hr {
  border: none;
  height: 24px;
  margin: 2.6rem auto;
  background-image: radial-gradient(circle, var(--color-border) 35%, transparent 40%);
  background-size: 16px 6px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.8;
}

/* Links */
.article-text-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(var(--color-primary-rgb), 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  border-radius: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, background-color 0.2s ease;
}

.article-text-body a:hover {
  text-decoration-color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.08);
}

/* Blockquotes with Soft Tint Panel */
.article-text-body blockquote {
  position: relative;
  margin: 1.8rem 0;
  padding: 1.35rem 1.6rem 1.35rem 2.8rem;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.04) 0%, var(--color-bg-card) 100%);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: 0 4px 18px rgba(var(--color-primary-rgb), 0.03);
}

.article-text-body blockquote::before {
  content: "“";
  position: absolute;
  top: 0.3rem;
  left: 0.9rem;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.25;
}

.article-text-body blockquote p {
  color: var(--color-text);
  font-size: 1.02rem;
  font-style: italic;
  margin: 0;
}

/* Refined List Styling */
.article-text-body ul {
  list-style: none;
  padding-left: 0;
  margin: 0.6rem 0 1.2rem;
}

.article-text-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

.article-text-body ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.75;
}

.article-text-body ol {
  padding-left: 1.25rem;
  margin: 0.6rem 0 1.2rem;
}

.article-text-body ol li {
  padding-left: 0.4rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

.article-text-body ol li::marker {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}

/* In-Article Comparison / Feature Tables */
.article-text-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  font-size: 0.93rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.article-text-body thead tr th {
  background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.08) 0%, rgba(var(--color-primary-rgb), 0.04) 100%);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
}

.article-text-body thead tr th:first-child {
  border-top-left-radius: var(--radius-card);
}

.article-text-body thead tr th:last-child {
  border-top-right-radius: var(--radius-card);
}

.article-text-body tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}

.article-text-body tbody tr:nth-child(even) {
  background: rgba(var(--color-primary-rgb), 0.015);
}

.article-text-body tbody tr:last-child td {
  border-bottom: none;
}

.article-text-body tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius-card);
}

.article-text-body tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-card);
}

.article-text-body tbody tr:hover {
  background: rgba(var(--color-primary-rgb), 0.04);
}

/* --------------------------------------------------------------------------
   4. Section Rhythm: Author Bio & Feedback Zone
   -------------------------------------------------------------------------- */
#y2af-editor-bio,
#y2af-feedback-zone {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 34px 38px;
  margin: 3.2rem auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#y2af-editor-bio:hover,
#y2af-feedback-zone:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

/* Feedback Zone Accent Framing */
#y2af-feedback-zone {
  border-top: 3px solid var(--color-primary);
  border-left: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.02) 0%, var(--color-bg-card) 30%);
}

.y2af-ping-section h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.y2af-ping-section .form-note {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-muted);
}

#y2af-contact-fields label {
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

#y2af-contact-fields input,
#y2af-contact-fields textarea {
  border-radius: var(--radius-ctl);
  background: var(--color-input-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#y2af-contact-fields input:focus,
#y2af-contact-fields textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12);
}

#y2af-contact-fields button[type="submit"] {
  border-radius: var(--radius-btn);
  background: var(--color-primary);
  color: #ffffff;
  padding: 12px 34px;
  font-weight: 700;
  font-size: 0.96rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

#y2af-contact-fields button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--color-primary-rgb), 0.38);
  opacity: 0.96;
}

/* Author Bio Polished Card */
#y2af-editor-bio {
  border-left: 4px solid var(--color-primary);
  background: linear-gradient(145deg, rgba(var(--color-primary-rgb), 0.03) 0%, var(--color-bg-card) 40%);
}

.y2af-person-tile img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-card);
  border: 2px solid var(--color-primary);
  padding: 2px;
  box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.15);
  background: var(--color-bg-card);
}

.y2af-person-tile h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin-bottom: 2px;
}

.y2af-person-tile .role-line {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

/* --------------------------------------------------------------------------
   5. Footer Finishing
   -------------------------------------------------------------------------- */
.y2af-end-strip {
  position: relative;
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 68px 24px 0;
  margin-top: 5rem;
}

.y2af-end-strip::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
  background: var(--footer-bg);
  clip-path: ellipse(52% 100% at 50% 100%);
}

.y2af-end-strip .y2af-brand-lockup {
  justify-content: center;
  font-size: 1.15rem;
}

.y2af-end-strip p {
  color: var(--footer-text);
  opacity: 0.82;
  font-size: 0.92rem;
  line-height: 1.6;
}

.y2af-end-strip nav a {
  color: var(--footer-text);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 4px 8px;
  border-radius: var(--radius-ctl);
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.y2af-end-strip nav a:hover {
  color: #ffffff;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.08);
}

.y2af-base-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 42px;
  padding: 24px 0 30px;
  color: var(--footer-text);
  opacity: 0.6;
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   6. Motion & Smooth Micro-Interactions
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes y2af-soft-rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .y2af-focus-cell {
    animation: y2af-soft-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

/* --------------------------------------------------------------------------
   7. Responsive Verification
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .y2af-review-flow {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .y2af-menu-rail {
    padding: 10px 16px;
    gap: 8px;
  }

  .y2af-link-row {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 6px;
    padding-bottom: 2px;
    margin-left: 0;
    -webkit-overflow-scrolling: touch;
  }

  .y2af-link-row a {
    font-size: 0.82rem;
    padding: 5px 10px;
  }

  .y2af-action-rail {
    margin-left: auto;
  }

  .y2af-focus-cell {
    padding: 54px 18px 60px;
  }

  #y2af-editor-bio,
  #y2af-feedback-zone {
    padding: 24px 20px;
    margin: 2.2rem auto;
  }

  .y2af-person-tile .bio-row {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .y2af-focus-cell {
    padding: 44px 16px 50px;
  }

  .y2af-title-stage h1 {
    font-size: 1.85rem;
  }

  .y2af-lead-action {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .article-text-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #y2af-contact-fields button[type="submit"] {
    width: 100%;
  }

  .y2af-person-tile img {
    width: 72px;
    height: 72px;
  }
}

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

/* ==========================================================================
   Soft Organic Theme Unification — Comparison Table & Listing Cards
   ========================================================================== */

/* --------------------------------------------------------------------------
   Smiling-Curve SVG Wave Dividers
   -------------------------------------------------------------------------- */
.x9m-wave-top,
.k8v-wave-divider {
  width: 100%;
  height: 32px;
  margin: 0 0 2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.x9m-wave-top svg,
.k8v-wave-divider svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-border);
  stroke-width: 1.75;
  stroke-linecap: round;
  fill: none;
}

/* --------------------------------------------------------------------------
   Section Intro & Typographic Harmony
   -------------------------------------------------------------------------- */
.x9m-header-deck,
.k8v-section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.25rem;
  padding: 0 1rem;
}

.x9m-eyebrow,
.k8v-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.08);
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  padding: 5px 14px;
  border-radius: var(--radius-btn);
  margin-bottom: 0.75rem;
}

.x9m-heading,
.k8v-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0 0 0.65rem;
  color: var(--color-text);
}

.x9m-intro,
.k8v-section-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Comparison Table (#y2af-compare-index)
   -------------------------------------------------------------------------- */
#y2af-compare-index {
  position: relative;
  margin: 3rem 0;
  font-family: var(--font-sans);
  color: var(--color-text);
}

.x9m-grid-wrap {
  width: 100%;
  background: var(--color-bg-card);
  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;
}

.x9m-grid-wrap:hover {
  box-shadow: var(--shadow-card-hover);
}

.x9m-sheet {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.x9m-sheet th {
  background: rgba(var(--color-primary-rgb), 0.035);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
}

.x9m-sheet td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  font-size: 0.92rem;
  line-height: 1.45;
  background: transparent;
}

.x9m-row {
  transition: background-color 0.2s ease;
}

.x9m-row:hover {
  background-color: rgba(var(--color-primary-rgb), 0.025);
}

.x9m-sheet tr:last-child td {
  border-bottom: none;
}

/* #1 Winner Emphasis Row in Table (Volumo) */
.x9m-row-primus {
  background: linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.07) 0%, rgba(var(--color-primary-rgb), 0.015) 100%);
}

.x9m-row-primus td {
  border-bottom: 2px solid rgba(var(--color-primary-rgb), 0.22);
}

.x9m-brand-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.x9m-order-pill {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--color-text-muted);
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-ctl);
  background: rgba(var(--color-primary-rgb), 0.05);
}

.x9m-row-primus .x9m-order-pill {
  color: #ffffff;
  background: var(--color-primary);
}

.x9m-brand-core {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.x9m-brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.25;
}

/* Soft Organic Winner Chip */
.x9m-winner-chip,
.k8v-winner-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--color-primary);
  padding: 3px 10px;
  border-radius: var(--radius-btn);
  width: fit-content;
  box-shadow: 0 3px 10px rgba(var(--color-primary-rgb), 0.28);
}

.x9m-winner-dot,
.k8v-winner-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px var(--color-accent);
}

/* Signature Technique 1: Rating Squircle */
.x9m-squircle,
.k8v-squircle-rating {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-ctl);
  background: rgba(var(--color-primary-rgb), 0.07);
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.x9m-squircle {
  width: 48px;
  height: 48px;
}

.k8v-squircle-rating {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.x9m-squircle-primus,
.k8v-squircle-winner {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.3);
}

.x9m-score-val,
.k8v-score-figure {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
}

.x9m-score-val {
  font-size: 1.08rem;
}

.k8v-score-figure {
  font-size: 1.5rem;
}

.x9m-squircle-primus .x9m-score-val,
.k8v-squircle-winner .k8v-score-figure {
  color: #ffffff;
}

.x9m-score-max,
.k8v-score-scale {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.x9m-squircle-primus .x9m-score-max,
.k8v-squircle-winner .k8v-score-scale {
  color: rgba(255, 255, 255, 0.85);
}

/* Specs & Metadata */
.x9m-spec-line {
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.x9m-spec-sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.x9m-cost-badge {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   Listings Cards (#y2af-pick-stack)
   -------------------------------------------------------------------------- */
#y2af-pick-stack {
  position: relative;
  margin: 3.5rem 0;
  font-family: var(--font-sans);
  color: var(--color-text);
}

.k8v-card-assembly {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.k8v-card-shell {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 2.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.k8v-card-shell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

/* Signature Technique 2: Pastel Tinted Panels (Same Hue Family) */
.k8v-tint-winner {
  background: linear-gradient(172deg, rgba(var(--color-primary-rgb), 0.055) 0%, var(--color-bg-card) 32%);
  border: 2px solid rgba(var(--color-primary-rgb), 0.4);
}

.k8v-tint-silver {
  background: linear-gradient(172deg, rgba(var(--color-primary-rgb), 0.03) 0%, var(--color-bg-card) 26%);
  border: 1px solid var(--color-border);
}

.k8v-tint-bronze {
  background: linear-gradient(172deg, rgba(var(--color-primary-rgb), 0.018) 0%, var(--color-bg-card) 22%);
  border: 1px solid var(--color-border);
}

/* Card Header */
.k8v-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.15rem;
}

.k8v-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.k8v-tag-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.k8v-rank-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-text-muted);
}

.k8v-eyebrow-chip {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: var(--radius-btn);
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
}

.k8v-title-text {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.7vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
  color: var(--color-text);
}

/* Typography Spacing Inside Cards */
.k8v-summary-body {
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--color-text-muted);
  margin: 0 0 1.35rem;
}

.k8v-summary-body strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Pros and Cons Split Grid */
.k8v-eval-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-ctl);
  background: rgba(var(--color-primary-rgb), 0.025);
  border: 1px solid rgba(var(--color-primary-rgb), 0.07);
}

.k8v-eval-column h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.k8v-eval-pros h4 {
  color: var(--color-success);
}

.k8v-eval-cons h4 {
  color: var(--color-danger);
}

.k8v-eval-column ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.k8v-eval-column li {
  position: relative;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-text);
  margin-bottom: 7px;
  padding-left: 1.35rem;
}

.k8v-eval-column li:last-child {
  margin-bottom: 0;
}

.k8v-eval-pros li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--color-success);
}

.k8v-eval-cons li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-danger);
}

/* Card Bottom Action Strip */
.k8v-action-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.k8v-feature-capsules {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.k8v-capsule {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(var(--color-primary-rgb), 0.05);
  padding: 5px 11px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   CTA Hierarchy & Art-Directed Buttons
   -------------------------------------------------------------------------- */
.x9m-cta-btn,
.k8v-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none !important;
  border-radius: var(--radius-btn);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.x9m-cta-btn {
  padding: 9px 18px;
  font-size: 0.86rem;
}

.k8v-btn-link {
  padding: 11px 24px;
  font-size: 0.92rem;
}

/* Primary Level CTA (Winner - Volumo) */
.x9m-cta-primary,
.k8v-btn-primary {
  background: var(--color-primary);
  color: #ffffff !important;
  border: 1px solid var(--color-primary);
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.32);
}

.x9m-cta-primary:hover,
.k8v-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.44);
  opacity: 0.96;
}

/* Secondary Level CTA */
.x9m-cta-secondary,
.k8v-btn-secondary {
  background: transparent;
  color: var(--color-primary) !important;
  border: 1.5px solid rgba(var(--color-primary-rgb), 0.4);
}

.x9m-cta-secondary:hover,
.k8v-btn-secondary:hover {
  background: rgba(var(--color-primary-rgb), 0.08);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.x9m-cta-quiet {
  background: rgba(var(--color-primary-rgb), 0.04);
  color: var(--color-text) !important;
  border: 1px solid var(--color-border);
}

.x9m-cta-quiet:hover {
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Responsive Layout & Mobile Reflow (Zero Horizontal Scroll Guarantee)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Prevent any wrapper overflow */
  #y2af-compare-index,
  .x9m-grid-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .x9m-grid-wrap:hover {
    box-shadow: none !important;
  }

  /* Reflow table rows into stacked cards */
  .x9m-sheet,
  .x9m-sheet thead,
  .x9m-sheet tbody,
  .x9m-sheet th,
  .x9m-sheet td,
  .x9m-sheet tr {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .x9m-sheet thead {
    display: none !important;
  }

  .x9m-sheet tr.x9m-row {
    background: var(--color-bg-card) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) !important;
    padding: 1.25rem 1.15rem !important;
    margin-bottom: 1.35rem !important;
    box-shadow: var(--shadow-card) !important;
  }

  .x9m-sheet tr.x9m-row-primus {
    border: 2px solid var(--color-primary) !important;
    box-shadow: 0 8px 30px rgba(var(--color-primary-rgb), 0.16) !important;
  }

  .x9m-sheet td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border: none !important;
    border-bottom: 1px dashed var(--color-border) !important;
    text-align: right !important;
  }

  .x9m-sheet td::before {
    content: attr(data-label);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    text-align: left;
    padding-right: 14px;
    flex-shrink: 0;
  }

  .x9m-sheet td.x9m-td-brand {
    padding-top: 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--color-border) !important;
  }

  .x9m-sheet td.x9m-td-brand::before {
    display: none !important;
  }

  .x9m-sheet td.x9m-td-action {
    border-bottom: none !important;
    padding-top: 14px !important;
    padding-bottom: 0 !important;
    display: block !important;
  }

  .x9m-sheet td.x9m-td-action::before {
    display: none !important;
  }

  .x9m-sheet td.x9m-td-action .x9m-cta-btn {
    width: 100% !important;
    text-align: center;
    padding: 11px 20px;
  }

  /* Cards Mobile Stack */
  .k8v-card-shell {
    padding: 1.45rem 1.25rem;
  }

  .k8v-card-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1rem;
  }

  .k8v-squircle-rating {
    align-self: flex-start;
    width: 54px;
    height: 54px;
  }

  .k8v-score-figure {
    font-size: 1.32rem;
  }

  .k8v-eval-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 1rem;
  }

  .k8v-action-deck {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .k8v-feature-capsules {
    justify-content: flex-start;
  }

  .k8v-btn-link {
    width: 100%;
    text-align: center;
  }
}