:root {
  color-scheme: light;
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Segoe UI", Arial, sans-serif;
}

html,
body.jp-tools-home-page {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: #eef6fc;
}

.jp-home,
.jp-home * {
  box-sizing: border-box;
}

.jp-home {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  color: #17324d;
  background:
    radial-gradient(circle at 12% 10%, rgb(56 189 248 / 16%), transparent 34%),
    radial-gradient(circle at 88% 76%, rgb(37 99 235 / 9%), transparent 35%),
    repeating-linear-gradient(90deg, transparent 0 80px, rgb(30 64 175 / 3.2%) 80px 81px),
    repeating-linear-gradient(0deg, transparent 0 80px, rgb(30 64 175 / 2.8%) 80px 81px),
    linear-gradient(128deg, #f8fcff 0%, #eef7fd 52%, #e6f2fb 100%);
}

.jp-home-header,
.jp-home-hero,
.jp-home-footer {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 80px));
  margin-inline: auto;
}

.jp-home-header {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(71 105 135 / 16%);
}

.jp-home-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #15314b;
  text-decoration: none;
}

.jp-home-logos {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 5px;
  border-radius: 14px;
  background: rgb(255 255 255 / 82%);
  padding: 5px 7px;
  box-shadow: 0 7px 22px rgb(31 76 112 / 10%);
}

.jp-home-logos img:first-child {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.jp-home-logos img:last-child {
  width: 92px;
  height: 42px;
  object-fit: contain;
}

.jp-home-brand strong,
.jp-home-brand small {
  display: block;
}

.jp-home-brand strong {
  font-size: 16px;
  letter-spacing: 0.15em;
}

.jp-home-brand small {
  margin-top: 4px;
  color: #39749f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.jp-home-access {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 22px;
  border: 1px solid #0b6fa4;
  border-radius: 14px;
  padding: 0 20px;
  color: #fff;
  background: #0b6fa4;
  box-shadow: 0 12px 28px rgb(14 116 165 / 18%);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.jp-home-access:hover {
  border-color: #075985;
  background: #075985;
  transform: translateY(-1px);
}

.jp-home-access span {
  color: #d8f3ff;
  font-size: 20px;
}

.jp-home-hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  align-items: center;
  gap: clamp(56px, 8vw, 128px);
  padding-block: 70px 82px;
}

.jp-home-kicker {
  margin: 0;
  color: #0876ad;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.jp-home-copy h1 {
  max-width: 680px;
  margin: 18px 0 0;
  color: #102f49;
  font-size: clamp(48px, 5.3vw, 82px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.jp-home-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: #587187;
  font-size: 17px;
  line-height: 1.9;
}

.jp-home-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  border: 1px solid rgb(5 150 105 / 20%);
  border-radius: 999px;
  padding: 10px 14px;
  color: #49687d;
  background: rgb(255 255 255 / 68%);
  font-size: 12px;
  font-weight: 700;
}

.jp-home-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 5px rgb(110 231 183 / 10%);
}

.jp-home-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.jp-home-tools article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid rgb(56 96 130 / 15%);
  border-radius: 22px;
  padding: 21px 22px;
  background: linear-gradient(135deg, rgb(255 255 255 / 94%), rgb(244 250 255 / 88%));
  box-shadow: 0 18px 48px rgb(31 76 112 / 10%);
  backdrop-filter: blur(12px);
}

.jp-home-tool-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(2 132 199 / 18%);
  border-radius: 17px;
  color: #0876ad;
  background: rgb(14 165 233 / 8%);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.jp-home-tools small {
  color: #2878b5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.jp-home-tools h2 {
  margin: 6px 0 0;
  color: #15314b;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.jp-home-tools p {
  margin: 9px 0 0;
  color: #637b8f;
  font-size: 12px;
  line-height: 1.65;
}

.jp-home-footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(71 105 135 / 16%);
  color: #748b9c;
  font-size: 11px;
}

.jp-home-footer p {
  margin: 0;
}

.jp-home-footer strong,
.jp-home-footer span {
  display: inline-block;
}

.jp-home-footer strong {
  margin-right: 12px;
  color: #46677e;
  letter-spacing: 0.08em;
}

.jp-home-pipe {
  position: absolute;
  z-index: 0;
  height: 28px;
  border: 1px solid rgb(71 105 135 / 16%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / 86%), rgb(148 178 201 / 44%) 34%, rgb(80 112 139 / 46%) 66%, rgb(255 255 255 / 72%));
  box-shadow: 0 14px 30px rgb(35 71 99 / 12%), inset 0 2px 2px rgb(255 255 255 / 80%);
  opacity: 0.58;
}

.jp-home-pipe-one {
  top: 9%;
  left: -12%;
  width: 46%;
  transform: rotate(-14deg);
}

.jp-home-pipe-two {
  right: -13%;
  bottom: 7%;
  width: 50%;
  transform: rotate(17deg);
}

@media (max-width: 1000px) {
  .jp-home-header,
  .jp-home-hero,
  .jp-home-footer {
    width: min(100% - 40px, 760px);
  }

  .jp-home-hero {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 64px;
  }
}

@media (max-width: 620px) {
  .jp-home-header,
  .jp-home-hero,
  .jp-home-footer {
    width: min(100% - 28px, 760px);
  }

  .jp-home-header {
    min-height: 88px;
  }

  .jp-home-brand strong {
    font-size: 13px;
  }

  .jp-home-logos img:last-child {
    display: none;
  }

  .jp-home-tools {
    grid-template-columns: 1fr;
  }

  .jp-home-access {
    min-height: 44px;
    gap: 9px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .jp-home-copy h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .jp-home-lead {
    font-size: 15px;
  }

  .jp-home-tools article {
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding: 22px 18px;
  }

  .jp-home-tool-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .jp-home-tools h2 {
    font-size: 21px;
  }

  .jp-home-footer {
    display: grid;
    gap: 8px;
    padding-block: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jp-home-access {
    transition: none;
  }
}
