/* =========================================================
   IP119 / scope.css
   - page-scope document system
   - document family with standard / principles
   - scope-specific 3-column category structure
   ========================================================= */

.page-scope {
  background: #fff;
}

/* ---------------------------------
   base layout
--------------------------------- */
.page-scope .wrap {
  position: relative;
  padding-top: 64px;
  padding-bottom: 112px;
}

.page-scope .nav-logo .logo--txt {
  display: block;
  width: 96px;
  height: auto;
}

/* ---------------------------------
   section rhythm
--------------------------------- */
.page-scope section {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-bottom: 88px;
  padding-left: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-scope section:first-of-type {
  margin-bottom: 104px;
}

.page-scope section:not(:first-of-type) {
  padding-top: 30px;
  border-top: 1px solid rgba(18, 37, 68, 0.12);
}

.page-scope section::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 10px;
  bottom: 18px;
  width: 1px;
  background: rgba(18, 37, 68, 0.12);
  border-radius: 2px;
}

.page-scope section:first-of-type::before {
  content: none;
}

/* ---------------------------------
   typography
--------------------------------- */
.page-scope .kicker {
  margin-bottom: 18px;
  color: rgba(18, 37, 68, 0.56);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.page-scope h1 {
  margin: 0 0 28px;
  max-width: 12ch;
  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-scope .lead {
  margin: 0 0 22px;
  max-width: 38ch;
  font-size: clamp(20px, 2.15vw, 28px);
  line-height: 1.38;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.page-scope p {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.76;
  color: rgba(18, 37, 68, 0.82);
}

.page-scope h2 {
  position: relative;
  margin: 0 0 16px;
  padding-top: 8px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.page-scope h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 2px;
  background: rgba(18, 37, 68, 0.6);
  border-radius: 2px;
  opacity: 0.18;
}

.page-scope h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: rgba(18, 37, 68, 0.98);
}

.page-scope .bullets {
  margin: 18px 0 0;
  padding-left: 18px;
  max-width: 760px;
}

.page-scope .bullets li {
  margin-bottom: 8px;
  padding-left: 2px;
  font-size: 16px;
  line-height: 1.72;
  color: rgba(18, 37, 68, 0.72);
}

/* ---------------------------------
   scope grid
--------------------------------- */
.page-scope .scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  /* margin-top: 22px; */
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 37, 68, 0.14);
}

.page-scope .scope-item {
  position: relative;
  padding-top: 18px;
  min-width: 0;
}

.page-scope .scope-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: rgba(18, 37, 68, 0.12);
}

.page-scope .scope-title {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: rgba(18, 37, 68, 0.98);
}

.page-scope .scope-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.74;
  color: rgba(18, 37, 68, 0.78);
}

/* ---------------------------------
   notes
--------------------------------- */
.page-scope .scope-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 37, 68, 0.08);
  max-width: 760px;
}

.page-scope .scope-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: rgba(18, 37, 68, 0.96);
}

.page-scope .scope-note p {
  margin: 0;
}

.page-scope .scope-note-line {
  margin-top: 24px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.72;
  color: rgba(18, 37, 68, 0.72);
}

/* ---------------------------------
   inline links / closing links
--------------------------------- */
.page-scope .home-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 14px;
}

.page-scope .inline-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 37, 68, 0.24);
  padding-bottom: 1px;
}

.page-scope .inline-link:hover {
  border-bottom-color: rgba(18, 37, 68, 0.5);
}

.page-scope .dot {
  color: rgba(18, 37, 68, 0.32);
}

/* ---------------------------------
   footer
--------------------------------- */
.page-scope .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-scope .footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

.page-scope .footer-hq {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(18, 37, 68, 0.74);
}

.page-scope .footer-hq strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(18, 37, 68, 0.95);
  font-size: 14px;
  font-weight: 650;
}

.page-scope .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-scope .footer-policy {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-scope .footer-policy a {
  color: inherit;
  text-decoration: none;
}

/* ---------------------------------
   background field
--------------------------------- */
.page-scope .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: calc(100% + 165vh);
  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
--------------------------------- */
.page-scope .footer::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: calc(100% + 72px);
  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: 980px) {
  .page-scope .scope-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 840px) {
  .page-scope .wrap {
    padding-top: 52px;
    padding-bottom: 84px;
  }

  .page-scope section {
    padding-left: 14px;
    margin-bottom: 68px;
  }

  .page-scope section:first-of-type {
    margin-bottom: 82px;
  }

  .page-scope .lead,
  .page-scope p,
  .page-scope .bullets,
  .page-scope .scope-note,
  .page-scope .scope-note-line {
    max-width: none;
  }

  .page-scope .footer {
    margin-top: 72px;
    padding-top: 24px;
  }

  .page-scope .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-scope .footer-legal {
    align-items: flex-start;
    text-align: left;
  }

  .page-scope .footer::before {
    height: 720px;
  }

  .page-scope .footer::after {
    right: -16px;
    bottom: calc(100% + 34px);
    width: 320px;
    height: 108px;
    opacity: 0.038;
  }
}
