:root {
  --ink: #11122a;
  --ink-soft: #37364e;
  --navy: #090625;
  --navy-2: #151052;
  --purple: #39218a;
  --magenta: #ed2d88;
  --pink: #f7a7cf;
  --blue: #3179d8;
  --cyan: #5fc6e8;
  --teal: #25a79c;
  --orange: #ff980e;
  --yellow: #ffe444;
  --surface: #f7f4fb;
  --card: #ffffff;
  --muted: #74718a;
  --line: #e3deec;
  --shadow: 0 22px 60px rgba(15, 11, 50, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 6, 37, 0.9);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(9, 6, 37, 0.22);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1160px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.brand-mark span {
  position: absolute;
  border: 5px solid transparent;
  border-radius: 50%;
}

.brand-mark span:nth-child(1) {
  inset: 3px;
  border-left-color: var(--magenta);
  border-top-color: var(--blue);
  transform: rotate(-18deg);
}

.brand-mark span:nth-child(2) {
  inset: 11px;
  border-right-color: var(--pink);
  border-bottom-color: var(--cyan);
  transform: rotate(26deg);
}

.brand-mark span:nth-child(3) {
  width: 11px;
  height: 11px;
  background: #ffffff;
  border: 0;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy small {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.82;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
}

.main-nav a,
.header-actions a {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.92;
}

.main-nav a:hover,
.header-actions a:hover {
  color: var(--pink);
}

.header-actions {
  display: flex;
  gap: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -78px;
  padding: 146px 0 54px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 24%, rgba(244, 49, 137, 0.85) 0, rgba(244, 49, 137, 0.36) 30%, transparent 56%),
    radial-gradient(circle at 18% 19%, rgba(63, 144, 221, 0.66) 0, transparent 46%),
    linear-gradient(135deg, #07031c 0%, #151052 42%, #760b59 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 75%, transparent 100%);
}

.hero-content {
  position: relative;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--magenta);
}

.hero h1 {
  max-width: 1010px;
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-lede {
  max-width: 960px;
  margin: 28px 0 38px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 18px;
  font-weight: 800;
}

.hero-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-height: 232px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(13, 8, 46, 0.78);
  box-shadow: 0 18px 48px rgba(2, 0, 20, 0.24);
}

.service-card h2 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.15;
}

.service-card p {
  min-height: 54px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.service-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 6px solid currentColor;
  box-shadow: inset 0 0 0 7px rgba(9, 6, 37, 0.82);
}

.service-card-recruitment .service-orb {
  color: #b99bf4;
}

.service-card-writing .service-orb {
  color: var(--blue);
}

.service-card-training .service-orb {
  color: var(--yellow);
}

.service-card-software .service-orb {
  color: var(--pink);
}

.service-actions,
.mini-search {
  display: flex;
  gap: 10px;
  align-items: center;
}

.service-actions a,
.solid-button {
  min-height: 42px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #dda1df;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.service-actions a + a {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mini-search {
  height: 42px;
}

.mini-search input {
  min-width: 0;
  height: 100%;
  width: 100%;
  border: 0;
  border-radius: 8px 0 0 8px;
  padding: 0 12px;
  background: #f5f2f6;
  color: var(--ink);
}

.mini-search button {
  height: 100%;
  border: 0;
  border-radius: 0 8px 8px 0;
  padding: 0 14px;
  background: var(--blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.service-card-software .mini-search button {
  background: var(--magenta);
}

.solid-button {
  width: max-content;
  background: var(--orange);
  color: #ffffff;
}

.proof-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.proof-strip strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.25;
}

.proof-strip span {
  display: block;
  color: var(--pink);
  font-size: 30px;
  font-weight: 900;
}

.tender-section {
  padding: 78px 0 88px;
  background:
    linear-gradient(180deg, #f7f4fb 0%, #ffffff 55%, #f7f4fb 100%);
}

.tender-layout {
  width: min(1280px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.tender-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  grid-template-areas:
    "copy reason"
    "metrics reason";
  gap: 18px 28px;
  align-items: end;
}

.tender-intro-copy {
  grid-area: copy;
}

.tender-intro h2,
.marketplace-copy h2,
.cta-panel h2 {
  margin: 0;
  color: var(--purple);
  font-size: 40px;
  line-height: 1.08;
  font-weight: 900;
}

.tender-intro p,
.marketplace-copy p,
.cta-panel p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 700;
}

.integration-reason {
  grid-area: reason;
  margin-top: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(27, 18, 73, 0.08);
}

.integration-reason img {
  width: 92px;
  height: 92px;
}

.integration-reason strong,
.integration-reason span {
  display: block;
}

.integration-reason strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.integration-reason span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.tender-metrics {
  grid-area: metrics;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.tender-metrics span {
  padding: 9px 13px;
  border-radius: 999px;
  background: #efe9fb;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.search-shell {
  padding: 30px;
  border: 1px solid rgba(57, 33, 138, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(49, 121, 216, 0.7), rgba(237, 45, 136, 0.7)) border-box;
  box-shadow: var(--shadow);
}

.search-shell-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.partner-label,
.demo-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-label {
  color: var(--purple);
  background: #eef8fb;
  border: 1px solid #d9eef5;
}

.demo-pill {
  color: var(--magenta);
  background: #fff1f8;
  border: 1px solid #ffd4ea;
  white-space: nowrap;
}

.search-shell h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.12;
  font-weight: 900;
}

.search-help {
  margin: 10px 0 22px;
  color: var(--muted);
  font-weight: 700;
}

.tender-search-form {
  display: grid;
  grid-template-columns: minmax(410px, 1.1fr) minmax(420px, 0.9fr);
  grid-template-areas:
    "label label"
    "search filters"
    "presets filters";
  gap: 18px;
  align-items: end;
}

.search-label {
  grid-area: label;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-row {
  grid-area: search;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 12px;
}

.search-row input {
  min-height: 52px;
  width: 100%;
  border: 2px solid #ded7ea;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: #fbfaff;
  font-weight: 700;
}

.search-row input:focus {
  outline: 3px solid rgba(49, 121, 216, 0.18);
  border-color: var(--blue);
}

.primary-button,
.secondary-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-2), var(--blue) 55%, var(--teal));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(37, 45, 126, 0.22);
}

.primary-button:hover,
.secondary-button:hover,
.country-chip:hover,
.category-filter button:hover {
  transform: translateY(-1px);
}

.primary-button.is-loading {
  opacity: 0.72;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.filter-row {
  grid-area: filters;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 14px;
  align-items: start;
}

.query-presets {
  grid-area: presets;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: -4px;
}

.query-presets span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.query-presets button {
  min-height: 32px;
  border: 1px solid #ded7ea;
  border-radius: 999px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
}

.query-presets button:hover {
  border-color: var(--blue);
  background: #eef8fb;
}

.chip-group {
  min-width: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border: 0;
  padding: 0;
  margin: 0;
}

.chip-group legend,
.category-filter span {
  width: 100%;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.country-chip {
  min-height: 38px;
  border: 1px solid #ded7ea;
  border-radius: 999px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.country-chip.is-selected {
  border-color: var(--blue);
  background: #e8f4ff;
  color: #164e9c;
}

.category-filter {
  position: relative;
  display: grid;
}

.category-filter > button {
  min-height: 38px;
  border: 1px solid #ded7ea;
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  font-weight: 900;
}

.category-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  width: 100%;
  padding: 8px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 11, 50, 0.18);
}

.category-menu[hidden] {
  display: none;
}

.category-menu button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  background: #f7f4fb;
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.result-state {
  margin: 22px 0 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: 8px;
  background: #100b39;
  color: #ffffff;
}

.result-state strong {
  font-size: 16px;
  font-weight: 900;
}

.result-state span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.tender-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tender-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e2ddec;
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tender-card:hover,
.tender-card:focus {
  transform: translateY(-2px);
  border-color: rgba(49, 121, 216, 0.45);
  outline: 0;
  box-shadow: 0 14px 34px rgba(27, 18, 73, 0.12);
}

.card-score {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 3px solid #5cc7b6;
  border-radius: 50%;
  color: var(--teal);
}

.card-score strong {
  font-size: 18px;
  line-height: 1;
}

.card-score span {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.card-heading h4 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.relevance-badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e9f8f5;
  color: #168577;
  font-size: 11px;
  font-weight: 900;
}

.tender-card dl {
  margin: 13px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}

.tender-card div {
  min-width: 0;
}

.tender-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tender-card dd {
  margin: 1px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.result-link {
  min-height: 38px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: #efe9fb;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.result-link:hover {
  background: var(--purple);
  color: #ffffff;
}

.tender-detail {
  margin-top: 16px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(49, 121, 216, 0.24);
  background:
    radial-gradient(circle at 100% 0, rgba(95, 198, 232, 0.28), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f9f6ff 100%);
  box-shadow: 0 18px 42px rgba(27, 18, 73, 0.12);
}

.tender-detail[hidden] {
  display: none;
}

.tender-detail h4 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
}

.tender-detail p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.tender-detail dl {
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tender-detail dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tender-detail dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.detail-register {
  width: max-content;
}

.tender-detail small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.marketplace-section {
  padding: 72px 0;
  background: #ffffff;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
}

.journey-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.journey-cards article {
  min-height: 212px;
  padding: 22px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(150deg, var(--navy) 0%, var(--purple) 55%, #73115a 100%);
}

.journey-cards span {
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

.journey-cards h3 {
  margin: 50px 0 8px;
  font-size: 24px;
  line-height: 1.1;
}

.journey-cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.cta-section {
  padding: 74px 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(237, 45, 136, 0.75), transparent 38%),
    linear-gradient(135deg, #090625 0%, #21126c 58%, #8a0d62 100%);
  color: #ffffff;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta-panel h2 {
  color: #ffffff;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #07031c;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  color: #ffffff;
}

.site-footer p {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer nav a {
  font-size: 13px;
  font-weight: 900;
}

.registration-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(237, 45, 136, 0.42), transparent 34%),
    linear-gradient(135deg, #090625 0%, #19105a 48%, #f7f4fb 48%, #ffffff 100%);
}

.registration-header {
  position: relative;
  margin: 0;
}

.co-brand-lockup {
  margin-left: auto;
  display: grid;
  justify-items: end;
  color: #ffffff;
  line-height: 1.05;
}

.co-brand-lockup span {
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.co-brand-lockup strong {
  font-size: 19px;
  font-weight: 900;
}

.registration-main {
  padding: 74px 0 90px;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.7fr);
  gap: 54px;
  align-items: center;
}

.registration-copy {
  color: #ffffff;
}

.registration-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: 54px;
  line-height: 1.06;
  font-weight: 900;
}

.registration-copy p {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  font-weight: 800;
}

.handoff-card {
  max-width: 520px;
  margin-top: 30px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.handoff-card span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.handoff-card strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  font-weight: 900;
}

.handoff-card p {
  margin-top: 6px;
  font-size: 14px;
}

.back-link {
  margin-top: 28px;
}

.registration-card {
  padding: 28px;
  display: grid;
  gap: 16px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.registration-card-top h2 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
}

.registration-card-top p {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.registration-card label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-card input,
.registration-card select {
  min-height: 48px;
  width: 100%;
  border: 2px solid #ded7ea;
  border-radius: 8px;
  padding: 0 13px;
  background: #fbfaff;
  color: var(--ink);
  font-weight: 700;
  text-transform: none;
}

.registration-card input:focus,
.registration-card select:focus {
  outline: 3px solid rgba(49, 121, 216, 0.18);
  border-color: var(--blue);
}

.checkbox-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  text-transform: none;
}

.checkbox-row input {
  min-height: auto;
  margin-top: 3px;
}

.checkbox-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.registration-message {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-service-grid,
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tender-layout,
  .marketplace-grid {
    grid-template-columns: 1fr;
  }

  .search-shell {
    max-width: none;
  }

  .tender-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tender-intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "reason"
      "metrics";
  }

  .tender-search-form {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "label"
      "search"
      "presets"
      "filters";
  }

  .filter-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .tender-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .container,
  .header-inner {
    width: calc(100% - 28px);
    max-width: 1120px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-logo {
    width: 178px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    margin-top: -70px;
    padding-top: 124px;
  }

  .hero h1,
  .tender-intro h2,
  .marketplace-copy h2,
  .cta-panel h2 {
    font-size: 34px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-service-grid,
  .proof-strip,
  .journey-cards,
  .cta-panel,
  .search-row,
  .filter-row,
  .tender-search-form,
  .tender-card,
  .tender-card dl,
  .tender-detail dl,
  .registration-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card {
    min-height: 210px;
    min-width: 0;
    max-width: 100%;
  }

  .mini-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    width: 100%;
    min-width: 0;
  }

  .mini-search button {
    padding: 0 8px;
  }

  .service-card p,
  .hero-lede,
  .tender-intro p,
  .marketplace-copy p,
  .cta-panel p {
    overflow-wrap: break-word;
  }

  .integration-reason {
    grid-template-columns: 1fr;
  }

  .integration-reason img {
    width: 78px;
    height: 78px;
  }

  .search-shell {
    padding: 18px;
  }

  .search-shell-top,
  .result-state,
  .card-heading,
  .footer-grid,
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-state {
    display: grid;
  }

  .tender-card {
    gap: 10px;
  }

  .footer-grid {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .registration-copy h1 {
    font-size: 36px;
  }

  .registration-copy p {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .tender-intro h2,
  .marketplace-copy h2,
  .cta-panel h2 {
    font-size: 31px;
  }

  .hero h1 {
    max-width: 340px;
    overflow-wrap: anywhere;
  }

  .hero-lede,
  .tender-intro p,
  .marketplace-copy p,
  .cta-panel p {
    font-size: 15px;
  }

  .hero-lede,
  .service-card p {
    max-width: 340px;
    overflow-wrap: anywhere;
  }

  .service-card {
    padding: 22px;
    overflow: hidden;
  }

  .mini-search {
    max-width: 340px;
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .registration-main {
    padding-top: 42px;
  }

  .registration-card {
    padding: 20px;
  }
}

/* Compact tender section — fit within one viewport */
@media (min-width: 900px) {
  .tender-section { padding: 28px 0 32px; }
  .tender-layout { gap: 16px; }
  .tender-intro { gap: 10px 22px; align-items: start; }
  .tender-intro h2 { font-size: 26px; line-height: 1.1; }
  .tender-intro p { margin-top: 8px; font-size: 14px; }
  .integration-reason { padding: 12px; grid-template-columns: 56px 1fr; gap: 12px; }
  .integration-reason img { width: 56px; height: 56px; }
  .integration-reason strong { font-size: 13px; }
  .integration-reason span { font-size: 12px; margin-top: 3px; }
  .tender-metrics { gap: 6px; }
  .tender-metrics span { padding: 5px 10px; font-size: 12px; }

  .search-shell { padding: 18px 20px; }
  .search-shell h3 { font-size: 22px; margin-top: 8px; }
  .search-help { margin: 6px 0 12px; font-size: 13px; }
  .tender-search-form { gap: 10px; }
  .search-row input, .primary-button, .secondary-button { min-height: 42px; }
  .country-chip, .category-filter > button, .category-menu button { min-height: 32px; }
  .query-presets button { min-height: 26px; }
  .chip-group legend, .category-filter span, .search-label { margin-bottom: 2px; font-size: 11px; }

  .result-state { margin: 12px 0 10px; padding: 10px 14px; }
  .result-state strong { font-size: 14px; }
  .result-state span { font-size: 12px; }

  .tender-cards { gap: 10px; }
  .tender-card { padding: 12px; gap: 12px; grid-template-columns: 56px 1fr; }
  .card-score { width: 48px; height: 48px; border-width: 2px; }
  .card-score strong { font-size: 15px; }
  .card-heading h4 { font-size: 14px; line-height: 1.2; }
  .relevance-badge { padding: 4px 8px; font-size: 10px; }
  .tender-card dl { margin-top: 8px; gap: 5px 14px; }
  .tender-card dd { font-size: 12px; }
  .tender-card dt { font-size: 10px; }
  .result-link { min-height: 30px; margin-top: 10px; font-size: 12px; }
}
