/* Shared editorial and conversion refinements. */
.section--dark { background-image: none; }
.hero { padding: 88px 0; }
.hero h1 { line-height: 1.12; text-wrap: balance; }
.hero p.lede { color: #c5c0d8; line-height: 1.7; }
.delivery-plan { border-block-start: 2px solid var(--accent-dim); padding-block: 24px 0; }
.delivery-label { color: #c5c0d8; font-size: 12px; letter-spacing: .1em; margin-bottom: 24px; }
.delivery-plan ol { list-style: none; margin: 0; padding: 0; }
.delivery-plan li { display: grid; grid-template-columns: 32px 1fr; gap: 18px; padding-block: 18px; border-block-end: 1px solid var(--ink-line); }
.delivery-number { color: var(--accent-dim); font-size: 13px; padding-top: 5px; font-variant-numeric: tabular-nums; }
.delivery-plan h2 { font-size: 21px; line-height: 1.4; margin: 0 0 6px; }
.delivery-plan p { font-size: 15px; line-height: 1.65; color: #c5c0d8; margin: 0 0 8px; }
.delivery-plan small { color: #aaa3c7; font-size: 12px; line-height: 1.5; }
.kc-card { display: block; color: inherit; }
.kc-card h3 { font-size: 18px; line-height: 1.5; }
.kc-card:hover, .cap-card:hover { outline: 1px solid var(--accent); outline-offset: -1px; }
a:focus-visible, button:focus-visible { outline: 3px solid #d8054f; outline-offset: 4px; }
.inquiry-context { border-inline-start: 3px solid var(--accent); padding: 12px 16px; background: var(--paper); margin-block: 16px; font-size: 14px; line-height: 1.7; }
.inquiry-context p { margin-block: 0 8px; }
.inquiry-context label { display: flex; align-items: flex-start; gap: 8px; }
.inquiry-context input[type="checkbox"] { width: auto; margin-top: 6px; }
.source-notes { border-block-start: 1px solid var(--paper-line); padding-block: 24px; margin-block: 24px; }
.source-notes h2 { font-size: 20px; margin-bottom: 12px; }
.source-notes ul { padding-inline-start: 22px; }
.source-notes a { text-decoration: underline; text-underline-offset: 3px; }
html[dir="rtl"] body { font-family: Arial, "Segoe UI", sans-serif; }
html[dir="rtl"] :is(.dek, .answer, .lede, .block p, .block li) { line-height: 1.85; }
html[dir="rtl"] :is(.eyebrow, .delivery-label, .fmt, .trust-label, .ndp-group-label) { letter-spacing: 0; }
html[dir="rtl"] .hero h1 { font-size: clamp(34px, 4.3vw, 54px); line-height: 1.25; }
html[dir="rtl"] .delivery-plan h2 { font-size: 23px; }
html[dir="rtl"] .delivery-plan small { font-size: 14px; }
@media (max-width: 900px) {
  .hero { padding: 48px 0; }
  .hero-grid { gap: 36px; }
  .delivery-plan { width: 100%; max-width: 580px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 35px; }
  .hero p.lede { font-size: 17px; }
  .delivery-plan li { gap: 12px; }
  .delivery-plan small { font-size: 12px; }
  .consent-banner { max-height: 40dvh; overflow-y: auto; }
}

/* Rounded outer edges for all tabular card groups, in both languages. */
:is(.cap-grid, .metric-grid, .expert-grid, .fw-grid, .stats-row, .ind-grid, .card-grid, .co-grid) {
  border-radius: 20px;
  overflow: hidden;
}
:is(.cap-grid, .expert-grid, .fw-grid, .ind-grid, .card-grid, .co-grid) a:focus-visible {
  outline-offset: -4px;
}
table { border-collapse: separate; border-spacing: 0; border-radius: 20px; overflow: hidden; }

/* Language navigation is available on every English/Hebrew pair. */
.nav-lang { font-size: 12px; color: var(--on-dark-soft, #c9c7e0); padding: 8px 10px; border: 1px solid var(--ink-line, #2a2850); border-radius: 999px; margin-inline-end: 10px; white-space: nowrap; }
.nav-lang-mobile { display: none; }
@media (max-width: 900px) {
  .nav-lang { display: none; }
  .nav-lang-mobile { display: block; }
}
html[dir="rtl"] .builder-summary, html[dir="rtl"] .tool-panel { text-align: right; }
html[dir="rtl"] :is(h1,h2,h3,h4,h5,p,a,label,button,.eyebrow,.fmt-label,.fmt,.tag,.chip,.fmt-dek) { letter-spacing: normal; }
