/* Keep the accessibility skip link available to keyboard users without
   leaving it visible over the hero for ordinary page loads. */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 14px;
  color: #061022;
  background: #fff;
  transform: translateY(-140%);
  transition: transform .18s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Unify the six reason icons without reintroducing their baked-in glow. */
#homeView .why-card .mini-icon-image {
  position: relative;
  background: transparent;
  box-shadow: none;
}
#homeView .why-card .mini-icon-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 27px;
  height: 27px;
  border: 1.5px solid #168fe9;
  border-radius: 7px;
  background: #061e2a;
  transform: translate(-50%, -50%);
}
#homeView .why-card .mini-icon-image img {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: none;
  clip-path: inset(27%);
  transform: scale(1.6);
}

/* Give the homepage mission and its supporting reasons a distinct panel. */
#homeView .why-section {
  margin-top: 38px;
  margin-bottom: 54px;
  padding: clamp(34px, 4.5vw, 62px);
  border: 1px solid rgba(0, 202, 239, .48);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 165, 226, .16), transparent 46%),
    linear-gradient(135deg, #041824 0%, #062331 58%, #042b3c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 42px rgba(0, 0, 0, .2);
}

#homeView .why-section .section-lead {
  max-width: 760px;
  margin-bottom: 0;
  line-height: 1.65;
}

#homeView .why-section .why-grid {
  gap: 46px 38px;
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid rgba(114, 196, 208, .22);
}

@media (max-width: 720px) {
  #homeView .why-section {
    margin-top: 24px;
    margin-bottom: 42px;
    padding: 34px 22px;
    border-radius: 18px;
  }

  #homeView .why-section .why-grid {
    gap: 38px 18px;
    margin-top: 30px;
    padding-top: 30px;
  }
}

@media (max-width: 380px) {
  #homeView .why-section {
    padding: 30px 18px;
  }
}

/* Match the audience cards to the homepage mission panel. */
#homeView .who-card {
  border-color: rgba(0, 202, 239, .48);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 165, 226, .16), transparent 46%),
    linear-gradient(135deg, #041824 0%, #062331 58%, #042b3c 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 28px rgba(0, 0, 0, .14);
}

#homeView .who-card:hover,
#homeView .who-card:focus-within {
  border-color: rgba(0, 218, 247, .78);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 165, 226, .16), transparent 46%),
    linear-gradient(135deg, #041824 0%, #062331 58%, #042b3c 100%);
  box-shadow: 0 16px 34px rgba(0, 199, 255, .16), 0 0 24px rgba(34, 211, 238, .18);
}

#homeView .who-card::after {
  border-color: rgba(34, 211, 238, .18);
}

#homeView .who-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(34, 211, 238, .52);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(4, 35, 49, .92), rgba(2, 17, 28, .86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 12px rgba(0, 185, 255, .18);
}

#homeView .who-card-icon svg {
  display: block;
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

#homeView .who-card-kicker {
  color: #36c9d5;
}

#homeView .who-card h3 {
  color: #fff;
}

#homeView .who-card p {
  color: #d3e8f2;
}

#homeView .who-card a,
#homeView .who-card a span {
  color: #bdf6ff;
}

#homeView .who-card a:hover {
  text-decoration: underline;
}

/* Keep the supporting reasons in the same quiet body style as the mission copy. */
#homeView .why-section .why-card p {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

@media (max-width: 720px) {
  #homeView .why-section .why-card p {
    font-size: 14px;
  }
}

/* A short bridge from the homepage reasons to the founder's fuller story. */
#homeView .why-section {
  margin-bottom: 28px;
}

#homeView .home-mission-callout {
  width: min(var(--max), calc(100% - 80px));
  box-sizing: border-box;
  margin: 0 auto 52px;
  padding: 28px 32px;
  border: 1px solid rgba(0, 202, 239, .42);
  border-radius: 18px;
  background: #052331;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  text-align: center;
}

#homeView .home-mission-callout h2 {
  margin: 0 0 10px;
  color: #f7fbff;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.2;
}

#homeView .home-mission-callout p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

#homeView .home-mission-callout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: #0b80ce;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

#homeView .home-mission-callout-link:hover,
#homeView .home-mission-callout-link:focus-visible {
  background: #096bad;
  transform: translateY(-2px);
}

#homeView .home-mission-callout-link:focus-visible {
  outline: 3px solid #bdf6ff;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  #homeView .home-mission-callout {
    width: calc(100% - 28px);
    margin-bottom: 42px;
    padding: 26px 20px;
  }

  #homeView .home-mission-callout p {
    font-size: 14px;
  }
}

#homeView #whoTitle .who-title-wordmark {
  display: inline-block;
  line-height: 1.08;
  white-space: nowrap;
}

#homeView #whoTitle .who-title-blue {
  color: var(--nrj-blue);
}

#homeView #whoTitle .who-title-wordmark > .who-title-blue:first-child {
  color: #fff;
}

#homeView #whoTitle .who-title-rage {
  color: #fff;
}

#homeView #whoTitle .who-title-g {
  font-family: "Century Gothic", "Segoe UI", sans-serif;
}

#homeView #whyTitle .why-title-jobs {
  color: var(--nrj-blue);
}

/* Match the How It Works step copy to the Why-section body text. */
#homeView .home-how-section .flow-card .step > span:last-child {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

@media (max-width: 720px) {
  #homeView .home-how-section .flow-card .step > span:last-child {
    font-size: 14px;
  }
}

/* Frame the full audience section as a companion to the Why panel. */
#homeView .who-section {
  margin-top: 38px;
  margin-bottom: 28px;
  padding: clamp(30px, 3vw, 42px);
  border: 1px solid rgba(0, 202, 239, .48);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 165, 226, .16), transparent 46%),
    linear-gradient(135deg, #041824 0%, #062331 58%, #042b3c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 42px rgba(0, 0, 0, .2);
}

#homeView .who-section .section-lead {
  max-width: 760px;
  margin-bottom: 0;
  line-height: 1.65;
}

#homeView .who-section .who-grid {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(114, 196, 208, .22);
  transform: translateY(-12px);
}

@media (max-width: 720px) {
  #homeView .home-blueprint-zone > .who-section:first-child {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 34px 22px;
    border-radius: 18px;
  }

  #homeView .who-section .who-grid {
    margin-top: 28px;
    padding-top: 28px;
    transform: none;
  }
}

/* Carry the same framed section treatment through How It Works. */
#homeView .home-how-section {
  box-sizing: border-box;
  width: min(var(--max), calc(100% - 80px));
  margin-bottom: 28px;
  padding: clamp(30px, 3vw, 42px);
  border: 1px solid rgba(0, 202, 239, .48);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 165, 226, .16), transparent 46%),
    linear-gradient(135deg, #041824 0%, #062331 58%, #042b3c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 42px rgba(0, 0, 0, .2);
}

#homeView .home-how-section .section-lead {
  margin-bottom: 0;
  line-height: 1.65;
}

#homeView .home-how-section .how-title-jobs {
  color: var(--nrj-blue);
}

#homeView .home-how-section .how-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  gap: 16px;
  margin-top: 34px;
  margin-bottom: 0;
  padding-top: 30px;
  border-top: 1px solid rgba(114, 196, 208, .22);
}

#homeView .home-how-section .flow-card,
#homeView .home-how-section .flow-card:hover {
  min-height: 146px;
  padding: 22px;
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: 18px;
  background: rgba(4, 31, 42, .82);
  box-shadow: none;
  transform: none;
}

#homeView .home-how-section .flow-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

#homeView .home-how-section .how-lane-steps {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

#homeView .home-how-section .how-lane-steps li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  color: #d3e8f2;
  font-size: 14px;
  line-height: 1.45;
}

#homeView .home-how-section .how-lane-steps li::before {
  content: "-";
  color: #36c9d5;
  font-weight: 900;
}

@media (max-width: 980px) {
  #homeView .home-how-section {
    width: min(100% - 32px, var(--max));
  }

  #homeView .home-how-section .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #homeView .home-how-section {
    padding: 34px 22px;
    border-radius: 18px;
  }

  #homeView .home-how-section .how-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
    padding-top: 28px;
  }

  #homeView .home-how-section .flow-card {
    min-height: 110px;
  }
}

/* Illustrated Jobs-blue rope connects the three main homepage panels. */
#homeView .home-blueprint-zone > .who-section {
  margin-bottom: 0;
}

#homeView .home-blueprint-zone > .why-section {
  margin-top: 0;
  margin-bottom: 0;
}

#homeView .home-blueprint-zone > .home-mission-callout {
  margin-top: 28px;
  margin-bottom: 52px;
}

#homeView .home-blueprint-zone > .home-how-section {
  margin-top: 0;
  margin-bottom: 0;
}

#homeView .home-blueprint-zone > .panel-rope-bridge {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 80px));
  height: 76px;
  margin: 0 auto;
  pointer-events: none;
}

#homeView .panel-rope-bridge > span {
  position: absolute;
  top: -25px;
  bottom: -25px;
  left: 16%;
  width: 24px;
  background: url("../assets/blue-panel-rope.svg?v=20261009-twisted-neon") center top / 24px 48px repeat-y;
  filter: drop-shadow(0 0 3px rgba(81, 220, 255, .95)) drop-shadow(0 0 8px rgba(0, 104, 255, .65));
}

#homeView .panel-rope-bridge > span:nth-child(2) {
  left: auto;
  right: 16%;
}

#homeView .panel-rope-bridge > span::before,
#homeView .panel-rope-bridge > span::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 1;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border: 2px solid #1654a8;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    #010c1b 0 37%,
    #092a61 40% 55%,
    #378eff 58% 63%,
    #071b3e 67% 100%);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .9), 0 0 8px rgba(22, 104, 255, .35);
  transform: translateX(-50%);
}

#homeView .panel-rope-bridge > span::before {
  top: -6px;
}

#homeView .panel-rope-bridge > span::after {
  bottom: -6px;
}

#homeView .panel-rope-bridge .rope-knot {
  position: absolute;
  left: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  background: url("../assets/blue-panel-rope-knot.svg?v=20261009-twisted-neon") center / contain no-repeat;
  transform: translateX(-50%);
}

#homeView .panel-rope-bridge .rope-knot-top {
  top: -8px;
}

#homeView .panel-rope-bridge .rope-knot-bottom {
  bottom: -8px;
  transform: translateX(-50%) rotate(180deg);
}

@media (max-width: 720px) {
  #homeView .home-blueprint-zone > .who-section:first-child {
    margin-bottom: 0;
  }

  #homeView .home-blueprint-zone > .panel-rope-bridge {
    width: calc(100% - 32px);
    height: 56px;
  }

  #homeView .panel-rope-bridge > span {
    left: 12%;
  }

  #homeView .panel-rope-bridge > span:nth-child(2) {
    left: auto;
    right: 12%;
  }

  #homeView .home-blueprint-zone > .home-mission-callout {
    margin-top: 24px;
    margin-bottom: 42px;
  }
}
/* Hero search replaces the secondary trust/stat panels with one clear job-board action. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Give the hero more presence while keeping the action focused. */
#homeView .hero .eyebrow { display: none; }

#homeView .hero-inner {
  width: min(940px, calc(100% - 40px));
  transform: translateY(72px);
}

#homeView .hero h1 {
  max-width: 900px;
  font-size: clamp(48px, 4.8vw, 68px);
  line-height: 1;
}

#homeView .hero h1 + p {
  margin-top: 40px !important;
}

#homeView .hero p {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.5;
}

#homeView .hero h1 + p {
  margin-top: 30px;
  font-size: 17px;
}

#homeView .hero h1 + p + p { max-width: 680px; }

#homeView .hero .hero-launch-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 34px auto 0 !important;
  padding: 0 18px;
  border: 1px solid rgba(79, 218, 255, .78);
  border-radius: 999px;
  color: #dffaff !important;
  background: linear-gradient(135deg, rgba(0, 112, 176, .48), rgba(14, 48, 77, .78));
  box-shadow: 0 0 20px rgba(0, 176, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: 17px !important;
  font-weight: 900 !important;
  letter-spacing: .01em;
}

#homeView .hero .hero-no-signup {
  margin-top: 22px !important;
  font-size: 16px !important;
}

@media (max-width: 760px) {
  #homeView .hero-inner {
    width: min(calc(100% - 28px), 680px);
    transform: translateY(56px);
  }

  #homeView .hero h1 { font-size: clamp(40px, 9vw, 56px); }

  #homeView .hero h1 + p { margin-top: 24px !important; }

  #homeView .hero .hero-launch-location { margin-top: 20px !important; }

  #homeView .hero .hero-no-signup { margin-top: 14px !important; }

  #homeView .hero p,
  #homeView .hero h1 + p,
  #homeView .hero .hero-launch-location,
  #homeView .hero .hero-no-signup {
    font-size: 14px !important;
  }

  #homeView .hero .hero-launch-location {
    min-height: 38px;
    padding: 0 14px;
  }
}

/* Final unified job-board search treatment: header-matched surface with a modern blue action. */
#homeView .panel-rope-bridge {
  display: none !important;
  visibility: hidden !important;
}

/* Preserve breathing room between the Who, Why, and How panels after removing the ropes. */
#homeView .home-blueprint-zone > .who-section,
#homeView .home-blueprint-zone > .why-section {
  margin-bottom: 48px;
}

@media (max-width: 720px) {
  #homeView .home-blueprint-zone > .who-section,
  #homeView .home-blueprint-zone > .why-section {
    margin-bottom: 32px;
  }
}

#homeView .hero-search-bar {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 132px;
  gap: 0;
  width: min(980px, calc(100% - 32px));
  margin-top: 40px;
  padding: 6px;
  border: 1px solid rgba(205, 211, 218, .96);
  border-radius: 8px;
  background: #efefef;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28), 0 0 18px rgba(0, 155, 255, .12);
}

#homeView .hero-search-field {
  min-height: 56px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #14243a;
  box-shadow: none;
}

#homeView .hero-search-field + .hero-search-field {
  border-left: 1px solid #d7e0ea;
}

#homeView .hero-search-field:focus-within {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

#homeView .hero-search-field input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #14243a;
  font-weight: 700;
}

#homeView .hero-search-field input::placeholder {
  color: #6d7e91;
}

#homeView .hero-search-submit {
  min-height: 56px;
  margin-left: 0;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, #168bf0 0%, #0867d8 100%);
  font-size: 14px;
  box-shadow: 0 5px 14px rgba(12, 107, 221, .3);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

#homeView .hero-search-submit:hover,
#homeView .hero-search-submit:focus-visible {
  background: linear-gradient(135deg, #2b9cff 0%, #0b73e6 100%);
  box-shadow: 0 7px 18px rgba(12, 107, 221, .4);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  #homeView .hero-search-bar {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, calc(100% - 20px));
    margin-inline: auto;
    margin-top: 30px;
    padding: 5px;
    transform: translateX(4px);
  }

  #homeView .hero-search-field {
    min-height: 54px;
    padding: 0 16px;
  }

  #homeView .hero-search-field + .hero-search-field {
    border-top: 1px solid #d7e0ea;
    border-left: 0;
  }

  #homeView .hero-search-field input {
    font-size: 16px;
  }

  #homeView .hero-search-submit {
    min-height: 54px;
    margin: 6px 0 0;
    font-size: 14px;
  }
}
