/* ============================================================
   landing/yar-polish.css: R2 Yar suite polish, page-specific
   styles only (yar.html, yar/features.html). Round 2 visual
   pass: new "What Yar is" value-prop cards on yar.html, and a
   small contrast fix on the feature-voting page's instructional
   copy. Every color/font/spacing value below is a var(--...)
   token already defined in styles.css / site-extend.css / yar.css.
   Those files are frozen; nothing here overrides their selectors,
   only adds new ones or narrows an existing color for contrast.
   ============================================================ */

/* ---------------------------------------------------------------
   yar.html "What Yar is" section: value-prop cards inside the
   shared .card-grid primitive (site-extend.css defines the grid
   itself; the card look lives here, same visual language as
   about.html's .value-card / .strategy-card).
   --------------------------------------------------------------- */
.yar-value-grid { margin-top: 8px; }

.yar-value-card {
  padding: 24px 24px 26px; background: var(--surface); border: 1px solid var(--hair);
  border-radius: 16px; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.yar-value-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--cg-indigo-600) 24%, transparent); }
.yar-value-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.yar-value-card h3 {
  font-family: var(--f-display); font-size: 16.5px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ink); margin: 0 0 10px; line-height: 1.3;
}
.yar-value-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .yar-value-card { transition: none !important; }
}

/* ---------------------------------------------------------------
   yar/features.html: quieter, higher-contrast instruction copy.
   --------------------------------------------------------------- */
.pack-tab-hint { color: var(--muted); }


/* ============================================================
   ROUND 3: positioning gap, ND-native proof cards, comparison
   strip, why-now cluster, hero note. Same rule as the block
   above -- everything routes through existing var(--...) tokens,
   except .yar-whynow, which intentionally uses the newer teal
   accent (var(--cg-teal-600)) called out in brand v11.2.1, scoped to that
   one section only.
   ============================================================ */

/* Hero: quiet line under the CTAs */
.yar-hero-note {
  font-family: var(--f-serif); font-style: italic; font-size: 14.5px;
  color: var(--muted); line-height: 1.5; margin: 14px 0 0; max-width: 460px;
}

/* Section 1/3 figures: keep the illustration from getting too tall
   next to a short text column inside .feature-row. */
.yar-quadrant-figure svg,
.yar-whynow-figure svg { max-height: 320px; }

/* Section 2: ND-native proof cards (2-up card-grid, same visual
   language as .yar-value-card, with a larger illustration slot). */
.yar-proof-grid { margin-top: 8px; }
.yar-proof-card {
  padding: 24px 24px 26px; background: var(--surface); border: 1px solid var(--hair);
  border-radius: 16px; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.yar-proof-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--cg-indigo-600) 24%, transparent); }
.yar-proof-visual {
  background: var(--bg-soft); border-radius: 12px; padding: 14px 18px;
  margin-bottom: 16px; display: flex; align-items: center; justify-content: center;
}
.yar-proof-visual svg { width: 100%; height: auto; max-height: 128px; display: block; }
.yar-proof-card h3 {
  font-family: var(--f-display); font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; line-height: 1.3;
}
.yar-proof-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Comparison strip: two cards, Yar column emphasized in violet. */
.yar-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) {
  .yar-compare-grid { grid-template-columns: 1fr; }
}
.yar-compare-card {
  background: var(--surface); border: 1px solid var(--hair); border-radius: 16px;
  padding: 26px 28px;
}
.yar-compare-card h3 {
  font-family: var(--f-display); font-size: 13.5px; font-weight: 620;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px;
}
.yar-compare-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.yar-compare-card li {
  font-size: 14.5px; line-height: 1.55; color: var(--ink-2); padding-left: 18px; position: relative;
}
.yar-compare-card li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--faint);
}
.yar-compare-card--yar {
  border-color: color-mix(in srgb, var(--cg-violet-600) 35%, transparent); background: color-mix(in srgb, var(--cg-violet-600) 4.5%, transparent);
  box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--cg-indigo-600) 35%, transparent);
}
.yar-compare-card--yar h3 { color: var(--text-violet); }
.yar-compare-card--yar li::before { background: var(--violet); }

/* Section 3: "why now" teal accent, scoped to this section only. */
.yar-whynow .eyebrow { color: var(--cg-teal-700); }
.yar-whynow .eyebrow::before { background: var(--cg-teal-600); }

/* ROUND 4: 7th feature-group card (v11 model, 125 features / 7 groups).
   Reuses the brand teal accent already scoped to this page's "why now"
   section instead of introducing a new hue. */
.domain-card[data-domain="finding-your-way-back"]::before { background: var(--cg-teal-600); }
.domain-card[data-domain="finding-your-way-back"] .dc-sub,
.domain-card[data-domain="finding-your-way-back"] .domain-sub { color: var(--cg-teal-700); }
.domain-card[data-domain="finding-your-way-back"] .domain-icon { background: color-mix(in srgb, var(--cg-teal-600) 10%, var(--cg-lp-surface)); color: var(--cg-teal-600); }

/* Section 1 and Section 3 stack two plain <p> paragraphs in their
   .feature-row text column; the sitewide * { margin:0 } reset means
   they need an explicit gap between them. */
.yar-gap p + p,
.yar-whynow p + p { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  .yar-proof-card { transition: none !important; }
}
