/* =========================================================
   IP119 / standard.css
   FINAL CLEAN VERSION
   - index 시스템 유지
   - B안 톤 유지
   - grid field starts from just above footer
   - footer itself has no grid
   - paper tint starts near footer-right and fades to top-left
   - watermark stays near the last section / lower-right
   ========================================================= */

.page-standard {
  background: #fff;
}

/* ---------------------------------
   base layout
--------------------------------- */
.page-standard .wrap {
  position: relative;
  padding-top: 64px;
  padding-bottom: 112px;
}

.page-standard .nav-logo .logo--txt {
  display: block;
  width: 96px;
  height: auto;
}

/* ---------------------------------
   section rhythm
--------------------------------- */
.page-standard section {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin-bottom: 84px;
  padding-left: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-standard section:first-of-type {
  margin-bottom: 98px;
}

.page-standard section:not(:first-of-type) {
  padding-top: 29px;
  border-top: 1px solid rgba(18, 37, 68, 0.12);
}

.page-standard section::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(18, 37, 68, 0.1);
  border-radius: 2px;
}

/* 첫 intro 섹션에는 좌측 rail 제거 */
.page-standard section:first-of-type::before {
  content: none;
}

/* ---------------------------------
   typography
--------------------------------- */
.page-standard .kicker {
  margin-bottom: 18px;
  color: rgba(18, 37, 68, 0.56);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.page-standard h1 {
  margin: 0 0 28px;
  max-width: 10ch;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.page-standard .lead {
  margin: 0 0 22px;
  max-width: 44ch;
  font-size: clamp(20px, 2.15vw, 28px);
  line-height: 1.38 !important;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.page-standard p {
  max-width: 760px;
}

.page-standard h2 {
  position: relative;
  margin: 0 0 20px;
  padding-top: 10px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.page-standard h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 2px;
  background: rgba(18, 37, 68, 0.6);
  border-radius: 2px;
  opacity: 0.22;
}

.page-standard .bullets {
  margin: 18px 0 0;
  padding-left: 18px;
  max-width: 760px;
}

.page-standard .bullets li {
  margin-bottom: 10px;
  padding-left: 2px;
  font-size: 17px;
  line-height: 1.78;
  color: rgba(18, 37, 68, 1);
}

/* ---------------------------------
   inline links / closing links
--------------------------------- */
.page-standard .home-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 14px;
}

.page-standard .inline-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 37, 68, 0.24);
  padding-bottom: 1px;
}

.page-standard .inline-link:hover {
  border-bottom-color: rgba(18, 37, 68, 0.5);
}

.page-standard .dot {
  color: rgba(18, 37, 68, 0.32);
}

/* ---------------------------------
   footer
--------------------------------- */
.page-standard .footer {
  position: relative;
  z-index: 1;
  margin-top: 88px;
  padding-top: 30px;
  border-top: 1px solid rgba(18, 37, 68, 0.08);
  background: #fff;
}

.page-standard .footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

.page-standard .footer-hq {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(18, 37, 68, 0.74);
}

.page-standard .footer-hq strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(18, 37, 68, 0.95);
  font-size: 14px;
  font-weight: 650;
}

.page-standard .footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(18, 37, 68, 0.5);
}

.page-standard .footer-policy {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-standard .footer-policy a {
  color: inherit;
  text-decoration: none;
}

/* ---------------------------------
   background field
   - starts at footer top
   - extends upward with fixed document-based field
   - footer itself remains clean
--------------------------------- */
.page-standard .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: calc(100% + 145vh);
  pointer-events: none;
  z-index: 0;

  background: linear-gradient(to bottom, rgba(18, 37, 68, 0.045) 1px, transparent 1px), linear-gradient(to right, rgba(18, 37, 68, 0.028) 1px, transparent 1px), radial-gradient(1180px 720px at 92% 100%, rgba(18, 37, 68, 0.035), transparent 62%), linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.14) 20%, rgba(255, 255, 255, 0.42) 52%, rgba(255, 255, 255, 0.78) 78%, rgba(255, 255, 255, 0.96) 100%);

  background-size:
    32px 32px,
    32px 32px,
    auto,
    auto;

  background-position:
    0 0,
    0 0,
    0 0,
    0 0;
}

/* ---------------------------------
   watermark
   - anchored from footer upward
   - visually sits beside the last section
--------------------------------- */
.page-standard .footer::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: calc(100% + 68px);
  width: 760px;
  height: 250px;
  max-width: 18vw;
  max-height: 7vw;
  background: url("../assets/txt-logo.svg") no-repeat right bottom / contain;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------------------------------
   responsive
--------------------------------- */
@media (max-width: 840px) {
  .page-standard .wrap {
    padding-top: 52px;
    padding-bottom: 84px;
  }

  .page-standard section {
    padding-left: 14px;
    margin-bottom: 68px;
  }

  .page-standard section:first-of-type {
    margin-bottom: 82px;
  }

  .page-standard section::before {
    left: -5px;
  }

  .page-standard h1 {
    max-width: none;
  }

  .page-standard .lead,
  .page-standard p,
  .page-standard .bullets {
    max-width: none;
  }

  .page-standard .footer {
    margin-top: 72px;
    padding-top: 24px;
  }

  .page-standard .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-standard .footer-legal {
    align-items: flex-start;
    text-align: left;
  }

  .page-standard .footer::before {
    height: 720px;
  }

  .page-standard .footer::after {
    right: -16px;
    bottom: calc(100% + 34px);
    width: 320px;
    height: 108px;
    opacity: 0.038;
  }
}
/* section title block tightening */
.page-standard section {
  padding-left: 14px; /* 18 -> 14 : 좌측 장식 여백 축소 */
}

.page-standard section::before {
  left: -4px; /* -7 -> -4 */
  top: 10px;
  bottom: 18px; /* 너무 길게 내려오지 않게 */
  width: 1px; /* 2 -> 1 : 더 정밀하게 */
  background: rgba(18, 37, 68, 0.12);
}

/* h2 rhythm */
.page-standard h2 {
  margin: 0 0 14px; /* 20 -> 14 */
  padding-top: 8px; /* 10 -> 8 */
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.page-standard h2::before {
  width: 40px; /* 52 -> 40 */
  opacity: 0.18;
}

/* opening paragraph under h2 */
.page-standard section > p:first-of-type {
  margin-top: 0;
  margin-bottom: 18px;
  max-width: 700px;
  line-height: 1.72;
}

/* bullets */
.page-standard .bullets {
  margin: 10px 0 0; /* 18 -> 10 */
  padding-left: 18px;
}

.page-standard .bullets li {
  margin-bottom: 8px; /* 10 -> 8 */
  font-size: 16px; /* 17 -> 16 */
  line-height: 1.72;
  color: rgba(18, 37, 68, 0.72);
}
