/* Small load/content fixes layered over the original Replit export. */
nav.fixed {
  top: 0 !important;
}

body.crosslinks-scrolled nav.fixed {
  top: 0 !important;
}

.pt-\[60px\].md\:pt-\[88px\] {
  padding-top: 0 !important;
}

[data-testid="link-logo"] {
  min-width: 132px;
}

.crosslinks-logo-img {
  display: block;
  width: 132px;
  height: auto;
}

[data-testid="link-contact"] {
  display: none !important;
}

#hero {
  padding-top: 110px !important;
  padding-bottom: 170px !important;
}

#hero .crosslinks-hero-model-frame {
  background:
    radial-gradient(circle at 50% 12%, rgba(72, 202, 228, 0.24), rgba(72, 202, 228, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)) !important;
  border: 1px solid rgba(173, 232, 244, 0.3) !important;
  border-radius: 28px 28px 18px 18px !important;
  overflow: hidden !important;
  box-shadow: 0 28px 80px rgba(3, 12, 28, 0.22) !important;
  align-self: end !important;
  isolation: isolate;
  min-height: clamp(420px, 39vw, 560px);
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 18px 24px 0 !important;
}

#hero .crosslinks-hero-model-frame > .absolute {
  display: none !important;
}

#hero .crosslinks-hero-model-frame::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: auto 8% 0;
  height: 92px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(0, 180, 216, 0.22), rgba(0, 180, 216, 0.08));
  border: 1px solid rgba(173, 232, 244, 0.18);
  border-bottom: 0;
  z-index: -1;
}

#hero .crosslinks-hero-model-frame::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 14px;
  width: 66%;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(4, 18, 44, 0.34) 0%, rgba(4, 18, 44, 0.12) 45%, rgba(4, 18, 44, 0) 72%);
  filter: blur(6px);
}

#hero .crosslinks-hero-model-img {
  object-fit: contain !important;
  height: clamp(390px, 36vw, 520px) !important;
  object-position: center bottom !important;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 26px 42px rgba(10, 31, 68, 0.22));
}

#hero > .container > .absolute.bottom-0.left-4.right-4 {
  bottom: -88px !important;
  transform: none !important;
}

#hero [data-testid^="stat-hero-"] span:first-child {
  line-height: 1.1 !important;
  white-space: nowrap;
}

#hero [data-testid^="stat-hero-"] span:last-child {
  display: block;
  max-width: 130px;
  margin-inline: auto;
  line-height: 1.25 !important;
}

.crosslinks-linkedin-only iframe,
.crosslinks-linkedin-only blockquote {
  max-width: 100%;
}

.crosslinks-performance-fixed {
  background: linear-gradient(135deg, #1e9bdd 0%, #16afd2 48%, #08b8c8 100%);
  color: #fff;
  padding: 80px 0;
}

.crosslinks-performance-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.crosslinks-performance-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 36px;
}

.crosslinks-performance-note,
.crosslinks-performance-table-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.crosslinks-performance-metric {
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.crosslinks-performance-metric:first-child {
  padding-left: 0;
}

.crosslinks-performance-metric:last-child {
  border-right: 0;
  padding-right: 0;
}

.crosslinks-performance-value {
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.crosslinks-performance-label {
  margin-top: 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}

.crosslinks-performance-copy {
  display: grid;
  gap: 14px;
}

.crosslinks-performance-note {
  padding: 24px 28px;
  color: #fff;
  font-size: 19px;
  font-style: italic;
  line-height: 1.65;
}

.crosslinks-performance-table-card {
  padding: 24px;
  box-shadow: 0 18px 45px rgba(10, 31, 68, 0.16);
}

.crosslinks-performance-table-card h3 {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 18px;
}

.crosslinks-performance-table-wrap {
  overflow-x: auto;
}

.crosslinks-performance-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.crosslinks-performance-table th,
.crosslinks-performance-table td {
  text-align: left;
  padding: 13px 12px;
}

.crosslinks-performance-table th {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.crosslinks-performance-table th:first-child {
  border-radius: 8px 0 0 8px;
}

.crosslinks-performance-table th:last-child {
  border-radius: 0 8px 8px 0;
}

.crosslinks-performance-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.crosslinks-performance-total td {
  background: rgba(255, 255, 255, 0.88);
  color: #0a1f44;
  font-weight: 800;
  border-bottom: 0;
}

.crosslinks-performance-total td:first-child {
  border-radius: 8px 0 0 8px;
}

.crosslinks-performance-total td:last-child {
  border-radius: 0 8px 8px 0;
}

.crosslinks-performance-footnote {
  margin: 16px 0 0;
  color: #fff;
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
}

.crosslinks-modal-open {
  overflow: hidden;
}

.crosslinks-enrol-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.crosslinks-enrol-modal.is-open {
  display: flex;
}

.crosslinks-enrol-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.74);
  backdrop-filter: blur(8px);
}

.crosslinks-enrol-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  background: #ffffff;
  border: 1px solid rgba(0, 180, 216, 0.22);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(10, 31, 68, 0.34);
  padding: 32px;
  color: #0a1f44;
}

.crosslinks-enrol-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #eef6ff;
  color: #0a1f44;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.crosslinks-enrol-kicker {
  color: #00b4d8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.crosslinks-enrol-dialog h2 {
  margin: 0 44px 8px 0;
  color: #0a1f44;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
}

.crosslinks-enrol-intro {
  margin: 0 0 22px;
  color: #2c4a6e;
  font-size: 15px;
  line-height: 1.55;
}

.crosslinks-enrol-form {
  display: grid;
  gap: 14px;
}

.crosslinks-enrol-form label {
  display: grid;
  gap: 7px;
  color: #0a1f44;
  font-size: 13px;
  font-weight: 700;
}

.crosslinks-enrol-form input,
.crosslinks-enrol-form select,
.crosslinks-enrol-form textarea {
  width: 100%;
  border: 1px solid #d7e4f2;
  border-radius: 10px;
  background: #f8fbff;
  color: #0a1f44;
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  outline: 0;
}

.crosslinks-enrol-form textarea {
  resize: vertical;
}

.crosslinks-enrol-form input:focus,
.crosslinks-enrol-form select:focus,
.crosslinks-enrol-form textarea:focus {
  border-color: #00b4d8;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.16);
}

.crosslinks-enrol-submit {
  border: 0;
  border-radius: 10px;
  background: #00b4d8;
  color: #0a1f44;
  font-weight: 800;
  padding: 14px 18px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 180, 216, 0.22);
}

.crosslinks-enrol-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.crosslinks-enrol-status {
  min-height: 20px;
  margin: 0;
  color: #2c4a6e;
  font-size: 13px;
  line-height: 1.4;
}

.crosslinks-enrol-status.is-success {
  color: #047857;
  font-weight: 700;
}

.crosslinks-enrol-status.is-error {
  color: #b42318;
  font-weight: 700;
}

.crosslinks-network-status {
  margin: 10px 0 0;
  min-height: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.4;
}

.crosslinks-network-status.is-success {
  color: #00b894;
  font-weight: 700;
}

.crosslinks-network-status.is-error {
  color: #ffb4ab;
  font-weight: 700;
}

@media (max-width: 768px) {
  nav.fixed {
    top: 0 !important;
  }

  .pt-\[60px\].md\:pt-\[88px\] {
    padding-top: 0 !important;
  }

  #hero {
    padding-top: 88px !important;
    padding-bottom: 210px !important;
  }

  #hero .crosslinks-hero-model-img {
    height: clamp(330px, 72vw, 420px) !important;
  }

  #hero .crosslinks-hero-model-frame {
    min-height: clamp(350px, 78vw, 450px);
    padding: 12px 18px 0 !important;
  }

  #hero > .container > .absolute.bottom-0.left-4.right-4 {
    bottom: -120px !important;
  }

  .crosslinks-performance-inner {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .crosslinks-performance-metrics {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .crosslinks-performance-metric {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .crosslinks-performance-metric:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .crosslinks-performance-value {
    font-size: 48px;
  }

  .crosslinks-enrol-modal {
    padding: 16px;
  }

  .crosslinks-enrol-dialog {
    padding: 26px 20px 22px;
    border-radius: 14px;
  }

  .crosslinks-enrol-dialog h2 {
    font-size: 24px;
  }
}
