/* ScaleIL — site styles
   Palette derived from the ScaleIL mark (navy #154374 / grey #BFBFBF). */

:root {
  --ink:        #071B32;
  --ink-2:      #0B2545;
  --navy:       #154374;
  --navy-lift:  #1A5FA0;
  --steel:      #5B7897;
  --accent:     #7FB2E5;
  --cert:       #2E9E78;
  --paper:      #F4F7FB;
  --line:       #DCE5EF;
  --line-dark:  rgba(169,191,214,0.22);
  --body:       #46596F;
  --white:      #FFFFFF;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --sans:    'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --mono:    'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --wrap: 1180px;
  --r: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-lift); }

h1,h2,h3,h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.24rem; letter-spacing: -0.012em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 86px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #C6D6E7; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy-lift);
  margin: 0 0 14px;
}
.section--dark .eyebrow { color: var(--accent); }
.lede { font-size: 1.12rem; color: var(--body); max-width: 62ch; }
.section--dark .lede { color: #A9C0D6; }
.section-head { max-width: 66ch; margin-bottom: 46px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 6px; text-decoration: none; border: 1px solid transparent;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn--primary { background: var(--navy-lift); color: #fff; }
.btn--primary:hover { background: var(--navy); }
.btn--ghost { border-color: var(--line-dark); color: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy-lift); }

/* ---------- nav ---------- */
.nav { background: var(--ink); position: sticky; top: 0; z-index: 40; }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; align-items: center; list-style: none; padding: 0; }
.nav__links a {
  color: #C6D6E7; text-decoration: none; font-size: 0.93rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: #fff; }
.nav__links a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.nav__toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark); color: #fff; border-radius: 6px; padding: 8px 12px; font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(140deg, #16497B 0%, var(--ink-2) 58%, #05121F 100%); color: #C6D6E7; padding: 84px 0 76px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lede { font-size: 1.16rem; color: #A9C0D6; margin-top: 22px; max-width: 54ch; }
.hero__cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__markets { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: #D5E4F2;
}

/* ---------- signature: the stack explorer ---------- */
.stack { border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; background: rgba(255,255,255,0.03); }
.stack__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.stack__list { list-style: none; margin: 0; padding: 0; }
.layer {
  display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 14px; width: 100%;
  background: none; border: 0; border-bottom: 1px solid var(--line-dark);
  padding: 13px 18px; text-align: left; cursor: pointer; color: #C6D6E7;
  font-family: var(--sans); font-size: 0.95rem;
  transition: background .16s ease;
}
.layer:last-child { border-bottom: 0; }
.layer:hover { background: rgba(127,178,229,0.09); }
.layer__idx { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--steel); }
.layer__name { font-weight: 600; color: #E4EEF8; }
.layer__sub { display: block; font-size: 0.82rem; color: #93AEC8; font-weight: 400; }
.layer[aria-selected="true"] { background: rgba(127,178,229,0.15); box-shadow: inset 3px 0 0 var(--accent); }
.layer[aria-selected="true"] .layer__idx { color: var(--accent); }
.stack__panel { padding: 18px; border-top: 1px solid var(--line-dark); background: rgba(0,0,0,0.16); }
.stack__panel p { font-size: 0.92rem; color: #A9C0D6; margin-bottom: 14px; }

/* ---------- stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line-dark); }
.stat__n { font-family: var(--display); font-size: 2.1rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat__l { font-size: 0.9rem; color: #93AEC8; margin-top: 8px; }

/* ---------- generic grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }
.card__icon { color: var(--navy-lift); margin-bottom: 14px; }

/* ---------- partner cards ---------- */
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 22px; display: flex; flex-direction: column; }
.partner__logo { height: 46px; display: flex; align-items: center; margin-bottom: 18px; }
.partner__logo img { max-height: 36px; max-width: 190px; width: auto; }
.partner__role { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.partner h3 { margin-bottom: 10px; }
.partner p { font-size: 0.95rem; }
.partner__links { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.partner__links a {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 5px 10px;
  color: var(--navy); text-decoration: none;
}
.partner__links a:hover { border-color: var(--navy-lift); color: var(--navy-lift); }
.partner__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ext { font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.ext:after { content: " ↗"; font-size: 0.85em; }
.ext:hover { text-decoration: underline; }

/* ---------- logo wall ---------- */
.wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.wall a {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; padding: 12px;
}
.wall a:hover { border-color: var(--navy-lift); }
.wall img { max-height: 28px; max-width: 100%; width: auto; height: auto; }
.wall span.cap { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.09em; text-transform: uppercase; color: #5F7286; text-align: center; }

/* ---------- certification matrix ---------- */
.matrix-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table.matrix { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 0.9rem; }
table.matrix th, table.matrix td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.matrix thead th {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel); font-weight: 500; background: var(--paper);
}
table.matrix tbody th { font-family: var(--mono); font-weight: 500; color: var(--ink); white-space: nowrap; }
table.matrix tr:last-child th, table.matrix tr:last-child td { border-bottom: 0; }
.dot { color: var(--cert); font-weight: 700; }

/* ---------- market / solution blocks ---------- */
.market { border: 1px solid var(--line); border-radius: var(--r); padding: 30px; background: #fff; }
.market__no { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--steel); text-transform: uppercase; }
.market h3 { margin: 8px 0 12px; }
.market ul { margin: 14px 0 0; padding-left: 18px; font-size: 0.95rem; }
.market li { margin-bottom: 6px; }
.market li::marker { color: var(--accent); }

/* ---------- team ---------- */
.person { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: #fff; }
.person__role { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--navy-lift); }
.person h3 { margin: 6px 0 12px; }
.person p { font-size: 0.94rem; }
.person__meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.person__meta a { text-decoration: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--sans); font-size: 0.96rem; color: var(--ink); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--navy-lift); outline-offset: 1px; border-color: var(--navy-lift); }
.form-note { font-size: 0.86rem; color: var(--steel); }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(140deg, #16497B 0%, var(--ink-2) 60%, #05121F 100%); color: #C6D6E7; padding: 62px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #93AEC8; padding: 56px 0 30px; font-size: 0.92rem; }
.foot a { color: #C6D6E7; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.foot h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot__logo img { height: 52px; width: auto; margin-bottom: 16px; }
.foot__bar { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; }

/* ---------- focus + motion ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .wall { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 74px; background: var(--ink);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 12px 0; border-bottom: 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .foot__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Puzzle motif — taken straight from the ScaleIL mark.
   Used three ways: an ambient field behind dark panels, a divider between
   major sections, and a watermark in the corner of content blocks.
   ========================================================================== */

.hero, .section--dark, .cta { position: relative; overflow: hidden; }
/* jigsaw seam grid, left side only, fading out toward the content */
.hero::before, .section--dark::before, .cta::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 48%;
  background-image: url("../img/piece-grid.svg");
  background-repeat: repeat;
  background-size: 264px 264px;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%);
          mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%);
  pointer-events: none;
}
@media (max-width: 720px) {
  .hero::before, .section--dark::before, .cta::before { width: 78%; background-size: 216px 216px; }
}
.hero > *, .section--dark > *, .cta > * { position: relative; z-index: 1; }

/* corner watermark */
.card, .market, .person, .partner { position: relative; overflow: hidden; }
.card::after, .market::after, .person::after, .partner::after {
  content: ""; position: absolute; right: -34px; bottom: -36px;
  width: 148px; height: 148px;
  background: url("../img/piece-corner.svg") no-repeat center / contain;
  opacity: 0.45;
  pointer-events: none;
}
.card > *, .market > *, .person > *, .partner > * { position: relative; z-index: 1; }

/* puzzle bullets */
.market ul { list-style: none; padding-left: 0; }
.market li {
  padding-left: 26px; margin-bottom: 8px;
  background: url("../img/piece-bullet.svg") no-repeat left 5px / 13px 13px;
}

/* eyebrow gets a small piece so section openers echo the mark */
.eyebrow::before {
  content: ""; display: inline-block; vertical-align: -2px;
  width: 13px; height: 13px; margin-right: 9px;
  background: url("../img/piece-bullet.svg") no-repeat center / contain;
}
.section--dark .eyebrow::before, .hero .eyebrow::before {
  background-image: url("../img/piece-accent.svg");
}

/* the selected stack layer is the piece that fits */
.layer[aria-selected="true"] .layer__idx::after {
  content: ""; display: block; width: 12px; height: 12px; margin-top: 5px;
  background: url("../img/piece-accent.svg") no-repeat center / contain;
}

/* the four-piece block: pieces locking into one complete picture */
.quad { width: 96px; height: auto; margin-bottom: 22px; }
@media (max-width: 720px) { .quad { width: 76px; } }

/* Stacked logos (a mark above a wordmark) are nearly square, so a height cap
   meant for one-line wordmarks renders them unreadably small - and a fixed-
   height box clips them. These set the height outright rather than capping it,
   clear the inherited caps so nothing fights, and let every container grow. */
.partner__logo { height: auto; min-height: 46px; overflow: visible; }
.wall a { height: auto; min-height: 92px; overflow: visible; }

img.logo--tall { max-height: none; max-width: none; width: auto; }
.partner__logo img.logo--tall { height: 64px; }
.wall img.logo--tall { max-height: 54px; max-width: 100%; width: auto; height: auto; }

/* ==========================================================================
   Accessibility — Israeli Standard 5568 (WCAG 2.0 level AA)
   ========================================================================== */

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: #fff; color: var(--navy); font-weight: 600;
  padding: 12px 20px; border-radius: 0 0 6px 6px; text-decoration: none;
  transition: top .12s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--accent); outline-offset: 2px; }

/* visible only to screen readers */
.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;
}

/* every interactive element keeps a clearly visible focus ring */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px;
}
.section--paper a:focus-visible, .card a:focus-visible { outline-color: var(--navy-lift); }

/* accessibility statement page */
.doc { max-width: 74ch; }
.doc h2 { margin-top: 34px; }
.doc h3 { margin-top: 24px; margin-bottom: 8px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 7px; }

/* page headers: the label above the h1 sits a little larger than the small
   section labels used mid-page */
.section--dark > .wrap > .eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.section--dark > .wrap > .eyebrow::before {
  width: 15px; height: 15px; vertical-align: -2px; margin-right: 10px;
}
.section--dark > .wrap > h1 { max-width: 22ch; }

/* ==========================================================================
   Mascot — rises from behind the lower edge of a section, as though there
   were a wall there. The section clips it; nothing marks where the edge is.
   Set in from the page edges so the character reads as part of the scene
   rather than clinging to the margin.
   ========================================================================== */
.section { position: relative; overflow: hidden; }
.section > .wrap { position: relative; z-index: 1; }

.peek { position: absolute; bottom: 0; z-index: 0; pointer-events: none; user-select: none; }
.peek img { display: block; width: 100%; height: auto; }

/* how far in from the edge, and how much of the character clears the wall */
.peek--right { right: 9%; transform: translateY(30%); }
.peek--left  { left: 9%;  transform: translateY(30%); }
.peek--up    { transform: translateY(24%); }   /* stands a little taller above the edge */

.peek--sm { width: 210px; }
.peek--md { width: 260px; }
.peek--lg { width: 310px; }

@media (max-width: 1400px) {
  .peek--right { right: 3%; }
  .peek--left  { left: 3%; }
  .peek--sm { width: 180px; }
  .peek--md { width: 215px; }
  .peek--lg { width: 250px; }
}

/* the mascot is decoration: never let it crowd the words */
@media (max-width: 1180px) { .peek { display: none; } }

.foot-std { color: #7E93A9; font-size: 0.84rem; line-height: 1.5; margin-top: 4px; }

/* ==========================================================================
   Accessibility menu — floating control, and the adjustments it applies
   ========================================================================== */
.a11y { position: fixed; left: 20px; bottom: 20px; z-index: 90; }
.a11y__btn {
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--navy-lift); cursor: pointer;
  box-shadow: 0 4px 14px rgba(7,27,50,0.28);
  border-radius: 50%;
}
.a11y__btn svg { width: 52px; height: 52px; display: block; }
.a11y__btn:hover { color: var(--navy); }

.a11y__panel {
  position: absolute; bottom: 64px; left: 0; width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 34px rgba(7,27,50,0.22); padding: 14px;
}
.a11y__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.a11y__head strong { font-family: var(--display); font-size: 1rem; color: var(--ink); }
.a11y__close { background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--body); }

.a11y__row { display: flex; justify-content: space-between; align-items: center;
  font-size: 0.92rem; margin-bottom: 10px; }
.a11y__steps { display: flex; align-items: center; gap: 6px; }
.a11y__steps button {
  width: 32px; height: 32px; border: 1px solid var(--line); background: #fff;
  border-radius: 6px; cursor: pointer; font-weight: 600; color: var(--navy);
}
.a11y__steps output { font-family: var(--mono); font-size: 0.8rem; min-width: 44px; text-align: center; }

.a11y__opt, .a11y__reset {
  display: block; width: 100%; text-align: left; margin-bottom: 6px;
  padding: 9px 12px; border: 1px solid var(--line); background: #fff;
  border-radius: 6px; cursor: pointer; font-family: var(--sans);
  font-size: 0.92rem; color: var(--ink);
}
.a11y__opt:hover, .a11y__reset:hover { border-color: var(--navy-lift); }
.a11y__opt[aria-pressed="true"] { background: var(--navy-lift); border-color: var(--navy-lift); color: #fff; }
.a11y__reset { margin-top: 8px; color: var(--body); }
.a11y__link { display: block; margin-top: 10px; font-size: 0.88rem; }
.a11y__std {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 0.76rem; line-height: 1.5; color: var(--body);
}

/* ---- the adjustments themselves ---- */
.a11y-contrast body, html.a11y-contrast body { background: #000; color: #fff; }
html.a11y-contrast .section, html.a11y-contrast .section--paper,
html.a11y-contrast .card, html.a11y-contrast .partner, html.a11y-contrast .market,
html.a11y-contrast .person, html.a11y-contrast .callout, html.a11y-contrast .matrix-scroll,
html.a11y-contrast table.matrix thead th { background: #000 !important; color: #fff !important; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3,
html.a11y-contrast p, html.a11y-contrast li, html.a11y-contrast td,
html.a11y-contrast th, html.a11y-contrast .lede { color: #fff !important; }
html.a11y-contrast a { color: #FFE24D !important; }
html.a11y-contrast .card, html.a11y-contrast .partner, html.a11y-contrast .market,
html.a11y-contrast .person { border-color: #fff !important; }
html.a11y-contrast .hero, html.a11y-contrast .cta, html.a11y-contrast .section--dark,
html.a11y-contrast .nav, html.a11y-contrast .foot { background: #000 !important; }
html.a11y-contrast .peek, html.a11y-contrast .quad,
html.a11y-contrast .card::after, html.a11y-contrast .partner::after,
html.a11y-contrast .market::after, html.a11y-contrast .person::after { display: none !important; }
html.a11y-contrast .btn--primary { background: #FFE24D !important; color: #000 !important; }

html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 600; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2,
html.a11y-readable h3, html.a11y-readable .eyebrow, html.a11y-readable .market__no {
  font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: normal !important;
}
html.a11y-spacing body { line-height: 1.9 !important; letter-spacing: 0.06em; word-spacing: 0.14em; }
html.a11y-spacing p, html.a11y-spacing li { margin-bottom: 1.3em; }
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after {
  transition: none !important; animation: none !important; scroll-behavior: auto !important;
}

@media (max-width: 720px) {
  .a11y { left: 12px; bottom: 12px; }
  .a11y__panel { width: calc(100vw - 34px); }
}
@media print { .a11y { display: none; } }


/* logo tiles inside a market card are half the width of the ones on the home
   page, so they get their own, tighter sizing */
.wall--compact { grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.wall--compact a { min-height: 74px; padding: 8px 6px; }
.wall--compact img { max-height: 22px; }
.wall--compact img.logo--tall { max-height: 42px; }

@media (max-width: 980px) {
  .wall--compact { grid-template-columns: repeat(4, 1fr); }
}
