:root {
  --ink: #112437;
  --muted: #54697f;
  --paper: #f4f8fc;
  --card: #ffffff;
  --line: #d7e2ed;
  --accent: #0e5a87;
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 360px at 110% -20%, #d8eef7 0%, transparent 58%),
    radial-gradient(780px 340px at -20% 100%, #ffe7dc 0%, transparent 58%),
    var(--paper);
  line-height: 1.45;
}

.wrap {
  width: min(1240px, calc(100vw - 14px));
  margin: 6px auto 12px;
}

.hero {
  border-radius: 20px;
  padding: 10px 12px;
  background: linear-gradient(125deg, #0d2f4f, #0672a8);
  color: #fff;
  box-shadow: 0 14px 30px rgba(13, 47, 79, 0.25);
}

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: clamp(36px, 4.8vw, 50px);
  height: auto;
  flex: 0 0 auto;
}

.title {
  margin: 0;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.sub {
  margin: 4px 0 0;
  font-size: clamp(12px, 1.4vw, 14px);
  opacity: 0.94;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
  padding: 6px 10px;
  font-size: 12px;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.card {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 24px rgba(17, 36, 55, 0.08);
  padding: 10px;
}

h2 {
  margin: 0;
  font-family: "Outfit", "Manrope", sans-serif;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-row {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  align-items: center;
}

.search-row.advanced {
  grid-template-columns: 1fr 1fr 1fr;
}

.search-input {
  width: 100%;
  border: 1px solid #ced9e8;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 700;
  padding: 7px 9px;
}

select.search-input {
  appearance: none;
}

.search-input:focus {
  outline: none;
  border-color: #8db3d7;
  box-shadow: 0 0 0 3px rgba(14, 90, 135, 0.14);
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #0e5a87;
  background: #0e5a87;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.search-btn:hover {
  background: #0c4d72;
  border-color: #0c4d72;
}

.search-btn.light {
  border-color: #c8d7e7;
  background: #fff;
  color: var(--ink);
}

.search-btn.light:hover {
  background: #f2f7fd;
}

.table-shell {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: #f2f7fc;
  padding: 7px 9px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

tbody td {
  padding: 6px 9px;
  border-bottom: 1px solid #edf2f6;
  vertical-align: top;
  font-size: 13px;
}

tbody tr:last-child td {
  border-bottom: none;
}

.company {
  font-weight: 700;
}

.deal-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #b4c9dd;
  text-underline-offset: 2px;
}

.deal-link:hover,
.deal-link:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.contact {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.deal-sub-link {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #c8d8e8;
  text-underline-offset: 2px;
}

.deal-sub-link:hover,
.deal-sub-link:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9d8e8;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  min-height: 22px;
  white-space: nowrap;
}

.mini-btn:hover {
  background: #f2f7fd;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fbfdff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .wrap { width: min(1280px, calc(100vw - 10px)); margin-top: 6px; }
  .hero { padding: 10px; }
  .brand-lockup { width: 100%; flex-direction: column; align-items: flex-start; gap: 8px; }
  .brand-logo { width: min(50px, 16vw); }
  .search-row { grid-template-columns: 1fr; }
  .search-row.advanced { grid-template-columns: 1fr; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
}
