/* ==========================================================================
   PMB Tijari public website — front page and the three-step
   "Apply for Financing" journey. Layered on app.css: reuses its tokens
   (--accent-0, --text-*, --stroke, …), buttons and range slider, and adds
   the marketing-site shell. Every class is prefixed pub- so nothing leaks
   into the staff console or the client portal.
   ========================================================================== */

.pub {
  --pub-max: 1180px;
  --pub-gutter: 28px;
  --pub-ink: #0b1324;
  --pub-tint: #eef4ff;
  --pub-card-radius: 14px;
  min-height: 100vh; display: flex; flex-direction: column;
  background: #fff; color: var(--text-0);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.pub-wrap { width: 100%; max-width: var(--pub-max); margin: 0 auto; padding: 0 var(--pub-gutter); }
.pub a { text-decoration: none; }
.pub main { flex: 1; }

/* ---- Header -------------------------------------------------------------- */
.pub-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--stroke);
}
.pub-header .pub-wrap { display: flex; align-items: center; gap: 40px; height: 68px; }
.pub-brand { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; color: var(--pub-ink); white-space: nowrap; }
.pub-nav { display: flex; align-items: stretch; gap: 32px; height: 100%; flex: 1; }
.pub-nav a {
  display: flex; align-items: center; position: relative;
  font-size: 14px; font-weight: 500; color: var(--text-1);
  transition: color .15s ease;
}
.pub-nav a:hover { color: var(--accent-0); }
.pub-nav a.active { color: var(--accent-0); }
.pub-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--accent-0);
}
.pub-head-actions { display: flex; align-items: center; gap: 14px; }
.pub-lang { display: flex; border: 1px solid var(--stroke); border-radius: 8px; overflow: hidden; }
.pub-lang button {
  border: 0; background: #fff; padding: 6px 9px; cursor: pointer;
  font: 600 11.5px/1 'Inter', sans-serif; color: var(--text-2); letter-spacing: .4px;
}
.pub-lang button.on { background: var(--pub-tint); color: var(--accent-0); }
.pub-signin {
  display: inline-flex; align-items: center; padding: 9px 22px; border-radius: 8px;
  border: 1.5px solid var(--accent-0); color: var(--accent-0) !important;
  font-size: 14px; font-weight: 600; background: #fff;
  transition: background .15s ease;
}
.pub-signin:hover { background: var(--pub-tint); }
.pub-burger { display: none; }

/* ---- Buttons ------------------------------------------------------------- */
.pub-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 15px/1 'Inter', sans-serif; cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pub-btn.primary { background: var(--accent-0); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25); }
.pub-btn.primary:hover { background: var(--accent-0-hi); transform: translateY(-1px); }
.pub-btn.outline { background: #fff; color: var(--accent-0); border-color: var(--stroke-strong); }
.pub-btn.outline:hover { border-color: var(--accent-0); background: var(--pub-tint); }
.pub-btn.sm { padding: 10px 18px; font-size: 13.5px; }
.pub-btn.block { width: 100%; }
.pub-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-0); font-weight: 600; font-size: 14px; }
.pub-link:hover { color: var(--accent-0-hi); }
.pub-link svg { transition: transform .15s ease; }
.pub-link:hover svg { transform: translateX(2px); }

.pub-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-0); }

/* ---- Hero ---------------------------------------------------------------- */
.pub-hero { background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%); overflow: hidden; }
.pub-hero .pub-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 56px;
}
.pub-hero h1 {
  margin: 14px 0 18px; font-size: clamp(38px, 5vw, 60px); line-height: 1.04;
  font-weight: 800; letter-spacing: -1.6px; color: var(--pub-ink);
}
.pub-hero .lead { margin: 0 0 32px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; color: var(--text-2); max-width: 470px; }
.pub-hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pub-hero-ctas .pub-btn { min-width: 200px; }
.pub-hero-hint { margin: 14px 0 0; font-size: 13px; color: var(--text-2); }

.pub-hero-art { position: relative; padding: 28px 28px 28px 30px; }
.pub-hero-art::before { /* blue frame block, top-right */
  content: ""; position: absolute; top: 0; right: 0; width: 46%; height: 62%;
  border-radius: 22px; background: var(--accent-0);
}
.pub-hero-art::after { /* soft tint block, lower-left */
  content: ""; position: absolute; left: 0; top: 22%; width: 18%; height: 56%;
  border-radius: 18px; background: rgba(37, 99, 235, 0.16);
}
.pub-hero-media {
  position: relative; z-index: 1; aspect-ratio: 16 / 10.5; border-radius: 18px; overflow: hidden;
  background: #dbe7ff; box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}
.pub-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Illustrated stand-in used until a hero photograph is supplied. */
.pub-hero-illo {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(255, 255, 255, 0.55), transparent 60%),
    linear-gradient(135deg, #cfe0ff 0%, #a9c6ff 45%, #7aa5fb 100%);
}
.pub-hero-illo .sky { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 9% 100%; }
.pub-illo-card {
  position: absolute; left: 9%; top: 13%; width: 54%;
  background: #fff; border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}
.pub-illo-card .row { display: flex; justify-content: space-between; align-items: center; }
.pub-illo-card .lbl { font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--text-2); }
.pub-illo-card .amt { margin: 8px 0 14px; font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.5px; color: var(--pub-ink); }
.pub-illo-card .tag { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: var(--tl-amber-soft); color: var(--tl-amber); }
.pub-illo-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pub-illo-card li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-1); }
.pub-illo-card li i {
  width: 18px; height: 18px; border-radius: 50%; flex: 0 0 18px; display: grid; place-items: center;
  background: var(--tl-green-soft); color: var(--tl-green);
}
.pub-illo-card li.todo i { background: var(--bg-2); color: var(--text-2); }
.pub-illo-chart {
  position: absolute; right: 7%; bottom: 12%; width: 40%;
  background: #fff; border-radius: 14px; padding: 14px 16px 12px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}
.pub-illo-chart .lbl { font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--text-2); }
.pub-illo-chart .bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 10px; }
.pub-illo-chart .bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(37, 99, 235, 0.22); }
.pub-illo-chart .bars span:last-child { background: var(--accent-0); }

/* ---- Sections ------------------------------------------------------------ */
.pub-section { padding: 56px 0; }
.pub-section, .pub-prod { scroll-margin-top: 84px; } /* clear the sticky header on #anchor jumps */
.pub-section h2 { margin: 0 0 26px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.8px; color: var(--pub-ink); }

.pub-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pub-prod {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px; border: 1px solid var(--stroke); border-radius: var(--pub-card-radius); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pub-prod:hover { border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); transform: translateY(-2px); }
.pub-prod:target { border-color: var(--accent-0); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.pub-prod h3 { margin: 12px 0 0; font-size: 17px; font-weight: 700; color: var(--pub-ink); }
.pub-prod p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.pub-prod .pub-link { margin-top: auto; padding-top: 16px; font-size: 13.5px; }

.pub-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 44px; }
.pub-ico.t-INVOICE_FINANCING { background: #e6efff; color: #2563eb; }
.pub-ico.t-CONTRACT_FINANCING { background: #ffe8ee; color: #e11d48; }
.pub-ico.t-TERM_FINANCING { background: #f1e9ff; color: #7c3aed; }
.pub-ico.t-PREMISE_FINANCING { background: #fff0e3; color: #ea580c; }

.pub-cta {
  display: flex; align-items: center; gap: 18px;
  margin-top: 26px; padding: 18px 22px; border-radius: var(--pub-card-radius);
  background: var(--pub-tint); border: 1px solid #dbe6ff;
}
.pub-cta .pub-ico { background: var(--accent-0); color: #fff; }
.pub-cta div { flex: 1; }
.pub-cta strong { display: block; font-size: 16px; color: var(--pub-ink); }
.pub-cta span { font-size: 13.5px; color: var(--text-2); }

.pub-about { background: #f7f9fc; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.pub-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pub-split h2 { margin-top: 10px; }
.pub-split p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text-1); }
.pub-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pub-points li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--stroke); border-radius: 12px;
  font-size: 14.5px; font-weight: 600; color: var(--pub-ink);
}
.pub-points li i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--pub-tint); color: var(--accent-0); flex: 0 0 28px; }

.pub-contact-card { border: 1px solid var(--stroke); border-radius: var(--pub-card-radius); padding: 22px; display: grid; gap: 16px; }
.pub-contact-card dt { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-2); }
.pub-contact-card dd { margin: 4px 0 0; font-size: 15px; color: var(--pub-ink); line-height: 1.5; }
.pub-contact-card dl { margin: 0; display: grid; gap: 16px; }

/* ---- Footer -------------------------------------------------------------- */
.pub-footer { border-top: 1px solid var(--stroke); padding: 18px 0; font-size: 13px; color: var(--text-2); }
.pub-footer .pub-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pub-footer b { color: var(--text-1); font-weight: 600; }
.pub-footer .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-2); opacity: .6; }
.pub-footer .grow { flex: 1; }

/* ---- Apply journey ------------------------------------------------------- */
.pub-flow { background: #f7f9fc; }
.pub-flow main { padding: 26px 0 48px; }
.pub-back { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--accent-0); }
.pub-back:hover { color: var(--accent-0-hi); }

.pub-steps { list-style: none; display: flex; margin: 22px auto 30px; padding: 0; max-width: 640px; }
.pub-steps li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.pub-steps li::before { /* connector to the previous step */
  content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--stroke-strong);
}
.pub-steps li:first-child::before { display: none; }
.pub-steps .n {
  position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: #fff; color: var(--text-2); border: 1.5px solid var(--stroke-strong);
}
.pub-steps .t { font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.pub-steps li.done::before, .pub-steps li.current::before { background: var(--accent-0); }
.pub-steps li.done .n, .pub-steps li.current .n { background: var(--accent-0); border-color: var(--accent-0); color: #fff; }
.pub-steps li.current .n { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.14); }
.pub-steps li.current .t { color: var(--accent-0); font-weight: 600; }

.pub-flow h1 { margin: 0 0 8px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -1px; color: var(--pub-ink); }
.pub-flow .pub-sub { margin: 0 0 24px; font-size: 16.5px; color: var(--text-2); }
.pub-flow .pub-eyebrow { margin-bottom: 10px; display: block; }

.pub-panel { background: #fff; border: 1px solid var(--stroke); border-radius: 16px; box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05); }
.pub-panel.pad { padding: 24px; }

.pub-choose { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 16px; }
.pub-choose .pub-prod { padding: 20px; }
.pub-choose .pub-prod:hover { transform: none; }
/* Terms sit at the foot of each card so the rows line up whatever the
   description length. */
.pub-choose .pub-prod p { margin-bottom: 16px; }
.pub-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: auto 0 18px; padding-top: 16px; border-top: 1px solid var(--stroke); }
.pub-terms span { display: block; font-size: 12px; color: var(--text-2); }
.pub-terms strong { font-size: 14px; color: var(--pub-ink); white-space: nowrap; }
.pub-choose .pub-btn { padding: 12px; }

.pub-selected {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  padding: 14px 18px; border-radius: 12px; background: var(--pub-tint); border: 1px solid #dbe6ff;
}
.pub-selected .pub-ico { width: 38px; height: 38px; flex-basis: 38px; }
.pub-selected .lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-2); }
.pub-selected strong { font-size: 16px; color: var(--pub-ink); }
.pub-selected .grow { flex: 1; }

.pub-grid2 { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }

.pub-field { margin-bottom: 18px; }
.pub-field:last-child { margin-bottom: 0; }
.pub-field > label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--pub-ink); }
.pub-field .req { color: var(--tl-red); }
.pub-input, .pub-select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--stroke-strong); background: #fff; color: var(--pub-ink);
  font: 500 15px/1.3 'Inter', sans-serif; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pub-input::placeholder { color: #9aa4b2; font-weight: 400; }
.pub-input:focus, .pub-select:focus { border-color: var(--accent-0); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
.pub-input.err { border-color: var(--tl-red); }
.pub-affix { position: relative; }
.pub-affix .pub-input { padding-right: 60px; }
.pub-affix .sfx {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  padding: 4px 9px; border-radius: 6px; background: var(--bg-2);
  font-size: 12px; font-weight: 600; color: var(--text-2);
}
.pub-affix .eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; background: none; border-radius: 8px;
  display: grid; place-items: center; color: var(--text-2); cursor: pointer;
}
.pub-affix .eye:hover { color: var(--pub-ink); background: var(--bg-2); }
.pub-affix .eye.on { color: var(--accent-0); }
.pub-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.pub-flow .range-slider { margin-top: 18px; }
.pub-range-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.pub-hint { margin: 8px 0 0; font-size: 13px; color: var(--text-2); }
.pub-err { margin: 8px 0 0; font-size: 13px; color: var(--tl-red); }
.pub-alert { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; font-size: 14px; background: var(--tl-red-soft); border: 1px solid var(--tl-red-bd); color: #991b1b; }

.pub-summary h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--pub-ink); }
.pub-summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--stroke); font-size: 14px; }
.pub-summary .row:last-of-type { border-bottom: 0; }
.pub-summary .row span { color: var(--text-2); }
.pub-summary .row strong { color: var(--pub-ink); text-align: right; }
.pub-summary .prod { display: flex; gap: 12px; align-items: center; margin: 12px 0 6px; padding: 14px; border-radius: 12px; background: var(--pub-tint); }
.pub-summary .prod .pub-ico { width: 40px; height: 40px; flex-basis: 40px; }
.pub-summary .prod strong { display: block; color: var(--pub-ink); font-size: 15px; }
.pub-summary .prod span { font-size: 12.5px; color: var(--text-2); }
.pub-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 12px;
  background: #f5f8ff; border: 1px solid #dbe6ff; font-size: 13.5px; color: var(--text-1); line-height: 1.45;
}
.pub-note svg { flex: 0 0 20px; color: var(--accent-0); margin-top: 1px; }

.pub-flow-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }

.pub-sec-title { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--pub-ink); }
.pub-sec-title:first-child { margin-top: 0; }
.pub-sec-title i {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid #c7d7fe; color: var(--accent-0); font-style: normal; font-size: 12px;
}
.pub-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pub-row2 .pub-field > label, .pub-account .pub-field > label { font-size: 11.5px; letter-spacing: .9px; text-transform: uppercase; }
.pub-check { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 18px; font-size: 14px; color: var(--text-1); }
.pub-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent-0); flex: 0 0 18px; }
.pub-check a { color: var(--accent-0); font-weight: 600; }
.pub-check a:hover { text-decoration: underline; }
.pub-center { text-align: center; margin: 14px 0 0; font-size: 14px; color: var(--text-2); }
.pub-center a { color: var(--accent-0); font-weight: 600; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .pub-products, .pub-choose { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pub-header .pub-wrap { gap: 16px; }
  .pub-head-actions { margin-left: auto; }
  .pub-burger {
    display: grid; place-items: center; width: 40px; height: 40px;
    border: 1px solid var(--stroke); border-radius: 9px; background: #fff; color: var(--pub-ink); cursor: pointer;
  }
  .pub-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px; height: auto;
    flex-direction: column; gap: 0; padding: 8px var(--pub-gutter) 14px;
    background: #fff; border-bottom: 1px solid var(--stroke); box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }
  .pub-header.open .pub-nav { display: flex; }
  .pub-nav a { padding: 12px 0; border-bottom: 1px solid var(--stroke-hairline); }
  .pub-nav a.active::after { display: none; }
  .pub-hero .pub-wrap, .pub-split, .pub-grid2 { grid-template-columns: 1fr; }
  .pub-hero .pub-wrap { gap: 32px; padding-top: 40px; }
}
@media (max-width: 600px) {
  .pub { --pub-gutter: 16px; }
  .pub-lang { display: none; }
  .pub-signin { padding: 8px 14px; }
  .pub-products, .pub-choose, .pub-row2 { grid-template-columns: 1fr; }
  .pub-hero-ctas .pub-btn { width: 100%; }
  .pub-cta { flex-wrap: wrap; }
  .pub-cta .pub-btn { width: 100%; }
  .pub-steps .t { font-size: 11px; }
  .pub-flow-actions { flex-direction: column-reverse; }
  .pub-flow-actions .pub-btn { width: 100%; }
  .pub-selected { flex-wrap: wrap; }
  .pub-hero-art { padding: 18px; }
  .pub-illo-card { left: 10%; top: 12%; width: 80%; padding: 14px 16px; }
  .pub-illo-card .amt { margin: 6px 0 10px; }
  .pub-illo-card li { font-size: 12px; }
  .pub-illo-chart { display: none; }
}

/* Shared site header (home and apply journey) ------------------------------------------------------------------ */
.pub-header-mk .pub-wrap { height: 80px; gap: 28px; }
.pub-brand-mk { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.pub-brand-mk strong { font-size: 23px; font-weight: 800; letter-spacing: -0.6px; color: #0b1d45; }
.pub-brand-logo { display: block; width: 280px; height: auto; }
.pub-brand-mk span { margin-top: 7px; font-size: 10.5px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; color: #5b6475; }
.pub-header-mk .pub-nav { justify-content: flex-end; gap: 30px; }
.pub-header-mk .pub-nav a { color: #3b4456; }
.pub-header-mk .pub-nav a.active { color: var(--accent-0); }
.pub-signin-text { font-size: 14.5px; font-weight: 700; color: #0b1324 !important; padding: 8px 4px; }
.pub-signin-text:hover { color: var(--accent-0) !important; }
.pub-btn.navy { background: #0b1d45; color: #fff; }
.pub-btn.navy:hover { background: #12306b; }
.pub-head-apply { padding: 13px 20px; border-radius: 9px; }

@media (max-width: 900px) {
  .pub-header-mk .pub-wrap { height: 68px; }
  .pub-header-mk .pub-nav { top: 68px; justify-content: flex-start; gap: 0; }
}
@media (max-width: 600px) {
  .pub-head-apply { display: none; }
  .pub-brand-logo { width: 190px; }
}
/* The full header needs about 1180px; below that the section links move
   into the menu button rather than wrapping onto two lines. */
.pub-header-mk .pub-nav a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px) {
  .pub-header-mk .pub-wrap { gap: 16px; }
  .pub-header-mk .pub-head-actions { margin-left: auto; }
  .pub-header-mk .pub-burger {
    display: grid; place-items: center; width: 40px; height: 40px;
    border: 1px solid var(--stroke); border-radius: 9px; background: #fff; color: #0b1324; cursor: pointer;
  }
  .pub-header-mk .pub-nav {
    display: none; position: absolute; left: 0; right: 0; top: 80px; height: auto;
    flex-direction: column; gap: 0; padding: 8px var(--pub-gutter) 14px;
    background: #fff; border-bottom: 1px solid var(--stroke); box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }
  .pub-header-mk.open .pub-nav { display: flex; }
  .pub-header-mk .pub-nav a { padding: 12px 0; border-bottom: 1px solid var(--stroke-hairline); }
  .pub-header-mk .pub-nav a.active::after { display: none; }
}
