/* ==========================================================================
   RIZE MORTGAGE — LICENSING PAGE
   Brand colors only:
   #241C4F navy · #F36C37 orange · #FFBA00 gold · #E8E0DC sand
   ========================================================================== */

:root {
  --navy: #241C4F;
  --navy-950: #120D2E;
  --navy-900: #17113A;
  --navy-800: #1D1645;
  --navy-600: #3D3563;
  --orange: #F36C37;
  --orange-600: #DE5620;
  --orange-50: #FEEEE6;
  --gold: #FFBA00;
  --gold-600: #F0A800;
  --gold-50: #FFF6DA;
  --sand: #E8E0DC;
  --cream: #FAF9F8;
  --white: #FFFFFF;
  --body: #4A436E;
  --mute: #767191;
  --line: rgba(36,28,79,.11);
  --line-d: rgba(255,255,255,.12);
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1500px;
  --gutter: 24px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ── Hero: light sand, map left, title right ────────────────────────── */
.li-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background: radial-gradient(50% 80% at 100% 0%, rgba(243,108,55,.12), transparent 60%),
              linear-gradient(180deg, #F3EFEC 0%, #EEE8E4 100%);
}
.li-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.li-map {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px -38px rgba(36,28,79,.45);
  overflow: hidden;
}
.li-map .world-map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 360px;
}
.li-map .world-map1 {
  width: 100%;
  height: auto;
  position: relative;
}
.hot {
  position: absolute;
  width: 4.6%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
}
.hot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color .2s, transform .3s var(--ease);
}
.hot:hover::after {
  border-color: rgba(36,28,79,.55);
}
.hot.sel::after {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(255,255,255,.95);
  animation: hotRing 1.6s ease-out infinite;
}
@keyframes hotRing {
  0% { box-shadow: 0 0 0 0 rgba(36,28,79,.45); }
  100% { box-shadow: 0 0 0 12px rgba(36,28,79,0); }
}

.map-tip {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, calc(-100% - 18px));
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  box-shadow: 0 10px 24px -8px rgba(36,28,79,.6);
}
.map-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}
.map-tip.show {
  opacity: 1;
}
.map-tip i {
  font-style: normal;
  font-weight: 500;
  color: var(--gold);
  margin-left: 6px;
}

/* ── Copy column ─────────────────────────────────────────────────────── */
.li-copy .crumbs {
  font-size: 14px;
}
.li-copy .crumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(36,28,79,.6);
}
.li-copy .crumbs a {
  color: #241C4F;
  text-decoration: none;
  transition: color .2s;
}
.li-copy .crumbs a:hover {
  color: #F36C37;
}
.li-copy .crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(36,28,79,.3);
}
.li-copy .crumbs [aria-current] {
  color: #F36C37;
  font-weight: 500;
}
.li-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: #241C4F;
}
.li-hero h1 .accent {
  color: #F36C37;
}
.li-sub {
  max-width: 520px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--body);
}
.li-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.li-legend li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(36,28,79,.1);
  font-size: 14px;
  font-weight: 600;
  color: #241C4F;
}
.li-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.lg-l { background: #df733b; }
.lg-s { background: #feb901; }
.lg-n { background: #e8e0dd; box-shadow: inset 0 0 0 1px rgba(36,28,79,.18); }
.li-tap {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(36,28,79,.6);
}

/* ── Table Section ───────────────────────────────────────────────────── */
.li-tbl {
  background: #fff;
  padding: 64px 0 80px;
}
.lt-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  flex-wrap: wrap;
}
.lt-title {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #241C4F;
}
.lt-co {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--body);
}
.lt-co .ulink {
  font-weight: 600;
  color: #F36C37;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lt-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.lt-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  width: 400px;
  margin: 0;
}
.lt-search svg {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: rgba(36,28,79,.5);
  pointer-events: none;
}
.lt-search input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 46px;
  border: 1px solid rgba(36,28,79,.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: #241C4F;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.lt-search input:focus {
  border-color: #F36C37;
  box-shadow: 0 0 0 3px rgba(243,108,55,.16);
}
.lt-clear {
  flex: none;
  white-space: nowrap;
  height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(36,28,79,.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: #241C4F;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lt-clear:hover {
  border-color: #F36C37;
  color: #F36C37;
}
.lt-count {
  min-height: 22px;
  margin: 26px 0 12px;
  font-size: 14px;
  color: rgba(36,28,79,.62);
}
.lt-wrap {
  border: 1px solid rgba(36,28,79,.12);
  border-radius: 20px;
}
.lt {
  width: 100%;
  font-size: 15px;
  color: #241C4F;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}
.lt thead th:first-child { border-top-left-radius: 19px; }
.lt thead th:last-child { border-top-right-radius: 19px; }
.lt thead th {
  position: sticky;
  top: var(--header-h, 76px);
  z-index: 2;
  padding: 18px 22px;
  background: #241C4F;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: left;
  white-space: nowrap;
}
.lt th[scope=row],
.lt td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.lt tbody tr {
  transition: background .2s;
}
.lt tbody tr + tr > *,
.lt tbody tr + tr > th[scope=row],
.lt tbody tr + tr > td {
  border-top: 1px solid rgba(36,28,79,.08);
}
.lt tbody tr.first + tr.cont > th {
  border-top-color: transparent;
}
.lt tbody tr.cont > th {
  border-top-color: transparent !important;
}
.lt tbody tr:hover {
  background: rgba(232,224,220,.35);
}
.lt th[scope=row] {
  width: 16%;
  font-weight: 600;
}
.lt tr.cont th[scope=row] .lt-st {
  visibility: hidden;
}
.lt td:nth-child(2) {
  width: 27%;
  color: var(--body);
}
.lt td:nth-child(3) {
  width: 24%;
}
.lt td:nth-child(4) {
  width: 13%;
  white-space: nowrap;
}
.lt td:nth-child(5) {
  color: var(--body);
}
.lt-st {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-1px);
  display: inline-block;
}
.dot-l { background: #df733b; }
.dot-s { background: #feb901; }
.dot-n { background: #e8e0dd; box-shadow: inset 0 0 0 1px rgba(36,28,79,.25); }
.lt-num {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.tag-l { background: rgba(223,115,59,.16); color: #241C4F; }
.tag-s { background: rgba(254,185,1,.22); color: #241C4F; }
.tag-n { background: #e8e0dd; color: #241C4F; }

.lt-skel td {
  padding: 24px 22px;
}
.lt-skel span {
  display: block;
  height: 14px;
  margin: 10px 0;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(232,224,220,.6), rgba(232,224,220,.25), rgba(232,224,220,.6));
  background-size: 200% 100%;
  animation: sk 1.4s linear infinite;
}
.lt-skel span:nth-child(2) { width: 80%; }
.lt-skel span:nth-child(3) { width: 60%; }
@keyframes sk {
  to { background-position: -200% 0; }
}
.lt-msg {
  padding: 28px 22px;
  border-top: 1px solid rgba(36,28,79,.08);
  font-size: 15.5px;
  color: var(--body);
  text-align: center;
}
.lt-retry {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: #F36C37;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ── CTA Band (inherits orange angled band from new-index.css) ───────── */
.band {
  background: linear-gradient(100deg, #F36C37 0%, #F36C37 45%, #F68327 100%);
}
.band .wrap::before {
  background: rgba(255,186,0,.2);
}

/* ── Reveal Animations ───────────────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .li-hero-in { grid-template-columns: minmax(0, 1fr); }
  .li-copy { order: -1; }
  .li-map { max-width: 780px; margin: 0 auto; }
  .lt th[scope=row], .lt td { padding: 16px 16px; }
  .lt thead th { padding: 16px; white-space: normal; }
  .lt td:nth-child(4) { white-space: normal; }
  .lt { font-size: 14.5px; }
  .lt td, .lt th { overflow-wrap: anywhere; }
}

@media (max-width: 760px) {
  .lt-tools { width: 100%; flex-wrap: wrap; }
  .lt-search { width: 100%; flex: 1 1 100%; }
  .lt-clear { width: 100%; text-align: center; }
  .lt-wrap { border: 0; border-radius: 0; overflow: visible; }
  .lt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lt, .lt tbody, .lt tr, .lt th[scope=row], .lt td { display: block; width: auto !important; }
  .lt tbody tr + tr > *,
  .lt tbody tr + tr > th[scope=row],
  .lt tbody tr + tr > td { border-top: 0; }
  .lt tbody tr {
    margin-bottom: 14px;
    padding: 10px 18px 14px;
    border: 1px solid rgba(36,28,79,.12) !important;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(36,28,79,.04);
  }
  .lt tbody tr:hover { background: #fff; }
  .lt tr.cont th[scope=row] .lt-st { visibility: visible; }
  .lt th[scope=row] {
    padding: 12px 0 10px;
    border-bottom: 1px solid rgba(36,28,79,.08);
    font-size: 17px;
  }
  .lt td {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    white-space: normal !important;
  }
  .lt td::before {
    content: attr(data-l);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(36,28,79,.55);
  }
  .lt-skel { border: 0 !important; padding: 0 !important; }
  .lt-skel td { display: block; padding: 12px 0; }
  .lt-skel td::before { content: none; }
  .lt-msg { border: 1px solid rgba(36,28,79,.12); border-radius: 16px; }
}

@media (max-width: 640px) {
  .li-hero { padding: 36px 0 44px; }
  .li-map { padding: 12px; border-radius: 18px; margin: 0 -8px; }
  .li-legend li { height: 34px; padding: 0 12px; font-size: 13px; }
  .lt td { grid-template-columns: 100px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .lt-skel span { animation: none; }
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hot.sel::after { animation: none; }
}

