/* ==========================================================================
   Sonik Exchange — marketplace section
   Loaded after style.css and portal.css; reuses their tokens, button
   primitives (.btn) and form primitives (.field). Mobile-first, safe at
   360px. Palette: paper #F8F8FC, deep violet #20123B, violet #45317D,
   lime #EDFF00. Lime surfaces always carry a 2px violet keyline.
   ========================================================================== */

/* Page & hero */
.ex-page { padding-block: 22px 56px; }

/* Keep the exchange rhythm tighter than the marketing sections. */
.ex-page .section { padding-block: 44px; }

.ex-hero {
  position: relative; overflow: hidden; padding: 26px 22px 30px;
  border-radius: var(--radius); color: var(--paper); box-shadow: var(--shadow-card);
  background:
    radial-gradient(560px 320px at 100% 0%, rgba(111, 79, 196, 0.55), transparent 62%),
    linear-gradient(135deg, var(--violet-deep) 0%, var(--navy) 100%);
}

@media (min-width: 640px) { .ex-hero { padding: 34px 32px 38px; } }

.ex-hero__grid { display: grid; gap: 24px; }

@media (min-width: 920px) {
  .ex-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: 44px;
  }
}

.ex-hero__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px;
}

.ex-hero__eyebrow .eyebrow { margin: 0; color: rgba(248, 248, 252, 0.8); }
.ex-hero__eyebrow .eyebrow::before { display: none; }

/* Any eyebrow placed straight on the dark hero needs the light treatment. */
.ex-hero > .container .eyebrow, .ex-hero .ex-hero__copy > .eyebrow {
  color: rgba(248, 248, 252, 0.8);
}

/* A lime surface always keeps a violet keyline, even on the dark hero. */
.ex-hero .ex-badge {
  min-height: 27px; padding: 4px 12px; border: 2px solid var(--navy);
  background: var(--lime); color: #0b1026;
}

.ex-hero__copy { max-width: 62ch; }

.ex-hero__title {
  margin: 0; color: var(--paper); font-size: clamp(1.75rem, 6vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance;
}

.ex-hero__lead {
  margin-top: 12px; color: rgba(248, 248, 252, 0.82); font-size: 15px; line-height: 1.65;
}

.ex-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.ex-hero .btn--primary { box-shadow: 0 10px 24px rgba(237, 255, 0, 0.16); }

.ex-hero .btn--outline {
  border-color: rgba(248, 248, 252, 0.38);
  background: rgba(248, 248, 252, 0.08);
  color: var(--paper);
  box-shadow: none;
}

.ex-hero .ex-note { color: rgba(248, 248, 252, 0.62); }
.ex-hero .ex-note a { color: var(--lime); font-weight: 650; }

/* Hero panel: what the customer gets, in three plain points. */
.ex-hero__panel {
  padding: 18px; border: 1px solid rgba(248, 248, 252, 0.18); border-radius: var(--radius);
  background: rgba(248, 248, 252, 0.06);
}

@media (min-width: 640px) { .ex-hero__panel { padding: 20px 22px; } }

.ex-hero__panel h2 {
  margin: 0 0 14px; color: rgba(248, 248, 252, 0.65); font-family: var(--font-mono);
  font-size: 10px; font-weight: 600; letter-spacing: 0.17em; line-height: 1.4;
  text-transform: uppercase;
}

.ex-hero__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.ex-hero__list li { display: flex; align-items: flex-start; gap: 11px; }

.ex-hero__list .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--lime); }

.ex-hero__list strong { display: block; color: var(--paper); font-size: 13.5px; letter-spacing: -0.01em; }

.ex-hero__list span { display: block; margin-top: 2px; color: rgba(248, 248, 252, 0.72); font-size: 12.5px; line-height: 1.5; }

@media (hover: hover) {
  .ex-hero .btn--outline:hover {
    border-color: var(--lime); background: var(--lime); color: #0b1026;
  }
}

/* Layout */
.ex-layout { display: grid; gap: 20px; align-items: start; }

@media (min-width: 960px) {
  .ex-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
}

.ex-how {
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-card);
}

.ex-steps { counter-reset: step; display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }

.ex-steps li {
  position: relative; padding-left: 38px; color: var(--body); font-size: 13.5px; line-height: 1.6;
}

.ex-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 26px; height: 26px; border: 2px solid var(--navy); border-radius: 999px;
  background: var(--lime); color: #0b1026; font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
}

.ex-steps strong { color: var(--navy); }

/* Board */
.ex-board {
  min-width: 0; padding: 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card);
}

@media (min-width: 640px) { .ex-board { padding: 22px; } }

.ex-board__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}

.ex-board__head h2, .ex-board__head h3 { margin: 0; font-size: 1.25rem; }

.ex-board__count {
  display: inline-flex; align-items: center; min-height: 26px; padding: 3px 11px;
  border: 2px solid var(--navy); border-radius: 999px; background: var(--lime);
  color: #0b1026; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

.ex-board__count--quiet {
  border-width: 1px; border-color: var(--line-strong); background: var(--paper-deep);
  color: var(--muted); font-weight: 600;
}

.ex-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.ex-card {
  min-width: 0; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white);
  box-shadow: 0 1px 0 rgba(69, 49, 125, 0.04);
}

.ex-card__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0;
}

.ex-card__id {
  flex: none; color: var(--violet-bright); font-family: var(--font-mono);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; white-space: nowrap;
}

.ex-card__service {
  min-width: 0; color: var(--navy); font-size: 15.5px; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.25;
}

.ex-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.5;
}

.ex-card__bids {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 11px;
  border: 2px solid var(--navy); border-radius: 999px; background: var(--lime);
  color: #0b1026; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

.ex-empty {
  padding: 28px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--paper); color: var(--muted); font-size: 13.5px; line-height: 1.6; text-align: center;
}

/* Honest proof: real jobs that have been awarded on this board. */
.ex-recent {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin-top: 14px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--white);
}

.ex-recent__label {
  margin: 0; color: var(--muted); font-family: var(--font-mono); font-size: 10px;
  font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; white-space: nowrap;
}

.ex-recent__list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin: 0; padding: 0; list-style: none; min-width: 0;
}

.ex-recent__item {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy); font-size: 12.5px; font-weight: 600; min-width: 0;
}

.ex-recent__item .icon { flex: none; width: 14px; height: 14px; color: var(--violet-bright); }

.ex-recent__meta { color: var(--muted); font-weight: 500; white-space: nowrap; }

/* Form */
.ex-form {
  min-width: 0; padding: 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card);
}

/* Condition chips */
.ex-choice { margin: 0; padding: 0; border: 0; min-width: 0; }

.ex-choice legend {
  display: block; margin-bottom: 8px; padding: 0; color: var(--navy);
  font-size: 13px; font-weight: 650;
}

.ex-choice__options { display: flex; flex-wrap: wrap; gap: 8px; }

.ex-choice__option { position: relative; display: inline-flex; cursor: pointer; }

.ex-choice__option input {
  position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0;
}

.ex-choice__option span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white);
  color: var(--navy); font-size: 12.5px; font-weight: 600; line-height: 1.2;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.ex-choice__option input:checked + span {
  border: 2px solid var(--navy); background: var(--lime); color: #0b1026;
}

.ex-choice__option input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 3px; }

@media (hover: hover) {
  .ex-choice__option:hover span { border-color: var(--navy); }
}

/* Photo picker */
.ex-photos { display: grid; gap: 0; }

.ex-photos__input {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

.ex-photos__drop {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 18px 14px; border: 2px dashed var(--line-strong); border-radius: 14px;
  background: var(--paper); text-align: center; cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.ex-photos__drop .icon { width: 22px; height: 22px; color: var(--navy); }

.ex-photos__title { color: var(--navy); font-size: 13.5px; font-weight: 650; }

.ex-photos__hint { color: var(--muted); font-size: 12px; line-height: 1.4; }

.ex-photos.has-photos .ex-photos__drop { border-style: solid; background: var(--white); }

.ex-photos__input:focus-visible + .ex-photos__drop { outline: 2px solid var(--navy); outline-offset: 3px; }

.ex-photos__list {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none;
}

.ex-photos__list:empty { margin: 0; }

.ex-photos__item { width: 86px; }

.ex-photos__item img {
  display: block; width: 86px; height: 64px; object-fit: cover;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper-deep);
}

.ex-photos__name { display: none; }

.ex-photos__warning {
  flex-basis: 100%; color: var(--error); font-size: 12px; line-height: 1.4;
}

/* Job photo gallery (offers page and operator board) */
.ex-gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  margin: 14px 0 0; padding: 0; list-style: none;
}

.ex-gallery img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper-deep);
}

.ex-gallery a { display: block; }

@media (hover: hover) {
  .ex-gallery a:hover img { border-color: var(--navy); }
}

@media (min-width: 640px) {
  .ex-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 210px)); }
}

@media (min-width: 640px) { .ex-form { padding: 22px; } }

.ex-form__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px;
}

.ex-form__head h2, .ex-form__head h3 { margin: 0; font-size: 1.25rem; }

.ex-form__grid { display: grid; gap: 15px; }

.ex-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Notes & banners */
.ex-note { color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.ex-flash, .ex-error {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px;
  padding: 13px 15px; border-radius: 14px; font-size: 13px; line-height: 1.55;
}

.ex-flash {
  border: 1px solid var(--line); border-left: 3px solid var(--navy);
  background: var(--lime); color: #0b1026;
}

.ex-error {
  border: 1px solid rgba(180, 35, 24, 0.35); border-left: 3px solid var(--error);
  background: #fff4f1; color: #7a1a12;
}

/* Offers */
.ex-offers { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }

.ex-offers > .ex-h2 { margin-bottom: 4px; }

.ex-offer {
  min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  box-shadow: 0 1px 0 rgba(69, 49, 125, 0.04);
}

.ex-offer--accepted {
  border: 2px solid var(--violet-bright);
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 100%);
  box-shadow: var(--shadow-card);
}

.ex-offer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0;
}

.ex-offer__price {
  align-self: flex-start; padding: 10px 16px; border: 2px solid var(--navy);
  border-radius: 14px; background: var(--lime); color: #0b1026; font-size: 22px;
  font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

.ex-offer__note { color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.ex-offer__eta {
  display: inline-flex; align-items: center; gap: 6px; color: var(--navy);
  font-size: 12.5px; font-weight: 600;
}

.ex-offer__eta .icon { width: 15px; height: 15px; color: var(--violet-bright); }

.ex-offer__trust {
  display: inline-flex; align-items: center; gap: 6px; color: var(--muted);
  font-size: 12px; line-height: 1.45;
}

.ex-offer__trust .icon { flex: none; width: 14px; height: 14px; color: var(--violet-bright); }

.ex-offer__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (min-width: 720px) {
  .ex-offer { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .ex-offer__head { flex-basis: 100%; }
  .ex-offer__price { margin-right: auto; }
  .ex-offer__note { flex: 1 1 100%; }
  .ex-offer__actions { margin-left: auto; }
}

/* Success */
.ex-success {
  padding: 22px 20px; border: 2px solid var(--navy); border-radius: var(--radius);
  background: var(--lime); color: #0b1026; box-shadow: var(--shadow-card);
}

.ex-success__link {
  display: inline-block; margin-top: 14px; color: #0b1026; font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere;
  word-break: break-word; text-decoration: underline; text-underline-offset: 3px;
}

.ex-success__key {
  display: inline-block; padding: 2px 8px; border: 1px solid rgba(11, 16, 38, 0.25);
  border-radius: 8px; background: rgba(255, 255, 255, 0.55); font-family: var(--font-mono);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em; user-select: all;
}

/* Provider & admin table */
.ex-provider {
  min-width: 0; padding: 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card);
}

@media (min-width: 640px) { .ex-provider { padding: 22px; } }

.ex-provider__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px;
}

.ex-provider__status {
  display: inline-flex; align-items: center; gap: 7px; color: var(--muted);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}

.ex-provider__status::before {
  content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor;
}

.ex-provider__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* Mobile-first: rows stack as label/value blocks; >=640px is a real table.
   The stacked view relies on data-label attributes on each <td>. */
.ex-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.ex-table th, .ex-table td { text-align: left; vertical-align: top; }

@media (max-width: 639px) {
  .ex-table, .ex-table tbody, .ex-table tr, .ex-table td { display: block; width: 100%; }
  .ex-table thead { display: none; }
  .ex-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ex-table tr:last-child { border-bottom: 0; }
  .ex-table td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; }
  .ex-table td::before {
    content: attr(data-label); flex: none; color: var(--muted); font-family: var(--font-mono);
    font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  }
}

@media (min-width: 640px) {
  .ex-table th {
    padding: 10px 12px; border-bottom: 1px solid var(--line-strong); background: var(--paper);
    color: var(--muted); font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  }
  .ex-table td { padding: 12px; border-bottom: 1px solid var(--line); }
  .ex-table tbody tr:last-child td { border-bottom: 0; }
  .ex-table tbody tr:hover { background: rgba(248, 248, 252, 0.5); }
}

/* Badges */
.ex-badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 3px 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--paper-deep); color: var(--navy);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  line-height: 1.2; text-transform: uppercase; white-space: nowrap;
}

.ex-badge::before {
  content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor;
}

.ex-badge--ok { border-color: var(--navy); background: var(--lime); color: #0b1026; }
.ex-badge--wait { border-color: var(--line-strong); background: var(--paper-deep); color: var(--navy); }

/* Focus & motion */
.ex-page a:focus-visible, .ex-page button:focus-visible, .ex-page summary:focus-visible,
.ex-page input:focus-visible, .ex-page select:focus-visible, .ex-page textarea:focus-visible {
  outline: 2px solid var(--navy); outline-offset: 3px;
}

.ex-hero a:focus-visible, .ex-hero button:focus-visible { outline-color: var(--violet-bright); }

@media (prefers-reduced-motion: reduce) {
  .ex-page *, .ex-page *::before, .ex-page *::after {
    transition-duration: 0.01ms; transition-delay: 0ms;
    animation-duration: 0.01ms; animation-iteration-count: 1; scroll-behavior: auto;
  }
}

/* Supporting blocks used by the offers and provider pages */
.ex-panel {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(82, 81, 110, 0.24);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) { .ex-panel { padding: 24px; } }

.ex-panel__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 16px; margin-bottom: 14px;
}

.ex-panel__head .ex-note { margin: 0; }

/* Operator dashboard */
.ex-dash__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}

.ex-dash__id { min-width: 0; }

.ex-dash__title {
  margin: 6px 0 0; color: var(--navy); font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  overflow-wrap: anywhere;
}

.ex-dash__aside { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.ex-h1 {
  margin: 0; color: var(--navy); font-size: clamp(1.6rem, 5vw, 2.15rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}

.ex-h2 {
  margin: 0; color: var(--navy); font-size: 1.15rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.25;
}

.ex-aside-title {
  margin: 10px 0 0; color: var(--navy); font-size: 1.35rem; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.2;
}

.ex-aside-title em { color: var(--violet-bright); font-style: normal; }

.ex-success__title {
  margin: 8px 0 14px; color: #0b1026; font-size: clamp(1.5rem, 5vw, 1.95rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}

.ex-dash__foot { display: flex; align-items: flex-start; gap: 7px; margin-top: 18px; }
.ex-dash__foot .icon { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--navy); }

.ex-status {
  display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper-deep);
  color: var(--navy); font-size: 12px; font-weight: 650; white-space: nowrap;
}

.ex-status .icon { flex: none; width: 14px; height: 14px; }

.ex-status--ok { border: 2px solid var(--navy); background: var(--lime); color: #0b1026; }
.ex-status--wait { border-color: var(--line-strong); background: var(--paper-deep); color: #6b5a2a; }

.ex-notice {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 14px 16px;
  border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 14px;
  background: var(--paper-deep); color: var(--body); font-size: 13px; line-height: 1.55;
}

.ex-notice .icon { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--navy); }
.ex-notice p { margin: 0; }

.ex-bid {
  display: grid; gap: 12px; margin-top: 14px; padding: 14px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
}

@media (min-width: 720px) {
  .ex-bid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }
  .ex-bid .ex-bid__note { grid-column: 1 / -1; }
  .ex-bid .ex-actions { grid-column: 1 / -1; margin-top: 0; }
}

@media (min-width: 1040px) {
  .ex-bid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.4fr) auto;
  }
  .ex-bid .ex-bid__note { grid-column: auto; }
  .ex-bid .ex-actions { grid-column: auto; }
}

.ex-facts {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.ex-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(69, 49, 125, 0.12);
}

.ex-facts > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ex-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.ex-facts dd {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}

.ex-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ex-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ex-card__head .ex-card__service { margin: 0; }

.ex-card__head h3 { margin: 0; color: var(--navy); font-size: 15.5px; }

.ex-flash .icon, .ex-error .icon { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.ex-flash p, .ex-error p { margin: 0; }

/* Homepage teaser */
.exchange-teaser__grid {
  display: grid;
  gap: 26px;
}

.exchange-teaser__lead {
  max-width: 46ch;
  margin-top: 14px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.65;
}

.exchange-teaser__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.exchange-teaser__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.exchange-teaser__note .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--navy);
}

.exchange-teaser__steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.exchange-teaser__step {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(82, 81, 110, 0.2);
  border-radius: 16px;
  background: #ffffff;
}

.exchange-teaser__num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.exchange-teaser__step h3 {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
}

.exchange-teaser__step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .exchange-teaser__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 40px;
  }
}
