/*
 * Planet theme.
 *
 * Use it:
 *   JOB_BOARD_PROVIDER=greenhouse
 *   NEXT_PUBLIC_TENANT_ID=planet
 *   TENANT_ID=planet
 *   GREENHOUSE_BOARD_TOKEN=planetlabs
 *   NEXT_PUBLIC_COMPANY_NAME=Planet
 *   NEXT_PUBLIC_THEME_CSS=/themes/planet.css
 *   NEXT_PUBLIC_LOGO_URL=/planet-logo.svg
 */

:root {
  --brand-navy: #07090a;
  --brand-blue: #009da5;
  --brand-mist: #f5f7f4;
  --brand-ink: #1d2a2d;
  --brand-font: Montserrat, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif;
  --planet-black: #07090a;
  --planet-charcoal: #363f43;
  --planet-teal: #009da5;
  --planet-cyan: #7de7ea;
  --planet-leaf: #8fc63f;
  --planet-sand: #f5f3ea;
  --planet-line: rgba(0, 157, 165, 0.2);
  --planet-muted: #68787b;
}

body {
  background:
    linear-gradient(90deg, rgba(0, 157, 165, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(143, 198, 63, 0.04) 1px, transparent 1px),
    #f6f8f6;
  background-size: 48px 48px;
  color: var(--planet-charcoal);
}

body > div > header {
  border-bottom: 1px solid rgba(125, 231, 234, 0.16) !important;
  background: rgba(7, 9, 10, 0.96) !important;
  backdrop-filter: blur(16px);
}

body > div > header img {
  width: 130px !important;
  max-width: 130px;
  height: 46px !important;
  object-fit: contain;
}

body > div > header span {
  color: #f8ffff !important;
}

body > div > header > div > div:last-child {
  border: 1px solid rgba(0, 157, 165, 0.4);
  background: rgba(0, 157, 165, 0.12);
  color: #e8feff !important;
}

body > div > header svg {
  color: var(--planet-cyan) !important;
}

main > section:first-child {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  border-bottom: 1px solid var(--planet-line) !important;
  background:
    linear-gradient(90deg, rgba(7, 9, 10, 0.96) 0%, rgba(7, 9, 10, 0.86) 52%, rgba(7, 9, 10, 0.34) 100%),
    url('https://cdn.sanity.io/images/hvd5n54p/production/db42ce5c36e2fdf941f9d27c35b9c74ff7420e74-3000x1175.jpg')
      center right / cover no-repeat,
    var(--planet-black) !important;
}

main > section:first-child::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(125, 231, 234, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 231, 234, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.42;
}

main > section:first-child::after {
  content: 'DAILY GLOBAL IMAGERY';
  position: absolute;
  right: 42px;
  bottom: 34px;
  border-left: 3px solid var(--planet-teal);
  background: rgba(7, 9, 10, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  padding: 13px 16px;
  color: #f2ffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

main > section:first-child > div {
  position: relative;
  z-index: 1;
  padding-top: 118px !important;
  padding-bottom: 138px !important;
}

main > section:first-child p:first-child {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125, 231, 234, 0.44);
  background: rgba(0, 157, 165, 0.14);
  padding: 8px 13px;
  color: var(--planet-cyan) !important;
  font-weight: 800 !important;
  letter-spacing: 0.09em !important;
}

main > section:first-child h1 {
  max-width: 760px !important;
  color: #ffffff !important;
  font-size: 54px !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

main > section:first-child p:last-child {
  max-width: 690px !important;
  color: #d7e7e8 !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

body > div > main > div:first-of-type {
  margin-top: -30px;
  border: 1px solid rgba(0, 157, 165, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 70px rgba(22, 38, 40, 0.13);
}

body > div > main > div[class*='max-w-3xl'] {
  margin-top: 0;
  margin-bottom: 56px;
  border-color: rgba(0, 157, 165, 0.14);
  background: #ffffff;
}

main > div[class*='max-w-3xl'] > a {
  color: var(--planet-teal) !important;
  font-weight: 700;
}

main > div[class*='max-w-3xl'] > header {
  border-bottom: 1px solid rgba(0, 157, 165, 0.18) !important;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(235, 249, 249, 0.98), rgba(255, 255, 255, 0.98)) !important;
  padding: 28px !important;
}

main > div[class*='max-w-3xl'] > header p:first-child {
  color: #007982 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

main > div[class*='max-w-3xl'] > header h1 {
  color: #102428 !important;
  font-size: 36px !important;
  line-height: 1.14 !important;
  letter-spacing: 0 !important;
}

main > div[class*='max-w-3xl'] > header p {
  color: var(--planet-muted) !important;
}

main > div[class*='max-w-3xl'] > header div {
  border-color: rgba(0, 157, 165, 0.24) !important;
  background: #ecffff !important;
  color: #006c74 !important;
}

main > div[class*='max-w-3xl'] > header span {
  background: var(--planet-teal) !important;
}

.gh-content {
  color: #314144 !important;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6 {
  color: #102428 !important;
  letter-spacing: 0 !important;
}

main > div[class*='max-w-3xl'] > section#apply {
  margin-top: 48px !important;
  border-top-color: rgba(0, 157, 165, 0.18) !important;
  border-radius: 8px;
  background: #fbfdfb;
  padding: 30px !important;
}

main > div[class*='max-w-3xl'] > section#apply h2 {
  color: #102428 !important;
}

main > div[class*='max-w-3xl'] > section#apply > p {
  color: var(--planet-muted) !important;
}

main > div[class*='max-w-3xl'] label {
  color: #24393c !important;
}

main > div[class*='max-w-3xl'] input,
main > div[class*='max-w-3xl'] textarea,
main > div[class*='max-w-3xl'] select {
  border-color: rgba(0, 157, 165, 0.24) !important;
}

main > div[class*='max-w-3xl'] input:focus,
main > div[class*='max-w-3xl'] textarea:focus,
main > div[class*='max-w-3xl'] select:focus {
  border-color: var(--planet-teal) !important;
  box-shadow: 0 0 0 3px rgba(0, 157, 165, 0.16) !important;
}

main button[type='submit'] {
  background: #00858c !important;
  color: #ffffff !important;
}

main button[type='submit']:hover {
  background: #006f76 !important;
}

main > div > p:first-child {
  display: inline-flex;
  border: 1px solid rgba(0, 157, 165, 0.28);
  background: #effbfb;
  padding: 8px 12px;
  color: #007982 !important;
  font-weight: 800;
}

main > div > div[class*='space-y-'] h2 {
  color: #007982 !important;
  letter-spacing: 0.08em !important;
}

main > div > div[class*='space-y-'] ul {
  border-color: rgba(0, 157, 165, 0.16) !important;
  border-radius: 8px !important;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(22, 38, 40, 0.07);
}

main > div > div[class*='space-y-'] li + li {
  border-color: rgba(0, 157, 165, 0.12) !important;
}

main > div > div[class*='space-y-'] li a {
  background:
    linear-gradient(90deg, rgba(0, 157, 165, 0.1), transparent 45%),
    #ffffff;
}

main > div > div[class*='space-y-'] li a:hover {
  background: #f0fbfb !important;
}

main > div > div[class*='space-y-'] li p:first-child {
  color: #102428 !important;
  font-weight: 800 !important;
}

main > div > div[class*='space-y-'] li p:last-child {
  color: var(--planet-muted) !important;
}

main > div > div[class*='space-y-'] li span {
  color: #007982 !important;
  white-space: nowrap;
}

@media (max-width: 700px) {
  body > div > header img {
    width: 108px !important;
    max-width: 108px;
    height: 40px !important;
  }

  main > section:first-child {
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(7, 9, 10, 0.96) 0%, rgba(7, 9, 10, 0.9) 62%, rgba(7, 9, 10, 0.54) 100%),
      url('https://cdn.sanity.io/images/hvd5n54p/production/db42ce5c36e2fdf941f9d27c35b9c74ff7420e74-3000x1175.jpg')
        center / cover no-repeat,
      var(--planet-black) !important;
  }

  main > section:first-child::after {
    right: 22px;
    bottom: 22px;
    max-width: calc(100% - 44px);
    font-size: 10px;
  }

  main > section:first-child > div {
    padding-top: 88px !important;
    padding-bottom: 126px !important;
  }

  main > section:first-child h1 {
    font-size: 36px !important;
    line-height: 1.12 !important;
  }

  main > section:first-child p:last-child {
    font-size: 15px !important;
  }

  body > div > main > div:first-of-type {
    margin-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  main > div[class*='max-w-3xl'] > header,
  main > div[class*='max-w-3xl'] > section#apply {
    padding: 22px !important;
  }

  main > div[class*='max-w-3xl'] > header h1 {
    font-size: 28px !important;
  }

  main > div > div[class*='space-y-'] li a {
    align-items: flex-start !important;
    flex-direction: column;
  }
}
